Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Slash commands that draw their own UI now run in a dismissable panel

You'll notice
Useful3 Signal3
Slash Commands

Slash commands with their own interface now open in a panel you can dismiss to cancel cleanly.

What

Commands that render an interactive interface are shown through a panel host on the tool-use context instead of being pushed into a single render slot. Dismissing the panel now cleanly ends the command with no messages produced, and a command can no longer resolve twice.

Details
  • The executor calls localJsx.show(node, { commandName, immediate, hidesPrompt: !0 }) and awaits the panel's closed promise.
  • Two outcomes are recorded: cmd_local_jsx_dismissed when the panel is closed, and cmd_local_jsx_no_panel_host when the context has no panel host, which falls back to the same result as running the command with no interactive surface.
  • The prompt input no longer receives a separate flag saying such a command is active, and the old "hide the prompt input" check on the retired render slot is gone.
  • Unconditional in this build; no flag guards it.
Evidence

cmd_local_jsx_no_panel_host

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →