Commit 0d05a0d
fix(diagnostics): classify zsh 'command not found: docker' as CLI-not-found (Codex P2 r3)
zsh's login-shell wording is reversed — 'zsh:1: command not found: docker'
(name AFTER the colon), not bash/sh's 'docker: command not found'. The CLI-not-
found case only matched the bash shape, so the common macOS #696 scenario fell
through to the generic 'command not found' branch and recorded
MCPX_DOCKER_EXEC_NOT_FOUND, conflating host-CLI-missing (#696) with in-container
exec ENOENT. Match 'command not found: docker' in both the isolation-spawn
helper and the unhinted classifyDocker fallback.
Added a classifier table case for the zsh wording (verified red→green: routed to
EXEC_NOT_FOUND without the fix, CLI_NOT_FOUND with it).
Related #696
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 804e09f commit 0d05a0d
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
195 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
196 | 200 | | |
197 | 201 | | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
| |||
0 commit comments