Docs: rename relay command to gateway
This commit is contained in:
@@ -6,7 +6,7 @@ Short guide to verify the WhatsApp Web / Baileys stack without guessing.
|
|||||||
- `pnpm clawdis status --json` — confirms creds exist (`web.linked`), shows auth age (`authAgeMs`), heartbeat interval, and where the session store lives.
|
- `pnpm clawdis status --json` — confirms creds exist (`web.linked`), shows auth age (`authAgeMs`), heartbeat interval, and where the session store lives.
|
||||||
- Send `/status` in WhatsApp/WebChat to see agent readiness, session context usage, current thinking/verbose options, and when the web creds were last refreshed (relink if it looks stale) without invoking the agent.
|
- Send `/status` in WhatsApp/WebChat to see agent readiness, session context usage, current thinking/verbose options, and when the web creds were last refreshed (relink if it looks stale) without invoking the agent.
|
||||||
- `pnpm clawdis heartbeat --verbose --dry-run` — runs the heartbeat path end-to-end (session resolution, message creation) without sending anything. Drop `--dry-run` or add `--message "Ping"` to actually send.
|
- `pnpm clawdis heartbeat --verbose --dry-run` — runs the heartbeat path end-to-end (session resolution, message creation) without sending anything. Drop `--dry-run` or add `--message "Ping"` to actually send.
|
||||||
- `pnpm clawdis relay --verbose --heartbeat-now` — spins the full monitor loop, fires a heartbeat immediately, and will reconnect per `web.reconnect` settings. Good for soak testing.
|
- `pnpm clawdis gateway --verbose --heartbeat-now` — spins the full monitor loop, fires a heartbeat immediately, and will reconnect per `web.reconnect` settings. Good for soak testing.
|
||||||
- Logs: tail `/tmp/clawdis/clawdis.log` and filter for `web-heartbeat`, `web-reconnect`, `web-auto-reply`, `web-inbound`.
|
- Logs: tail `/tmp/clawdis/clawdis.log` and filter for `web-heartbeat`, `web-reconnect`, `web-auto-reply`, `web-inbound`.
|
||||||
|
|
||||||
## Deep diagnostics
|
## Deep diagnostics
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
- **Fast nuke:** From an allowed WhatsApp sender you can send `/restart` to kick `com.steipete.clawdis` via launchd; wait a few seconds for it to relink.
|
- **Fast nuke:** From an allowed WhatsApp sender you can send `/restart` to kick `com.steipete.clawdis` via launchd; wait a few seconds for it to relink.
|
||||||
|
|
||||||
## Helpful commands
|
## Helpful commands
|
||||||
- Start relay web-only: `pnpm clawdis relay --provider web --verbose`
|
- Start relay web-only: `pnpm clawdis gateway --provider web --verbose`
|
||||||
- Show who is linked: `pnpm clawdis relay --provider web --verbose` (first line prints the linked E.164)
|
- Show who is linked: `pnpm clawdis gateway --provider web --verbose` (first line prints the linked E.164)
|
||||||
- Logout (clear creds): `pnpm clawdis logout`
|
- Logout (clear creds): `pnpm clawdis logout`
|
||||||
- Relink: `pnpm clawdis login --provider web`
|
- Relink: `pnpm clawdis login --provider web`
|
||||||
- Tail logs (default): `tail -f /tmp/clawdis/clawdis.log`
|
- Tail logs (default): `tail -f /tmp/clawdis/clawdis.log`
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ export async function ensureFunnel(
|
|||||||
);
|
);
|
||||||
runtime.error(
|
runtime.error(
|
||||||
info(
|
info(
|
||||||
"Tip: Funnel is optional for CLAWDIS. You can keep running the web relay without it: `pnpm clawdis relay`",
|
"Tip: Funnel is optional for CLAWDIS. You can keep running the web relay without it: `pnpm clawdis gateway`",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (isVerbose()) {
|
if (isVerbose()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user