Commit Graph
20657 Commits
Author SHA1 Message Date
Neil ee1f14b871 Revert "fix(sandbox-control): a workspace started without a repo gets an empty repository Orca can open"
This reverts commit 0c4ec3ac451e173fe0b0c5840a139b08728fc9fb.
2026-11-09 14:48:07 -08:00
Neil f4032bf36f fix(cloud): drop Start empty (a host-local project can't open on a sandbox), Try again after pushing; sidebar pending row uses sandbox wording and the card's title 2026-11-09 14:48:07 -08:00
Neil 991d8ad665 fix(sandbox-control): a workspace started without a repo gets an empty repository Orca can open 2026-11-09 14:48:07 -08:00
Neil 7dab1aa215 fix(build-sheet): fixtures render without the live Add an agent step 2026-11-09 14:48:07 -08:00
Neil a8d6bb4698 fix(cloud): build sheet round 4: glossary cards, GitHub not connected + no GitHub remote before any sandbox, measured start hint from /v1/config, Orca Cloud host label
- Account/billing cards use glossary titles (Out of sandbox hours, Spend cap reached, Payment failed,
  running-sandbox limits), role-aware next steps, and 'Nothing was created, and you weren't charged.'
- 409 github_not_connected: 'GitHub isn't connected for <owner/repo>' + Connect GitHub (POST
  /v1/github/connect, opens the GitHub install page) + Try again.
- A repo without a GitHub remote is refused in main before the control plane is called, with
  Start empty / Push to GitHub first.
- GET /v1/config serves createTiming (p50/p95 of recent create-to-ready); the sheet's 'usually ~Ns'
  reads it and shows no hint without a measurement.
- Orca Cloud servers display as 'Orca Cloud' in sidebar host labels and the usage segment; legacy
  '<repo> VM <id>' names are renamed at startup.
