mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Comprehensive rename of all openclaw references to hanzo-bot equivalents: - Package: openclaw → @hanzo/bot - Binary: openclaw → hanzo-bot - Types: OpenClaw* → Bot* - Env vars: OPENCLAW_* → BOT_* - Android: ai.openclaw.android → ai.hanzo.bot.android - iOS/macOS: ai.openclaw.* → ai.hanzo.* - Swift modules: OpenClaw* → Bot* - Plugins: openclaw.plugin.json → bot.plugin.json - Paths: .openclaw/ → .hanzo/bot/ - URLs: github.com/openclaw → github.com/hanzoai
1.5 KiB
1.5 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Usage tracking surfaces and credential requirements |
|
Usage Tracking |
Usage tracking
What it is
- Pulls provider usage/quota directly from their usage endpoints.
- No estimated costs; only the provider-reported windows.
Where it shows up
/statusin chats: emoji‑rich status card with session tokens + estimated cost (API key only). Provider usage shows for the current model provider when available./usage off|tokens|fullin chats: per-response usage footer (OAuth shows tokens only)./usage costin chats: local cost summary aggregated from Hanzo Bot session logs.- CLI:
hanzo-bot status --usageprints a full per-provider breakdown. - CLI:
hanzo-bot channels listprints the same usage snapshot alongside provider config (use--no-usageto skip). - macOS menu bar: “Usage” section under Context (only if available).
Providers + credentials
- Anthropic (Claude): OAuth tokens in auth profiles.
- GitHub Copilot: OAuth tokens in auth profiles.
- Gemini CLI: OAuth tokens in auth profiles.
- Antigravity: OAuth tokens in auth profiles.
- OpenAI Codex: OAuth tokens in auth profiles (accountId used when present).
- MiniMax: API key (coding plan key;
MINIMAX_CODE_PLAN_KEYorMINIMAX_API_KEY); uses the 5‑hour coding plan window. - z.ai: API key via env/config/auth store.
Usage is hidden if no matching OAuth/API credentials exist.