From a7eb9814aed1fb8707fa23a4245fdea35e5450cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Mon, 18 May 2026 07:05:35 +0000 Subject: [PATCH] docs: fix agent invocation format in thread step --- docs/wf-stateless-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wf-stateless-design.md b/docs/wf-stateless-design.md index 8613fa2..7faf7a6 100644 --- a/docs/wf-stateless-design.md +++ b/docs/wf-stateless-design.md @@ -87,7 +87,7 @@ uwf thread step 01J7K9M2XNPQR5VWBCDF8G3H4T --agent "bunx uwf-cursor" 4. 若 END → 归档 thread,输出 `progress: null` 5. 确定 agent command(`--agent` override > thread binding > global default) 6. 构建 prompt(role.systemPrompt + thread context + user prompt) -7. 调用:` -t -p `,捕获 stdout +7. 调用:` `,捕获 stdout 8. 解析 agent 输出为 progress JSON 9. 写 StepNode 到 CAS(prev → 旧链头) 10. 更新链头指针