Commit Graph

154 Commits

Author SHA1 Message Date
mlogclub 2e03ae7914 feat: refactor request types and service integration for improved runtime handling 2026-04-13 21:15:56 +08:00
mlogclub c44ffc0bdc feat: implement runtime service with tool catalog and skill selection logic 2026-04-13 20:43:37 +08:00
mlogclub 521729f5d3 feat: implement runtime service and types for application integration 2026-04-13 20:37:22 +08:00
mlogclub 02813a3f6a feat: add CommitAIReply method to streamline reply handling and increment AI reply rounds 2026-04-13 19:50:48 +08:00
mlogclub d843cfb79f feat: refactor reply handling to streamline pending interrupt and execution logic 2026-04-13 19:48:58 +08:00
mlogclub 6fa2a465ed feat: implement tooling preparation and context building for enhanced execution flow 2026-04-13 19:42:32 +08:00
mlogclub f66b337016 feat: add StaticToolMetadata to ToolSet and update related logic for improved tool metadata handling 2026-04-13 19:23:53 +08:00
mlogclub 1ebbdadc1b feat: refactor prepare service to use toolCatalog for tool resolution and add unit tests for tool catalog functionality 2026-04-13 19:20:14 +08:00
mlogclub 102271ac84 feat: introduce prepare and plan services for improved skill execution handling 2026-04-13 19:15:12 +08:00
mlogclub e5448e00b3 Refactor execution logic into a new executor package
- Moved execution-related logic from the engine service to a new executor service.
- Created types for RunInput, ResumeInput, RunResult, and InterruptContextSummary in the executor package.
- Updated the engine service to utilize the new executor service for executing runs and resumes.
- Removed redundant code and improved organization by separating concerns between engine and executor.
2026-04-13 18:49:05 +08:00
mlogclub 5f41522597 feat: add unit tests for FAQ chunk content and model, including context normalization and graph plan reasoning 2026-04-13 18:41:29 +08:00
mlogclub 3c0abaaedc Refactor AI skill routing and introduce reply handling services
- Moved the skill routing logic from matcher.go to a new router.go file for better organization.
- Implemented replyCommitService to handle sending AI replies and managing reply rounds.
- Added replyInterruptService to manage conversation interrupts and resume handling.
- Created replyRunLogService to log AI reply actions and their outcomes.
- Introduced helper functions for building conversation interrupts and resolving prompts.
- Added unit tests for the new services and functions to ensure correctness.
- Removed unused code and optimized imports in matcher.go.
2026-04-13 17:17:13 +08:00
mlogclub 93cda6ae82 feat: implement runtime reply service and refactor related components 2026-04-12 23:37:52 +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 37a713f3b8 feat: enhance graph tool handling by adding recommended action, risk level, and ticket draft readiness 2026-04-12 13:43:09 +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 5484384d89 feat: enhance tool result handling by adding reduction info parsing and updating trace item structure 2026-04-12 11:40:05 +08:00
mlogclub fb42101c10 feat: refactor tool result summary handling by introducing BuildReducedToolResultSummary and updating related methods 2026-04-12 11:36:36 +08:00
mlogclub 0db5f0d663 feat: enhance knowledge retrieval by adding MaxContextItems support and refactoring related methods 2026-04-12 11:02:08 +08:00
mlogclub 0b77d91dfe feat: enhance retriever trace summary by adding policies support and refactoring related methods 2026-04-12 10:59:59 +08:00
mlogclub 7f70614739 feat: enhance retriever summary handling by adding SetRetrieverSummary method and updating trace summary in knowledge retrieval 2026-04-12 10:49:43 +08:00
mlogclub 9ee3f3abbd feat: enhance knowledge retrieval by introducing RetrieveContextByOptions method and streamline context handling 2026-04-12 10:45:11 +08:00
mlogclub cf84693421 feat: refactor knowledge retrieval to introduce RetrieveContext method and streamline context handling 2026-04-12 10:34:24 +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 294ad772de feat: remove project root dependency and introduce DefaultProjectInstruction constant 2026-04-12 09:56:38 +08:00
mlogclub f1f213420d feat: add instruction summary handling in RuntimeTraceCollector and enhance instruction assembly process 2026-04-11 23:02:09 +08:00
mlogclub be17807152 feat: enhance tooling management with static and dynamic tool code handling 2026-04-11 22:50:35 +08:00
mlogclub e6d0fa2ba2 feat: refactor tool handling to use ToolSet for improved organization and clarity 2026-04-11 22:46:47 +08:00
mlogclub a8a33ec6e0 feat: refactor BuildCustomerServiceAgent to use structured input for improved clarity and extensibility 2026-04-11 22:40:04 +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 47a99a4372 feat: refactor confirmation handling and add new constants for ticket creation and handoff processes 2026-04-10 16:24:49 +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 ea327e2d97 feat: refactor handoff logic and update UI descriptions for Graph Tool integration 2026-04-10 16:03:06 +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 31337fa714 feat: enhance tool search functionality and streamline tool management in AI agent 2026-04-10 15:40:21 +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
mlogclub 1370e4b675 feat: enhance AI agent functionality with tool management and logging improvements
- Added AllowedToolCodes field to Context for managing tool access.
- Introduced ResumeSource in aiReplyTraceData to track resume points.
- Enhanced logging with additional fields: PlannedSkillName, SkillRouteTrace, InterruptType, ResumeSource, and FinalStatus.
- Implemented functions to parse and resolve allowed tool codes for agents and skills.
- Refactored skill definition creation and update logic to streamline request handling.
- Updated MCP tool catalog to include source type and integrated built-in tools.
- Improved UI components to display additional tool information and enhance user experience.
2026-04-10 14:43:57 +08:00