Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.295 ·

Agent SDK passes options so values starting with a dash are not misread

The Agent SDK now passes many options as --flag=value, so a value starting with a dash is no longer mistaken for another flag

You'll notice Bug Fixes
JSON All of v2.1.295
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Bug FixesKind: in v2.1.295,
Bug FixesSection of the release
What

The Agent SDK is the library that lets you run Claude Code from your own code. It starts the claude program with a list of options, called flags. It now passes many of those flags with the value joined on, such as --thinking=adaptive, instead of as two separate pieces. For flags including --model, --max-turns, --effort, --mcp-config and --managed-settings:

  • A value longer than one character that starts with - is joined to its flag, as in --max-turns=-1.
  • Any other value is still passed as a separate piece.

An empty --tools list is now passed as --tools= instead of --tools ''.

Why

A value such as a negative number or a string starting with a dash could be mistaken for a separate flag. That can no longer happen. If you wrap or inspect the claude command the SDK runs, expect both spellings.

Read from
Names in the bundle--model--effort--mcp-config
What the documentation says
--tools Claude Code changelog modified, high confidence * Fixed Claude being told to continue or message subagents with `SendMessage` in sessions, including resumed ones, where a host, a permission rule or a `--tools` list removed that tool see the edit
--flag Run Claude Code behind a corporate launcher modified, medium confidence * **Don't depend on how arguments are spelled.** A flag's value can arrive as its own argument, `--flag value`, or joined to the flag, `--flag=value`. Which form a flag uses can change between versions. see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees--tools on Claude Code changelog
Anthropic's release notes agreeFixed --tools and --restricted not applying to built-in tools that register after launch, and deprecated tool names reaching tools outside…

See this entry in the whole of v2.1.295 →

Feedback