* fix(daemon): reap dead terminal sessions and clear stale checkpoint flags TerminalHost.sessions never removed exited sessions: sessionIds are minted fresh per pane and never reused, so each dead Session pinned a @xterm/headless emulator (~5000 rows of scrollback) for the lifetime of the long-lived daemon process. Nothing reads a dead session's emulator (getSnapshot/takePendingOutput/ listSessions all skip !isAlive), so it was pure retained memory. Wire a Session onExit hook to TerminalHost.reapSession, which disposes the emulator and drops the entry from the map. Fires on natural exit and the kill-timeout force-dispose path; the immediate-kill path reaps inline. This is the 'TerminalHost dead-session cleanup' the handleSubprocessExit comment already anticipated. Also clear DaemonPtyAdapter.sessionsNeedingFullCheckpoint on session exit and non-keepHistory shutdown — a cold-restored session that exited before its first checkpoint stranded a permanent Set entry. Regression tests assert the emulator is disposed / the flag cleared on exit (both fail before the fix). Full daemon suite (557 tests) stays green. Co-authored-by: Orca <help@stably.ai> * test(daemon): cover forceDispose reaping; fix stale comments Review follow-up: - Update the 'already-exited session' test: with reaping, natural exit disposes + drops the session (never force-killed) at exit time via session.dispose, so host.dispose only sees live sessions. Comments now match; assert the exited session is gone from listSessions. - Add a forceDispose (graceful-kill-timeout) test: a stubborn child that ignores kill is force-disposed after KILL_TIMEOUT_MS, disposing its emulator and reaping. - Clarify the shutdown() comment that the unconditional checkpoint-flag delete is a harmless no-op under keepHistory. Co-authored-by: Orca <help@stably.ai> --------- Co-authored-by: Orca <help@stably.ai> |
||
|---|---|---|
| .github | ||
| .husky | ||
| .visual-evidence/sidebar-nav | ||
| Casks | ||
| config | ||
| docs | ||
| mobile | ||
| native | ||
| notes | ||
| previews | ||
| resources | ||
| skills | ||
| src | ||
| tests | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| LICENSE | ||
| README.md | ||
| components.json | ||
| electron.vite.config.ts | ||
| orca.yaml | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| vite.web.config.ts | ||
README.md
Orca
The AI Orchestrator for 100x builders.
Run Codex, ClaudeCode, OpenCode or Pi side-by-side — each in its own worktree, tracked in one place.
Download Orca
Features
Also in the box:
- Quick open — Search across worktrees, files, agents, commands, and repo context without leaving your flow.
- Account switcher & usage tracking — See Claude and Codex usage and rate-limit resets, and hot-swap accounts without re-logging in.
- Rich repo previews — Preview Markdown, images, PDFs, and repo docs in the workspace.
- Computer Use — Let agents operate desktop apps and visible UI when a workflow needs real interaction.
- Notifications and unread state — Know when an agent finishes or needs attention, then mark threads unread to come back later.
- And many, many more — we ship daily, so this list is perpetually behind. The changelog is the real feature list.
Supported Agents
Works with any CLI agent — if it runs in a terminal, it runs in Orca.
Claude Code
Codex
Grok
Gemini
Cursor
GitHub Copilot
OpenCode
Amp
OpenClaude
Antigravity
Pi
oh-my-pi
Hermes Agent
Devin
Goose
Auggie
Autohand Code
Charm
Cline
Codebuff
Command Code
Continue
Droid
Kilocode
Kimi
Kiro
Mistral Vibe
Qwen Code
Rovo Dev
+ any CLI agent
Install
Desktop — macOS, Windows, Linux
- Download from onOrca.dev
- Or grab a build directly: macOS Apple Silicon · macOS Intel · Windows (.exe) · Linux AppImage · All builds
Or via a package manager:
# macOS (Homebrew)
brew install --cask stablyai/orca/orca
# Arch Linux (AUR) — or stably-orca-git to build from source
yay -S stably-orca-bin
Mobile Companion — iOS, Android
Pair with your desktop app to monitor and steer your agents from your phone.
- iOS: Download on the App Store
- Android: Download the APK
Community & Support
- Discord: Join the community on Discord.
- Twitter / X: Follow @orca_build for updates and announcements.
- Feedback & Ideas: We ship fast. Missing something? Request a new feature.
- Privacy: See the privacy & telemetry docs for what anonymous usage data Orca collects and how to opt out.
- Show Support: Star this repo to follow along with our daily ships.
Developing
Want to contribute or run locally? See our CONTRIBUTING.md guide.
License
Orca is free and open source under the MIT License.








