feat: 支持工作流插件复用与试运行

- 新增工作流插件类型、发布快照同步、实时可用性与下线影响检查

- 收口绑定候选、分类权限、间接环路校验与运行态优雅降级

- 补齐管理端工作流插件配置、详情与试运行界面及定向测试
This commit is contained in:
2026-04-12 13:15:13 +08:00
parent 6da90e2296
commit 47655a728b
57 changed files with 4018 additions and 780 deletions

View File

@@ -75,6 +75,9 @@
"submitDeleteApprovalConfirm": "Delete the current workflow?",
"offlineImpactBoundBotsIntro": "This workflow is currently bound to the following bots:",
"offlineImpactBoundBotsFooter": "After the workflow goes offline, the system will automatically remove it from these bots.",
"offlineImpactBoundPluginsIntro": "This workflow is currently bound to the following plugins:",
"offlineImpactBoundPluginsFooter": "After offline approval succeeds, these plugins will automatically become unavailable and show the reason in plugin management.",
"offlineImpactBoundMixedFooter": "After offline approval succeeds, the system will remove the workflow from bots and mark the related plugins as unavailable.",
"publishPendingHint": "There is already an approval in progress for this workflow.",
"deletePendingHint": "There is already an approval in progress for this workflow.",
"check": "Check",

View File

@@ -5,7 +5,11 @@
"name": "Name",
"description": "Description",
"type": "Type",
"typeHttp": "HTTP Plugin",
"typeWorkflow": "Workflow Plugin",
"baseUrl": "BaseUrl",
"workflowId": "Bound workflow",
"workflowTitle": "Workflow title",
"authType": "AuthType",
"created": "Created",
"icon": "Icon",
@@ -20,7 +24,8 @@
"placeholder": {
"name": "Please enter plugin name",
"description": "Please enter plugin description",
"categorize": "Please enter categorize"
"categorize": "Please enter categorize",
"workflow": "Please select a published workflow"
},
"button": {
"addPlugin": "Add Plugin",
@@ -29,5 +34,11 @@
},
"toolsManagement": "Tools Management",
"searchUsers": "Search Users",
"parameterValue": "ParameterValue"
"parameterValue": "ParameterValue",
"workflow": "Workflow",
"workflowPluginHint": "Workflow plugins mirror the published snapshot of the target workflow. Availability is evaluated in real time against workflow permissions and approval status.",
"workflowPluginUnavailable": "This workflow plugin is unavailable",
"workflowSnapshotSynced": "Published snapshot synced",
"reasonMessage": "Reason",
"onlyPublishedWorkflow": "Only published workflows that you can currently access are selectable."
}

View File

@@ -13,6 +13,7 @@
"debugStatus": "DebugStatus",
"englishName": "EnglishName",
"createPluginTool": "Create tool",
"systemManaged": "System synced",
"pluginToolEdit": {
"basicInfo": "Basic Info",
"configureInputParameters": "Configure input parameters",
@@ -21,11 +22,16 @@
"toolPath": "Tool path",
"requestMethod": "RequestMethod",
"runResult": "Run result",
"run": "run"
"run": "run",
"workflowTarget": "Target workflow",
"unavailableHint": "The bound workflow is currently unavailable, so execution will not be started.",
"runWorkflowStepsEmpty": "After starting a trial run, each node execution result will be shown here.",
"workflowStepsPending": "The trial run has started. Waiting for node execution details..."
},
"parameterName": "Name",
"parameterDescription": "Description",
"parameterType": "Type",
"direction": "Direction",
"inputMethod": "InputMethod",
"required": "Required",
"defaultValue": "DefaultValue",