fix: openclaw plugin and fix the login section there (#4696)

Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
This commit is contained in:
Kartik
2026-04-04 22:21:46 +05:30
committed by GitHub
co-authored by Saket Aryan
parent c55447c1e4
commit 686d5e987d
33 changed files with 4282 additions and 1882 deletions
+7
View File
@@ -27,6 +27,13 @@ const NOISE_CONTENT_PATTERNS: Array<{ pattern: RegExp; replacement: string }> =
/Conversation info \(untrusted metadata\):\s*```json\s*\{[\s\S]*?\}\s*```/g,
replacement: "",
},
{
// OpenClaw TUI sends "Sender (untrusted metadata)" with a JSON block
// containing label, id, name, username — strip to prevent storing as memory
pattern:
/Sender\s*\(untrusted metadata\):\s*```json[\s\S]*?```\s*/gi,
replacement: "",
},
{ pattern: /\[media attached:.*?\]/g, replacement: "" },
{
pattern: