Repository navigation
cmux-api: forward the Cloud login copy switch to the platform - #33063
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3bab30503f0b9a7059e5
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Review (subagent claude-sonnet-5-5): SHIP at 89b723a Checked: the regex is anchored (^...$) and exact; the requests array now has 10 forwarded entries (indices 0-9, ending at CloudDO read) before staying op and health, so both slice(0, 10) uses select exactly the forwarded set; the other Follow-ups: none |
|
Owned by an agent session · session |
The Mac app reads a remote off switch before it copies a person's own Claude login to their own Cloud machine (Leo, 2026-11-02: "A remote off switch, so if Anthropic objects we turn it off for everyone within minutes and fall back to the one-click sign-in."). The route,
GET /v1/cloud/harness-login-copy->{enabled, ttlSeconds}, lives in the platform Worker (manaflow-ai/cmux-platform#587). Clients enter at cmux-api, whose forwarder sends only the platform paths it lists, so this adds the path toCLOUD_PATHSinplatform-forward.tsand to the forwarder test's forwarded requests.With
PLATFORM_SURFACESunset (local) nothing changes; withcloudon (development, staging, production) the path goes to the platform like the other machine routes.Test
vitest run test/platform-forward.test.tson the fleet: 10 passed.Agent session: agent session
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Forwards the Cloud login copy switch to the platform so the Mac app can read the remote off switch before copying a user's own Claude login to their Cloud machine.
/v1/cloud/harness-login-copyto the forwarder'sCLOUD_PATHSand to the forwarder test's forwarded requests.PLATFORM_SURFACESunset (local), nothing changes; with thecloudsurface on, the route reaches the platform Worker alongside the machine routes.Written for commit 89b723a. Summary will update on new commits.