You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`The subagent is working in the background (id: ${sessionID}). You will be notified automatically when it finishes. DO NOT sleep, poll, or proactively check on its progress.`
16
+
[
17
+
`The subagent is working in the background (id: ${sessionID}). You will be notified automatically when it finishes.`,
18
+
"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.",
19
+
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
20
+
].join("\n")
17
21
18
22
exportconstInput=Schema.Struct({
19
-
agent: Schema.String.annotate({description: "The configured agent to run as the subagent"}),
20
-
description: Schema.String.annotate({description: "A short description of the subagent's task"}),
23
+
agent: Schema.String.annotate({description: "The type of specialized agent to use for this task"}),
24
+
description: Schema.String.annotate({description: "A short 3-5 word label for the task, displayed to the user"}),
21
25
prompt: Schema.String.annotate({description: "The task for the subagent to perform"}),
"Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT poll its progress.",
28
+
"Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress.",
0 commit comments