Commit Graph

17 Commits

Author SHA1 Message Date
mlogclub 5d7c10aeab refactor: rename agent widget references to AI agent for consistency
- Updated runtime configuration to use __CS_AI_AGENT_WIDGET_CONFIG__ instead of __CS_AGENT_WIDGET_CONFIG__.
- Changed message types in support host bridge from "cs-agent" to "cs-ai-agent".
- Minified SDK script updated to reflect new AI agent naming conventions.
- Adjusted scrollbar styles in main.scss to use .cs-ai-agent-scrollbar instead of .cs-agent-scrollbar.
2026-05-30 21:19:36 +08:00
mlogclub 680793f527 refactor(runtime): streamline request handling and improve tool preparation methods 2026-04-19 11:19:51 +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 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 aa7f94e08f feat: add support for Graph Tools in AIAgent model and related services 2026-04-14 15:10:50 +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 2cb4866fce feat: update ResumeData type from map[string]any to map[string]string for consistency 2026-04-14 11:47:13 +08:00
mlogclub 3254ba1bf4 feat: refactor tool catalog to use NewRuntimeStaticTool for dynamic tool creation 2026-04-14 09:56:52 +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 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