From ec9e4a852a131036270081a17af6a425700ac4e8 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Tue, 23 Jun 2026 21:09:36 +0800 Subject: [PATCH] Replace "publish" with "versions" in AIAgentConfigWorkbench for improved clarity and consistency --- .../dashboard/ai-agents/_components/config-workbench.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/app/dashboard/ai-agents/_components/config-workbench.tsx b/web/app/dashboard/ai-agents/_components/config-workbench.tsx index 3ba4bdb..3d7806b 100644 --- a/web/app/dashboard/ai-agents/_components/config-workbench.tsx +++ b/web/app/dashboard/ai-agents/_components/config-workbench.tsx @@ -9,6 +9,7 @@ import { CheckCircle2Icon, DatabaseIcon, GitBranchIcon, + HistoryIcon, LifeBuoyIcon, PlugIcon, SaveIcon, @@ -90,7 +91,7 @@ type SectionKey = | "tools" | "workflow" | "handoff" - | "publish" + | "versions" const emptyDefinition: AIWorkflowDefinition = { schemaVersion: 1, @@ -537,7 +538,7 @@ export function AIAgentConfigWorkbench({ { key: "tools", title: "MCP Tools", icon: }, { key: "workflow", title: "会话流程", icon: }, { key: "handoff", title: "转人工与兜底", icon: }, - { key: "publish", title: "版本记录", icon: }, + { key: "versions", title: "版本记录", icon: }, ] const selectedKnowledgeOptions = selectedOptions(selectedKnowledgeIds, knowledgeOptions) @@ -876,7 +877,7 @@ export function AIAgentConfigWorkbench({ ) : null} - {activeSection === "publish" ? ( + {activeSection === "versions" ? (
{workflowVersions.length > 0 ? (