{"name":"command.run","slug":"command-run","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugins can now list, register, and run slash commands, and open or close a UI surface","description_source":"entry","described_by":{"version":"2.1.265","anchor":"new-plugin-host-apis-commandlist-commandregister-comman"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.319","builds":0,"mined_builds":159,"first_cited":{"version":"2.1.265","released_at":"2026-09-08 19:05:16","spans":5}},"aliases":[],"entries":[{"version":"2.1.304","anchor":"uirender-hook-in-the-hooks-module-scan-list","heading":"Plugin mods are now checked for a screen-drawing hook","line":"Claude Code now looks for a `ui.render` hook in plugin mods, and drafts written into the input box can carry decorations","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.300","anchor":"mod-event-table-gains-promptchange-policy-decision-gets-se","heading":"Plugin mods gain a prompt-change event and richer permission decisions","line":"Plugin mods get a `prompt.change` event, and permission decisions can now name a setting and a decider","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"plugin-hook-table-gains-promptautocomplete-validator-treat","heading":"Plugins can hook into prompt autocomplete","line":"Plugins gain a `prompt.autocomplete` hook point, and the plugin checker lists hooks that answer a plugin's own command separately","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"plugin-test-harness-reports-failures-static-scan-tightened","heading":"Plugin tests report failures, and the code scan checks more","line":"Closing a plugin test now reports whether it failed, and the plugin code scan catches redeclared names and the plugin's own commands","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"prompt-cache-relay-message-and-commandrun-annotation","heading":"A prompt-cache log message is reworded and two internal labels change","line":"A log message about the prompt-cache relay has new wording, and two internal command labels were added or annotated","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.286","anchor":"plugin-test-sandbox-allows-more-hooks-and-calls","heading":"Plugin test scans cover SubagentStop hooks, MCP connections and toasts","line":"The plugin test scan list now includes the `SubagentStop` hook and calls to connect to MCP servers and show toasts, and drops two calls","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"plugin-runtime-commandrun-hooks-are-now-scoped-to-the-comma","heading":"Plugin command hooks now receive only the commands they match","line":"Plugin hooks on the command.run event can list the commands they want and only receive those","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.275","anchor":"plugin-originated-slash-actions-now-include-promptfill-and","heading":"Plugin-originated slash actions now include prompt.fill and prompt.suggest, not just command.run","line":"Plugin-triggered slash actions now also cover prompt.fill and prompt.suggest, not just command.run","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text"},{"version":"2.1.275","anchor":"skillcommand-execution-now-restricted-to-composer-or-bridge","heading":"Skill\/command execution now restricted to composer or bridge message origins","line":"Skills and slash commands now only run when triggered from the composer or a bridge message","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text"},{"version":"2.1.275","anchor":"plugincommandrun-character-limit-check-silently-removed","heading":"plugin.command.run character-limit check silently removed","line":"Plugin command.run no longer rejects overly long arguments, only logs their length","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text, named in this entry"}],"entries_total":23,"docs":[{"source":"claude-code","path":"plugins\/mods\/api","title":"Use the mods API","documented":false},{"source":"claude-code","path":"plugins\/mods\/create","title":"Create a mod","documented":false},{"source":"claude-code","path":"plugins\/mods\/gallery","title":"Interface gallery for mods","documented":false},{"source":"claude-code","path":"plugins\/mods\/interface","title":"Draw in the interface with a mod","documented":false},{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false},{"source":"claude-code","path":"plugins\/mods\/test","title":"Test a mod","documented":false},{"source":"claude-code","path":"plugins\/mods\/troubleshoot","title":"Troubleshoot a mod","documented":false}],"docs_total":7,"gates":[],"related":[{"name":"command","slug":"command","description":"Your MCP allow and deny rules now match servers whose commands or URLs use environment variables."},{"name":"command.describe","slug":"command-describe","description":"Plugins can now register, run, list and describe their own slash commands via a new command API"},{"name":"command.list","slug":"command-list","description":"Plugins can now list, register, and run slash commands, and open or close a UI surface"},{"name":"command.register","slug":"command-register","description":"Plugins can now list, register, and run slash commands, and open or close a UI surface"},{"name":"commandOutcome","slug":"commandoutcome","description":"In non-interactive runs, the 'Unknown command' reply now carries a structured record of the outcome and the suggested command"},{"name":"commands","slug":"commands","description":"claude plugin validate now falls back to checking skills, agents and commands when there is no manifest."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/command-run","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}