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.229 Home All releases olderv2.1.228 v2.1.231newer
Claude Code v2.1.229

Slash commands can mark themselves terminal-only, and SDK clients get the list

Under the hood
Useful2 Signal3
Slash Commands

Terminal-only commands like /doctor and /exit are flagged so non-terminal hosts can hide them.

/doctor/exit/statusline/reload-pluginsterminal_slash_commands
What

Commands that only make sense in the CLI, such as /doctor, /exit, /statusline and /reload-plugins, are now flagged as terminal-oriented. The startup system/init message sent to SDK clients carries a new terminal_slash_commands array naming those commands, so a non-terminal host can hide or reject them instead of offering commands it cannot run. The array is left out entirely when nothing is flagged.

Details
  • Command definitions gained a terminalOriented field; only user-invocable commands appear in the array.
Evidence

terminal_slash_commands

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

See this entry in the whole of v2.1.229 →