fix(ui): friendly name and icon for the get_ast_outline tool card
Nightly Build / build (push) Successful in 7m54s
Nightly Build / build (push) Successful in 7m54s
get_ast_outline was the one registry tool with no Tool::display_name and no Tool::icon, so its chat card fell back to the raw function id and the generic Filesystem glyph. It now declares "Code Outline" plus a new semantic icon key 'outline', mapped frontend-side to bi-list-nested with its own accent var in both themes.
This commit is contained in:
@@ -19,6 +19,7 @@ const TOOL_ICON = {
|
||||
read: { glyph: 'bi-file-earmark-text', cls: 'tool-ico--read' },
|
||||
list: { glyph: 'bi-folder2-open', cls: 'tool-ico--list' },
|
||||
search: { glyph: 'bi-search', cls: 'tool-ico--search' },
|
||||
outline: { glyph: 'bi-list-nested', cls: 'tool-ico--outline' },
|
||||
shell: { glyph: 'bi-terminal', cls: 'tool-ico--shell' },
|
||||
subagent: { glyph: 'bi-diagram-3', cls: 'tool-ico--subagent' },
|
||||
image: { glyph: 'bi-image', cls: 'tool-ico--image' },
|
||||
|
||||
Reference in New Issue
Block a user