Repository navigation
feat(cli): cloud group commands for Official groups (beta) - #63
Conversation
….1.0-dev.20261001204803
|
Local review (Codex usage exhausted): manual review of the full diff at head da2717e. I checked the routes, request bodies and flags against the SDK and API contract, one attempt per change with key passthrough, |
|
Warning Review limit reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 43 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. Your 63 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (15)
Comment |
Summary
Adds
polymorfa cloud groupcommands (beta) for Official groups, built onMessagingClient.officialGroups(polymorfa/sdks#328, API polymorfa/polymorfa#431):list,create,get,update,delete(requires--yes),invite-link(with--reset),remove-participants,join-requests list|approve|reject, andpin(--daysto pin,--unpinto unpin).--idempotency-keyto the API. A command that only reads refuses the key.updatewith neither--subjectnor--description, andpinwith neither--daysnor--unpin.whatsapp_groups_ineligibleis surfaced as returned by the API.@polymorfa/sdkis pinned to the exact published dev prerelease0.1.0-dev.20261001204803, from SDK mergeb1ce8f4. The README version line and the prerelease test are updated.cloud:groupandcloud:group:join-requestsare added.Verification
npm run verifypasses: format, lint, typecheck, tests (960 passed, 2 skipped), build, pack dry run and production audit. The newtest/commands/cloud-group.test.tschecks that every command hits the documented route with the expected body, that a change is sent once with the idempotency key, that the eligibility error is surfaced, and that invalid input and client tokens are refused before any request.Not exercised: a live API (the beta has no audience).
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.