Commit Graph
21931 Commits
Author SHA1 Message Date
Neil ee6aa8fa43 Merge pull request #397 from nwparker/lc2/p1-wake-during-suspend
fix(sleep): tabs survive a wake pressed while the suspend is still committing (LC2-P1)
2026-11-11 02:00:50 -08:00
Neil 2b335b9682 Merge pull request #390 from nwparker/cloud/pc3b-composer
Cloud: create with the agent behind the PC-3b hold; held first prompt copy (PC-3b composer, DS-e)
2026-11-11 01:46:10 -08:00
Neil 0985a5ec69 Merge pull request #393 from nwparker/cloud/ra11b-source-read-retry
fix(cloud): RA-11b retry the per-workspace Source read when main's sandbox records change
2026-11-11 01:42:45 -08:00
Neil ad688e30e9 test(sleep): a host snapshot after Sleep keeps slept tabs until their page is answered (LC2-P1) 2026-11-11 01:21:42 -08:00
Neil c88ae61482 Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-composer 2026-11-11 01:20:50 -08:00
Neil 3acbf5de6c fix(sleep): host session snapshots can't drop a slept tab before its page reopens (LC2-P1 root cause on m4air) 2026-11-11 01:17:41 -08:00
Neil dc05b251cb Merge remote-tracking branch 'private/cloud/integration' into cloud/ra11b-source-read-retry 2026-11-11 01:17:28 -08:00
Neil 94dc1cec77 Merge pull request #394 from nwparker/cloud/pc3b-create-prompt-hold
fix(cloud): PC-3b every Orca Cloud agent launch holds when the account isn't set up or expired
2026-11-11 01:16:53 -08:00
Neil b0541b4994 fix(cloud): PC-3b one hold for every Orca Cloud agent launch: the host terminal create choke point
composer-redo (W-93/W-94): with #390's draft-startup gate the host got no startup, but the same
startup went to the pane (windowStartupAfterCreate → createNewTerminalForStartup → web-host terminal
create) and Claude still started into /login. Port #395's choke point: createWebRuntimeSessionTerminalResult
holds an Orca Cloud Claude/Codex launch (not set up or expired, no key) before creating anything, so
every caller (new tab, create's pane startup, post-wake relaunch) is held once; the per-caller wrappers
are gone. The guard asserts only the choke point (plus the pane spawn gate and local-runtime paths)
call the host create RPCs; an exactly-once test: one create with a queued prompt → one strip → one
agent create after Start.
2026-11-11 00:57:40 -08:00
Neil 1ca4171c62 Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-create-prompt-hold 2026-11-11 00:56:07 -08:00
Neil d31794be04 test(cloud): PC-3b raw host-tab launcher guard: the create path's site is #390's 2026-11-11 00:55:54 -08:00
Neil f969ede964 Merge pull request #396 from nwparker/cloud/ra11e-resume-missing-session
fix(cloud): RA-11e Restart on a session with no conversation starts fresh, never a bare shell
2026-11-11 00:54:21 -08:00
Neil a750791494 Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-create-prompt-hold 2026-11-11 00:54:00 -08:00
Neil 64427395af fix(cloud): PC-3b rescope: drop the held-file and create-path changes (create path goes to #390) 2026-11-11 00:53:59 -08:00
Neil 1c544862bd test(cloud): RA-11e strip render test uses a typed terminal leaf id 2026-11-11 00:51:46 -08:00
Neil 89038920cd Merge remote-tracking branch 'private/cloud/integration' into HEAD
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-11 00:50:07 -08:00
Neil 4c783c07e9 test(cloud): RA-11e render test mounts the Orca Cloud running strip portal in expired, restarting and started-fresh states 2026-11-11 00:49:35 -08:00
Neil f7bd3c5469 Merge pull request #326 from nwparker/cloud/read-snapshot-signed
feat(cloud): VM-signed read snapshots, persisted pins, wake-failed copy, branch-checkout fix
2026-11-11 00:47:39 -08:00
Neil 5703014776 Merge remote-tracking branch 'private/cloud/integration' into cloud/read-snapshot-signed
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-11 00:47:26 -08:00
Neil 2210b8e2b5 Merge pull request #398 from nwparker/cloud/fix-agent-row-test
fix(cloud): agent-row sign-in status opens the JA-04 sheet: tests + tooltip copy
2026-11-11 00:44:32 -08:00
Neil ffc1f41a47 fix(cloud): RA-11e catalog keys only under agentSignInStrip (strays removed); runtime catalog synced; test without casts 2026-11-11 00:43:55 -08:00
Neil ada6999f9c test(sleep): type the wake-race test's store state 2026-11-11 00:40:35 -08:00
Neil 0b948f462d fix(cloud): RA-11e import cloudAgentRestartStartedFresh in the running strip portal 2026-11-11 00:39:57 -08:00
Neil 9a88709e0a fix(cloud): expired row tooltip reads 'Renew for Orca Cloud' (design-squad) 2026-11-11 00:39:32 -08:00
Neil 37f2995d58 fix(cloud): agent-row sign-in tooltip names Orca Cloud, not Settings (it opens the JA-04 sheet)
'Set up once in Settings → Agent accounts' / 'Renew in Settings → Agent accounts' become
'Set up once for Orca Cloud' / 'Renew once for Orca Cloud', matching the strip.
2026-11-11 00:37:51 -08:00
Neil dcb7104905 fix(cloud): RA-11e neutral 'Restarting Claude…' while it runs; 'Started a new conversation.' when the resume had nothing
While a Restart runs the strip no longer promises 'Picking up where you left off.' (the recorded session
may have no conversation). When the backstop starts the agent fresh, the strip says 'Started a new
conversation.' for 3 s, then clears. An end-to-end test drives resume → 'No conversation found' → one
fresh relaunch → the line once; catalog synced (restartingResume removed).
2026-11-11 00:37:25 -08:00
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 6c76b1e5e8 test(cloud): agent-row sign-in status opens the JA-04 sheet, not Settings
#349 (JA-04) made every Orca Cloud 'Set up once' open the focused 'Agents in Orca Cloud' sheet, so
worktree-card-compact-agent-row.cloud-sign-in.test.tsx's 4 'opens Settings' cases failed on integration.
The cases now assert the sheet opens and the view stays put (new isOrcaCloudSignInSheetOpen getter).
2026-11-11 00:35:44 -08:00
Neil 43e4dca4df fix(cloud): PC-3b no host draft startup while the cloud agent is held
#390 creates with the agent, so a not-set-up (or loading/expired) Claude/Codex on
Orca Cloud made the create hand the host a draft startup with the queued prompt,
and the host started the agent into /login (real m4air run, startupTerminal
spawned). resolveBackendDraftStartup now withholds it then; the launch is planned
in the pane, held behind the Set up once strip, and runs with the prompt on Start.
2026-11-11 00:33:04 -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 c6efb8901a Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-composer 2026-11-11 00:31:16 -08:00
Neil 43bc8ffafe Merge remote-tracking branch 'private/cloud/integration' into HEAD
# Conflicts:
#	src/renderer/src/components/terminal-pane/account-restart/use-ready-pane-account-restarts.ts
2026-11-11 00:31:03 -08:00
Neil 871724db7a fix(cloud): RA-11e a Restart whose session has no conversation starts fresh instead of leaving a shell
m4air (RA-11c run): a pane whose Claude recorded a session but never ran a turn was restarted with
--resume <id>; Claude printed 'No conversation found with session ID' and exited, leaving a bare
shell. After a paired pane's resume relaunch, the runner now watches the new terminal (up to 10 s,
terminal.read); if the resume found no conversation it sends the agent's fresh launch command (with
the Orca Cloud session-env refresh) into that same shell, once. A resume that works is left alone,
and the old terminal is never read.
2026-11-11 00:28:31 -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 52ae03db78 fix(cloud): PC-3b every Orca Cloud agent launch holds when the account isn't set up or expired
composer-redo's #390 run: creating on Orca Cloud with Claude not set up and a first prompt started
Claude straight into 'Not logged in'. A create with a prompt is host-planned (createWorktree's
hostAgentLaunch): the host starts the agent during creation and the desktop hold never runs; its
guard only asked the per-workspace sign-in. Two more host-tab launches called the raw launcher
directly: the background-declined create terminal and the post-wake relaunch.

