diff --git a/packages/core/src/tool/plugin/subagent.ts b/packages/core/src/tool/plugin/subagent.ts index b1feb33bc2d7..3bcec88f8ac9 100644 --- a/packages/core/src/tool/plugin/subagent.ts +++ b/packages/core/src/tool/plugin/subagent.ts @@ -20,7 +20,7 @@ const backgroundResult = (sessionID: SessionSchema.ID) => ({ status: "running" as const, output: [ `The subagent is working in the background (sessionID: ${sessionID}). You will receive a message when it goes idle, and again after each later round of work.`, - "DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.", + "DO NOT sleep, poll, proactively check on its progress, or duplicate this subagent's work.", "Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.", "To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID.", ].join("\n"), @@ -50,7 +50,7 @@ export const Output = Schema.Struct({ export const description = [ "Spawns an agent in a child session to work on the specified task.", "Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `` message each time the child goes idle, including after later work.", - "Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.", + "Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll, or proactively check on the child's progress.", "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.", "Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run.", ].join("\n") diff --git a/packages/tui/src/mini/demo.ts b/packages/tui/src/mini/demo.ts index 64a5767f27ab..f7ea0ad07bf4 100644 --- a/packages/tui/src/mini/demo.ts +++ b/packages/tui/src/mini/demo.ts @@ -508,7 +508,7 @@ function subagentLaunch(sessionID: string) { return { output: [ `The subagent is working in the background (sessionID: ${sessionID}). You will receive a message when it goes idle, and again after each later round of work.`, - "DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.", + "DO NOT sleep, poll, proactively check on its progress, or duplicate this subagent's work.", "Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.", "To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID.", ].join("\n"),