Files
reverse-engineering-anything/scripts/lib/agent-evaluation-cleanup.d.mts
T

16 lines
644 B
TypeScript

import type { VerifierFixture } from "./verifier-fixture.mjs";
/**
* Release the commands, then remove the run root, or keep it with
* `keepFixtures`; unconfirmed commands retain the root. Copied authentication
* is removed independently of both. A failure is one AggregateError: the
* fixture's retained failures, then the authentication removal failure, with
* `cleanupLeases: [fixture]` while the root is retained.
*/
export function closeAgentEvaluation(options: {
readonly fixture: VerifierFixture;
readonly commands: { close(): Promise<void> };
readonly authPath: string;
readonly keepFixtures: boolean;
}): Promise<void>;