Skip to content

feat(engines): kimi-code — discover via ~/.kimi-code/bin + wire /mode…#220

Merged
cukas merged 1 commit into
mainfrom
feat/kimi-code-searchpaths-model
Jun 18, 2026
Merged

feat(engines): kimi-code — discover via ~/.kimi-code/bin + wire /mode…#220
cukas merged 1 commit into
mainfrom
feat/kimi-code-searchpaths-model

Conversation

@cukas

@cukas cukas commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

…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.

…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>
@cukas cukas merged commit 8f9368d into main Jun 18, 2026
1 of 2 checks passed
@cukas cukas deleted the feat/kimi-code-searchpaths-model branch June 18, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant