Commit Graph
23361 Commits
Author SHA1 Message Date
Neil d12fcb60e9 Merge pull request #741 from nwparker/cloud/account-admin-entry
Settings: no Team or Enterprise page; Account › Team & admin opens the web console
2026-11-14 03:16:18 -08:00
Neil 48b9dada46 fix(settings): drop the Team and Enterprise settings pages; Account gets one "Team & admin" row to the web console
After #738 both pages were a single "Manage in browser" card. Team and admin now have no desktop
page: Settings › Account shows one row, "Team & admin", that opens the console home through the
single-use ticket, beside the existing Plan & billing row. The account menu keeps Team and
Plan & billing (both open the console). Searching for members, SSO, the audit log or Enterprise
lands on the Account row. The 'cloud-team' and 'cloud-enterprise' settings targets, their search
entries and their strings are removed; nothing else linked to them.
2026-11-14 03:06:23 -08:00
Neil b5939b76ea Merge pull request #738 from nwparker/cloud/strip-admin-ui
feat(cloud): move team, billing and Enterprise admin UI to the web console
2026-11-14 02:39:13 -08:00
Neil 26e2684877 fix(cloud): console handoff opens auth's ticket url ({url, expiresAt}); fallback is <consoleOrigin>/console 2026-11-14 02:21:04 -08:00
Neil 92cbe9f74e feat(cloud): move team, billing and Enterprise admin UI to the web console
Owner decision: paid and admin settings do not belong in the open-source desktop app.
Deletes the Enterprise pane (SSO, domains, SCIM, MFA policy, audit log), the Plan & billing
section and plans dialog (checkout, usage history, plan-feature-copy), and Team management
(members, invites, roles, leave, delete, create), with their hooks, fixtures, tests, i18n keys
and the main/preload/IPC only they used.

Each removed section is now one "Manage in browser" row. Main asks auth for a single-use
console code (POST /v1/desktop/console/ticket {page, orgId?} -> {code}) and opens
<consoleOrigin>/console/<section>?code=... with shell.openExternal; on any failure it opens the
page without a code. Endpoint, field names and origin live in cloud-console-config.ts
(ORCA_CLOUD_CONSOLE_URL overrides the origin, default is the auth origin).

