Commit 2c3ff96
feat(mcp): agent usability overhaul — merge health, rename params, add JSON
- Merge dev_health into dev_status (section="health") — 6 tools → 5
- Delete HealthAdapter, its tests, and schema
- Rename dev_patterns `query` → `filePath` to prevent LLM misuse
- Add `format: "json"` to dev_patterns for token-efficient agent workflows
- Add negative guidance to dev_patterns description (NOT for search/refs)
- Add `suggestion` field to all adapter error responses for agent recovery
- Update regression test to expect 5 adapters
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 90cb2bd commit 2c3ff96
14 files changed
Lines changed: 118 additions & 722 deletions
File tree
- packages
- cli/src/commands
- mcp-server
- bin
- src
- adapters
- __tests__
- built-in
- schemas
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 123 | | |
130 | 124 | | |
131 | 125 | | |
| |||
138 | 132 | | |
139 | 133 | | |
140 | 134 | | |
141 | | - | |
| 135 | + | |
142 | 136 | | |
143 | 137 | | |
144 | 138 | | |
| |||
149 | 143 | | |
150 | 144 | | |
151 | 145 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 146 | + | |
160 | 147 | | |
161 | 148 | | |
162 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
274 | 273 | | |
275 | 274 | | |
276 | 275 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | 276 | | |
283 | 277 | | |
284 | 278 | | |
| |||
291 | 285 | | |
292 | 286 | | |
293 | 287 | | |
294 | | - | |
| 288 | + | |
295 | 289 | | |
296 | 290 | | |
297 | 291 | | |
| |||
302 | 296 | | |
303 | 297 | | |
304 | 298 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 299 | + | |
313 | 300 | | |
314 | 301 | | |
315 | 302 | | |
| |||
Lines changed: 0 additions & 273 deletions
This file was deleted.
0 commit comments