From 8c6da261712e52e10bf5e6015f8901cc61bfcb41 Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 4 Jun 2026 09:07:20 -0600 Subject: [PATCH] Clarify handoff tool trigger Update the handoff tool description so agents invoke it only when the user explicitly asks for a handoff. Keep the prompt focused on the goal-driven automatic context transfer. --- packages/handoff/src/handoff-tool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/handoff/src/handoff-tool.ts b/packages/handoff/src/handoff-tool.ts index 551b7e04a34a0af94570f39b92d7f273a155623b..f022c160b5ac434e9f55dc9dce18fd8395df8f17 100644 --- a/packages/handoff/src/handoff-tool.ts +++ b/packages/handoff/src/handoff-tool.ts @@ -20,7 +20,7 @@ export function registerHandoffTool(pi: ExtensionAPI, setPendingHandoff: (h: Pen name: "handoff", label: "Handoff", description: - "Transfer context to a new session. Use when the user explicitly asks for a handoff or when the context window is nearly full. Provide a goal describing what the new session should focus on.", + "Transfer relevant context to a new session. Invoke when the user explicitly asks for a handoff. Provide a clear, precise goal for the new session and context relevant to the goal will automatically transfer to the new session.", parameters: Type.Object({ goal: Type.String({ description: "The goal/task for the new session",