Commit Graph
16998 Commits
Author SHA1 Message Date
Neil 1955af1e2c feat(cloud): folders can pick Orca Cloud; the panel offers a GitHub repository instead (D3 for folders, design-squad) 2026-11-10 09:02:13 -08:00
Neil 604bbf75fb fix(cloud): signed-out and not-yet-entitled users can pick Orca Cloud and reach Set up and start 2026-11-10 08:48:26 -08:00
Neil 977a17e0a2 Merge pull request #284 from nwparker/cloud/w2-signed-out-project
fix(cloud): picking a GitHub project in the composer did nothing (D4 key collision)
2026-11-10 08:30:14 -08:00
Neil 6da29ef05c Merge pull request #282 from nwparker/cloud/agents-s0
feat(cloud): S0 Orca Cloud agent accounts + onboarding Agent row (G)
2026-11-10 08:30:08 -08:00
Neil e69a92a608 fix(cloud): a confirmed sandbox delete never surfaces as invalid_response (#285)
The desktop parsed the DELETE answer with the full strict sandbox view, so any view field the control
plane adds later (e.g. archive state) turned a successful delete into 'Orca Cloud returned an unexpected
response'. Destroy now parses only what confirms the delete (id + status) and ignores unknown keys; a
body without them is still rejected. Tests cover both.
2026-11-10 08:30:02 -08:00
Neil 0420622f95 fix(cloud): D4 row keys no longer swallow GitHub projects (github: prefix collided with project ids) 2026-11-10 08:24:30 -08:00
Neil f196d901a0 fix(cloud): design-squad on #282: one 'Copy code and open' for the Codex device code; panel row actions are outline xs buttons 2026-11-10 08:21:41 -08:00
Neil ece50d6b80 merge integration 2026-11-10 08:21:18 -08:00
Neil e6cdedd45e Merge pull request #247 from nwparker/cloud/agents-aws-badge
fix(cloud): W10-2: AWS keys marked 'Real value in sandbox' with a focusable tooltip; fixtures
2026-11-10 08:21:14 -08:00
Neil c2de4acc48 merge integration 2026-11-10 08:17:26 -08:00
Neil e207371618 chore(cloud): S0 lint gates: no casts, exhaustive switches, fake-clock broker test 2026-11-10 08:14:31 -08:00
Neil f498cea0fe feat(cloud): the setup panel's Agent row (G) reads the S0 model; panel G fixtures
The merged Set up Orca Cloud panel's 'agent' step now comes from the same
row model as the standalone row: done with 'Claude · from your Orca account' /
'Codex · team key', Set up once / Renew to S0, the kill-switch info line,
signed-out copy, loading; hidden when nothing there helps. Drops the panel's
placeholder copy keys.
2026-11-10 08:11:24 -08:00
Neil 6973c6abe7 Merge remote-tracking branch 'private/cloud/integration' into cloud/agents-s0
# Conflicts:
#	src/renderer/src/components/new-workspace/NewWorkspaceComposerProjectSection.tsx
2026-11-10 08:11:00 -08:00
Neil b79f5165bd feat(vm-build): show the last 20 lines of a recipe error under an earlier-lines note (#281)
The cause usually prints last, so the Details window now keeps the tail,
opens scrolled to the end, and notes '…N earlier lines' (plurals) at the
top. Copy details still copies the full text.
2026-11-10 08:09:36 -08:00
Neil a3d362a49a fix(cloud): S0 security review: Windows quoting, repaint-safe token capture, broker id, identity binding
- setup-token on Windows goes through cmd with the shared quoting as one verbatim
  ConPTY line; the child env is buildClaudeChildProcessEnv (no inherited auth) and
  runs in the home directory.
- Token capture drops styling escapes, breaks on cursor moves, waits 1 s for a
  repaint and keeps the longest complete copy, so a split copy is never stored.
- Broker ids must start with a letter or digit (no '.'/'..' path tricks), checked
  at parse time too; server error names are looked up with a Map.
- A setup belongs to the Orca identity it started under: a changed identity drops
  the captured token / cancels the broker and resets the rows.
- A token being stored can't be cancelled or raced by a paste or a new start.
- The Codex driver only shows OpenAI sign-in pages and caps the wait at 20 min.
- The paste field clears in a finally; a rejected IPC reads as unknown.
2026-11-10 08:05:45 -08:00
Neil 5533d274e6 feat(vm-build): move local recipe raw errors into a Details disclosure (#280)
Local custom-recipe failure cards now show a plain-language summary with
the raw error in a collapsed Details disclosure (monospace, Copy details,
truncated to 20 lines with a note; Copy takes the full text). Orca Cloud
cards are unchanged. Adds collapsed/expanded/truncated fixtures and tests.
2026-11-10 08:04:11 -08:00
Neil 0fd423dea1 feat(cloud): S0 Orca Cloud agent accounts + onboarding Agent row (G)
Main:
- agent-credentials client for /v1/agent-credentials, /v1/agent-sources and the
  Codex broker routes; replies and errors are codes only. The shared control-plane
  request keeps the server's error name (HostedSandboxRefusalError) so newer
  routes (broker_in_progress, rate_limited, no_golden_image) map to codes.
- claude setup-token runner (pseudo-terminal in production, fake child in tests):
  captures the sk-ant-oat01 token in memory, never logs it, PUTs it from main
  with the local Claude account email as label. Capture failure or no claude
  offers "Paste the token instead"; a pasted value goes renderer -> main once.
- Codex broker driver: device code, poll until active, cancel, code expiry.
- orcaCloudAgents IPC + preload bridge: states and codes only.

Renderer:
- Settings > Agent accounts > Orca Cloud (S0, spec §5): not set up, setting up
  (browser / preparing / device code / paste / saving), state 7 Source choice,
  active, expiring, expired/revoked, kill switch, signed out, load and save
  errors; the mandatory policy line; Source via SettingsSegmentedControl.
- The composer's Agent row (cloud-start G) replaces ComposerCloudAgentHint:
  from your Orca account / team key (collapsed), Set up once -> S0, kill switch
  info, signed-out copy; hidden for members blocked by billing; never blocks.
- Telemetry cloud_first_start_agent_coverage (once per install).
- Fixtures: settings/agent-accounts/OrcaCloudAccounts:*, new-workspace/OrcaCloudAgentSetupRow:*.
2026-11-10 07:56:58 -08:00
Neil 7e516b5974 Merge pull request #279 from nwparker/cloud/w6-card-copy
fix(secrets): honest request-card copy; saved card gets out of the way
2026-11-10 07:55:17 -08:00
Neil b4d5193141 fix(secrets): request card copy is honest and the saved card gets out of the way
design-squad, after the W6 live run: an unknown asker reads 'A command asked for NAME' with no repeated 'from' line; the saved detail no longer claims the agent never gets the value (it is a plain env var); the CLI notes say the same. The saved card is announced, then dismisses itself after 6 s (paused while hovered or focused); while asking, scrolling or typing in the pane folds it to the pill.
2026-11-10 07:53:12 -08:00
Neil 61e71b4b74 Merge pull request #277 from nwparker/cloud/w2-d4-github-projects
feat(cloud): GitHub-only projects in the Project picker (cloud-start D4)
2026-11-10 07:52:50 -08:00
Neil 61d12fbdfd fix(build-sheet): pluralize the running-sandbox limit copy (1 sandbox, Put it to sleep) (#278) 2026-11-10 07:50:54 -08:00
Neil 3c368cbe52 Merge remote-tracking branch 'private/cloud/integration' into cloud/w2-d4-github-projects 2026-11-10 07:49:42 -08:00
Neil fac72bd9e0 fix(cloud): D4 section says the clone line once; rows show owner and visibility; Show more repositories 2026-11-10 07:49:39 -08:00
Neil 13d6cf7e51 feat(cloud): GitHub-only projects in the Project picker (cloud-start D4) 2026-11-10 07:44:33 -08:00
Neil e48cf41c69 Merge pull request #276 from nwparker/cloud/agents-a5-followups
A5 follow-ups: offline last-known state, retry missed syncs, remove-prompt fixture, dev e2e
2026-11-10 07:43:54 -08:00
Neil de930e1656 Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into cloud/w2-squad-polish 2026-11-10 07:39:01 -08:00
Neil 74deeee990 fix(cloud): "Sleeps in {{count}} minutes if idle"; neutral sentence-case Active badge in build history (#275 review) 2026-11-10 07:38:58 -08:00
Neil 67008f4515 feat(agent-api-keys): A5 follow-ups: offline last-known state, retry pending saves, remove-prompt fixture
- Signed in but Orca unreachable: rows keep their last-known state (from the per-account ledger:
  names, key ids and timestamps only) under "Can't reach your Orca account right now", with no
  account actions that would fail.
- Saves made while signed in that miss the account (offline or a transient failure) are queued in
  the ledger and retried at start, on wake and with backoff while waiting; the timer stops when
  idle. Only that key at that version: edits, removals and signed-out saves are never uploaded.
- Fixtures: removePrompt, cloudUnreachable.
2026-11-10 07:36:51 -08:00
Neil 9113edad5f feat(cloud-setup): register the setup session with the composer's seam (N1)
Set up and start opens the one-tab setup session for the project's GitHub repo.
The setup panel reads each poll's snapshot. A draft restored after a restart
resumes polling its session.
2026-11-10 07:35:25 -08:00
Neil 7d5608e05a fix: no restyle on DialogTitle 2026-11-10 07:33:53 -08:00
Neil c4b8987487 Merge pull request #274 from nwparker/cloud/w6-secret-request-wait
fix(cloud): two W6 live-e2e findings (secret request --wait <sec>, secrets saved mid-boot)
2026-11-10 07:33:02 -08:00
Neil f4534a7b18 fix(cloud): "1 sandbox" in the running-limit errors (plural forms for team, seat and owner) 2026-11-10 07:29:59 -08:00
Neil cc6c623973 fix(cloud): visible-time reconnect cap, Intl relative times, reserved-port constant, plurals (DS-45)
- use-wake-attach-hold: only visible time counts toward the 8 s cap (+ test)
- cloud-workspace-format: formatRelative via Intl.RelativeTimeFormat in the UI locale (+ test)
- share-port-dialog-parts: reserved ports from SHARE_RESERVED_PORTS (was missing 6080), MAX_PORT_CHOICES
- archived 'more files not shown' gets a _one form; localization catalogs synced
2026-11-10 07:28:27 -08:00
Neil 11828e5b5c fix(cloud): type tokens, neutral build status, AA ANSI palette, visible script Tab hint (DS-42)
- text-[11px]/text-[10px] -> text-2xs/text-3xs across cloud folders
- BuildStatusIcon: in-progress/done neutral (muted-foreground), failed destructive
- Build log ANSI foreground palette clamped to >=4.5:1 on every log surface per theme
- Setup-script editor: visible 'Tab indents · Esc then Tab to leave' hint
2026-11-10 07:28:25 -08:00
Neil ca1bde58f5 fix(cloud): design-squad review — subtitle follows state, trial-only hides the panel, neutral checks, no inline Compare plans; drop interim GitHub row 2026-11-10 07:26:44 -08:00
Neil 8d102e2745 fix(cli): orca secret request accepts the documented --wait <sec>
--wait is a global boolean flag, so '--wait 300' left 300 as a positional and the command failed with 'Unknown command: secret request NAME 300' (found in the W6 live e2e). A spec can now list optionalNumberFlags; secret request does for wait.
2026-11-10 07:24:12 -08:00
Neil cff1a5790f feat(cloud): lifecycle polish — idle line "Sleeps in {{minutes}} min if idle", Skeleton not "Checking…", one restart confirm on every surface, Unarchiving copy, outlined archived dot, move dialog starts on its title, cloud stage names; fixtures read the clock per render and use the real sandbox size (DS-31, DS-32, Capy P2s) 2026-11-10 07:22:57 -08:00
Neil e69953ad0b fix(cloud): smaller in-row setup actions; D3 row without a status word 2026-11-10 07:21:03 -08:00
Neil 38a5481a0c test: picker search test reads 'Blank terminal' 2026-11-10 07:20:52 -08:00
Neil 9264db74ca fix(cloud): one lucide import in CloudWorkspacesStates 2026-11-10 07:18:05 -08:00
Neil e7f74b595a Merge remote-tracking branch 'private/cloud/integration' into cloud/w2-cloud-start 2026-11-10 07:16:43 -08:00
Neil 8a5c30ae14 fix(cloud): composer submit uses the latest create, onCreated stays stable 2026-11-10 07:16:40 -08:00
Neil e01e07d58f Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into cloud/w2-np5-icon-rule 2026-11-10 07:14:38 -08:00
Neil 8ea1c5c7de fix(sidebar): keep the SSH control's classes; a 12px wrapper holds the slot 2026-11-10 07:12:24 -08:00
Neil 4efaa768e0 feat(cloud): DS-14 build failure card on InlineError with tinted check pills (#272) 2026-11-10 07:11:14 -08:00
Neil d7e110e071 Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into cloud/w2-np5-icon-rule 2026-11-10 07:09:41 -08:00
Neil ef7517d603 fix(sidebar): SSH stays icon-only in the 12px host slot; classic cards show Connect on line 2 (NP-5 review) 2026-11-10 07:09:37 -08:00
Neil 4765c194d4 fix(cloud): remember only a host's 'cloud' answer; ask again after 'not cloud' (re-review LOW) 2026-11-10 07:09:27 -08:00
Neil 36aef5fe87 fix(agent-api-keys): design-squad copy for A5 (older copy, one-line account failure, this computer, → paths) 2026-11-10 07:03:14 -08:00
Neil 8eb34980ee fix: lint 2026-11-10 07:02:37 -08:00