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 ·

Headless 'unavailable in this environment' slash-command reply is tagged with commandOutcome

Non-interactive runs now tag the reply to an unavailable slash command with commandOutcome of unavailable_headless

You'll notice No documentation found Improvements
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release
What

A non-interactive run is one without the interactive screen, such as a script. When such a run uses a slash command that is not available there, the message written to its output now includes commandOutcome: { kind: "unavailable_headless" }. Slash commands are commands typed with a leading /. commandOutcome is a new field, and its other kinds include:

  • unknown
  • failed
  • restart_required
Why

Scripts and programs reading Claude Code's output can check this field to see why a command did not run, instead of parsing the message text.

Read from
Names in the bundlecommandOutcome

See this entry in the whole of v2.1.281 →

Feedback