feat: 收敛AI资源发布审批生命周期

- 统一工作流、知识库、聊天助手的发布、重新发布、下线与删除链路

- 收敛审批编排、生命周期状态机与展示态,补齐审批管理和快照预览

- 调整审批管理权限模型为单入口页面加内部按钮权限
This commit is contained in:
2026-04-09 17:13:54 +08:00
parent 81125ce55c
commit 4e565aef99
68 changed files with 3859 additions and 817 deletions

View File

@@ -65,10 +65,16 @@
"publishStatusDraft": "Draft",
"publishStatusPublishPending": "Publish Pending",
"publishStatusPublished": "Published",
"publishStatusOfflinePending": "Offline Pending",
"publishStatusOffline": "Offline",
"publishStatusDeletePending": "Delete Pending",
"publishStatusLabel": "Release",
"submitPublishApprovalConfirm": "The current draft will enter the publish approval flow. It becomes externally available only after approval.",
"submitDeleteApprovalConfirm": "The workflow will enter the delete approval flow. It will be physically deleted only after approval.",
"submitPublishApprovalConfirm": "Publish the current workflow now?",
"submitRepublishApprovalConfirm": "Republish the current workflow now?",
"submitOfflineApprovalConfirm": "Take the current workflow offline?",
"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.",
"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

@@ -13,6 +13,7 @@
},
"action": {
"publish": "Publish",
"offline": "Offline",
"delete": "Delete",
"addFlow": "New Flow",
"editFlow": "Edit Flow",
@@ -79,7 +80,7 @@
"actedAt": "Acted At",
"comment": "Comment",
"eventType": "Event Type",
"operatorId": "Operator ID",
"operatorId": "Operator Account",
"operatorName": "Operator Name",
"createdAt": "Created At",
"eventInfo": "Event Info",

View File

@@ -18,10 +18,16 @@
"publishStatusPublishPendingDesc": "The assistant will switch to the new release after approval.",
"publishStatusPublished": "Published",
"publishStatusPublishedDesc": "The current release is externally available. Ongoing edits still stay in draft.",
"publishStatusOfflinePending": "Offline Pending",
"publishStatusOfflinePendingDesc": "The current release stays available until approval completes, but it is hidden from new binding candidates.",
"publishStatusOffline": "Offline",
"publishStatusOfflineDesc": "The current release is offline. External chat, Public API, and new bindings are unavailable.",
"publishStatusDeletePending": "Delete Pending",
"publishStatusDeletePendingDesc": "The current release remains available, but it is no longer offered as a new binding candidate.",
"submitPublishApprovalConfirm": "Submit the current draft to publish approval. It becomes externally available only after approval.",
"submitDeleteApprovalConfirm": "Submit the bot to delete approval. It will be physically deleted only after approval.",
"submitPublishApprovalConfirm": "Publish the current assistant now?",
"submitRepublishApprovalConfirm": "Republish the current assistant now?",
"submitOfflineApprovalConfirm": "Take the current assistant offline?",
"submitDeleteApprovalConfirm": "Delete the current assistant?",
"publishPendingHint": "There is already an approval in progress for this bot.",
"deletePendingHint": "There is already an approval in progress for this bot.",
"publishRequiredHint": "There is no released version yet. Submit publish approval first.",

View File

@@ -41,7 +41,9 @@
"markAsResolved": "MarkAsResolved",
"optimizing": "Optimizing",
"regenerate": "Regenerate",
"publish": "Publish",
"republish": "Republish",
"offline": "Offline",
"hide": "Hide",
"more": "Mode",
"submitDeleteApproval": "Submit Delete Approval",

View File

@@ -38,10 +38,18 @@
"publishStatusDraft": "Draft",
"publishStatusPublishPending": "Publish Pending",
"publishStatusPublished": "Published",
"publishStatusOfflinePending": "Offline Pending",
"publishStatusOffline": "Offline",
"publishStatusDeletePending": "Delete Pending",
"publishStatusLabel": "Release",
"submitPublishApprovalConfirm": "The knowledge base will enter the publish approval flow. It can be referenced by bots only after approval.",
"submitDeleteApprovalConfirm": "The knowledge base will enter the delete approval flow. It will be physically deleted only after approval.",
"submitPublishApprovalConfirm": "Publish the current knowledge base now?",
"submitRepublishApprovalConfirm": "Republish the current knowledge base now?",
"submitOfflineApprovalConfirm": "Take the current knowledge base offline?",
"submitDeleteApprovalConfirm": "Delete the current knowledge base?",
"offlineImpactBoundBotsIntro": "This knowledge base is currently bound to the following bots:",
"offlineImpactBoundBotsFooter": "After the knowledge base goes offline, the system will automatically remove it from these bots.",
"offlineImpactWorkflowBlockedIntro": "This knowledge base is still used by the following workflows:",
"offlineImpactWorkflowBlockedFooter": "Please update those workflow nodes before taking the knowledge base offline.",
"publishPendingHint": "There is already an approval in progress for this knowledge base.",
"deletePendingHint": "There is already an approval in progress for this knowledge base.",
"createdModifyTime": "Creation/update time",