1.1 KiB
1.1 KiB
summary, read_when
| summary | read_when | |
|---|---|---|
| Design notes for a direct `clawdis agent` CLI subcommand without WhatsApp delivery |
|
clawdis agent (direct-to-agent invocation)
clawdis agent lets you talk to the embedded agent runtime directly (no chat send unless you opt in), while reusing the same session store and thinking/verbose persistence as inbound auto-replies.
Behavior
- Required:
--message <text> - Session selection:
- If
--session-idis given, reuse it. - Else if
--to <e164>is given, derive the session key fromsession.scope(direct chats collapse tosession.mainKey).
- If
- Runs the embedded Pi agent (configured via
agent). - Thinking/verbose:
- Flags
--thinking <off|minimal|low|medium|high>and--verbose <on|off>persist into the session store.
- Flags
- Output:
- Default: prints text (and
MEDIA:<url>lines) to stdout. --json: prints structured payloads + meta.
- Default: prints text (and
- Optional:
--deliversends the reply back to the selected provider (whatsapp,telegram,discord,signal,imessage).