{"version":"2.1.333","anchor":"new-ui-view-control-message-for-headless-plugin-hosts","canonical_anchor":"new-ui-view-control-message-for-headless-plugin-hosts","heading":"Plugins can ask a host app to show or close an agent's transcript","tier":"internal","area":"Plugin API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/new-ui-view-control-message-for-headless-plugin-hosts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugins can ask a host app to show or close an agent's transcript\n\nA new message lets a plugin ask the app hosting Claude Code to show or close an agent's transcript, waiting up to 5 seconds for a reply\n\n**Unclear.** It is not stated whether this request is available without a remote switch being turned on.\n\n**What**\n\nSome apps run Claude Code in the background with no screen of its own and draw the interface themselves. Those are host apps. A plugin can now send a `ui_view` request asking the host app to show or close an agent's transcript, the full record of what that agent did. The app replies saying whether the transcript was shown. The request also says which plugin it came from, so the app can display or log that. If no reply comes within 5 seconds, Claude Code stops waiting.\n\n**Why**\n\nThis extends the way Claude Code talks to host apps, so plugins can drive more of the interface.\n\n- Area: Plugin API\n- Names: `ui_view`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}