fix: address Bugbot followup — stale paths in JSDoc, unused exports (#20)

- Remove developer-specific paths from JSDoc comments in integration tests
- Remove unused sessionExists and capturePane helper exports

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
prateek 2026-02-14 13:30:25 +05:30 committed by GitHub
parent 4b6d62d142
commit 7dd7de6249
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 26 deletions

View File

@ -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)
*

View File

@ -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)
*

View File

@ -87,27 +87,3 @@ export async function killSession(name: string): Promise<void> {
}
}
/** Check whether a tmux session exists. */
export async function sessionExists(name: string): Promise<boolean> {
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<string> {
const { stdout } = await execFileAsync(
"tmux",
["capture-pane", "-t", name, "-p", "-S", `-${lines}`],
{ timeout: TIMEOUT },
);
return stdout;
}