feat(core): optimize unity-cli runtime path and daemon workflow#34
Merged
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 |
akiojin
pushed a commit
that referenced
this pull request
Mar 3, 2026
feat(core): optimize unity-cli runtime path and daemon workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
unitydcontrol commands, transport-aware auto fallback, and batch invocation entrypoints) to reduce per-command connection overhead in LLM workflows.Changes
src/main.rs,src/unityd.rs,src/cli.rs,src/config.rs,src/transport.rs,src/lspd.rs: wired daemon commands, auto-mode transport fallback behavior, batch routing, and related runtime/tests updates.UnityCliBridge/Packages/unity-cli-bridge/Editor/Core/UnityCliBridgeHost.csand bridge handlers/models: renamed legacy MCP symbols and updated command-processing flow to drain queued requests in one processing cycle.Cargo.toml: enabled release optimizations (lto,codegen-units = 1,strip) to improve binary startup/runtime characteristics.docs/development.mdandspecs/SPEC-a7206673/*: documented always-auto daemon usage, added CLI examples (unityd,batch), and synchronized TDD/spec artifacts.Testing
cargo fmt --all -- --check— passed with exit code 0.cargo clippy --all-targets -- -D warnings— passed with exit code 0.cargo test --all-targets— passed (51 passed, 0 failed).Related Issues / Links
Checklist
cargo clippy,cargo fmt,svelte-check) —cargo clippy/cargo fmtpassed;svelte-checkN/A (no Svelte targets)Context
Risk / Impact
feature/optimize-cli(or cherry-pick revert specific runtime commits) and republish the previous known-good CLI/UPM package revisions.