You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct terminal sandbox icon in thinking dropdown (#304320)
When sandbox is enabled, the tool-level icon was set to terminalSecure (lock)
at registration time, which leaked into every rendering path during streaming
before we knew if a specific command was actually sandboxed. This caused
unsandboxed commands (requestUnsandboxedExecution=true) to show the lock icon.
Fix:
- Set toolData.icon to always be Codicon.terminal (no lock). The per-command
isSandboxWrapped flag in toolSpecificData is the authoritative source.
- In the existing autorun in trackToolMetadata, update the icon element when
the tool transitions out of streaming and toolSpecificData becomes available.
- Store icon elements in toolIconsByCallId map for direct access.
Fixes#303505
0 commit comments