Commit Graph
21882 Commits
Author SHA1 Message Date
Neil dc0ce2e9a6 fix(sleep): tabs survive a wake pressed while the suspend is still committing; slept pages wait until the sandbox is up for good, then reopen (LC2-P1) 2026-11-11 00:37:11 -08:00
Neil 3d734e6c52 Merge pull request #331 from nwparker/cloud/w2-sleep-stay-open
feat(cloud): sleeping the open cloud workspace keeps it on screen, read-only (RA-13b)
2026-11-11 00:31:43 -08:00
Neil 367726217d Merge pull request #392 from nwparker/cloud/ra11c-account-restart-paired
fix(cloud): RA-11c account-switch restarts relaunch on paired/Orca Cloud panes
2026-11-11 00:27:15 -08:00
Neil 5ca526ea4b feat(cloud): restart keeps an asleep cloud selection asleep; Keep awake becomes Wake once main commits the suspend (RA-13b)
Startup reads the VM records main keeps on disk before hydrating the session. A selected Orca Cloud workspace whose record is suspended gets sleep intent and the view-only hold before any pane mounts, so its panes wait for Wake instead of reattaching (which woke the sandbox). Running records are untouched. Main now notifies phase 'suspending' when it passes its last reopen check; the view then offers Wake to continue instead of a Keep awake that can no longer work.
2026-11-11 00:21:28 -08:00
Neil 002c2a9703 fix(cloud): Keep awake wakes the sandbox if main had already begun suspending it (RA-13b)
Main checks for a reopen just before suspending; with a Blank terminal that is a few seconds after Sleep, so Keep awake usually landed too late and the sandbox slept anyway (real app, local harness). When a kept-awake sleep settles, open the workspace the ordinary way: it re-activates it and wakes the sandbox only if it is suspended.
2026-11-11 00:11:49 -08:00
Neil 32bfb62010 fix(cloud): RA-11c account-switch restarts relaunch on paired panes; the host-failure reason reaches the strip
An account-switch restart on a paired (remote-runtime) pane was a no-op: the desktop reconnect asked
the host to ensure the pane's session, and the host handed back its live terminal still running the
old account. Every restart there now takes #330's path: put exactly that host terminal to sleep
(stopExact keepHistory + targetOnly, exit suppressed), ensure the agent on its own session in the same
tab and leaf, then reconnect. On Orca Cloud it is tracked like the strip's Restart (Restarting…, then
proof of a new PTY or Couldn't restart at 10 s); a Codex switch whose host stop fails asks again.

