{"version":"2.1.287","anchor":"cloud-launch-refuses-when-it-would-need-the-keyboard","canonical_anchor":"cloud-launch-refuses-when-it-would-need-the-keyboard","heading":"--cloud stops early when it would need a keyboard it can't read","tier":"notice","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/cloud-launch-refuses-when-it-would-need-the-keyboard","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### `--cloud` stops early when it would need a keyboard it can't read\n\nIf `--cloud` would open a session in your terminal but there is no keyboard to read from, Claude Code now exits with an error before creating it\n\n**Unclear.** The exact conditions that decide when the session would stay open in the terminal are not clear.\n\n**What**\n\nStarting a cloud session with `--cloud` (or `--remote`, its deprecated alias, or `--environment`) can keep the session open in your terminal. If it would, but Claude Code cannot read your keyboard there, for example because input is piped in from another program, it now stops with an error before creating any session:\n\n\"No cloud session was created or opened: it would open in this terminal and need the keyboard.\"\n\nThe error is followed by one of three explanations:\n\n- You are on Windows.\n\n- The `CI` environment variable is set, which marks an automated build system.\n\n- The terminal device \/dev\/tty is not available.\n\nWhether the session stays open in your terminal depends partly on a setting that is off unless it is switched on remotely.\n\n**Why**\n\nRunning a cloud launch from a script or automated job now fails straight away with a clear message instead of hanging or misbehaving, and leaves no unused session behind.\n\n- Flag `tengu_remote_backend`: Not enough to say (read for one account on one subscription tier against v2.1.287; this account: no value returned, anonymous baseline: no value returned, 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: Cloud Sessions\n- Names: `--remote`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}