Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

SDK gets a verbatimPrompts option to skip client_composed processing

The SDK can now send messages marked as verbatim, skipping the extra processing normally applied to client-composed turns

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

What

  • The SDK session class now accepts a verbatimPrompts constructor option. By default (verbatimPrompts: false), outgoing messages are tagged client_composed: true; when verbatimPrompts is set, that tag is no longer added.
  • The client_composed schema field's documentation was expanded to explain exactly what that marker does: turns marked this way (composed by the client rather than typed by the user) skip @-path file-mention expansion, slash-command dispatch, @server:resource MCP mention expansion, and the whole turn-start attachment pass (nested CLAUDE.md/rules files, skill/tool listings, reminders). The separate between-tool-calls attachment pass is unaffected.

Why

This gives SDK integrators control over whether their outgoing messages get Claude Code's normal client-side preprocessing (mention/slash-command expansion, context attachment) or are sent through verbatim, which matters when a client wants precise control over exactly what content reaches the model.

Read from
Names in the bundleverbatimPrompts
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up verbatimPrompts, on Agent SDK reference - TypeScript. | `verbatimPrompts` | `boolean` | `false` | Deliver every prompt as written. The SDK sends each user message with `client_composed: true`. See [`client_composed`](#sdkusermessage) for what Claude Code skips on those messages. Use this opti… agent-sdk/typescript see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up verbatimPrompts, on Agent SDK reference - TypeScript.

See this entry in the whole of v2.1.280 →

Feedback