Commit 1ed1929
fix(review): hide the retired get_platform_actions chip like search_documentation
The two retirement shims disagreed. search_documentation is in
HIDDEN_TOOL_NAMES with no TOOL_TITLES entry, so a call from an older build
renders nothing. get_platform_actions was only hidden:true in the generated
catalog, which isToolHiddenInUi never consults, and it kept a live title — so
the same situation surfaced a "Getting platform actions" chip for a capability
that no longer exists.
Hiding also drops the row from historical transcripts, since isToolHiddenInUi
runs at transcript build time. That is accepted and is the existing behavior
for search_documentation. Verified it cannot error: every consumer skips via
continue or returns undefined, nothing indexes off the omitted entry, and
neither id is a subagent trigger, so no tool group is orphaned.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7be0522 commit 1ed1929
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | 446 | | |
448 | 447 | | |
449 | 448 | | |
| |||
0 commit comments