Also wires the 'hostUnresponsive' reason from the runner (#330's edit never applied), so a host that
does not stop or relaunch shows 'The workspace didn't respond.'
2026-11-11 00:08:20 -08:00
Neil 08dbd807a7 Merge pull request #385 from nwparker/cloud/pc3b-not-set-up-hold
feat(cloud): PC-3b hold a cloud launch whose agent isn't set up; set up once in the pane, then Start
2026-11-11 00:07:56 -08:00
Neil 86e3d13e9d Merge pull request #391 from nwparker/cloud/ds-q-toast-chrome
Orca Cloud: one chrome and a priority order for the persistent cloud toasts (DS-q)
2026-11-11 00:02:50 -08:00
Neil 1c8ca0bb58 fix(cloud): Keep awake before main starts the sleep still keeps the sandbox up (RA-13b)
Main reads its reopen baseline when the sleep starts, after saving the offline copy; a Keep awake pressed during that save was lost and the VM suspended anyway (seen on the real app). The follower tells main again on the started notice.
2026-11-11 00:00:29 -08:00
Neil 5f65903df2 test(cloud): typed sonner mock; stable fixture keys 2026-11-11 00:00:03 -08:00
Neil 771f8a9738 test(cloud): PC-3b hold test yields instead of a real-time wait (ast-grep gate) 2026-11-10 23:58:12 -08:00
Neil f329470573 Merge pull request #388 from nwparker/lc2/p3-run-suggestions-refresh
fix(cloud): Run menu suggestions follow package.json changes (LC2-P3)
2026-11-10 23:56:20 -08:00
Neil 631f5a6127 fix(cloud): PC-3b hold reason reads coverage through the shared selector (integration merge left a stale orcaCloudAgentCoverage call) 2026-11-10 23:55:42 -08:00
Neil 3a0144cb06 fix(cloud): the replaced toast renders an element 2026-11-10 23:55:28 -08:00
Neil d9b5dc58c6 test(cloud): no type assertion in the suggestions refresh test 2026-11-10 23:52:57 -08:00
Neil 8127a22321 feat(cloud): one chrome and a priority order for the persistent cloud toasts (DS-q) 2026-11-10 23:51:50 -08:00
Neil 2c487961d1 Merge pull request #347 from nwparker/cloud/cloud-sync
Cloud sync: .context and a read-only mirror from cloud workspaces to this computer
2026-11-10 23:50:08 -08:00
Neil 8268a70c3d feat(cloud-skills): merge same-skill rows across agents; collapse a long Synced list (#387)
* feat(cloud-skills): one row for a skill both agents have; long Synced list starts collapsed

* fix(cloud-skills): Synced disclosure uses the quiet/statusAction button, not restyled ghost
2026-11-10 23:48:10 -08:00
Neil 6c6602c78c Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into w2-sleep-stay-open-wt
# Conflicts:
#	src/renderer/src/components/orca-cloud/offline/CloudAsleepFilesPanel.test.tsx
#	src/renderer/src/components/orca-cloud/offline/CloudAsleepFilesPanel.tsx
#	src/renderer/src/components/orca-cloud/offline/use-asleep-cloud-workspace-id.ts
#	src/renderer/src/components/sidebar/SetupScriptPromptCard.tsx
2026-11-10 23:48:04 -08:00
Neil a26ffccc66 fix(cloud): Run suggestions never read from a sleeping/waking sandbox and re-read at most every 5 s (LC2-P3 review) 2026-11-10 23:47:55 -08:00
Neil 4fede73e20 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync 2026-11-10 23:43:39 -08:00
Neil 0cde5b12f0 Merge pull request #380 from nwparker/cloud/ds-p
Cloud: the agent prompt only after the sandbox started; never on a refused create (DS-p)
2026-11-10 23:43:14 -08:00
Neil 622ec63788 Merge pull request #389 from nwparker/cloud/w3-ports-empty-once
fix(w3): say 'no ports' once in the Ports panel
2026-11-10 23:38:42 -08:00
Neil 59189ea6b7 fix(cloud): Run menu suggestions re-read package.json on menu open, hover and window focus (LC2-P3) 2026-11-10 23:37:08 -08:00
Neil 10f5d95f76 refactor(cloud-sync): installCloudSync owns its quit disposal (keeps hosted-sandbox-install under the line cap) 2026-11-10 23:36:42 -08:00
Neil 2d090ddfe0 Merge pull request #384 from nwparker/lc2/ja31-run-menu
fix(cloud): Run menu in a cloud workspace: only its sandbox, plus package.json script suggestions (JA-31)
2026-11-10 23:34:42 -08:00
Neil dbd16888fc Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
#	src/shared/plugins/languages/protected-copy-keys.json
2026-11-10 23:34:37 -08:00
Neil 4f3bec547e test(cloud): DS-p toast tests use a fixed clock 2026-11-10 23:33:41 -08:00
Neil c303b1a608 Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-not-set-up-hold 2026-11-10 23:31:18 -08:00
Neil fa7a9dcfd8 fix(cloud): PC-3b review: a decided hold that no longer applies starts at once; exhaustive hold reason; a failed first read answers without waiting out the cap 2026-11-10 23:31:14 -08:00
Neil b52b1b111e Merge pull request #365 from nwparker/cloud/local-command
feat(cloud): local commands — cloud agents run approved commands on this computer (RunLocalCommand parity)
2026-11-10 23:30:58 -08:00
Neil e44c40c45f fix(w3): say 'no ports' once in the Ports panel
Design-squad P3 from the #382 recheck: with no ports, the panel showed the
empty line under Active Workspace and again as the centered empty state.
Center it only when the panel has no group at all (no footer such as Orca
Cloud's Shared links, no remote-only forwards); otherwise keep the inline line.
2026-11-10 23:27:13 -08:00
Neil e7440e8910 Merge pull request #386 from nwparker/cloud/fmt-sweep
chore(cloud-integration): oxfmt three cloud files that landed unformatted
2026-11-10 23:26:10 -08:00
Neil 231ee3b1c4 Merge remote-tracking branch 'private/cloud/integration' into cloud/fmt-sweep 2026-11-10 23:25:59 -08:00
Neil e486e5b42c Merge pull request #330 from nwparker/cloud/ra11-running-strip
feat(cloud): RA-11 — strip over a running Orca Cloud agent whose sign-in expires; strip reserves its height
2026-11-10 23:23:37 -08:00
Neil 2d1d976fc8 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:21:51 -08:00
Neil bfc8849b22 fix(cloud): grant sealer records the device only when the script provides the ledger path 2026-11-10 23:21:47 -08:00
Neil 1cfe4c89ce chore(cloud): log an unexpected package.json read failure for Run suggestions (JA-31) 2026-11-10 23:21:39 -08:00
Neil 1c7a5bcc2c fix(cloud): DS-p follows its own create even when the name is generated later
The real-app check found the prompt never showed for an empty name field: the
gate matched the create by the composer's name text, but the create named the
workspace itself ("chinook"). Match by that name or else the newest create
started around the call, then follow it by id and show its real name.
2026-11-10 23:18:50 -08:00
Neil 58a9518bca Merge pull request #383 from nwparker/cloud/w2-ja15
feat(cloud): asleep/waking terminals read as history; woke-up note with Rerun; no stale ports or setup-check flash (JA-15, JA-13)
2026-11-10 23:17:34 -08:00
Neil cdf0059c8b Merge remote-tracking branch 'private/cloud/integration' into cloud/ra11-running-strip 2026-11-10 23:16:44 -08:00
Neil 070c9032b2 test(cloud): RA-11 failure body assertion scoped to the visible body (the polite region repeats it) 2026-11-10 23:16:42 -08:00
Neil ffc8937001 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/components/orca-cloud/CloudWorkspaceMenuItems.tsx
#	src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:16:18 -08:00
Neil 197cc3c744 Merge remote-tracking branch 'private/cloud/integration' into cloud/local-command
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:16:12 -08:00
Neil 215389b186 fix(cloud): the Run menu in a cloud workspace offers only its sandbox and suggests package.json scripts (JA-31) 2026-11-10 23:14:46 -08:00
Neil 9ac13ef6d0 test(cloud): fixed timestamp in the divider placement test (no wall clock) 2026-11-10 23:12:37 -08:00
Neil 0c80ffc3ae Merge remote-tracking branch 'private/cloud/ra11-running-strip' into cloud/pc3b-not-set-up-hold
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:11:19 -08:00
Neil 7721a99512 feat(cloud): PC-3b hold a cloud launch whose agent isn't set up; set up once in the pane, then Start
When Claude or Codex isn't set up for Orca Cloud (no account, no key), a fresh or host-published
cloud launch holds on the pane strip instead of starting into the agent's own /login.
- cloud-agent-launch-hold: CloudAgentHoldReason ('accountExpired' | 'notSetUp'), cloudAgentHoldReason,
  cloudAgentLaunchHoldReason (sync, 'unknown' while loading, for composer-redo); holds carry their
  reason; a notSetUp hold waits for Start (never auto-starts); a launch during the first account
  read waits for it past the 3 s budget (cap 15 s) instead of starting into /login.
- Strip: 'Claude isn't set up for Orca Cloud · Set up once' runs S0's setup in the pane (browser,
  Codex device code, masked setup-token paste, failure with Try again), then 'Claude is set up for
  Orca Cloud · Start Claude'. New file cloud-agent-setup-strip-model.ts and cloud-setup-strip-actions.ts;
  additive edits to the shared strip, its model types and fixtures.
- Kill switch and never-offered keep #40228's per-workspace gate; a key covering the agent never holds.
2026-11-10 23:10:51 -08:00
Neil 133e72a2ec fix(cloud): position the Asleep since divider against the whole pane so it lands under the last history line 2026-11-10 23:09:48 -08:00
Neil 1da35db6b5 Merge remote-tracking branch 'private/cloud/integration' into cloud/w2-ja15
# Conflicts:
#	src/renderer/src/components/sidebar/workspace-card/controller/use-worktree-card-foundation.ts
2026-11-10 23:08:01 -08:00