Commit Graph
5 Commits
Author SHA1 Message Date
jb 208cd6f4e7 Add Orca terminal surface backend
Subagents run in unfocused Orca terminal tabs in the current worktree,
selected automatically between Herdr, Orca (ORCA_TERMINAL_HANDLE), and tmux.

- Tabs are created against ORCA_WORKTREE_ID since pi's cwd may live outside
  any Orca worktree, and start in pi's cwd via the startup command
- createSurface blocks on two-phase readiness (startup marker, then a
  verified probe echo) because input typed during shell init is swallowed
  by the initial shell's exec or flushed during bash startup
- terminal read reports ok with status exited for closed terminals, so
  reads throw on non-running status to match herdr/tmux semantics
- Integration harness gains Orca focus support via terminal switch and
  visual-layout active-pane lookup
2026-08-30 15:54:59 -04:00
jb 9a8169523b Preserve active subagents across reload 2026-08-27 01:05:46 -04:00
jb b3884f6c35 Adding support for herdr - agents in new tabs 2026-08-26 10:57:45 -04:00
Amos 9cbc5b4878 made extension tmux-only, replaced cmux.ts with tmux.ts (~1368 -> 354 lines)
Removed the cmux, zellij, and wezterm backends, the MuxBackend type, the
PI_SUBAGENT_MUX override, and dead exports (renameCurrentTab, renameWorkspace,
sendEscape, isFishShell, exitStatusVar). The ten-function surface API used by
index.ts is unchanged. Integration harness and tests are tmux-only; README and
package.json now state tmux-only with a fork note pointing multi-multiplexer
users at the upstream project.
2026-08-20 18:48:14 +03:00
Amos c6c00f89a7 Initial commit 2026-06-26 22:25:19 +03:00