Add Dim and Kimi Code to the agent roster and Install > AI - #9694
Open
ZacharyZhang-NY wants to merge 1 commit into
Open
Add Dim and Kimi Code to the agent roster and Install > AI#9694ZacharyZhang-NY wants to merge 1 commit into
ZacharyZhang-NY wants to merge 1 commit into
Conversation
Both install through the lazy mise wrappers (npm:dimcode and npm:@moonshot-ai/kimi-code), preinstalled on new machines and migrated onto existing ones unless preinstalls were removed, and each gets a menu entry in both places: under Setup > Defaults > Agent as a default-agent choice, and under Install > AI for installing without changing the default. The launch spellings come from each CLI's actual flags — bare dim is the TUI and `dim exec` the one-shot, kimi runs full-auto as `kimi --auto` with `--prompt` as its one-shot. The Install > AI entries are guarded by `mise where`, since the preinstalled stub would otherwise read as installed. The menu marks are the Kimi simpleicon and Dim's traced from its app icon, since upstream publishes no monochrome SVG.
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
Two more coding agents join the lazy mise-wrapper roster: Dim Agent (
npm:dimcode) and Kimi Code (npm:@moonshot-ai/kimi-code). Each gets a menu entry in both places: under Setup > Defaults > Agent as a default-agent choice, and under Install > AI for installing without changing the default. New machines get the stubs frommise.sh, existing ones through a migration that respects the preinstall opt-out, andomarchy-remove-preinstallstakes both back.Each default-agent choice launches with the spelling taken from the CLI's actual flags: bare
dimopens its TUI anddim execis the one-shot; kimi runs unattended askimi --autowith--promptas its one-shot. Dim has no approval prompt to skip, so it joins Pi and Ori in that comment.The Install > AI entries are guarded by
mise whererather than command presence, since the stub preinstalled on every machine would otherwise read as "installed". The menu marks at U+E90A–E90B are the Kimi simpleicon and Dim's, traced from the app icon T3-Code-style since upstream publishes no monochrome SVG.Test plan
test/shell.d/default-agent-test.shcovers both agents end to end: lazy stubs preserve their packages,mise.shand the migration create them, the opt-out is respected, Remove Preinstalls deletes them, every alias canonicalizes, and both launch forms match the flags abovetest/shell.d/menu-test.shasserts both Defaults > Agent entries with their own glyphs, the label-alphabetical order, and the font charset now spanninge900-e90b./test/all: no new failures against a clean-tree baseline (git stashcomparison; the dev box's pre-existing environment failures are identical before and after)--help(dimcode 0.3.25, kimi-code 0.39.1)git diff --checkclean