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
{{ message }}
Repository navigation
AI Chat: rewrite to modern composer + tool architecture #1047
The current chat panel has 5 providers but a flat text-in/text-out model. Rewrite the chat layer so it can do what Zed, VSCode Copilot Chat, and Cursor do.
What it should do
Model picker inline in the composer. No Settings detour.
@-mentions for tables, schemas, current query, query results, saved queries.
Slash commands: /explain, /fix, /optimize, plus user-defined.
Tool calling that re-uses the existing MCP tools in TablePro/Core/MCP/Protocol/Tools/. Chat consumes its own MCP layer instead of duplicating schema fetch and query exec.
Per-turn provider attribution. Switching mid-conversation is tracked.
Opt-in context. No auto-shoveling schema into every prompt.
Architecture target
Replace AIProvider (text only) with three abstractions:
Activity