Skip to content

chore(dev): Support Claude Code cloud (remote) sessions#22573

Merged
mydea merged 2 commits into
developfrom
feat/claude-cloud-remote-setup
Jul 24, 2026
Merged

chore(dev): Support Claude Code cloud (remote) sessions#22573
mydea merged 2 commits into
developfrom
feat/claude-cloud-remote-setup

Conversation

@mydea

@mydea mydea commented Jul 24, 2026

Copy link
Copy Markdown
Member

Enables this repo to run in Claude Code cloud (remote) sessions by committing the bootstrap needed to install and build the monorepo on session start.

  • scripts/claude-cloud-setup.sh — runs yarn install --ignore-engines --frozen-lockfile (matching CI) then yarn build:dev, with VOLTA_FEATURE_PNPM=1 exported.
  • .claude/settings.json — a SessionStart hook runs that script, gated to cloud sessions via CLAUDE_CODE_REMOTE=true so local sessions are untouched.
  • .claude/CLOUD.md — documents the one-time per-environment settings that can't be committed (setup script, network access, env vars).

The hook runs install + build on every cloud session rather than depending on the cached environment-creation setup script, because the working branch changes constantly and a cached build would be stale. Repeated runs stay cheap: a frozen-lockfile install is a no-op when node_modules is warm, and Nx only rebuilds packages whose inputs changed.

build:dev (transpile + types) is used instead of the full production yarn build — enough for editing and unit tests, and faster on each session.

mydea and others added 2 commits July 24, 2026 09:07
Add a cloud-session bootstrap so the monorepo installs and builds
automatically when a session runs in a Claude Code cloud environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mydea mydea changed the title feat(dev): Support Claude Code cloud (remote) sessions chore(dev): Support Claude Code cloud (remote) sessions Jul 24, 2026
@mydea
mydea marked this pull request as ready for review July 24, 2026 07:22
@mydea
mydea requested review from Lms24 and chargome July 24, 2026 07:22
@mydea
mydea merged commit cf5243b into develop Jul 24, 2026
43 checks passed
@mydea
mydea deleted the feat/claude-cloud-remote-setup branch July 24, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants