Commit Graph

609 Commits

Author SHA1 Message Date
mlogclub 4d64d96a24 feat: update Docker image tag for agent-desk service to include lancedb 2026-06-07 20:42:45 +08:00
mlogclub bc07cda838 feat: add docker-compose and configuration files for agent-desk service with SQLite and LanceDB setup 2026-06-07 20:31:40 +08:00
mlogclub 9cfbd57b07 feat: add CountActiveByDirectoryID method to KnowledgeDocument and KnowledgeFAQ repositories; update directory deletion logic to allow soft-deleted documents 2026-06-07 20:28:33 +08:00
mlogclub a9952a821d feat: update dev command to include lancedb tags and improve help text 2026-06-07 20:01:45 +08:00
mlogclub 73f900c440 feat: update rerank provider baseUrl to use dashscope API endpoint 2026-06-07 19:53:12 +08:00
mlogclub 6eb3cfe5be feat: update banner text from "Shell AI" to "AGENT DESK" 2026-06-07 19:47:47 +08:00
mlogclub 9aa6490e8d feat: improve logging in wxWorkKFOutboundService to only log when batches are dispatched 2026-06-07 19:42:54 +08:00
mlogclub d2d82b615b feat: add LanceDB support with Docker integration and configuration files 2026-06-07 19:33:41 +08:00
mlogclub 9a1ee8acff feat: add LanceDB provider support with lifecycle tests and Makefile enhancements 2026-06-07 17:46:17 +08:00
mlogclub c3387ec4a9 feat: add LanceDB vector database provider
- Implemented LanceDBProvider for managing vector collections, including methods for creating, deleting, and searching collections.
- Added support for LanceDB configuration in VectorDBConfig.
- Introduced stub for LanceDB provider when not built with the appropriate tag.
- Updated provider initialization to include LanceDB as a supported type.
- Created types and interfaces for vector operations, including Vector, SearchRequest, and SearchResult.
- Added tests for VectorDBConfig unmarshalling and for ensuring proper error handling when LanceDB is not built.
- Updated enums to include LanceDB type and labels.
- Modified frontend enums to reflect the addition of LanceDB.
2026-06-07 17:32:29 +08:00
mlogclub 3439d20537 feat(i18n): Enhance internationalization support for tool specifications and notifications
- Added TitleKey and DescriptionKey fields to ToolSpec for dynamic localization.
- Updated tool specifications to use i18nx for titles, descriptions, and appendices.
- Refactored notification messages to utilize i18nx for localization in conversation and ticket assignment events.
- Improved localization in the debug dialog component for skill definitions.
- Added new translation keys in English and Chinese for ticket and conversation assignment notifications.
- Ensured that fallback messages are properly localized based on user locale.
2026-06-03 09:36:33 +08:00
mlogclub 5b6c54de34 feat: enhance error handling with internationalized messages across services and locales 2026-06-02 21:10:17 +08:00
mlogclub 0b4a1b4594 Refactor error handling in services to use internationalized error messages
- Updated OSSStorage validation errors to use internationalized messages.
- Changed error messages in provider.go for unsupported file storage types.
- Refactored tag_service.go to replace hardcoded error messages with internationalized versions.
- Updated ticket_service.go to use internationalized error messages for various validation checks.
- Refactored ticket_tag_service.go to use internationalized error messages for tag validation.
- Changed ticket_view_service.go to use internationalized error messages for view validation.
- Updated tool_catalog_service.go to use internationalized error messages for tool code validation.
- Refactored user_service.go to replace error messages with internationalized versions.
- Updated ws_service.go to use internationalized error messages for WebSocket handling.
- Refactored wxwork_kf_inbound_service.go to use internationalized error messages for message handling.
- Updated wxwork_kf_outbound_service.go to use internationalized error messages for outbound message handling.
- Refactored wxwork_login_service.go to use internationalized error messages for login handling.
- Updated login.go in wxwork package to use internationalized error messages for login state and ticket validation.
2026-06-02 20:51:13 +08:00
mlogclub 77be1b4f5e feat: enhance localization support for KnowledgeFAQ import and conversation error messages 2026-06-02 20:12:04 +08:00
mlogclub 30b4c504d9 fix: update subproject commit to indicate dirty state 2026-06-02 19:58:56 +08:00
mlogclub dca045f866 feat: enhance KnowledgeContentDetailDialog with fullscreen options and layout improvements 2026-06-02 19:58:32 +08:00
mlogclub 4706e0666b feat: add click handling for detail dialog in DocumentList and FAQList components 2026-06-02 19:57:09 +08:00
mlogclub ffd2227e5e feat: add detail view functionality for documents and FAQs with localization support 2026-06-02 19:55:26 +08:00
mlogclub 9c7bf29b41 feat: improve layout of DashboardKnowledgeDocumentsPage for better responsiveness 2026-06-02 19:50:20 +08:00
mlogclub 05f4e378fe feat: enhance ScrollArea styling in KnowledgeDirectoryPanel for better layout control 2026-06-02 16:30:45 +08:00
mlogclub 923a3be815 feat: add focus handling for directory name input in KnowledgeDirectoryPanel 2026-06-02 16:29:07 +08:00
mlogclub a38d9f097a feat: add resize functionality to KnowledgeDirectoryPanel with localization support 2026-06-02 16:26:43 +08:00
mlogclub 87fb688ade feat: enhance DirectoryNode interaction with improved click handling and context menu support 2026-06-02 16:24:12 +08:00
mlogclub 3162faca56 feat: update layout of RetrieveLogList for improved spacing and readability 2026-06-02 16:23:10 +08:00
mlogclub ae62f7ecce feat: add move functionality to DocumentList and FAQList for improved document management 2026-06-02 16:21:05 +08:00
mlogclub 44ec2921d4 feat: add context menu support to DocumentList, FAQList, and KnowledgeBaseList for improved user interaction 2026-06-02 16:19:11 +08:00
mlogclub 5b8bb388db feat: add context menu functionality to DirectoryNode for enhanced user interaction 2026-06-02 16:17:20 +08:00
mlogclub 842f827c86 feat: implement batch move and delete functionality for documents and FAQs 2026-06-02 16:13:08 +08:00
mlogclub 1bdc1cb2b6 feat: add filter button to DocumentList and FAQList components for enhanced user interaction 2026-06-02 15:53:51 +08:00
mlogclub 2235d89ea4 refactor: adjust height of header in KnowledgeDirectoryPanel for improved layout 2026-06-02 15:51:09 +08:00
mlogclub d2e65415a8 refactor: enhance FAQList component with improved filtering and action handling 2026-06-02 15:49:40 +08:00
mlogclub 24447d9cdf refactor: enhance layout of document filters in DocumentList for better responsiveness 2026-06-02 15:44:58 +08:00
mlogclub b64f1a7858 refactor: adjust button styling in DirectoryStaticRow for improved layout 2026-06-02 15:42:12 +08:00
mlogclub 853ae71b3d feat: add knowledge directory management for documents and FAQs
- Implemented directory validation in Create and Update knowledge document services.
- Added directory selection in document and FAQ edit dialogs with a new KnowledgeDirectoryPanel component.
- Enhanced API to support fetching, creating, updating, and deleting knowledge directories.
- Updated data models to include directory information for knowledge documents and FAQs.
- Added translations for directory-related messages in English and Chinese.
2026-06-02 15:37:50 +08:00
mlogclub 32af090ab8 refactor: update skill and MCP tool labels for consistency in English and Chinese translations 2026-06-02 12:08:35 +08:00
mlogclub c09ee0e596 refactor: replace document and FAQ chunk handling with repository methods for improved clarity and maintainability 2026-06-02 12:01:01 +08:00
mlogclub 99d5a951be refactor: improve knowledge base index removal and streamline vector handling logic 2026-06-02 11:47:35 +08:00
mlogclub c2d05863ba refactor: update knowledge base index removal method for improved clarity and efficiency 2026-06-02 11:39:24 +08:00
mlogclub 2002457492 refactor: enhance FAQ index removal logic and improve error handling in repository methods 2026-06-02 11:35:46 +08:00
mlogclub 62c55f5a47 refactor: simplify document deletion logic and remove redundant chunk handling 2026-06-02 11:33:24 +08:00
mlogclub 7a2f673a02 refactor: update document index removal methods for consistency and clarity 2026-06-02 11:29:06 +08:00
mlogclub abedafe911 refactor: streamline document and FAQ index removal methods and enhance knowledge base deletion logic 2026-06-02 11:25:30 +08:00
mlogclub 5c4d486df0 fix: adjust layout of search input and status filter in KnowledgeBaseList 2026-06-01 17:01:06 +08:00
mlogclub 523aa11abe fix(docs): update subproject commit reference to indicate dirty state 2026-06-01 14:08:14 +08:00
mlogclub 8933e963f5 feat(knowledge): add FAQ Excel import export 2026-06-01 13:57:49 +08:00
mlogclub d8692b45cd Update subproject commit reference in docs 2026-06-01 13:36:55 +08:00
mlogclub 031855935d Add quick reply, skill definition, and tag seeds for multilingual support
- Implemented QuickReplySeed structure and seeds for both English and Chinese languages.
- Created SkillDefinitionSeed structure with detailed instructions and examples for the "After-sales Escalation" skill in both languages.
- Added TagSeed structure and corresponding seeds for categorizing inquiries in English and Chinese.
- Refactored skill and tag initialization to utilize the new seed structures, ensuring proper data handling and multilingual support.
- Updated tests to verify that English seeds do not contain Chinese text, ensuring data integrity.
2026-06-01 12:15:41 +08:00
mlogclub b743639731 feat: add language support and tests for English and Chinese seed data
- Introduced a new package `seedlang` to handle language parsing and constants for English and Chinese.
- Updated `Init` functions across various modules (kb, quickreply, skill, tag) to accept a language parameter.
- Implemented English seed data for FAQs, quick replies, skills, and tags, ensuring no Chinese text is present in English data.
- Added tests to verify that English seed data does not contain Chinese characters.
- Removed outdated README file from the kb test data directory.
- Created new test files for channel and kb to validate the absence of Chinese text in English seed data.
2026-06-01 12:03:57 +08:00
mlogclub 6f86bdcd75 Translate AGENTS.md from Chinese to English for improved accessibility and clarity. 2026-06-01 11:53:15 +08:00
mlogclub 69f2c3656e Enhance database configuration comments for clarity in config.example.yaml 2026-06-01 10:10:36 +08:00