Adding support for herdr - agents in new tabs

This commit is contained in:
jb
2026-08-26 10:57:45 -04:00
parent c3e8b53c07
commit b3884f6c35
14 changed files with 660 additions and 331 deletions
+4 -4
View File
@@ -2,13 +2,13 @@
* Integration tests for the full subagent lifecycle.
*
* These tests spawn REAL pi sessions with REAL LLM calls (haiku by default).
* Each test creates a tmux pane, runs pi with a task that uses the subagent
* Each test creates a terminal surface, runs pi with a task that uses the subagent
* tool, and verifies the outcome via marker files and screen output.
*
* Costs: ~$0.01-0.05 per test run (haiku).
* Duration: ~30-90s per test.
*
* Run inside tmux:
* Run inside Herdr, or inside tmux:
* tmux new 'npm run test:integration'
*
* Configuration:
@@ -37,8 +37,8 @@ import {
const backends = getAvailableBackends();
if (backends.length === 0) {
console.log("⚠️ tmux is not available — skipping subagent lifecycle integration tests");
console.log(" Run inside tmux to enable these tests.");
console.log("⚠️ Herdr/tmux is not available — skipping subagent lifecycle integration tests");
console.log(" Run inside Herdr or tmux to enable these tests.");
}
for (const backend of backends) {