Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.247 ·

A prompt-submit hook can rename the session

A prompt-submit hook can now rename the current session and inject extra messages into the turn.

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

Hooks that run when you submit a prompt can now hand back a session title, which Claude Code applies to the current session, along with extra user or attachment messages that get folded into the turn.

Details
  • The title is applied from a record matched by the submission's uuid; if applying it fails, Claude Code logs Failed to apply a folded prompt.submit session title and continues with the turn.
  • Only the attachment and user messages from that record are passed on; the rest of the record is bookkeeping.
  • A submission is treated as still pending while it is drain-only, waiting on screening, or its screening result is stale.
Evidence

Failed to apply a folded prompt.submit session title

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.247 →

Feedback