Improve Kimi Code runtime discovery - #3084
Conversation
Co-authored-by: ninjusai <192658217+ninjusai@users.noreply.github.com> Signed-off-by: ninjusai <192658217+ninjusai@users.noreply.github.com>
|
One data point on the discovery path, in case it's useful for scoping this. I hit this exact symptom (Kimi Code showing "CLI needed" on a GUI-launched Buzz while $ ls ~/.kimi-code/bin
rg
$ command -v kimi
/Users/…/.bun/bin/kimi -> ../install/global/node_modules/@moonshot-ai/kimi-code/dist/main.mjs
The underlying cause is the same one this PR's comment describes, and it isn't Kimi-specific: I opened #3343 to add |
Summary
~/.kimi-code/bininstall directory so GUI-launched Desktop processes can resolvekimikimi acpand point its setup guidance to the official Kimi Code CLI documentationTests
cargo fmt --manifest-path desktop/src-tauri/Cargo.toml -- --checkcargo test --manifest-path desktop/src-tauri/Cargo.toml kimi -- --test-threads=1— 2 passedmanaged_agents::runtime::tests::claude_spawn_uses_the_probed_cli_executabletest failed in-suite and passed immediately in isolation on the same commit