Commit Graph

157 Commits

Author SHA1 Message Date
mlogclub 964b2ed6ce event bus 2026-04-20 22:58:54 +08:00
mlogclub c5bef3bd4f 企微通知功能对接 2026-04-19 18:11:34 +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 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 797bee65f9 refactor: remove remark field from AIAgent and related components 2026-04-18 13:03:59 +08:00
mlogclub c9a763024c feat(skill): implement restore functionality for Skill Definitions 2026-04-17 15:54:09 +08:00
mlogclub 48564ec384 feat(content): enhance ContentChunk structure with Provider and StorageKey fields 2026-04-17 13:40:16 +08:00
mlogclub 0037b97f29 feat(asset): add AssetID to ContentChunk and update image handling in HTML content 2026-04-17 13:35:00 +08:00
mlogclub f4761d768c feat(message): enhance HTML asset normalization with error handling and validation 2026-04-17 13:34:36 +08:00
mlogclub 2631689958 feat(message): enhance message normalization and asset handling in HTML content 2026-04-17 12:50:06 +08:00
mlogclub 9efec4d379 feat(utils): implement message rendering utilities and enhance message handling in services 2026-04-17 12:40:47 +08:00
mlogclub 9d76d5d505 feat(message): enhance message rendering and payload handling with signed URLs 2026-04-17 11:53:25 +08:00
mlogclub 62416baabc Refactor API endpoints to use /api/dashboard instead of /api/console
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths.
- Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
2026-04-15 17:12:30 +08:00
mlogclub 76b846f913 feat: remove unused AgentRunGraphSummary type and related logic from services and UI 2026-04-14 23:36:44 +08:00
mlogclub 12fd382abb feat: add customer online status to conversation response and update UI accordingly 2026-04-14 20:28:48 +08:00
mlogclub e4cec52661 feat: remove priority field from SkillDefinition and related services 2026-04-14 17:50:33 +08:00
mlogclub ccdb04e9aa feat: remove priority field from skill definition and related services 2026-04-14 17:44:06 +08:00
mlogclub aa7f94e08f feat: add support for Graph Tools in AIAgent model and related services 2026-04-14 15:10:50 +08:00
mlogclub 8d560bb6bd feat: introduce ToolSourceType enum and refactor related code to use it 2026-04-14 15:05:38 +08:00
mlogclub eef67a436e refactor: update GetCustomerSourceTypeLabel to use ExternalSource and remove CustomerSourceType alias 2026-04-14 12:14:13 +08:00
mlogclub 3f85c7fc2c feat: add unit tests for NewRuntimeStaticTool and ResolveToolMetadata functions 2026-04-14 09:58:08 +08:00
mlogclub ceb5df87fd feat: implement ResolveToolMetadata function and update tool metadata resolution across the codebase 2026-04-14 09:51:03 +08:00
mlogclub d87253dddd feat: refactor agent factory and introduce helper functions for tool metadata and instruction assembly 2026-04-14 09:47:42 +08:00
mlogclub 0ea113c621 feat: refactor tool catalog to build static tools dynamically and improve tool code normalization 2026-04-14 09:39:56 +08:00
mlogclub 6499126f40 feat: refactor tool metadata handling and simplify allowed tool code checks 2026-04-12 23:15:27 +08:00
mlogclub c5941e91e0 feat: enhance ToolSpec with Appendix field and refactor agent instruction assembly 2026-04-12 23:14:27 +08:00
mlogclub ef6815a3c6 feat: refactor tool metadata resolution to utilize ToolSpec and enhance tool catalog service 2026-04-12 22:30:00 +08:00
mlogclub 11252d31da feat: refactor tool definitions to use structured ToolSpec and update related references 2026-04-12 22:27:09 +08:00
mlogclub 54f5a684c3 feat: add recommended action, risk level, and ticket draft readiness to AgentRunLogResponse and related components 2026-04-12 14:12:04 +08:00
mlogclub c3ac4c3e28 feat: add AgentRunGraphSummary and related functionality for graph summary retrieval 2026-04-12 14:08:16 +08:00
mlogclub 89227c02c4 feat: add TriageServiceRequest tool and related graph for analyzing service requests and drafting tickets 2026-04-12 13:39:16 +08:00
mlogclub e42c77c8ae feat: add AnalyzeConversation tool and related graph for analyzing conversation risks and summaries 2026-04-12 13:36:01 +08:00
mlogclub a66b78eecc feat: add PrepareTicketDraft tool and related graph for drafting ticket information 2026-04-12 13:32:07 +08:00
mlogclub dce9c5eb25 feat: rename SkillAllowedToolCodes to ToolWhitelist and ToolCodes to ExposedToolCodes for consistency across responses 2026-04-12 10:17:27 +08:00
mlogclub 44b20813fe feat: rename AllowedToolCodes to ToolWhitelist across skill-related models and requests for consistency 2026-04-12 10:16:03 +08:00
mlogclub 560ebdbf13 feat: implement skill middleware and enhance tool handling for selected skills 2026-04-12 10:11:17 +08:00
mlogclub 06abbbeeb6 feat: rename Content field to Instruction across skill-related models and requests for consistency 2026-04-12 10:00:47 +08:00
mlogclub fb4078fc75 feat: add AI serving status to conversation management and update related components 2026-04-11 13:55:11 +08:00
mlogclub 97f0df17b6 feat: implement skill debug resume functionality and related API endpoints 2026-04-10 17:27:44 +08:00
mlogclub 1087ddca44 feat: add debug dialog and related functionality for skill debugging 2026-04-10 16:52:45 +08:00
mlogclub b20278de29 feat: add HITL status fields and update agent run log handling 2026-04-10 16:45:52 +08:00
mlogclub 023ba802e4 feat: add Graph Tool code and handoff reason to agent run log model and related components 2026-04-10 16:23:25 +08:00
mlogclub c1d42be1fc feat: remove fallback mode and max AI reply rounds from AIAgent model and related components 2026-04-10 16:08:17 +08:00
mlogclub 15afa10c7d feat: implement Handoff Graph Tool for managing AI to human transitions 2026-04-10 16:00:10 +08:00
mlogclub d953625a2b feat: add Graph Tool tracing and logging support in agent run logs 2026-04-10 15:47:58 +08:00
mlogclub 3db7bec662 feat: refactor ticket creation process to use Graph Tool for confirmation and state management 2026-04-10 15:45:51 +08:00
mlogclub e7a600b7d5 feat: add auto-injection flag for tools and filter auto-injected tools in UI 2026-04-10 15:41:02 +08:00
mlogclub 4722caab37 feat: implement tool search tracing and logging in agent run logs 2026-04-10 15:04:02 +08:00
mlogclub 8961ec4342 feat: add tool search functionality and enhance tool management in AI agent 2026-04-10 14:57:46 +08:00