2026-11-09 14:48:06 -08:00
Neil 5696161da4 feat(build-sheet): round-4 design fixes: plain cloud log, cause-specific cards, account gates, delete confirm, measured timings 2026-11-09 14:48:06 -08:00
Neil 2983b93d33 Merge pull request #98 from nwparker/cloud/w2-ttfk
feat(cloud): type into a waking workspace (held, then delivered); auto-continue interrupted Claude/Codex turns after restart
2026-11-09 09:00:06 -08:00
Neil 96db2acee8 fix(cloud): multi-line held typing is dropped not joined; skip continue after any typing into the pane; tell the person when held typing was not sent 2026-11-09 08:59:41 -08:00
Neil 456a193326 Merge pull request #100 from nwparker/cloud/billing-e2e-3ds-robust
test(billing): robust 3DS e2e
2026-11-09 08:56:49 -08:00
Neil ea9bac87ee test(billing): robust 3DS e2e (match ACS buttons by name, commit-level waits, settle missed redirects) 2026-11-09 08:55:56 -08:00
Neil 4f24497f71 fix(cloud): cheap gate before the agent-pane check; localization catalog 2026-11-09 08:54:18 -08:00
Neil 3faa7b7713 fix(cloud): wake typing inserts text but never submits, shell panes only, count-only chip with clear; continue only to the relaunched agent in the foreground, never twice, never after typing; drop held typing after settle and at max hold 2026-11-09 08:52:27 -08:00
Neil 4a37cbe25e Merge remote-tracking branch 'private/cloud/integration' into cloud/w2-ttfk
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-09 08:43:49 -08:00
Neil 81f346b020 feat(cloud): type into a waking workspace (held and delivered once the terminal is back), carry interrupted agent turns on after a restart or rollover 2026-11-09 08:42:42 -08:00
Neil e917715098 Merge pull request #96 from nwparker/cloud/accounts-ux-5
feat(team): Personal account in the switcher; W10 final P2s
2026-11-09 08:28:14 -08:00
Neil 8d66825c4c fix(team): refresh the access token after switching teams so token-scoped services follow 2026-11-09 08:27:01 -08:00
Neil 4bed753d66 feat(team): Personal account in the team switcher (selectOrg(null) clears the active team) 2026-11-09 08:27:01 -08:00
Neil ae1aa4c6c6 fix(team): no double zoom on the paid hand-off (Dialog exitMotion), checkout title follows state, switcher pending state survives reopen, readable invalid chips with an announced reason 2026-11-09 08:27:01 -08:00
Neil be786cd254 Merge pull request #93 from nwparker/cloud/lint-fix
fix(cloud-integration): lint + typecheck green on HEAD; premerge gate
2026-11-09 08:20:50 -08:00
Neil 0bc676520a fix(cloud-integration): lint after #94/#95 — async environment-build marker check, typed recipe-result narrowing 2026-11-09 08:20:35 -08:00
Neil 09e882ccd9 Merge remote-tracking branch 'private/cloud/integration' into cloud/lint-fix 2026-11-09 08:17:33 -08:00
Neil 821932435c Merge private/cloud/integration into cloud/lint-fix; lint fixes for #47 (cloud environment builds)
Variants instead of restyles (Badge statusActive, Button secondary-floating, Skeleton card, InlineError strip
layouts, Input code-body/leading adornment, DropdownMenuLabel hint); theme tokens for build status colours;
getIntlLocale for counts; IME guard on Enter; typed fixtures; build-followers sweeper stops when idle;
renderer intervals via installWindowVisibilityInterval; repo routing helpers for disk usage.
2026-11-09 08:16:45 -08:00
Neil d1947f6b3b Merge pull request #95 from nwparker/cloud/accounts-ux-4
feat(team): create/leave against real auth (staging), name rules, Team for every signed-in account
2026-11-09 08:16:17 -08:00
Neil 2e7352275b fix(team): Team item for every signed-in account (not billing- or flag-gated) 2026-11-09 08:15:01 -08:00
Neil d87e235be5 chore(dev): ORCA_CLOUD_DEV_OPEN_URL_FILE hands the sign-in URL to a driver (unpackaged only) 2026-11-09 08:15:01 -08:00
Neil cbae761f08 feat(team): team-name rule and name-taken handling to match auth (orca-cloud#697) 2026-11-09 08:15:01 -08:00
Neil 6bd93fc20b feat(cloud): meter environment build time; no setup-script nudge for env-build workspaces (#94)
* fix(sandbox-control): read the orgRole claim that Orca Cloud auth mints (#29)

Auth mints the live org role as orgRole on sandbox tokens (same claim as billing
tokens, stablyai/orca-cloud#695); the verifier read org_role, so admins would
never have been recognized.

* wip(cloud): environment builds control plane

* wip(cloud): environment build boot path, staleness, routes

* wip(cloud): env build tests, anonymous staleness fallback

* wip(cloud): migration 0008 (claimed), quieter recovered clone errors

* fix(cloud): env build review: interrupted-snapshot recovery, bounded log reads, secret redaction, activation guard, hook/prelude fixes

* fix(cloud): wait briefly for the build exit code after its log ends; print the base image and package manager

* wip(desktop): org environments client, IPC, CLI, settings UI, orcad disk usage + low-disk banner

* perf(cloud): smoke-boot each environment build before activating it; skip the redundant prelude fetch

* fix(cloud): a GitHub token error fails the build as github_unavailable instead of cloning anonymously

* perf(cloud): warm pool VMs per hot environment build, so a create from an org environment skips the provider boot

* wip(desktop): cloud environment UI round-3 fixes

* fix(cloud): pool-per-build review: smoke race safety, provider hiccups skip smoke, usage-based hot builds with caps, bounded boots, index

* fix(desktop): Configure with an agent hands the prompt over at launch (trust dialog swallowed the pasted Enter); CLI builds table widths

* polish(desktop): W10 P2s — InlineError action slot, shared focus-ring, copy

* feat(cloud): build event stream heartbeat every 20 s

* fix(desktop): FE review — stable virtualizer, shadow-buffer replays, heartbeat-aware build watch, CLI follower restarts, repo import path checks, poll races

* feat(cloud): meter environment build sandbox time to the member who started it; no setup-script nudge for workspaces booted from an env build
2026-11-09 08:11:06 -08:00
Neil 2892ba1f47 fix(cloud-integration): lint and typecheck green on HEAD; premerge gate script
- cloud-transfer-steps runs git through gitExecFileAsync (no direct child_process); VM replies parsed with zod.
- Casts replaced by types, guards and zod across hosted-sandbox, cloud-api, cloud-api settings and tests.
- Offline cache and message-queue store use node:fs/promises (main-sync-fs ratchet); the offline service's
  30 s setInterval becomes a backing-off beat that runs only while prompts are queued; renderer intervals use
  installWindowVisibilityInterval.
- Flaky-test gates: fixed timestamps, vi.waitFor, no sleeps in cloud-message-queue/cloud-transfer tests.
- shadcn restyles become primitive variants (Skeleton shape/motion, Button default-held, Textarea compact/bare,
  InlineError toast layout, Popover focusRing); exhaustive switch; derived pending state in the run-target hook.
- Localization: routine labels/placeholders and 'Orca Cloud is unavailable.' through t(); cloudSecrets plurals
  pass the singular as defaultValue_one.
- config/scripts/cloud-integration/premerge-check.sh: merge-into-integration gate (typecheck + full lint + tests).
2026-11-09 08:08:35 -08:00
Neil 0df9ea1fbf feat(cloud): org environment builds — desktop: Settings → Cloud environment, live logs, CLI, low-disk banner (#47)
* fix(sandbox-control): read the orgRole claim that Orca Cloud auth mints (#29)

Auth mints the live org role as orgRole on sandbox tokens (same claim as billing
tokens, stablyai/orca-cloud#695); the verifier read org_role, so admins would
never have been recognized.

* wip(cloud): environment builds control plane

* wip(cloud): environment build boot path, staleness, routes

* wip(cloud): env build tests, anonymous staleness fallback

* wip(cloud): migration 0008 (claimed), quieter recovered clone errors

* fix(cloud): env build review: interrupted-snapshot recovery, bounded log reads, secret redaction, activation guard, hook/prelude fixes

* fix(cloud): wait briefly for the build exit code after its log ends; print the base image and package manager

* wip(desktop): org environments client, IPC, CLI, settings UI, orcad disk usage + low-disk banner

* perf(cloud): smoke-boot each environment build before activating it; skip the redundant prelude fetch

* fix(cloud): a GitHub token error fails the build as github_unavailable instead of cloning anonymously

* perf(cloud): warm pool VMs per hot environment build, so a create from an org environment skips the provider boot

* wip(desktop): cloud environment UI round-3 fixes

* fix(cloud): pool-per-build review: smoke race safety, provider hiccups skip smoke, usage-based hot builds with caps, bounded boots, index

* fix(desktop): Configure with an agent hands the prompt over at launch (trust dialog swallowed the pasted Enter); CLI builds table widths

* polish(desktop): W10 P2s — InlineError action slot, shared focus-ring, copy

* feat(cloud): build event stream heartbeat every 20 s

* fix(desktop): FE review — stable virtualizer, shadow-buffer replays, heartbeat-aware build watch, CLI follower restarts, repo import path checks, poll races
2026-11-09 08:03:35 -08:00
Neil e753298c72 fix(ui): scope aria-disabled button styling (pending keeps full colour); 24px statusAction hit area (W10) (#92)
* fix(ui): aria-disabled buttons look unavailable unless busy; statusAction hit area

* docs(ui): pending buttons need a spinner/label; pad statusAction hit area on all sides
2026-11-09 07:53:42 -08:00
Neil 79d8f62883 Merge pull request #89 from nwparker/cloud/accounts-ux-3
fix(team): W10 round 6 for billing/team/account
2026-11-09 07:49:01 -08:00
Neil 769b20039b Merge pull request #91 from nwparker/cloud/w4-multiplayer
fix(cloud): default workspace git author on older sandbox images
2026-11-09 07:48:53 -08:00
Neil 07f607d414 fix(cloud): default workspace git author on images older than the start-script default 2026-11-09 07:48:30 -08:00
Neil e06faf79aa chore(i18n): sync after rebase 2026-11-09 07:48:26 -08:00
Neil c252c0fa72 fix(team): aria-disabled buttons look disabled; guarded plan handlers; Send/Create disabled when empty; Leave back in the SSO card with a divider; warning tone on the blocking bar; cap hint under the row; switcher icons 2026-11-09 07:46:59 -08:00
Neil 17ef4821da fix(team): align Create a team with switcher labels 2026-11-09 07:46:50 -08:00
Neil 41203ef471 fix(team): W10 round 6: glossary strings, i18next plurals, per-role sentences, overage rollback + in-place Saving, Progress warning tone, aria-disabled submits, InlineError for plan errors, Leave on its own row, switcher always present, short-window plans 2026-11-09 07:46:50 -08:00
Neil 5c53102202 Merge pull request #90 from nwparker/cloud/w6-mcp-egress
W6: per-workspace egress hosts for synced remote MCP servers
2026-11-09 07:46:17 -08:00
Neil 6c2a37c83b feat(sandbox-control): per-workspace tool egress hosts for synced remote MCP servers (PUT/GET /v1/sandboxes/:id/egress/hosts, migration 0032) 2026-11-09 07:46:04 -08:00
Neil 0bf3dcb720 Merge pull request #85 from nwparker/cloud/w4-multiplayer
feat(cloud): W4 follow-up — attested git-as-sender (default on), terminal sender envelope, follow + chat links, fixtures
2026-11-09 07:45:35 -08:00
Neil 8d07fd6b09 fix(cloud): W10 round 6 — shared CloudStateDot, 'Go to {name}'s chat', confirms for make private / reassign owner, grammar-aware 'you', sign-in action, presence legibility, link highlight, archived dimming 2026-11-09 07:44:08 -08:00
Neil 2fd06245e7 fix(run-on): drop 'Your files are safe.' from create-time out-of-hours hints (no workspace exists yet) (#88) 2026-11-09 07:39:57 -08:00
Neil 84a6c33912 Merge pull request #82 from nwparker/cloud/accounts-ux-2
feat(team): team switcher, Enterprise SSO row, W10 round-5 + glossary fixes
2026-11-09 07:36:20 -08:00
Neil 2790cacf00 Run-on picker: W10 round 3 fixes (a11y ids, shared billing prefetch, actionable hint, copy) (#72)
* fix(run-on): W10 round 3 — stable option ids, shared billing prefetch, actionable hint, a11y and copy polish

* fix(run-on): keyed billing cache with superseding reads, cancellable held picks, member rows say who can fix

* fix(run-on): held picks wait on the current billing read; no hover jump on unready hosts

* fix(run-on): glossary copy (sandbox hours, Team plan, spend cap, payment method), InlineError for blocks, rebase conflict cleanup

* fix(run-on): idle-sleep copy from the shared constant; specs yield to sandbox hours in narrow menus

* fix(run-on): two-line reserved hint (no reflow), live region always mounted, W10 round 6 P2s

* fix(run-on): blocked hint puts the fix on line 1 so nothing truncates; specs drop whole; hours outside the live region
2026-11-09 07:36:17 -08:00
Neil de0cea7ec5 Merge pull request #84 from nwparker/cloud/core-ui-session-2
fix(orca-cloud): W10 P2 follow-ups for session toasts and cloud state labels
2026-11-09 07:36:13 -08:00
Neil 68efe37330 fix(orca-cloud): cleanup check covers records written after the cancel and sandboxes still up after Try again 2026-11-09 07:36:04 -08:00
Neil 80cc6f76d1 chore(i18n): sync billing/team/menu catalog after rebase 2026-11-09 07:35:45 -08:00
Neil 7f85706ce5 fix(orca-cloud): Try again deletes only this create's failed sandbox; guard double retry; unreadable records count as failed 2026-11-09 07:34:44 -08:00
Neil 165d21f764 Merge pull request #86 from nwparker/cloud/w5-ui
feat(cloud): desktop Orca API keys, connected apps and routines settings
2026-11-09 07:33:33 -08:00
Neil f593b16f42 fix(team): re-inviting during the Undo window restores without an API call and dismisses the toast 2026-11-09 07:33:29 -08:00