mise use -g announces the resolved tool on stdout, so every wrapped command prepended a "tools:" line to its own output. That corrupts anything speaking a protocol over stdout, such as codex app-server. Pass --quiet, which keeps errors on stderr and preserves the exit status. The obsolete-wrapper check in the agent migration matched the generated command verbatim, so loosen it to match the package instead of the flags. Closes #6908 Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
10 lines
386 B
Bash
10 lines
386 B
Bash
echo "Install default coding agent mise wrappers"
|
|
|
|
if [[ ! -f $HOME/.local/state/omarchy/preinstalls-removed ]]; then
|
|
omarchy-mise-install github:can1357/oh-my-pi omp
|
|
omarchy-mise-install npm:@xai-official/grok grok
|
|
omarchy-mise-install crush
|
|
elif [[ -f $HOME/.local/bin/omp ]] && grep -Eq 'mise use -g .*"oh-my-pi"' "$HOME/.local/bin/omp"; then
|
|
rm -f "$HOME/.local/bin/omp"
|
|
fi
|