Commit Graph
18335 Commits
Author SHA1 Message Date
Neil 346ceda64c Merge cloud/integration into SEC-6 (KMS unwrapper; kms_unavailable log via secretLog) 2026-11-12 22:40:50 -08:00
Neil 8514964961 fix(cloud): PAIRED-WAKE-TYPE-THROUGH typing during a paired wake is held and delivered to the woken terminal, like owned (#617)
The paired surface's waking cover now lets input through to the pane (pointer-events-none) while it
wakes, shows the held-input count with Clear, and toasts what was delivered, using the same
useWakeInput / useWakeInputNotices / wake-input-buffer as the owned surface. A failed wake covers the
pane again.
2026-11-12 22:34:43 -08:00
Neil 2b63b70402 Merge pull request #614 from nwparker/cloud/enterprise-settings
feat(cloud): ENTERPRISE-AUDIT (2/2) Settings > Enterprise with the team audit log; remove Recent activity
2026-11-12 22:28:08 -08:00
Neil b976ce6324 Merge pull request #611 from nwparker/pl/compare-plans-sweep
fix(cloud): COMPARE-PLANS-SWEEP one label for the plans action
2026-11-12 22:20:39 -08:00
Neil 6bb86411cd Merge cloud/integration into SEC-6 (secret_events from #597 + secretLog) 2026-11-12 22:09:16 -08:00
Neil c1af476589 fix(cloud): PAIRED-WAKING-OVERLAY a paired wake reports connecting until the VM runs, so the Waking overlay shows (#620)
wakePairedCloudWorkspace reported 'ready' as soon as the control plane accepted the wake (well under
the overlay's 300ms show delay) while the VM took ~8s more, so the overlay never appeared and the
pane sat in Reconnecting. It now reports 'connecting' and re-reads status every 1.5s (bounded at
120s) until it says running, then 'ready'; a VM that never runs fails the wake (stalled copy).
2026-11-12 22:05:21 -08:00
Neil 0f6eeb6797 Merge pull request #624 from nwparker/sec2/build-secrets
fix(cloud): SEC-2 builds never get model keys, and fail if a team secret is left on disk
2026-11-12 21:52:27 -08:00
Neil ab27c1d396 fix(cloud): SEC-2 builds never get model keys, and fail if a team secret is left on disk
Environment builds get only the team secrets an admin named, never a swapped model key, hand them to the install script alone, and fail with no snapshot (secret_in_image) when a value is still in a file the build changed.
2026-11-12 21:37:25 -08:00
Neil 3aa92acaa1 fix(cloud): COMPARE-PLANS-SWEEP drop the payment-method Copy link (Neil narrowed Copy link to auth surfaces) 2026-11-12 21:36:46 -08:00
Neil c8f8196f70 test(cloud): glossary allowlist follows the recipe-VM "Delete VM" line (388 -> 412)
Recent create-sheet commits moved VmBuildFailureActions' recipe-VM "Delete VM" branch from line 388
to 412, so cloud-glossary-lint failed on integration HEAD for any premerge that selects it. The
cloud branch still says "Delete sandbox"; only the allowlist line number changes.
2026-11-12 21:22:00 -08:00
Neil e704adaf2a Merge pull request #607 from nwparker/create-speed/agent-picker-width
fix(composer): the Agent menu is as wide as its field in every state (AGENT-PICKER-WIDTH)
2026-11-12 21:09:51 -08:00
Neil fdedb8d093 fix(cloud): PAIRED-BADGE no primary badge on a cloud workspace's own row in the live card; delete dead card header paths (#574)
* fix(cloud): PAIRED-BADGE no "primary" badge or star on a cloud workspace's own row in the LIVE card; delete dead card header paths

#560 gated the badge in worktree-card-header.tsx, which only the unrendered
WorktreeCardParentContent used; the live card (default-workspace-card.json via the element registry)
drew PrimaryBadge/PrimaryStar with no cloud check, so a paired-from-birth row kept "primary". The
gate now sits in the template parts themselves (NotOnCloudRow, useIsCloudHostRow). Deleted the dead
header, parent content and meta row so a fix can't land there again.

* chore(cloud): PAIRED-BADGE drop the deleted meta row from the localization allowlist (path-literal ratchet)
2026-11-12 21:00:54 -08:00
Neil d8e6879615 Merge pull request #603 from nwparker/cloud/paired-held-active
fix(cloud): PAIRED-HELD-ACTIVE a GitHub-only create's held placeholder is its one tab and in front (n39)
2026-11-12 20:57:02 -08:00
Neil ceaaf6034f Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into cloud/enterprise-settings
# Conflicts:
#	src/renderer/src/components/billing/team/TeamPageView.tsx
2026-11-12 20:56:42 -08:00
Neil a99ae6d512 fix(cloud): ENTERPRISE-AUDIT lint gates: fixture data filename, no cast in the category filter, fixed clock in the pane test 2026-11-12 20:52:30 -08:00
Neil 18237d57cd Merge pull request #612 from nwparker/cloud/team-settings-feedback
fix(team): calmer Team dialog; seat facts in Plan & billing, invite seat impact, Leave in row menu
2026-11-12 20:47:22 -08:00
Neil c8e56c2e26 fix(cloud): ENTERPRISE-AUDIT design review: one Contact sales per page, no upsell for an Enterprise team, Former member; API keys pane test for non-Enterprise teams 2026-11-12 20:45:04 -08:00
Neil 6a8d01e9ff Merge pull request #610 from nwparker/create-speed/build-sheet-copy-links
feat(cloud-create): build sheet external links follow COPY-LINK-RULE
2026-11-12 20:43:07 -08:00
Neil 2c2b746cc3 test(cloud): PAIRED-HELD-ACTIVE no-steal tests advance fake timers instead of sleeping (ast-grep test-no-real-time-wait) 2026-11-12 20:36:26 -08:00
Neil 4e7a04c50a feat(cloud): ENTERPRISE-AUDIT (2/2) Settings > Enterprise with the team audit log; remove Recent activity 2026-11-12 20:36:13 -08:00
Neil b369046922 fix(cloud): PAIRED-ACCOUNT-FILTER paired workspaces are scoped by the account their pairing was made under (#605)
* fix(cloud): PAIRED-ACCOUNT-FILTER paired workspaces are scoped by the account their pairing was made under

* perf(cloud): PAIRED-ACCOUNT-FILTER read the active account once per profile-index write, not per paired lookup
2026-11-12 20:31:51 -08:00
Neil fb694dac00 fix(cloud): ARCHIVED-DEAD-ACTIONS archived rows offer no Sleep/Wake/Restart; paired cards don't offer On this computer (#609) 2026-11-12 20:24:25 -08:00
Neil 4a17238c7d fix(cloud): COMPARE-PLANS-SWEEP one label for the plans action; billing blocker's portal button gets Copy link
"See plans" becomes "Compare plans" (the one key, auto.components.billing.comparePlans) on Plan &
billing's and the team plan's upgrade button, the VM build failure card and toast, and the
cloud-session create toast, as design-squad asked. The create sheet's billing blocker "Update
payment method" opens the billing portal in the browser, so it becomes an OpenExternalSplitButton
whose chevron copies the same portal link (COPY-LINK-RULE). Drops the two private keys it replaced.
2026-11-12 20:16:02 -08:00
Neil 84c5932bd9 fix(team): calmer Team dialog; seat facts move to Plan & billing, seat impact on invites, Leave only in the row menu 2026-11-12 20:15:57 -08:00
Neil 3c8c610043 fix(cloud-create): 'Contact support' shows the external-link mark (design-squad) 2026-11-12 20:13:42 -08:00
Neil ff90eaca81 feat(cloud-create): build sheet external links follow COPY-LINK-RULE
'How to push to GitHub' is now an OpenExternalSplitButton: its chevron copies GitHub's
guide (PUSH_TO_GITHUB_URL) without opening it. 'Contact support' sits in the More
menu, where a row can't carry the chevron, so a 'Copy support link' item sits right
below it, the same pattern as 'Copy GitHub link' under 'Add a GitHub repository…'.
The support URL moves to vm-build-repo-actions.ts (ORCA_SUPPORT_URL) next to the
GitHub guide's.
2026-11-12 20:11:21 -08:00
Neil 45aefab3e8 Merge pull request #606 from nwparker/pl/nameless-copy
fix(cloud): NAMELESS-COPY a nameless cloud workspace gets its own sentences
2026-11-12 20:07:01 -08:00
Neil b986eee372 Merge pull request #595 from nwparker/feat/open-external-split-button
feat(open-external): Copy link split button on sign-in, account, billing and GitHub browser buttons
2026-11-12 20:02:28 -08:00
Neil bfaa2e6418 test(cli): packaged launcher argv compares real paths (macOS resolves the /tmp symlink, Linux does not) (#608) 2026-11-12 19:56:50 -08:00
Neil 798b2b5156 fix(composer): the Agent menu is as wide as its field in every state (AGENT-PICKER-WIDTH)
Neil (n39): Project "~" (a folder) with Run on = Orca Cloud opened a 256 px Agent menu
under the full-width field. The composer passed matchTriggerWidth only for a resolved git
repository that isn't a project group (upstream's rule), so a folder, a GitHub-only Orca
Cloud repo or a still-resolving cloud target fell back to min-w-64. The field is always full
width there, so the menu now always matches it (coordinator ruling). The right-aligned
'Not set up' labels are unchanged.
2026-11-12 19:49:22 -08:00
Neil 12053252dc Merge pull request #582 from nwparker/cloud/gh-list-missing
fix(cloud): the GitHub list is never silently empty; a failed read says so with Retry (GH-LIST-MISSING)
2026-11-12 19:36:37 -08:00
Neil ccc8235684 fix(cloud): NAMELESS-COPY a nameless cloud workspace gets its own sentences, never "This workspace" mid-template
Waking card, owned and paired surfaces, the asleep view and the Sleep-failed toast spliced "This
workspace" into {{name}} templates ("Couldn’t wake This workspace", "Waking This workspace.").
cloud-workspace-name-copy.ts gives each sentence an unnamed variant ("Couldn’t wake this
workspace", "Couldn’t put this workspace to sleep", "Waking this workspace."…) and headings read
"Cloud workspace". Drops the two private fallback keys it replaced.
2026-11-12 19:34:27 -08:00
Neil 8f4e25ec5e fix(cloud): SLEEP-IN-PROGRESS (2/2) paired cloud workspaces get the waking overlay, an asleep read-only view and the saving state (#601)
* fix(cloud): SLEEP-IN-PROGRESS (2/2) a paired cloud workspace shows the waking overlay, its sealed read-only copy with Wake to continue, and the saving state after Sleep

- PairedCloudWorkspaceSurface, mounted from OrcaCloudWorkspaceSurface for paired rows
- the same CloudWakingOverlay (Retry wakes through the control plane, billing copy included)
- asleep: the control plane's sealed snapshot via useCloudReadSnapshot + CloudReadSnapshotView
- Sleep marks a paired copy saving; re-read every 2.5 s until a new-enough copy, failed at the deadline
- useWakeOverlay moved to its own module (shared by owned and paired)

* fix(cloud): SLEEP-IN-PROGRESS (2/2) re-read the sealed copy through the window-visibility interval (recurring-timer ratchet)
2026-11-12 19:26:54 -08:00
Neil 5aa721e324 fix(cloud): PAIRED-ARCHIVE Archive and Unarchive for paired cloud workspaces (hovercard and sidebar menu); paired Delete joins the INT-T1 archive guard (#602) 2026-11-12 19:15:18 -08:00
Neil c12745b2a1 fix(cloud): PAIRED-HELD-ACTIVE a GitHub-only create's held placeholder is the workspace's one tab and in front (the initial-terminal seeder no longer covers it) 2026-11-12 18:56:21 -08:00
Neil 4fcc4721ae fix(cloud): SLEEP-IN-PROGRESS (1/2) say the read-only copy is saving until it is in, and say so if it never arrives (#580)
* fix(cloud): SLEEP-IN-PROGRESS (1/2) a sleeping cloud workspace says it is saving its read-only copy until the copy is in, and says so if it never arrives

From the Sleep press until a copy at least as new as the press is read back, the row ("Going to
sleep · Saving copy…"), the asleep view and the Files pane show a saving state instead of their
"nothing was saved" lines or an older copy; the view polls every 2.5s meanwhile. No copy within 90s:
"Couldn't save a read-only copy. Your files are safe in the workspace." with Wake. Owned workspaces
(paired ones have no read-only view yet: 2/2). Copy and layout per design-squad.

* chore(cloud): SLEEP-IN-PROGRESS drop the two now-unused localization keys
2026-11-12 18:43:46 -08:00
Neil 63b8b1eed7 fix(cloud): PAIRED-GIT-SETUP a paired row gets the commits-and-pushes-off strip and its Restart; paired card fixtures show Wake/Restart (#593) (#599) 2026-11-12 18:31:29 -08:00
Neil 3bfe3a03fb fix: drop catalog keys the Copy link chevron replaced; no casts in link tests 2026-11-12 18:24:00 -08:00
Neil 87a1f77f63 Merge pull request #568 from nwparker/cloud/paired-held-strips
fix(cloud): PAIRED-HELD-STRIPS paired-from-birth workspaces hold and strip like any Orca Cloud workspace
2026-11-12 18:23:55 -08:00
Neil 10b265d7a8 test: stub the widened hosted client in the GitHub link IPC test 2026-11-12 18:18:51 -08:00
Neil 1c3aa50908 fix(cloud): PAIRED-WAKE (2/2) Wake and Restart for paired cloud workspaces in the panel and hovercard (#593)
Restart reaches a paired workspace's sandbox: main's restart resolves a bound pairing
(restartPairedOrNotCloud) and restarts it through the control plane, dropping the bound server's
dead connection so it reconnects, with the same waking > connecting > ready / failed progress as an
owned restart. The panel offers Wake (the sidebar open path, which wakes paired rows since #571/#583)
and Restart on paired rows again; Archive and Move stay hidden until PAIRED-ARCHIVE.
2026-11-12 18:18:47 -08:00
Neil 9153d4ee88 Merge remote-tracking branch 'private/cloud/integration' into feat/open-external-split-button
# Conflicts:
#	src/renderer/src/components/orca-cloud/CloudSetupNotices.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-12 18:15:51 -08:00
Neil 46b41faf7b fix(cloud): CLOUD-ROW-DUP-TAG no Orca Cloud host pill on cloud rows (owned or paired); line 2 stays for the state word (#592) 2026-11-12 17:45:56 -08:00
Neil 1317dce10e fix(cloud): GH-LIST-MISSING review: Retry is a keyboard row with a Loading… state; identity includes the team role
design-squad: arrow keys land on Retry like on any row, Enter runs it, and while it reads it shows
Loading… and can't run twice. Coordinator: the GitHub list (and other team answers) re-read on an
owner/member role switch; tests cover owner → member → owner, then a restart.
2026-11-12 17:39:46 -08:00
Neil 00be51f267 fix(cloud): the GitHub list is never silently empty; a failed read says so with Retry (GH-LIST-MISSING)
A failed first page resolved as an empty listing, cached for 5 minutes per identity, and an empty
list hides the Project picker's GitHub section: after a restart or role change the section was
gone for minutes. A failed read now isn't cached and the section says 'Couldn't load GitHub
repositories. Retry'; an empty answer isn't kept either, so each open asks again.
2026-11-12 17:39:44 -08:00
Neil 52e3ed627c Merge pull request #572 from nwparker/cloud/repo-access-refresh
feat(cloud): back from GitHub, the new repository shows up and is picked (REPO-ACCESS-REFRESH)
2026-11-12 17:39:28 -08:00
Neil f356ef8412 Merge pull request #588 from nwparker/create-speed/option-trash-cloud
fix(sidebar): Option shows the trash on cloud workspace rows, owned and paired (OPTION-TRASH-CLOUD)
2026-11-12 17:37:00 -08:00
Neil ce321f0bb5 feat(open-external): Copy link split button on every sign-in, account, billing and GitHub browser hop
Every button that opens a URL in the external browser gets a chevron with
"Copy link" that copies the exact URL (minted the same way for lazy links),
for incognito windows or another browser profile.
2026-11-12 17:36:32 -08:00
Neil 3586ed611e fix(cloud): PAIRED-WAKE opening a paired workspace right after its Sleep wakes it (P0, n38 GATE) (#583)
* fix(cloud): PAIRED-WAKE opening a paired workspace right after its Sleep wakes it (fresh status read; paired Sleep refreshes the row)

n38 GATE: the first open after Sleep sat in "Reconnecting… retrying automatically" with a green
Active dot. wakePairedCloudWorkspaceIfAsleep read status through the 30s cache, and paired Sleep
never refreshed it, so the cache still said "ready" and no wake ran (a later open, past the cache,
woke it). The open now always reads status fresh; paired Sleep re-reads the row's status at once
(Asleep, not Active) and notes it slept here, so a failed read on the next open still wakes it.

* test(cloud): PAIRED-WAKE literal result types in the first-open mocks
2026-11-12 17:34:08 -08:00
Neil 038264f711 fix(cloud): PAIRED-CHROME paired rows get the live cloud mark, state word and hovercard (#569)
* fix(cloud): PAIRED-CHROME paired rows get the live cloud mark, state word and hovercard (actions main can't run for them yet hidden)

* test(cloud): PAIRED-CHROME paired-row hovercard fixtures (running, asleep, menu)

* fix(cloud): PAIRED-CHROME asleep paired card says opening it wakes it (no Wake button until PAIRED-WAKE 2/2); split the card's primary action
2026-11-12 17:27:38 -08:00