fix(whatsapp): remove baileys logger patch

This commit is contained in:
Peter Steinberger
2026-05-21 22:27:37 +01:00
parent de5f1fa99a
commit c5e8bd08b8
4 changed files with 3 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ Docs: https://docs.openclaw.ai
### Fixes
- WhatsApp: update Baileys to `7.0.0-rc13` and keep the logger type patch aligned with the published package.
- WhatsApp: update Baileys to `7.0.0-rc13` and drop the obsolete logger type patch.
- Infra/json: retry transient `File changed during read` races while loading JSON state so config and state reads recover instead of failing the turn. (#84285)
- Providers/Ollama: resolve configured Ollama Cloud `OLLAMA_API_KEY` markers to the real discovery key so cloud provider entries keep authenticated model catalog access. (#85037)
- Discord: keep persistent component registry fallback warnings actionable by forwarding structured error and cause metadata through the runtime logger. Fixes #84185. (#84190) Thanks @100menotu001.

View File

@@ -1,12 +0,0 @@
diff --git a/lib/Utils/logger.d.ts b/lib/Utils/logger.d.ts
index 4d78996..059f58f 100644
--- a/lib/Utils/logger.d.ts
+++ b/lib/Utils/logger.d.ts
@@ -7,6 +7,6 @@ export interface ILogger {
info(obj: unknown, msg?: string): void;
warn(obj: unknown, msg?: string): void;
error(obj: unknown, msg?: string): void;
}
-declare const _default: import("pino").Logger<never, boolean>;
+declare const _default: ILogger;
export default _default;

5
pnpm-lock.yaml generated
View File

@@ -35,7 +35,6 @@ packageExtensionsChecksum: sha256-oc/FAHkBR844HBfph1RZWyRMHHBpIFya25tyv5SGf6s=
patchedDependencies:
'@agentclientprotocol/claude-agent-acp@0.36.1': f4f95d000b8694ca27dbbb969a7ebbfa9e45001e245a927201cb8bc43b6be641
baileys@7.0.0-rc13: f2bd4db8403598ce9e4efafe859a27443a41c5ce25d97218de69169b4c03e18c
importers:
@@ -1649,7 +1648,7 @@ importers:
version: 2.2.3
baileys:
specifier: 7.0.0-rc13
version: 7.0.0-rc13(patch_hash=f2bd4db8403598ce9e4efafe859a27443a41c5ce25d97218de69169b4c03e18c)(audio-decode@2.2.3)(jimp@1.6.1)(sharp@0.34.5)
version: 7.0.0-rc13(audio-decode@2.2.3)(jimp@1.6.1)(sharp@0.34.5)
https-proxy-agent:
specifier: 9.0.0
version: 9.0.0
@@ -10560,7 +10559,7 @@ snapshots:
bail@2.0.2: {}
baileys@7.0.0-rc13(patch_hash=f2bd4db8403598ce9e4efafe859a27443a41c5ce25d97218de69169b4c03e18c)(audio-decode@2.2.3)(jimp@1.6.1)(sharp@0.34.5):
baileys@7.0.0-rc13(audio-decode@2.2.3)(jimp@1.6.1)(sharp@0.34.5):
dependencies:
'@cacheable/node-cache': 1.7.6
'@hapi/boom': 9.1.4

View File

@@ -105,4 +105,3 @@ peerDependencyRules:
patchedDependencies:
"@agentclientprotocol/claude-agent-acp@0.36.1": "patches/@agentclientprotocol__claude-agent-acp@0.36.1.patch"
"baileys@7.0.0-rc13": "patches/baileys@7.0.0-rc13.patch"