From beb01cb4552aaf4917ada6a0bf00e2a7257ab758 Mon Sep 17 00:00:00 2001 From: moyu Date: Mon, 8 Jun 2026 17:47:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dpromp=E5=92=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=8D=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/builtin-tools/src/tools/GoalTool/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builtin-tools/src/tools/GoalTool/prompt.ts b/packages/builtin-tools/src/tools/GoalTool/prompt.ts index ce65335cb..14e15ca6a 100644 --- a/packages/builtin-tools/src/tools/GoalTool/prompt.ts +++ b/packages/builtin-tools/src/tools/GoalTool/prompt.ts @@ -33,6 +33,6 @@ When marking blocked, provide a \`reason\` describing the specific blocker. ## Important - You cannot pause, resume, or clear a goal — only the user can do that via \`/goal\`. -- If no goal is active, \`get\` returns a message saying so; \`update\` is a no-op. +- If no goal is active, \`get\` returns a message saying so; \`update\` returns an error. - On completion, the tool result includes a usage report (tokens, time, turns).` }