- signedInHostLaunch plans the launch in the pane (held behind the strip, prompt kept) when the
  creation's host is Orca Cloud and the account decision is 'hold'; account-ready creates keep the
  host-planned launch.
- Both direct sites use launchAgentInWebHostTabWithCloudHold.
- A choke-point test fails if anything but the hold wrapper imports the raw host-tab launcher.
2026-11-11 00:16:46 -08:00
Neil d88abdb89d fix(cloud): RA-11b retry a failed per-workspace Source read when main's sandbox records change
After a wake or app start the first Source read answers not_found (main hasn't reattached the
sandbox record it resolves through yet), and the strip waited for the next minute's account read.
A failed read now also retries when main reports its sandbox records changed (ephemeralVm
onRuntimesChanged), watched only while a strip needs it; good answers are not re-read.
2026-11-11 00:13:38 -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 d5cfd4956d Merge remote-tracking branch 'private/cloud/integration' into cloud/pc3b-composer 2026-11-11 00:11:44 -08:00
Neil c1c1cb387f Merge remote-tracking branch 'private/cloud/integration' into cloud/read-snapshot-signed
# Conflicts:
#	cloud/apps/sandbox-control/image/vm-scripts.generated.ts
#	cloud/apps/sandbox-control/image/vm/orca-sandbox-grant
2026-11-11 00:08:43 -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 1b1da6e61a Merge remote-tracking branch 'private/cloud/pc3b-not-set-up-hold' into cloud/pc3b-composer 2026-11-11 00:00:33 -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