From 6d5325d4445c57840e4201656ba12e54b27d0c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Fri, 5 Jun 2026 21:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend-web/.env.production | 2 +- .../components/Step2Panel.tsx | 28 ++++++----- .../versions/20260604_01_roundtable_jobs.py | 4 +- .../20260605_01_roundtable_jobs_dialogues.py | 2 +- ...7_01_user_custom_prompts_agent_id_fixup.py | 47 +++++++++++++++++++ .../20260607_02_merge_agent_pins_and_fixup.py | 22 +++++++++ 6 files changed, 90 insertions(+), 15 deletions(-) create mode 100644 offline-backend-20260512/backend/packages/harness/deerflow/persistence/migrations/versions/20260607_01_user_custom_prompts_agent_id_fixup.py create mode 100644 offline-backend-20260512/backend/packages/harness/deerflow/persistence/migrations/versions/20260607_02_merge_agent_pins_and_fixup.py diff --git a/frontend-web/.env.production b/frontend-web/.env.production index ad196043..c655d856 100644 --- a/frontend-web/.env.production +++ b/frontend-web/.env.production @@ -27,7 +27,7 @@ VITE_AUTH_BASE_URL=https://auth.y.uat.4.cn VITE_AIPI_PGLINKTO_URL=https://pg.b.uat.4.cn VITE_AIPI_XKLINKTO_URL=https://kz.b.uat.4.cn # 工作室/笔记本前端地址(用于 auth/callback 等跳转) -VITE_AIPI_FRONTEND_URL=https://knowledgetoolserver.b.uat.4.cn +VITE_AIPI_FRONTEND_URL=https://knowledgetoolweb.b.uat.4.cn # 工作室侧边栏显示开关;仅控制入口显示,展开内容仍依赖 notebook 接口成功返回数据 VITE_STUDIO_ENABLED=true diff --git a/frontend-web/src/roundtable-planning/components/Step2Panel.tsx b/frontend-web/src/roundtable-planning/components/Step2Panel.tsx index c9b74247..805d54b5 100644 --- a/frontend-web/src/roundtable-planning/components/Step2Panel.tsx +++ b/frontend-web/src/roundtable-planning/components/Step2Panel.tsx @@ -12,6 +12,7 @@ * * 圆桌可视化 + 博弈边界调控台目前**未启用**(原代码用 `false &&` 隐藏), * 这里保留同样的占位逻辑,后续要恢复时改 `SHOW_VISUALIZER` 即可。 + * 「后台挂起」按钮同理,改 `SHOW_BACKGROUND_SUSPEND` 即可恢复。 * * 状态全部来自 `useStep2Orchestration` —— 本组件不调任何后端、不持久化。 */ @@ -23,10 +24,12 @@ import { Loader2, Pause, Play, - Rocket, Sparkles, } from "lucide-react"; +/** 后台挂起入口 —— 暂时隐藏,恢复时改为 true。 */ +const SHOW_BACKGROUND_SUSPEND = false; + import { PersonaDrawer } from "@/roundtable-planning/components/PersonaDrawer"; import { ScrollToBottomButton } from "@/roundtable-planning/components/ScrollToBottomButton"; import { Step2SandboxLayout } from "@/roundtable-planning/components/Step2SandboxLayout"; @@ -367,17 +370,20 @@ export function Step2Panel(props: Step2PanelProps) { 干预并发送 -
+ {SHOW_BACKGROUND_SUSPEND && ( + <> +
- + + + )}