What
Slash commands are the commands you type starting with /.
- When a slash command is disabled, or cannot run in headless mode (running with no interactive screen), its output now carries
commandOutcome: { kind: "disabled" }, sent aslocal-command-stdout. Before, there was no outcome on this path. - When a command is re-run with arguments, the rebuilt command line now has trailing spaces trimmed. When the arguments are empty, it adds the arguments the command actually ran with (
argsRanWith). Before, this only worked when arguments were not empty. - Usage data recorded for your prompts gains a field,
asks_for_clarification.
Why
Programs that drive Claude Code through the SDK can now tell that a command was disabled instead of guessing from the text. The command line echoed back after a re-run should also look cleaner.