mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
f36166bee5
Tool rename (breaking change for ToolName string comparisons in event handlers): - internal/core/subagent.go: Name field 'spawn_subagent' → 'subagent' - internal/extensions/wrapper.go: update coreToolKinds map key - pkg/kit/events.go: update coreToolKinds map key and ToolKindSubagent comment - pkg/kit/extensions_bridge.go: update three ToolName == ... guards - internal/ui/tool_renderers.go: update two toolName == ... case guards - internal/ui/stream.go: remove special-case branch (toolName is now already 'subagent', so the title-case fallback produces 'Subagent' naturally) Comments/docs updated everywhere (no logic changes): - internal/core/tools.go, internal/extensions/api.go, events.go - pkg/kit/kit.go, tools.go - examples/extensions/subagent-test.go, kit-telegram/main.go - README.md, skills/kit-sdk/SKILL.md - www/pages/advanced/subagents.md, extensions/capabilities.md - www/pages/index.md, sdk/callbacks.md - www/public/session/index.html (tracked UI asset) Redundant toolDisplayNames map removed (item #14): - internal/ui/messages.go: delete the 7-entry map whose every value was identical to what the title-case fallback already produced; simplify toolDisplayName() to just the fallback