Commit Graph
24 Commits
Author SHA1 Message Date
jb 0b7af601a3 Fix fork-mode lifecycle test and default test model to gpt-5.6-luna
The fork test asked the model to call subagent with fork: true and no
agent, which the tool schema has never supported - it only passed when a
model improvised. It now spawns a real fork-mode agent (test-fork with
session-mode: fork).

The harness default model is now openai-codex/gpt-5.6-luna. The previous
active-session-model fallback broke under pi -ne, where extension-registered
providers do not resolve.
2026-08-30 15:55:15 -04:00
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 bc3e3d6049 Expose theme-aware status widget integration 2026-08-30 13:00:14 -04:00
jb 9a8169523b Preserve active subagents across reload 2026-08-27 01:05:46 -04:00
jb 4105b03981 Add forked reference in readme 2026-08-26 11:18:20 -04:00
jb b3884f6c35 Adding support for herdr - agents in new tabs 2026-08-26 10:57:45 -04:00
Amos c3e8b53c07 updated readme and test 2026-08-25 02:21:20 +03:00
Amos 076021b603 edited agent definitions 2026-08-25 01:49:23 +03:00
Amos f9d698d683 deleted agents/.retired 2026-08-20 19:58:22 +03: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 865648c4f1 clear awaitingAnswer in the input handler, not just on agent_start. had a bug where a master agent's reply, sent while the subagent was still mid-turn, was being consumed as a steer => subagent was left open waiting indefinitely. fixed now 2026-08-20 18:32:03 +03:00
Amos d9d01c30ff subagent_message is now name based for both steers and resumes 2026-08-18 04:24:03 +03:00
Amos b9ed239c46 changed researcher model, commit before collapsing resume and steering to by-name only 2026-08-17 20:13:27 +03:00
Amos 67495c38fb added cached id->file index and made resume path async => freezing on resume fixed 2026-07-21 22:28:46 +03:00
Amos a541b3d98b fixed session resume launching with global extensions. resumed subagents launch with subagent-specific tools. also fixed freezing upon resume 2026-07-06 23:47:01 +03:00
Amos 20332d854c renamed -> caller_ping to ask_question, questions don't end subagent sessions anymore, subagent sessions stay open when waiting for their own subagents to finish 2026-06-28 18:02:30 +03:00
Amos 8c707c6179 added rebalanceSurfaces() helper, default even-horizontal, constant changeable in config 2026-06-28 16:36:14 +03:00
Amos e5ffd62199 fixed abort trigger persisting across sessions 2026-06-28 16:35:30 +03:00
Amos af4e032ed4 fixed freezing on session resume 2026-06-27 02:49:01 +03:00
Amos eb281b63d4 removed autoExit schema field from subagent_message 2026-06-27 02:05:12 +03:00
Amos 10fe481aba simplified subagent tool schema, made name optional and agent type required, deduped names with unnamed in-flight subagents of same type 2026-06-27 01:59:36 +03:00
Amos 39b1f8560d collapsed subagent_interrupt + subagent_resume -> subagent_message, enforced spawning whitelist 2026-06-27 01:19:07 +03:00
Amos c47a653336 ported over subagents, minor changes to functionality, refined ui 2026-06-27 00:19:44 +03:00
Amos c6c00f89a7 Initial commit 2026-06-26 22:25:19 +03:00