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.281 ·

SDK local-command messages now carry a commandOutcome (failed / unavailable_headless / ...)

SDK results for local slash commands now include a commandOutcome saying whether the command failed or was unavailable

Under the hood New Features
JSON All of v2.1.281
Under the hoodTier: 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.281,
What probably matters to youSection of the release
What

The SDK is the kit that lets other programs drive Claude Code. Slash commands are commands typed with a leading /. When a slash command runs locally, its result message now carries a commandOutcome field next to commandRun. The outcome has one of these kinds, and can also carry an optional suggestion:

  • failed: set when the command wrote error output.
  • unavailable_headless: set when the command cannot run in headless mode, meaning without the interactive screen.
  • unknown
  • restart_required

The field is sent in the SDK stream and read back from local_command_outcome.

Why

A program using the SDK can now tell a failed or unavailable command apart from one that worked, without parsing the output text.

See this entry in the whole of v2.1.281 →

Feedback