feat(gows): WaBantu Phases 1–5 + Communities (27 RPC)#2
feat(gows): WaBantu Phases 1–5 + Communities (27 RPC)#2mrdesauffret-alt wants to merge 9 commits into
Conversation
Add MuteChat, UnmuteChat, UpdateBlockStatus and GetBlocklist to gows.proto (v1.0.40 base) with whatsmeow handlers via appstate.BuildMute and Client.UpdateBlocklist/GetBlocklist. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid treating expired mute_end_ms as a permanent mute (BuildMute with zero duration mutes forever). Co-authored-by: Cursor <cursoragent@cursor.com>
…ents Align gRPC handlers with updated proto: StreamEventsRequest signature, event exclude filtering, and label chat association via whatsmeow appstate. Switch to Unimplemented* embedding for forward-compatible stubs. Co-authored-by: Cursor <cursoragent@cursor.com>
Update whatsmeow to 2026-06-22 and adapt gows to context-aware APIs so WhatsApp client version moves from 2.3000.1019148426 to 2.3000.1041871181. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pushed acab04b on fork `mrdesauffret-alt/gows` (`feat/wabantu-phase1-chat-block`): bumps whatsmeow to address err-client-outdated (405) on session start. WaBantu smoke test next with rebuilt `bin/gows` from this branch. |
Expose appstate.BuildDeleteChat and local buildClearChat via gRPC for WaBantu delete chat and clear messages endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose star/pin/unpin via whatsmeow BuildStar and PinInChatMessage SendMessage. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose whatsmeow community APIs via ListCommunities, CreateCommunity, linked groups link/unlink, invite/join, and metadata updates. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose MediaType.STICKER in SendMessage, privacy settings via whatsmeow TryFetchPrivacySettings/SetPrivacySetting, and ReadStatus via MarkRead to status@broadcast. Co-authored-by: Cursor <cursoragent@cursor.com>
WaBantu consumer — test status (Phase 27, 2026-06-25)Mergeable : yes · WaBantu @ Complete RPC inventory (this PR vs v1.0.40)
Total new RPC methods: 26 (+ sticker enum in existing WaBantu validation
Out of scope (documented 501)
Ready for maintainer review — please do not merge without upstream approval. |
WaBantu Core — validation post-Phase 27 (2026-06-25)WaBantu Web @ Tests WaBantu (binaire local
|
| Commande | Résultat |
|---|---|
yarn test:unit |
✅ 34 suites · 283 passés · 1 skipped |
yarn build |
✅ exit 0 |
Supertest (extraits GOWS-relevant)
- Mute/block/blocklist, delete/clear chat, star/pin, privacy, communities — non 501 avec binaire custom
- Business
GET …/business/profile— 501 attendu (hors scope PR feat(gows): WaBantu Phases 1–5 + Communities (27 RPC) #2 ; spec Phase 5a dansGOWS_BRIDGE_PROPOSAL.md)
Checklist post-merge côté WaBantu
Documenté dans PROJECT_BRAIN/GOWS_UPSTREAM_CHECKLIST.md :
- Tag release (ex.
v1.0.41) + assetgows.proto - Bump
waha.config.json→yarn gows:proto - VPS :
sync-gows-local.shjusqu’à image Docker à jour
Merci pour la review 🙏
Expose whatsmeow Client.GetBusinessProfile via gRPC Json response. Co-authored-by: Cursor <cursoragent@cursor.com>
Revue demandée — HEAD
|
Summary
Upstream gRPC/RPC additions for WaBantu GOWS Phases 1–5 + Communities on branch
feat/wabantu-phase1-chat-block(HEAD934fb6a).Commit range (
ceed2a3..HEAD)b180f1bMuteChat/UnmuteChat,UpdateBlockStatus,GetBlockliste823768mute_end_msis already past56f73e8AddChatLabel/RemoveChatLabel+ StreamEvents fixesacab04b2ca2d18DeleteChat/ClearChat2cf83ecStarMessage,PinMessage,UnpinMessage2f1de590cd3a5eMediaType.STICKER, privacy,ReadStatus934fb6aGetBusinessProfileRPC inventory (27)
MuteChat,UnmuteChat,UpdateBlockStatus,GetBlocklist,AddChatLabel,RemoveChatLabelDeleteChat,ClearChatStarMessage,PinMessage,UnpinMessageGetPrivacySettings,UpdatePrivacySettings,ReadStatus,MediaType.STICKERListCommunities,GetCommunity,CreateCommunity,LeaveCommunity,GetCommunityLinkedGroups,LinkCommunityGroup,UnlinkCommunityGroup,CreateCommunityGroup,SetCommunitySubject,SetCommunityDescription,GetCommunityInviteLink,JoinCommunityGetBusinessProfileWaBantu consumer status (2026-06-26)
sync-gows-local.shmrdesauffret-alt/gowstagv1.0.42-wabantu(proto asset) until this PR mergesTest plan
make build-proto && make buildsucceedsyarn gows:protoafter merge + upstream release tagRemaining GOWS 501s (out of scope)
deleteGroup(useLeaveGroup), calls accept/terminate, community webhooks (NOWEB only), business catalog/orders.