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
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ Skills own workflows; root owns hard policy and routing.
109
109
-`ship` that fixes an issue: after push, comment proof + commit link, then close the issue.
110
110
- GH comments with backticks, `$`, or shell snippets: use heredoc/body file, not inline double-quoted `--body`.
111
111
- PR create: real body required. Include Summary + Verification; mention refs, behavior, and proof.
112
-
- Real behavior proof section is parsed. Use exact `field: value` labels: `Behavior addressed`, `Real environment tested`, `Exact steps or command run after this patch`, `Evidence after fix`, `Observed result after fix`, `What was not tested`.
112
+
-External/contributor PRs must include a `## Real behavior proof` section in the PR body. The `pull_request_target` proof check parses it and fails immediately when it is missing. Use exact `field: value` labels: `Behavior addressed`, `Real environment tested`, `Exact steps or command run after this patch`, `Evidence after fix`, `Observed result after fix`, `What was not tested`.
113
113
- PR artifacts/screenshots: attach to PR/comment/external artifact store. Do not commit `.github/pr-assets`.
114
114
- CI polling: exact SHA, relevant checks only, minimal fields. Skip routine noise (`Auto response`, `Labeler`, docs agents, performance/stale). Logs only after failure/completion or concrete need.
115
115
- Maintainers: may skip/ignore `Real behavior proof` when local tests or Crabbox verified behavior; record proof in PR verification.
openclaw channels login --channel whatsapp --account work
77
+
```
78
+
79
+
If the phone cannot scan a QR code, request a phone-code login instead. Use the full phone number with country code; punctuation is accepted and normalized before OpenClaw asks WhatsApp for the code. Omit optional national trunk prefixes such as `(0)`.
80
+
81
+
```bash
82
+
openclaw channels login --channel whatsapp --account work --phone-number 15551234567
77
83
```
78
84
79
85
To attach an existing/custom WhatsApp Web auth directory before login:
@@ -590,18 +596,31 @@ Behavior notes:
590
596
## Troubleshooting
591
597
592
598
<AccordionGroup>
593
-
<Accordiontitle="Not linked (QR required)">
599
+
<Accordiontitle="Not linked (QR or phone code required)">
Open WhatsApp on the phone, go to _Linked Devices_, choose _Link with phone number_, then enter the code printed by OpenClaw. After the phone accepts it, OpenClaw saves the same WhatsApp Web credentials used by QR login. Enter the international number only, without optional trunk-prefix notation such as `(0)`.
621
+
622
+
</Accordion>
623
+
605
624
<Accordiontitle="Linked but disconnected / reconnect loop">
606
625
Symptom: linked account with repeated disconnects or reconnect attempts.
- Channels that support phone-code login can also consume `--phone-number <number>`. WhatsApp normalizes punctuation and sends digits with country code to WhatsApp's linked-device code flow. Omit optional national trunk prefixes such as `(0)`.
107
109
-`channels login` and `logout` can infer the channel when only one supported login target is configured.
108
110
-`channels logout` prefers the live Gateway path when reachable, so logout stops any active listener before clearing channel auth state. If a local Gateway is not reachable, it falls back to local auth cleanup.
109
111
- Run `channels login` from a terminal on the gateway host. Agent `exec` blocks this interactive login flow; channel-native agent login tools, such as `whatsapp_login`, should be used from chat when available.
Copy file name to clipboardExpand all lines: docs/platforms/mac/remote.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ the selected transport when it starts.
96
96
## WhatsApp login flow (remote)
97
97
98
98
- Run `openclaw channels login --verbose`**on the remote host**. Scan the QR with WhatsApp on your phone.
99
+
- If QR scanning is unavailable, run `openclaw channels login --verbose --phone-number 15551234567` on the remote host, then enter the printed code in WhatsApp under _Linked Devices_ → _Link with phone number_.
99
100
- Re-run login on that host if auth expires. Health check will surface link problems.
0 commit comments