{"version":"2.1.295","anchor":"cloud-now-accepts-a-prompt-piped-on-stdin-or-a-positional","canonical_anchor":"cloud-now-accepts-a-prompt-piped-on-stdin-or-a-positional","heading":"Cloud sessions: --environment parses names and ids, and --cloud accepts more ways of passing the task","tier":"use","area":"Cloud Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295\/e\/cloud-now-accepts-a-prompt-piped-on-stdin-or-a-positional","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.295","markdown":"### Cloud sessions: --environment parses names and ids, and --cloud accepts more ways of passing the task\n\n--environment now parses env_ ids and names (only ccpool_ ids work yet), cloud runs resolve an environment query, and --cloud takes piped or positional prompts\n\n**Unclear.** Which other input must be present for an empty `--cloud` to be accepted is not clear.\n\n**What**\n\nThese changes affect starting a cloud session, which runs Claude Code on remote machines instead of your own, with `--cloud` and `--environment`.\n\n- `--environment` is now parsed as a pool, an id (starting `env_`) or a name. Only a pool id actually works so far: anything else still returns the error that `--environment` expects a self-hosted environment id (`ccpool_...`).\n\n- A cloud run without the interactive screen now resolves an environment query, if one is given, before creating the session. If that fails it stops with an error. If it succeeds it adds a notice, unless the chosen environment moved.\n\n- The `--cloud` hint text and flag are now chosen when an environment query is given, not only when a pool is.\n\n- When `--cloud` is given with no value, the task can now come from the prompt you passed separately, such as piped input or a positional argument. The `--cloud requires a description` error and the message about `--cloud` not also taking piped input are kept.\n\n- The non-interactive error asking you to drop `--cloud`\/`--remote` with a description now applies only when the environment is a pool.\n\n**Why**\n\nMore ways of calling `claude --cloud` are accepted without the interactive screen. Choosing an environment by name or `env_` id is not usable yet, so keep using `ccpool_` ids for now.\n\n- Flag `tengu_remote_backend`: Not enough to say (read for one account on one subscription tier against v2.1.295; 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- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}