{"version":"2.1.318","anchor":"print-mode-background-wait-long-sleep-length-is-now-a-remot","canonical_anchor":"print-mode-background-wait-long-sleep-length-is-now-a-remot","heading":"Server can set how long headless remote sessions wait on background shells","tier":"internal","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318\/e\/print-mode-background-wait-long-sleep-length-is-now-a-remot","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.318","markdown":"### Server can set how long headless remote sessions wait on background shells\n\nIn remote non-interactive sessions waiting on background shell commands, the long wait length can now come from the server instead of being fixed\n\n**What**\n\nPrint mode runs Claude Code without the interactive screen. In a remote session in print mode where every background task still running is a shell command, Claude Code waits in long sleeps. The length of those sleeps used to be fixed. It now comes from a remotely controlled value. When the server sends nothing, or a value that is not a number or is out of range, Claude Code uses its default minimum.\n\nThe part that keeps these sessions alive also records more usage data: the longest sleep allowed, how many full long sleeps it took, and time spent waiting at a card. It also records activity around watching and relaying edit diffs, the before and after views of a file change.\n\n**Why**\n\nAnthropic's server can now tune how long these sessions sleep. Without a value from the server, the wait behaves as before.\n\n- Flag `tengu_snazzy_starlight`: Not enough to say (read for one account on one subscription tier against v2.1.318; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_quiet_badger`: Off in both readings (read for one account on one subscription tier against v2.1.318; this account: off, anonymous baseline: off, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Sessions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}