mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
4f96acc217
The Bubble Tea refactor only wired /quit, /clear, and /clear-queue in InputComponent; the remaining commands (/help, /tools, /servers, /usage, /reset-usage) fell through as submitMsg and were forwarded to app.Run() as regular prompts. Intercept all recognized slash commands in AppModel.Update before they reach the app layer, and add print helpers that emit formatted output via tea.Println. Also create a UsageTracker for interactive mode so /usage and /reset-usage work correctly.