Commit Graph

372 Commits

Author SHA1 Message Date
t 3d47227fbd refactor: split backend into standalone server project
Remove embedded frontend and workflow editor assets, add standalone API deployment configuration, and retain the current backend service updates.
2026-08-20 21:46:55 +08:00
mlogclub 954a3fe8d9 feat: add sync permissions functionality and UI integration 2026-08-19 15:35:28 +08:00
mlogclub 3b5868689c fix(workflow): harden publishing and editor testing
Require high-risk actions to reference human confirmation outputs, filter deleted workflows from dashboard lists, and keep template metadata synchronized. Add safe browser-side debug execution for business nodes without triggering real side effects.
2026-08-17 23:15:32 +08:00
mlogclub ad971370cf feat: implement business node specifications and enhance workflow editor with node specs support 2026-08-16 21:27:45 +08:00
mlogclub 1d6c0e37db feat: add WeCom outbox management features including retry and ignore actions, permissions, and UI integration 2026-08-02 14:03:23 +08:00
mlogclub fa123a9c41 转人工流程问题修复 2026-07-29 17:02:40 +08:00
mlogclub c66ab1050e feat: enhance agent loop tool handling and add tests for direct capability aliases 2026-07-29 11:36:14 +08:00
mlogclub 1ea76e39f9 refactor: enhance AgentLoopEngine with confirmed MCP reply handling and add tests for tool result summarization 2026-07-28 12:16:16 +08:00
mlogclub 07370fe9a2 refactor: enhance MCP tool management with risk policies and confirmation handling 2026-07-28 11:33:15 +08:00
mlogclub 7f9ff18743 refactor: update AI agent handling to maintain active published revision and improve toast messages 2026-07-28 10:26:10 +08:00
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 c07ae9597b refactor: add publish route to AI workflow and adjust header styling in workflow workbench 2026-07-27 19:20:14 +08:00
mlogclub e072141953 新版本流程编辑器 2026-07-27 19:04:15 +08:00
mlogclub bd8011dab8 refactor workflow 2026-07-27 13:47:53 +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 2de50a2f3a refactor: update risk levels in tool definitions and validation logic to remove sensitive level 2026-07-26 22:32:16 +08:00
mlogclub c021c5568c refactor: update MCP tool handling to treat administrator-selected tools as direct tools without confirmation 2026-07-26 12:39:34 +08:00
mlogclub 05eb85167c refactor: enhance AI workflow management with restore version and usage tracking features 2026-07-25 18:19:59 +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 6316c2b94f refactor: streamline autonomous engine logic and introduce autonomousTurn context 2026-07-25 12:21:40 +08:00
mlogclub 52bcc556d7 refactor: enhance response policies and update tests for knowledge retrieval handling 2026-07-25 12:12:26 +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 805ef87278 refactor: remove knowledge base references from AI agent model and related services
- Removed KnowledgeIDs from CreateAIAgentRequest and AIAgentResponse.
- Updated buildAIAgentResponseWithLocale to eliminate knowledge base name retrieval.
- Refactored AI agent repository and service to remove knowledge base handling.
- Adjusted dashboard service to no longer track AI agents without knowledge bases.
- Modified knowledge base service to check for workflow references instead of AI agent references.
- Updated frontend components to remove knowledge base selection and display.
- Enhanced workflow validation to ensure knowledge retrieve nodes have associated knowledge bases.
2026-06-30 19:47:29 +08:00
mlogclub fa0010e8be feat: enhance ticket draft workflow with new routing and confirmation prompts 2026-06-30 17:26:28 +08:00
mlogclub 87760d5e89 feat: enhance variable handling and UI components with business labels and descriptions 2026-06-29 18:37:31 +08:00
mlogclub 9be449c882 feat: add assertions for condition branch and port edge order in workflow tests 2026-06-29 13:58:13 +08:00
mlogclub ca625396a0 feat: enhance condition branch validation by adding port edge checks and updating related functions 2026-06-29 12:00:33 +08:00
mlogclub 530cf145b2 feat: add icon property to workflow node specifications and update related components 2026-06-28 15:24:00 +08:00
mlogclub 75215f7823 feat: update default agent workflow definition with improved node positioning and port handling 2026-06-28 09:42:06 +08:00
mlogclub 689acc997c xyflow change to flowgraam 2026-06-27 21:27:57 +08:00
mlogclub 2143bfa06b feat: add validation for default condition branch position and enhance branch connection handling 2026-06-27 17:00:41 +08:00
mlogclub f85fb6d406 feat: enhance condition handling with enum value options and metadata in workflow components 2026-06-27 12:50:29 +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 023f224d51 refactor: remove unused tool filter middleware and helpers
- Deleted tool_filter_middleware_test.go and tool_helpers.go as they are no longer needed.
- Removed associated test cases in tool_helpers_test.go.
- Refactored knowledge retriever logic by moving it to a new file and updating imports.
- Introduced tooling package for tool result reduction logic.
- Updated traces package to include new trace types and structures.
- Adjusted executor and tool search tool to reflect new package structure.
2026-06-26 17:52:18 +08:00
mlogclub f827a7471c refactor: remove LocaleSwitcher component and update locale handling
- Removed LocaleSwitcher from NavUser, SiteHeader, and WorkbenchHeader components.
- Updated tests to reflect the removal of LocaleSwitcher.
- Changed default locale from "en-US" to "zh-CN" in i18n configuration.
- Refactored locale resolution logic to read configured locale without relying on browser language detection.
- Updated AgentDesk SDK to support language configuration from public API.
- Cleaned up unused auth options fetching in the auth API.
2026-06-26 14:46:01 +08:00
mlogclub 62fc894f82 feat: add layout validation for default agent workflow in tests 2026-06-25 22:46:40 +08:00
mlogclub 21fd119b27 feat: add conversation understanding and reply policy nodes to workflow executor
- Implemented conversation understanding and reply policy execution in the workflow executor.
- Added new node types: NodeTypeConversationUnderstanding and NodeTypeReplyPolicy.
- Enhanced input and output schemas for the new nodes.
- Updated workflow registry to include new node specifications.
- Created tests for the new workflow routes and behaviors.
- Modified existing workflows to integrate the new conversation understanding and reply policy logic.
2026-06-25 22:38:34 +08:00
mlogclub d11080e14b feat: add workflow run audit graph component and enhance workflow run details 2026-06-25 21:42:14 +08:00
mlogclub b806a2208b feat: enhance condition node functionality with branches and validation
- Introduced WorkflowConditionBranch and WorkflowNodeConfig types to manage condition branches in nodes.
- Updated NodeConfigPanel and ConditionNodePanel components to support adding, editing, and deleting branches.
- Implemented validation for condition nodes to ensure at least one branch exists and that default branches are correctly configured.
- Modified workflow-utils to handle condition branches and updated toApiDefinition and fromApiDefinition functions to maintain branch integrity during serialization.
- Removed edge condition handling from WorkflowEditor and related components, simplifying edge management.
- Added tests to ensure condition branches are preserved in API definitions.
2026-06-25 21:08:59 +08:00
mlogclub b7056b59b5 feat: add default workflow definition endpoint and related functionality 2026-06-25 18:50:38 +08:00
mlogclub 34d70e769f feat: enhance AI workflow with new ticket creation and fallback handling logic 2026-06-25 18:28:16 +08:00
mlogclub 22c241a4ad fix: update applyProviderSpecificChatParams to accept pointer and add nil check
test: add unit test for applyProviderSpecificChatParams with DashScope model
2026-06-24 23:26:18 +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 a628d103f9 feat(workflow): enhance AI agent workflow state management and response handling 2026-06-24 17:56:23 +08:00
mlogclub 0b5a24975c feat(workflow): add WorkflowRunID to message handling and related services 2026-06-24 17:49:39 +08:00
mlogclub 05233820fb feat(executor): enhance workflow execution with branch decision tracking and condition evaluations 2026-06-24 17:38:57 +08:00
mlogclub eb3a209017 feat(workflow): log failed workflow run preparation when version is disabled 2026-06-24 15:49:16 +08:00
mlogclub 49c663ab5c feat(validator): add validation for confirmed input source from human_confirm node 2026-06-24 14:19:41 +08:00