Commit Graph

45 Commits

Author SHA1 Message Date
mlogclub 847f688398 Refactor AI Agent configuration and workflow handling
- Removed runtime mode handling from AIAgentConfigWorkbench and related components.
- Updated tests to reflect changes in AI Agent policy copy and configuration.
- Changed terminology from "workflow" to "revision" in various components and API responses.
- Simplified agent binding logic in channel editing.
- Cleaned up unused variables and types related to runtime modes.
- Updated localization files for consistency with new terminology.
2026-07-27 23:29:02 +08:00
mlogclub 1464008741 refactor: rename direct tools to MCP tools across the codebase for consistency 2026-07-26 22:38:38 +08:00
mlogclub 1663db7f24 refactor: remove agent ID references from AI workflow handling and related components 2026-07-25 15:32:55 +08:00
mlogclub 7b86fd1f09 feat: Implement AI Agent Workflow Binding functionality
- Added aiAgentWorkflowBindingRepository for managing workflow bindings associated with AI agents.
- Enhanced agentRevisionService to include workflow bindings in agent revisions.
- Updated aIAgentService to handle workflow bindings during agent creation and updates.
- Introduced ai_agent_workflow_binding_service for managing workflow binding logic.
- Created new API endpoints for fetching, creating, updating, and deleting AI workflows.
- Developed a new dashboard page for managing AI workflows.
- Updated frontend components to support workflow binding management in agent configuration.
- Added necessary tests for workflow binding functionality and updated existing tests for compatibility.
- Translated relevant UI texts and messages for workflow management.
2026-07-25 15:24:49 +08:00
mlogclub 34051a4631 feat: Enhance AI Agent and Channel Management
- Updated labels in the AI Agents dashboard for clarity, changing "流程状态" to "Playbook 状态" and "未发布流程" to "未发布 Playbook".
- Introduced AI Agent rollout percentage management in channel editing, allowing users to set and rollback rollout percentages.
- Added new API endpoints for rolling back AI Agent rollout and fetching agent run metrics.
- Implemented new UI components for displaying agent run details, including status, duration, and input/output tokens.
- Enhanced type definitions for AdminChannel and AIAgent to include rollout percentages and runtime modes.
- Updated navigation to include a section for agent runs.
- Added new translations for agent run features in both English and Chinese.
2026-07-25 12:04:06 +08:00
mlogclub d4ff0980c4 refactor: remove graph tools references and related logic from AIAgent and workflows 2026-06-26 18:56:09 +08:00
mlogclub 015b57bfe7 refactor: update AIAgent handoff and fallback modes terminology for clarity 2026-06-26 18:27:54 +08:00
mlogclub 85cfee1967 refactor: remove SeqNo from message and conversation read state models, update related logic 2026-06-24 22:53:17 +08:00
mlogclub 0b5a24975c feat(workflow): add WorkflowRunID to message handling and related services 2026-06-24 17:49:39 +08:00
mlogclub 26578705ad feat: enhance workflow resume functionality with interrupted run reuse and error handling 2026-06-24 11:02:16 +08:00
mlogclub 6122a1d881 refactor: remove AgentRunLog related code and components
- Deleted AgentRunLogResponse struct from skill_response.go.
- Removed agent_run_log_repository.go and agent_run_log_service.go files.
- Eliminated AgentRunLogDetailDialog component and its related logic from the dashboard.
- Removed agent run log fetching functions from admin API.
- Updated navigation and localization files to remove references to agent run logs.
2026-06-23 23:22:18 +08:00
mlogclub 560843686b Refactor AIAgent runtime handling and remove unused fields 2026-06-23 08:37:52 +08:00
mlogclub 32ab43e7c2 refactor: make AI workflows agent-centric 2026-06-22 10:08:51 +08:00
mlogclub df7b199c18 feat: bind AI agents to workflow versions 2026-06-22 00:14:36 +08:00
mlogclub 0127455be5 feat: add AI workflow service foundation 2026-06-22 00:11:26 +08:00
mlogclub 541e4c5874 refactor: replace skill code with skill ID across the application
- Updated skill handling to use skill IDs instead of skill codes in various components, services, and models.
- Modified tests to reflect changes in skill identification.
- Removed references to skill codes in favor of skill IDs for consistency and clarity.
- Updated localization files to remove skill code references and adjust error messages accordingly.
2026-06-20 20:42:07 +08:00
mlogclub 853ae71b3d feat: add knowledge directory management for documents and FAQs
- Implemented directory validation in Create and Update knowledge document services.
- Added directory selection in document and FAQ edit dialogs with a new KnowledgeDirectoryPanel component.
- Enhanced API to support fetching, creating, updating, and deleting knowledge directories.
- Updated data models to include directory information for knowledge documents and FAQs.
- Added translations for directory-related messages in English and Chinese.
2026-06-02 15:37:50 +08:00
mlogclub 101577f163 Refactor internal services to use agent-desk package structure
- Updated import paths in multiple service files to reflect the new agent-desk module.
- Added a new configuration file for agent-desk in the Docker setup.
2026-05-31 18:43:48 +08:00
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 c246b85a9e feat: add support for request ID tracking across services
- Implemented request ID handling in various services and handlers to improve traceability of requests.
- Added new AuthOptions endpoint to expose WxWork and OIDC configuration options.
- Updated message and event logging to include request ID for better debugging.
- Enhanced login form to dynamically show available authentication options based on server configuration.
- Introduced utility functions for normalizing and ensuring valid request IDs.
- Updated tests to verify request ID functionality in message sending and event logging.
2026-05-27 22:18:43 +08:00
mlogclub fce0b5709d refactor(ticket): contract backend ticket core 2026-05-02 18:49:10 +08:00
mlogclub fbafb13a8a refactor(auth): simplify admin session token flow 2026-04-30 17:42:24 +08:00
mlogclub 6331ce32c4 feat(schedule): remove sourceType from schedule models and payloads 2026-04-29 15:09:35 +08:00
mlogclub 909854cd03 feat(notification): add dashboard notification center 2026-04-28 19:20:38 +08:00
mlogclub d713bd5158 refactor: update Conversation model to include CustomerName, adjust related logic and queries 2026-04-27 19:27:24 +08:00
mlogclub 3a9bc4914a refactor: remove Subject field from Conversation model and related logic, replace with CustomerName 2026-04-27 19:22:40 +08:00
mlogclub b3ef55b04e refactor: remove ExternalSource and ExternalID from Conversation model and related services, update references to use ChannelID instead 2026-04-27 19:04:10 +08:00
mlogclub 73b78a817d refactor: remove ExternalType from CustomerIdentity and related structures 2026-04-27 18:40:25 +08:00
mlogclub feecbdf1d0 feat: add ExternalType to customer identity model and update related services and enums 2026-04-27 18:07:56 +08:00
mlogclub 1bb4608051 feat: add ChannelID to conversation model and update related services and responses 2026-04-27 17:59:23 +08:00
mlogclub c84870b968 feat: add fallback mode for AI agents and update knowledge base handling
- Introduced AIAgentFallbackMode with options for NoAnswer and SuggestRetry.
- Updated AI agent edit component to include fallback mode selection.
- Modified API types and payloads to accommodate fallback mode.
- Removed deprecated KnowledgeFallbackMode and related logic from knowledge base.
- Adjusted knowledge retrieval and response handling to utilize new fallback logic.
- Updated tests to reflect changes in fallback mode handling for AI agents.
2026-04-18 13:36:44 +08:00
mlogclub 797bee65f9 refactor: remove remark field from AIAgent and related components 2026-04-18 13:03:59 +08:00
mlogclub 9d76d5d505 feat(message): enhance message rendering and payload handling with signed URLs 2026-04-17 11:53:25 +08:00
mlogclub 2464bbe428 feat(asset): remove URL field from Asset model and related functions 2026-04-17 11:19:13 +08:00
mlogclub ccdb04e9aa feat: remove priority field from skill definition and related services 2026-04-14 17:44:06 +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 44b20813fe feat: rename AllowedToolCodes to ToolWhitelist across skill-related models and requests for consistency 2026-04-12 10:16:03 +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 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 d953625a2b feat: add Graph Tool tracing and logging support in agent run logs 2026-04-10 15:47:58 +08:00
mlogclub 4722caab37 feat: implement tool search tracing and logging in agent run logs 2026-04-10 15:04:02 +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
mlogclub eb9cd78646 Refactor skill execution and definition handling to support content-based execution and enhance skill definition structure 2026-04-09 11:42:40 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00