From 889011c08c42efbe6ecdc616ed18f8155b17519d Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Wed, 18 Mar 2026 03:23:27 +0000 Subject: [PATCH] Build: remove legacy WhatsApp login shim --- knip.config.ts | 1 - src/channels/plugins/agent-tools/whatsapp-login.ts | 2 -- tsdown.config.ts | 3 --- 3 files changed, 6 deletions(-) delete mode 100644 src/channels/plugins/agent-tools/whatsapp-login.ts diff --git a/knip.config.ts b/knip.config.ts index 1c1f510a9b7..0df45bd6e87 100644 --- a/knip.config.ts +++ b/knip.config.ts @@ -4,7 +4,6 @@ const rootEntries = [ "src/entry.ts!", "src/cli/daemon-cli.ts!", "src/infra/warning-filter.ts!", - "src/channels/plugins/agent-tools/whatsapp-login.ts!", "extensions/telegram/src/audit.ts!", "extensions/telegram/src/token.ts!", "src/line/accounts.ts!", diff --git a/src/channels/plugins/agent-tools/whatsapp-login.ts b/src/channels/plugins/agent-tools/whatsapp-login.ts deleted file mode 100644 index 2204225bdda..00000000000 --- a/src/channels/plugins/agent-tools/whatsapp-login.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Shim: keep legacy import path while the runtime loads the plugin SDK surface. -export * from "../../../plugin-sdk/whatsapp.js"; diff --git a/tsdown.config.ts b/tsdown.config.ts index ad1e6ea7748..0d643b046ac 100644 --- a/tsdown.config.ts +++ b/tsdown.config.ts @@ -160,9 +160,6 @@ function buildCoreDistEntries(): Record { // Ensure this module is bundled as an entry so legacy CLI shims can resolve its exports. "cli/daemon-cli": "src/cli/daemon-cli.ts", "infra/warning-filter": "src/infra/warning-filter.ts", - // Keep sync lazy-runtime channel modules as concrete dist files. - "channels/plugins/agent-tools/whatsapp-login": - "src/channels/plugins/agent-tools/whatsapp-login.ts", "telegram/audit": "extensions/telegram/src/audit.ts", "telegram/token": "extensions/telegram/src/token.ts", "line/accounts": "src/line/accounts.ts",