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.8 KiB
1.8 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| CLI reference for `hanzo-bot devices` (device pairing + token rotation/revocation) |
|
devices |
hanzo-bot devices
Manage device pairing requests and device-scoped tokens.
Commands
hanzo-bot devices list
List pending pairing requests and paired devices.
hanzo-bot devices list
hanzo-bot devices list --json
hanzo-bot devices approve <requestId>
Approve a pending device pairing request.
hanzo-bot devices approve <requestId>
hanzo-bot devices reject <requestId>
Reject a pending device pairing request.
hanzo-bot devices reject <requestId>
hanzo-bot devices rotate --device <id> --role <role> [--scope <scope...>]
Rotate a device token for a specific role (optionally updating scopes).
hanzo-bot devices rotate --device <deviceId> --role operator --scope operator.read --scope operator.write
hanzo-bot devices revoke --device <id> --role <role>
Revoke a device token for a specific role.
hanzo-bot devices revoke --device <deviceId> --role node
Common options
--url <url>: Gateway WebSocket URL (defaults togateway.remote.urlwhen configured).--token <token>: Gateway token (if required).--password <password>: Gateway password (password auth).--timeout <ms>: RPC timeout.--json: JSON output (recommended for scripting).
Note: when you set --url, the CLI does not fall back to config or environment credentials.
Pass --token or --password explicitly. Missing explicit credentials is an error.
Notes
- Token rotation returns a new token (sensitive). Treat it like a secret.
- These commands require
operator.pairing(oroperator.admin) scope.