{"version":"2.1.329","anchor":"worker-events-post-can-use-an-ask-host-hook","canonical_anchor":"worker-events-post-can-use-an-ask-host-hook","heading":"Cloud sessions can hand durable event uploads to the host","tier":"internal","area":"Cloud Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/worker-events-post-can-use-an-ask-host-hook","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Cloud sessions can hand durable event uploads to the host\n\nIn cloud sessions, uploads that carry a durable event can now be passed to the host first, skipping the usual upload\n\n**What**\n\nIn cloud sessions, an event upload that carries a durable event, meaning one that must not be lost, can now first ask the host running the session to handle it. If the host returns a value, Claude Code sends it along as a header and skips its usual compressed upload. The upload code can also now report whether uploads are slow and whether anything is listening for events.\n\n**Why**\n\nThis changes how cloud sessions send their events.\n\n- Area: Cloud Sessions\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}