Repository navigation
Commit 4bbd78c
authored
feat(tools): promote discovered tools only on execute (#1226)
* feat(tools): promote discovered tools only on execute
Search returns cards only. A call declares that one name, then dispatches.
* fix(tools): keep list_dir off the advertised wire on execute
Promote-on-execute flushed any registered unadvertised name, so a
list_dir call put its schema on the wire until fold. Search already
hides that builtin in favor of glob; dispatch it without advertising.
* fix(tools): advertise late MCP tools on execute in tests
Search no longer grows the advertised set. The late-dispatch harness
now uses the same call-gate promoter as TUI and exec so schemas land
on the next infer.1 parent 0333c14 commit 4bbd78c
14 files changed
Lines changed: 663 additions & 146 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
114 | 131 | | |
115 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
116 | 135 | | |
117 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
118 | 142 | | |
119 | 143 | | |
120 | 144 | | |
| |||
318 | 342 | | |
319 | 343 | | |
320 | 344 | | |
321 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
322 | 349 | | |
323 | 350 | | |
324 | 351 | | |
| |||
0 commit comments