mirror of
https://github.com/morluto/rea.git
synced 2026-11-06 23:06:18 +00:00
fix(captures): preserve cleanup ownership and sensitive evidence
This commit is contained in:
1 parent
7a237aa721
commit
347494f3ab
9 files changed
+613
-26
No files matched your search
@@ -17,6 +17,7 @@ import {
|
||||
import { localPathStringSchema } from "../domain/localPath.js";
|
||||
import { absoluteCallerPath } from "../filesystem/callerPath.js";
|
||||
import { explicitSensitiveValueOptions } from "./explicitSensitiveArguments.js";
|
||||
import { redactExplicitFailure } from "../domain/explicitSensitiveFailure.js";
|
||||
|
||||
/** Expose offline historical capture inspection with the same selection contract as MCP. */
|
||||
export const registerWebNetworkCaptureCommands = (
|
||||
@@ -116,6 +117,8 @@ export const registerWebNetworkCaptureCommands = (
|
||||
signal,
|
||||
detail: options.detail,
|
||||
evidenceOutput: options.evidence_output,
|
||||
redactFailure: (error) =>
|
||||
redactExplicitFailure(error, options.sensitiveValue ?? []),
|
||||
});
|
||||
},
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user