mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
cf194ff89a
- Add ExtensionInfo type and Loaded() method to the public ExtensionAPI so SDK consumers can inspect which extensions are active. - Introduce ui.ExtensionItem and thread ExtensionItems/GetExtensionItems through AppModelOptions, mirroring the existing SkillItem pattern. - Render an [Extensions] row in AddStartupMessageToScrollList showing the filename of each loaded extension (with a (N tools) suffix when extensions register tools). Falls back to tool count only when items are unavailable, and is omitted entirely when no extensions load. - Refresh the list on /reload-ext via a new refreshExtensionItems hook so the banner stays accurate across hot-reloads. - Add buildExtensionItems helper in cmd/root.go that strips .go and resolves subdirectory extensions to their parent dir name, tagging each as project or user scope based on cwd.