Commit Graph
5528 Commits
Author SHA1 Message Date
Neil 7a07d9cafb feat(cloud): PARITY-FOLLOW phase 2: Follow, followers and the Following section (#665)
* wip(cloud): PARITY-FOLLOW design fixtures (top-bar followers, sidebar Team and Following)

* feat(cloud): PARITY-FOLLOW phase 1: sidebar Team list and the top bar's people (creator and who is here now)

* test(cloud): PARITY-FOLLOW fixtures name the workspace a teammate is in

* fix(cloud): PARITY-FOLLOW fixture typecheck

* feat(cloud): PARITY-FOLLOW follow endpoint: workspace_follows (0055), PUT/DELETE /v1/team/workspaces/:id/follow, followers in workspace views

* fix(cloud): PARITY-FOLLOW lint: the hover action's wrapper owns its visibility; no Button restyles; no side effect in a state updater

* feat(cloud): PARITY-FOLLOW phase 2: Follow in the top bar, followers in the stack, Following section in the sidebar

* test(cloud): PARITY-FOLLOW no real-time wait in the live-read test
2026-11-13 02:59:54 -08:00
Neil 0b47e51cb9 feat(cloud): SSO-FOLLOWUPS identity-provider-managed members on the Team page; a clear message when single sign-on ends a sign-in (#653)
* feat(cloud): SSO-FOLLOWUPS members managed by the identity provider on the Team page; a clear message when single sign-on ends a sign-in

* fix(cloud): import the roster type where it is used

* feat(cloud): wording for single sign-on and directory sync events in the audit log

* fix(cloud): the missing-DNS-record audit line reads as an action (design-squad)
2026-11-13 02:22:04 -08:00
Neil 2642b3e4d0 feat(cloud): PARITY-FOLLOW follow endpoint: workspace_follows (0055), PUT/DELETE /v1/team/workspaces/:id/follow, followers in workspace views (#654) 2026-11-13 02:17:45 -08:00
Neil 8f9354d0c7 Merge pull request #637 from nwparker/cloud/secrets-effective-shared
feat(cloud): SECRETS-EFFECTIVE-SHARED effective view answers for shared workspaces (stacked on #632)
2026-11-13 01:25:21 -08:00
Neil 7645922c24 Merge pull request #645 from nwparker/cloud/w6-repo-can-install
feat(sandbox-control): canInstall on repo-access (REPO-CAN-INSTALL)
2026-11-13 01:18:27 -08:00
Neil ac20858712 feat(cloud): ENTERPRISE-SSO Settings › Enterprise single sign-on and directory sync (SCIM dark, server-driven) (#619)
* feat(cloud): ENTERPRISE-SSO Settings › Enterprise single sign-on and directory sync, driven by server state

* feat(cloud): key icon on the single sign-on group title (TEAM-DIALOG-2)

* fix(cloud): Contact us in the SSO block is a plain button; Copy link is for sign-in surfaces

* test(cloud): the copied SSO setup link is minted like the opened one and never logged

* fix(cloud): design-squad review of the SSO blocks (sentence-case chips, directory sync icon, grace and last-change wording)

* fix(cloud): sentence-case success badge variant for the SSO chips; catalog matches the new copy

* fix(cloud): register the Enterprise IPC handlers with the team handlers (file line limit)
2026-11-13 01:16:02 -08:00
Neil 2e36fa4d56 fix(cloud): ENV-NOTICE-ACTIONS setup notices get plain words and a real fix, or don't show; no Install where it can't install (#644)
* feat(cloud): every setup notice line has plain words and a real action, or doesn't show (ENV-NOTICE-ACTIONS)

- Doctor checks that reached the bare 'check' line now classify: low disk ('disk')
  and a missing repo tool ('tool') get their own plain words; disk.free without a
  code and any check this desktop doesn't know are hidden, never a bare label.
- The push notice reads repo access plus the person's own gh rights on the repo
  (new gitHubInstallRights IPC): Install on {owner} only where installing can
  work, 'Copy request for an owner' once an owner was asked, Check again where
  the App already reaches the repo, plain words for someone else's public repo
  (octocat/Hello-World). Install no longer carries a Copy link.

* copy(cloud): a push nobody here can install offers Copy request for an owner (design-squad, ENV-NOTICE-ACTIONS)

* fix(cloud): ENV-NOTICE-ACTIONS rebase onto AUTH-ONLY-COPY-LINK: the owner request takes the install page from the repo-access answer
2026-11-13 01:03:53 -08:00
Neil 35520d4da0 Merge remote-tracking branch 'private/cloud/integration' into cloud/w6-repo-can-install-local 2026-11-13 00:43:49 -08:00
Neil 0454bd5b22 Merge remote-tracking branch 'private/cloud/integration' into secrets-effective-shared 2026-11-13 00:42:28 -08:00
Neil 07c34913f2 Merge pull request #623 from nwparker/create-speed/gh-create-row-cancel
fix(cloud-create): GitHub-only creates get a sidebar row and a real Cancel (GH-CREATE-NO-ROW, GH-CREATE-CANCEL)
2026-11-13 00:37:11 -08:00
Neil c055544ad3 Merge remote-tracking branch 'private/cloud/integration' into cloud/mfa-enforcement-ui
# Conflicts:
#	src/main/hosted-sandbox/hosted-sandbox-config.ts
2026-11-13 00:10:56 -08:00
Neil 2a4f0fe4f3 Merge pull request #627 from nwparker/feat/auth-only-copy-link
fix(cloud): AUTH-ONLY-COPY-LINK Copy link only on sign-in pages
2026-11-13 00:10:06 -08:00
Neil a2f63a0c7d fix(sandbox-control): canInstall never says false for an unreadable org membership
A GitHub App user token generally can't read orgs the App isn't installed on, which is
exactly when canInstall is asked. Read the owner type anonymously first (GET /users/{owner}):
another user's account is false; an org is true only for active admin, false for another
role/state, and null for 403/404/errors/timeouts. Owner-type lookup failures are null.
2026-11-13 00:09:05 -08:00
Neil 1049be50c2 feat(sandbox-control): canInstall on GET /v1/github/repo-access (REPO-CAN-INSTALL)
Present while the Orca GitHub App isn't installed for the repo owner ('missing', or
'public' with no installation). true: the caller's connected GitHub login is the owner,
or their membership in the owner org is active admin. false: member, non-member (403/404),
or another user's account. null: no connected GitHub user token, the token can't be read
or refreshed, or GitHub errored / timed out (3 s). Never fails the answer.

The token comes from memberGitIdentity (decrypt + refresh near expiry).
2026-11-13 00:06:50 -08:00
Neil 2c72382776 Merge pull request #541 from nwparker/cloud/w6-passenv-warning
fix(recipes): scope the recipe-host env warning to the recipe's passEnv
2026-11-12 23:54:41 -08:00
Neil 0180dd1834 Merge remote-tracking branch 'private/cloud/integration' into secrets-effective-shared 2026-11-12 23:51:22 -08:00
Neil af0d0802a4 Merge remote-tracking branch 'private/sec5/shared-workspace-secrets' into secrets-effective-shared 2026-11-12 23:51:16 -08:00
Neil 0ce35bb1ab Merge remote-tracking branch 'private/cloud/integration' into feat/auth-only-copy-link 2026-11-12 23:48:21 -08:00
Neil df55fc4786 feat(cloud): COPY-LINK-FIRST-CLICK Copy link on the first Sign in and Continue in browser (#616)
* feat(cloud): COPY-LINK-FIRST-CLICK Copy link on the first Sign in and setup's first Continue in browser starts the same flow without opening the browser

* feat(cloud): COPY-LINK-FIRST-CLICK loopback sign-in links say they open in any browser on this computer (menu line and copied toast)

* fix(cloud): COPY-LINK-FIRST-CLICK Copy link stays on sign-in only; the choose-plan Continue in browser has no copy link
2026-11-12 23:45:34 -08:00
Neil bd8e7002cb fix(cloud-create): GitHub-only creates get a sidebar row and a real Cancel (GH-CREATE-NO-ROW, GH-CREATE-CANCEL)
NO-ROW: a create with no project here yet (GitHub-only Orca Cloud) now has its pending row
atop the list when grouped by project too (it got a blank 'repo:' section before). While it
opens, openCloudWorkspace reports the server it pairs to (onHost); the sidebar hides that
server's rows until the hand-off removes the pending row, both in one store update, so the
workspace never shows twice.

CANCEL: createSandboxWithProgress (owned and GitHub-only creates) deletes what a cancel
leaves: cancelled in flight, it replays the create by its Idempotency-Key and deletes the
sandbox the control plane hands back (reclaimCancelledCreate, retrying while the first is
still in progress); cancelled just as it answered, it deletes it. A cancelled clone already
deleted itself. The GitHub runner deletes the sandbox when Cancel lands before or during
Open workspace (which also drops this computer's pairing), and cancel's 'Deleting the
sandbox…' waits for it. Copy link moves to cloud-workspace-share-link.ts (re-exported) to
keep open-cloud-workspace.ts within max-lines.
2026-11-12 23:42:48 -08:00
Neil 6ede37591f Merge remote-tracking branch 'private/cloud/integration' into cloud/mfa-enforcement-ui 2026-11-12 23:40:03 -08:00
Neil 70cfedb625 Merge pull request #594 from nwparker/cloud/remove-home-listing
feat(cloud): remove Home's cloud workspaces list; Open cloud workspace… picker; Landing Add project uses the Add project menu (HOME-CLOUD-LIST-RM)
2026-11-12 23:39:36 -08:00
Neil a065360a31 feat(cloud): effective secrets view answers for shared workspaces (no personal values), with a note 2026-11-12 22:56:54 -08:00
Neil ebacf7c882 fix(cloud): premerge lint: type guards instead of assertions, MFA member fields in their own file, runtime catalog, link-muted button 2026-11-12 22:47:05 -08:00
Neil 97712d56f8 Merge remote-tracking branch 'private/cloud/integration' into cloud/mfa-enforcement-ui 2026-11-12 22:39:26 -08:00
Neil 793f4c733f Merge remote-tracking branch 'private/cloud/integration' into feat/auth-only-copy-link
# Conflicts:
#	src/renderer/src/components/billing/team/TeamPageView.tsx
2026-11-12 22:33:51 -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 770545ea0f Merge remote-tracking branch 'private/cloud/integration' into feat/auth-only-copy-link 2026-11-12 22:21:22 -08:00
NeilandClaude 85173fa583 feat(cloud): remove the Home cloud workspaces list; add Open cloud workspace… picker (HOME-CLOUD-LIST-RM)
Landing is back to upstream's layout; its Add project opens the sidebar's
Add project menu. Everything only the Home list did moves to one picker
reached from the Add project menus, the palette, and every former Home
pointer (paired-wake not-paired card, primary-delete toast, running limit,
teammate profile, team delete).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-12 22:11:00 -08:00
Neil acf2b1c8d1 Merge remote-tracking branch 'private/cloud/integration' into cloud/mfa-enforcement-ui
# Conflicts:
#	src/renderer/src/components/billing/team/TeamMemberList.test.tsx
2026-11-12 22:06:05 -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 25ba73d328 fix(cloud): AUTH-ONLY-COPY-LINK Copy link only on sign-in pages
Copy link (the split button's chevron) is for auth and sign-in pages, where
people paste the URL into an incognito window. Billing, contact sales, help,
support and the GitHub App install go back to plain buttons; the billing and
App-install link-only IPCs are removed.
2026-11-12 21:47:06 -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 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 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 3a7d02e4ee feat(cloud): team MFA policy plumbing, banner, blocked screen and Require MFA row (views) 2026-11-12 20:33:26 -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 123ba0572d feat(cloud): MFA status column for team admins and two-factor row in Settings, Account 2026-11-12 20:29:29 -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 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 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 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 4bdcac157a Merge pull request #576 from nwparker/pl/wake-billing-card
fix(cloud): PAIRED-BILLING a wake the plan refused says why, never the code
2026-11-12 16:32:23 -08:00
Neil 062d85cec6 fix(cloud): PAIRED-BILLING a wake the plan refused says why, never the code
The waking card showed the control plane's code on a billing refusal (paired: "entitlement_denied";
owned: "Orca Cloud refused the request (entitlement_denied).") and offered Restart, which fails the
same way. Failed wake/restart/unarchive events now carry the plan's refusal (billingDenial), from
main's recipe resume, restart and unarchive and from the paired wake. The card uses the create
sheet's billing words, offers the one fix to an owner or admin (See plans, Raise spend cap, Update
payment method) and tells a member who to ask; running limits keep the shared workspace copy.
2026-11-12 15:45:37 -08:00
Neil ac06c09040 feat(cloud-create): a GitHub-only Orca Cloud create shows the full build sheet (GH-CREATE-SHEET)
Starting a cloud workspace from a GitHub repository with no clone here showed only a
'Starting <repo> in Orca Cloud…' toast. It now opens the same build sheet as a cloud
create from a local clone: Start sandbox, Clone repository with git's progress, Open
workspace; the same failure cards and JA-21b billing blocker (plan, hours, spend cap,
payment; members get no See plans); Retry; and Back to draft (composer back on Orca
Cloud with the GitHub repository picked and the prompt kept).

Main: createFromGitHub runs the hosted driver's create path (createSandboxWithProgress,
shared with the owned create): boot plan, create, waitForClone, with the same
[orca-cloud] progress lines streamed on ephemeralVm:provisionEvent under the window's
creation id, the same failure reason lines and codes (hostedCreateFailure), Cancel via
ephemeralVm:cancelProvision, and an Idempotency-Key. The workspace id is fixed per
creation so a Retry sends the same body.

Renderer: the GitHub start is a pending creation with the Orca Cloud recipe and a
githubSource; retryBackgroundWorktreeCreation routes it to its own runner. A Retry
after a lost answer resends the same key (same sandbox back); after an answered failure
it is a new attempt; after a failed open it only opens the sandbox it already has.
The paired workspace has no environment-checks step.
2026-11-12 15:26:26 -08:00
Neil 77efed3630 fix(cloud): PAIRED-STATUS one status path for paired cloud workspaces (#566)
* fix(cloud): PAIRED-STATUS one status path for paired cloud workspaces (main resolves a bound pairing; store registers paired rows)

getStatus/getArchive take { workspaceId, environmentId? }: main resolves this desktop's own runtime
first, else a paired server bound to a sandbox (findCloudSandbox), never an arbitrary sandbox.
The window registers each paired cloud workspace's own row (main checkout on a server the catalog
marks orcaCloudPaired) in the cloud workspace store's `paired` map, apart from the owned ids, so its
status lands in status[worktreeId] and every status surface reads it unchanged.

* fix(cloud): PAIRED-STATUS read worktrees through selectWorktreesByRepo (workspace-record ratchet)
2026-11-12 14:42:59 -08:00
Neil 1eb74abddf fix(cloud): NAME-DROPPED a GitHub-only cloud create keeps the typed name as the workspace title (#563) 2026-11-12 14:11:51 -08:00
Neil d04cbb4da1 fix(cloud): PAIRED-AWARE (1/3) paired Orca Cloud servers count as Orca Cloud for every check (#562)
* fix(cloud): PAIRED-AWARE paired Orca Cloud servers count as Orca Cloud everywhere (catalog marks bound servers; shared check and sandbox map include them)

* fix(cloud): PAIRED-AWARE paired-server mark held in memory from bindings reads and writes (no sync fs on main); catalog republishes on change
2026-11-12 14:04:45 -08:00