Commit Graph

344 Commits

Author SHA1 Message Date
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
mlogclub 26578705ad feat: enhance workflow resume functionality with interrupted run reuse and error handling 2026-06-24 11:02:16 +08:00
mlogclub 46bcc55658 feat: add AI workflow run management with detailed audit items and UI integration 2026-06-24 09:52:00 +08:00
mlogclub 02ae515bd6 refactor: remove trace data from reply context and related services 2026-06-23 23:29:29 +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 1440c3c4c3 Add AI workflow run management with listing and detail retrieval endpoints, including corresponding response structures and UI integration 2026-06-23 23:05:17 +08:00
mlogclub a670084374 Enhance workflow execution with detailed run logging and error handling, including workflow run status tracking and node tracing 2026-06-23 22:57:18 +08:00
mlogclub 6c02d6a79c Enhance workflow execution with checkpoint data handling and introduce tests for human confirmation and ticket creation 2026-06-23 22:11:20 +08:00
mlogclub 2009aa2528 Add AnalyzeConversation node execution and corresponding test case 2026-06-23 21:54:51 +08:00
mlogclub 8992f263aa Implement handoff to human functionality in workflow executor and update registry output schema 2026-06-23 21:48:20 +08:00
mlogclub eddd72fcb7 Fix sorting order in AIAgentAnyList query parameters 2026-06-23 09:49:03 +08:00
mlogclub ed9d60db0d Add workflow runtime execution and condition validation 2026-06-23 09:34:08 +08:00
mlogclub 560843686b Refactor AIAgent runtime handling and remove unused fields 2026-06-23 08:37:52 +08:00
mlogclub d1f39ae57e feat: Enhance AI Workflow with Variable Contracts and Input Mapping
- Added ConfigSchema, InputSchema, OutputSchema, and DefaultInputs to AIWorkflowNodeSpecResponse.
- Implemented BuildAIWorkflowNodeSpecs to include variable contracts for start and send_reply nodes.
- Introduced applyAutoInputMappings to automatically map inputs based on node connections.
- Enhanced validation to check for required input mappings in workflows.
- Updated workflow editor to support variable selection for node inputs.
- Translated node names and labels to Chinese for better localization.
- Added tests for variable mapping and validation logic.
2026-06-22 18:33:39 +08:00
mlogclub 32ab43e7c2 refactor: make AI workflows agent-centric 2026-06-22 10:08:51 +08:00
mlogclub 14f50e064f feat: add AI workflow editor 2026-06-22 00:26:16 +08:00
mlogclub df7b199c18 feat: bind AI agents to workflow versions 2026-06-22 00:14:36 +08:00
mlogclub 3267a4ce5c feat: add AI workflow dashboard APIs 2026-06-22 00:13:00 +08:00
mlogclub 0127455be5 feat: add AI workflow service foundation 2026-06-22 00:11:26 +08:00
mlogclub fa99c5bed9 feat: add AI workflow DSL validator 2026-06-22 00:08:31 +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 daf1a176c1 feat: update configuration loading to use viper and add environment variable overrides 2026-06-13 10:40:09 +08:00
mlogclub 164953d56d feat: add health check endpoint and update Makefile for health URL 2026-06-13 09:59:21 +08:00
mlogclub 409d04854d feat: implement drag-and-drop sorting for knowledge directories and add localization for sort actions 2026-06-07 22:25:02 +08:00
mlogclub 9cfbd57b07 feat: add CountActiveByDirectoryID method to KnowledgeDocument and KnowledgeFAQ repositories; update directory deletion logic to allow soft-deleted documents 2026-06-07 20:28:33 +08:00
mlogclub 6eb3cfe5be feat: update banner text from "Shell AI" to "AGENT DESK" 2026-06-07 19:47:47 +08:00
mlogclub 9aa6490e8d feat: improve logging in wxWorkKFOutboundService to only log when batches are dispatched 2026-06-07 19:42:54 +08:00
mlogclub 9a1ee8acff feat: add LanceDB provider support with lifecycle tests and Makefile enhancements 2026-06-07 17:46:17 +08:00
mlogclub c3387ec4a9 feat: add LanceDB vector database provider
- Implemented LanceDBProvider for managing vector collections, including methods for creating, deleting, and searching collections.
- Added support for LanceDB configuration in VectorDBConfig.
- Introduced stub for LanceDB provider when not built with the appropriate tag.
- Updated provider initialization to include LanceDB as a supported type.
- Created types and interfaces for vector operations, including Vector, SearchRequest, and SearchResult.
- Added tests for VectorDBConfig unmarshalling and for ensuring proper error handling when LanceDB is not built.
- Updated enums to include LanceDB type and labels.
- Modified frontend enums to reflect the addition of LanceDB.
2026-06-07 17:32:29 +08:00