Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 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.

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSDKwhat it touches
KindNew Featuresin v2.1.268,
Group of 2 Use it now 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 bundlelocal_command
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat triggers the condition for including local_command, and what value it carries, is not specified in the evidence.

See this entry in the whole of v2.1.268 →