{"version":"2.1.333","anchor":"agent-initialprompt-handling-reworked-for-remotesdk-session","canonical_anchor":"agent-initialprompt-handling-reworked-for-remotesdk-session","heading":"Agent opening prompts now wait until remote and SDK sessions finish starting","tier":"notice","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/agent-initialprompt-handling-reworked-for-remotesdk-session","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Agent opening prompts now wait until remote and SDK sessions finish starting\n\nIn remote and SDK sessions, an agent's opening prompt is now queued and sent once the session has finished starting up\n\n**What**\n\nSome agents come with an opening prompt that runs as soon as the agent starts. When Claude Code runs over a remote connection, including through the SDK (the kit for driving Claude Code from your own program), that opening prompt is now held in a queue and sent only after the session has finished starting up. It is sent either by the agent's name or as a command line of its own.\n\nThe earlier option that delayed the opening prompt has been removed.\n\n**Why**\n\nThis fixes when opening prompts fire for agents started with `--agent` in SDK and remote sessions, so they no longer arrive before the session is ready.\n\n- Area: Agents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}