Commit Graph

231 Commits

Author SHA1 Message Date
mlogclub e616169c41 feat(role): add CreateRoleDrawer component and integrate role creation functionality 2026-04-23 14:05:13 +08:00
mlogclub a769df5d44 fix(api): enhance createWebSocketBaseUrl function to handle development environment and window context 2026-04-21 23:08:40 +08:00
mlogclub 72d92efd61 refactor(api): remove unused WebSocket URL creation functions from agent and im modules 2026-04-21 23:07:32 +08:00
mlogclub c02cfc85e4 feat(widget): replace img with next/image for optimized logo rendering 2026-04-21 22:53:07 +08:00
mlogclub c6a0e9e918 chore: update docs submodule for v1.1.0 2026-04-21 18:45:49 +08:00
mlogclub 4d45d7f037 feat(wxwork): refactor truncateRunes function to be a method of wxWorkNotifyService 2026-04-21 18:08:03 +08:00
mlogclub beebf131c8 feat(wxwork): update toUsers field type to int64 and enhance comments for clarity 2026-04-21 17:57:53 +08:00
mlogclub 22e1c2e395 feat(wxwork): refactor recipient handling to use slices instead of structs 2026-04-21 17:51:35 +08:00
mlogclub 179c01c0e4 feat(wxwork): update default recipients to remove duplicates and include all users 2026-04-21 17:36:33 +08:00
mlogclub 8c31a9c444 feat(wxwork): remove unused recipient fields from wxWorkNotifyConfig 2026-04-21 17:36:05 +08:00
mlogclub e5c9eba497 feat(wxwork): refactor recipient handling and replace unique functions with arrs.Distinct 2026-04-21 17:31:33 +08:00
mlogclub 64e75dcdf6 feat(eventbus): implement conversation and ticket assignment event handlers with notifications 2026-04-21 17:11:50 +08:00
mlogclub 6789a8dee0 feat(eventbus): refactor handler storage to use a slice and add tests for handler order 2026-04-21 16:42:29 +08:00
mlogclub 6c005d5daa feat(eventbus): implement event handling for ticket and conversation assignments 2026-04-21 16:41:12 +08:00
mlogclub df13d5ced5 feat(eventbus): enhance event handling with error propagation and global bus management 2026-04-21 11:50:43 +08:00
mlogclub 964b2ed6ce event bus 2026-04-20 22:58:54 +08:00
mlogclub 59de41da8a update widget home page 2026-04-20 22:31:20 +08:00
mlogclub 146a43df28 update widget home page 2026-04-20 22:31:06 +08:00
mlogclub eab8002955 fix(page): update widget width to 880px and adjust placeholder text 2026-04-19 21:07:15 +08:00
mlogclub be49c9cd01 refactor(page): update layout styles and remove unused sections 2026-04-19 21:04:04 +08:00
mlogclub 818101a869 refactor(page): enhance layout and improve widget configuration interface 2026-04-19 20:58:29 +08:00
mlogclub a402773693 remove unused code 2026-04-19 20:31:07 +08:00
mlogclub 6d6a8aefa9 refactor(layout): replace Card component with Loader2Icon for loading state 2026-04-19 20:30:41 +08:00
mlogclub c5bef3bd4f 企微通知功能对接 2026-04-19 18:11:34 +08:00
mlogclub 97c50fd326 update make script 2026-04-19 18:10:28 +08:00
mlogclub 60956488e0 refactor(rag): update loadDocumentByID and loadFAQByID to return pointers and simplify error handling 2026-04-19 11:56:03 +08:00
mlogclub 700ec2a38b refactor(runtime): remove nil checks for receiver in RuntimeTraceCollector methods
refactor(factory): enforce skill middleware requirement in NewAgentHandlerService
refactor(reply_interrupt): improve error handling for pending interrupts
2026-04-19 11:40:17 +08:00
mlogclub 3e98e9379c refactor(runtime): update function signatures to use value receivers for models 2026-04-19 11:38:05 +08:00
mlogclub 680793f527 refactor(runtime): streamline request handling and improve tool preparation methods 2026-04-19 11:19:51 +08:00
mlogclub 92712d882a feat(tool-filter): implement runtime tool filtering middleware and associated tests 2026-04-19 10:28:18 +08:00
mlogclub 77a5c68b01 refactor(dashboard): enhance layout and improve log display in Agent Run Logs page 2026-04-19 10:02:38 +08:00
mlogclub 42077c1aab Refactor skill handling and improve runtime trace capabilities
- Removed the selectSkill method from prepareService and adjusted related logic in the Run method of Service.
- Updated tool catalog to parse agent allowed tool codes directly.
- Simplified Request and RunInput structures by removing unnecessary fields.
- Enhanced the RuntimeTraceCollector to manage skill activation and visibility.
- Introduced a new databaseSkillBackend to manage skill definitions and their metadata.
- Added tests for skill backend functionalities to ensure correct behavior.
- Updated various factory methods to accommodate changes in skill handling.
- Improved documentation and descriptions for better clarity.
2026-04-19 09:57:34 +08:00
mlogclub ad83d1dfda feat(utils): add BuildRuntimeMessageText function for message formatting 2026-04-18 22:24:30 +08:00
mlogclub e1ffcc64a9 refactor(edit): implement tabbed interface for tool configuration in EditDialog 2026-04-18 14:11:13 +08:00
mlogclub 3249c8ae96 refactor(knowledge-base-edit): reorganize imports and adjust grid layout for answer mode 2026-04-18 14:00:40 +08:00
mlogclub c84870b968 feat: add fallback mode for AI agents and update knowledge base handling
- Introduced AIAgentFallbackMode with options for NoAnswer and SuggestRetry.
- Updated AI agent edit component to include fallback mode selection.
- Modified API types and payloads to accommodate fallback mode.
- Removed deprecated KnowledgeFallbackMode and related logic from knowledge base.
- Adjusted knowledge retrieval and response handling to utilize new fallback logic.
- Updated tests to reflect changes in fallback mode handling for AI agents.
2026-04-18 13:36:44 +08:00
mlogclub d9c4b669b2 refactor(content-editor): enhance mode handling and integrate allowed modes across components 2026-04-18 13:05:39 +08:00
mlogclub 797bee65f9 refactor: remove remark field from AIAgent and related components 2026-04-18 13:03:59 +08:00
mlogclub 1a657f2dfa refactor(edit): enhance EditDialog layout and improve field descriptions 2026-04-18 13:00:08 +08:00
mlogclub fe50149677 refactor(edit): improve field labels and enhance fallback message handling 2026-04-18 11:29:49 +08:00
mlogclub f7eee62721 update 2026-04-18 11:25:57 +08:00
mlogclub f166caa11c refactor(instruction): remove governance instruction handling and update related tests 2026-04-18 11:25:48 +08:00
mlogclub 9756780aec refactor(instruction): simplify NewService initialization and update import paths 2026-04-18 11:09:05 +08:00
mlogclub 023ec7373b refactor(instruction): remove default governance instruction and update related tests 2026-04-18 11:05:41 +08:00
mlogclub 9a677a6265 refactor(instruction): remove project instruction handling and related tests 2026-04-18 10:54:36 +08:00
mlogclub 19848d031b refactor(skills): update routeSkillWithLLM to use RuntimeContext and streamline user message handling 2026-04-17 18:57:34 +08:00
mlogclub 51884f1bdf refactor: change pointer receivers to value types for Conversation and UserMessage in various structs and functions 2026-04-17 18:48:45 +08:00
mlogclub 976b9defde Refactor AI Agent and AI Config handling across multiple files
- Updated function signatures to accept AI Agent and AI Config as non-pointer types for better clarity and safety.
- Modified instances where AI Agent and AI Config were dereferenced to improve code readability.
- Removed unnecessary nil checks for AI Agent and AI Config, simplifying the logic.
- Adjusted related tests and services to align with the new function signatures.
- Cleaned up code in runtime, skills, and executor packages to ensure consistency in handling AI configurations.
2026-04-17 17:57:01 +08:00
mlogclub 3b062c327c feat(skill): refactor RuntimeContext to use AIAgent and AIConfig directly, removing contextLoader 2026-04-17 17:37:36 +08:00
mlogclub d5d1956964 refactor(runtime): replace RuntimeExecutor with direct use of executor.Service 2026-04-17 17:31:28 +08:00