feat(engines): kimi-code — discover via ~/.kimi-code/bin + wire /mode…#220
Merged
Conversation
…ls selection Follow-up to #219 (Kimi Code engine). Two enhancements beyond that PR's scope, both mirroring how claude/codex/agy are configured: - searchPaths: prepend ${HOME}/.kimi-code/bin — the canonical location the official installer drops the binary. Previously agon could only find kimi if the installer's PATH export was sourced; now `agon doctor` discovers it out of box (verified: ok, cli:~/.kimi-code/bin/kimi, v0.17.1). - model block (configKey kimi_code_model, flag --model) + cliModels dynamicListCmd ["__pty:/model"] — so `agon models set kimi-code <model>` and the /models menu drive kimi's model (CLI confirmed: kimi -m/--model). --model injects only when a model is configured, so the existing exact-arg dispatch tests stay green. +2 regression tests (model injection before -p; canonical searchPath first). Validated: tsc -b clean; agent-dispatch 21 + doctor/activation/orch-filter all green; live `agon doctor` confirms searchPath discovery. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-Authored-By: agon (KERN) <noreply@kernlang.dev>
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.
…ls selection
Follow-up to #219 (Kimi Code engine). Two enhancements beyond that PR's scope, both mirroring how claude/codex/agy are configured:
agon doctordiscovers it out of box (verified: ok, cli:~/.kimi-code/bin/kimi, v0.17.1).agon models set kimi-code <model>and the /models menu drive kimi's model (CLI confirmed: kimi -m/--model). --model injects only when a model is configured, so the existing exact-arg dispatch tests stay green.+2 regression tests (model injection before -p; canonical searchPath first). Validated: tsc -b clean; agent-dispatch 21 + doctor/activation/orch-filter all green; live
agon doctorconfirms searchPath discovery.