feat: unify directory across channels

This commit is contained in:
Peter Steinberger
2026-01-16 22:05:53 +00:00
parent 929b86e302
commit e44f28bd4f
7 changed files with 372 additions and 18 deletions

View File

@@ -10,10 +10,13 @@ read_when:
Directory lookups for channels that support it (contacts/peers, groups, and “me”).
## Common flags
- `--channel <name>`: channel id/alias (default: `whatsapp`)
- `--channel <name>`: channel id/alias (auto when exactly one channel is configured)
- `--account <id>`: account id (default: channel default)
- `--json`: output JSON
## Notes
- For many channels, `directory` lists IDs from your configuration (allowlists / configured groups), not a live provider directory.
## Self (“me”)
```bash
@@ -35,4 +38,3 @@ clawdbot directory groups list --channel zalouser
clawdbot directory groups list --channel zalouser --query "work"
clawdbot directory groups members --channel zalouser --group-id <id>
```