Commit Graph

207 Commits

Author SHA1 Message Date
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
mlogclub 81056a61a1 feat(skill): optimize loadCandidateSkills to use batch retrieval for skill definitions 2026-04-17 17:27:33 +08:00
mlogclub c396a4a5e3 feat(skill): refactor candidateLoader and update loadCandidateSkills to use getSkillByID 2026-04-17 17:23:29 +08:00
mlogclub a601fa707f feat(instruction): enhance default governance instruction with additional rules and tests 2026-04-17 17:11:26 +08:00
mlogclub ef73cf7e61 fix: guard runtime answers with knowledge retrieval 2026-04-15 14:57:14 +08:00
mlogclub 3cdd31786a feat: enhance event consumption logic and add success reply handling 2026-04-14 19:05:05 +08:00
mlogclub 1766eadcf1 feat: implement buildResumeTargets function and update resume handling logic 2026-04-14 18:27:45 +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 0ea493e536 feat: add test to ensure BuildMCPTools skips graph and builtin tools 2026-04-14 14:59:44 +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