{"version":"2.1.319","anchor":"background-daemon-gateway-routed-jobs","canonical_anchor":"background-daemon-gateway-routed-jobs","heading":"The background daemon now handles jobs routed through a gateway","tier":"notice","area":"Sessions","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/background-daemon-gateway-routed-jobs","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### The background daemon now handles jobs routed through a gateway\n\nClaude Code's background daemon cleans up gateway-routed jobs, does not auto-upgrade workers held on a gateway, and clears stale gateway state\n\n**Unclear.** What the gateway is and how a job comes to be routed through it is not known.\n\n**What**\n\nClaude Code can run a daemon, a program that keeps working in the background. Before, it only handled host-managed jobs. It now also handles jobs routed through a gateway:\n\n- Cleanup: it now clears out a `gateway-routed` folder too.\n\n- Upgrades: workers held on a gateway are not upgraded automatically.\n\n- Restart: old gateway state is cleared when a worker is started again.\n\n**Why**\n\nThese are early pieces of support for running background jobs through a gateway.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}