Skip to content

Cherry-pick 16505718e8: complete WhatsApp extensions-move#2034

Closed
alexey-pelykh wants to merge 1 commit intomainfrom
cherry-pick/16505718e8-extensions-move-whatsapp
Closed

Cherry-pick 16505718e8: complete WhatsApp extensions-move#2034
alexey-pelykh wants to merge 1 commit intomainfrom
cherry-pick/16505718e8-extensions-move-whatsapp

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream (completion)

Upstream commit: 16505718e8
Author: scoootscooob
Issue: Closes #2031

refactor: move WhatsApp channel implementation to extensions/ (openclaw#45725)

Completes the structural move that #2032 started but left incomplete:

  • 43 src/web/ files converted to re-export shims (were left as full implementations)
  • 63 extensions/whatsapp/src/ files with ~11,200 lines of implementations
  • ~16 consuming files with updated import paths

Conflict Resolution (38 conflicts)

  • src/web/ (19): Converted to thin re-export shims pointing to extensions/whatsapp/src/
  • extensions/whatsapp/src/ (11): Accepted upstream import paths, preserved fork rebrand
  • src/discord/ (2): Accepted fork deletion
  • package.json (1): Kept fork version
  • Other (5): Merged import path updates with rebrand

Cherry-picked-from: openclaw/openclaw@16505718e8

Upstream refactor that moves WhatsApp adapter from src/web/ to
extensions/whatsapp/src/, converting src/web/ files into thin
re-export shims. Also moves onboarding and status-issues plugins.

Conflict resolution (38 conflicts):
- extensions/whatsapp/src/ (11): Accepted upstream import paths,
  preserved fork rebrand (RemoteClaw, AGPL-3.0)
- src/web/ (19): Accepted upstream re-export stubs
- src/discord/ (2): Accepted fork's deletion
- package.json (1): Kept fork's version
- src/channels/plugins/ (2): Accepted upstream re-export stubs
- src/commands/ (1): Accepted upstream import path changes
- src/plugin-sdk/ (2): Accepted upstream changes, preserved rebrand

Additionally rebranded 12 auto-merged files that were newly created
by the move (accounts, active-listener, auth-store, login, media,
onboarding, reconnect, send, session, status-issues, test-helpers,
auto-reply/monitor).

Note: This cherry-pick introduces TS errors in the src/web/ shim
layer and extensions/ imports. These are expected from a mid-series
structural refactor -- the upstream commit is part of a larger
extensions-move series and subsequent picks will resolve them.

Cherry-picked-from: openclaw/openclaw@16505718e8
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@alexey-pelykh alexey-pelykh force-pushed the cherry-pick/16505718e8-extensions-move-whatsapp branch from 6358322 to ab3d680 Compare March 28, 2026 19:23
@alexey-pelykh
Copy link
Copy Markdown
Author

CI won't trigger on this branch. Creating new branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick: extensions-move WhatsApp (155 files)

1 participant