* Add Cursor CLI as a coding agent choice * Launch Cursor CLI through its agent subcommand with --trust Cursor CLI still dispatches a one-word prompt that names one of its subcommands (update, login, help) even after a bare --, so name the agent subcommand outright and pass the prompt behind -- there, where it also keeps a prompt starting with a dash from being read as an option. --yolo only auto-allows commands; the workspace trust dialog is skipped only by --trust, and a launcher that must not stop to ask needs both. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Leave an official Cursor CLI install alone Cursor's own installer symlinks ~/.local/bin/cursor-agent, the same path the mise wrapper takes. The migration now installs the wrapper only when no cursor-agent command exists, and Remove Preinstalls deletes the path only when it holds the wrapper omarchy-mise-install wrote, the way the Hermes wrapper is handled. Selecting the agent treats an executable at that path other than the wrapper as the user's own install and skips mise, since the mise shims precede ~/.local/bin on PATH and a mise copy would only shadow it. The wrapper resolves through mise's registry, which lists cursor-agent from 2026.8.15 on. The tests write a real cursor-agent stub before Remove Preinstalls runs, cover the preinstall opt-out for the new migration, and check that a symlinked official install survives removal and selection alike while a dead file at the same path still installs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Give Cursor its brand mark and one name in the menu Add Cursor's mark to the Omarchy icon font as U+E90D and point the agent entry and both editor entries at it, so one brand is drawn one way across the menu. Label the agent entry "Cursor CLI", the name the command and the manual already use, and spell it the same in the migration and the tests. Append the manual row after the others at the standard width. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * Keep an official Cursor CLI install through a user re-provision User setup writes every mise wrapper unconditionally, which is fine on a fresh install but replaces the symlink Cursor's own installer leaves at the same path when omarchy-provision-user runs again with --force. Guard that one line the way the migration does. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: John Cavanaugh <59479+cavanaug@users.noreply.github.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
omarchy-mise-install codex
|
|
omarchy-mise-install claude
|
|
omarchy-mise-install crush
|
|
omarchy-mise-install antigravity-cli agy
|
|
omarchy-mise-install gh
|
|
omarchy-mise-install copilot
|
|
omarchy-mise-install opencode
|
|
omarchy-mise-install npm:playwright playwright
|
|
omarchy-mise-install pi
|
|
omarchy-mise-install github:can1357/oh-my-pi omp
|
|
omarchy-mise-install npm:@xai-official/grok grok
|
|
# Cursor's own installer links the same path, so a re-provision keeps it.
|
|
omarchy-cmd-missing cursor-agent && omarchy-mise-install cursor-agent
|
|
omarchy-mise-install npm:@kitlangton/ghui ghui
|
|
omarchy-mise-install aqua:modem-dev/hunk hunk
|
|
omarchy-mise-install github:basecamp/hey-cli hey
|
|
omarchy-mise-install github:OpenRouterLabs/ori-releases ori
|
|
# Every line above writes a stub and cannot fail. This one can: it exits
|
|
# non-zero when Hermes Desktop owns Hermes but has not finished setting it up,
|
|
# and this leaf is sourced under `bash -eE`, so that would abort the rest of
|
|
# omarchy-provision-user -- the default browser, the mailto handler and the
|
|
# finalize-user marker all come after it.
|
|
omarchy-install-hermes-cli || true
|