feat(roundtable): xdfx 左上角只显行动名/cop-task-detail可mock/抽取根节点用行动名
- xdfx 深链左上角「当前行动」只显示行动名称,去掉行动叙事 - cop-task-detail 加本地假数据开关 VITE_MOCK_COP_TASK_DETAIL(仿 VITE_MOCK_SQ_REPORT): true 走 mockCopTaskDetail(dev=true,sit/network=false);真实接口未就绪时调试用 - 结构化抽取(flow-json):FlowExtractRequest 加 root_label,xdfx 强制根节点 n1 的 label 用本次「行动名称」(前端 useStep3Summary 传 readActionDetail().actionName);extract+validate 两段都注入 注:行动详情 mock(actionName/narration) 在 config.yaml(按惯例不提交)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b513a0d56c
commit
fba417918f
8 files changed
+55
-16
No files matched your search
@@ -84,6 +84,8 @@ export interface FlowExtractRequest {
|
||||
coordinatorPrompt?: string | null;
|
||||
/** 深链接业务码(rwfx→6BF 等)。非空 → 后端按业务链抽取规范强制注入完整层级。 */
|
||||
businessCode?: string | null;
|
||||
/** 根节点 label 强制值(xdfx:本次行动名称)。非空 → 根节点 n1 用它,不用任务名当根。 */
|
||||
rootLabel?: string | null;
|
||||
/** 推理模型名(沿用第三步所选)。 */
|
||||
model?: string;
|
||||
/** Phase 2 问答修改:当前流程图 + 指令 → 按指令改图(其余不变)。 */
|
||||
@@ -112,6 +114,7 @@ export async function streamFlowExtract(req: FlowExtractRequest): Promise<FlowGr
|
||||
chain_levels: req.chainLevels ?? [],
|
||||
coordinator_prompt: req.coordinatorPrompt ?? null,
|
||||
business_code: req.businessCode ?? null,
|
||||
root_label: req.rootLabel ?? null,
|
||||
model: req.model,
|
||||
current_graph: req.currentGraph ?? null,
|
||||
instruction: req.instruction ?? null,
|
||||
|
||||
Reference in new issue
Block a user