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 ·

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

Entry
JSON All of v2.1.281
EntryKind: in v2.1.281,
ChangesSection 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