fix(audit): expose verified visit exports and export-only recovery
This commit is contained in:
@@ -115,6 +115,14 @@ export class PipelinesRepository {
|
||||
return response.run_detail;
|
||||
}
|
||||
|
||||
/** Export the exact recorded visit again; never invokes its model or tools. */
|
||||
async repairSessionExport(id, sequence) {
|
||||
if (!Number.isSafeInteger(id) || id<1 || !Number.isSafeInteger(sequence) || sequence<1) throw new ProtocolError("An exact run and visit are required.");
|
||||
const response=await this.#client.call({type:Protocol.REPAIR_SESSION_EXPORT,run_id:id,export_sequence:sequence});
|
||||
if (!response.run_detail) throw new ProtocolError("The server returned no run detail.");
|
||||
return response.run_detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asks the server to push this connection the live run state it displays
|
||||
* (R10, also the source of L5's notifications). Send-only, mirroring
|
||||
|
||||
Reference in New Issue
Block a user