Skip to content

Refactor runtime app architecture - #1878

Merged
Jinwoo-H merged 4 commits into
mainfrom
Jinwoo-H/app-refactor
May 15, 2026
Merged

Jinwoo-H merged 4 commits into
mainfrom
Jinwoo-H/app-refactor

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented May 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Split Orca's desktop/runtime boundary so an Orca runtime server owns repos, worktrees, terminals, filesystem, git, provider integrations, and runtime metadata.
  • Add saved runtime environments and a Settings > Servers page so desktop clients can pair with and route remote-capable workflows through a selected runtime.
  • Add orca serve for foreground/headless runtime serving with runtime-scoped pairing URLs, plus mobile-scoped pairing for direct phone-to-runtime usage.
  • Move browser/file/git runtime command adapters out of the core runtime service to reduce the size and coupling of orca-runtime.ts.
  • Document the before/after architecture, remote dev-box flows, packaging gap for CLI/server-only installs, and design tradeoffs.

Benefits

  • Enables a desktop client to drive a remote dev box instead of only the local machine.
  • Keeps server paths and execution on the runtime host, reducing accidental local/remote path confusion.
  • Preserves existing local desktop behavior as the default Local desktop runtime.
  • Gives mobile and CLI clients a shared E2EE WebSocket runtime transport without requiring a mobile protocol bump for this refactor.

Validation

  • pnpm test
  • pnpm run tc
  • pnpm run tc:web
  • targeted runtime/browser/files/RPC tests
  • targeted settings store test
  • oxlint
  • oxfmt --check
  • git diff --check
  • Electron smoke verification for Settings > Servers and Mobile settings separation

Made with Orca 🐋

@Jinwoo-H
Jinwoo-H force-pushed the Jinwoo-H/app-refactor branch from 59df5e7 to a4a3c79 Compare May 15, 2026 05:21
Jinwoo-H and others added 2 commits May 15, 2026 01:27
…/app-refactor

# Conflicts:
#	src/renderer/src/components/editor/MarkdownPreview.tsx
@Jinwoo-H
Jinwoo-H marked this pull request as ready for review May 15, 2026 05:50
@Jinwoo-H
Jinwoo-H merged commit a22717b into main May 15, 2026
8 checks passed
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/app-refactor branch May 15, 2026 06:13
AmethystLiang pushed a commit that referenced this pull request May 16, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant