{"version":"2.1.331","anchor":"ui-render-hook-components-extended-with-besideprompt-and-und","canonical_anchor":"ui-render-hook-components-extended-with-besideprompt-and-und","heading":"New BesidePrompt and Underlay screen areas for plugins","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/ui-render-hook-components-extended-with-besideprompt-and-und","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### New BesidePrompt and Underlay screen areas for plugins\n\nPlugins can draw in new BesidePrompt and Underlay areas, with checks on their use and renderer speed-ups alongside\n\n**Unclear.** It is not clear whether these new places are available to plugins now or held back.\n\n**What**\n\nPlugins, add-ons that extend Claude Code, can draw their own pieces of the interface. Two new areas are added: `BesidePrompt`, next to where you type, and `Underlay`, beneath other content.\n\n- The plugin hook filter for `ui.render` now accepts `AbovePrompt`, `BesidePrompt`, `ContextMenu`, `Pane` and `Underlay`. Before, it accepted only `AbovePrompt`, `ContextMenu` and `Pane`.\n\n- The component registry and platform table gain `BesidePrompt` and `BesidePromptList` (terminal and desktop) and `Underlay` and `UnderlayList` (terminal only). The server-driven component mapper now passes `BesidePrompt` through.\n\n- `BesidePrompt` is only turned on when a terminal check passes. When it closes without drawing, the close reason is 'nothing was drawn'.\n\n- The plugin UI renderer now draws `BesidePrompt` and `Underlay`. It warns when a layer or cell would go past a tree's limits.\n\n- The check on plugin-drawn content now rejects invalid use of the Box `blur` and `anchor` options and of `BesidePrompt` and `Underlay` cells. Before, there were no blur or Underlay checks.\n\n- The renderer gains a wrap cache, a frame comparison that checks rows in chunks, handling for the cell buffer growing and shrinking, and an unsorted-box path.\n\n- A new event name, `session.redact`, appears in the event list.\n\n- A new set of plugin operations is added: `vcs.detect`, `vcs.list`, `vcs.status` and `vcs.diff`. These read version-control information such as git status.\n\n**Why**\n\nPlugin authors get two new places to draw. The renderer changes are aimed at drawing the screen faster.\n\n- Area: Plugins\n- Names: `BesidePrompt`, `Underlay`\n- Tier: Under the hood\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}