Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Local slash-command results can now surface a localCommand field

Both the SDK's final result event and local slash-command dispatch can now include a localCommand field in their output.

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.268,
Group of 2 Under the hood No documentation found

Both the SDK's final result event and local slash-command dispatch can now include a localCommand field in their output.

What

  • The final "success" result event emitted at the end of an SDK/print-mode query can now optionally include a local_command field, built from a helper call, alongside its existing fields.
  • The command-dispatch return object also gained a conditional localCommand field, included only when the engine did not defer the slash command to the model (i.e. engineDeferredSlash is false).

Why This surfaces which local slash command handled a request directly in the result output, useful for SDK consumers and tooling that need to know a command was resolved locally rather than by the model.

Read from
Names in the bundlelocalCommand

See this entry in the whole of v2.1.268 →

Feedback