- Added the `askExpert` tool to delegate complex questions to a specialist agent, improving the assistant's ability to handle in-depth inquiries.
- Updated the AIChatMessages component by removing the feedback bar and streamlining message rendering.
- Enhanced the AIChatToolCall component with a new label for the expert consultation process.
- Introduced a new reasoning agent to facilitate complex reasoning tasks and integrated it into the assistant's toolset.
- Updated the router prompt to reflect the new capabilities of the assistant, emphasizing the use of the `askExpert` tool for complex queries.
- Renamed the getQuerySchema tool to getTableSchema for clarity and updated its implementation to fetch table-specific column schemas.
- Adjusted the dashboard assistant and related tools to utilize getTableSchema in the workflow for executing TRQL queries.
- Introduced a new generated schema file for TRQL tables to support the updated getTableSchema functionality.
- Updated documentation to reflect changes in the toolchain and usage instructions for querying data.
- Introduced the getApiDetails tool to fetch the full schema for REST API operations, including parameters and request body shape.
- Updated the dashboard assistant to incorporate getApiDetails in the multi-step tool chain.
- Enhanced error messages in executeApiCall to suggest using getApiDetails for missing parameters.
- Updated documentation to reflect the new workflow for API operations, emphasizing the importance of calling getApiDetails before callApi.
- Sparkle hover animation on the Ask AI button and assistant header, plus a
redesigned header close button (Button + ExitIcon + esc shortcut)
- AIChatPanel resumes an existing chat and sends the current page context when
starting a session
- Every completed tool call is shown as an agent step in the transcript, in the
order the agent ran them, labelled with the tool's name and expandable to
reveal its input and output
- AIChatProvider guards history switching against out-of-order responses and
sets messages before the chat id so useChat picks them up in one render
- resources.ai-assistant slug validation + error handling; chat history now
uses a typed Prisma query instead of raw SQL
- buildToolContext validates required slugs
- chat persistence uses sessions.start() in the preload hooks with a lazy
aiChat upsert in onTurnStart
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Updated AskAI component to hide when the chat drawer is open.
- Modified AIChatContextBanner for better styling.
- Refactored AIChatHeader to include scroll handling and improved chat history display.
- Enhanced AIChatInput to support auto-growing text area and focus management.
- Improved AIChatMessages to handle scrolling and display messages more effectively.
- Added error handling and retry functionality in AIChatPanel.
- Introduced new suggested prompts with animation effects.
These changes aim to provide a more seamless and user-friendly chat experience in the AI assistant interface.