{"version":"2.1.333","anchor":"slash-command-suggestion-rows-render-the-command-name-with-a","canonical_anchor":"commandrow-ui-component-and-remote-permission-mode-report-en","heading":"New plugin interface slots: CommandRow, Placeholder and BesidePrompt","tier":"notice","area":"Slash Commands","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/slash-command-suggestion-rows-render-the-command-name-with-a","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### New plugin interface slots: CommandRow, Placeholder and BesidePrompt\n\nPlugins get new places to draw interface pieces, in the slash-command list and around the prompt, plus a remote permission-mode report\n\n**Unclear.** It is not known which terminals get the new rows and which still get plain text.\n\n**What**\n\nConnected apps can already ask Claude Code to draw parts of a plugin's interface with `ui_render`. This release adds new named places, called slots, where those pieces can appear:\n\n- `CommandRow`, a row in the slash-command list. The `ui_render` schema accepts it for desktop surfaces. It is drawn by `CommandRowSite` and is not shared.\n\n- `Placeholder`, drawn by the prompt input box, with `text` and `file` fields.\n\n- `BesidePrompt`, an area next to the prompt, with an `isScrolledUp` field.\n\n- A new `unread` field and `drawnIdeSelection` appear alongside these slots.\n\nThe slash-command suggestion list (the menu that appears when you type `\/`) now passes a `label` into each row. When a check that the `CommandRow` slot is drawn in the terminal passes, the name cell is built from the command name and highlights the parts that match what you typed. Before, each row was plain text with no label.\n\nTwo related additions come with it:\n\n- Command lines owned by a plugin can be placed first with `prependOwnCommandLine`.\n\n- A new request, a POST to `\/machine-permission-mode`, reports the current permission mode (how much Claude may do without asking you) together with a worker epoch, a counter that identifies the running worker.\n\n**Why**\n\nPlugins can now place their own interface pieces in the slash-command picker and around the prompt box, not only in separate panes. In practice the slash-command picker may look different, with a labelled name and highlighted matches.\n\n- Area: Slash Commands\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}