Skip to content

docs: add WAIL to the PlatformType -> OtherWebClient mapping - #517

Merged
jlucaso1 merged 1 commit into
mainfrom
claude/nifty-bohr-68z2be
Aug 12, 2026
Merged

docs: add WAIL to the PlatformType -> OtherWebClient mapping#517
jlucaso1 merged 1 commit into
mainfrom
claude/nifty-bohr-68z2be

Conversation

@jlucaso1

@jlucaso1 jlucaso1 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

whatsapp-rust#1293 regenerated the vendored whatsapp.proto from a newer whatspec bundle and picked up a new DeviceProps.PlatformType::WAIL variant. companion_web_client_type_for_platform (wacore/src/companion_reg.rs) maps it to OtherWebClient, same as the other non-browser/non-attested platforms (iOS, AR/VR, Wear OS, the proto's UNKNOWN).

concepts/authentication.mdx documents that mapping function's arm-by-arm behavior for readers relying on the docs rather than the source, and its list of platforms collapsing to OtherWebClient was now stale.

Changes

  • concepts/authentication.mdx: add WAIL to the list of PlatformType variants that collapse to OtherWebClient, with the same one-line rationale given in the upstream PR (Android-letter attestation this crate can't produce, and '0' being server-rejected).

Not included

  • PR #1293 is primarily a build-tooling change (a new whatspec-codegen crate that owns and verifies the vendored-artifact regeneration) — no other part of it is user-facing.
  • Its other two breaking proto changes (AIRichResponseContentItemsMetadata oneof rename, EncryptMessageOutput.messageKey removal) and the new WA_WEB_VERSION/WA_WEB_VERSION_STR exports aren't referenced by any existing doc page, so there's nothing stale to fix there.
  • Left the changelog alone per standing instructions.

Ref: oxidezap/whatsapp-rust#1293


Generated by Claude Code


Summary by cubic

Update authentication docs to include WAIL in the PlatformType -> OtherWebClient mapping used by companion_web_client_type_for_platform. This keeps the page in sync with the latest whatsapp.proto update and matches how non-browser platforms are handled.

Written for commit 8e83e60. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • Updated platform mapping documentation to clarify that WAIL is categorized as OtherWebClient.

whatsapp-rust#1293 regenerated the vendored proto and added a new
DeviceProps.PlatformType::WAIL variant, which companion_reg.rs maps
to OtherWebClient like the other non-browser platforms.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161XuywK8NYtPdhrNredAXz
@mintlify

mintlify Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
whatsapp-rust 🟢 Ready View Preview Aug 12, 2026, 4:26 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 21186411-8324-437f-8af7-87bbee0d4bda

📥 Commits

Reviewing files that changed from the base of the PR and between 49d704b and 8e83e60.

📒 Files selected for processing (1)
  • concepts/authentication.mdx

📝 Walkthrough

Walkthrough

The authentication documentation now states that WAIL maps to OtherWebClient. Existing mappings remain unchanged.

Changes

Authentication platform mapping

Layer / File(s) Summary
Document fallback mapping
concepts/authentication.mdx
The PlatformType documentation includes WAIL in the OtherWebClient fallback mapping.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A rabbit checked the mapping line,
“WAIL joins OtherWebClient just fine.”
The other entries stay in place,
With tidy docs and steady pace.
Hop, hop—clearer words now shine!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the documentation change that adds WAIL to the OtherWebClient mapping.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jlucaso1
jlucaso1 merged commit 8cfeffe into main Aug 12, 2026
3 checks passed
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.

2 participants