feat: add usage to providers list
This commit is contained in:
@@ -220,6 +220,10 @@ Common options:
|
||||
- `--account <id>`: provider account id (default `default`)
|
||||
- `--name <label>`: display name for the account
|
||||
|
||||
`providers list` options:
|
||||
- `--usage`: include provider usage/quota snapshots (OAuth/API-backed only).
|
||||
- `--json`: output JSON (includes usage when `--usage` is set).
|
||||
|
||||
### `pairing`
|
||||
Approve DM pairing requests across providers.
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ read_when:
|
||||
## Where it shows up
|
||||
- `/status` in chats: adds a short “Usage” line (only if available).
|
||||
- CLI: `clawdbot status --usage` prints a full per-provider breakdown.
|
||||
- CLI: `clawdbot providers list --usage` prints the same usage snapshot alongside provider config.
|
||||
- macOS menu bar: “Usage” section under Context (only if available).
|
||||
|
||||
## Providers + credentials
|
||||
@@ -24,4 +25,3 @@ read_when:
|
||||
- **z.ai**: API key via env/config/auth store.
|
||||
|
||||
Usage is hidden if no matching OAuth/API credentials exist.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user