You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync of fork with upstream/main (first sync since #1 WABA merge). Resolved
~219 file conflicts; ~210 of them were upstream-only changes (refactors of
agent/, tests/, hermes_cli/, web/, ui-tui/, nix/, docs/, etc.) where we had
no fork-specific changes — took theirs. The 10 WABA-touchpoint files needed
manual resolution to preserve the integration:
* gateway/config.py — kept Platform.WHATSAPP_VIA_MCP_META_BUSINESS_API +
env loader; added Platform.WEB_VIA_HTTP_SSE for the new platform.
* gateway/run.py — kept WABA factory + auth allowlists; added WEB_VIA_HTTP_SSE
factory + auth allowlists.
* agent/prompt_builder.py — kept WABA PLATFORM_HINTS; added web_via_http_sse hint.
* toolsets.py — restored hermes-whatsapp-via-mcp-meta-business-api toolset
(upstream refactor dropped it) + added hermes-web-via-http-sse; both
re-included in the hermes-gateway composite.
* cron/scheduler.py, tools/send_message_tool.py, hermes_cli/{status,gateway}.py,
website/docusaurus.config.ts — upstream refactored these to use the
Platform enum dynamically (via _missing_) instead of explicit per-platform
static maps; took theirs since WABA dispatch now works via the enum.
Net new: gateway/platforms/web_via_http_sse.py (~430 LOC, generic SSE
platform mirroring the WABA structure — new file, no conflict).
Verified: ast.parse passes for all modified Python files; gateway/platforms/
whatsapp_via_mcp_meta_business_api.py untouched (binary-equivalent); no merge
markers remain.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
0 commit comments