Commit Graph

99 Commits

Author SHA1 Message Date
mlogclub eef67a436e refactor: update GetCustomerSourceTypeLabel to use ExternalSource and remove CustomerSourceType alias 2026-04-14 12:14:13 +08:00
mlogclub fcb2e11998 feat: refactor runtime to use application runtime executor and update related types 2026-04-14 12:13:33 +08:00
mlogclub 03fc405e4e feat: implement instruction assembly and project instruction providers with tests 2026-04-14 12:00:03 +08:00
mlogclub 9c7d70741a feat: refactor MCP tool definitions to use a new tooling package and update related references 2026-04-14 11:55:32 +08:00
mlogclub 2cb4866fce feat: update ResumeData type from map[string]any to map[string]string for consistency 2026-04-14 11:47:13 +08:00
mlogclub 48ad418f06 feat: enhance handoff reason extraction and improve trace data handling in run log service 2026-04-14 11:45:55 +08:00
mlogclub 13903baf61 feat: add structured types for graph tool outcomes and enhance candidate extraction logic 2026-04-14 11:15:07 +08:00
mlogclub 974f8a788b feat: remove unused helper functions for string and int64 value extraction 2026-04-14 11:13:19 +08:00
mlogclub a5b0ddc760 feat: refactor HandoffGraph to use structured arguments and add unit tests for buildReason method 2026-04-14 11:08:02 +08:00
mlogclub 2211f29da7 feat: remove deprecated service and types, and refactor tool search request handling 2026-04-14 11:07:26 +08:00
mlogclub c12e75b6a1 feat: add unit tests for AgentHandlerService and buildInstructionTraceSummary 2026-04-14 10:51:10 +08:00
mlogclub 7bdd462ed5 feat: refactor agent factory to use AgentHandlerService and add buildInstructionTraceSummary helper 2026-04-14 10:43:26 +08:00
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 0ea113c621 feat: refactor tool catalog to build static tools dynamically and improve tool code normalization 2026-04-14 09:39:56 +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 2a5629b9f1 feat: refactor indexing logic by introducing runDocumentIndex and runFAQIndex helper methods 2026-04-13 20:10:50 +08:00
mlogclub 4cd31ce454 feat: add document and FAQ loading methods to streamline indexing logic 2026-04-13 20:03:28 +08:00
mlogclub dd965e760c feat: refactor retrieve logic to enhance trace handling and knowledge base preparation 2026-04-13 20:03:04 +08:00
mlogclub a5cf31656e feat: implement context handling methods for improved result selection and context building 2026-04-13 20:01:38 +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 4b7c345d75 feat: refactor candidate loader to encapsulate skill definition retrieval and loading logic 2026-04-13 19:45:52 +08:00
mlogclub 1f0406ec91 feat: implement context loader for AI agent and refactor plan service to utilize it 2026-04-13 19:45:09 +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 229282f558 feat: refactor document and FAQ index removal logic, introducing cleanup helper functions for improved structure and readability 2026-04-13 18:17:29 +08:00
mlogclub 227ccedee6 feat: refactor document and FAQ indexing logic, introducing helper functions for improved structure and readability 2026-04-13 18:11:47 +08:00
mlogclub 5c944a28c2 feat: refactor logging and execution plan handling, introducing RunLogService for improved structure 2026-04-13 17:27:32 +08:00
mlogclub 03021d5f69 feat: refactor skill matching and execution services, introducing RuntimeService for improved structure 2026-04-13 17:23:05 +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