@quantumclaw/quantumclaw 2026.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4601 -0
- package/LICENSE +21 -0
- package/README.md +559 -0
- package/assets/avatar-placeholder.svg +19 -0
- package/assets/chrome-extension/icons/icon128.png +0 -0
- package/assets/chrome-extension/icons/icon16.png +0 -0
- package/assets/chrome-extension/icons/icon32.png +0 -0
- package/assets/chrome-extension/icons/icon48.png +0 -0
- package/assets/dmg-background-small.png +0 -0
- package/assets/dmg-background.png +0 -0
- package/docs/.i18n/README.md +31 -0
- package/docs/.i18n/glossary.ja-JP.json +14 -0
- package/docs/.i18n/glossary.zh-CN.json +302 -0
- package/docs/.i18n/ja-JP.tm.jsonl +0 -0
- package/docs/assets/install-script.svg +1 -0
- package/docs/assets/macos-onboarding/01-macos-warning.jpeg +0 -0
- package/docs/assets/macos-onboarding/02-local-networks.jpeg +0 -0
- package/docs/assets/macos-onboarding/03-security-notice.png +0 -0
- package/docs/assets/macos-onboarding/04-choose-gateway.png +0 -0
- package/docs/assets/macos-onboarding/05-permissions.png +0 -0
- package/docs/assets/pixel-lobster.svg +60 -0
- package/docs/assets/quantumclaw-logo-text-dark.png +0 -0
- package/docs/assets/quantumclaw-logo-text-dark.svg +418 -0
- package/docs/assets/quantumclaw-logo-text.png +0 -0
- package/docs/assets/quantumclaw-logo-text.svg +418 -0
- package/docs/assets/showcase/agents-ui.jpg +0 -0
- package/docs/assets/showcase/bambu-cli.png +0 -0
- package/docs/assets/showcase/codexmonitor.png +0 -0
- package/docs/assets/showcase/gohome-grafana.png +0 -0
- package/docs/assets/showcase/ios-testflight.jpg +0 -0
- package/docs/assets/showcase/oura-health.png +0 -0
- package/docs/assets/showcase/padel-cli.svg +11 -0
- package/docs/assets/showcase/padel-screenshot.jpg +0 -0
- package/docs/assets/showcase/papla-tts.jpg +0 -0
- package/docs/assets/showcase/pr-review-telegram.jpg +0 -0
- package/docs/assets/showcase/roborock-screenshot.jpg +0 -0
- package/docs/assets/showcase/roborock-status.svg +13 -0
- package/docs/assets/showcase/roof-camera-sky.jpg +0 -0
- package/docs/assets/showcase/snag.png +0 -0
- package/docs/assets/showcase/tesco-shop.jpg +0 -0
- package/docs/assets/showcase/wienerlinien.png +0 -0
- package/docs/assets/showcase/wine-cellar-skill.jpg +0 -0
- package/docs/assets/showcase/winix-air-purifier.jpg +0 -0
- package/docs/assets/showcase/xuezh-pronunciation.jpeg +0 -0
- package/docs/assets/sponsors/blacksmith.svg +14 -0
- package/docs/assets/sponsors/convex.svg +16 -0
- package/docs/assets/sponsors/openai.svg +3 -0
- package/docs/assets/sponsors/vercel.svg +5 -0
- package/docs/auth-credential-semantics.md +53 -0
- package/docs/automation/auth-monitoring.md +44 -0
- package/docs/automation/cron-jobs.md +727 -0
- package/docs/automation/cron-vs-heartbeat.md +286 -0
- package/docs/automation/gmail-pubsub.md +256 -0
- package/docs/automation/hooks.md +1056 -0
- package/docs/automation/poll.md +86 -0
- package/docs/automation/standing-orders.md +251 -0
- package/docs/automation/troubleshooting.md +122 -0
- package/docs/automation/webhook.md +217 -0
- package/docs/brave-search.md +93 -0
- package/docs/channels/bluebubbles.md +347 -0
- package/docs/channels/broadcast-groups.md +442 -0
- package/docs/channels/channel-routing.md +139 -0
- package/docs/channels/discord.md +1229 -0
- package/docs/channels/feishu.md +747 -0
- package/docs/channels/googlechat.md +261 -0
- package/docs/channels/group-messages.md +84 -0
- package/docs/channels/groups.md +379 -0
- package/docs/channels/imessage.md +367 -0
- package/docs/channels/index.md +47 -0
- package/docs/channels/irc.md +242 -0
- package/docs/channels/line.md +194 -0
- package/docs/channels/location.md +56 -0
- package/docs/channels/matrix.md +677 -0
- package/docs/channels/mattermost.md +427 -0
- package/docs/channels/msteams.md +780 -0
- package/docs/channels/nextcloud-talk.md +138 -0
- package/docs/channels/nostr.md +249 -0
- package/docs/channels/pairing.md +114 -0
- package/docs/channels/signal.md +329 -0
- package/docs/channels/slack.md +603 -0
- package/docs/channels/synology-chat.md +134 -0
- package/docs/channels/telegram.md +987 -0
- package/docs/channels/tlon.md +276 -0
- package/docs/channels/troubleshooting.md +118 -0
- package/docs/channels/twitch.md +379 -0
- package/docs/channels/whatsapp.md +460 -0
- package/docs/channels/zalo.md +243 -0
- package/docs/channels/zalouser.md +181 -0
- package/docs/ci.md +55 -0
- package/docs/cli/acp.md +288 -0
- package/docs/cli/agent.md +29 -0
- package/docs/cli/agents.md +123 -0
- package/docs/cli/approvals.md +50 -0
- package/docs/cli/backup.md +76 -0
- package/docs/cli/browser.md +106 -0
- package/docs/cli/channels.md +102 -0
- package/docs/cli/clawbot.md +21 -0
- package/docs/cli/completion.md +35 -0
- package/docs/cli/config.md +295 -0
- package/docs/cli/configure.md +36 -0
- package/docs/cli/cron.md +77 -0
- package/docs/cli/daemon.md +53 -0
- package/docs/cli/dashboard.md +22 -0
- package/docs/cli/devices.md +139 -0
- package/docs/cli/directory.md +63 -0
- package/docs/cli/dns.md +23 -0
- package/docs/cli/docs.md +15 -0
- package/docs/cli/doctor.md +48 -0
- package/docs/cli/gateway.md +235 -0
- package/docs/cli/health.md +21 -0
- package/docs/cli/hooks.md +329 -0
- package/docs/cli/index.md +1150 -0
- package/docs/cli/logs.md +28 -0
- package/docs/cli/memory.md +66 -0
- package/docs/cli/message.md +278 -0
- package/docs/cli/models.md +81 -0
- package/docs/cli/node.md +127 -0
- package/docs/cli/nodes.md +75 -0
- package/docs/cli/onboard.md +157 -0
- package/docs/cli/pairing.md +32 -0
- package/docs/cli/plugins.md +210 -0
- package/docs/cli/qr.md +46 -0
- package/docs/cli/reset.md +20 -0
- package/docs/cli/sandbox.md +197 -0
- package/docs/cli/secrets.md +188 -0
- package/docs/cli/security.md +79 -0
- package/docs/cli/sessions.md +110 -0
- package/docs/cli/setup.md +29 -0
- package/docs/cli/skills.md +36 -0
- package/docs/cli/status.md +30 -0
- package/docs/cli/system.md +60 -0
- package/docs/cli/tui.md +30 -0
- package/docs/cli/uninstall.md +20 -0
- package/docs/cli/update.md +103 -0
- package/docs/cli/voicecall.md +34 -0
- package/docs/cli/webhooks.md +25 -0
- package/docs/concepts/agent-loop.md +148 -0
- package/docs/concepts/agent-workspace.md +236 -0
- package/docs/concepts/agent.md +122 -0
- package/docs/concepts/architecture.md +137 -0
- package/docs/concepts/compaction.md +123 -0
- package/docs/concepts/context-engine.md +268 -0
- package/docs/concepts/context.md +172 -0
- package/docs/concepts/delegate-architecture.md +296 -0
- package/docs/concepts/features.md +73 -0
- package/docs/concepts/markdown-formatting.md +130 -0
- package/docs/concepts/memory.md +108 -0
- package/docs/concepts/messages.md +154 -0
- package/docs/concepts/model-failover.md +152 -0
- package/docs/concepts/model-providers.md +607 -0
- package/docs/concepts/models.md +225 -0
- package/docs/concepts/multi-agent.md +552 -0
- package/docs/concepts/oauth.md +158 -0
- package/docs/concepts/presence.md +102 -0
- package/docs/concepts/queue.md +89 -0
- package/docs/concepts/retry.md +69 -0
- package/docs/concepts/session-pruning.md +121 -0
- package/docs/concepts/session-tool.md +242 -0
- package/docs/concepts/session.md +310 -0
- package/docs/concepts/streaming.md +155 -0
- package/docs/concepts/system-prompt.md +132 -0
- package/docs/concepts/timezone.md +91 -0
- package/docs/concepts/typebox.md +291 -0
- package/docs/concepts/typing-indicators.md +68 -0
- package/docs/concepts/usage-tracking.md +35 -0
- package/docs/date-time.md +128 -0
- package/docs/debug/node-issue.md +85 -0
- package/docs/diagnostics/flags.md +91 -0
- package/docs/docs.json +2078 -0
- package/docs/gateway/authentication.md +179 -0
- package/docs/gateway/background-process.md +97 -0
- package/docs/gateway/bonjour.md +177 -0
- package/docs/gateway/bridge-protocol.md +91 -0
- package/docs/gateway/cli-backends.md +225 -0
- package/docs/gateway/configuration-examples.md +651 -0
- package/docs/gateway/configuration-reference.md +3123 -0
- package/docs/gateway/configuration.md +633 -0
- package/docs/gateway/discovery.md +123 -0
- package/docs/gateway/doctor.md +362 -0
- package/docs/gateway/gateway-lock.md +34 -0
- package/docs/gateway/health.md +44 -0
- package/docs/gateway/heartbeat.md +393 -0
- package/docs/gateway/index.md +261 -0
- package/docs/gateway/local-models.md +152 -0
- package/docs/gateway/logging.md +113 -0
- package/docs/gateway/multiple-gateways.md +112 -0
- package/docs/gateway/network-model.md +22 -0
- package/docs/gateway/openai-http-api.md +132 -0
- package/docs/gateway/openresponses-http-api.md +295 -0
- package/docs/gateway/openshell.md +307 -0
- package/docs/gateway/pairing.md +99 -0
- package/docs/gateway/protocol.md +267 -0
- package/docs/gateway/remote-gateway-readme.md +158 -0
- package/docs/gateway/remote.md +153 -0
- package/docs/gateway/sandbox-vs-tool-policy-vs-elevated.md +134 -0
- package/docs/gateway/sandboxing.md +469 -0
- package/docs/gateway/secrets-plan-contract.md +116 -0
- package/docs/gateway/secrets.md +503 -0
- package/docs/gateway/security/index.md +1220 -0
- package/docs/gateway/tailscale.md +132 -0
- package/docs/gateway/tools-invoke-http-api.md +118 -0
- package/docs/gateway/troubleshooting.md +378 -0
- package/docs/gateway/trusted-proxy-auth.md +330 -0
- package/docs/help/debugging.md +168 -0
- package/docs/help/environment.md +163 -0
- package/docs/help/faq.md +2997 -0
- package/docs/help/index.md +28 -0
- package/docs/help/scripts.md +28 -0
- package/docs/help/testing.md +526 -0
- package/docs/help/troubleshooting.md +297 -0
- package/docs/images/configure-model-picker-unsearchable.png +0 -0
- package/docs/images/feishu-step2-create-app.png +0 -0
- package/docs/images/feishu-step3-credentials.png +0 -0
- package/docs/images/feishu-step4-permissions.png +0 -0
- package/docs/images/feishu-step5-bot-capability.png +0 -0
- package/docs/images/feishu-step6-event-subscription.png +0 -0
- package/docs/images/feishu-verification-token.png +0 -0
- package/docs/images/groups-flow.svg +52 -0
- package/docs/images/mobile-ui-screenshot.png +0 -0
- package/docs/index.md +196 -0
- package/docs/install/ansible.md +230 -0
- package/docs/install/azure.md +311 -0
- package/docs/install/bun.md +55 -0
- package/docs/install/development-channels.md +120 -0
- package/docs/install/digitalocean.md +129 -0
- package/docs/install/docker-vm-runtime.md +142 -0
- package/docs/install/docker.md +375 -0
- package/docs/install/exe-dev.md +126 -0
- package/docs/install/fly.md +501 -0
- package/docs/install/gcp.md +402 -0
- package/docs/install/hetzner.md +251 -0
- package/docs/install/index.md +183 -0
- package/docs/install/installer.md +415 -0
- package/docs/install/kubernetes.md +191 -0
- package/docs/install/macos-vm.md +281 -0
- package/docs/install/migrating-matrix.md +346 -0
- package/docs/install/migrating.md +110 -0
- package/docs/install/nix.md +89 -0
- package/docs/install/node.md +138 -0
- package/docs/install/northflank.mdx +54 -0
- package/docs/install/oracle.md +156 -0
- package/docs/install/podman.md +133 -0
- package/docs/install/railway.mdx +100 -0
- package/docs/install/raspberry-pi.md +159 -0
- package/docs/install/render.mdx +169 -0
- package/docs/install/uninstall.md +128 -0
- package/docs/install/updating.md +128 -0
- package/docs/ja-JP/index.md +186 -0
- package/docs/ja-JP/start/getting-started.md +125 -0
- package/docs/ja-JP/start/wizard.md +77 -0
- package/docs/logging.md +352 -0
- package/docs/nav-tabs-underline.js +100 -0
- package/docs/network.md +54 -0
- package/docs/nodes/audio.md +187 -0
- package/docs/nodes/camera.md +162 -0
- package/docs/nodes/images.md +72 -0
- package/docs/nodes/index.md +393 -0
- package/docs/nodes/location-command.md +98 -0
- package/docs/nodes/media-understanding.md +394 -0
- package/docs/nodes/talk.md +92 -0
- package/docs/nodes/troubleshooting.md +114 -0
- package/docs/nodes/voicewake.md +66 -0
- package/docs/perplexity.md +174 -0
- package/docs/pi-dev.md +80 -0
- package/docs/pi.md +567 -0
- package/docs/platforms/android.md +168 -0
- package/docs/platforms/digitalocean.md +266 -0
- package/docs/platforms/index.md +54 -0
- package/docs/platforms/ios.md +220 -0
- package/docs/platforms/linux.md +94 -0
- package/docs/platforms/mac/bundled-gateway.md +73 -0
- package/docs/platforms/mac/canvas.md +125 -0
- package/docs/platforms/mac/child-process.md +69 -0
- package/docs/platforms/mac/dev-setup.md +104 -0
- package/docs/platforms/mac/health.md +34 -0
- package/docs/platforms/mac/icon.md +31 -0
- package/docs/platforms/mac/logging.md +57 -0
- package/docs/platforms/mac/menu-bar.md +81 -0
- package/docs/platforms/mac/peekaboo.md +65 -0
- package/docs/platforms/mac/permissions.md +50 -0
- package/docs/platforms/mac/remote.md +84 -0
- package/docs/platforms/mac/signing.md +47 -0
- package/docs/platforms/mac/skills.md +33 -0
- package/docs/platforms/mac/voice-overlay.md +60 -0
- package/docs/platforms/mac/voicewake.md +67 -0
- package/docs/platforms/mac/webchat.md +43 -0
- package/docs/platforms/mac/xpc.md +61 -0
- package/docs/platforms/macos.md +226 -0
- package/docs/platforms/oracle.md +303 -0
- package/docs/platforms/raspberry-pi.md +412 -0
- package/docs/platforms/windows.md +241 -0
- package/docs/plugins/agent-tools.md +10 -0
- package/docs/plugins/architecture.md +1366 -0
- package/docs/plugins/building-extensions.md +10 -0
- package/docs/plugins/building-plugins.md +239 -0
- package/docs/plugins/bundles.md +181 -0
- package/docs/plugins/community.md +145 -0
- package/docs/plugins/manifest.md +241 -0
- package/docs/plugins/sdk-channel-plugins.md +370 -0
- package/docs/plugins/sdk-entrypoints.md +161 -0
- package/docs/plugins/sdk-migration.md +172 -0
- package/docs/plugins/sdk-overview.md +196 -0
- package/docs/plugins/sdk-provider-plugins.md +370 -0
- package/docs/plugins/sdk-runtime.md +345 -0
- package/docs/plugins/sdk-setup.md +331 -0
- package/docs/plugins/sdk-testing.md +263 -0
- package/docs/plugins/voice-call.md +380 -0
- package/docs/plugins/zalouser.md +77 -0
- package/docs/prose.md +134 -0
- package/docs/providers/anthropic.md +259 -0
- package/docs/providers/bedrock.md +176 -0
- package/docs/providers/claude-max-api-proxy.md +154 -0
- package/docs/providers/cloudflare-ai-gateway.md +71 -0
- package/docs/providers/deepgram.md +93 -0
- package/docs/providers/github-copilot.md +72 -0
- package/docs/providers/glm.md +43 -0
- package/docs/providers/google.md +78 -0
- package/docs/providers/groq.md +96 -0
- package/docs/providers/huggingface.md +209 -0
- package/docs/providers/index.md +69 -0
- package/docs/providers/kilocode.md +74 -0
- package/docs/providers/litellm.md +154 -0
- package/docs/providers/minimax.md +224 -0
- package/docs/providers/mistral.md +54 -0
- package/docs/providers/models.md +45 -0
- package/docs/providers/modelstudio.md +66 -0
- package/docs/providers/moonshot.md +175 -0
- package/docs/providers/nvidia.md +55 -0
- package/docs/providers/ollama.md +352 -0
- package/docs/providers/openai.md +303 -0
- package/docs/providers/opencode-go.md +45 -0
- package/docs/providers/opencode.md +64 -0
- package/docs/providers/openrouter.md +37 -0
- package/docs/providers/perplexity-provider.md +62 -0
- package/docs/providers/qianfan.md +38 -0
- package/docs/providers/qwen.md +53 -0
- package/docs/providers/sglang.md +104 -0
- package/docs/providers/synthetic.md +99 -0
- package/docs/providers/together.md +66 -0
- package/docs/providers/venice.md +282 -0
- package/docs/providers/vercel-ai-gateway.md +60 -0
- package/docs/providers/vllm.md +92 -0
- package/docs/providers/volcengine.md +74 -0
- package/docs/providers/xai.md +60 -0
- package/docs/providers/xiaomi.md +86 -0
- package/docs/providers/zai.md +46 -0
- package/docs/reference/AGENTS.default.md +126 -0
- package/docs/reference/RELEASING.md +42 -0
- package/docs/reference/api-usage-costs.md +144 -0
- package/docs/reference/credits.md +30 -0
- package/docs/reference/device-models.md +47 -0
- package/docs/reference/memory-config.md +711 -0
- package/docs/reference/prompt-caching.md +185 -0
- package/docs/reference/rpc.md +43 -0
- package/docs/reference/secretref-credential-surface.md +140 -0
- package/docs/reference/secretref-user-supplied-credentials-matrix.json +563 -0
- package/docs/reference/session-management-compaction.md +324 -0
- package/docs/reference/templates/AGENTS.dev.md +83 -0
- package/docs/reference/templates/AGENTS.md +219 -0
- package/docs/reference/templates/BOOT.md +11 -0
- package/docs/reference/templates/BOOTSTRAP.md +62 -0
- package/docs/reference/templates/HEARTBEAT.md +14 -0
- package/docs/reference/templates/IDENTITY.dev.md +47 -0
- package/docs/reference/templates/IDENTITY.md +29 -0
- package/docs/reference/templates/SOUL.dev.md +76 -0
- package/docs/reference/templates/SOUL.md +43 -0
- package/docs/reference/templates/TOOLS.dev.md +24 -0
- package/docs/reference/templates/TOOLS.md +47 -0
- package/docs/reference/templates/USER.dev.md +18 -0
- package/docs/reference/templates/USER.md +23 -0
- package/docs/reference/test.md +90 -0
- package/docs/reference/token-use.md +175 -0
- package/docs/reference/transcript-hygiene.md +151 -0
- package/docs/reference/wizard.md +235 -0
- package/docs/security/CONTRIBUTING-THREAT-MODEL.md +98 -0
- package/docs/security/THREAT-MODEL-ATLAS.md +611 -0
- package/docs/security/formal-verification.md +167 -0
- package/docs/start/bootstrapping.md +41 -0
- package/docs/start/docs-directory.md +66 -0
- package/docs/start/getting-started.md +116 -0
- package/docs/start/hubs.md +198 -0
- package/docs/start/lore.md +219 -0
- package/docs/start/onboarding-overview.md +67 -0
- package/docs/start/onboarding.md +91 -0
- package/docs/start/openclaw.md +221 -0
- package/docs/start/quickstart.md +22 -0
- package/docs/start/setup.md +164 -0
- package/docs/start/showcase.md +418 -0
- package/docs/start/wizard-cli-automation.md +215 -0
- package/docs/start/wizard-cli-reference.md +299 -0
- package/docs/start/wizard.md +125 -0
- package/docs/style.css +37 -0
- package/docs/tools/acp-agents.md +623 -0
- package/docs/tools/agent-send.md +100 -0
- package/docs/tools/apply-patch.md +51 -0
- package/docs/tools/brave-search.md +93 -0
- package/docs/tools/browser-linux-troubleshooting.md +138 -0
- package/docs/tools/browser-login.md +73 -0
- package/docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md +211 -0
- package/docs/tools/browser.md +731 -0
- package/docs/tools/btw.md +142 -0
- package/docs/tools/capability-cookbook.md +119 -0
- package/docs/tools/clawhub.md +298 -0
- package/docs/tools/creating-skills.md +117 -0
- package/docs/tools/diffs.md +386 -0
- package/docs/tools/elevated.md +114 -0
- package/docs/tools/exec-approvals.md +430 -0
- package/docs/tools/exec.md +207 -0
- package/docs/tools/firecrawl.md +140 -0
- package/docs/tools/index.md +137 -0
- package/docs/tools/llm-task.md +119 -0
- package/docs/tools/lobster.md +340 -0
- package/docs/tools/loop-detection.md +100 -0
- package/docs/tools/multi-agent-sandbox-tools.md +364 -0
- package/docs/tools/pdf.md +156 -0
- package/docs/tools/perplexity-search.md +174 -0
- package/docs/tools/plugin.md +255 -0
- package/docs/tools/reactions.md +64 -0
- package/docs/tools/skills-config.md +86 -0
- package/docs/tools/skills.md +309 -0
- package/docs/tools/slash-commands.md +294 -0
- package/docs/tools/subagents.md +295 -0
- package/docs/tools/tavily.md +125 -0
- package/docs/tools/thinking.md +96 -0
- package/docs/tools/tts.md +406 -0
- package/docs/tools/web.md +516 -0
- package/docs/tts.md +406 -0
- package/docs/vps.md +112 -0
- package/docs/web/control-ui.md +275 -0
- package/docs/web/dashboard.md +54 -0
- package/docs/web/index.md +120 -0
- package/docs/web/tui.md +170 -0
- package/docs/web/webchat.md +61 -0
- package/docs/whatsapp-openclaw-ai-zh.jpg +0 -0
- package/docs/whatsapp-openclaw.jpg +0 -0
- package/docs/zh-CN/AGENTS.md +61 -0
- package/docs/zh-CN/automation/auth-monitoring.md +47 -0
- package/docs/zh-CN/automation/cron-jobs.md +435 -0
- package/docs/zh-CN/automation/cron-vs-heartbeat.md +286 -0
- package/docs/zh-CN/automation/gmail-pubsub.md +249 -0
- package/docs/zh-CN/automation/hooks.md +1051 -0
- package/docs/zh-CN/automation/poll.md +76 -0
- package/docs/zh-CN/automation/troubleshooting.md +8 -0
- package/docs/zh-CN/automation/webhook.md +163 -0
- package/docs/zh-CN/brave-search.md +60 -0
- package/docs/zh-CN/channels/bluebubbles.md +354 -0
- package/docs/zh-CN/channels/broadcast-groups.md +449 -0
- package/docs/zh-CN/channels/channel-routing.md +117 -0
- package/docs/zh-CN/channels/discord.md +468 -0
- package/docs/zh-CN/channels/feishu.md +728 -0
- package/docs/zh-CN/channels/googlechat.md +257 -0
- package/docs/zh-CN/channels/grammy.md +38 -0
- package/docs/zh-CN/channels/group-messages.md +91 -0
- package/docs/zh-CN/channels/groups.md +379 -0
- package/docs/zh-CN/channels/imessage.md +302 -0
- package/docs/zh-CN/channels/index.md +53 -0
- package/docs/zh-CN/channels/line.md +180 -0
- package/docs/zh-CN/channels/location.md +63 -0
- package/docs/zh-CN/channels/matrix.md +221 -0
- package/docs/zh-CN/channels/mattermost.md +144 -0
- package/docs/zh-CN/channels/msteams.md +775 -0
- package/docs/zh-CN/channels/nextcloud-talk.md +142 -0
- package/docs/zh-CN/channels/nostr.md +249 -0
- package/docs/zh-CN/channels/pairing.md +89 -0
- package/docs/zh-CN/channels/signal.md +209 -0
- package/docs/zh-CN/channels/slack.md +531 -0
- package/docs/zh-CN/channels/synology-chat.md +138 -0
- package/docs/zh-CN/channels/telegram.md +751 -0
- package/docs/zh-CN/channels/tlon.md +136 -0
- package/docs/zh-CN/channels/troubleshooting.md +36 -0
- package/docs/zh-CN/channels/twitch.md +385 -0
- package/docs/zh-CN/channels/whatsapp.md +411 -0
- package/docs/zh-CN/channels/zalo.md +196 -0
- package/docs/zh-CN/channels/zalouser.md +147 -0
- package/docs/zh-CN/cli/acp.md +173 -0
- package/docs/zh-CN/cli/agent.md +30 -0
- package/docs/zh-CN/cli/agents.md +82 -0
- package/docs/zh-CN/cli/approvals.md +57 -0
- package/docs/zh-CN/cli/browser.md +114 -0
- package/docs/zh-CN/cli/channels.md +86 -0
- package/docs/zh-CN/cli/config.md +57 -0
- package/docs/zh-CN/cli/configure.md +38 -0
- package/docs/zh-CN/cli/cron.md +43 -0
- package/docs/zh-CN/cli/dashboard.md +23 -0
- package/docs/zh-CN/cli/devices.md +74 -0
- package/docs/zh-CN/cli/directory.md +70 -0
- package/docs/zh-CN/cli/dns.md +30 -0
- package/docs/zh-CN/cli/docs.md +22 -0
- package/docs/zh-CN/cli/doctor.md +48 -0
- package/docs/zh-CN/cli/gateway.md +206 -0
- package/docs/zh-CN/cli/health.md +28 -0
- package/docs/zh-CN/cli/hooks.md +298 -0
- package/docs/zh-CN/cli/index.md +1143 -0
- package/docs/zh-CN/cli/logs.md +31 -0
- package/docs/zh-CN/cli/memory.md +52 -0
- package/docs/zh-CN/cli/message.md +246 -0
- package/docs/zh-CN/cli/models.md +85 -0
- package/docs/zh-CN/cli/node.md +115 -0
- package/docs/zh-CN/cli/nodes.md +80 -0
- package/docs/zh-CN/cli/onboard.md +164 -0
- package/docs/zh-CN/cli/pairing.md +28 -0
- package/docs/zh-CN/cli/plugins.md +66 -0
- package/docs/zh-CN/cli/reset.md +24 -0
- package/docs/zh-CN/cli/sandbox.md +158 -0
- package/docs/zh-CN/cli/security.md +33 -0
- package/docs/zh-CN/cli/sessions.md +23 -0
- package/docs/zh-CN/cli/setup.md +36 -0
- package/docs/zh-CN/cli/skills.md +33 -0
- package/docs/zh-CN/cli/status.md +33 -0
- package/docs/zh-CN/cli/system.md +63 -0
- package/docs/zh-CN/cli/tui.md +30 -0
- package/docs/zh-CN/cli/uninstall.md +24 -0
- package/docs/zh-CN/cli/update.md +101 -0
- package/docs/zh-CN/cli/voicecall.md +41 -0
- package/docs/zh-CN/cli/webhooks.md +32 -0
- package/docs/zh-CN/concepts/agent-loop.md +146 -0
- package/docs/zh-CN/concepts/agent-workspace.md +219 -0
- package/docs/zh-CN/concepts/agent.md +115 -0
- package/docs/zh-CN/concepts/architecture.md +123 -0
- package/docs/zh-CN/concepts/compaction.md +67 -0
- package/docs/zh-CN/concepts/context.md +168 -0
- package/docs/zh-CN/concepts/features.md +59 -0
- package/docs/zh-CN/concepts/markdown-formatting.md +117 -0
- package/docs/zh-CN/concepts/memory.md +412 -0
- package/docs/zh-CN/concepts/messages.md +141 -0
- package/docs/zh-CN/concepts/model-failover.md +145 -0
- package/docs/zh-CN/concepts/model-providers.md +606 -0
- package/docs/zh-CN/concepts/models.md +225 -0
- package/docs/zh-CN/concepts/multi-agent.md +372 -0
- package/docs/zh-CN/concepts/oauth.md +164 -0
- package/docs/zh-CN/concepts/presence.md +99 -0
- package/docs/zh-CN/concepts/queue.md +94 -0
- package/docs/zh-CN/concepts/retry.md +76 -0
- package/docs/zh-CN/concepts/session-pruning.md +129 -0
- package/docs/zh-CN/concepts/session-tool.md +200 -0
- package/docs/zh-CN/concepts/session.md +166 -0
- package/docs/zh-CN/concepts/streaming.md +133 -0
- package/docs/zh-CN/concepts/system-prompt.md +101 -0
- package/docs/zh-CN/concepts/timezone.md +96 -0
- package/docs/zh-CN/concepts/typebox.md +284 -0
- package/docs/zh-CN/concepts/typing-indicators.md +74 -0
- package/docs/zh-CN/concepts/usage-tracking.md +42 -0
- package/docs/zh-CN/date-time.md +129 -0
- package/docs/zh-CN/debug/node-issue.md +90 -0
- package/docs/zh-CN/diagnostics/flags.md +98 -0
- package/docs/zh-CN/gateway/authentication.md +184 -0
- package/docs/zh-CN/gateway/background-process.md +100 -0
- package/docs/zh-CN/gateway/bonjour.md +174 -0
- package/docs/zh-CN/gateway/bridge-protocol.md +86 -0
- package/docs/zh-CN/gateway/cli-backends.md +213 -0
- package/docs/zh-CN/gateway/configuration-examples.md +587 -0
- package/docs/zh-CN/gateway/configuration-reference.md +3103 -0
- package/docs/zh-CN/gateway/configuration.md +640 -0
- package/docs/zh-CN/gateway/discovery.md +123 -0
- package/docs/zh-CN/gateway/doctor.md +238 -0
- package/docs/zh-CN/gateway/gateway-lock.md +41 -0
- package/docs/zh-CN/gateway/health.md +42 -0
- package/docs/zh-CN/gateway/heartbeat.md +274 -0
- package/docs/zh-CN/gateway/index.md +335 -0
- package/docs/zh-CN/gateway/local-models.md +159 -0
- package/docs/zh-CN/gateway/logging.md +114 -0
- package/docs/zh-CN/gateway/multiple-gateways.md +119 -0
- package/docs/zh-CN/gateway/network-model.md +23 -0
- package/docs/zh-CN/gateway/openai-http-api.md +125 -0
- package/docs/zh-CN/gateway/openresponses-http-api.md +317 -0
- package/docs/zh-CN/gateway/pairing.md +99 -0
- package/docs/zh-CN/gateway/protocol.md +220 -0
- package/docs/zh-CN/gateway/remote-gateway-readme.md +164 -0
- package/docs/zh-CN/gateway/remote.md +133 -0
- package/docs/zh-CN/gateway/sandbox-vs-tool-policy-vs-elevated.md +135 -0
- package/docs/zh-CN/gateway/sandboxing.md +188 -0
- package/docs/zh-CN/gateway/security/index.md +777 -0
- package/docs/zh-CN/gateway/tailscale.md +124 -0
- package/docs/zh-CN/gateway/tools-invoke-http-api.md +92 -0
- package/docs/zh-CN/gateway/troubleshooting.md +771 -0
- package/docs/zh-CN/help/debugging.md +160 -0
- package/docs/zh-CN/help/environment.md +88 -0
- package/docs/zh-CN/help/faq.md +2640 -0
- package/docs/zh-CN/help/index.md +28 -0
- package/docs/zh-CN/help/scripts.md +35 -0
- package/docs/zh-CN/help/testing.md +375 -0
- package/docs/zh-CN/help/troubleshooting.md +104 -0
- package/docs/zh-CN/index.md +186 -0
- package/docs/zh-CN/install/ansible.md +215 -0
- package/docs/zh-CN/install/bun.md +65 -0
- package/docs/zh-CN/install/development-channels.md +81 -0
- package/docs/zh-CN/install/docker.md +532 -0
- package/docs/zh-CN/install/exe-dev.md +133 -0
- package/docs/zh-CN/install/fly.md +490 -0
- package/docs/zh-CN/install/gcp.md +510 -0
- package/docs/zh-CN/install/hetzner.md +337 -0
- package/docs/zh-CN/install/index.md +235 -0
- package/docs/zh-CN/install/installer.md +422 -0
- package/docs/zh-CN/install/macos-vm.md +288 -0
- package/docs/zh-CN/install/migrating.md +199 -0
- package/docs/zh-CN/install/nix.md +99 -0
- package/docs/zh-CN/install/node.md +8 -0
- package/docs/zh-CN/install/northflank.mdx +60 -0
- package/docs/zh-CN/install/railway.mdx +106 -0
- package/docs/zh-CN/install/render.mdx +169 -0
- package/docs/zh-CN/install/uninstall.md +135 -0
- package/docs/zh-CN/install/updating.md +233 -0
- package/docs/zh-CN/logging.md +329 -0
- package/docs/zh-CN/network.md +59 -0
- package/docs/zh-CN/nodes/audio.md +120 -0
- package/docs/zh-CN/nodes/camera.md +162 -0
- package/docs/zh-CN/nodes/images.md +79 -0
- package/docs/zh-CN/nodes/index.md +348 -0
- package/docs/zh-CN/nodes/location-command.md +120 -0
- package/docs/zh-CN/nodes/media-understanding.md +380 -0
- package/docs/zh-CN/nodes/talk.md +97 -0
- package/docs/zh-CN/nodes/troubleshooting.md +8 -0
- package/docs/zh-CN/nodes/voicewake.md +72 -0
- package/docs/zh-CN/perplexity.md +102 -0
- package/docs/zh-CN/pi-dev.md +77 -0
- package/docs/zh-CN/pi.md +619 -0
- package/docs/zh-CN/platforms/android.md +155 -0
- package/docs/zh-CN/platforms/digitalocean.md +273 -0
- package/docs/zh-CN/platforms/index.md +60 -0
- package/docs/zh-CN/platforms/ios.md +114 -0
- package/docs/zh-CN/platforms/linux.md +100 -0
- package/docs/zh-CN/platforms/mac/bundled-gateway.md +75 -0
- package/docs/zh-CN/platforms/mac/canvas.md +128 -0
- package/docs/zh-CN/platforms/mac/child-process.md +73 -0
- package/docs/zh-CN/platforms/mac/dev-setup.md +109 -0
- package/docs/zh-CN/platforms/mac/health.md +41 -0
- package/docs/zh-CN/platforms/mac/icon.md +38 -0
- package/docs/zh-CN/platforms/mac/logging.md +64 -0
- package/docs/zh-CN/platforms/mac/menu-bar.md +88 -0
- package/docs/zh-CN/platforms/mac/peekaboo.md +62 -0
- package/docs/zh-CN/platforms/mac/permissions.md +46 -0
- package/docs/zh-CN/platforms/mac/remote.md +90 -0
- package/docs/zh-CN/platforms/mac/signing.md +54 -0
- package/docs/zh-CN/platforms/mac/skills.md +40 -0
- package/docs/zh-CN/platforms/mac/voice-overlay.md +67 -0
- package/docs/zh-CN/platforms/mac/voicewake.md +74 -0
- package/docs/zh-CN/platforms/mac/webchat.md +43 -0
- package/docs/zh-CN/platforms/mac/xpc.md +68 -0
- package/docs/zh-CN/platforms/macos.md +193 -0
- package/docs/zh-CN/platforms/oracle.md +310 -0
- package/docs/zh-CN/platforms/raspberry-pi.md +416 -0
- package/docs/zh-CN/platforms/windows.md +247 -0
- package/docs/zh-CN/plugins/agent-tools.md +99 -0
- package/docs/zh-CN/plugins/manifest.md +68 -0
- package/docs/zh-CN/plugins/voice-call.md +250 -0
- package/docs/zh-CN/plugins/zalouser.md +88 -0
- package/docs/zh-CN/prose.md +141 -0
- package/docs/zh-CN/providers/anthropic.md +265 -0
- package/docs/zh-CN/providers/bedrock.md +170 -0
- package/docs/zh-CN/providers/claude-max-api-proxy.md +155 -0
- package/docs/zh-CN/providers/cloudflare-ai-gateway.md +78 -0
- package/docs/zh-CN/providers/deepgram.md +97 -0
- package/docs/zh-CN/providers/github-copilot.md +67 -0
- package/docs/zh-CN/providers/glm.md +50 -0
- package/docs/zh-CN/providers/huggingface.md +216 -0
- package/docs/zh-CN/providers/index.md +69 -0
- package/docs/zh-CN/providers/kilocode.md +80 -0
- package/docs/zh-CN/providers/litellm.md +160 -0
- package/docs/zh-CN/providers/minimax.md +222 -0
- package/docs/zh-CN/providers/mistral.md +61 -0
- package/docs/zh-CN/providers/models.md +51 -0
- package/docs/zh-CN/providers/moonshot.md +182 -0
- package/docs/zh-CN/providers/nvidia.md +62 -0
- package/docs/zh-CN/providers/ollama.md +359 -0
- package/docs/zh-CN/providers/openai.md +308 -0
- package/docs/zh-CN/providers/opencode-go.md +52 -0
- package/docs/zh-CN/providers/opencode.md +71 -0
- package/docs/zh-CN/providers/openrouter.md +44 -0
- package/docs/zh-CN/providers/qianfan.md +45 -0
- package/docs/zh-CN/providers/qwen.md +55 -0
- package/docs/zh-CN/providers/sglang.md +111 -0
- package/docs/zh-CN/providers/synthetic.md +106 -0
- package/docs/zh-CN/providers/together.md +72 -0
- package/docs/zh-CN/providers/venice.md +289 -0
- package/docs/zh-CN/providers/vercel-ai-gateway.md +66 -0
- package/docs/zh-CN/providers/xiaomi.md +93 -0
- package/docs/zh-CN/providers/zai.md +53 -0
- package/docs/zh-CN/reference/AGENTS.default.md +131 -0
- package/docs/zh-CN/reference/RELEASING.md +48 -0
- package/docs/zh-CN/reference/api-usage-costs.md +141 -0
- package/docs/zh-CN/reference/credits.md +34 -0
- package/docs/zh-CN/reference/device-models.md +54 -0
- package/docs/zh-CN/reference/rpc.md +48 -0
- package/docs/zh-CN/reference/session-management-compaction.md +287 -0
- package/docs/zh-CN/reference/templates/AGENTS.dev.md +89 -0
- package/docs/zh-CN/reference/templates/AGENTS.md +225 -0
- package/docs/zh-CN/reference/templates/BOOT.md +17 -0
- package/docs/zh-CN/reference/templates/BOOTSTRAP.md +68 -0
- package/docs/zh-CN/reference/templates/HEARTBEAT.md +18 -0
- package/docs/zh-CN/reference/templates/IDENTITY.dev.md +54 -0
- package/docs/zh-CN/reference/templates/IDENTITY.md +36 -0
- package/docs/zh-CN/reference/templates/SOUL.dev.md +83 -0
- package/docs/zh-CN/reference/templates/SOUL.md +49 -0
- package/docs/zh-CN/reference/templates/TOOLS.dev.md +31 -0
- package/docs/zh-CN/reference/templates/TOOLS.md +53 -0
- package/docs/zh-CN/reference/templates/USER.dev.md +25 -0
- package/docs/zh-CN/reference/templates/USER.md +30 -0
- package/docs/zh-CN/reference/test.md +57 -0
- package/docs/zh-CN/reference/token-use.md +119 -0
- package/docs/zh-CN/reference/transcript-hygiene.md +109 -0
- package/docs/zh-CN/reference/wizard.md +242 -0
- package/docs/zh-CN/security/formal-verification.md +171 -0
- package/docs/zh-CN/start/bootstrapping.md +9 -0
- package/docs/zh-CN/start/docs-directory.md +70 -0
- package/docs/zh-CN/start/getting-started.md +143 -0
- package/docs/zh-CN/start/hubs.md +194 -0
- package/docs/zh-CN/start/lore.md +226 -0
- package/docs/zh-CN/start/onboarding-overview.md +58 -0
- package/docs/zh-CN/start/onboarding.md +105 -0
- package/docs/zh-CN/start/openclaw.md +248 -0
- package/docs/zh-CN/start/quickstart.md +88 -0
- package/docs/zh-CN/start/setup.md +153 -0
- package/docs/zh-CN/start/showcase.md +423 -0
- package/docs/zh-CN/start/wizard-cli-automation.md +222 -0
- package/docs/zh-CN/start/wizard-cli-reference.md +306 -0
- package/docs/zh-CN/start/wizard.md +132 -0
- package/docs/zh-CN/tools/agent-send.md +59 -0
- package/docs/zh-CN/tools/apply-patch.md +57 -0
- package/docs/zh-CN/tools/browser-linux-troubleshooting.md +144 -0
- package/docs/zh-CN/tools/browser-login.md +75 -0
- package/docs/zh-CN/tools/browser.md +553 -0
- package/docs/zh-CN/tools/chrome-extension.md +183 -0
- package/docs/zh-CN/tools/clawhub.md +209 -0
- package/docs/zh-CN/tools/creating-skills.md +61 -0
- package/docs/zh-CN/tools/elevated.md +64 -0
- package/docs/zh-CN/tools/exec-approvals.md +234 -0
- package/docs/zh-CN/tools/exec.md +169 -0
- package/docs/zh-CN/tools/firecrawl.md +68 -0
- package/docs/zh-CN/tools/index.md +515 -0
- package/docs/zh-CN/tools/llm-task.md +117 -0
- package/docs/zh-CN/tools/lobster.md +349 -0
- package/docs/zh-CN/tools/multi-agent-sandbox-tools.md +401 -0
- package/docs/zh-CN/tools/plugin.md +1612 -0
- package/docs/zh-CN/tools/reactions.md +29 -0
- package/docs/zh-CN/tools/skills-config.md +78 -0
- package/docs/zh-CN/tools/skills.md +279 -0
- package/docs/zh-CN/tools/slash-commands.md +205 -0
- package/docs/zh-CN/tools/subagents.md +167 -0
- package/docs/zh-CN/tools/thinking.md +80 -0
- package/docs/zh-CN/tools/web.md +289 -0
- package/docs/zh-CN/tts.md +375 -0
- package/docs/zh-CN/vps.md +47 -0
- package/docs/zh-CN/web/control-ui.md +191 -0
- package/docs/zh-CN/web/dashboard.md +53 -0
- package/docs/zh-CN/web/index.md +118 -0
- package/docs/zh-CN/web/tui.md +166 -0
- package/docs/zh-CN/web/webchat.md +56 -0
- package/package.json +841 -0
- package/quantumclaw.mjs +135 -0
- package/skills/1password/SKILL.md +70 -0
- package/skills/1password/references/cli-examples.md +29 -0
- package/skills/1password/references/get-started.md +17 -0
- package/skills/apple-notes/SKILL.md +77 -0
- package/skills/apple-reminders/SKILL.md +118 -0
- package/skills/bear-notes/SKILL.md +107 -0
- package/skills/blogwatcher/SKILL.md +69 -0
- package/skills/blucli/SKILL.md +47 -0
- package/skills/bluebubbles/SKILL.md +131 -0
- package/skills/camsnap/SKILL.md +45 -0
- package/skills/canvas/SKILL.md +198 -0
- package/skills/clawhub/SKILL.md +77 -0
- package/skills/coding-agent/SKILL.md +295 -0
- package/skills/discord/SKILL.md +197 -0
- package/skills/eightctl/SKILL.md +50 -0
- package/skills/gemini/SKILL.md +43 -0
- package/skills/gh-issues/SKILL.md +865 -0
- package/skills/gifgrep/SKILL.md +79 -0
- package/skills/github/SKILL.md +163 -0
- package/skills/gog/SKILL.md +116 -0
- package/skills/goplaces/SKILL.md +52 -0
- package/skills/healthcheck/SKILL.md +245 -0
- package/skills/himalaya/SKILL.md +257 -0
- package/skills/himalaya/references/configuration.md +184 -0
- package/skills/himalaya/references/message-composition.md +199 -0
- package/skills/imsg/SKILL.md +122 -0
- package/skills/mcporter/SKILL.md +61 -0
- package/skills/model-usage/SKILL.md +69 -0
- package/skills/model-usage/references/codexbar-cli.md +33 -0
- package/skills/model-usage/scripts/model_usage.py +320 -0
- package/skills/model-usage/scripts/test_model_usage.py +40 -0
- package/skills/nano-pdf/SKILL.md +38 -0
- package/skills/node-connect/SKILL.md +142 -0
- package/skills/notion/SKILL.md +174 -0
- package/skills/obsidian/SKILL.md +81 -0
- package/skills/openai-image-gen/SKILL.md +92 -0
- package/skills/openai-image-gen/scripts/gen.py +328 -0
- package/skills/openai-image-gen/scripts/test_gen.py +140 -0
- package/skills/openai-whisper/SKILL.md +38 -0
- package/skills/openai-whisper-api/SKILL.md +52 -0
- package/skills/openai-whisper-api/scripts/transcribe.sh +85 -0
- package/skills/openhue/SKILL.md +112 -0
- package/skills/oracle/SKILL.md +125 -0
- package/skills/ordercli/SKILL.md +78 -0
- package/skills/peekaboo/SKILL.md +190 -0
- package/skills/sag/SKILL.md +87 -0
- package/skills/session-logs/SKILL.md +115 -0
- package/skills/sherpa-onnx-tts/SKILL.md +103 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +178 -0
- package/skills/skill-creator/SKILL.md +372 -0
- package/skills/skill-creator/license.txt +202 -0
- package/skills/skill-creator/scripts/init_skill.py +378 -0
- package/skills/skill-creator/scripts/package_skill.py +139 -0
- package/skills/skill-creator/scripts/quick_validate.py +159 -0
- package/skills/skill-creator/scripts/test_package_skill.py +160 -0
- package/skills/skill-creator/scripts/test_quick_validate.py +72 -0
- package/skills/slack/SKILL.md +144 -0
- package/skills/songsee/SKILL.md +49 -0
- package/skills/sonoscli/SKILL.md +65 -0
- package/skills/spotify-player/SKILL.md +64 -0
- package/skills/summarize/SKILL.md +87 -0
- package/skills/things-mac/SKILL.md +86 -0
- package/skills/tmux/SKILL.md +153 -0
- package/skills/tmux/scripts/find-sessions.sh +112 -0
- package/skills/tmux/scripts/wait-for-text.sh +83 -0
- package/skills/trello/SKILL.md +95 -0
- package/skills/video-frames/SKILL.md +46 -0
- package/skills/video-frames/scripts/frame.sh +81 -0
- package/skills/voice-call/SKILL.md +45 -0
- package/skills/wacli/SKILL.md +72 -0
- package/skills/weather/SKILL.md +112 -0
- package/skills/xurl/SKILL.md +461 -0
|
@@ -0,0 +1,1143 @@
|
|
|
1
|
+
---
|
|
2
|
+
read_when:
|
|
3
|
+
- 添加或修改 CLI 命令或选项时
|
|
4
|
+
- 为新的命令界面编写文档时
|
|
5
|
+
summary: "`quantumclaw` 命令、子命令和选项的 QuantumClaw CLI 参考"
|
|
6
|
+
title: CLI 参考
|
|
7
|
+
x-i18n:
|
|
8
|
+
generated_at: "2026-03-16T06:22:35Z"
|
|
9
|
+
model: gpt-5.4
|
|
10
|
+
provider: openai
|
|
11
|
+
source_hash: a2bca34fca64558a8d91fc640ad3880e79677e81d0f605083edc6cbe86bfba53
|
|
12
|
+
source_path: cli/index.md
|
|
13
|
+
workflow: 15
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# CLI 参考
|
|
17
|
+
|
|
18
|
+
本页描述当前的 CLI 行为。如果命令发生变化,请更新此文档。
|
|
19
|
+
|
|
20
|
+
## 命令页面
|
|
21
|
+
|
|
22
|
+
- [`setup`](/cli/setup)
|
|
23
|
+
- [`onboard`](/cli/onboard)
|
|
24
|
+
- [`configure`](/cli/configure)
|
|
25
|
+
- [`config`](/cli/config)
|
|
26
|
+
- [`completion`](/cli/completion)
|
|
27
|
+
- [`doctor`](/cli/doctor)
|
|
28
|
+
- [`dashboard`](/cli/dashboard)
|
|
29
|
+
- [`backup`](/cli/backup)
|
|
30
|
+
- [`reset`](/cli/reset)
|
|
31
|
+
- [`uninstall`](/cli/uninstall)
|
|
32
|
+
- [`update`](/cli/update)
|
|
33
|
+
- [`message`](/cli/message)
|
|
34
|
+
- [`agent`](/cli/agent)
|
|
35
|
+
- [`agents`](/cli/agents)
|
|
36
|
+
- [`acp`](/cli/acp)
|
|
37
|
+
- [`status`](/cli/status)
|
|
38
|
+
- [`health`](/cli/health)
|
|
39
|
+
- [`sessions`](/cli/sessions)
|
|
40
|
+
- [`gateway`](/cli/gateway)
|
|
41
|
+
- [`logs`](/cli/logs)
|
|
42
|
+
- [`system`](/cli/system)
|
|
43
|
+
- [`models`](/cli/models)
|
|
44
|
+
- [`memory`](/cli/memory)
|
|
45
|
+
- [`directory`](/cli/directory)
|
|
46
|
+
- [`nodes`](/cli/nodes)
|
|
47
|
+
- [`devices`](/cli/devices)
|
|
48
|
+
- [`node`](/cli/node)
|
|
49
|
+
- [`approvals`](/cli/approvals)
|
|
50
|
+
- [`sandbox`](/cli/sandbox)
|
|
51
|
+
- [`tui`](/cli/tui)
|
|
52
|
+
- [`browser`](/cli/browser)
|
|
53
|
+
- [`cron`](/cli/cron)
|
|
54
|
+
- [`dns`](/cli/dns)
|
|
55
|
+
- [`docs`](/cli/docs)
|
|
56
|
+
- [`hooks`](/cli/hooks)
|
|
57
|
+
- [`webhooks`](/cli/webhooks)
|
|
58
|
+
- [`pairing`](/cli/pairing)
|
|
59
|
+
- [`qr`](/cli/qr)
|
|
60
|
+
- [`plugins`](/cli/plugins)(插件命令)
|
|
61
|
+
- [`channels`](/cli/channels)
|
|
62
|
+
- [`security`](/cli/security)
|
|
63
|
+
- [`secrets`](/cli/secrets)
|
|
64
|
+
- [`skills`](/cli/skills)
|
|
65
|
+
- [`daemon`](/cli/daemon)(Gateway 网关服务命令的旧别名)
|
|
66
|
+
- [`clawbot`](/cli/clawbot)(旧别名命名空间)
|
|
67
|
+
- [`voicecall`](/cli/voicecall)(插件;如已安装)
|
|
68
|
+
|
|
69
|
+
## 全局标志
|
|
70
|
+
|
|
71
|
+
- `--dev`:将状态隔离到 `~/.quantumclaw-dev` 下,并变更默认端口。
|
|
72
|
+
- `--profile <name>`:将状态隔离到 `~/.quantumclaw-<name>` 下。
|
|
73
|
+
- `--no-color`:禁用 ANSI 颜色。
|
|
74
|
+
- `--update`:`quantumclaw update` 的简写(仅适用于源码安装)。
|
|
75
|
+
- `-V`, `--version`, `-v`:打印版本并退出。
|
|
76
|
+
|
|
77
|
+
## 输出样式
|
|
78
|
+
|
|
79
|
+
- ANSI 颜色和进度指示器仅在 TTY 会话中渲染。
|
|
80
|
+
- OSC-8 超链接会在受支持的终端中显示为可点击链接;否则会回退为纯 URL。
|
|
81
|
+
- `--json`(以及在支持处的 `--plain`)会禁用样式,以获得干净输出。
|
|
82
|
+
- `--no-color` 会禁用 ANSI 样式;同时也支持 `NO_COLOR=1`。
|
|
83
|
+
- 长时间运行的命令会显示进度指示器(支持时使用 OSC 9;4)。
|
|
84
|
+
|
|
85
|
+
## 调色板
|
|
86
|
+
|
|
87
|
+
QuantumClaw 在 CLI 输出中使用龙虾色调调色板。
|
|
88
|
+
|
|
89
|
+
- `accent` (#FF5A2D):标题、标签、主要高亮。
|
|
90
|
+
- `accentBright` (#FF7A3D):命令名称、强调。
|
|
91
|
+
- `accentDim` (#D14A22):次级高亮文本。
|
|
92
|
+
- `info` (#FF8A5B):信息性值。
|
|
93
|
+
- `success` (#2FBF71):成功状态。
|
|
94
|
+
- `warn` (#FFB020):警告、回退、注意事项。
|
|
95
|
+
- `error` (#E23D2D):错误、失败。
|
|
96
|
+
- `muted` (#8B7F77):弱化显示、元数据。
|
|
97
|
+
|
|
98
|
+
调色板唯一来源:`src/terminal/palette.ts`(也称为 “lobster seam”)。
|
|
99
|
+
|
|
100
|
+
## 命令树
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
quantumclaw [--dev] [--profile <name>] <command>
|
|
104
|
+
setup
|
|
105
|
+
onboard
|
|
106
|
+
configure
|
|
107
|
+
config
|
|
108
|
+
get
|
|
109
|
+
set
|
|
110
|
+
unset
|
|
111
|
+
completion
|
|
112
|
+
doctor
|
|
113
|
+
dashboard
|
|
114
|
+
backup
|
|
115
|
+
create
|
|
116
|
+
verify
|
|
117
|
+
security
|
|
118
|
+
audit
|
|
119
|
+
secrets
|
|
120
|
+
reload
|
|
121
|
+
migrate
|
|
122
|
+
reset
|
|
123
|
+
uninstall
|
|
124
|
+
update
|
|
125
|
+
channels
|
|
126
|
+
list
|
|
127
|
+
status
|
|
128
|
+
logs
|
|
129
|
+
add
|
|
130
|
+
remove
|
|
131
|
+
login
|
|
132
|
+
logout
|
|
133
|
+
directory
|
|
134
|
+
skills
|
|
135
|
+
list
|
|
136
|
+
info
|
|
137
|
+
check
|
|
138
|
+
plugins
|
|
139
|
+
list
|
|
140
|
+
info
|
|
141
|
+
install
|
|
142
|
+
enable
|
|
143
|
+
disable
|
|
144
|
+
doctor
|
|
145
|
+
memory
|
|
146
|
+
status
|
|
147
|
+
index
|
|
148
|
+
search
|
|
149
|
+
message
|
|
150
|
+
agent
|
|
151
|
+
agents
|
|
152
|
+
list
|
|
153
|
+
add
|
|
154
|
+
delete
|
|
155
|
+
acp
|
|
156
|
+
status
|
|
157
|
+
health
|
|
158
|
+
sessions
|
|
159
|
+
gateway
|
|
160
|
+
call
|
|
161
|
+
health
|
|
162
|
+
status
|
|
163
|
+
probe
|
|
164
|
+
discover
|
|
165
|
+
install
|
|
166
|
+
uninstall
|
|
167
|
+
start
|
|
168
|
+
stop
|
|
169
|
+
restart
|
|
170
|
+
run
|
|
171
|
+
daemon
|
|
172
|
+
status
|
|
173
|
+
install
|
|
174
|
+
uninstall
|
|
175
|
+
start
|
|
176
|
+
stop
|
|
177
|
+
restart
|
|
178
|
+
logs
|
|
179
|
+
system
|
|
180
|
+
event
|
|
181
|
+
heartbeat last|enable|disable
|
|
182
|
+
presence
|
|
183
|
+
models
|
|
184
|
+
list
|
|
185
|
+
status
|
|
186
|
+
set
|
|
187
|
+
set-image
|
|
188
|
+
aliases list|add|remove
|
|
189
|
+
fallbacks list|add|remove|clear
|
|
190
|
+
image-fallbacks list|add|remove|clear
|
|
191
|
+
scan
|
|
192
|
+
auth add|setup-token|paste-token
|
|
193
|
+
auth order get|set|clear
|
|
194
|
+
sandbox
|
|
195
|
+
list
|
|
196
|
+
recreate
|
|
197
|
+
explain
|
|
198
|
+
cron
|
|
199
|
+
status
|
|
200
|
+
list
|
|
201
|
+
add
|
|
202
|
+
edit
|
|
203
|
+
rm
|
|
204
|
+
enable
|
|
205
|
+
disable
|
|
206
|
+
runs
|
|
207
|
+
run
|
|
208
|
+
nodes
|
|
209
|
+
devices
|
|
210
|
+
node
|
|
211
|
+
run
|
|
212
|
+
status
|
|
213
|
+
install
|
|
214
|
+
uninstall
|
|
215
|
+
start
|
|
216
|
+
stop
|
|
217
|
+
restart
|
|
218
|
+
approvals
|
|
219
|
+
get
|
|
220
|
+
set
|
|
221
|
+
allowlist add|remove
|
|
222
|
+
browser
|
|
223
|
+
status
|
|
224
|
+
start
|
|
225
|
+
stop
|
|
226
|
+
reset-profile
|
|
227
|
+
tabs
|
|
228
|
+
open
|
|
229
|
+
focus
|
|
230
|
+
close
|
|
231
|
+
profiles
|
|
232
|
+
create-profile
|
|
233
|
+
delete-profile
|
|
234
|
+
screenshot
|
|
235
|
+
snapshot
|
|
236
|
+
navigate
|
|
237
|
+
resize
|
|
238
|
+
click
|
|
239
|
+
type
|
|
240
|
+
press
|
|
241
|
+
hover
|
|
242
|
+
drag
|
|
243
|
+
select
|
|
244
|
+
upload
|
|
245
|
+
fill
|
|
246
|
+
dialog
|
|
247
|
+
wait
|
|
248
|
+
evaluate
|
|
249
|
+
console
|
|
250
|
+
pdf
|
|
251
|
+
hooks
|
|
252
|
+
list
|
|
253
|
+
info
|
|
254
|
+
check
|
|
255
|
+
enable
|
|
256
|
+
disable
|
|
257
|
+
install
|
|
258
|
+
update
|
|
259
|
+
webhooks
|
|
260
|
+
gmail setup|run
|
|
261
|
+
pairing
|
|
262
|
+
list
|
|
263
|
+
approve
|
|
264
|
+
qr
|
|
265
|
+
clawbot
|
|
266
|
+
qr
|
|
267
|
+
docs
|
|
268
|
+
dns
|
|
269
|
+
setup
|
|
270
|
+
tui
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
注意:插件可以添加额外的顶层命令(例如 `quantumclaw voicecall`)。
|
|
274
|
+
|
|
275
|
+
## 安全
|
|
276
|
+
|
|
277
|
+
- `quantumclaw security audit` — 审计配置 + 本地状态中常见的安全陷阱。
|
|
278
|
+
- `quantumclaw security audit --deep` — 尽力进行实时 Gateway 网关探测。
|
|
279
|
+
- `quantumclaw security audit --fix` — 收紧安全默认值并对状态 / 配置执行 chmod。
|
|
280
|
+
|
|
281
|
+
## 密钥
|
|
282
|
+
|
|
283
|
+
- `quantumclaw secrets reload` — 重新解析引用,并以原子方式替换运行时快照。
|
|
284
|
+
- `quantumclaw secrets audit` — 扫描明文残留、未解析引用和优先级漂移。
|
|
285
|
+
- `quantumclaw secrets configure` — 用于提供商设置 + SecretRef 映射 + 预检 / 应用的交互式助手。
|
|
286
|
+
- `quantumclaw secrets apply --from <plan.json>` — 应用先前生成的计划(支持 `--dry-run`)。
|
|
287
|
+
|
|
288
|
+
## 插件
|
|
289
|
+
|
|
290
|
+
管理扩展及其配置:
|
|
291
|
+
|
|
292
|
+
- `quantumclaw plugins list` — 发现插件(机器输出请使用 `--json`)。
|
|
293
|
+
- `quantumclaw plugins info <id>` — 显示插件详情。
|
|
294
|
+
- `quantumclaw plugins install <path|.tgz|npm-spec>` — 安装插件(或将插件路径添加到 `plugins.load.paths`)。
|
|
295
|
+
- `quantumclaw plugins enable <id>` / `disable <id>` — 切换 `plugins.entries.<id>.enabled`。
|
|
296
|
+
- `quantumclaw plugins doctor` — 报告插件加载错误。
|
|
297
|
+
|
|
298
|
+
大多数插件更改都需要重启 gateway。参见 [/plugin](/tools/plugin)。
|
|
299
|
+
|
|
300
|
+
## 内存
|
|
301
|
+
|
|
302
|
+
对 `MEMORY.md` + `memory/*.md` 执行向量搜索:
|
|
303
|
+
|
|
304
|
+
- `quantumclaw memory status` — 显示索引统计信息。
|
|
305
|
+
- `quantumclaw memory index` — 重新索引内存文件。
|
|
306
|
+
- `quantumclaw memory search "<query>"`(或 `--query "<query>"`)— 对内存执行语义搜索。
|
|
307
|
+
|
|
308
|
+
## 聊天斜杠命令
|
|
309
|
+
|
|
310
|
+
聊天消息支持 `/...` 命令(文本和原生)。参见 [/tools/slash-commands](/tools/slash-commands)。
|
|
311
|
+
|
|
312
|
+
重点:
|
|
313
|
+
|
|
314
|
+
- `/status` 用于快速诊断。
|
|
315
|
+
- `/config` 用于持久化配置更改。
|
|
316
|
+
- `/debug` 用于仅运行时的配置覆盖(内存中,不写磁盘;要求 `commands.debug: true`)。
|
|
317
|
+
|
|
318
|
+
## 设置 + 新手引导
|
|
319
|
+
|
|
320
|
+
### `setup`
|
|
321
|
+
|
|
322
|
+
初始化配置 + 工作区。
|
|
323
|
+
|
|
324
|
+
选项:
|
|
325
|
+
|
|
326
|
+
- `--workspace <dir>`:智能体工作区路径(默认 `~/.quantumclaw/workspace`)。
|
|
327
|
+
- `--wizard`:运行新手引导。
|
|
328
|
+
- `--non-interactive`:无提示运行新手引导。
|
|
329
|
+
- `--mode <local|remote>`:新手引导模式。
|
|
330
|
+
- `--remote-url <url>`:远程 Gateway 网关 URL。
|
|
331
|
+
- `--remote-token <token>`:远程 Gateway 网关 token。
|
|
332
|
+
|
|
333
|
+
只要存在任意新手引导标志(`--non-interactive`, `--mode`, `--remote-url`, `--remote-token`),就会自动运行新手引导。
|
|
334
|
+
|
|
335
|
+
### `onboard`
|
|
336
|
+
|
|
337
|
+
用于设置 gateway、工作区和 Skills 的交互式新手引导。
|
|
338
|
+
|
|
339
|
+
选项:
|
|
340
|
+
|
|
341
|
+
- `--workspace <dir>`
|
|
342
|
+
- `--reset`(在运行新手引导前重置配置 + 凭据 + 会话)
|
|
343
|
+
- `--reset-scope <config|config+creds+sessions|full>`(默认 `config+creds+sessions`;使用 `full` 还会删除工作区)
|
|
344
|
+
- `--non-interactive`
|
|
345
|
+
- `--mode <local|remote>`
|
|
346
|
+
- `--flow <quickstart|advanced|manual>`(`manual` 是 `advanced` 的别名)
|
|
347
|
+
- `--auth-choice <setup-token|token|chutes|openai-codex|openai-api-key|openrouter-api-key|ollama|ai-gateway-api-key|moonshot-api-key|moonshot-api-key-cn|kimi-code-api-key|synthetic-api-key|venice-api-key|gemini-api-key|zai-api-key|mistral-api-key|apiKey|minimax-api|minimax-api-lightning|opencode-zen|opencode-go|custom-api-key|skip>`
|
|
348
|
+
- `--token-provider <id>`(非交互式;与 `--auth-choice token` 一起使用)
|
|
349
|
+
- `--token <token>`(非交互式;与 `--auth-choice token` 一起使用)
|
|
350
|
+
- `--token-profile-id <id>`(非交互式;默认:`<provider>:manual`)
|
|
351
|
+
- `--token-expires-in <duration>`(非交互式;例如 `365d`、`12h`)
|
|
352
|
+
- `--secret-input-mode <plaintext|ref>`(默认 `plaintext`;使用 `ref` 可存储提供商默认环境引用,而非明文密钥)
|
|
353
|
+
- `--anthropic-api-key <key>`
|
|
354
|
+
- `--openai-api-key <key>`
|
|
355
|
+
- `--mistral-api-key <key>`
|
|
356
|
+
- `--openrouter-api-key <key>`
|
|
357
|
+
- `--ai-gateway-api-key <key>`
|
|
358
|
+
- `--moonshot-api-key <key>`
|
|
359
|
+
- `--kimi-code-api-key <key>`
|
|
360
|
+
- `--gemini-api-key <key>`
|
|
361
|
+
- `--zai-api-key <key>`
|
|
362
|
+
- `--minimax-api-key <key>`
|
|
363
|
+
- `--opencode-zen-api-key <key>`
|
|
364
|
+
- `--opencode-go-api-key <key>`
|
|
365
|
+
- `--custom-base-url <url>`(非交互式;与 `--auth-choice custom-api-key` 或 `--auth-choice ollama` 一起使用)
|
|
366
|
+
- `--custom-model-id <id>`(非交互式;与 `--auth-choice custom-api-key` 或 `--auth-choice ollama` 一起使用)
|
|
367
|
+
- `--custom-api-key <key>`(非交互式;可选;与 `--auth-choice custom-api-key` 一起使用;省略时回退到 `CUSTOM_API_KEY`)
|
|
368
|
+
- `--custom-provider-id <id>`(非交互式;可选自定义提供商 id)
|
|
369
|
+
- `--custom-compatibility <openai|anthropic>`(非交互式;可选;默认 `openai`)
|
|
370
|
+
- `--gateway-port <port>`
|
|
371
|
+
- `--gateway-bind <loopback|lan|tailnet|auto|custom>`
|
|
372
|
+
- `--gateway-auth <token|password>`
|
|
373
|
+
- `--gateway-token <token>`
|
|
374
|
+
- `--gateway-token-ref-env <name>`(非交互式;将 `gateway.auth.token` 存储为环境 SecretRef;要求该环境变量已设置;不能与 `--gateway-token` 一起使用)
|
|
375
|
+
- `--gateway-password <password>`
|
|
376
|
+
- `--remote-url <url>`
|
|
377
|
+
- `--remote-token <token>`
|
|
378
|
+
- `--tailscale <off|serve|funnel>`
|
|
379
|
+
- `--tailscale-reset-on-exit`
|
|
380
|
+
- `--install-daemon`
|
|
381
|
+
- `--no-install-daemon`(别名:`--skip-daemon`)
|
|
382
|
+
- `--daemon-runtime <node|bun>`
|
|
383
|
+
- `--skip-channels`
|
|
384
|
+
- `--skip-skills`
|
|
385
|
+
- `--skip-health`
|
|
386
|
+
- `--skip-ui`
|
|
387
|
+
- `--node-manager <npm|pnpm|bun>`(推荐 pnpm;不推荐将 bun 用作 Gateway 网关运行时)
|
|
388
|
+
- `--json`
|
|
389
|
+
|
|
390
|
+
### `configure`
|
|
391
|
+
|
|
392
|
+
交互式配置向导(模型、渠道、Skills、gateway)。
|
|
393
|
+
|
|
394
|
+
### `config`
|
|
395
|
+
|
|
396
|
+
非交互式配置助手(get/set/unset/file/validate)。直接运行 `quantumclaw config` 而不带
|
|
397
|
+
子命令会启动向导。
|
|
398
|
+
|
|
399
|
+
子命令:
|
|
400
|
+
|
|
401
|
+
- `config get <path>`:打印一个配置值(点 / 方括号路径)。
|
|
402
|
+
- `config set <path> <value>`:设置一个值(JSON5 或原始字符串)。
|
|
403
|
+
- `config unset <path>`:移除一个值。
|
|
404
|
+
- `config file`:打印当前活动配置文件路径。
|
|
405
|
+
- `config validate`:根据 schema 验证当前配置,而不启动 gateway。
|
|
406
|
+
- `config validate --json`:输出机器可读的 JSON。
|
|
407
|
+
|
|
408
|
+
### `doctor`
|
|
409
|
+
|
|
410
|
+
健康检查 + 快速修复(配置 + gateway + 旧版服务)。
|
|
411
|
+
|
|
412
|
+
选项:
|
|
413
|
+
|
|
414
|
+
- `--no-workspace-suggestions`:禁用工作区内存提示。
|
|
415
|
+
- `--yes`:接受默认值而不提示(无头)。
|
|
416
|
+
- `--non-interactive`:跳过提示;仅应用安全迁移。
|
|
417
|
+
- `--deep`:扫描系统服务以查找额外的 gateway 安装。
|
|
418
|
+
|
|
419
|
+
## 渠道助手
|
|
420
|
+
|
|
421
|
+
### `channels`
|
|
422
|
+
|
|
423
|
+
管理聊天渠道账户(WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost(插件)/Signal/iMessage/MS Teams)。
|
|
424
|
+
|
|
425
|
+
子命令:
|
|
426
|
+
|
|
427
|
+
- `channels list`:显示已配置的渠道和认证配置文件。
|
|
428
|
+
- `channels status`:检查 gateway 可达性和渠道健康状态(`--probe` 会运行额外检查;gateway 健康探测请使用 `quantumclaw health` 或 `quantumclaw status --deep`)。
|
|
429
|
+
- 提示:如果能够检测到常见配置错误,`channels status` 会打印带建议修复方式的警告(随后指向 `quantumclaw doctor`)。
|
|
430
|
+
- `channels logs`:显示 gateway 日志文件中的最近渠道日志。
|
|
431
|
+
- `channels add`:未传入任何标志时为向导式设置;传入标志后切换为非交互模式。
|
|
432
|
+
- 当向仍使用单账户顶层配置的渠道添加非默认账户时,QuantumClaw 会先将账户作用域值移动到 `channels.<channel>.accounts.default`,再写入新账户。
|
|
433
|
+
- 非交互式 `channels add` 不会自动创建 / 升级绑定;仅渠道绑定会继续匹配默认账户。
|
|
434
|
+
- `channels remove`:默认执行禁用;传入 `--delete` 可在无提示下删除配置项。
|
|
435
|
+
- `channels login`:交互式渠道登录(仅 WhatsApp Web)。
|
|
436
|
+
- `channels logout`:登出某个渠道会话(如支持)。
|
|
437
|
+
|
|
438
|
+
通用选项:
|
|
439
|
+
|
|
440
|
+
- `--channel <name>`:`whatsapp|telegram|discord|googlechat|slack|mattermost|signal|imessage|msteams`
|
|
441
|
+
- `--account <id>`:渠道账户 id(默认 `default`)
|
|
442
|
+
- `--name <label>`:账户显示名称
|
|
443
|
+
|
|
444
|
+
`channels login` 选项:
|
|
445
|
+
|
|
446
|
+
- `--channel <channel>`(默认 `whatsapp`;支持 `whatsapp`/`web`)
|
|
447
|
+
- `--account <id>`
|
|
448
|
+
- `--verbose`
|
|
449
|
+
|
|
450
|
+
`channels logout` 选项:
|
|
451
|
+
|
|
452
|
+
- `--channel <channel>`(默认 `whatsapp`)
|
|
453
|
+
- `--account <id>`
|
|
454
|
+
|
|
455
|
+
`channels list` 选项:
|
|
456
|
+
|
|
457
|
+
- `--no-usage`:跳过模型提供商用量 / 配额快照(仅 OAuth / API 支持)。
|
|
458
|
+
- `--json`:输出 JSON(除非设置了 `--no-usage`,否则包含用量)。
|
|
459
|
+
|
|
460
|
+
`channels logs` 选项:
|
|
461
|
+
|
|
462
|
+
- `--channel <name|all>`(默认 `all`)
|
|
463
|
+
- `--lines <n>`(默认 `200`)
|
|
464
|
+
- `--json`
|
|
465
|
+
|
|
466
|
+
更多细节:[/concepts/oauth](/concepts/oauth)
|
|
467
|
+
|
|
468
|
+
示例:
|
|
469
|
+
|
|
470
|
+
```bash
|
|
471
|
+
quantumclaw channels add --channel telegram --account alerts --name "Alerts Bot" --token $TELEGRAM_BOT_TOKEN
|
|
472
|
+
quantumclaw channels add --channel discord --account work --name "Work Bot" --token $DISCORD_BOT_TOKEN
|
|
473
|
+
quantumclaw channels remove --channel discord --account work --delete
|
|
474
|
+
quantumclaw channels status --probe
|
|
475
|
+
quantumclaw status --deep
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
### `skills`
|
|
479
|
+
|
|
480
|
+
列出并检查可用 Skills,以及就绪信息。
|
|
481
|
+
|
|
482
|
+
子命令:
|
|
483
|
+
|
|
484
|
+
- `skills list`:列出 Skills(未指定子命令时的默认行为)。
|
|
485
|
+
- `skills info <name>`:显示单个 Skill 的详情。
|
|
486
|
+
- `skills check`:汇总已就绪与缺失的要求。
|
|
487
|
+
|
|
488
|
+
选项:
|
|
489
|
+
|
|
490
|
+
- `--eligible`:仅显示已就绪的 Skills。
|
|
491
|
+
- `--json`:输出 JSON(无样式)。
|
|
492
|
+
- `-v`, `--verbose`:包含缺失要求的详细信息。
|
|
493
|
+
|
|
494
|
+
提示:使用 `npx clawhub` 搜索、安装和同步 Skills。
|
|
495
|
+
|
|
496
|
+
### `pairing`
|
|
497
|
+
|
|
498
|
+
批准跨渠道的私信配对请求。
|
|
499
|
+
|
|
500
|
+
子命令:
|
|
501
|
+
|
|
502
|
+
- `pairing list [channel] [--channel <channel>] [--account <id>] [--json]`
|
|
503
|
+
- `pairing approve <channel> <code> [--account <id>] [--notify]`
|
|
504
|
+
- `pairing approve --channel <channel> [--account <id>] <code> [--notify]`
|
|
505
|
+
|
|
506
|
+
### `devices`
|
|
507
|
+
|
|
508
|
+
管理 gateway 设备配对条目和按角色划分的设备 token。
|
|
509
|
+
|
|
510
|
+
子命令:
|
|
511
|
+
|
|
512
|
+
- `devices list [--json]`
|
|
513
|
+
- `devices approve [requestId] [--latest]`
|
|
514
|
+
- `devices reject <requestId>`
|
|
515
|
+
- `devices remove <deviceId>`
|
|
516
|
+
- `devices clear --yes [--pending]`
|
|
517
|
+
- `devices rotate --device <id> --role <role> [--scope <scope...>]`
|
|
518
|
+
- `devices revoke --device <id> --role <role>`
|
|
519
|
+
|
|
520
|
+
### `webhooks gmail`
|
|
521
|
+
|
|
522
|
+
Gmail Pub/Sub hook 设置 + 运行器。参见 [/automation/gmail-pubsub](/automation/gmail-pubsub)。
|
|
523
|
+
|
|
524
|
+
子命令:
|
|
525
|
+
|
|
526
|
+
- `webhooks gmail setup`(要求 `--account <email>`;支持 `--project`, `--topic`, `--subscription`, `--label`, `--hook-url`, `--hook-token`, `--push-token`, `--bind`, `--port`, `--path`, `--include-body`, `--max-bytes`, `--renew-minutes`, `--tailscale`, `--tailscale-path`, `--tailscale-target`, `--push-endpoint`, `--json`)
|
|
527
|
+
- `webhooks gmail run`(对相同标志进行运行时覆盖)
|
|
528
|
+
|
|
529
|
+
### `dns setup`
|
|
530
|
+
|
|
531
|
+
广域设备发现 DNS 助手(CoreDNS + Tailscale)。参见 [/gateway/discovery](/gateway/discovery)。
|
|
532
|
+
|
|
533
|
+
选项:
|
|
534
|
+
|
|
535
|
+
- `--apply`:安装 / 更新 CoreDNS 配置(需要 sudo;仅 macOS)。
|
|
536
|
+
|
|
537
|
+
## 消息 + 智能体
|
|
538
|
+
|
|
539
|
+
### `message`
|
|
540
|
+
|
|
541
|
+
统一的出站消息发送 + 渠道操作。
|
|
542
|
+
|
|
543
|
+
参见:[/cli/message](/cli/message)
|
|
544
|
+
|
|
545
|
+
子命令:
|
|
546
|
+
|
|
547
|
+
- `message send|poll|react|reactions|read|edit|delete|pin|unpin|pins|permissions|search|timeout|kick|ban`
|
|
548
|
+
- `message thread <create|list|reply>`
|
|
549
|
+
- `message emoji <list|upload>`
|
|
550
|
+
- `message sticker <send|upload>`
|
|
551
|
+
- `message role <info|add|remove>`
|
|
552
|
+
- `message channel <info|list>`
|
|
553
|
+
- `message member info`
|
|
554
|
+
- `message voice status`
|
|
555
|
+
- `message event <list|create>`
|
|
556
|
+
|
|
557
|
+
示例:
|
|
558
|
+
|
|
559
|
+
- `quantumclaw message send --target +15555550123 --message "Hi"`
|
|
560
|
+
- `quantumclaw message poll --channel discord --target channel:123 --poll-question "Snack?" --poll-option Pizza --poll-option Sushi`
|
|
561
|
+
|
|
562
|
+
### `agent`
|
|
563
|
+
|
|
564
|
+
通过 Gateway 网关(或 `--local` 嵌入模式)运行一次智能体轮次。
|
|
565
|
+
|
|
566
|
+
必需项:
|
|
567
|
+
|
|
568
|
+
- `--message <text>`
|
|
569
|
+
|
|
570
|
+
选项:
|
|
571
|
+
|
|
572
|
+
- `--to <dest>`(用于会话键以及可选投递)
|
|
573
|
+
- `--session-id <id>`
|
|
574
|
+
- `--thinking <off|minimal|low|medium|high|xhigh>`(仅适用于 GPT-5.2 + Codex 模型)
|
|
575
|
+
- `--verbose <on|full|off>`
|
|
576
|
+
- `--channel <whatsapp|telegram|discord|slack|mattermost|signal|imessage|msteams>`
|
|
577
|
+
- `--local`
|
|
578
|
+
- `--deliver`
|
|
579
|
+
- `--json`
|
|
580
|
+
- `--timeout <seconds>`
|
|
581
|
+
|
|
582
|
+
### `agents`
|
|
583
|
+
|
|
584
|
+
管理隔离的智能体(工作区 + 认证 + 路由)。
|
|
585
|
+
|
|
586
|
+
#### `agents list`
|
|
587
|
+
|
|
588
|
+
列出已配置的智能体。
|
|
589
|
+
|
|
590
|
+
选项:
|
|
591
|
+
|
|
592
|
+
- `--json`
|
|
593
|
+
- `--bindings`
|
|
594
|
+
|
|
595
|
+
#### `agents add [name]`
|
|
596
|
+
|
|
597
|
+
添加一个新的隔离智能体。除非传入标志(或 `--non-interactive`),否则会运行引导式向导;在非交互模式下必须提供 `--workspace`。
|
|
598
|
+
|
|
599
|
+
选项:
|
|
600
|
+
|
|
601
|
+
- `--workspace <dir>`
|
|
602
|
+
- `--model <id>`
|
|
603
|
+
- `--agent-dir <dir>`
|
|
604
|
+
- `--bind <channel[:accountId]>`(可重复)
|
|
605
|
+
- `--non-interactive`
|
|
606
|
+
- `--json`
|
|
607
|
+
|
|
608
|
+
绑定规范使用 `channel[:accountId]`。省略 `accountId` 时,QuantumClaw 可能通过渠道默认值 / 插件 hook 解析账户作用域;否则这就是不带显式账户作用域的渠道绑定。
|
|
609
|
+
|
|
610
|
+
#### `agents bindings`
|
|
611
|
+
|
|
612
|
+
列出路由绑定。
|
|
613
|
+
|
|
614
|
+
选项:
|
|
615
|
+
|
|
616
|
+
- `--agent <id>`
|
|
617
|
+
- `--json`
|
|
618
|
+
|
|
619
|
+
#### `agents bind`
|
|
620
|
+
|
|
621
|
+
为智能体添加路由绑定。
|
|
622
|
+
|
|
623
|
+
选项:
|
|
624
|
+
|
|
625
|
+
- `--agent <id>`
|
|
626
|
+
- `--bind <channel[:accountId]>`(可重复)
|
|
627
|
+
- `--json`
|
|
628
|
+
|
|
629
|
+
#### `agents unbind`
|
|
630
|
+
|
|
631
|
+
移除智能体的路由绑定。
|
|
632
|
+
|
|
633
|
+
选项:
|
|
634
|
+
|
|
635
|
+
- `--agent <id>`
|
|
636
|
+
- `--bind <channel[:accountId]>`(可重复)
|
|
637
|
+
- `--all`
|
|
638
|
+
- `--json`
|
|
639
|
+
|
|
640
|
+
#### `agents delete <id>`
|
|
641
|
+
|
|
642
|
+
删除一个智能体并清理其工作区 + 状态。
|
|
643
|
+
|
|
644
|
+
选项:
|
|
645
|
+
|
|
646
|
+
- `--force`
|
|
647
|
+
- `--json`
|
|
648
|
+
|
|
649
|
+
### `acp`
|
|
650
|
+
|
|
651
|
+
运行将 IDE 连接到 Gateway 网关的 ACP 桥接器。
|
|
652
|
+
|
|
653
|
+
完整选项和示例请参见 [`acp`](/cli/acp)。
|
|
654
|
+
|
|
655
|
+
### `status`
|
|
656
|
+
|
|
657
|
+
显示已链接会话的健康状态和最近收件人。
|
|
658
|
+
|
|
659
|
+
选项:
|
|
660
|
+
|
|
661
|
+
- `--json`
|
|
662
|
+
- `--all`(完整诊断;只读、可粘贴)
|
|
663
|
+
- `--deep`(探测渠道)
|
|
664
|
+
- `--usage`(显示模型提供商用量 / 配额)
|
|
665
|
+
- `--timeout <ms>`
|
|
666
|
+
- `--verbose`
|
|
667
|
+
- `--debug`(`--verbose` 的别名)
|
|
668
|
+
|
|
669
|
+
说明:
|
|
670
|
+
|
|
671
|
+
- 概览中会在可用时包含 Gateway 网关 + node host 服务状态。
|
|
672
|
+
|
|
673
|
+
### 用量跟踪
|
|
674
|
+
|
|
675
|
+
在 OAuth / API 凭据可用时,QuantumClaw 可以显示提供商用量 / 配额。
|
|
676
|
+
|
|
677
|
+
展示位置:
|
|
678
|
+
|
|
679
|
+
- `/status`(可用时添加一行简短的提供商用量信息)
|
|
680
|
+
- `quantumclaw status --usage`(打印完整的提供商明细)
|
|
681
|
+
- macOS 菜单栏(Context 下的 Usage 部分)
|
|
682
|
+
|
|
683
|
+
说明:
|
|
684
|
+
|
|
685
|
+
- 数据直接来自提供商用量端点(不是估算值)。
|
|
686
|
+
- 提供商:Anthropic、GitHub Copilot、OpenAI Codex OAuth,以及打包的 `google` 插件所提供的 Gemini CLI 和在已配置情况下的 Antigravity。
|
|
687
|
+
- 如果不存在匹配的凭据,则不会显示用量。
|
|
688
|
+
- 详情:参见 [用量跟踪](/concepts/usage-tracking)。
|
|
689
|
+
|
|
690
|
+
### `health`
|
|
691
|
+
|
|
692
|
+
从运行中的 Gateway 网关获取健康状态。
|
|
693
|
+
|
|
694
|
+
选项:
|
|
695
|
+
|
|
696
|
+
- `--json`
|
|
697
|
+
- `--timeout <ms>`
|
|
698
|
+
- `--verbose`
|
|
699
|
+
|
|
700
|
+
### `sessions`
|
|
701
|
+
|
|
702
|
+
列出已存储的对话会话。
|
|
703
|
+
|
|
704
|
+
选项:
|
|
705
|
+
|
|
706
|
+
- `--json`
|
|
707
|
+
- `--verbose`
|
|
708
|
+
- `--store <path>`
|
|
709
|
+
- `--active <minutes>`
|
|
710
|
+
|
|
711
|
+
## 重置 / 卸载
|
|
712
|
+
|
|
713
|
+
### `reset`
|
|
714
|
+
|
|
715
|
+
重置本地配置 / 状态(保留已安装的 CLI)。
|
|
716
|
+
|
|
717
|
+
选项:
|
|
718
|
+
|
|
719
|
+
- `--scope <config|config+creds+sessions|full>`
|
|
720
|
+
- `--yes`
|
|
721
|
+
- `--non-interactive`
|
|
722
|
+
- `--dry-run`
|
|
723
|
+
|
|
724
|
+
说明:
|
|
725
|
+
|
|
726
|
+
- `--non-interactive` 要求同时提供 `--scope` 和 `--yes`。
|
|
727
|
+
|
|
728
|
+
### `uninstall`
|
|
729
|
+
|
|
730
|
+
卸载 gateway 服务 + 本地数据(CLI 保留)。
|
|
731
|
+
|
|
732
|
+
选项:
|
|
733
|
+
|
|
734
|
+
- `--service`
|
|
735
|
+
- `--state`
|
|
736
|
+
- `--workspace`
|
|
737
|
+
- `--app`
|
|
738
|
+
- `--all`
|
|
739
|
+
- `--yes`
|
|
740
|
+
- `--non-interactive`
|
|
741
|
+
- `--dry-run`
|
|
742
|
+
|
|
743
|
+
说明:
|
|
744
|
+
|
|
745
|
+
- `--non-interactive` 要求 `--yes` 和显式作用域(或 `--all`)。
|
|
746
|
+
|
|
747
|
+
## Gateway 网关
|
|
748
|
+
|
|
749
|
+
### `gateway`
|
|
750
|
+
|
|
751
|
+
运行 WebSocket Gateway 网关。
|
|
752
|
+
|
|
753
|
+
选项:
|
|
754
|
+
|
|
755
|
+
- `--port <port>`
|
|
756
|
+
- `--bind <loopback|tailnet|lan|auto|custom>`
|
|
757
|
+
- `--token <token>`
|
|
758
|
+
- `--auth <token|password>`
|
|
759
|
+
- `--password <password>`
|
|
760
|
+
- `--password-file <path>`
|
|
761
|
+
- `--tailscale <off|serve|funnel>`
|
|
762
|
+
- `--tailscale-reset-on-exit`
|
|
763
|
+
- `--allow-unconfigured`
|
|
764
|
+
- `--dev`
|
|
765
|
+
- `--reset`(重置 dev 配置 + 凭据 + 会话 + 工作区)
|
|
766
|
+
- `--force`(杀掉端口上的现有监听器)
|
|
767
|
+
- `--verbose`
|
|
768
|
+
- `--claude-cli-logs`
|
|
769
|
+
- `--ws-log <auto|full|compact>`
|
|
770
|
+
- `--compact`(`--ws-log compact` 的别名)
|
|
771
|
+
- `--raw-stream`
|
|
772
|
+
- `--raw-stream-path <path>`
|
|
773
|
+
|
|
774
|
+
### `gateway service`
|
|
775
|
+
|
|
776
|
+
管理 Gateway 网关服务(launchd/systemd/schtasks)。
|
|
777
|
+
|
|
778
|
+
子命令:
|
|
779
|
+
|
|
780
|
+
- `gateway status`(默认探测 Gateway 网关 RPC)
|
|
781
|
+
- `gateway install`(安装服务)
|
|
782
|
+
- `gateway uninstall`
|
|
783
|
+
- `gateway start`
|
|
784
|
+
- `gateway stop`
|
|
785
|
+
- `gateway restart`
|
|
786
|
+
|
|
787
|
+
说明:
|
|
788
|
+
|
|
789
|
+
- `gateway status` 默认使用服务解析出的端口 / 配置来探测 Gateway 网关 RPC(可用 `--url/--token/--password` 覆盖)。
|
|
790
|
+
- `gateway status` 支持 `--no-probe`、`--deep`、`--require-rpc` 和 `--json`,便于脚本化。
|
|
791
|
+
- `gateway status` 还能在检测到时显示旧版或额外的 gateway 服务(`--deep` 会增加系统级扫描)。带 profile 名称的 QuantumClaw 服务会被视为一等公民,不会标记为“额外”。
|
|
792
|
+
- `gateway status` 会打印 CLI 使用的是哪个配置路径、服务可能使用的是哪个配置(服务环境),以及解析出的探测目标 URL。
|
|
793
|
+
- 如果 gateway 认证 SecretRef 在当前命令路径中未解析,`gateway status --json` 仅会在探测连接 / 认证失败时报告 `rpc.authWarning`(探测成功时会抑制警告)。
|
|
794
|
+
- 在 Linux systemd 安装中,状态 token 漂移检查同时包括 `Environment=` 和 `EnvironmentFile=` 单元来源。
|
|
795
|
+
- `gateway install|uninstall|start|stop|restart` 支持 `--json`,便于脚本化(默认输出仍然更适合人类阅读)。
|
|
796
|
+
- `gateway install` 默认使用 Node 运行时;**不推荐** bun(存在 WhatsApp / Telegram bug)。
|
|
797
|
+
- `gateway install` 选项:`--port`、`--runtime`、`--token`、`--force`、`--json`。
|
|
798
|
+
|
|
799
|
+
### `logs`
|
|
800
|
+
|
|
801
|
+
通过 RPC 跟踪 Gateway 网关文件日志。
|
|
802
|
+
|
|
803
|
+
说明:
|
|
804
|
+
|
|
805
|
+
- TTY 会话会渲染彩色的结构化视图;非 TTY 会回退为纯文本。
|
|
806
|
+
- `--json` 会输出逐行 JSON(每行一个日志事件)。
|
|
807
|
+
|
|
808
|
+
示例:
|
|
809
|
+
|
|
810
|
+
```bash
|
|
811
|
+
quantumclaw logs --follow
|
|
812
|
+
quantumclaw logs --limit 200
|
|
813
|
+
quantumclaw logs --plain
|
|
814
|
+
quantumclaw logs --json
|
|
815
|
+
quantumclaw logs --no-color
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
### `gateway <subcommand>`
|
|
819
|
+
|
|
820
|
+
Gateway 网关 CLI 助手(RPC 子命令可使用 `--url`、`--token`、`--password`、`--timeout`、`--expect-final`)。
|
|
821
|
+
当你传入 `--url` 时,CLI 不会自动应用配置或环境凭据。
|
|
822
|
+
请显式包含 `--token` 或 `--password`。缺少显式凭据会报错。
|
|
823
|
+
|
|
824
|
+
子命令:
|
|
825
|
+
|
|
826
|
+
- `gateway call <method> [--params <json>]`
|
|
827
|
+
- `gateway health`
|
|
828
|
+
- `gateway status`
|
|
829
|
+
- `gateway probe`
|
|
830
|
+
- `gateway discover`
|
|
831
|
+
- `gateway install|uninstall|start|stop|restart`
|
|
832
|
+
- `gateway run`
|
|
833
|
+
|
|
834
|
+
常见 RPC:
|
|
835
|
+
|
|
836
|
+
- `config.apply`(验证 + 写入配置 + 重启 + 唤醒)
|
|
837
|
+
- `config.patch`(合并部分更新 + 重启 + 唤醒)
|
|
838
|
+
- `update.run`(运行更新 + 重启 + 唤醒)
|
|
839
|
+
|
|
840
|
+
提示:直接调用 `config.set`/`config.apply`/`config.patch` 时,如果配置已存在,请从
|
|
841
|
+
`config.get` 传入 `baseHash`。
|
|
842
|
+
|
|
843
|
+
## 模型
|
|
844
|
+
|
|
845
|
+
关于回退行为和扫描策略,请参见 [/concepts/models](/concepts/models)。
|
|
846
|
+
|
|
847
|
+
Anthropic setup-token(已支持):
|
|
848
|
+
|
|
849
|
+
```bash
|
|
850
|
+
claude setup-token
|
|
851
|
+
quantumclaw models auth setup-token --provider anthropic
|
|
852
|
+
quantumclaw models status
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
策略说明:这是技术兼容性。Anthropic 过去曾阻止某些
|
|
856
|
+
Claude Code 之外的订阅使用;在生产环境依赖 setup-token 之前,请确认当前的 Anthropic
|
|
857
|
+
条款。
|
|
858
|
+
|
|
859
|
+
### `models`(根命令)
|
|
860
|
+
|
|
861
|
+
`quantumclaw models` 是 `models status` 的别名。
|
|
862
|
+
|
|
863
|
+
根选项:
|
|
864
|
+
|
|
865
|
+
- `--status-json`(`models status --json` 的别名)
|
|
866
|
+
- `--status-plain`(`models status --plain` 的别名)
|
|
867
|
+
|
|
868
|
+
### `models list`
|
|
869
|
+
|
|
870
|
+
选项:
|
|
871
|
+
|
|
872
|
+
- `--all`
|
|
873
|
+
- `--local`
|
|
874
|
+
- `--provider <name>`
|
|
875
|
+
- `--json`
|
|
876
|
+
- `--plain`
|
|
877
|
+
|
|
878
|
+
### `models status`
|
|
879
|
+
|
|
880
|
+
选项:
|
|
881
|
+
|
|
882
|
+
- `--json`
|
|
883
|
+
- `--plain`
|
|
884
|
+
- `--check`(退出码 1=已过期 / 缺失,2=即将过期)
|
|
885
|
+
- `--probe`(对已配置认证配置文件进行实时探测)
|
|
886
|
+
- `--probe-provider <name>`
|
|
887
|
+
- `--probe-profile <id>`(可重复或逗号分隔)
|
|
888
|
+
- `--probe-timeout <ms>`
|
|
889
|
+
- `--probe-concurrency <n>`
|
|
890
|
+
- `--probe-max-tokens <n>`
|
|
891
|
+
|
|
892
|
+
始终包含认证总览以及认证存储中配置文件的 OAuth 过期状态。
|
|
893
|
+
`--probe` 会发起实时请求(可能消耗 token 并触发速率限制)。
|
|
894
|
+
|
|
895
|
+
### `models set <model>`
|
|
896
|
+
|
|
897
|
+
设置 `agents.defaults.model.primary`。
|
|
898
|
+
|
|
899
|
+
### `models set-image <model>`
|
|
900
|
+
|
|
901
|
+
设置 `agents.defaults.imageModel.primary`。
|
|
902
|
+
|
|
903
|
+
### `models aliases list|add|remove`
|
|
904
|
+
|
|
905
|
+
选项:
|
|
906
|
+
|
|
907
|
+
- `list`:`--json`、`--plain`
|
|
908
|
+
- `add <alias> <model>`
|
|
909
|
+
- `remove <alias>`
|
|
910
|
+
|
|
911
|
+
### `models fallbacks list|add|remove|clear`
|
|
912
|
+
|
|
913
|
+
选项:
|
|
914
|
+
|
|
915
|
+
- `list`:`--json`、`--plain`
|
|
916
|
+
- `add <model>`
|
|
917
|
+
- `remove <model>`
|
|
918
|
+
- `clear`
|
|
919
|
+
|
|
920
|
+
### `models image-fallbacks list|add|remove|clear`
|
|
921
|
+
|
|
922
|
+
选项:
|
|
923
|
+
|
|
924
|
+
- `list`:`--json`、`--plain`
|
|
925
|
+
- `add <model>`
|
|
926
|
+
- `remove <model>`
|
|
927
|
+
- `clear`
|
|
928
|
+
|
|
929
|
+
### `models scan`
|
|
930
|
+
|
|
931
|
+
选项:
|
|
932
|
+
|
|
933
|
+
- `--min-params <b>`
|
|
934
|
+
- `--max-age-days <days>`
|
|
935
|
+
- `--provider <name>`
|
|
936
|
+
- `--max-candidates <n>`
|
|
937
|
+
- `--timeout <ms>`
|
|
938
|
+
- `--concurrency <n>`
|
|
939
|
+
- `--no-probe`
|
|
940
|
+
- `--yes`
|
|
941
|
+
- `--no-input`
|
|
942
|
+
- `--set-default`
|
|
943
|
+
- `--set-image`
|
|
944
|
+
- `--json`
|
|
945
|
+
|
|
946
|
+
### `models auth add|setup-token|paste-token`
|
|
947
|
+
|
|
948
|
+
选项:
|
|
949
|
+
|
|
950
|
+
- `add`:交互式认证助手
|
|
951
|
+
- `setup-token`:`--provider <name>`(默认 `anthropic`)、`--yes`
|
|
952
|
+
- `paste-token`:`--provider <name>`、`--profile-id <id>`、`--expires-in <duration>`
|
|
953
|
+
|
|
954
|
+
### `models auth order get|set|clear`
|
|
955
|
+
|
|
956
|
+
选项:
|
|
957
|
+
|
|
958
|
+
- `get`:`--provider <name>`、`--agent <id>`、`--json`
|
|
959
|
+
- `set`:`--provider <name>`、`--agent <id>`、`<profileIds...>`
|
|
960
|
+
- `clear`:`--provider <name>`、`--agent <id>`
|
|
961
|
+
|
|
962
|
+
## 系统
|
|
963
|
+
|
|
964
|
+
### `system event`
|
|
965
|
+
|
|
966
|
+
将一个系统事件加入队列,并可选择触发一次 heartbeat(Gateway 网关 RPC)。
|
|
967
|
+
|
|
968
|
+
必需项:
|
|
969
|
+
|
|
970
|
+
- `--text <text>`
|
|
971
|
+
|
|
972
|
+
选项:
|
|
973
|
+
|
|
974
|
+
- `--mode <now|next-heartbeat>`
|
|
975
|
+
- `--json`
|
|
976
|
+
- `--url`, `--token`, `--timeout`, `--expect-final`
|
|
977
|
+
|
|
978
|
+
### `system heartbeat last|enable|disable`
|
|
979
|
+
|
|
980
|
+
heartbeat 控制(Gateway 网关 RPC)。
|
|
981
|
+
|
|
982
|
+
选项:
|
|
983
|
+
|
|
984
|
+
- `--json`
|
|
985
|
+
- `--url`, `--token`, `--timeout`, `--expect-final`
|
|
986
|
+
|
|
987
|
+
### `system presence`
|
|
988
|
+
|
|
989
|
+
列出系统 presence 条目(Gateway 网关 RPC)。
|
|
990
|
+
|
|
991
|
+
选项:
|
|
992
|
+
|
|
993
|
+
- `--json`
|
|
994
|
+
- `--url`, `--token`, `--timeout`, `--expect-final`
|
|
995
|
+
|
|
996
|
+
## Cron
|
|
997
|
+
|
|
998
|
+
管理计划任务(Gateway 网关 RPC)。参见 [/automation/cron-jobs](/automation/cron-jobs)。
|
|
999
|
+
|
|
1000
|
+
子命令:
|
|
1001
|
+
|
|
1002
|
+
- `cron status [--json]`
|
|
1003
|
+
- `cron list [--all] [--json]`(默认输出表格;原始输出请使用 `--json`)
|
|
1004
|
+
- `cron add`(别名:`create`;要求 `--name`,并且必须且只能提供 `--at` | `--every` | `--cron` 之一,以及 `--system-event` | `--message` 之一作为负载)
|
|
1005
|
+
- `cron edit <id>`(修补字段)
|
|
1006
|
+
- `cron rm <id>`(别名:`remove`, `delete`)
|
|
1007
|
+
- `cron enable <id>`
|
|
1008
|
+
- `cron disable <id>`
|
|
1009
|
+
- `cron runs --id <id> [--limit <n>]`
|
|
1010
|
+
- `cron run <id> [--force]`
|
|
1011
|
+
|
|
1012
|
+
所有 `cron` 命令都接受 `--url`、`--token`、`--timeout`、`--expect-final`。
|
|
1013
|
+
|
|
1014
|
+
## Node 主机
|
|
1015
|
+
|
|
1016
|
+
`node` 运行一个**无头 node host**,或将其作为后台服务进行管理。参见
|
|
1017
|
+
[`quantumclaw node`](/cli/node)。
|
|
1018
|
+
|
|
1019
|
+
子命令:
|
|
1020
|
+
|
|
1021
|
+
- `node run --host <gateway-host> --port 18789`
|
|
1022
|
+
- `node status`
|
|
1023
|
+
- `node install [--host <gateway-host>] [--port <port>] [--tls] [--tls-fingerprint <sha256>] [--node-id <id>] [--display-name <name>] [--runtime <node|bun>] [--force]`
|
|
1024
|
+
- `node uninstall`
|
|
1025
|
+
- `node stop`
|
|
1026
|
+
- `node restart`
|
|
1027
|
+
|
|
1028
|
+
认证说明:
|
|
1029
|
+
|
|
1030
|
+
- `node` 从环境 / 配置解析 gateway 认证(不支持 `--token`/`--password` 标志):`QUANTUMCLAW_GATEWAY_TOKEN` / `QUANTUMCLAW_GATEWAY_PASSWORD`,然后是 `gateway.auth.*`。在本地模式下,node host 会有意忽略 `gateway.remote.*`;在 `gateway.mode=remote` 时,`gateway.remote.*` 会根据远程优先级规则参与解析。
|
|
1031
|
+
- 旧版 `CLAWDBOT_GATEWAY_*` 环境变量会被有意忽略,不用于 node-host 认证解析。
|
|
1032
|
+
|
|
1033
|
+
## Nodes
|
|
1034
|
+
|
|
1035
|
+
`nodes` 与 Gateway 网关通信,并以已配对节点为目标。参见 [/nodes](/nodes)。
|
|
1036
|
+
|
|
1037
|
+
通用选项:
|
|
1038
|
+
|
|
1039
|
+
- `--url`, `--token`, `--timeout`, `--json`
|
|
1040
|
+
|
|
1041
|
+
子命令:
|
|
1042
|
+
|
|
1043
|
+
- `nodes status [--connected] [--last-connected <duration>]`
|
|
1044
|
+
- `nodes describe --node <id|name|ip>`
|
|
1045
|
+
- `nodes list [--connected] [--last-connected <duration>]`
|
|
1046
|
+
- `nodes pending`
|
|
1047
|
+
- `nodes approve <requestId>`
|
|
1048
|
+
- `nodes reject <requestId>`
|
|
1049
|
+
- `nodes rename --node <id|name|ip> --name <displayName>`
|
|
1050
|
+
- `nodes invoke --node <id|name|ip> --command <command> [--params <json>] [--invoke-timeout <ms>] [--idempotency-key <key>]`
|
|
1051
|
+
- `nodes run --node <id|name|ip> [--cwd <path>] [--env KEY=VAL] [--command-timeout <ms>] [--needs-screen-recording] [--invoke-timeout <ms>] <command...>`(mac 节点或无头 node host)
|
|
1052
|
+
- `nodes notify --node <id|name|ip> [--title <text>] [--body <text>] [--sound <name>] [--priority <passive|active|timeSensitive>] [--delivery <system|overlay|auto>] [--invoke-timeout <ms>]`(仅 mac)
|
|
1053
|
+
|
|
1054
|
+
相机:
|
|
1055
|
+
|
|
1056
|
+
- `nodes camera list --node <id|name|ip>`
|
|
1057
|
+
- `nodes camera snap --node <id|name|ip> [--facing front|back|both] [--device-id <id>] [--max-width <px>] [--quality <0-1>] [--delay-ms <ms>] [--invoke-timeout <ms>]`
|
|
1058
|
+
- `nodes camera clip --node <id|name|ip> [--facing front|back] [--device-id <id>] [--duration <ms|10s|1m>] [--no-audio] [--invoke-timeout <ms>]`
|
|
1059
|
+
|
|
1060
|
+
Canvas + 屏幕:
|
|
1061
|
+
|
|
1062
|
+
- `nodes canvas snapshot --node <id|name|ip> [--format png|jpg|jpeg] [--max-width <px>] [--quality <0-1>] [--invoke-timeout <ms>]`
|
|
1063
|
+
- `nodes canvas present --node <id|name|ip> [--target <urlOrPath>] [--x <px>] [--y <px>] [--width <px>] [--height <px>] [--invoke-timeout <ms>]`
|
|
1064
|
+
- `nodes canvas hide --node <id|name|ip> [--invoke-timeout <ms>]`
|
|
1065
|
+
- `nodes canvas navigate <url> --node <id|name|ip> [--invoke-timeout <ms>]`
|
|
1066
|
+
- `nodes canvas eval [<js>] --node <id|name|ip> [--js <code>] [--invoke-timeout <ms>]`
|
|
1067
|
+
- `nodes canvas a2ui push --node <id|name|ip> (--jsonl <path> | --text <text>) [--invoke-timeout <ms>]`
|
|
1068
|
+
- `nodes canvas a2ui reset --node <id|name|ip> [--invoke-timeout <ms>]`
|
|
1069
|
+
- `nodes screen record --node <id|name|ip> [--screen <index>] [--duration <ms|10s>] [--fps <n>] [--no-audio] [--out <path>] [--invoke-timeout <ms>]`
|
|
1070
|
+
|
|
1071
|
+
位置:
|
|
1072
|
+
|
|
1073
|
+
- `nodes location get --node <id|name|ip> [--max-age <ms>] [--accuracy <coarse|balanced|precise>] [--location-timeout <ms>] [--invoke-timeout <ms>]`
|
|
1074
|
+
|
|
1075
|
+
## 浏览器
|
|
1076
|
+
|
|
1077
|
+
浏览器控制 CLI(专用 Chrome/Brave/Edge/Chromium)。参见 [`quantumclaw browser`](/cli/browser) 和 [Browser 工具](/tools/browser)。
|
|
1078
|
+
|
|
1079
|
+
通用选项:
|
|
1080
|
+
|
|
1081
|
+
- `--url`, `--token`, `--timeout`, `--json`
|
|
1082
|
+
- `--browser-profile <name>`
|
|
1083
|
+
|
|
1084
|
+
管理:
|
|
1085
|
+
|
|
1086
|
+
- `browser status`
|
|
1087
|
+
- `browser start`
|
|
1088
|
+
- `browser stop`
|
|
1089
|
+
- `browser reset-profile`
|
|
1090
|
+
- `browser tabs`
|
|
1091
|
+
- `browser open <url>`
|
|
1092
|
+
- `browser focus <targetId>`
|
|
1093
|
+
- `browser close [targetId]`
|
|
1094
|
+
- `browser profiles`
|
|
1095
|
+
- `browser create-profile --name <name> [--color <hex>] [--cdp-url <url>]`
|
|
1096
|
+
- `browser delete-profile --name <name>`
|
|
1097
|
+
|
|
1098
|
+
检查:
|
|
1099
|
+
|
|
1100
|
+
- `browser screenshot [targetId] [--full-page] [--ref <ref>] [--element <selector>] [--type png|jpeg]`
|
|
1101
|
+
- `browser snapshot [--format aria|ai] [--target-id <id>] [--limit <n>] [--interactive] [--compact] [--depth <n>] [--selector <sel>] [--out <path>]`
|
|
1102
|
+
|
|
1103
|
+
操作:
|
|
1104
|
+
|
|
1105
|
+
- `browser navigate <url> [--target-id <id>]`
|
|
1106
|
+
- `browser resize <width> <height> [--target-id <id>]`
|
|
1107
|
+
- `browser click <ref> [--double] [--button <left|right|middle>] [--modifiers <csv>] [--target-id <id>]`
|
|
1108
|
+
- `browser type <ref> <text> [--submit] [--slowly] [--target-id <id>]`
|
|
1109
|
+
- `browser press <key> [--target-id <id>]`
|
|
1110
|
+
- `browser hover <ref> [--target-id <id>]`
|
|
1111
|
+
- `browser drag <startRef> <endRef> [--target-id <id>]`
|
|
1112
|
+
- `browser select <ref> <values...> [--target-id <id>]`
|
|
1113
|
+
- `browser upload <paths...> [--ref <ref>] [--input-ref <ref>] [--element <selector>] [--target-id <id>] [--timeout-ms <ms>]`
|
|
1114
|
+
- `browser fill [--fields <json>] [--fields-file <path>] [--target-id <id>]`
|
|
1115
|
+
- `browser dialog --accept|--dismiss [--prompt <text>] [--target-id <id>] [--timeout-ms <ms>]`
|
|
1116
|
+
- `browser wait [--time <ms>] [--text <value>] [--text-gone <value>] [--target-id <id>]`
|
|
1117
|
+
- `browser evaluate --fn <code> [--ref <ref>] [--target-id <id>]`
|
|
1118
|
+
- `browser console [--level <error|warn|info>] [--target-id <id>]`
|
|
1119
|
+
- `browser pdf [--target-id <id>]`
|
|
1120
|
+
|
|
1121
|
+
## 文档搜索
|
|
1122
|
+
|
|
1123
|
+
### `docs [query...]`
|
|
1124
|
+
|
|
1125
|
+
搜索实时文档索引。
|
|
1126
|
+
|
|
1127
|
+
## TUI
|
|
1128
|
+
|
|
1129
|
+
### `tui`
|
|
1130
|
+
|
|
1131
|
+
打开连接到 Gateway 网关的终端 UI。
|
|
1132
|
+
|
|
1133
|
+
选项:
|
|
1134
|
+
|
|
1135
|
+
- `--url <url>`
|
|
1136
|
+
- `--token <token>`
|
|
1137
|
+
- `--password <password>`
|
|
1138
|
+
- `--session <key>`
|
|
1139
|
+
- `--deliver`
|
|
1140
|
+
- `--thinking <level>`
|
|
1141
|
+
- `--message <text>`
|
|
1142
|
+
- `--timeout-ms <ms>`(默认值为 `agents.defaults.timeoutSeconds`)
|
|
1143
|
+
- `--history-limit <n>`
|