Commit 172deab
committed
Add Codex CLI as a second MCP registration target
deploy.sh detects claude and codex independently and now degrades
gracefully when only one (or neither) is installed. Per-client
registration failures no longer abort the install or strand the
uninstall before rm: failures are counted and surfaced in the final
banner.
src/mcp/setup.rs grows a Host::Codex variant with matching aliases
("codex", "codex-cli"), ALL_HOSTS entry, generate_for_host arm, and
round-trip tests. cargo test 1375 passed; clippy clean; shellcheck -x
clean except a pre-existing SC2005 in get_script_dir.1 parent defcc02 commit 172deab
4 files changed
Lines changed: 269 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
121 | | - | |
| 126 | + | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments