auto-reply: enrich chat status

This commit is contained in:
Peter Steinberger
2025-12-07 16:53:19 +00:00
parent 1f0ee9837b
commit e2c6546b61
9 changed files with 283 additions and 1 deletions

View File

@@ -127,9 +127,12 @@ clawdis relay # Start listening
| `clawdis send` | Send a message |
| `clawdis agent` | Talk directly to the agent (no WhatsApp send) |
| `clawdis relay` | Start auto-reply loop |
| `clawdis status` | Show recent messages |
| `clawdis status` | Web session health + session store summary |
| `clawdis heartbeat` | Trigger a heartbeat |
In chat, send `/status` to see if the agent is reachable, how much context the session has used, and the current thinking/verbose toggles—no agent call required.
`/status` also shows whether your WhatsApp web session is linked and how long ago the creds were refreshed so you know when to re-scan the QR.
### Sessions, surfaces, and WebChat
- Direct chats now share a canonical session key `main` by default (configurable via `inbound.reply.session.mainKey`). Groups stay isolated as `group:<jid>`.