mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:10:45 +00:00
force redaction mode to bypass logging config
This commit is contained in:
@@ -10,7 +10,7 @@ function formatCodePointEscape(char: string): string {
|
||||
|
||||
export function sanitizeExecApprovalDisplayText(commandText: string): string {
|
||||
const escaped = commandText.replace(EXEC_APPROVAL_INVISIBLE_CHAR_REGEX, formatCodePointEscape);
|
||||
return redactSensitiveText(escaped);
|
||||
return redactSensitiveText(escaped, { mode: "tools" });
|
||||
}
|
||||
|
||||
function normalizePreview(commandText: string, commandPreview?: string | null): string | null {
|
||||
|
||||
Reference in New Issue
Block a user