Slash-command execution can now be intercepted and rewritten by command.run/command.describe hooks
Slash commands now pass through a new hook chain when they run, keyed on two hook events named command.run and command.describe. A hook (a custom script that reacts to Claude Code's behavior) can observe or rewrite the text a command prints before it's shown, using a next() pattern to pass control along the chain. Claude Code also now shows a clearer error message when a queued command never actually ran, explaining that it did not go through command.run.
This gives hooks a formal way to intercept and modify slash-command output, and gives users a clearer explanation when a command was queued but never executed.