import type { StructuredLogger } from '../logger.js'; import type { CLIAgentOptions } from '../cli-agents.js'; import type { ModelResolver } from '../model-resolver.js'; import type { CLIProvider, CLIBuilderConfig, CLIName, DecodeResult } from './index.js'; export declare const AGY_BINARY: string; /** * Inline Python wrapper for PTY allocation and lifecycle supervision. agy * issue #76 (stdout silently dropped when stdout is not a TTY) hits EVERY * platform whenever agy's stdout is a pipe — exactly how this adapter captures * it, Linux CI included. The child sees the slave TTY; the parent relays the * master to captured stdout. `pty.fork()` also makes agy a process-group leader, * letting the wrapper forward cancellation and clean up tool subprocesses. * * Model pinning is NO LONGER done here. agy 1.0.10 added a real `--model` * flag (it was a dead string in 1.0.2, which is why this used to swap * settings.json under flock — the source of a leftover `.brutalist-lock` * leak). The adapter now passes `--model