feat(core): migrate runtime to unity-cli and add unityd daemon#33
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Resolved Re-ran local verification with:
Required PR checks are passing. |
feat(core): migrate runtime to unity-cli and add unityd daemon
Summary
unity-cliand remove remaining legacy MCP compatibility paths so maintenance converges on one Rust/TCP implementation.unityddaemon lifecycle and batch execution paths in the CLI so repeated tool execution can reuse connections and reduce per-call overhead.UNITY_CLI_UNITYD=autofallback to transport failures only so daemon-reported tool failures are not executed a second time over direct TCP.Changes
src/main.rs,src/config.rs,src/transport.rs,src/unityd.rs: add daemon command routing, batch call flow,UNITY_CLI_UNITYDmode handling, and transport-aware fallback/error classification.src/lsp.rs,src/lsp_manager.rs: update LSP install/session behavior and retry/error handling for local code-index workflows.UnityCliBridge/Packages/unity-cli-bridge/Editor/**andUnityCliBridge/Packages/unity-cli-bridge/Runtime/**: replace legacy MCP naming/paths, refresh handlers/settings/logging, and add missing metadata assets.UnityCliBridge/Assets/Editor/UnityCliUiTestSceneGenerator.csanddocs/development.md: standardize generated E2E/UI scene output locations and test guidance..claude-plugin/plugins/unity-cli/skills/**,.codex/skills/**,README.md,CLAUDE.md,docs/**,specs/**: align skill distribution policy and migration/spec documentation with the unity-cli-only direction.Testing
cargo fmt --all -- --check— exits with code 0.cargo clippy --all-targets -- -D warnings— exits with code 0.cargo test --all-targets— all tests passed (54 passed, 0 failed).dotnet test lsp/Server.Tests.csproj— Not run in this session because this PR request was completed on the Rust CLI path only.Related Issues / Links
Checklist
cargo clippy,cargo fmt,svelte-check) —svelte-checkis N/A for this repository.Context
unity-cli, plus the follow-up daemon fallback fix needed to prevent duplicate side effects after daemon-reported command errors.Risk / Impact
src/main.rs), daemon transport (src/unityd.rs), Unity bridge editor handlers/settings, and migration/usage documentation.