Commit a30ad25
improvement(copilot): retire search_documentation and get_platform_actions outright, no shims
The transitional apparatus is gone: no search_documentation registry alias,
no get_platform_actions handler, and the ids are out of the regenerated
catalog/schemas. During the deploy window an old Mothership build calling
either id gets the recoverable tool-not-found result.
The two ids stay in HIDDEN_TOOL_NAMES forever — like load_agent_skill,
historical persisted chats contain their tool calls and must replay without
rendering chips for retired tools. The alias test is replaced by a dispatch
test pinning search_docs's own catalog -> route -> handler chain and the
retired ids' gone-but-chip-hidden state.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ac8eecc commit a30ad25
9 files changed
Lines changed: 50 additions & 260 deletions
File tree
- apps/sim/lib/copilot
- generated
- tool-executor
- tools
- client
- handlers
- server
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
| |||
183 | 181 | | |
184 | 182 | | |
185 | 183 | | |
186 | | - | |
187 | 184 | | |
188 | 185 | | |
189 | 186 | | |
| |||
227 | 224 | | |
228 | 225 | | |
229 | 226 | | |
230 | | - | |
231 | 227 | | |
232 | 228 | | |
233 | 229 | | |
| |||
2478 | 2474 | | |
2479 | 2475 | | |
2480 | 2476 | | |
2481 | | - | |
2482 | | - | |
2483 | | - | |
2484 | | - | |
2485 | | - | |
2486 | | - | |
2487 | | - | |
2488 | | - | |
2489 | | - | |
2490 | 2477 | | |
2491 | 2478 | | |
2492 | 2479 | | |
| |||
4057 | 4044 | | |
4058 | 4045 | | |
4059 | 4046 | | |
4060 | | - | |
4061 | | - | |
4062 | | - | |
4063 | | - | |
4064 | | - | |
4065 | | - | |
4066 | | - | |
4067 | | - | |
4068 | | - | |
4069 | | - | |
4070 | | - | |
4071 | | - | |
4072 | | - | |
4073 | | - | |
4074 | | - | |
4075 | | - | |
4076 | 4047 | | |
4077 | 4048 | | |
4078 | 4049 | | |
| |||
5481 | 5452 | | |
5482 | 5453 | | |
5483 | 5454 | | |
5484 | | - | |
5485 | 5455 | | |
5486 | 5456 | | |
5487 | 5457 | | |
| |||
5525 | 5495 | | |
5526 | 5496 | | |
5527 | 5497 | | |
5528 | | - | |
5529 | 5498 | | |
5530 | 5499 | | |
5531 | 5500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2167 | 2167 | | |
2168 | 2168 | | |
2169 | 2169 | | |
2170 | | - | |
2171 | | - | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
2175 | | - | |
2176 | | - | |
2177 | 2170 | | |
2178 | 2171 | | |
2179 | 2172 | | |
| |||
3704 | 3697 | | |
3705 | 3698 | | |
3706 | 3699 | | |
3707 | | - | |
3708 | | - | |
3709 | | - | |
3710 | | - | |
3711 | | - | |
3712 | | - | |
3713 | | - | |
3714 | | - | |
3715 | | - | |
3716 | | - | |
3717 | | - | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
3721 | | - | |
3722 | | - | |
3723 | | - | |
3724 | 3700 | | |
3725 | 3701 | | |
3726 | 3702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | 89 | | |
92 | 90 | | |
93 | 91 | | |
| |||
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
201 | | - | |
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 63 deletions
This file was deleted.
0 commit comments