openclaw/extensions
scoootscooob 16505718e8
refactor: move WhatsApp channel implementation to extensions/ (#45725)
* refactor: move WhatsApp channel from src/web/ to extensions/whatsapp/

Move all WhatsApp implementation code (77 source/test files + 9 channel
plugin files) from src/web/ and src/channels/plugins/*/whatsapp* to
extensions/whatsapp/src/.

- Leave thin re-export shims at all original locations so cross-cutting
  imports continue to resolve
- Update plugin-sdk/whatsapp.ts to only re-export generic framework
  utilities; channel-specific functions imported locally by the extension
- Update vi.mock paths in 15 cross-cutting test files
- Rename outbound.ts -> send.ts to match extension naming conventions
  and avoid false positive in cfg-threading guard test
- Widen tsconfig.plugin-sdk.dts.json rootDir to support shim->extension
  cross-directory references

Part of the core-channels-to-extensions migration (PR 6/10).

* style: format WhatsApp extension files

* fix: correct stale import paths in WhatsApp extension tests

Fix vi.importActual, test mock, and hardcoded source paths that weren't
updated during the file move:
- media.test.ts: vi.importActual path
- onboarding.test.ts: vi.importActual path
- test-helpers.ts: test/mocks/baileys.js path
- monitor-inbox.test-harness.ts: incomplete media/store mock
- login.test.ts: hardcoded source file path
- message-action-runner.media.test.ts: vi.mock/importActual path
2026-03-14 02:44:55 -07:00
..
acpx build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
bluebubbles build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
copilot-proxy build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
device-pair refactor: share device pair ipv4 parsing 2026-03-13 23:35:27 +00:00
diagnostics-otel build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
diffs build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
discord refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
feishu build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
google-gemini-cli-auth build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
googlechat build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
imessage refactor: move iMessage channel to extensions/imessage (#45539) 2026-03-14 02:44:23 -07:00
irc build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
line build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
llm-task build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
lobster build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
matrix refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
mattermost fix(mattermost): carry thread context to non-inbound reply paths (#44283) 2026-03-14 12:23:23 +05:30
memory-core build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
memory-lancedb build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
minimax-portal-auth build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
msteams refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
nextcloud-talk build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
nostr build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
ollama build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
open-prose build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
phone-control test: share plugin api test harness 2026-03-14 02:40:27 +00:00
qwen-portal-auth refactor(extensions): reuse shared helper primitives 2026-03-07 10:41:05 +00:00
sglang build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
shared fix(ci): repair helper typing regressions 2026-03-14 03:22:53 +00:00
signal refactor(signal): move Signal channel code to extensions/signal/src/ (#45531) 2026-03-14 02:42:48 -07:00
slack refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
synology-chat build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
talk-voice fix(discord): avoid native plugin command collisions 2026-03-07 21:59:44 +00:00
telegram refactor: make OutboundSendDeps dynamic with channel-ID keys (#45517) 2026-03-14 02:42:21 -07:00
test-utils fix(ci): repair helper typing regressions 2026-03-14 03:22:53 +00:00
thread-ownership test: dedupe thread ownership send checks 2026-03-13 23:35:27 +00:00
tlon build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
twitch build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
vllm build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
voice-call build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
whatsapp refactor: move WhatsApp channel implementation to extensions/ (#45725) 2026-03-14 02:44:55 -07:00
zalo build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
zalouser build: sync plugins for 2026.3.14 2026-03-14 06:05:39 +00:00
.npmignore fix: harden windows npm runtime path 2026-03-12 23:03:19 +00:00