{"version":"2.1.334","anchor":"slash-command-and-plugin-outcomes-now-tagged","canonical_anchor":"slash-command-and-plugin-outcomes-now-tagged","heading":"Disabled slash commands now report their outcome, and re-run commands are tidied","tier":"notice","area":"Slash Commands","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/slash-command-and-plugin-outcomes-now-tagged","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Disabled slash commands now report their outcome, and re-run commands are tidied\n\nDisabled slash commands now return commandOutcome {kind: \"disabled\"}, and re-run command lines are trimmed and rebuilt more reliably\n\n**What**\n\nSlash commands are the commands you type starting with `\/`.\n\n- 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 as `local-command-stdout`. Before, there was no outcome on this path.\n\n- 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.\n\n- Usage data recorded for your prompts gains a field, `asks_for_clarification`.\n\n**Why**\n\nPrograms 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.\n\n- Area: Slash Commands\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}