- Added hasPendingApproval prop to AgentChatArea for managing tool approval state.
- Updated AgentInput to show a placeholder when disabled due to pending approvals.
- Modified AgentMessageItem to handle feedback and actions based on approval status.
- Enhanced AgentMessageList to manage scrolling behavior during loading states.
- Introduced cleanup-approvals API to handle stale tool approvals.
- Updated useAgentChat composable to manage tool approval logic and state.
- Enhanced chat API to support tool approval responses and continue conversation after approval.
- Refactored agent tool fetching logic to remove unnecessary approval configurations.
- Improved session message handling to support new message parts structure.
- Updated agent configuration page to include a title generation model for guest users.
- Added a new preferences page for users to set their preferred LLM model.
- Implemented loading and saving functionality for user preferences.
- Introduced new API endpoints for guest users to access models and system prompts.
- Enhanced model loading logic to accommodate guest users and their default models.
- Improved error handling and user feedback for model saving operations.
- Added search tool executor with support for Bing, Baidu, and Google.
- Implemented parsing logic for search results from different engines.
- Updated session management to utilize user-specific model preferences.
- Added adminOnly field to CreateAgentToolInput and UpdateAgentToolInput interfaces.
- Updated API endpoints to handle adminOnly field in agent tools.
- Modified getEnabledToolInfos and getEnabledToolsForLlm functions to filter tools based on user role.
- Enhanced the chat tools API to retrieve enabled tools considering user roles.
- Updated migration journal to include new patch for adminOnly feature.
- Implemented datetime executor with operations for current time retrieval, formatting, parsing, time difference calculation, time addition, and timezone conversion.
- Added json formatter executor supporting formatting, minifying, validating, and extracting fields from JSON strings.
- Introduced regex tester executor for matching, testing, replacing, and extracting matches from input text using regular expressions.
- Created uuid executor for generating UUIDs, random strings, and random integers with configurable options.
- Updated agent tool registration to include new executors and their configurations.
- Enhanced input validation and error handling across all new executors.
- Removed "json-schema-to-zod" from dependencies in package.json.
- Deleted the register.ts file from the agent-tool service as it is no longer needed.
- Updated the db.sqlite binary file in drizzle-pkg.