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.
7 lines
211 B
Bash
7 lines
211 B
Bash
echo "Install dim and kimi via mise wrappers"
|
|
|
|
if [[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]; then
|
|
omarchy-mise-install npm:dimcode dim
|
|
omarchy-mise-install npm:@moonshot-ai/kimi-code kimi
|
|
fi
|