{"version":"2.1.248","anchor":"cloud-sessions-can-serve-your-local-tools-to-the-remote-work","canonical_anchor":"cloud-sessions-can-serve-your-local-tools-to-the-remote-work","heading":"Cloud sessions can serve your local tools to the remote worker and sign their events","tier":"soon","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/cloud-sessions-can-serve-your-local-tools-to-the-remote-work","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Cloud sessions can serve your local tools to the remote worker and sign their events\n\nCloud sessions can expose your local tools to the remote worker and sign events with a device key.\n\n**What**\n\nAttaching to a cloud session now opens a second channel that lets the remote worker call tools running on your own machine, and signs the events the session sends back using a key tied to the device you bound to your account. The attach path loads both pieces in parallel and hands the session its served tools, a slot for a single in-flight served call, a callback for served-settings changes and the event signer. None of it runs in this build unless it is switched on server-side.\n\n**Details**\n\n- Only sessions whose descriptor lists served tools open the channel; viewer-only sessions are skipped.\n- At most one served tool call is held in flight at a time.\n- State changes are announced to the worker with the reasons `worker_init`, `attached`, `reconnected` and `tools_changed`.\n- Events are signed by a signer keyed on the bound device id, and the headless send path uses the sibling signer keyed on the id bound to that session.\n- Gated behind the flag `tengu_violin_wood`, whose value compiled into this build is false, so the whole path stays dark by default; the signing and tool-serving also require the device to have been bound to your account, and with that gate off none of it runs.\n\n**Evidence**\n\n`deviceEventSignerOnceBoundHere`, `eventSigner`, `requestAnnounce(\"worker_init\", {`\n\n- Flag `tengu_violin_wood`: Off in both readings (read for one account on one subscription tier against v2.1.248; this account: off, anonymous baseline: off, compiled default: off)\n- Area: Cloud Sessions\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 5\/5\n- Present in the build but not switched on"}