diff --git a/packages/integration-tests/src/agent-aider.integration.test.ts b/packages/integration-tests/src/agent-aider.integration.test.ts index abeba27e2..fe247ce79 100644 --- a/packages/integration-tests/src/agent-aider.integration.test.ts +++ b/packages/integration-tests/src/agent-aider.integration.test.ts @@ -2,7 +2,7 @@ * Integration tests for the Aider agent plugin. * * Requires: - * - `aider` binary on PATH (or at /Users/equinox/Library/Python/3.9/bin/aider) + * - `aider` binary on PATH * - tmux installed and running * - ANTHROPIC_API_KEY or OPENAI_API_KEY set (aider may open a browser if missing) * diff --git a/packages/integration-tests/src/agent-claude-code.integration.test.ts b/packages/integration-tests/src/agent-claude-code.integration.test.ts index 289cb1942..deddf1d65 100644 --- a/packages/integration-tests/src/agent-claude-code.integration.test.ts +++ b/packages/integration-tests/src/agent-claude-code.integration.test.ts @@ -2,7 +2,7 @@ * Integration tests for the Claude Code agent plugin. * * Requires: - * - `claude` binary on PATH (or at /Users/equinox/.local/bin/claude) + * - `claude` binary on PATH * - tmux installed and running * - ANTHROPIC_API_KEY set (Claude will make a real API call) * diff --git a/packages/integration-tests/src/helpers/tmux.ts b/packages/integration-tests/src/helpers/tmux.ts index d1a6f444d..51a3776e2 100644 --- a/packages/integration-tests/src/helpers/tmux.ts +++ b/packages/integration-tests/src/helpers/tmux.ts @@ -87,27 +87,3 @@ export async function killSession(name: string): Promise { } } -/** Check whether a tmux session exists. */ -export async function sessionExists(name: string): Promise { - try { - await execFileAsync("tmux", ["has-session", "-t", name], { - timeout: TIMEOUT, - }); - return true; - } catch { - return false; - } -} - -/** Capture the visible pane output from a tmux session. */ -export async function capturePane( - name: string, - lines = 50, -): Promise { - const { stdout } = await execFileAsync( - "tmux", - ["capture-pane", "-t", name, "-p", "-S", `-${lines}`], - { timeout: TIMEOUT }, - ); - return stdout; -}