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 ·

set_cwd SDK control request documents that SessionStart hooks never re-run

The set_cwd control request is now documented as never re-running SessionStart hooks

Under the hood No documentation found Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What

Programs that embed Claude Code can send a set_cwd request to change the folder it works in. The internal description of that request now states that it never re-runs SessionStart hooks, which are commands set to run when a session begins or resumes. Hosts that do not yet know which folder to use should start with --await-claim and then send claim_session.

Why

Anyone building on Claude Code learns that changing the folder later will not trigger their start-up hooks, and which route to use so the hooks run in the right folder.

Read from
Names in the bundleset_cwdclaim_session

See this entry in the whole of v2.1.281 →

Feedback