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",

View File

@@ -65,10 +65,16 @@
"publishStatusDraft": "草稿",
"publishStatusPublishPending": "发布审批中",
"publishStatusPublished": "已发布",
"publishStatusOfflinePending": "下线审批中",
"publishStatusOffline": "已下线",
"publishStatusDeletePending": "删除审批中",
"publishStatusLabel": "发布状态",
"submitPublishApprovalConfirm": "提交后会进入发布审批,审批通过后新版本才会正式对外可用。",
"submitDeleteApprovalConfirm": "提交后会进入删除审批,审批通过后将执行真实删除。",
"submitPublishApprovalConfirm": "确认发布当前工作流吗?",
"submitRepublishApprovalConfirm": "确认重新发布当前工作流吗?",
"submitOfflineApprovalConfirm": "确认下线当前工作流吗?",
"submitDeleteApprovalConfirm": "确认删除当前工作流吗?",
"offlineImpactBoundBotsIntro": "当前工作流被以下聊天助手绑定:",
"offlineImpactBoundBotsFooter": "下线成功后,系统会自动从这些聊天助手中解绑该工作流。",
"publishPendingHint": "当前工作流已有进行中的审批,请等待处理完成。",
"deletePendingHint": "当前工作流已有进行中的审批,请等待处理完成。",
"check": "检查",

View File

@@ -13,6 +13,7 @@
},
"action": {
"publish": "发布",
"offline": "下线",
"delete": "删除",
"addFlow": "新建流程",
"editFlow": "编辑流程",
@@ -79,7 +80,7 @@
"actedAt": "处理时间",
"comment": "处理意见",
"eventType": "事件类型",
"operatorId": "操作人ID",
"operatorId": "操作人账号",
"operatorName": "操作人名称",
"createdAt": "创建时间",
"eventInfo": "事件信息",

View File

@@ -18,10 +18,16 @@
"publishStatusPublishPendingDesc": "审批通过后,聊天助手会切换为新的正式版本。",
"publishStatusPublished": "已发布",
"publishStatusPublishedDesc": "当前正式版本已可对外使用,编辑中的草稿不会立即影响线上。",
"publishStatusOfflinePending": "下线审批中",
"publishStatusOfflinePendingDesc": "审批完成前当前正式版本仍可访问,但不会继续作为新的绑定候选。",
"publishStatusOffline": "已下线",
"publishStatusOfflineDesc": "当前正式版本已下线外链聊天、Public API 和新的资源绑定都不可用。",
"publishStatusDeletePending": "删除审批中",
"publishStatusDeletePendingDesc": "当前正式版本仍可访问,但不会继续作为新的绑定候选。",
"submitPublishApprovalConfirm": "提交后会进入发布审批,审批通过后聊天助手才会正式对外可用。",
"submitDeleteApprovalConfirm": "提交后会进入删除审批,审批通过后将执行真实删除。",
"submitPublishApprovalConfirm": "确认发布当前聊天助手吗?",
"submitRepublishApprovalConfirm": "确认重新发布当前聊天助手吗?",
"submitOfflineApprovalConfirm": "确认下线当前聊天助手吗?",
"submitDeleteApprovalConfirm": "确认删除当前聊天助手吗?",
"publishPendingHint": "当前聊天助手已有进行中的审批,请等待处理完成。",
"deletePendingHint": "当前聊天助手已有进行中的审批,请等待处理完成。",
"publishRequiredHint": "当前还没有正式发布版本,请先提交发布审批。",

View File

@@ -41,7 +41,9 @@
"markAsResolved": "标记已处理",
"optimizing": "正在优化中...",
"regenerate": "重新生成",
"publish": "发布",
"republish": "重新发布",
"offline": "下线",
"hide": "隐藏",
"more": "更多",
"submitDeleteApproval": "提交删除审批",

View File

@@ -38,10 +38,18 @@
"publishStatusDraft": "草稿",
"publishStatusPublishPending": "发布审批中",
"publishStatusPublished": "已发布",
"publishStatusOfflinePending": "下线审批中",
"publishStatusOffline": "已下线",
"publishStatusDeletePending": "删除审批中",
"publishStatusLabel": "发布状态",
"submitPublishApprovalConfirm": "提交后会进入发布审批,审批通过后该知识库才可作为正式版本被聊天助手引用。",
"submitDeleteApprovalConfirm": "提交后会进入删除审批,审批通过后将执行真实删除。",
"submitPublishApprovalConfirm": "确认发布当前知识库吗?",
"submitRepublishApprovalConfirm": "确认重新发布当前知识库吗?",
"submitOfflineApprovalConfirm": "确认下线当前知识库吗?",
"submitDeleteApprovalConfirm": "确认删除当前知识库吗?",
"offlineImpactBoundBotsIntro": "当前知识库被以下聊天助手绑定:",
"offlineImpactBoundBotsFooter": "下线成功后,系统会自动从这些聊天助手中解绑该知识库。",
"offlineImpactWorkflowBlockedIntro": "当前知识库仍被以下工作流使用:",
"offlineImpactWorkflowBlockedFooter": "请先在工作流中调整相关知识库节点后再下线。",
"publishPendingHint": "当前知识库已有进行中的审批,请等待处理完成。",
"deletePendingHint": "当前知识库已有进行中的审批,请等待处理完成。",
"createdModifyTime": "创建/更新时间",