mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +00:00
16 lines
644 B
TypeScript
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>;
|