Commit Graph
8 Commits
Author SHA1 Message Date
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 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 5b0ae5ac12 test(cloud): type the fetch mocks instead of casting 2026-11-09 17:33:53 -08:00
Neil 531f44c6e6 feat(cloud): show teammate names (name · id, id alone when unknown) on keys, connected apps, audit and routines; meaningful i18n placeholder names 2026-11-09 16:23:09 -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 5a8ca4fc88 test(cloud): links are dropped, not fatal 2026-11-09 07:20:07 -08:00
Neil 6c7796ae5f fix(cloud): review round 1 — one-time secrets can't be lost, design tokens, minimal routine PATCH, stale-response guards, a11y 2026-11-09 07:19:58 -08:00
Neil 2e76ad5592 feat(cloud): Orca Cloud API keys + routines settings (private builds)
Main-process /v1 client (zod-validated, token never leaves main, errors mapped
to stable codes), IPC + preload bridge, Settings → API Keys (create with scope
presets, one-time secret, revoke, MCP approve-an-app code, docs/MCP links,
vmCliEnabled org toggle, admin activity log) and Settings → Routines (list,
editor for schedule/GitHub/webhook triggers, run now, history, delete), gated
on a configured Orca Cloud control plane. Component fixtures + unit tests.
2026-11-09 07:19:57 -08:00