docs: tighten onboarding pairing + UI fallback
This commit is contained in:
@@ -87,6 +87,15 @@ pnpm clawdbot onboard
|
|||||||
|
|
||||||
This creates `~/.clawdbot/clawdbot.json` with your API keys, workspace path, and owner phone number.
|
This creates `~/.clawdbot/clawdbot.json` with your API keys, workspace path, and owner phone number.
|
||||||
|
|
||||||
|
### My bot doesn’t respond after I DM it
|
||||||
|
|
||||||
|
Clawdbot defaults to **pairing** for DMs. Your first DM sends a pairing code; messages are ignored until you approve it.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
clawdbot pairing list --provider telegram
|
||||||
|
clawdbot pairing approve --provider telegram <CODE>
|
||||||
|
```
|
||||||
|
|
||||||
### How do I start fresh?
|
### How do I start fresh?
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -42,14 +42,14 @@ Note: Bun is optional if you prefer running TypeScript directly:
|
|||||||
bun install
|
bun install
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2) Build the Control UI (recommended)
|
## 2) Control UI (auto + fallback)
|
||||||
|
|
||||||
The Gateway serves the browser dashboard (Control UI) when assets exist.
|
The Gateway serves the browser dashboard (Control UI) when assets exist.
|
||||||
|
The wizard tries to build these for you. If it fails, run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm ui:install
|
pnpm ui:install
|
||||||
pnpm ui:build
|
pnpm ui:build
|
||||||
pnpm build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If you skip UI build, the gateway still works — you just won’t get the dashboard.
|
If you skip UI build, the gateway still works — you just won’t get the dashboard.
|
||||||
@@ -63,7 +63,7 @@ pnpm clawdbot onboard
|
|||||||
What you’ll choose:
|
What you’ll choose:
|
||||||
- **Local vs Remote** gateway
|
- **Local vs Remote** gateway
|
||||||
- **Auth**: Anthropic OAuth or OpenAI OAuth (recommended), API key (optional), or skip for now
|
- **Auth**: Anthropic OAuth or OpenAI OAuth (recommended), API key (optional), or skip for now
|
||||||
- **Providers**: WhatsApp QR login, bot tokens, etc.
|
- **Providers**: WhatsApp QR login, Telegram/Discord bot tokens, etc.
|
||||||
- **Daemon**: optional background install (launchd/systemd; WSL2 uses systemd)
|
- **Daemon**: optional background install (launchd/systemd; WSL2 uses systemd)
|
||||||
- **Runtime**: Node (recommended; required for WhatsApp) or Bun (faster, but incompatible with WhatsApp)
|
- **Runtime**: Node (recommended; required for WhatsApp) or Bun (faster, but incompatible with WhatsApp)
|
||||||
|
|
||||||
@@ -112,9 +112,12 @@ The wizard can write tokens/config for you. If you prefer manual config, start w
|
|||||||
- Telegram: [Telegram](/providers/telegram)
|
- Telegram: [Telegram](/providers/telegram)
|
||||||
- Discord: [Discord](/providers/discord)
|
- Discord: [Discord](/providers/discord)
|
||||||
|
|
||||||
|
**Telegram DM tip:** your first DM returns a pairing code. Approve it (see next step) or the bot won’t respond.
|
||||||
|
|
||||||
## 6) DM safety (pairing approvals)
|
## 6) DM safety (pairing approvals)
|
||||||
|
|
||||||
Default posture: unknown DMs get a short code and messages are not processed until approved.
|
Default posture: unknown DMs get a short code and messages are not processed until approved.
|
||||||
|
If your first DM gets no reply, approve the pairing:
|
||||||
|
|
||||||
Approve:
|
Approve:
|
||||||
|
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ clawdbot agents add <name>
|
|||||||
- Discord: bot token.
|
- Discord: bot token.
|
||||||
- Signal: optional `signal-cli` install + account config.
|
- Signal: optional `signal-cli` install + account config.
|
||||||
- iMessage: local `imsg` CLI path + DB access.
|
- iMessage: local `imsg` CLI path + DB access.
|
||||||
- DM security: default is pairing (unknown DMs get a pairing code). Approve via `clawdbot pairing approve --provider <provider> <code>`.
|
- DM security: default is pairing. First DM sends a code; approve via `clawdbot pairing approve --provider <provider> <code>` or use allowlists.
|
||||||
|
|
||||||
6) **Daemon install**
|
6) **Daemon install**
|
||||||
- macOS: LaunchAgent
|
- macOS: LaunchAgent
|
||||||
@@ -99,7 +99,8 @@ clawdbot agents add <name>
|
|||||||
|
|
||||||
9) **Finish**
|
9) **Finish**
|
||||||
- Summary + next steps, including iOS/Android/macOS apps for extra features.
|
- Summary + next steps, including iOS/Android/macOS apps for extra features.
|
||||||
- If no GUI is detected, the wizard prints SSH port-forward instructions for the Control UI instead of opening a browser.
|
- If no GUI is detected, the wizard prints SSH port-forward instructions for the Control UI instead of opening a browser.
|
||||||
|
- If the Control UI assets are missing, the wizard attempts to build them; fallback is `pnpm ui:install && pnpm ui:build`.
|
||||||
|
|
||||||
## Remote mode
|
## Remote mode
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user