Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

New SDK pre-warmed spare process: --await-claim plus claim_session control request

A hidden --await-claim option lets an SDK host start a spare Claude Code process early and bind it to a session later

Use it now Notable No documentation found New Features
JSON All of v2.1.281
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.281,
What probably matters to youSection of the release
What

The Agent SDK lets other programs, called hosts, run and control Claude Code. A new hidden command-line option, --await-claim, starts Claude Code as a pre-warmed spare for such a host. The spare starts up with host-level options in a neutral directory, skips start-up work that belongs to a specific session, and waits. A new claim_session control request, a message the host sends to the running process, then binds it to a session. The option is described as SDK-internal.

It has these limits:

When claimed, the process does the session setup it skipped:

  • Moves plugins and MCP servers (connections to outside tools) over to the new working directory.
  • Starts MCP servers whose start was put off.
  • Applies the system prompt, title and agents.
  • Checks the permission mode and workspace trust.
  • Runs SessionStart hooks (commands that run when a session begins), queuing their first-turn messages ahead of the host's.

If something fails during claiming, the host is told to discard the spare. If the claim is rejected, the spare stays parked and can still be used. set_cwd now uses the same directory-moving helper, passing restartLaunchDirStdioServers for fresh sessions.

Why

A host can keep a Claude Code process already started and hand it a session when one is needed, instead of starting a new process each time.

Read from
Names in the bundleclaim_session

See this entry in the whole of v2.1.281 →

Feedback