Kept: sign-in, account identity and own MFA row, the team MFA gate/banners, the team switcher,
the roster (presence, names), plan status badge and payment notice, in-context billing
blockers (now "Compare plans" opens the console and re-checks on focus), cloud setup.
2026-11-14 02:21:04 -08:00
Neil 1b3b6b98b4 Merge pull request #739 from nwparker/cloud/billing-console-return
billing: console-started Checkout/Portal return to the console billing page
2026-11-14 02:20:55 -08:00
Neil b9a2ff9896 feat(billing): Checkout and the Customer Portal started from the web console return to its billing page
POST /v1/billing/checkout and /portal accept returnTo: 'console'. The return URL is built from
this Worker's CONSOLE_URL (else the setup pages' auth origin, which forwards /console) and the
caller's own team, never from the request. Desktop-started flows keep the /return handoff page.
2026-11-14 02:18:51 -08:00
Neil f1573ece1c test(billing): use the real help@stably.ai inbox in supportUrl fixtures (orca.dev has no MX) (#740) 2026-11-14 02:01:12 -08:00
Neil 16f12f4d6e fix(plans,settings): list the audit log once on Enterprise; fade audit rows at scrolled edges (#737)
The SSO line said "SSO, SCIM provisioning and audit logs" next to billing's own "Team audit log" line; it now reads "SSO and SCIM provisioning". Copy only, no entitlement change.

The audit log scroller uses the shared useScrollEdgeFades mask: a top fade only once scrolled, a bottom fade only while more is below. The rule and focus ring move to an unmasked frame.
2026-11-13 16:10:44 -08:00
Neil 69aad2aeaa fix(settings): audit log scrolls in place instead of growing the settings page (#735)
* fix(settings): audit log scrolls in place instead of growing the settings page

The rows and Show more sit in a keyboard-focusable region capped at min(24rem, 60vh); the header, export and filters stay above it.

* style: oxfmt

* fix(settings): add the audit scroll label to en.json; move the scroll region to its own file (max-lines)
2026-11-13 15:44:11 -08:00
Neil 613d0d42c2 fix(plans): stop advertising egress controls on the Enterprise plan (#736)
* fix(plans): stop advertising egress controls on the Enterprise plan

No team can choose an egress policy today (SANDBOX_EGRESS_PRESET is operator-wide and open by default), so the plan cards drop the egress_controls line. The catalog feature and entitlements are unchanged.

* style: oxfmt
2026-11-13 15:42:12 -08:00
Neil f65c5b3c81 Merge pull request #734 from nwparker/cloud/premerge-tc-sandbox-control
chore(premerge): gate sandbox-control's own typecheck (clean since #733)
2026-11-13 11:20:41 -08:00
Neil c1acb65ea0 chore(premerge): gate sandbox-control's own typecheck (clean since #733) 2026-11-13 11:18:55 -08:00
Neil 857ca653b0 Merge pull request #733 from nwparker/create-speed/sc-typecheck
fix(cloud): sandbox-control typecheck to zero
2026-11-13 11:18:45 -08:00
Neil 84a776923c docs(cloud): sandbox-control typecheck split pinned by path; README on why raw tsc shows imported diagnostics 2026-11-13 11:16:23 -08:00
Neil ec679a8f52 fix(cloud): sandbox-control typecheck to zero (SANDBOX-CONTROL-TYPECHECK) 2026-11-13 11:14:50 -08:00
Neil f2391aff70 Merge pull request #732 from nwparker/cloud/premerge-cloud-pkg-typecheck
chore(premerge): typecheck each touched cloud/ package that is listed as clean
2026-11-13 11:10:45 -08:00
Neil 6fc2b8951b chore(premerge): typecheck each touched cloud/ package that is listed as clean
The root pnpm typecheck covers no cloud/ package and vitest strips types, so cloud
packages' own type errors went unseen (261 in sandbox-control). premerge-check.sh now
runs the own pnpm typecheck of every touched cloud/apps or cloud/packages package listed
in premerge-typecheck-packages.txt, after installing the cloud workspace and building its
packages. The list holds the 11 packages that are clean today; sandbox-control joins once
its errors are fixed.
2026-11-13 11:08:52 -08:00
Neil 32b21bb4cb Merge pull request #731 from nwparker/cloud/owner-transfer-timing
feat(cloud): TRANSFER-SLOW-N60: a completed owner hand-off logs per-step timings
2026-11-13 11:07:13 -08:00
Neil d20dc4e20a feat(cloud): TRANSFER-SLOW-N60 a completed owner hand-off logs how long each step took 2026-11-13 11:04:44 -08:00
Neil 46f081f336 Merge pull request #703 from nwparker/cloud/g9-claude-key-tail
fix(cloud): G9 never write a real ANTHROPIC_API_KEY tail into ~/.claude.json
2026-11-13 10:33:28 -08:00
Neil 3ec2ff557a fix(cloud): unreachable GitHub repository on a remote-server project says so with More access (UNREACHABLE-REPO-NO-ROUTE) (#730)
* fix(cloud): Orca Cloud on a remote-server project whose GitHub repository it can't reach says so with More access, not the folder wording (UNREACHABLE-REPO-NO-ROUTE)

* fix(cloud): UNREACHABLE-REPO-NO-ROUTE design-squad: 'Give Orca access' link, muted (not red) precondition line, fixture

* test(cloud): OrcaCloudNeedsRepoSubmit fixtures press the footer's Create

* fix(cloud): UNREACHABLE-REPO-NO-ROUTE the Project field's ring is amber while Orca Cloud waits for a GitHub repository (design-squad); aria-invalid kept

* fix(cloud): UNREACHABLE-REPO-NO-ROUTE ring classes stay literal (localization audit), drop the unreferenced remoteServerDetail key
2026-11-13 10:06:25 -08:00
Neil 438982b0ef fix(cloud): a refused create's row offers Retry and Dismiss, and the next create replaces it (REFUSED-CREATE-ROW-STICKY) (#729)
* fix(cloud): a refused create's row offers Retry and Dismiss, and a new create replaces it (REFUSED-CREATE-ROW-STICKY)

* fix(cloud): REFUSED-CREATE-ROW-STICKY a billing or limit refusal's cloud glyph is amber, a real failure stays red (design-squad)
2026-11-13 09:34:57 -08:00
Neil ea58d9ee1e fix(cloud): a project cloned only on a remote server offers Orca Cloud in Run on (RUNON-NO-NEW-SANDBOX) (#727)
* fix(cloud): a project cloned only on a remote server offers Orca Cloud in Run on and starts it from its GitHub repository (RUNON-NO-NEW-SANDBOX)

* fix(cloud): RUNON-NO-NEW-SANDBOX design-squad wording for an unreachable repository
2026-11-13 09:20:23 -08:00
Neil 8e866e83ef Merge pull request #728 from nwparker/cloud/transfer-toast-other-device
fix(cloud): TRANSFER-TOAST-OTHER-DEVICE: no echo of your own owner change on other devices
2026-11-13 09:18:31 -08:00
Neil 1b0f087214 fix(cloud): TRANSFER-TOAST-OTHER-DEVICE the 'You made X the owner' notice shows only on the device that made the change 2026-11-13 09:14:00 -08:00
Neil 3f2e7e84be fix(cloud): a team switch moves off the old team's paired cloud workspace, and the status bar counts only this team's hosts (TEAM-SWITCH-STALE-PANE) (#726)
The team-switch leave fired only for an owned workspace's host going from
the team's (+) to hidden (-); a paired one's host is ~ since #690, so the
main pane kept showing another team's workspace after the switch (n57).
It leaves for ~ to - too. The status bar's host list and count now drop
another team's cloud servers, the same scope as the sidebar (#722).
2026-11-13 09:11:37 -08:00
Neil a58988ea8b fix(cloud): Follow and the Following section use the workspace's current owner, so after a hand-off the new owner gets no Follow (FOLLOW-OWN-AFTER-TRANSFER) (#725) 2026-11-13 08:45:00 -08:00
Neil ea5bc46199 fix(cloud): a paired cloud workspace's terminal recovery knows it is asleep or waking (ASLEEP-SR-RECONNECTING) (#724)
useCloudRecoveryContext counted only owned workspaces as cloud, so for a
paired one its asleep and waking states were unknown to the recovery
notices: the remote-server outage notice ('Reconnecting to ... (cloud)',
role=status, aria-live=polite) stayed up under the asleep view, where a
screen reader would announce it (n56 DOM dump). Paired rows count as cloud
there too, so the notice stays silent while asleep or waking.
2026-11-13 08:43:00 -08:00
Neil 060e47ba0f fix(cloud): opening from the picker waits for the workspace's row before revealing it (PICKER-OPEN-INTERMITTENT) (#723)
Right after pairing, the server can answer the project and worktree reads
before it lists the workspace's own row; the row lands a moment later.
connectAndReveal looked once, found nothing, toasted 'is connected' and
returned, so the picker closed and nothing was selected (n48, n55). It now
waits a bounded 15 s for the row (the picker spinner and #710's Opening
toast cover the wait), then reveals it as before.
2026-11-13 08:29:09 -08:00
Neil f5ed624a93 Merge pull request #721 from nwparker/cloud/owner-transfer-desktop
feat(cloud): OWNER-TRANSFER desktop: confirmation, notices, Owner changed chip, audit wording
2026-11-13 08:24:58 -08:00
Neil 61ff0b940c fix(cloud): another team's cloud workspace is neither a Run on target nor announced as reconnecting, same scope as the sidebar (STALE-RUN-TARGET) (#722) 2026-11-13 08:16:30 -08:00
Neil e6540b0859 fix(cloud): OWNER-TRANSFER en catalog matches the approved audit fallback 2026-11-13 08:09:40 -08:00
Neil 86a039a6c8 fix(cloud): a Restart's own invalidate never shows 'This operation was aborted' (RESTART-ABORT-BANNER) (#719)
* fix(cloud): a Restart's own transport invalidate never shows 'This operation was aborted'; a stream mid-setup fails as recoverable and the pane resubscribes (RESTART-ABORT-BANNER)

* test(cloud): RESTART-ABORT-BANNER type the subscribe result as a promise

* test(cloud): RESTART-ABORT-BANNER no type assertions in the invalidate test
2026-11-13 08:08:48 -08:00
Neil 5dfc617112 fix(cloud): OWNER-TRANSFER confirmation lists consequences as bullets; audit fallback says Notified 2026-11-13 08:06:40 -08:00
Neil 9c486f4107 fix(cloud): the type-through waking pill never takes focus; no reconnect banner on the asleep view (PAIRED-WAKE-TYPE-THROUGH, ASLEEP-RECONNECT-BANNER) (#720)
The waking overlay moved focus to itself when it mounted (~0.3 s into a
wake) unless the wake had failed, the type-through pill included: the
first key reached the terminal and was held, every later key went to the
overlay and was lost (n53: 'e' held, 22 lost). The pill now leaves focus
where it is while typing goes through. The reconnect banner was held while
waking or going to sleep but not once asleep; asleep holds it too.
2026-11-13 08:04:36 -08:00
Neil ff6c7599c1 feat(cloud): OWNER-TRANSFER desktop says what an owner change does and tells the people it affects
- Make owner confirmation lists what happens (sleeps, share links stop, the
  disk goes with it, shared mode for good), stays open while the workspace
  goes to sleep, and shows a refusal in place.
- Whoever made the change is told whether the previous owner will see a notice.
- The previous owner gets a notice (until dismissed) advising them to rotate
  personal secrets; the new owner is told once that it runs like a shared
  workspace.
- "Owner changed" chip in the top bar and a line in the sidebar hover card.
- Audit log words Orca's "previous owner told" row, and a row cut short shows
  its whole sentence on hover (AUDIT-TRUNC-HOVER).
2026-11-13 08:03:56 -08:00
Neil 634f7753fb fix(cloud): a paired cloud workspace put to sleep on screen stays on its asleep view, not Home (SLEEP-HOME-REGRESSION) (#716)
Sleeping a paired cloud workspace on screen left for Home (n49/n51): the
asleep-view hold only knew owned workspaces, and the host's sleep stops the
workspace's terminals (or its chat), so its last tab closed and every
'emptied workspace' path landed on Home within half a second. The hold now
takes paired rows too, and the store's last-tab close, the emptied reaction
and the terminal tab close all stay on a workspace held asleep on screen.
The asleep view is the workspace's, not a tab's, so it covers a workspace
with no tab left (terminal-only and chat-only alike).
2026-11-13 07:46:35 -08:00
Neil 9c1feb60da Merge pull request #718 from nwparker/cloud/owner-transfer-notice-retention
feat(cloud): OWNER-TRANSFER previous-owner notices expire after 90 days and go with a deleted team
2026-11-13 07:43:38 -08:00
Neil 647c1bbbe6 fix(cloud): a paired wake shows as waking from the press, so the first second's typing reaches the hold (PAIRED-WAKE-TYPE-THROUGH) (#717)
#692 began the typing hold at the press, but the 'waking' report (which
moves the paired surface from its asleep cover, inert over the pane, to
the type-through waking layer) still came after an awaited bindings read.
Keys typed in that first second hit the inert pane and were lost (n49:
2/2, n51: 1/2). The wake now reports waking at the press; a row whose
sandbox can't be found still ends with its not-linked card.
2026-11-13 07:41:11 -08:00
Neil 648f5bb67f feat(cloud): OWNER-TRANSFER previous-owner notices expire after 90 days and go with a deleted team 2026-11-13 07:39:07 -08:00
Neil ce3c58040b fix(cloud): EP-4 a secret with no ending says why (tooltip) (#715)
* fix(cloud): EP-4 a secret with no ending says why: too short, or only owners and admins see it (tooltip and screen-reader label)

* fix(cloud): EP-4 design-squad wording: 'last characters', 'Short values are fully hidden'
2026-11-13 07:34:54 -08:00
Neil 1f3ae41b96 Merge pull request #714 from nwparker/cloud/chat-first-tab
fix(cloud): CLOUD-CHAT-FIRST-TAB no plain shell seeded in front of a create's first chat
2026-11-13 07:30:19 -08:00
Neil a58aad5522 Merge pull request #713 from nwparker/cloud/owner-transfer-notify
feat(cloud): OWNER-TRANSFER tell the previous owner; expose the owner-changed mark
2026-11-13 07:27:20 -08:00
Neil 0f23abb59d test(cloud): CLOUD-CHAT-FIRST-TAB seeder test state is annotated, not cast 2026-11-13 07:24:45 -08:00
Neil 4061fe68f3 Merge pull request #687 from nwparker/cloud/ep11-plan-copy
fix(cloud): EP-11 the plan blocker says 'ended' only for a plan that existed
2026-11-13 07:24:45 -08:00
Neil 654c58e5fb fix(cloud): a paired Unarchive settles its wake, so the row isn't left waking with Archive disabled (ARCHIVE-MENU-DISABLED) (#712)
Main's paired unarchive reported waking (source unarchive) but never
ready on success. The control plane answers once the VM is up, so the
window's open found it running and started no wake of its own, and
nothing settled the event: the row stayed waking (Archive disabled) until
the overlay called it stalled ('stopped responding while waking'). Main
now reports ready when the paired unarchive succeeds, and the renderer
settles a still-pending unarchive wake from a fresh read that says ready.
2026-11-13 07:22:23 -08:00
Neil caffab508b fix(cloud): CLOUD-CHAT-FIRST-TAB a create whose first agent opens as a chat seeds no shell in front of it (chat counts as the first surface; the create holds the seeder off while its chat opens) 2026-11-13 07:22:17 -08:00
Neil e429e917cf fix(cloud): opening a cloud workspace says so while it waits, and a timeout or a missing workspace says why (EP-6-FLAKE) (#710)
An open could wait up to 120 s (a grant or wake timing out, or a workspace
created, slept or deleted on another device mid-open) with nothing on
screen, then drop the person on Home. While an open runs, a loading toast
appears after 3 s ('Opening {{name}}...'); a timeout is a warning with Try
again; a workspace the server no longer has (not_found) fails at once with
'Couldn't find {{name}}' and Show cloud workspaces. The picker's own row
spinner holds the toast back until the picker closes; a GitHub-only
create's pending row keeps its own progress. design-squad copy.
2026-11-13 07:20:16 -08:00
Neil 881b82e401 Merge pull request #711 from nwparker/create-speed/snap404-skip-deleted
fix(cloud): the fresh-build 404 retry never runs for a create its owner deleted
2026-11-13 07:16:53 -08:00