{"version":"2.1.277","anchor":"hosted-serve-sessions-can-now-surface-host-side-dialog-not","canonical_anchor":"hosted-serve-sessions-can-now-surface-host-side-dialog-not","heading":"Hosted 'serve' sessions can now surface host-side notices to the cloud session view","tier":"soon","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/hosted-serve-sessions-can-now-surface-host-side-dialog-not","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Hosted 'serve' sessions can now surface host-side notices to the cloud session view\n\nSessions serving tools to a host machine can now show deduped notices, like MCP consent or hook status, in the cloud session view\n\n**What**\n\n- In the headless-cloud attach\/create path, when a session is serving tools, a new dedup store is created, gated by `hostedServeDialogsGateOn` (which falls back to checking gate `tengu_violin_chinrest`). When present, it collects notices via a new `onNotice` callback and exposes them through `cloudSession()`'s new `notices` field and a new `onCloudSessionChanged` hook.\n\n- The `cloud_session` init-frame schema used by the headless stream-json client gained a `notices` array describing device-serving events the user should be shown: MCP consent\/reconsent\/drop, hook run status, bash-from-home, and mute\/unmute of served tools.\n\n- The notice store is a bounded map holding only the latest notice per key, with change subscription, so duplicate notices for the same event are deduplicated instead of firing ad hoc.\n\n**Why**\n\nThis lets a cloud session view show the user what's happening on the host machine serving tools to it, such as a hook running or an MCP consent request, instead of those events being invisible or repeated, while the feature stays behind a gate until it's ready.\n\n- Area: Cloud Sessions\n- Names: `hostedServeDialogsGateOn`\n- Tier: Nothing to try yet\n- Useful: 4\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}