Commit Graph
5264 Commits
Author SHA1 Message Date
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 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 2c487961d1 Merge pull request #347 from nwparker/cloud/cloud-sync
Cloud sync: .context and a read-only mirror from cloud workspaces to this computer
2026-11-10 23:50:08 -08:00
Neil 8268a70c3d feat(cloud-skills): merge same-skill rows across agents; collapse a long Synced list (#387)
* feat(cloud-skills): one row for a skill both agents have; long Synced list starts collapsed

* fix(cloud-skills): Synced disclosure uses the quiet/statusAction button, not restyled ghost
2026-11-10 23:48:10 -08:00
Neil dbd16888fc Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
#	src/shared/plugins/languages/protected-copy-keys.json
2026-11-10 23:34:37 -08:00
Neil ffc8937001 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/components/orca-cloud/CloudWorkspaceMenuItems.tsx
#	src/renderer/src/components/orca-cloud/CloudWorkspaceStatusPanel.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:16:18 -08:00
Neil 197cc3c744 Merge remote-tracking branch 'private/cloud/integration' into cloud/local-command
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 23:16:12 -08:00
Neil 4601d7f498 Merge remote-tracking branch 'private/cloud/integration' into train/357 2026-11-10 22:50:32 -08:00
Neil 74c24d975f Merge pull request #359 from nwparker/lc2/copy-p2
fix(cloud): archived dates, archived Files copy, workspace (not sandbox) is asleep (DS-g, DS-h, DS-i)
2026-11-10 22:46:55 -08:00
Neil 9a85cb2ac2 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/main/hosted-sandbox/hosted-sandbox-install.ts
#	src/renderer/src/i18n/locales/en.json
2026-11-10 22:44:35 -08:00
Neil 6a4adaa2dd Merge remote-tracking branch 'private/cloud/integration' into cloud/local-command
# Conflicts:
#	src/main/hosted-sandbox/hosted-sandbox-install.ts
#	src/renderer/src/components/cloud-workspaces/use-cloud-workspaces.ts
#	src/renderer/src/components/settings/orca-cloud/OrcaCloudSettingsLinks.tsx
#	src/renderer/src/components/settings/orca-cloud/OrcaCloudSettingsPanes.tsx
#	src/renderer/src/components/settings/orca-cloud/orca-cloud-settings-search.ts
#	src/renderer/src/hooks/settings-navigation-orca-cloud-sections.ts
#	src/renderer/src/i18n/locales/en.json
#	src/renderer/src/lib/settings-navigation-types.ts
2026-11-10 22:39:07 -08:00
Neil 2549b6b34c Merge remote-tracking branch 'private/cloud/integration' into fix/ja02-signin-cancel 2026-11-10 22:37:50 -08:00
Neil adb2d821f2 feat(cloud): sync Claude and Codex skills and slash commands to cloud workspaces (#341)
* feat(cloud): sync Claude Code and Codex skills and slash commands to cloud workspaces

Copies ~/.claude/skills, ~/.claude/commands, ~/.agents/skills, ~/.codex/skills, ~/.codex/prompts and untracked project .claude/.agents items into each Orca Cloud workspace on create and wake, next to MCP sync. Plan-then-put host RPCs (agentConfig.planSkillSync / agentConfig.putSkills) with a per-computer ledger: items made or edited in the sandbox are never touched; dropped items are removed. Likely secrets stay on this computer; 256 KB/file, 512 KB/skill, 8 MB/workspace. Optional cross-agent sharing. Settings > Orca Cloud > Skills & commands.

* fix(cloud-skills): design review: Claude naming, grouped list, copies under originals, off state, relative recency

* fix(cloud-skills): use the shared cloud relative time (synced 2m ago)

* fix(cloud-skills): premerge findings (process-host, async prefs/syncer id, exhaustive switches, no casts, runtime catalog)

* fix(cloud-skills): place Skills & commands after Cloud secrets (design-squad nav order)

* chore: restore integration's copies of files the commit hook reformatted during merges
2026-11-10 22:36:05 -08:00
Neil dc2b24844f Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/components/cloud-workspaces/use-cloud-workspaces.ts
2026-11-10 22:28:44 -08:00
Neil 5173c64964 Merge remote-tracking branch 'private/cloud/integration' into fix/ja02-signin-cancel 2026-11-10 22:23:31 -08:00
Neil 3087787244 Merge pull request #346 from nwparker/punchlist/ja18-billing
JA-18: Plan & billing usage history, top workspaces/members, one spend cap field
2026-11-10 22:21:17 -08:00
Neil cc0656e936 Merge remote-tracking branch 'private/cloud/integration' into cloud/multiplayer-gaps 2026-11-10 22:13:32 -08:00
Neil dfac5cd6a4 Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync 2026-11-10 22:06:39 -08:00
Neil a89f5f40b9 chore(cloud): local commands — remaining lint and type gates 2026-11-10 22:04:54 -08:00
Neil c8d9f36536 Merge remote-tracking branch 'private/cloud/integration' into fix/ja02-signin-cancel 2026-11-10 21:58:54 -08:00
Neil 12bdd974d2 Merge pull request #373 from nwparker/cloud/hide-routines
cloud: park the Routines UI behind one off-by-default flag (to rejoin with Automations)
2026-11-10 21:54:57 -08:00
Neil 01d451cb2a feat(cloud): park the Routines UI behind one off-by-default flag until it joins Automations
Hides every desktop entry point (Settings section + search, Home's Routines button, Routine runs switch and rows) behind CLOUD_ROUTINES_UI_ENABLED=false. The control plane, API, MCP tools and CLI are unchanged, so existing routines keep running.
2026-11-10 21:32:20 -08:00
Neil 0226a95fb6 feat(teammates): profile pictures on Team rows and teammate profiles
Uses the roster's pictureUrl (stablyai/orca-cloud#740; https only, re-checked in main). Initials
stay underneath and show if the image is absent or fails to load; no referrer is sent.
2026-11-10 21:31:22 -08:00
Neil 7701a067ae Merge remote-tracking branch 'private/cloud/integration' into cloud/multiplayer-gaps 2026-11-10 21:09:20 -08:00
Neil d6b3646081 Merge remote-tracking branch 'private/cloud/integration' into cloud/local-command
# Conflicts:
#	cloud/apps/sandbox-control/image/vm-scripts.generated.ts
#	src/renderer/src/i18n/locales/en.json
2026-11-10 21:04:43 -08:00
Neil ed240f5b4f Merge remote-tracking branch 'private/cloud/integration' into fix/ja02-signin-cancel
# Conflicts:
#	src/renderer/src/components/orca-cloud-setup/CloudSetupPage.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:58:17 -08:00
Neil fd623f5bdf Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:51:08 -08:00
Neil 77eada32f5 Merge pull request #354 from nwparker/cloud/routine-run-detail
cloud routines: Run now no longer shows invalid-response for a started run (P1)
2026-11-10 20:44:47 -08:00
Neil 9c0c8098c8 fix(cloud): archived dates past a month, archived Files panel says archived, workspace (not sandbox) is asleep (DS-g, DS-h, DS-i) 2026-11-10 20:43:37 -08:00
Neil 8a2603a68e Merge private/cloud/integration into cloud/multiplayer-gaps (team-presence, routines) 2026-11-10 20:37:56 -08:00
Neil c5725b02c3 fix(cloud-auth): Cancel always ends a pending Orca sign-in; a second click replaces it; calm timeout (JA-02)
- Main: Cancel aborts the attempt at any stage and clears progress at once; a newer sign-in cancels
  the older one (its loopback listener closes); sign-out cancels a pending sign-in; a timeout says
  'Sign-in didn't finish. Try again.' instead of an error toast.
- Setup page: a cancelled/timed-out/replaced sign-in no longer falls back to opening a second
  sign-in (the root cause of the stuck 'Signing in…'); the waiting row has Cancel; Back cancels a
  sign-in the page started.
- Sign in buttons stay clickable while a sign-in is pending.
2026-11-10 20:36:37 -08:00
Neil 779e1dbc12 Merge pull request #355 from nwparker/cloud/w3-ports-external-collapsed
fix(w3): hide the sandbox's own services from External ports in cloud workspaces
2026-11-10 20:29:33 -08:00
Neil 98da8511fe Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:28:11 -08:00
Neil 48b51db335 fix(cloud-routines): Run now no longer reports invalid-response for a started run
The control plane sends a run's triggerDetail as an object ({requestedBy}, {event, target}, {scheduledFor}); the desktop schema wanted a string, so POST /run and run history failed to parse although the run had started, inviting a duplicate run. Accept the object and show one short label.
2026-11-10 20:27:04 -08:00
Neil 4f9164e599 Merge pull request #343 from nwparker/cloud/routine-home-filter
cloud Home: hide routine runs by default, with a Routine runs filter (G15)
2026-11-10 20:23:56 -08:00
Neil c5fa284270 Merge pull request #344 from nwparker/cloud/cloud-desktop-tab
feat(cloud): Remote desktop as a first-class tab in Orca Cloud workspaces
2026-11-10 20:19:38 -08:00
Neil 8a652243bd fix(cloud): local commands — design-squad changes and re-review fixes
- no Always allow for lookalikes, pipe-to-shell, sudo or command substitution (main refuses it too);
  pipe-to-shell warning; tabs and trailing spaces shown; Always allow tooltip; alertdialog + labelled command box
- agent shown by catalog name; recent requests read Finished / Failed (exit N)
- the 3-waiting cap counts requests still being checked (burst); more invisible ranges refused
- Turn off from the dialog reports a failure; grant-device check documented as best effort
2026-11-10 20:18:09 -08:00
Neil 9dd23dcca1 Merge pull request #336 from nwparker/cloud/team-presence
feat(cloud): teammate profiles (usage heatmap) and opt-in Pokes
2026-11-10 20:15:14 -08:00
Neil 3f5f314efc fix(cloud): local commands — security review fixes
- orcad: only the owner's desktop may attach/settle; devices paired through a grant are listed
  by orca-sandbox-grant and refused (forks keep their offer's origin id)
- desktop: per-workspace limits (3 waiting, 60/hour), always-allow runs one at a time and 30/hour,
  one banner per burst, refusal floods logged once a minute
- dialog: commands over 20 lines refused; long ones must be scrolled to the end; agent name muted;
  Turn off for this workspace; read delay counts from when a prompt reaches the front
- lookalike spaces and combining marks refused; settled events only close their own workspace's prompt
- executor reports soon after the shell exits even if an escaped process holds the pipes; hard stop
- audit log keeps 3 files, long commands stored as prefix + sha256
- rules expire after 30 days and are cleared when a shared workspace is allowed
2026-11-10 20:11:56 -08:00
Neil 9ac48491aa chore(cloud): localization catalogs, no casts in tests, section menu button keeps its own styling 2026-11-10 20:11:33 -08:00
Neil 0b986f1fc6 fix(w3): hide the sandbox's own services from External ports in cloud workspaces 2026-11-10 20:04:36 -08:00
Neil c267ae3676 feat(cloud-sync): sync .context and an optional read-only mirror from cloud workspaces to this computer
- orcad: files.statMany (batched stat, up to 2,000 paths) for cheap manifests; older images fall back to files.stat
- main: per-workspace sync sessions (full pass on start/reconnect/wake, files.watch-driven incremental passes),
  read-only copies under ~/orca/cloud/<repository>/<workspace>, gitignore-aware via files.listAll, bounded
  (.context 250 MB / 50 MB per file; mirror 2 GB / 100 MB per file / 100k files), never wakes a sandbox,
  stops when asleep, removes the copy on archive/delete
- window: 'On this computer' section in the cloud status panel, '⋯ → Mirror to this computer…',
  removal line in the archive toast and delete dialog, confirm before removing changed copies
2026-11-10 20:04:14 -08:00
Neil 077d4c8104 feat(billing): usage history, top workspaces and members, one spend cap field (JA-18)
Plan & billing now reads '<Team> · Team plan', shows the last 30 days of sandbox
hours as a bar chart, and (owners/admins) the top workspaces and members. Members
see the team chart and their own hours. The overage toggle becomes one 'Monthly
spend cap' field ($0 = off, 'Turn on with a $25 cap'); the rate is a one-line
hint; alert levels are read-only values. The manual refresh icon is gone.

Billing Worker: additive GET /v1/billing/usage (read-only over usage_events,
no migration).
2026-11-10 20:02:29 -08:00
Neil e4283fd41d fix(cloud-create): Idempotency-Key on create, named rows, and the repository step named once (PC-8 backstop, PC-4)
- POST /v1/sandboxes takes an Idempotency-Key (api_idempotency, 24 h, scoped per account and member):
  the same key and body return the first create's sandbox instead of starting another; same key with a
  different body is a 422. The desktop sends context.idempotencyKey when its caller provides one.
- The desktop sends the workspace name as the create's title, so lists show it, not an untitled row.
- GET /v1/sandboxes/boot-plan?repo= says whether a create would clone or update (environment build);
  the driver asks in parallel with the create, so the build sheet names 'Clone repository' or 'Update
  repository' once, with a placeholder until it knows, and never relabels mid-run.
2026-11-10 19:59:50 -08:00
Neil f2d3af0f74 feat(cloud-home): hide routine runs from Home by default, with a Routine runs filter (G15)
Home's team list leaves routine-run VMs out unless the new Routine runs switch is on. The switch is
offered only when the team has routines, counts the running runs it hides, and is remembered per
account. Hidden runs leave the workspace count but keep their sandbox hours in the total. Listed
runs carry a routine mark and 'Routine · <name>'. Control plane: GET /v1/team/workspaces
?routines=include, plus fromRoutine/routineName per row and a routineRuns summary.
2026-11-10 19:52:58 -08:00
Neil 8f28913dba feat(cloud): W-numbers, org slug links, and pins/order/sections that sync across desktops and the phone (G13, G14) 2026-11-10 19:50:22 -08:00
Neil d84659983e feat(teammates): share activity only with 'Pokes and activity' on; View profile in Team row menu
Design-squad review of #336: a teammate's heatmap is shown only if they opted in (same
Experimental switch as Pokes, renamed 'Pokes and activity'); otherwise their profile says they
haven't shared it. Your own heatmap always shows. Team rows get 'View profile' first in the menu.
Own-profile hint: 'Hover a day to see your sandbox hours.'
2026-11-10 19:48:34 -08:00
Neil aab04d5d0a feat(cloud): local commands — cloud agents ask to run one command on this computer, approved per command
- orcad relays (localCommands.request/status/attach/settle); the desktop that owns the workspace decides
- off by default per workspace; owner only; shared workspaces need the owner's explicit OK
- approval dialog: full command and folder, Allow once / Always allow this command / Deny
- minimal env (PATH, HOME, locale), /bin/sh, no stdin, timeout, 128 KB output cap per stream
- audit log on this computer; Settings > Orca Cloud > Commands on this computer
- run_local_command MCP tool (orca local-command mcp) registered for Claude Code and Codex in cloud VMs
2026-11-10 19:36:12 -08:00
Neil b48bbb5f87 Merge remote-tracking branch 'private/cloud/integration' into cloud/team-presence 2026-11-10 19:25:38 -08:00
Neil 28ae29ba2d feat(cloud): teammate profiles with a usage heatmap, and opt-in Pokes
Conductor 0.91 parity. Clicking a teammate opens their profile, which shows their role, a
26-week daily usage heatmap and their recent team workspaces. Teammates see only 0-4 levels,
and amounts are shown only to you. Pokes are opt-in in Settings > Experimental and need both
people to have them on. They are rate-limited to 1 per minute per teammate and 20 per hour, and
delivered in-app by a 30 s poll that runs only while Pokes are on and Orca is in front.

Control plane: migration 0050 (member_usage_hours, member_poke_prefs, member_pokes),
src/team-presence.ts routes. The heatmap reads usage_outbox sandbox time plus dated
token_usd_micros deltas. A member's poke opt-in is dropped when they are removed.
2026-11-10 19:24:26 -08:00