feat(cli): move provider login/logout

This commit is contained in:
Peter Steinberger
2026-01-08 07:40:08 +01:00
parent 903f5af59c
commit e83c6ac088
19 changed files with 153 additions and 68 deletions

View File

@@ -60,7 +60,7 @@ If you link your personal WhatsApp to CLAWDBOT, every message to you becomes “
1) Pair WhatsApp Web (shows QR; scan with the assistant phone):
```bash
clawdbot login
clawdbot providers login
```
2) Start the Gateway (leave it running):

View File

@@ -430,7 +430,7 @@ You can add options like `debounce:2s cap:25 drop:summarize` for followup modes.
Run the login command again and scan the QR code:
```bash
clawdbot login
clawdbot providers login
```
### Build errors on `main` — whats the standard fix path?

View File

@@ -99,7 +99,7 @@ https://github.com/oven-sh/bun/issues/5951
### WhatsApp (QR login)
```bash
pnpm clawdbot login
pnpm clawdbot providers login
```
Scan via WhatsApp → Settings → Linked Devices.

View File

@@ -46,7 +46,7 @@ pnpm clawdbot setup
4) Link surfaces (example: WhatsApp):
```bash
clawdbot login
clawdbot providers login
```
5) Sanity check:
@@ -56,7 +56,7 @@ clawdbot health
```
If onboarding is still WIP/broken on your build:
- Run `clawdbot setup`, then `clawdbot login`, then start the Gateway manually (`clawdbot gateway`).
- Run `clawdbot setup`, then `clawdbot providers login`, then start the Gateway manually (`clawdbot gateway`).
## Bleeding edge workflow (Gateway in a terminal)