We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5e9a8 commit a6d8a21Copy full SHA for a6d8a21
2 files changed
src/agents/transcript-redact.ts
@@ -7,9 +7,7 @@ import {
7
redactSensitiveText,
8
} from "../logging/redact.js";
9
10
-function resolveTranscriptRedactPatterns(
11
- patterns: OpenClawConfig["logging"] extends { redactPatterns?: infer T } ? T : never,
12
-) {
+function resolveTranscriptRedactPatterns(patterns?: string[]) {
13
return patterns && patterns.length > 0 ? [...patterns, ...getDefaultRedactPatterns()] : undefined;
14
}
15
src/config/sessions/transcript.ts
@@ -1,5 +1,6 @@
1
import fs from "node:fs";
2
import path from "node:path";
3
+import type { AgentMessage } from "@earendil-works/pi-agent-core";
4
import type { SessionManager } from "@earendil-works/pi-coding-agent";
5
import { redactTranscriptMessage } from "../../agents/transcript-redact.js";
6
import { formatErrorMessage } from "../../infra/errors.js";
0 commit comments