Commit Graph

68 Commits

Author SHA1 Message Date
mlogclub 5ebdf1cc8e feat: implement SkillMiddlewareService and helper functions for skill handling 2026-04-14 10:41:16 +08:00
mlogclub d0e2efab65 feat: remove unused buildInstructionAppendices function from tool_helpers 2026-04-14 10:40:56 +08:00
mlogclub 519d5fe1e1 feat: introduce InstructionService for improved instruction assembly and refactor AgentFactory 2026-04-14 10:24:35 +08:00
mlogclub 1683ed6ed5 feat: add governance and skill instruction providers, update instruction assembly logic 2026-04-14 10:24:13 +08:00
mlogclub bea080d23c feat: enhance ProjectInstructionProvider to read from AGENTS.md and update default instruction logic 2026-04-14 10:05:31 +08:00
mlogclub 65e65bd137 feat: add ProjectInstructionProvider and ToolAppendixProvider for enhanced instruction handling 2026-04-14 10:03:52 +08:00
mlogclub 3f85c7fc2c feat: add unit tests for NewRuntimeStaticTool and ResolveToolMetadata functions 2026-04-14 09:58:08 +08:00
mlogclub 3254ba1bf4 feat: refactor tool catalog to use NewRuntimeStaticTool for dynamic tool creation 2026-04-14 09:56:52 +08:00
mlogclub 200631cc0b feat: implement Spec method for tools and update tool resolution logic in the registry 2026-04-14 09:56:37 +08:00
mlogclub e42b2b0f4d refactor: replace local tool name and code variables with direct references from toolx package 2026-04-14 09:51:25 +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 164121836d Refactor runtime executor integration and introduce eino package
- Replaced the existing runtime executor with a new eino package for better modularity.
- Updated Service struct to use the new RuntimeExecutor from eino.
- Adjusted Run and Resume methods to accommodate changes in input types and execution logic.
- Introduced new types in the eino package to align with the previous executor's functionality.
- Refactored tooling preparation logic to streamline tool definitions and improve clarity.
- Added new context builders and event consumers to enhance runtime event handling.
- Removed legacy executor code and ensured all references are updated to the new eino package.
2026-04-14 09:33:49 +08:00
mlogclub f5bbb0aaf2 refactor: remove obsolete service and tool catalog implementations 2026-04-13 21:17:45 +08:00
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