fix(subagent): update SUBAGENT_SPAWN_ACCEPTED_NOTE for clarity on auto-announcement behavior

This commit is contained in:
Tyler Yust
2026-02-17 15:49:22 -08:00
parent f07bb8e8fc
commit b2acfd606a

View File

@@ -39,7 +39,8 @@ export type SpawnSubagentContext = {
requesterAgentIdOverride?: string;
};
export const SUBAGENT_SPAWN_ACCEPTED_NOTE = "auto-announces on completion, do not poll";
export const SUBAGENT_SPAWN_ACCEPTED_NOTE =
"auto-announces on completion, do not poll/sleep. The response will be sent back as a user message.";
export type SpawnSubagentResult = {
status: "accepted" | "forbidden" | "error";