@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,61 @@
|
|
|
1
|
+
# AGENTS.md - zh-CN 文档翻译工作区
|
|
2
|
+
|
|
3
|
+
## Read When
|
|
4
|
+
|
|
5
|
+
- 维护 `docs/zh-CN/**`
|
|
6
|
+
- 更新中文翻译流水线(glossary/TM/prompt)
|
|
7
|
+
- 处理中文翻译反馈或回归
|
|
8
|
+
|
|
9
|
+
## Pipeline(docs-i18n)
|
|
10
|
+
|
|
11
|
+
- 源文档:`docs/**/*.md`
|
|
12
|
+
- 目标文档:`docs/zh-CN/**/*.md`
|
|
13
|
+
- 术语表:`docs/.i18n/glossary.zh-CN.json`
|
|
14
|
+
- 翻译记忆库:`docs/.i18n/zh-CN.tm.jsonl`
|
|
15
|
+
- 提示词规则:`scripts/docs-i18n/prompt.go`
|
|
16
|
+
|
|
17
|
+
常用运行方式:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# 批量(doc 模式,可并行)
|
|
21
|
+
go run scripts/docs-i18n/main.go -mode doc -parallel 6 docs/**/*.md
|
|
22
|
+
|
|
23
|
+
# 单文件
|
|
24
|
+
|
|
25
|
+
go run scripts/docs-i18n/main.go -mode doc docs/channels/matrix.md
|
|
26
|
+
|
|
27
|
+
# 小范围补丁(segment 模式,使用 TM;不支持并行)
|
|
28
|
+
go run scripts/docs-i18n/main.go -mode segment docs/channels/matrix.md
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
注意事项:
|
|
32
|
+
|
|
33
|
+
- doc 模式用于整页翻译;segment 模式用于小范围修补(依赖 TM)。
|
|
34
|
+
- 新增技术术语、页面标题或短导航标签时,先更新 `docs/.i18n/glossary.zh-CN.json`,再跑 `doc` 模式;不要指望模型自行保留英文术语或固定译名。
|
|
35
|
+
- `pnpm docs:check-i18n-glossary` 会检查变更过的英文文档标题和短内部链接标签是否已写入 glossary。
|
|
36
|
+
- 超大文件若超时,优先做**定点替换**或拆分后再跑。
|
|
37
|
+
- 翻译后检查中文引号、CJK-Latin 间距和术语一致性。
|
|
38
|
+
|
|
39
|
+
## zh-CN 样式规则
|
|
40
|
+
|
|
41
|
+
- CJK-Latin 间距:遵循 W3C CLREQ(如 `Gateway 网关`、`Skills 配置`)。
|
|
42
|
+
- 中文引号:正文/标题使用 `“”`;代码/CLI/键名保持 ASCII 引号。
|
|
43
|
+
- 术语保留英文:`Skills`、`local loopback`、`Tailscale`。
|
|
44
|
+
- 代码块/内联代码:保持原样,不在代码内插入空格或引号替换。
|
|
45
|
+
|
|
46
|
+
## 关键术语(#6995 修复)
|
|
47
|
+
|
|
48
|
+
- `Gateway 网关`
|
|
49
|
+
- `Skills 配置`
|
|
50
|
+
- `沙箱`
|
|
51
|
+
- `预期键名`
|
|
52
|
+
- `配套应用`
|
|
53
|
+
- `分块流式传输`
|
|
54
|
+
- `设备发现`
|
|
55
|
+
|
|
56
|
+
## 反馈与变更记录
|
|
57
|
+
|
|
58
|
+
- 反馈来源:GitHub issue #6995
|
|
59
|
+
- 反馈用户:@AaronWander、@taiyi747、@Explorer1092、@rendaoyuan
|
|
60
|
+
- 变更要点:更新 prompt 规则、扩充 glossary、清理 TM、批量再生成 + 定点修复
|
|
61
|
+
- 参考链接:https://github.com/quantumclaw/quantumclaw/issues/6995
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
read_when:
|
|
3
|
+
- 设置认证过期监控或告警
|
|
4
|
+
- 自动化 Claude Code / Codex OAuth 刷新检查
|
|
5
|
+
summary: 监控模型提供商的 OAuth 过期状态
|
|
6
|
+
title: 认证监控
|
|
7
|
+
x-i18n:
|
|
8
|
+
generated_at: "2026-02-03T10:03:53Z"
|
|
9
|
+
model: claude-opus-4-5
|
|
10
|
+
provider: pi
|
|
11
|
+
source_hash: eef179af9545ed7ab881f3ccbef998869437fb50cdb4088de8da7223b614fa2b
|
|
12
|
+
source_path: automation/auth-monitoring.md
|
|
13
|
+
workflow: 15
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# 认证监控
|
|
17
|
+
|
|
18
|
+
QuantumClaw 通过 `quantumclaw models status` 提供 OAuth 过期健康状态。请使用该命令进行自动化和告警;脚本是为手机工作流程提供的可选附加功能。
|
|
19
|
+
|
|
20
|
+
## 推荐方式:CLI 检查(可移植)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
quantumclaw models status --check
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
退出码:
|
|
27
|
+
|
|
28
|
+
- `0`:正常
|
|
29
|
+
- `1`:凭证过期或缺失
|
|
30
|
+
- `2`:即将过期(24 小时内)
|
|
31
|
+
|
|
32
|
+
此方式适用于 cron/systemd,无需额外脚本。
|
|
33
|
+
|
|
34
|
+
## 可选脚本(运维 / 手机工作流程)
|
|
35
|
+
|
|
36
|
+
这些脚本位于 `scripts/` 目录下,属于**可选**内容。它们假定你可以通过 SSH 访问 Gateway 网关主机,并针对 systemd + Termux 进行了调优。
|
|
37
|
+
|
|
38
|
+
- `scripts/claude-auth-status.sh` 现在使用 `quantumclaw models status --json` 作为数据来源(如果 CLI 不可用则回退到直接读取文件),因此请确保 `quantumclaw` 在定时器的 `PATH` 中。
|
|
39
|
+
- `scripts/auth-monitor.sh`:cron/systemd 定时器目标;发送告警(ntfy 或手机)。
|
|
40
|
+
- `scripts/systemd/quantumclaw-auth-monitor.{service,timer}`:systemd 用户定时器。
|
|
41
|
+
- `scripts/claude-auth-status.sh`:Claude Code + QuantumClaw 认证检查器(完整/json/简洁模式)。
|
|
42
|
+
- `scripts/mobile-reauth.sh`:通过 SSH 引导的重新认证流程。
|
|
43
|
+
- `scripts/termux-quick-auth.sh`:一键小部件状态查看 + 打开认证 URL。
|
|
44
|
+
- `scripts/termux-auth-widget.sh`:完整的引导式小部件流程。
|
|
45
|
+
- `scripts/termux-sync-widget.sh`:同步 Claude Code 凭证 → QuantumClaw。
|
|
46
|
+
|
|
47
|
+
如果你不需要手机自动化或 systemd 定时器,可以跳过这些脚本。
|
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
---
|
|
2
|
+
read_when:
|
|
3
|
+
- 调度后台任务或唤醒
|
|
4
|
+
- 配置需要与心跳一起或并行运行的自动化
|
|
5
|
+
- 在心跳和定时任务之间做选择
|
|
6
|
+
summary: Gateway网关调度器的定时任务与唤醒
|
|
7
|
+
title: 定时任务
|
|
8
|
+
x-i18n:
|
|
9
|
+
generated_at: "2026-02-01T19:37:32Z"
|
|
10
|
+
model: claude-opus-4-5
|
|
11
|
+
provider: pi
|
|
12
|
+
source_hash: d43268b0029f1b13d0825ddcc9c06a354987ea17ce02f3b5428a9c68bf936676
|
|
13
|
+
source_path: automation/cron-jobs.md
|
|
14
|
+
workflow: 14
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# 定时任务(Gateway网关调度器)
|
|
18
|
+
|
|
19
|
+
> **定时任务还是心跳?** 请参阅[定时任务与心跳对比](/automation/cron-vs-heartbeat)了解何时使用哪种方式。
|
|
20
|
+
|
|
21
|
+
定时任务是 Gateway网关内置的调度器。它持久化任务、在合适的时间唤醒智能体,并可选择将输出发送回聊天。
|
|
22
|
+
|
|
23
|
+
如果你想要 _"每天早上运行"_ 或 _"20 分钟后提醒智能体"_,定时任务就是对应的机制。
|
|
24
|
+
|
|
25
|
+
## 简要概述
|
|
26
|
+
|
|
27
|
+
- 定时任务运行在 **Gateway网关内部**(而非模型内部)。
|
|
28
|
+
- 任务持久化存储在 `~/.quantumclaw/cron/` 下,因此重启不会丢失计划。
|
|
29
|
+
- 两种执行方式:
|
|
30
|
+
- **主会话**:入队一个系统事件,然后在下一次心跳时运行。
|
|
31
|
+
- **隔离式**:在 `cron:<jobId>` 或自定义会话中运行专用智能体轮次,可投递摘要(默认 announce)或不投递。
|
|
32
|
+
- **当前会话**:绑定到创建定时任务时的会话 (`sessionTarget: "current"`)。
|
|
33
|
+
- **自定义会话**:在持久化的命名会话中运行 (`sessionTarget: "session:custom-id"`)。
|
|
34
|
+
- 唤醒是一等功能:任务可以请求"立即唤醒"或"下次心跳时"。
|
|
35
|
+
|
|
36
|
+
## 快速开始(可操作)
|
|
37
|
+
|
|
38
|
+
创建一个一次性提醒,验证其存在,然后立即运行:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
quantumclaw cron add \
|
|
42
|
+
--name "Reminder" \
|
|
43
|
+
--at "2026-02-01T16:00:00Z" \
|
|
44
|
+
--session main \
|
|
45
|
+
--system-event "Reminder: check the cron docs draft" \
|
|
46
|
+
--wake now \
|
|
47
|
+
--delete-after-run
|
|
48
|
+
|
|
49
|
+
quantumclaw cron list
|
|
50
|
+
quantumclaw cron run <job-id> --force
|
|
51
|
+
quantumclaw cron runs --id <job-id>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
调度一个带投递功能的周期性隔离任务:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
quantumclaw cron add \
|
|
58
|
+
--name "Morning brief" \
|
|
59
|
+
--cron "0 7 * * *" \
|
|
60
|
+
--tz "America/Los_Angeles" \
|
|
61
|
+
--session isolated \
|
|
62
|
+
--message "Summarize overnight updates." \
|
|
63
|
+
--announce \
|
|
64
|
+
--channel slack \
|
|
65
|
+
--to "channel:C1234567890"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 工具调用等价形式(Gateway网关定时任务工具)
|
|
69
|
+
|
|
70
|
+
有关规范的 JSON 结构和示例,请参阅[工具调用的 JSON 模式](/automation/cron-jobs#json-schema-for-tool-calls)。
|
|
71
|
+
|
|
72
|
+
## 定时任务的存储位置
|
|
73
|
+
|
|
74
|
+
定时任务默认持久化存储在 Gateway网关主机的 `~/.quantumclaw/cron/jobs.json` 中。Gateway网关将文件加载到内存中,并在更改时写回,因此仅在 Gateway网关停止时手动编辑才是安全的。请优先使用 `quantumclaw cron add/edit` 或定时任务工具调用 API 进行更改。
|
|
75
|
+
|
|
76
|
+
## 新手友好概述
|
|
77
|
+
|
|
78
|
+
将定时任务理解为:**何时**运行 + **做什么**。
|
|
79
|
+
|
|
80
|
+
1. **选择调度计划**
|
|
81
|
+
- 一次性提醒 → `schedule.kind = "at"`(CLI:`--at`)
|
|
82
|
+
- 重复任务 → `schedule.kind = "every"` 或 `schedule.kind = "cron"`
|
|
83
|
+
- 如果你的 ISO 时间戳省略了时区,将被视为 **UTC**。
|
|
84
|
+
|
|
85
|
+
2. **选择运行位置**
|
|
86
|
+
- `sessionTarget: "main"` → 在下一次心跳时使用主会话上下文运行。
|
|
87
|
+
- `sessionTarget: "isolated"` → 在 `cron:<jobId>` 中运行专用智能体轮次。
|
|
88
|
+
- `sessionTarget: "current"` → 绑定到当前会话(创建时解析为 `session:<sessionKey>`)。
|
|
89
|
+
- `sessionTarget: "session:custom-id"` → 在持久化的命名会话中运行,跨运行保持上下文。
|
|
90
|
+
|
|
91
|
+
默认行为(保持不变):
|
|
92
|
+
- `systemEvent` 负载默认使用 `main`
|
|
93
|
+
- `agentTurn` 负载默认使用 `isolated`
|
|
94
|
+
|
|
95
|
+
要使用当前会话绑定,需显式设置 `sessionTarget: "current"`。
|
|
96
|
+
|
|
97
|
+
3. **选择负载**
|
|
98
|
+
- 主会话 → `payload.kind = "systemEvent"`
|
|
99
|
+
- 隔离会话 → `payload.kind = "agentTurn"`
|
|
100
|
+
|
|
101
|
+
可选:一次性任务(`schedule.kind = "at"`)默认会在成功运行后删除。设置
|
|
102
|
+
`deleteAfterRun: false` 可保留它(成功后会禁用)。
|
|
103
|
+
|
|
104
|
+
## 概念
|
|
105
|
+
|
|
106
|
+
### 任务
|
|
107
|
+
|
|
108
|
+
定时任务是一条存储记录,包含:
|
|
109
|
+
|
|
110
|
+
- 一个**调度计划**(何时运行),
|
|
111
|
+
- 一个**负载**(做什么),
|
|
112
|
+
- 可选的**投递**(输出发送到哪里)。
|
|
113
|
+
- 可选的**智能体绑定**(`agentId`):在指定智能体下运行任务;如果缺失或未知,Gateway网关会回退到默认智能体。
|
|
114
|
+
|
|
115
|
+
任务通过稳定的 `jobId` 标识(用于 CLI/Gateway网关 API)。
|
|
116
|
+
在智能体工具调用中,`jobId` 是规范字段;旧版 `id` 仍可兼容使用。
|
|
117
|
+
一次性任务默认会在成功运行后自动删除;设置 `deleteAfterRun: false` 可保留它。
|
|
118
|
+
|
|
119
|
+
### 调度计划
|
|
120
|
+
|
|
121
|
+
定时任务支持三种调度类型:
|
|
122
|
+
|
|
123
|
+
- `at`:一次性时间戳(ISO 8601 字符串)。
|
|
124
|
+
- `every`:固定间隔(毫秒)。
|
|
125
|
+
- `cron`:5 字段 cron 表达式,可选 IANA 时区。
|
|
126
|
+
|
|
127
|
+
Cron 表达式使用 `croner`。如果省略时区,将使用 Gateway网关主机的本地时区。
|
|
128
|
+
|
|
129
|
+
### 主会话与隔离式执行
|
|
130
|
+
|
|
131
|
+
#### 主会话任务(系统事件)
|
|
132
|
+
|
|
133
|
+
主会话任务入队一个系统事件,并可选择唤醒心跳运行器。它们必须使用 `payload.kind = "systemEvent"`。
|
|
134
|
+
|
|
135
|
+
- `wakeMode: "next-heartbeat"`(默认):事件等待下一次计划心跳。
|
|
136
|
+
- `wakeMode: "now"`:事件触发立即心跳运行。
|
|
137
|
+
|
|
138
|
+
当你需要正常的心跳提示 + 主会话上下文时,这是最佳选择。参见[心跳](/gateway/heartbeat)。
|
|
139
|
+
|
|
140
|
+
#### 隔离任务(专用定时会话)
|
|
141
|
+
|
|
142
|
+
隔离任务在会话 `cron:<jobId>` 或自定义会话中运行专用智能体轮次。
|
|
143
|
+
|
|
144
|
+
关键行为:
|
|
145
|
+
|
|
146
|
+
- 提示以 `[cron:<jobId> <任务名称>]` 为前缀,便于追踪。
|
|
147
|
+
- 每次运行都会启动一个**全新的会话 ID**(不继承之前的对话),除非使用自定义会话。
|
|
148
|
+
- 自定义会话(`session:xxx`)可跨运行保持上下文,适用于如每日站会等需要基于前次摘要的工作流。
|
|
149
|
+
- 如果未指定 `delivery`,隔离任务会默认以“announce”方式投递摘要。
|
|
150
|
+
- `delivery.mode` 可选 `announce`(投递摘要)或 `none`(内部运行)。
|
|
151
|
+
|
|
152
|
+
对于嘈杂、频繁或"后台杂务"类任务,使用隔离任务可以避免污染你的主聊天记录。
|
|
153
|
+
|
|
154
|
+
### 负载结构(运行内容)
|
|
155
|
+
|
|
156
|
+
支持两种负载类型:
|
|
157
|
+
|
|
158
|
+
- `systemEvent`:仅限主会话,通过心跳提示路由。
|
|
159
|
+
- `agentTurn`:仅限隔离会话,运行专用智能体轮次。
|
|
160
|
+
|
|
161
|
+
常用 `agentTurn` 字段:
|
|
162
|
+
|
|
163
|
+
- `message`:必填文本提示。
|
|
164
|
+
- `model` / `thinking`:可选覆盖(见下文)。
|
|
165
|
+
- `timeoutSeconds`:可选超时覆盖。
|
|
166
|
+
|
|
167
|
+
### 模型和思维覆盖
|
|
168
|
+
|
|
169
|
+
隔离任务(`agentTurn`)可以覆盖模型和思维级别:
|
|
170
|
+
|
|
171
|
+
- `model`:提供商/模型字符串(例如 `anthropic/claude-sonnet-4-20250514`)或别名(例如 `opus`)
|
|
172
|
+
- `thinking`:思维级别(`off`、`minimal`、`low`、`medium`、`high`、`xhigh`;仅限 GPT-5.2 + Codex 模型)
|
|
173
|
+
|
|
174
|
+
注意:你也可以在主会话任务上设置 `model`,但这会更改共享的主会话模型。我们建议仅对隔离任务使用模型覆盖,以避免意外的上下文切换。
|
|
175
|
+
|
|
176
|
+
优先级解析顺序:
|
|
177
|
+
|
|
178
|
+
1. 任务负载覆盖(最高优先级)
|
|
179
|
+
2. 钩子特定默认值(例如 `hooks.gmail.model`)
|
|
180
|
+
3. 智能体配置默认值
|
|
181
|
+
|
|
182
|
+
### 投递(渠道 + 目标)
|
|
183
|
+
|
|
184
|
+
隔离任务可以通过顶层 `delivery` 配置投递输出:
|
|
185
|
+
|
|
186
|
+
- `delivery.mode`:`announce`(投递摘要)或 `none`
|
|
187
|
+
- `delivery.channel`:`whatsapp` / `telegram` / `discord` / `slack` / `mattermost`(插件)/ `signal` / `imessage` / `last`
|
|
188
|
+
- `delivery.to`:渠道特定的接收目标
|
|
189
|
+
- `delivery.bestEffort`:投递失败时避免任务失败
|
|
190
|
+
|
|
191
|
+
当启用 announce 投递时,该轮次会抑制消息工具发送;请使用 `delivery.channel`/`delivery.to` 来指定目标。
|
|
192
|
+
|
|
193
|
+
如果省略 `delivery.channel` 或 `delivery.to`,定时任务会回退到主会话的“最后路由”(智能体最后回复的位置)。
|
|
194
|
+
|
|
195
|
+
目标格式提醒:
|
|
196
|
+
|
|
197
|
+
- Slack/Discord/Mattermost(插件)目标应使用明确前缀(例如 `channel:<id>`、`user:<id>`)以避免歧义。
|
|
198
|
+
- Telegram 主题应使用 `:topic:` 格式(见下文)。
|
|
199
|
+
|
|
200
|
+
#### Telegram 投递目标(主题/论坛帖子)
|
|
201
|
+
|
|
202
|
+
Telegram 通过 `message_thread_id` 支持论坛主题。对于定时任务投递,你可以将主题/帖子编码到 `to` 字段中:
|
|
203
|
+
|
|
204
|
+
- `-1001234567890`(仅聊天 ID)
|
|
205
|
+
- `-1001234567890:topic:123`(推荐:明确的主题标记)
|
|
206
|
+
- `-1001234567890:123`(简写:数字后缀)
|
|
207
|
+
|
|
208
|
+
带前缀的目标如 `telegram:...` / `telegram:group:...` 也可接受:
|
|
209
|
+
|
|
210
|
+
- `telegram:group:-1001234567890:topic:123`
|
|
211
|
+
|
|
212
|
+
## 工具调用的 JSON 模式
|
|
213
|
+
|
|
214
|
+
直接调用 Gateway网关 `cron.*` 工具(智能体工具调用或 RPC)时使用这些结构。CLI 标志接受人类可读的时间格式如 `20m`,但工具调用应使用 ISO 8601 字符串作为 `schedule.at`,并使用毫秒作为 `schedule.everyMs`。
|
|
215
|
+
|
|
216
|
+
### cron.add 参数
|
|
217
|
+
|
|
218
|
+
一次性主会话任务(系统事件):
|
|
219
|
+
|
|
220
|
+
```json
|
|
221
|
+
{
|
|
222
|
+
"name": "Reminder",
|
|
223
|
+
"schedule": { "kind": "at", "at": "2026-02-01T16:00:00Z" },
|
|
224
|
+
"sessionTarget": "main",
|
|
225
|
+
"wakeMode": "now",
|
|
226
|
+
"payload": { "kind": "systemEvent", "text": "Reminder text" },
|
|
227
|
+
"deleteAfterRun": true
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
带投递的周期性隔离任务:
|
|
232
|
+
|
|
233
|
+
```json
|
|
234
|
+
{
|
|
235
|
+
"name": "Morning brief",
|
|
236
|
+
"schedule": { "kind": "cron", "expr": "0 7 * * *", "tz": "America/Los_Angeles" },
|
|
237
|
+
"sessionTarget": "isolated",
|
|
238
|
+
"wakeMode": "next-heartbeat",
|
|
239
|
+
"payload": {
|
|
240
|
+
"kind": "agentTurn",
|
|
241
|
+
"message": "Summarize overnight updates."
|
|
242
|
+
},
|
|
243
|
+
"delivery": {
|
|
244
|
+
"mode": "announce",
|
|
245
|
+
"channel": "slack",
|
|
246
|
+
"to": "channel:C1234567890",
|
|
247
|
+
"bestEffort": true
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
说明:
|
|
253
|
+
|
|
254
|
+
- `schedule.kind`:`at`(`at`)、`every`(`everyMs`)或 `cron`(`expr`,可选 `tz`)。
|
|
255
|
+
- `schedule.at` 接受 ISO 8601(可省略时区;省略时按 UTC 处理)。
|
|
256
|
+
- `everyMs` 为毫秒数。
|
|
257
|
+
- `sessionTarget` 必须为 `"main"` 或 `"isolated"`,且必须与 `payload.kind` 匹配。
|
|
258
|
+
- 可选字段:`agentId`、`description`、`enabled`、`deleteAfterRun`、`delivery`。
|
|
259
|
+
- `wakeMode` 省略时默认为 `"next-heartbeat"`。
|
|
260
|
+
|
|
261
|
+
### cron.update 参数
|
|
262
|
+
|
|
263
|
+
```json
|
|
264
|
+
{
|
|
265
|
+
"jobId": "job-123",
|
|
266
|
+
"patch": {
|
|
267
|
+
"enabled": false,
|
|
268
|
+
"schedule": { "kind": "every", "everyMs": 3600000 }
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
说明:
|
|
274
|
+
|
|
275
|
+
- `jobId` 是规范字段;`id` 可兼容使用。
|
|
276
|
+
- 在补丁中使用 `agentId: null` 可清除智能体绑定。
|
|
277
|
+
|
|
278
|
+
### cron.run 和 cron.remove 参数
|
|
279
|
+
|
|
280
|
+
```json
|
|
281
|
+
{ "jobId": "job-123", "mode": "force" }
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
```json
|
|
285
|
+
{ "jobId": "job-123" }
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## 存储与历史
|
|
289
|
+
|
|
290
|
+
- 任务存储:`~/.quantumclaw/cron/jobs.json`(Gateway网关管理的 JSON)。
|
|
291
|
+
- 运行历史:`~/.quantumclaw/cron/runs/<jobId>.jsonl`(JSONL,自动清理)。
|
|
292
|
+
- 覆盖存储路径:配置中的 `cron.store`。
|
|
293
|
+
|
|
294
|
+
## 配置
|
|
295
|
+
|
|
296
|
+
```json5
|
|
297
|
+
{
|
|
298
|
+
cron: {
|
|
299
|
+
enabled: true, // 默认 true
|
|
300
|
+
store: "~/.quantumclaw/cron/jobs.json",
|
|
301
|
+
maxConcurrentRuns: 1, // 默认 1
|
|
302
|
+
},
|
|
303
|
+
}
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
完全禁用定时任务:
|
|
307
|
+
|
|
308
|
+
- `cron.enabled: false`(配置)
|
|
309
|
+
- `QUANTUMCLAW_SKIP_CRON=1`(环境变量)
|
|
310
|
+
|
|
311
|
+
## CLI 快速开始
|
|
312
|
+
|
|
313
|
+
一次性提醒(UTC ISO,成功后自动删除):
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
quantumclaw cron add \
|
|
317
|
+
--name "Send reminder" \
|
|
318
|
+
--at "2026-01-12T18:00:00Z" \
|
|
319
|
+
--session main \
|
|
320
|
+
--system-event "Reminder: submit expense report." \
|
|
321
|
+
--wake now \
|
|
322
|
+
--delete-after-run
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
一次性提醒(主会话,立即唤醒):
|
|
326
|
+
|
|
327
|
+
```bash
|
|
328
|
+
quantumclaw cron add \
|
|
329
|
+
--name "Calendar check" \
|
|
330
|
+
--at "20m" \
|
|
331
|
+
--session main \
|
|
332
|
+
--system-event "Next heartbeat: check calendar." \
|
|
333
|
+
--wake now
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
周期性隔离任务(投递到 WhatsApp):
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
quantumclaw cron add \
|
|
340
|
+
--name "Morning status" \
|
|
341
|
+
--cron "0 7 * * *" \
|
|
342
|
+
--tz "America/Los_Angeles" \
|
|
343
|
+
--session isolated \
|
|
344
|
+
--message "Summarize inbox + calendar for today." \
|
|
345
|
+
--announce \
|
|
346
|
+
--channel whatsapp \
|
|
347
|
+
--to "+15551234567"
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
周期性隔离任务(投递到 Telegram 主题):
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
quantumclaw cron add \
|
|
354
|
+
--name "Nightly summary (topic)" \
|
|
355
|
+
--cron "0 22 * * *" \
|
|
356
|
+
--tz "America/Los_Angeles" \
|
|
357
|
+
--session isolated \
|
|
358
|
+
--message "Summarize today; send to the nightly topic." \
|
|
359
|
+
--announce \
|
|
360
|
+
--channel telegram \
|
|
361
|
+
--to "-1001234567890:topic:123"
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
带模型和思维覆盖的隔离任务:
|
|
365
|
+
|
|
366
|
+
```bash
|
|
367
|
+
quantumclaw cron add \
|
|
368
|
+
--name "Deep analysis" \
|
|
369
|
+
--cron "0 6 * * 1" \
|
|
370
|
+
--tz "America/Los_Angeles" \
|
|
371
|
+
--session isolated \
|
|
372
|
+
--message "Weekly deep analysis of project progress." \
|
|
373
|
+
--model "opus" \
|
|
374
|
+
--thinking high \
|
|
375
|
+
--announce \
|
|
376
|
+
--channel whatsapp \
|
|
377
|
+
--to "+15551234567"
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
智能体选择(多智能体配置):
|
|
381
|
+
|
|
382
|
+
```bash
|
|
383
|
+
# 将任务绑定到智能体 "ops"(如果该智能体不存在则回退到默认智能体)
|
|
384
|
+
quantumclaw cron add --name "Ops sweep" --cron "0 6 * * *" --session isolated --message "Check ops queue" --agent ops
|
|
385
|
+
|
|
386
|
+
# 切换或清除现有任务的智能体
|
|
387
|
+
quantumclaw cron edit <jobId> --agent ops
|
|
388
|
+
quantumclaw cron edit <jobId> --clear-agent
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
手动运行(调试):
|
|
392
|
+
|
|
393
|
+
```bash
|
|
394
|
+
quantumclaw cron run <jobId> --force
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
编辑现有任务(补丁字段):
|
|
398
|
+
|
|
399
|
+
```bash
|
|
400
|
+
quantumclaw cron edit <jobId> \
|
|
401
|
+
--message "Updated prompt" \
|
|
402
|
+
--model "opus" \
|
|
403
|
+
--thinking low
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
运行历史:
|
|
407
|
+
|
|
408
|
+
```bash
|
|
409
|
+
quantumclaw cron runs --id <jobId> --limit 50
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
不创建任务直接发送系统事件:
|
|
413
|
+
|
|
414
|
+
```bash
|
|
415
|
+
quantumclaw system event --mode now --text "Next heartbeat: check battery."
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
## Gateway网关 API 接口
|
|
419
|
+
|
|
420
|
+
- `cron.list`、`cron.status`、`cron.add`、`cron.update`、`cron.remove`
|
|
421
|
+
- `cron.run`(强制或到期)、`cron.runs`
|
|
422
|
+
如需不创建任务直接发送系统事件,请使用 [`quantumclaw system event`](/cli/system)。
|
|
423
|
+
|
|
424
|
+
## 故障排除
|
|
425
|
+
|
|
426
|
+
### "没有任何任务运行"
|
|
427
|
+
|
|
428
|
+
- 检查定时任务是否已启用:`cron.enabled` 和 `QUANTUMCLAW_SKIP_CRON`。
|
|
429
|
+
- 检查 Gateway网关是否持续运行(定时任务运行在 Gateway网关进程内部)。
|
|
430
|
+
- 对于 `cron` 调度:确认时区(`--tz`)与主机时区的关系。
|
|
431
|
+
|
|
432
|
+
### Telegram 投递到了错误的位置
|
|
433
|
+
|
|
434
|
+
- 对于论坛主题,使用 `-100…:topic:<id>` 以确保明确无歧义。
|
|
435
|
+
- 如果你在日志或存储的"最后路由"目标中看到 `telegram:...` 前缀,这是正常的;定时任务投递接受这些前缀并仍能正确解析主题 ID。
|