vilvona 1.0.0

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.
Files changed (812) hide show
  1. package/CHANGELOG.md +12331 -0
  2. package/LICENSE +24 -0
  3. package/README.md +314 -0
  4. package/THIRD_PARTY_NOTICES.md +37 -0
  5. package/docs/.i18n/README.md +81 -0
  6. package/docs/.i18n/ar-navigation.json +18 -0
  7. package/docs/.i18n/de-navigation.json +18 -0
  8. package/docs/.i18n/es-navigation.json +18 -0
  9. package/docs/.i18n/fr-navigation.json +18 -0
  10. package/docs/.i18n/glossary.ar.json +82 -0
  11. package/docs/.i18n/glossary.de.json +82 -0
  12. package/docs/.i18n/glossary.es.json +82 -0
  13. package/docs/.i18n/glossary.fa.json +82 -0
  14. package/docs/.i18n/glossary.fr.json +82 -0
  15. package/docs/.i18n/glossary.id.json +82 -0
  16. package/docs/.i18n/glossary.it.json +82 -0
  17. package/docs/.i18n/glossary.ja-JP.json +102 -0
  18. package/docs/.i18n/glossary.ko.json +82 -0
  19. package/docs/.i18n/glossary.nl.json +82 -0
  20. package/docs/.i18n/glossary.pl.json +82 -0
  21. package/docs/.i18n/glossary.pt-BR.json +82 -0
  22. package/docs/.i18n/glossary.th.json +82 -0
  23. package/docs/.i18n/glossary.tr.json +82 -0
  24. package/docs/.i18n/glossary.uk.json +82 -0
  25. package/docs/.i18n/glossary.vi.json +82 -0
  26. package/docs/.i18n/glossary.zh-CN.json +1182 -0
  27. package/docs/.i18n/glossary.zh-TW.json +162 -0
  28. package/docs/.i18n/id-navigation.json +18 -0
  29. package/docs/.i18n/it-navigation.json +18 -0
  30. package/docs/.i18n/ja-navigation.json +18 -0
  31. package/docs/.i18n/ko-navigation.json +18 -0
  32. package/docs/.i18n/pl-navigation.json +18 -0
  33. package/docs/.i18n/pt-BR-navigation.json +18 -0
  34. package/docs/.i18n/tr-navigation.json +18 -0
  35. package/docs/.i18n/translation-workflow.md +111 -0
  36. package/docs/.i18n/zh-Hans-navigation.json +552 -0
  37. package/docs/AGENTS.md +36 -0
  38. package/docs/agent-runtime-architecture.md +48 -0
  39. package/docs/announcements/bluebubbles-imessage.md +79 -0
  40. package/docs/auth-credential-semantics.md +124 -0
  41. package/docs/automation/auth-monitoring.md +11 -0
  42. package/docs/automation/clawflow.md +12 -0
  43. package/docs/automation/cron-jobs.md +569 -0
  44. package/docs/automation/cron-vs-heartbeat.md +11 -0
  45. package/docs/automation/gmail-pubsub.md +11 -0
  46. package/docs/automation/hooks.md +387 -0
  47. package/docs/automation/index.md +135 -0
  48. package/docs/automation/poll.md +12 -0
  49. package/docs/automation/standing-orders.md +250 -0
  50. package/docs/automation/taskflow.md +155 -0
  51. package/docs/automation/tasks.md +374 -0
  52. package/docs/automation/troubleshooting.md +12 -0
  53. package/docs/automation/webhook.md +12 -0
  54. package/docs/brave-search.md +11 -0
  55. package/docs/channels/access-groups.md +201 -0
  56. package/docs/channels/ambient-room-events.md +214 -0
  57. package/docs/channels/bot-loop-protection.md +131 -0
  58. package/docs/channels/broadcast-groups.md +472 -0
  59. package/docs/channels/channel-routing.md +162 -0
  60. package/docs/channels/clickclack.md +146 -0
  61. package/docs/channels/discord.md +1758 -0
  62. package/docs/channels/feishu.md +654 -0
  63. package/docs/channels/googlechat.md +286 -0
  64. package/docs/channels/group-messages.md +95 -0
  65. package/docs/channels/groups.md +610 -0
  66. package/docs/channels/imessage-from-bluebubbles.md +259 -0
  67. package/docs/channels/imessage.md +864 -0
  68. package/docs/channels/index.md +65 -0
  69. package/docs/channels/irc.md +253 -0
  70. package/docs/channels/line.md +243 -0
  71. package/docs/channels/location.md +71 -0
  72. package/docs/channels/matrix-migration.md +375 -0
  73. package/docs/channels/matrix-presentation.md +77 -0
  74. package/docs/channels/matrix-push-rules.md +150 -0
  75. package/docs/channels/matrix.md +935 -0
  76. package/docs/channels/mattermost.md +542 -0
  77. package/docs/channels/msteams.md +1097 -0
  78. package/docs/channels/nextcloud-talk.md +176 -0
  79. package/docs/channels/nostr.md +253 -0
  80. package/docs/channels/pairing.md +214 -0
  81. package/docs/channels/qqbot.md +317 -0
  82. package/docs/channels/signal.md +417 -0
  83. package/docs/channels/slack.md +1623 -0
  84. package/docs/channels/sms.md +380 -0
  85. package/docs/channels/synology-chat.md +187 -0
  86. package/docs/channels/telegram.md +1121 -0
  87. package/docs/channels/tlon.md +296 -0
  88. package/docs/channels/troubleshooting.md +162 -0
  89. package/docs/channels/twitch.md +431 -0
  90. package/docs/channels/wechat.md +171 -0
  91. package/docs/channels/whatsapp.md +796 -0
  92. package/docs/channels/yuanbao.md +416 -0
  93. package/docs/channels/zalo.md +253 -0
  94. package/docs/channels/zalouser.md +217 -0
  95. package/docs/ci.md +665 -0
  96. package/docs/clawhub/cli.md +82 -0
  97. package/docs/clawhub/publishing.md +96 -0
  98. package/docs/cli/acp.md +370 -0
  99. package/docs/cli/agent.md +109 -0
  100. package/docs/cli/agents.md +253 -0
  101. package/docs/cli/approvals.md +193 -0
  102. package/docs/cli/backup.md +98 -0
  103. package/docs/cli/browser.md +322 -0
  104. package/docs/cli/channels.md +154 -0
  105. package/docs/cli/clawbot.md +25 -0
  106. package/docs/cli/commitments.md +90 -0
  107. package/docs/cli/completion.md +39 -0
  108. package/docs/cli/config.md +504 -0
  109. package/docs/cli/configure.md +77 -0
  110. package/docs/cli/crestodian.md +337 -0
  111. package/docs/cli/cron.md +344 -0
  112. package/docs/cli/daemon.md +67 -0
  113. package/docs/cli/dashboard.md +33 -0
  114. package/docs/cli/devices.md +240 -0
  115. package/docs/cli/directory.md +68 -0
  116. package/docs/cli/dns.md +53 -0
  117. package/docs/cli/docs.md +63 -0
  118. package/docs/cli/doctor.md +254 -0
  119. package/docs/cli/flows.md +52 -0
  120. package/docs/cli/gateway.md +572 -0
  121. package/docs/cli/health.md +43 -0
  122. package/docs/cli/hooks.md +345 -0
  123. package/docs/cli/index.md +406 -0
  124. package/docs/cli/infer.md +364 -0
  125. package/docs/cli/logs.md +68 -0
  126. package/docs/cli/mcp.md +851 -0
  127. package/docs/cli/memory.md +183 -0
  128. package/docs/cli/message.md +317 -0
  129. package/docs/cli/migrate.md +334 -0
  130. package/docs/cli/models.md +239 -0
  131. package/docs/cli/node.md +178 -0
  132. package/docs/cli/nodes.md +76 -0
  133. package/docs/cli/onboard.md +251 -0
  134. package/docs/cli/pairing.md +77 -0
  135. package/docs/cli/path.md +511 -0
  136. package/docs/cli/plugins.md +480 -0
  137. package/docs/cli/policy.md +929 -0
  138. package/docs/cli/proxy.md +89 -0
  139. package/docs/cli/qr.md +56 -0
  140. package/docs/cli/reset.md +39 -0
  141. package/docs/cli/sandbox.md +208 -0
  142. package/docs/cli/secrets.md +202 -0
  143. package/docs/cli/security.md +135 -0
  144. package/docs/cli/sessions.md +178 -0
  145. package/docs/cli/setup.md +60 -0
  146. package/docs/cli/skills.md +156 -0
  147. package/docs/cli/status.md +45 -0
  148. package/docs/cli/system.md +89 -0
  149. package/docs/cli/tasks.md +111 -0
  150. package/docs/cli/transcripts.md +151 -0
  151. package/docs/cli/tui.md +92 -0
  152. package/docs/cli/uninstall.md +45 -0
  153. package/docs/cli/update.md +283 -0
  154. package/docs/cli/voicecall.md +204 -0
  155. package/docs/cli/webhooks.md +117 -0
  156. package/docs/cli/wiki.md +256 -0
  157. package/docs/cli/workboard.md +228 -0
  158. package/docs/concepts/active-memory.md +856 -0
  159. package/docs/concepts/agent-loop.md +185 -0
  160. package/docs/concepts/agent-runtimes.md +276 -0
  161. package/docs/concepts/agent-workspace.md +230 -0
  162. package/docs/concepts/agent.md +142 -0
  163. package/docs/concepts/architecture.md +154 -0
  164. package/docs/concepts/channel-docking.md +145 -0
  165. package/docs/concepts/commitments.md +150 -0
  166. package/docs/concepts/compaction.md +203 -0
  167. package/docs/concepts/context-engine.md +347 -0
  168. package/docs/concepts/context.md +199 -0
  169. package/docs/concepts/delegate-architecture.md +319 -0
  170. package/docs/concepts/dreaming.md +279 -0
  171. package/docs/concepts/experimental-features.md +111 -0
  172. package/docs/concepts/features.md +91 -0
  173. package/docs/concepts/mantis-slack-desktop-runbook.md +231 -0
  174. package/docs/concepts/mantis.md +744 -0
  175. package/docs/concepts/markdown-formatting.md +139 -0
  176. package/docs/concepts/memory-builtin.md +151 -0
  177. package/docs/concepts/memory-honcho.md +144 -0
  178. package/docs/concepts/memory-qmd.md +277 -0
  179. package/docs/concepts/memory-search.md +175 -0
  180. package/docs/concepts/memory.md +299 -0
  181. package/docs/concepts/message-lifecycle-refactor.md +1126 -0
  182. package/docs/concepts/messages.md +216 -0
  183. package/docs/concepts/model-failover.md +405 -0
  184. package/docs/concepts/model-providers.md +719 -0
  185. package/docs/concepts/models.md +371 -0
  186. package/docs/concepts/multi-agent.md +625 -0
  187. package/docs/concepts/oauth.md +218 -0
  188. package/docs/concepts/parallel-specialist-lanes.md +127 -0
  189. package/docs/concepts/personal-agent-benchmark-pack.md +74 -0
  190. package/docs/concepts/presence.md +117 -0
  191. package/docs/concepts/progress-drafts.md +406 -0
  192. package/docs/concepts/qa-e2e-automation.md +979 -0
  193. package/docs/concepts/qa-matrix.md +139 -0
  194. package/docs/concepts/queue-steering.md +90 -0
  195. package/docs/concepts/queue.md +136 -0
  196. package/docs/concepts/retry.md +86 -0
  197. package/docs/concepts/session-pruning.md +104 -0
  198. package/docs/concepts/session-tool.md +201 -0
  199. package/docs/concepts/session.md +164 -0
  200. package/docs/concepts/soul.md +116 -0
  201. package/docs/concepts/streaming.md +258 -0
  202. package/docs/concepts/system-prompt.md +330 -0
  203. package/docs/concepts/timezone.md +47 -0
  204. package/docs/concepts/typebox.md +309 -0
  205. package/docs/concepts/typing-indicators.md +88 -0
  206. package/docs/concepts/usage-tracking.md +72 -0
  207. package/docs/date-time.md +126 -0
  208. package/docs/debug/node-issue.md +90 -0
  209. package/docs/diagnostics/flags.md +182 -0
  210. package/docs/docs.json +1885 -0
  211. package/docs/gateway/authentication.md +286 -0
  212. package/docs/gateway/background-process.md +147 -0
  213. package/docs/gateway/bonjour.md +303 -0
  214. package/docs/gateway/bridge-protocol.md +97 -0
  215. package/docs/gateway/cli-backends.md +463 -0
  216. package/docs/gateway/config-agents.md +1525 -0
  217. package/docs/gateway/config-channels.md +942 -0
  218. package/docs/gateway/config-tools.md +806 -0
  219. package/docs/gateway/configuration-examples.md +706 -0
  220. package/docs/gateway/configuration-reference.md +1449 -0
  221. package/docs/gateway/configuration.md +748 -0
  222. package/docs/gateway/diagnostics.md +213 -0
  223. package/docs/gateway/discovery.md +154 -0
  224. package/docs/gateway/doctor.md +576 -0
  225. package/docs/gateway/external-apps.md +86 -0
  226. package/docs/gateway/gateway-lock.md +37 -0
  227. package/docs/gateway/health.md +73 -0
  228. package/docs/gateway/heartbeat.md +498 -0
  229. package/docs/gateway/index.md +385 -0
  230. package/docs/gateway/local-model-services.md +205 -0
  231. package/docs/gateway/local-models.md +355 -0
  232. package/docs/gateway/logging.md +149 -0
  233. package/docs/gateway/multiple-gateways.md +178 -0
  234. package/docs/gateway/network-model.md +15 -0
  235. package/docs/gateway/openai-http-api.md +379 -0
  236. package/docs/gateway/openresponses-http-api.md +349 -0
  237. package/docs/gateway/openshell.md +316 -0
  238. package/docs/gateway/opentelemetry.md +440 -0
  239. package/docs/gateway/operator-scopes.md +119 -0
  240. package/docs/gateway/pairing.md +207 -0
  241. package/docs/gateway/prometheus.md +249 -0
  242. package/docs/gateway/protocol.md +839 -0
  243. package/docs/gateway/remote-gateway-readme.md +169 -0
  244. package/docs/gateway/remote.md +280 -0
  245. package/docs/gateway/sandbox-vs-tool-policy-vs-elevated.md +148 -0
  246. package/docs/gateway/sandboxing.md +546 -0
  247. package/docs/gateway/secrets-plan-contract.md +159 -0
  248. package/docs/gateway/secrets.md +805 -0
  249. package/docs/gateway/security/audit-checks.md +127 -0
  250. package/docs/gateway/security/exposure-runbook.md +212 -0
  251. package/docs/gateway/security/index.md +1344 -0
  252. package/docs/gateway/security/secure-file-operations.md +76 -0
  253. package/docs/gateway/security/shrinkwrap.md +111 -0
  254. package/docs/gateway/tailscale.md +180 -0
  255. package/docs/gateway/tools-invoke-http-api.md +175 -0
  256. package/docs/gateway/troubleshooting.md +881 -0
  257. package/docs/gateway/trusted-proxy-auth.md +483 -0
  258. package/docs/help/debugging.md +341 -0
  259. package/docs/help/environment.md +240 -0
  260. package/docs/help/faq-first-run.md +872 -0
  261. package/docs/help/faq-models.md +557 -0
  262. package/docs/help/faq.md +2115 -0
  263. package/docs/help/index.md +39 -0
  264. package/docs/help/scripts.md +56 -0
  265. package/docs/help/testing-live.md +592 -0
  266. package/docs/help/testing-updates-plugins.md +299 -0
  267. package/docs/help/testing.md +977 -0
  268. package/docs/help/troubleshooting.md +500 -0
  269. package/docs/index.md +196 -0
  270. package/docs/install/ansible.md +233 -0
  271. package/docs/install/azure.md +315 -0
  272. package/docs/install/bun.md +59 -0
  273. package/docs/install/clawdock.md +112 -0
  274. package/docs/install/development-channels.md +148 -0
  275. package/docs/install/digitalocean.md +174 -0
  276. package/docs/install/docker-vm-runtime.md +154 -0
  277. package/docs/install/docker.md +564 -0
  278. package/docs/install/exe-dev.md +201 -0
  279. package/docs/install/fly.md +524 -0
  280. package/docs/install/gcp.md +418 -0
  281. package/docs/install/hetzner.md +285 -0
  282. package/docs/install/hostinger.md +98 -0
  283. package/docs/install/index.md +236 -0
  284. package/docs/install/installer.md +447 -0
  285. package/docs/install/kubernetes.md +196 -0
  286. package/docs/install/macos-vm.md +281 -0
  287. package/docs/install/migrating-claude.md +165 -0
  288. package/docs/install/migrating-hermes.md +178 -0
  289. package/docs/install/migrating.md +137 -0
  290. package/docs/install/nix.md +112 -0
  291. package/docs/install/node.md +142 -0
  292. package/docs/install/northflank.mdx +44 -0
  293. package/docs/install/oracle.md +218 -0
  294. package/docs/install/podman.md +216 -0
  295. package/docs/install/railway.mdx +92 -0
  296. package/docs/install/raspberry-pi.md +234 -0
  297. package/docs/install/render.mdx +167 -0
  298. package/docs/install/uninstall.md +140 -0
  299. package/docs/install/updating.md +284 -0
  300. package/docs/install/upstash.md +96 -0
  301. package/docs/logging.md +322 -0
  302. package/docs/maturity-scores.yaml +5361 -0
  303. package/docs/nav-tabs-underline.js +104 -0
  304. package/docs/network.md +72 -0
  305. package/docs/nodes/audio.md +216 -0
  306. package/docs/nodes/camera.md +166 -0
  307. package/docs/nodes/images.md +77 -0
  308. package/docs/nodes/index.md +444 -0
  309. package/docs/nodes/location-command.md +102 -0
  310. package/docs/nodes/media-understanding.md +495 -0
  311. package/docs/nodes/talk.md +160 -0
  312. package/docs/nodes/troubleshooting.md +123 -0
  313. package/docs/nodes/voicewake.md +93 -0
  314. package/docs/openclaw-agent-runtime.md +82 -0
  315. package/docs/perplexity.md +11 -0
  316. package/docs/plan/codex-context-engine-harness.md +624 -0
  317. package/docs/plan/ui-channels.md +284 -0
  318. package/docs/platforms/android.md +286 -0
  319. package/docs/platforms/digitalocean.md +12 -0
  320. package/docs/platforms/easyrunner.md +109 -0
  321. package/docs/platforms/index.md +65 -0
  322. package/docs/platforms/ios.md +287 -0
  323. package/docs/platforms/linux.md +141 -0
  324. package/docs/platforms/mac/bundled-gateway.md +79 -0
  325. package/docs/platforms/mac/canvas.md +128 -0
  326. package/docs/platforms/mac/child-process.md +72 -0
  327. package/docs/platforms/mac/dev-setup.md +112 -0
  328. package/docs/platforms/mac/health.md +39 -0
  329. package/docs/platforms/mac/icon.md +36 -0
  330. package/docs/platforms/mac/logging.md +62 -0
  331. package/docs/platforms/mac/menu-bar.md +93 -0
  332. package/docs/platforms/mac/peekaboo.md +96 -0
  333. package/docs/platforms/mac/permissions.md +73 -0
  334. package/docs/platforms/mac/remote.md +123 -0
  335. package/docs/platforms/mac/signing.md +52 -0
  336. package/docs/platforms/mac/skills.md +45 -0
  337. package/docs/platforms/mac/voice-overlay.md +66 -0
  338. package/docs/platforms/mac/voicewake.md +79 -0
  339. package/docs/platforms/mac/webchat.md +54 -0
  340. package/docs/platforms/mac/xpc.md +66 -0
  341. package/docs/platforms/macos.md +228 -0
  342. package/docs/platforms/oracle.md +12 -0
  343. package/docs/platforms/raspberry-pi.md +13 -0
  344. package/docs/platforms/windows.md +304 -0
  345. package/docs/plugins/adding-capabilities.md +146 -0
  346. package/docs/plugins/admin-http-rpc.md +216 -0
  347. package/docs/plugins/agent-tools.md +13 -0
  348. package/docs/plugins/architecture-internals.md +1203 -0
  349. package/docs/plugins/architecture.md +483 -0
  350. package/docs/plugins/building-extensions.md +13 -0
  351. package/docs/plugins/building-plugins.md +343 -0
  352. package/docs/plugins/bundles.md +310 -0
  353. package/docs/plugins/cli-backend-plugins.md +328 -0
  354. package/docs/plugins/codex-computer-use.md +297 -0
  355. package/docs/plugins/codex-harness-reference.md +480 -0
  356. package/docs/plugins/codex-harness-runtime.md +268 -0
  357. package/docs/plugins/codex-harness.md +800 -0
  358. package/docs/plugins/codex-native-plugins.md +280 -0
  359. package/docs/plugins/community.md +77 -0
  360. package/docs/plugins/compatibility.md +198 -0
  361. package/docs/plugins/copilot.md +355 -0
  362. package/docs/plugins/dependency-resolution.md +176 -0
  363. package/docs/plugins/google-meet.md +1737 -0
  364. package/docs/plugins/hooks.md +525 -0
  365. package/docs/plugins/install-overrides.md +80 -0
  366. package/docs/plugins/llama-cpp.md +58 -0
  367. package/docs/plugins/manage-plugins.md +214 -0
  368. package/docs/plugins/manifest.md +1468 -0
  369. package/docs/plugins/memory-lancedb.md +385 -0
  370. package/docs/plugins/memory-wiki.md +529 -0
  371. package/docs/plugins/message-presentation.md +487 -0
  372. package/docs/plugins/oc-path.md +166 -0
  373. package/docs/plugins/plugin-inventory.md +318 -0
  374. package/docs/plugins/plugin-permission-requests.md +193 -0
  375. package/docs/plugins/reference/acpx.md +23 -0
  376. package/docs/plugins/reference/admin-http-rpc.md +23 -0
  377. package/docs/plugins/reference/alibaba.md +23 -0
  378. package/docs/plugins/reference/amazon-bedrock-mantle.md +23 -0
  379. package/docs/plugins/reference/amazon-bedrock.md +23 -0
  380. package/docs/plugins/reference/anthropic-vertex.md +29 -0
  381. package/docs/plugins/reference/anthropic.md +23 -0
  382. package/docs/plugins/reference/arcee.md +23 -0
  383. package/docs/plugins/reference/azure-speech.md +23 -0
  384. package/docs/plugins/reference/bonjour.md +19 -0
  385. package/docs/plugins/reference/brave.md +23 -0
  386. package/docs/plugins/reference/browser.md +23 -0
  387. package/docs/plugins/reference/byteplus.md +19 -0
  388. package/docs/plugins/reference/canvas.md +19 -0
  389. package/docs/plugins/reference/cerebras.md +23 -0
  390. package/docs/plugins/reference/chutes.md +23 -0
  391. package/docs/plugins/reference/clickclack.md +23 -0
  392. package/docs/plugins/reference/cloudflare-ai-gateway.md +23 -0
  393. package/docs/plugins/reference/codex-supervisor.md +27 -0
  394. package/docs/plugins/reference/codex.md +23 -0
  395. package/docs/plugins/reference/comfy.md +23 -0
  396. package/docs/plugins/reference/copilot-proxy.md +19 -0
  397. package/docs/plugins/reference/copilot.md +23 -0
  398. package/docs/plugins/reference/deepgram.md +23 -0
  399. package/docs/plugins/reference/deepinfra.md +23 -0
  400. package/docs/plugins/reference/deepseek.md +23 -0
  401. package/docs/plugins/reference/diagnostics-otel.md +19 -0
  402. package/docs/plugins/reference/diagnostics-prometheus.md +19 -0
  403. package/docs/plugins/reference/diffs-language-pack.md +31 -0
  404. package/docs/plugins/reference/diffs.md +19 -0
  405. package/docs/plugins/reference/discord.md +23 -0
  406. package/docs/plugins/reference/document-extract.md +23 -0
  407. package/docs/plugins/reference/duckduckgo.md +23 -0
  408. package/docs/plugins/reference/elevenlabs.md +23 -0
  409. package/docs/plugins/reference/exa.md +23 -0
  410. package/docs/plugins/reference/fal.md +23 -0
  411. package/docs/plugins/reference/feishu.md +23 -0
  412. package/docs/plugins/reference/file-transfer.md +19 -0
  413. package/docs/plugins/reference/firecrawl.md +23 -0
  414. package/docs/plugins/reference/fireworks.md +23 -0
  415. package/docs/plugins/reference/github-copilot.md +23 -0
  416. package/docs/plugins/reference/gmi.md +23 -0
  417. package/docs/plugins/reference/google-meet.md +23 -0
  418. package/docs/plugins/reference/google.md +23 -0
  419. package/docs/plugins/reference/googlechat.md +23 -0
  420. package/docs/plugins/reference/gradium.md +23 -0
  421. package/docs/plugins/reference/groq.md +23 -0
  422. package/docs/plugins/reference/huggingface.md +23 -0
  423. package/docs/plugins/reference/imessage.md +23 -0
  424. package/docs/plugins/reference/inworld.md +23 -0
  425. package/docs/plugins/reference/irc.md +23 -0
  426. package/docs/plugins/reference/kilocode.md +23 -0
  427. package/docs/plugins/reference/kimi.md +23 -0
  428. package/docs/plugins/reference/line.md +23 -0
  429. package/docs/plugins/reference/litellm.md +23 -0
  430. package/docs/plugins/reference/llama-cpp.md +23 -0
  431. package/docs/plugins/reference/llm-task.md +19 -0
  432. package/docs/plugins/reference/lmstudio.md +23 -0
  433. package/docs/plugins/reference/lobster.md +19 -0
  434. package/docs/plugins/reference/matrix.md +23 -0
  435. package/docs/plugins/reference/mattermost.md +23 -0
  436. package/docs/plugins/reference/memory-core.md +19 -0
  437. package/docs/plugins/reference/memory-lancedb.md +23 -0
  438. package/docs/plugins/reference/memory-wiki.md +23 -0
  439. package/docs/plugins/reference/microsoft-foundry.md +113 -0
  440. package/docs/plugins/reference/microsoft.md +19 -0
  441. package/docs/plugins/reference/migrate-claude.md +19 -0
  442. package/docs/plugins/reference/migrate-hermes.md +19 -0
  443. package/docs/plugins/reference/minimax.md +23 -0
  444. package/docs/plugins/reference/mistral.md +23 -0
  445. package/docs/plugins/reference/moonshot.md +23 -0
  446. package/docs/plugins/reference/msteams.md +23 -0
  447. package/docs/plugins/reference/nextcloud-talk.md +23 -0
  448. package/docs/plugins/reference/nostr.md +23 -0
  449. package/docs/plugins/reference/novita.md +23 -0
  450. package/docs/plugins/reference/nvidia.md +23 -0
  451. package/docs/plugins/reference/oc-path.md +23 -0
  452. package/docs/plugins/reference/ollama.md +24 -0
  453. package/docs/plugins/reference/open-prose.md +19 -0
  454. package/docs/plugins/reference/openai.md +23 -0
  455. package/docs/plugins/reference/opencode-go.md +23 -0
  456. package/docs/plugins/reference/opencode.md +23 -0
  457. package/docs/plugins/reference/openrouter.md +23 -0
  458. package/docs/plugins/reference/openshell.md +19 -0
  459. package/docs/plugins/reference/perplexity.md +23 -0
  460. package/docs/plugins/reference/pixverse.md +23 -0
  461. package/docs/plugins/reference/policy.md +79 -0
  462. package/docs/plugins/reference/qa-channel.md +23 -0
  463. package/docs/plugins/reference/qa-lab.md +19 -0
  464. package/docs/plugins/reference/qa-matrix.md +19 -0
  465. package/docs/plugins/reference/qianfan.md +23 -0
  466. package/docs/plugins/reference/qqbot.md +23 -0
  467. package/docs/plugins/reference/qwen.md +24 -0
  468. package/docs/plugins/reference/runway.md +23 -0
  469. package/docs/plugins/reference/searxng.md +19 -0
  470. package/docs/plugins/reference/senseaudio.md +23 -0
  471. package/docs/plugins/reference/sglang.md +23 -0
  472. package/docs/plugins/reference/signal.md +23 -0
  473. package/docs/plugins/reference/slack.md +23 -0
  474. package/docs/plugins/reference/sms.md +23 -0
  475. package/docs/plugins/reference/stepfun.md +23 -0
  476. package/docs/plugins/reference/synology-chat.md +23 -0
  477. package/docs/plugins/reference/synthetic.md +23 -0
  478. package/docs/plugins/reference/tavily.md +23 -0
  479. package/docs/plugins/reference/telegram.md +23 -0
  480. package/docs/plugins/reference/tencent.md +23 -0
  481. package/docs/plugins/reference/tlon.md +23 -0
  482. package/docs/plugins/reference/together.md +23 -0
  483. package/docs/plugins/reference/tokenjuice.md +23 -0
  484. package/docs/plugins/reference/tts-local-cli.md +19 -0
  485. package/docs/plugins/reference/twitch.md +23 -0
  486. package/docs/plugins/reference/venice.md +23 -0
  487. package/docs/plugins/reference/vercel-ai-gateway.md +23 -0
  488. package/docs/plugins/reference/vllm.md +23 -0
  489. package/docs/plugins/reference/voice-call.md +23 -0
  490. package/docs/plugins/reference/volcengine.md +23 -0
  491. package/docs/plugins/reference/voyage.md +19 -0
  492. package/docs/plugins/reference/vydra.md +23 -0
  493. package/docs/plugins/reference/web-readability.md +19 -0
  494. package/docs/plugins/reference/webhooks.md +23 -0
  495. package/docs/plugins/reference/whatsapp.md +23 -0
  496. package/docs/plugins/reference/workboard.md +23 -0
  497. package/docs/plugins/reference/xai.md +23 -0
  498. package/docs/plugins/reference/xiaomi.md +23 -0
  499. package/docs/plugins/reference/zai.md +23 -0
  500. package/docs/plugins/reference/zalo.md +23 -0
  501. package/docs/plugins/reference/zalouser.md +24 -0
  502. package/docs/plugins/reference.md +19 -0
  503. package/docs/plugins/sdk-agent-harness.md +339 -0
  504. package/docs/plugins/sdk-channel-inbound.md +70 -0
  505. package/docs/plugins/sdk-channel-ingress.md +137 -0
  506. package/docs/plugins/sdk-channel-message.md +18 -0
  507. package/docs/plugins/sdk-channel-outbound.md +113 -0
  508. package/docs/plugins/sdk-channel-plugins.md +770 -0
  509. package/docs/plugins/sdk-channel-turn.md +9 -0
  510. package/docs/plugins/sdk-entrypoints.md +344 -0
  511. package/docs/plugins/sdk-migration.md +1011 -0
  512. package/docs/plugins/sdk-overview.md +525 -0
  513. package/docs/plugins/sdk-provider-plugins.md +1019 -0
  514. package/docs/plugins/sdk-runtime.md +683 -0
  515. package/docs/plugins/sdk-setup.md +550 -0
  516. package/docs/plugins/sdk-subpaths.md +401 -0
  517. package/docs/plugins/sdk-testing.md +403 -0
  518. package/docs/plugins/tool-plugins.md +411 -0
  519. package/docs/plugins/voice-call.md +942 -0
  520. package/docs/plugins/webhooks.md +192 -0
  521. package/docs/plugins/workboard.md +402 -0
  522. package/docs/plugins/zalouser.md +86 -0
  523. package/docs/prose.md +191 -0
  524. package/docs/providers/alibaba.md +158 -0
  525. package/docs/providers/anthropic.md +386 -0
  526. package/docs/providers/arcee.md +144 -0
  527. package/docs/providers/azure-speech.md +119 -0
  528. package/docs/providers/bedrock-mantle.md +224 -0
  529. package/docs/providers/bedrock.md +433 -0
  530. package/docs/providers/cerebras.md +130 -0
  531. package/docs/providers/chutes.md +153 -0
  532. package/docs/providers/claude-max-api-proxy.md +191 -0
  533. package/docs/providers/cloudflare-ai-gateway.md +119 -0
  534. package/docs/providers/comfy.md +362 -0
  535. package/docs/providers/deepgram.md +184 -0
  536. package/docs/providers/deepinfra.md +92 -0
  537. package/docs/providers/deepseek.md +146 -0
  538. package/docs/providers/ds4.md +309 -0
  539. package/docs/providers/elevenlabs.md +130 -0
  540. package/docs/providers/fal.md +240 -0
  541. package/docs/providers/fireworks.md +144 -0
  542. package/docs/providers/github-copilot.md +257 -0
  543. package/docs/providers/gmi.md +92 -0
  544. package/docs/providers/google.md +472 -0
  545. package/docs/providers/gradium.md +123 -0
  546. package/docs/providers/groq.md +171 -0
  547. package/docs/providers/huggingface.md +235 -0
  548. package/docs/providers/index.md +105 -0
  549. package/docs/providers/inferrs.md +272 -0
  550. package/docs/providers/inworld.md +120 -0
  551. package/docs/providers/kilocode.md +135 -0
  552. package/docs/providers/litellm.md +234 -0
  553. package/docs/providers/lmstudio.md +224 -0
  554. package/docs/providers/minimax.md +518 -0
  555. package/docs/providers/mistral.md +235 -0
  556. package/docs/providers/models.md +64 -0
  557. package/docs/providers/moonshot.md +413 -0
  558. package/docs/providers/novita.md +92 -0
  559. package/docs/providers/nvidia.md +208 -0
  560. package/docs/providers/ollama-cloud.md +115 -0
  561. package/docs/providers/ollama.md +1225 -0
  562. package/docs/providers/openai.md +1091 -0
  563. package/docs/providers/opencode-go.md +123 -0
  564. package/docs/providers/opencode.md +149 -0
  565. package/docs/providers/openrouter.md +390 -0
  566. package/docs/providers/perplexity-provider.md +123 -0
  567. package/docs/providers/pixverse.md +165 -0
  568. package/docs/providers/qianfan.md +132 -0
  569. package/docs/providers/qwen-oauth.md +115 -0
  570. package/docs/providers/qwen.md +364 -0
  571. package/docs/providers/runway.md +103 -0
  572. package/docs/providers/senseaudio.md +68 -0
  573. package/docs/providers/sglang.md +161 -0
  574. package/docs/providers/stepfun.md +229 -0
  575. package/docs/providers/synthetic.md +154 -0
  576. package/docs/providers/tencent.md +130 -0
  577. package/docs/providers/together.md +140 -0
  578. package/docs/providers/venice.md +312 -0
  579. package/docs/providers/vercel-ai-gateway.md +128 -0
  580. package/docs/providers/vllm.md +407 -0
  581. package/docs/providers/volcengine.md +199 -0
  582. package/docs/providers/vydra.md +180 -0
  583. package/docs/providers/xai.md +571 -0
  584. package/docs/providers/xiaomi.md +286 -0
  585. package/docs/providers/zai.md +224 -0
  586. package/docs/refactor/access.md +9 -0
  587. package/docs/refactor/acp.md +298 -0
  588. package/docs/refactor/canvas.md +131 -0
  589. package/docs/refactor/database-first.md +2263 -0
  590. package/docs/refactor/ingress-core.md +341 -0
  591. package/docs/reference/AGENTS.default.md +131 -0
  592. package/docs/reference/RELEASING.md +844 -0
  593. package/docs/reference/api-usage-costs.md +208 -0
  594. package/docs/reference/application-modernization-plan.md +208 -0
  595. package/docs/reference/code-mode.md +1058 -0
  596. package/docs/reference/credits.md +33 -0
  597. package/docs/reference/device-models.md +50 -0
  598. package/docs/reference/full-release-validation.md +206 -0
  599. package/docs/reference/memory-config.md +630 -0
  600. package/docs/reference/prompt-caching.md +358 -0
  601. package/docs/reference/release-performance-sweep.md +347 -0
  602. package/docs/reference/rich-output-protocol.md +93 -0
  603. package/docs/reference/rpc.md +43 -0
  604. package/docs/reference/secret-placeholder-conventions.md +33 -0
  605. package/docs/reference/secretref-credential-surface.md +163 -0
  606. package/docs/reference/secretref-user-supplied-credentials-matrix.json +691 -0
  607. package/docs/reference/session-management-compaction.md +474 -0
  608. package/docs/reference/templates/AGENTS.dev.md +90 -0
  609. package/docs/reference/templates/AGENTS.md +227 -0
  610. package/docs/reference/templates/BOOT.md +16 -0
  611. package/docs/reference/templates/BOOTSTRAP.md +66 -0
  612. package/docs/reference/templates/HEARTBEAT.md +24 -0
  613. package/docs/reference/templates/IDENTITY.dev.md +52 -0
  614. package/docs/reference/templates/IDENTITY.md +34 -0
  615. package/docs/reference/templates/SOUL.dev.md +82 -0
  616. package/docs/reference/templates/SOUL.md +49 -0
  617. package/docs/reference/templates/TOOLS.dev.md +29 -0
  618. package/docs/reference/templates/TOOLS.md +51 -0
  619. package/docs/reference/templates/USER.dev.md +23 -0
  620. package/docs/reference/templates/USER.md +28 -0
  621. package/docs/reference/test.md +248 -0
  622. package/docs/reference/token-use.md +246 -0
  623. package/docs/reference/transcript-hygiene.md +226 -0
  624. package/docs/reference/wizard.md +252 -0
  625. package/docs/security/CONTRIBUTING-THREAT-MODEL.md +101 -0
  626. package/docs/security/THREAT-MODEL-ATLAS.md +611 -0
  627. package/docs/security/formal-verification.md +170 -0
  628. package/docs/security/incident-response.md +59 -0
  629. package/docs/security/network-proxy.md +268 -0
  630. package/docs/snippets/plugin-publish/minimal-openclaw.plugin.json +12 -0
  631. package/docs/snippets/plugin-publish/minimal-package.json +16 -0
  632. package/docs/specs/claw-supervisor.md +247 -0
  633. package/docs/start/bootstrapping.md +49 -0
  634. package/docs/start/docs-directory.md +69 -0
  635. package/docs/start/getting-started.md +152 -0
  636. package/docs/start/hubs.md +201 -0
  637. package/docs/start/lore.md +223 -0
  638. package/docs/start/onboarding-overview.md +72 -0
  639. package/docs/start/onboarding.md +98 -0
  640. package/docs/start/openclaw.md +246 -0
  641. package/docs/start/quickstart.md +25 -0
  642. package/docs/start/setup.md +178 -0
  643. package/docs/start/showcase.md +371 -0
  644. package/docs/start/wizard-cli-automation.md +232 -0
  645. package/docs/start/wizard-cli-reference.md +331 -0
  646. package/docs/start/wizard.md +142 -0
  647. package/docs/style.css +137 -0
  648. package/docs/tools/acp-agents-setup.md +356 -0
  649. package/docs/tools/acp-agents.md +865 -0
  650. package/docs/tools/agent-send.md +130 -0
  651. package/docs/tools/apply-patch.md +64 -0
  652. package/docs/tools/brave-search.md +139 -0
  653. package/docs/tools/browser-control.md +405 -0
  654. package/docs/tools/browser-linux-troubleshooting.md +173 -0
  655. package/docs/tools/browser-login.md +77 -0
  656. package/docs/tools/browser-wsl2-windows-remote-cdp-troubleshooting.md +219 -0
  657. package/docs/tools/browser.md +866 -0
  658. package/docs/tools/btw.md +159 -0
  659. package/docs/tools/capability-cookbook.md +12 -0
  660. package/docs/tools/clawhub.md +5 -0
  661. package/docs/tools/code-execution.md +173 -0
  662. package/docs/tools/creating-skills.md +271 -0
  663. package/docs/tools/diffs.md +527 -0
  664. package/docs/tools/duckduckgo-search.md +109 -0
  665. package/docs/tools/elevated.md +128 -0
  666. package/docs/tools/exa-search.md +152 -0
  667. package/docs/tools/exec-approvals-advanced.md +457 -0
  668. package/docs/tools/exec-approvals.md +520 -0
  669. package/docs/tools/exec.md +294 -0
  670. package/docs/tools/firecrawl.md +155 -0
  671. package/docs/tools/gemini-search.md +114 -0
  672. package/docs/tools/goal.md +217 -0
  673. package/docs/tools/grok-search.md +129 -0
  674. package/docs/tools/image-generation.md +538 -0
  675. package/docs/tools/index.md +176 -0
  676. package/docs/tools/kimi-search.md +105 -0
  677. package/docs/tools/llm-task.md +137 -0
  678. package/docs/tools/lobster.md +365 -0
  679. package/docs/tools/loop-detection.md +154 -0
  680. package/docs/tools/media-overview.md +161 -0
  681. package/docs/tools/minimax-search.md +102 -0
  682. package/docs/tools/multi-agent-sandbox-tools.md +409 -0
  683. package/docs/tools/music-generation.md +372 -0
  684. package/docs/tools/ollama-search.md +153 -0
  685. package/docs/tools/parallel-search.md +154 -0
  686. package/docs/tools/pdf.md +213 -0
  687. package/docs/tools/permission-modes.md +111 -0
  688. package/docs/tools/perplexity-search.md +220 -0
  689. package/docs/tools/plugin.md +378 -0
  690. package/docs/tools/reactions.md +100 -0
  691. package/docs/tools/searxng-search.md +141 -0
  692. package/docs/tools/skill-workshop.md +283 -0
  693. package/docs/tools/skills-config.md +457 -0
  694. package/docs/tools/skills.md +591 -0
  695. package/docs/tools/slash-commands.md +518 -0
  696. package/docs/tools/steer.md +77 -0
  697. package/docs/tools/subagents.md +652 -0
  698. package/docs/tools/tavily.md +162 -0
  699. package/docs/tools/thinking.md +142 -0
  700. package/docs/tools/tokenjuice.md +84 -0
  701. package/docs/tools/tool-search.md +269 -0
  702. package/docs/tools/trajectory.md +229 -0
  703. package/docs/tools/tts.md +1013 -0
  704. package/docs/tools/video-generation.md +555 -0
  705. package/docs/tools/web-fetch.md +210 -0
  706. package/docs/tools/web.md +476 -0
  707. package/docs/tts.md +11 -0
  708. package/docs/vps.md +139 -0
  709. package/docs/web/control-ui.md +530 -0
  710. package/docs/web/dashboard.md +107 -0
  711. package/docs/web/index.md +133 -0
  712. package/docs/web/tui.md +258 -0
  713. package/docs/web/webchat.md +102 -0
  714. package/npm-shrinkwrap.json +3485 -0
  715. package/openclaw.mjs +661 -0
  716. package/package.json +1971 -0
  717. package/patches/.gitkeep +0 -0
  718. package/patches/@agentclientprotocol__claude-agent-acp@0.39.0.patch +40 -0
  719. package/pnpm-workspace.yaml +124 -0
  720. package/scripts/crabbox-wrapper.mjs +2470 -0
  721. package/scripts/lib/official-external-channel-catalog.json +570 -0
  722. package/scripts/lib/official-external-plugin-catalog.json +284 -0
  723. package/scripts/lib/official-external-provider-catalog.json +158 -0
  724. package/scripts/lib/package-dist-imports.mjs +174 -0
  725. package/scripts/npm-runner.mjs +95 -0
  726. package/scripts/postinstall-bundled-plugins.mjs +978 -0
  727. package/scripts/preinstall-package-manager-warning.mjs +74 -0
  728. package/scripts/prepare-git-hooks.mjs +73 -0
  729. package/scripts/windows-cmd-helpers.mjs +29 -0
  730. package/skills/1password/SKILL.md +70 -0
  731. package/skills/1password/references/cli-examples.md +29 -0
  732. package/skills/1password/references/get-started.md +17 -0
  733. package/skills/apple-notes/SKILL.md +77 -0
  734. package/skills/apple-reminders/SKILL.md +118 -0
  735. package/skills/bear-notes/SKILL.md +107 -0
  736. package/skills/blogwatcher/SKILL.md +69 -0
  737. package/skills/blucli/SKILL.md +47 -0
  738. package/skills/camsnap/SKILL.md +45 -0
  739. package/skills/canvas/SKILL.md +78 -0
  740. package/skills/clawhub/SKILL.md +77 -0
  741. package/skills/coding-agent/SKILL.md +143 -0
  742. package/skills/diagram-maker/SKILL.md +53 -0
  743. package/skills/diagram-maker/references/excalidraw-patterns.md +85 -0
  744. package/skills/diagram-maker/references/svg-template.md +112 -0
  745. package/skills/discord/SKILL.md +136 -0
  746. package/skills/eightctl/SKILL.md +50 -0
  747. package/skills/gemini/SKILL.md +47 -0
  748. package/skills/gh-issues/SKILL.md +213 -0
  749. package/skills/gifgrep/SKILL.md +85 -0
  750. package/skills/github/SKILL.md +84 -0
  751. package/skills/gog/SKILL.md +116 -0
  752. package/skills/goplaces/SKILL.md +52 -0
  753. package/skills/healthcheck/SKILL.md +105 -0
  754. package/skills/himalaya/SKILL.md +80 -0
  755. package/skills/himalaya/references/configuration.md +184 -0
  756. package/skills/himalaya/references/message-composition.md +199 -0
  757. package/skills/imsg/SKILL.md +122 -0
  758. package/skills/mcporter/SKILL.md +61 -0
  759. package/skills/meme-maker/SKILL.md +42 -0
  760. package/skills/meme-maker/references/templates.json +358 -0
  761. package/skills/meme-maker/scripts/meme.mjs +398 -0
  762. package/skills/model-usage/SKILL.md +71 -0
  763. package/skills/model-usage/references/codexbar-cli.md +33 -0
  764. package/skills/model-usage/scripts/model_usage.py +319 -0
  765. package/skills/model-usage/scripts/test_model_usage.py +40 -0
  766. package/skills/nano-pdf/SKILL.md +38 -0
  767. package/skills/node-connect/SKILL.md +143 -0
  768. package/skills/node-inspect-debugger/SKILL.md +85 -0
  769. package/skills/notion/SKILL.md +150 -0
  770. package/skills/obsidian/SKILL.md +119 -0
  771. package/skills/openai-whisper/SKILL.md +38 -0
  772. package/skills/openai-whisper-api/SKILL.md +71 -0
  773. package/skills/openai-whisper-api/scripts/transcribe.sh +154 -0
  774. package/skills/openhue/SKILL.md +112 -0
  775. package/skills/oracle/SKILL.md +126 -0
  776. package/skills/ordercli/SKILL.md +78 -0
  777. package/skills/peekaboo/SKILL.md +198 -0
  778. package/skills/pyproject.toml +10 -0
  779. package/skills/python-debugpy/SKILL.md +73 -0
  780. package/skills/sag/SKILL.md +87 -0
  781. package/skills/session-logs/SKILL.md +151 -0
  782. package/skills/sherpa-onnx-tts/SKILL.md +109 -0
  783. package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +178 -0
  784. package/skills/skill-creator/SKILL.md +78 -0
  785. package/skills/skill-creator/license.txt +202 -0
  786. package/skills/skill-creator/scripts/init_skill.py +378 -0
  787. package/skills/skill-creator/scripts/package_skill.py +144 -0
  788. package/skills/skill-creator/scripts/quick_validate.py +169 -0
  789. package/skills/skill-creator/scripts/test_package_skill.py +199 -0
  790. package/skills/skill-creator/scripts/test_quick_validate.py +116 -0
  791. package/skills/slack/SKILL.md +78 -0
  792. package/skills/songsee/SKILL.md +49 -0
  793. package/skills/sonoscli/SKILL.md +65 -0
  794. package/skills/spike/SKILL.md +51 -0
  795. package/skills/spotify-player/SKILL.md +64 -0
  796. package/skills/summarize/SKILL.md +87 -0
  797. package/skills/taskflow/SKILL.md +149 -0
  798. package/skills/taskflow/examples/inbox-triage.lobster +33 -0
  799. package/skills/taskflow/examples/pr-intake.lobster +32 -0
  800. package/skills/taskflow-inbox-triage/SKILL.md +119 -0
  801. package/skills/things-mac/SKILL.md +86 -0
  802. package/skills/tmux/SKILL.md +91 -0
  803. package/skills/tmux/scripts/find-sessions.sh +112 -0
  804. package/skills/tmux/scripts/wait-for-text.sh +83 -0
  805. package/skills/trello/SKILL.md +108 -0
  806. package/skills/video-frames/SKILL.md +46 -0
  807. package/skills/video-frames/scripts/frame.sh +81 -0
  808. package/skills/voice-call/SKILL.md +45 -0
  809. package/skills/wacli/SKILL.md +72 -0
  810. package/skills/weather/SKILL.md +87 -0
  811. package/skills/xurl/SKILL.md +120 -0
  812. package/src/agents/templates/HEARTBEAT.md +5 -0
@@ -0,0 +1,1449 @@
1
+ ---
2
+ summary: "Gateway config reference for core OpenClaw keys, defaults, and links to dedicated subsystem references"
3
+ title: "Configuration reference"
4
+ read_when:
5
+ - You need exact field-level config semantics or defaults
6
+ - You are validating channel, model, gateway, or tool config blocks
7
+ ---
8
+
9
+ Core config reference for `~/.openclaw/openclaw.json`. For a task-oriented overview, see [Configuration](/gateway/configuration).
10
+
11
+ Covers the main OpenClaw config surfaces and links out when a subsystem has its own deeper reference. Channel- and plugin-owned command catalogs and deep memory/QMD knobs live on their own pages rather than on this one.
12
+
13
+ Code truth:
14
+
15
+ - `openclaw config schema` prints the live JSON Schema used for validation and Control UI, with bundled/plugin/channel metadata merged in when available
16
+ - `config.schema.lookup` returns one path-scoped schema node for drill-down tooling
17
+ - `pnpm config:docs:check` / `pnpm config:docs:gen` validate the config-doc baseline hash against the current schema surface
18
+
19
+ Agent lookup path: use the `gateway` tool action `config.schema.lookup` for
20
+ exact field-level docs and constraints before edits. Use
21
+ [Configuration](/gateway/configuration) for task-oriented guidance and this page
22
+ for the broader field map, defaults, and links to subsystem references.
23
+
24
+ Dedicated deep references:
25
+
26
+ - [Memory configuration reference](/reference/memory-config) for `agents.defaults.memorySearch.*`, `memory.qmd.*`, `memory.citations`, and dreaming config under `plugins.entries.memory-core.config.dreaming`
27
+ - [Slash commands](/tools/slash-commands) for the current built-in + bundled command catalog
28
+ - owning channel/plugin pages for channel-specific command surfaces
29
+
30
+ Config format is **JSON5** (comments + trailing commas allowed). All fields are optional - OpenClaw uses safe defaults when omitted.
31
+
32
+ ---
33
+
34
+ ## Channels
35
+
36
+ Per-channel config keys moved to a dedicated page - see
37
+ [Configuration - channels](/gateway/config-channels) for `channels.*`,
38
+ including Slack, Discord, Telegram, WhatsApp, Matrix, iMessage, and other
39
+ bundled channels (auth, access control, multi-account, mention gating).
40
+
41
+ ## Agent defaults, multi-agent, sessions, and messages
42
+
43
+ Moved to a dedicated page - see
44
+ [Configuration - agents](/gateway/config-agents) for:
45
+
46
+ - `agents.defaults.*` (workspace, model, thinking, heartbeat, memory, media, skills, sandbox)
47
+ - `multiAgent.*` (multi-agent routing and bindings)
48
+ - `session.*` (session lifecycle, compaction, pruning)
49
+ - `messages.*` (message delivery, TTS, markdown rendering)
50
+ - `talk.*` (Talk mode)
51
+ - `talk.consultThinkingLevel`: thinking level override for the full OpenClaw agent run behind Control UI Talk realtime consults
52
+ - `talk.consultFastMode`: one-shot fast-mode override for Control UI Talk realtime consults
53
+ - `talk.speechLocale`: optional BCP 47 locale id for Talk speech recognition on iOS/macOS
54
+ - `talk.silenceTimeoutMs`: when unset, Talk keeps the platform default pause window before sending the transcript (`700 ms on macOS and Android, 900 ms on iOS`)
55
+ - `talk.realtime.consultRouting`: Gateway relay fallback for finalized realtime Talk transcripts that skip `openclaw_agent_consult`
56
+
57
+ ## Tools and custom providers
58
+
59
+ Tool policy, experimental toggles, provider-backed tool config, and custom
60
+ provider / base-URL setup moved to a dedicated page - see
61
+ [Configuration - tools and custom providers](/gateway/config-tools).
62
+
63
+ ## Models
64
+
65
+ Provider definitions, model allowlists, and custom provider setup live in
66
+ [Configuration - tools and custom providers](/gateway/config-tools#custom-providers-and-base-urls).
67
+ The `models` root also owns global model-catalog behavior.
68
+
69
+ ```json5
70
+ {
71
+ models: {
72
+ // Optional. Default: true. Requires a Gateway restart when changed.
73
+ pricing: { enabled: false },
74
+ },
75
+ }
76
+ ```
77
+
78
+ - `models.mode`: provider catalog behavior (`merge` or `replace`).
79
+ - `models.providers`: custom provider map keyed by provider id.
80
+ - `models.providers.*.localService`: optional on-demand process manager for
81
+ local model servers. OpenClaw probes the configured health endpoint, starts
82
+ the absolute `command` when needed, waits for readiness, then sends the model
83
+ request. See [Local model services](/gateway/local-model-services).
84
+ - `models.pricing.enabled`: controls the background pricing bootstrap that
85
+ starts after sidecars and channels reach the Gateway ready path. When `false`,
86
+ the Gateway skips OpenRouter and LiteLLM pricing-catalog fetches; configured
87
+ `models.providers.*.models[].cost` values still work for local cost estimates.
88
+
89
+ ## MCP
90
+
91
+ OpenClaw-managed MCP server definitions live under `mcp.servers` and are
92
+ consumed by embedded OpenClaw and other runtime adapters. The `openclaw mcp list`,
93
+ `show`, `set`, and `unset` commands manage this block without connecting to the
94
+ target server during config edits.
95
+
96
+ ```json5
97
+ {
98
+ mcp: {
99
+ // Optional. Default: 600000 ms (10 minutes). Set 0 to disable idle eviction.
100
+ sessionIdleTtlMs: 600000,
101
+ servers: {
102
+ docs: {
103
+ command: "npx",
104
+ args: ["-y", "@modelcontextprotocol/server-fetch"],
105
+ },
106
+ remote: {
107
+ url: "https://example.com/mcp",
108
+ transport: "streamable-http", // streamable-http | sse
109
+ timeout: 20,
110
+ connectTimeout: 5,
111
+ supportsParallelToolCalls: true,
112
+ headers: {
113
+ Authorization: "Bearer ${MCP_REMOTE_TOKEN}",
114
+ },
115
+ auth: "oauth",
116
+ oauth: {
117
+ scope: "docs.read",
118
+ },
119
+ sslVerify: true,
120
+ clientCert: "/path/to/client.crt",
121
+ clientKey: "/path/to/client.key",
122
+ toolFilter: {
123
+ include: ["search_*"],
124
+ exclude: ["admin_*"],
125
+ },
126
+ // Optional Codex app-server projection controls.
127
+ codex: {
128
+ agents: ["main"],
129
+ defaultToolsApprovalMode: "approve", // auto | prompt | approve
130
+ },
131
+ },
132
+ },
133
+ },
134
+ }
135
+ ```
136
+
137
+ - `mcp.servers`: named stdio or remote MCP server definitions for runtimes that
138
+ expose configured MCP tools.
139
+ Remote entries use `transport: "streamable-http"` or `transport: "sse"`;
140
+ `type: "http"` is a CLI-native alias that `openclaw mcp set` and
141
+ `openclaw doctor --fix` normalize into the canonical `transport` field.
142
+ - `mcp.servers.<name>.enabled`: set `false` to keep a saved server definition
143
+ while excluding it from embedded OpenClaw MCP discovery and tool projection.
144
+ - `mcp.servers.<name>.timeout` / `requestTimeoutMs`: per-server MCP request
145
+ timeout in seconds or milliseconds.
146
+ - `mcp.servers.<name>.connectTimeout` / `connectionTimeoutMs`: per-server
147
+ connection timeout in seconds or milliseconds.
148
+ - `mcp.servers.<name>.supportsParallelToolCalls`: optional concurrency hint for
149
+ adapters that can choose whether to issue parallel MCP tool calls.
150
+ - `mcp.servers.<name>.auth`: set `"oauth"` for HTTP MCP servers that require
151
+ OAuth. Run `openclaw mcp login <name>` to store tokens under OpenClaw state.
152
+ - `mcp.servers.<name>.oauth`: optional OAuth scope, redirect URL, and client
153
+ metadata URL overrides.
154
+ - `mcp.servers.<name>.sslVerify`, `clientCert`, `clientKey`: HTTP TLS controls
155
+ for private endpoints and mutual TLS.
156
+ - `mcp.servers.<name>.toolFilter`: optional per-server tool selection. `include`
157
+ limits the discovered MCP tools to matching names; `exclude` hides matching
158
+ names. Entries are exact MCP tool names or simple `*` globs. Servers with
159
+ resources or prompts also generate utility tool names (`resources_list`,
160
+ `resources_read`, `prompts_list`, `prompts_get`), and those names use the
161
+ same filter.
162
+ - `mcp.servers.<name>.codex`: optional Codex app-server projection controls.
163
+ This block is OpenClaw metadata for Codex app-server threads only; it does not
164
+ affect ACP sessions, generic Codex harness config, or other runtime adapters.
165
+ Non-empty `codex.agents` limits the server to the listed OpenClaw agent ids.
166
+ Empty, blank, or invalid scoped agent lists are rejected by config validation
167
+ and omitted by the runtime projection path instead of becoming global.
168
+ `codex.defaultToolsApprovalMode` emits Codex's native
169
+ `default_tools_approval_mode` for that server. OpenClaw strips the `codex`
170
+ block before passing native `mcp_servers` config to Codex. Omit the block to
171
+ keep the server projected for every Codex app-server agent with Codex's
172
+ default MCP approval behavior.
173
+ - `mcp.sessionIdleTtlMs`: idle TTL for session-scoped bundled MCP runtimes.
174
+ One-shot embedded runs request run-end cleanup; this TTL is the backstop for
175
+ long-lived sessions and future callers.
176
+ - Changes under `mcp.*` hot-apply by disposing cached session MCP runtimes.
177
+ The next tool discovery/use recreates them from the new config, so removed
178
+ `mcp.servers` entries are reaped immediately instead of waiting for idle TTL.
179
+ - Runtime discovery also honors MCP tool-list change notifications by dropping
180
+ the cached catalog for that session. Servers that advertise resources or
181
+ prompts get utility tools for listing/reading resources and listing/fetching
182
+ prompts. Repeated tool-call failures pause the affected server briefly before
183
+ another call is attempted.
184
+
185
+ See [MCP](/cli/mcp#openclaw-as-an-mcp-client-registry) and
186
+ [CLI backends](/gateway/cli-backends#bundle-mcp-overlays) for runtime behavior.
187
+
188
+ ## Skills
189
+
190
+ ```json5
191
+ {
192
+ skills: {
193
+ allowBundled: ["gemini", "peekaboo"],
194
+ load: {
195
+ extraDirs: ["~/Projects/agent-scripts/skills"],
196
+ allowSymlinkTargets: ["~/Projects/manager/skills"],
197
+ },
198
+ install: {
199
+ preferBrew: true,
200
+ nodeManager: "npm", // npm | pnpm | yarn | bun
201
+ allowUploadedArchives: false,
202
+ },
203
+ workshop: {
204
+ allowSymlinkTargetWrites: false,
205
+ },
206
+ entries: {
207
+ "image-lab": {
208
+ apiKey: { source: "env", provider: "default", id: "GEMINI_API_KEY" }, // or plaintext string
209
+ env: { GEMINI_API_KEY: "GEMINI_KEY_HERE" },
210
+ },
211
+ peekaboo: { enabled: true },
212
+ sag: { enabled: false },
213
+ },
214
+ },
215
+ }
216
+ ```
217
+
218
+ - `allowBundled`: optional allowlist for bundled skills only (managed/workspace skills unaffected).
219
+ - `load.extraDirs`: extra shared skill roots (lowest precedence).
220
+ - `load.allowSymlinkTargets`: trusted real target roots that skill symlinks may
221
+ resolve into when the link lives outside its configured source root.
222
+ - `workshop.allowSymlinkTargetWrites`: allows Skill Workshop apply to write
223
+ through already-trusted symlink targets (default: false).
224
+ - `install.preferBrew`: when true, prefer Homebrew installers when `brew` is
225
+ available before falling back to other installer kinds.
226
+ - `install.nodeManager`: node installer preference for `metadata.openclaw.install`
227
+ specs (`npm` | `pnpm` | `yarn` | `bun`).
228
+ - `install.allowUploadedArchives`: allow trusted `operator.admin` Gateway
229
+ clients to install private zip archives staged through `skills.upload.*`
230
+ (default: false). This only enables the uploaded-archive path; normal ClawHub
231
+ installs do not require it.
232
+ - `entries.<skillKey>.enabled: false` disables a skill even if bundled/installed.
233
+ - `entries.<skillKey>.apiKey`: convenience for skills declaring a primary env var (plaintext string or SecretRef object).
234
+
235
+ ---
236
+
237
+ ## Plugins
238
+
239
+ ```json5
240
+ {
241
+ plugins: {
242
+ enabled: true,
243
+ allow: ["voice-call"],
244
+ deny: [],
245
+ load: {
246
+ paths: ["~/Projects/oss/voice-call-plugin"],
247
+ },
248
+ entries: {
249
+ "voice-call": {
250
+ enabled: true,
251
+ hooks: {
252
+ allowPromptInjection: false,
253
+ },
254
+ config: { provider: "twilio" },
255
+ },
256
+ },
257
+ },
258
+ }
259
+ ```
260
+
261
+ - Loaded from package or bundle directories under `~/.openclaw/extensions` and `<workspace>/.openclaw/extensions`, plus files or directories listed in `plugins.load.paths`.
262
+ - Put standalone plugin files in `plugins.load.paths`; auto-discovered extension roots ignore top-level `.js`, `.mjs`, and `.ts` files so helper scripts in those roots do not block startup.
263
+ - Discovery accepts native OpenClaw plugins plus compatible Codex bundles and Claude bundles, including manifestless Claude default-layout bundles.
264
+ - **Config changes require a gateway restart.**
265
+ - `allow`: optional allowlist (only listed plugins load). `deny` wins.
266
+ - `plugins.entries.<id>.apiKey`: plugin-level API key convenience field (when supported by the plugin).
267
+ - `plugins.entries.<id>.env`: plugin-scoped env var map.
268
+ - `plugins.entries.<id>.hooks.allowPromptInjection`: when `false`, core blocks `before_prompt_build` and ignores prompt-mutating fields from legacy `before_agent_start`, while preserving legacy `modelOverride` and `providerOverride`. Applies to native plugin hooks and supported bundle-provided hook directories.
269
+ - `plugins.entries.<id>.hooks.allowConversationAccess`: when `true`, trusted non-bundled plugins may read raw conversation content from typed hooks such as `llm_input`, `llm_output`, `before_model_resolve`, `before_agent_reply`, `before_agent_run`, `before_agent_finalize`, and `agent_end`.
270
+ - `plugins.entries.<id>.subagent.allowModelOverride`: explicitly trust this plugin to request per-run `provider` and `model` overrides for background subagent runs.
271
+ - `plugins.entries.<id>.subagent.allowedModels`: optional allowlist of canonical `provider/model` targets for trusted subagent overrides. Use `"*"` only when you intentionally want to allow any model.
272
+ - `plugins.entries.<id>.llm.allowModelOverride`: explicitly trust this plugin to request model overrides for `api.runtime.llm.complete`.
273
+ - `plugins.entries.<id>.llm.allowedModels`: optional allowlist of canonical `provider/model` targets for trusted plugin LLM completion overrides. Use `"*"` only when you intentionally want to allow any model.
274
+ - `plugins.entries.<id>.llm.allowAgentIdOverride`: explicitly trust this plugin to run `api.runtime.llm.complete` against a non-default agent id.
275
+ - `plugins.entries.<id>.config`: plugin-defined config object (validated by native OpenClaw plugin schema when available).
276
+ - Channel plugin account/runtime settings live under `channels.<id>` and should be described by the owning plugin's manifest `channelConfigs` metadata, not by a central OpenClaw option registry.
277
+
278
+ ### Codex harness plugin config
279
+
280
+ The bundled `codex` plugin owns native Codex app-server harness settings under
281
+ `plugins.entries.codex.config`. See
282
+ [Codex harness reference](/plugins/codex-harness-reference) for the full config
283
+ surface and [Codex harness](/plugins/codex-harness) for the runtime model.
284
+
285
+ `codexPlugins` applies only to sessions that select the native Codex harness.
286
+ It does not enable Codex plugins for OpenClaw provider runs, ACP
287
+ conversation bindings, or any non-Codex harness.
288
+
289
+ ```json5
290
+ {
291
+ plugins: {
292
+ entries: {
293
+ codex: {
294
+ enabled: true,
295
+ config: {
296
+ codexPlugins: {
297
+ enabled: true,
298
+ allow_destructive_actions: true,
299
+ plugins: {
300
+ "google-calendar": {
301
+ enabled: true,
302
+ marketplaceName: "openai-curated",
303
+ pluginName: "google-calendar",
304
+ allow_destructive_actions: false,
305
+ },
306
+ },
307
+ },
308
+ },
309
+ },
310
+ },
311
+ },
312
+ }
313
+ ```
314
+
315
+ - `plugins.entries.codex.config.codexPlugins.enabled`: enables native Codex
316
+ plugin/app support for the Codex harness. Default: `false`.
317
+ - `plugins.entries.codex.config.codexPlugins.allow_destructive_actions`:
318
+ default destructive-action policy for migrated plugin app elicitations.
319
+ Default: `true`.
320
+ - `plugins.entries.codex.config.codexPlugins.plugins.<key>.enabled`: enables a
321
+ migrated plugin entry when global `codexPlugins.enabled` is also true.
322
+ Default: `true` for explicit entries.
323
+ - `plugins.entries.codex.config.codexPlugins.plugins.<key>.marketplaceName`:
324
+ stable marketplace identity. V1 only supports `"openai-curated"`.
325
+ - `plugins.entries.codex.config.codexPlugins.plugins.<key>.pluginName`: stable
326
+ Codex plugin identity from migration, for example `"google-calendar"`.
327
+ - `plugins.entries.codex.config.codexPlugins.plugins.<key>.allow_destructive_actions`:
328
+ per-plugin destructive-action override. When omitted, the global
329
+ `allow_destructive_actions` value is used.
330
+
331
+ `codexPlugins.enabled` is the global enablement directive. Explicit plugin
332
+ entries written by migration are the durable install and repair eligibility set.
333
+ `plugins["*"]` is not supported, there is no `install` switch, and local
334
+ `marketplacePath` values are intentionally not config fields because they are
335
+ host-specific.
336
+
337
+ `app/list` readiness checks are cached for one hour and refreshed
338
+ asynchronously when stale. Codex thread app config is computed at Codex harness
339
+ session establishment, not on every turn; use `/new`, `/reset`, or a gateway
340
+ restart after changing native plugin config.
341
+
342
+ - `plugins.entries.firecrawl.config.webFetch`: Firecrawl web-fetch provider settings.
343
+ - `apiKey`: Firecrawl API key (accepts SecretRef). Falls back to `plugins.entries.firecrawl.config.webSearch.apiKey`, legacy `tools.web.fetch.firecrawl.apiKey`, or `FIRECRAWL_API_KEY` env var.
344
+ - `baseUrl`: Firecrawl API base URL (default: `https://api.firecrawl.dev`; self-hosted overrides must target private/internal endpoints).
345
+ - `onlyMainContent`: extract only the main content from pages (default: `true`).
346
+ - `maxAgeMs`: maximum cache age in milliseconds (default: `172800000` / 2 days).
347
+ - `timeoutSeconds`: scrape request timeout in seconds (default: `60`).
348
+ - `plugins.entries.xai.config.xSearch`: xAI X Search (Grok web search) settings.
349
+ - `enabled`: enable the X Search provider.
350
+ - `model`: Grok model to use for search (e.g. `"grok-4-1-fast"`).
351
+ - `plugins.entries.memory-core.config.dreaming`: memory dreaming settings. See [Dreaming](/concepts/dreaming) for phases and thresholds.
352
+ - `enabled`: master dreaming switch (default `false`).
353
+ - `frequency`: cron cadence for each full dreaming sweep (`"0 3 * * *"` by default).
354
+ - `model`: optional Dream Diary subagent model override. Requires `plugins.entries.memory-core.subagent.allowModelOverride: true`; pair with `allowedModels` to restrict targets. Model-unavailable errors retry once with the session default model; trust or allowlist failures do not fall back silently.
355
+ - phase policy and thresholds are implementation details (not user-facing config keys).
356
+ - Full memory config lives in [Memory configuration reference](/reference/memory-config):
357
+ - `agents.defaults.memorySearch.*`
358
+ - `memory.backend`
359
+ - `memory.citations`
360
+ - `memory.qmd.*`
361
+ - `plugins.entries.memory-core.config.dreaming`
362
+ - Enabled Claude bundle plugins can also contribute embedded OpenClaw defaults from `settings.json`; OpenClaw applies those as sanitized agent settings, not as raw OpenClaw config patches.
363
+ - `plugins.slots.memory`: pick the active memory plugin id, or `"none"` to disable memory plugins.
364
+ - `plugins.slots.contextEngine`: pick the active context engine plugin id; defaults to `"legacy"` unless you install and select another engine.
365
+
366
+ See [Plugins](/tools/plugin).
367
+
368
+ ---
369
+
370
+ ## Commitments
371
+
372
+ `commitments` controls inferred follow-up memory: OpenClaw can detect check-ins from conversation turns and deliver them through heartbeat runs.
373
+
374
+ - `commitments.enabled`: enable hidden LLM extraction, storage, and heartbeat delivery for inferred follow-up commitments. Default: `false`.
375
+ - `commitments.maxPerDay`: maximum inferred follow-up commitments delivered per agent session in a rolling day. Default: `3`.
376
+
377
+ See [Inferred commitments](/concepts/commitments).
378
+
379
+ ---
380
+
381
+ ## Browser
382
+
383
+ ```json5
384
+ {
385
+ browser: {
386
+ enabled: true,
387
+ evaluateEnabled: true,
388
+ defaultProfile: "user",
389
+ ssrfPolicy: {
390
+ // dangerouslyAllowPrivateNetwork: true, // opt in only for trusted private-network access
391
+ // allowPrivateNetwork: true, // legacy alias
392
+ // hostnameAllowlist: ["*.example.com", "example.com"],
393
+ // allowedHostnames: ["localhost"],
394
+ },
395
+ tabCleanup: {
396
+ enabled: true,
397
+ idleMinutes: 120,
398
+ maxTabsPerSession: 8,
399
+ sweepMinutes: 5,
400
+ },
401
+ profiles: {
402
+ openclaw: { cdpPort: 18800, color: "#FF4500" },
403
+ work: {
404
+ cdpPort: 18801,
405
+ color: "#0066CC",
406
+ executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
407
+ },
408
+ user: { driver: "existing-session", attachOnly: true, color: "#00AA00" },
409
+ brave: {
410
+ driver: "existing-session",
411
+ attachOnly: true,
412
+ userDataDir: "~/Library/Application Support/BraveSoftware/Brave-Browser",
413
+ color: "#FB542B",
414
+ },
415
+ remote: { cdpUrl: "http://10.0.0.42:9222", color: "#00AA00" },
416
+ },
417
+ color: "#FF4500",
418
+ // headless: false,
419
+ // noSandbox: false,
420
+ // extraArgs: [],
421
+ // executablePath: "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser",
422
+ // attachOnly: false,
423
+ },
424
+ }
425
+ ```
426
+
427
+ - `evaluateEnabled: false` disables `act:evaluate` and `wait --fn`.
428
+ - `tabCleanup` reclaims tracked primary-agent tabs after idle time or when a
429
+ session exceeds its cap. Set `idleMinutes: 0` or `maxTabsPerSession: 0` to
430
+ disable those individual cleanup modes.
431
+ - `ssrfPolicy.dangerouslyAllowPrivateNetwork` is disabled when unset, so browser navigation stays strict by default.
432
+ - Set `ssrfPolicy.dangerouslyAllowPrivateNetwork: true` only when you intentionally trust private-network browser navigation.
433
+ - In strict mode, remote CDP profile endpoints (`profiles.*.cdpUrl`) are subject to the same private-network blocking during reachability/discovery checks.
434
+ - `ssrfPolicy.allowPrivateNetwork` remains supported as a legacy alias.
435
+ - In strict mode, use `ssrfPolicy.hostnameAllowlist` and `ssrfPolicy.allowedHostnames` for explicit exceptions.
436
+ - Remote profiles are attach-only (start/stop/reset disabled).
437
+ - `profiles.*.cdpUrl` accepts `http://`, `https://`, `ws://`, and `wss://`.
438
+ Use HTTP(S) when you want OpenClaw to discover `/json/version`; use WS(S)
439
+ when your provider gives you a direct DevTools WebSocket URL.
440
+ - `remoteCdpTimeoutMs` and `remoteCdpHandshakeTimeoutMs` apply to remote and
441
+ `attachOnly` CDP reachability plus tab-opening requests. Managed loopback
442
+ profiles keep local CDP defaults.
443
+ - If an externally managed CDP service is reachable through loopback, set that
444
+ profile's `attachOnly: true`; otherwise OpenClaw treats the loopback port as a
445
+ local managed browser profile and may report local port ownership errors.
446
+ - `existing-session` profiles use Chrome MCP instead of CDP and can attach on
447
+ the selected host or through a connected browser node.
448
+ - `existing-session` profiles can set `userDataDir` to target a specific
449
+ Chromium-based browser profile such as Brave or Edge.
450
+ - `existing-session` profiles can set `cdpUrl` when Chrome is already running
451
+ behind a DevTools HTTP(S) discovery endpoint or direct WS(S) endpoint. In that
452
+ mode OpenClaw passes the endpoint to Chrome MCP instead of using auto-connect;
453
+ `userDataDir` is ignored for Chrome MCP launch arguments.
454
+ - `existing-session` profiles keep the current Chrome MCP route limits:
455
+ snapshot/ref-driven actions instead of CSS-selector targeting, one-file upload
456
+ hooks, no dialog timeout overrides, no `wait --load networkidle`, and no
457
+ `responsebody`, PDF export, download interception, or batch actions.
458
+ - Local managed `openclaw` profiles auto-assign `cdpPort` and `cdpUrl`; set
459
+ `cdpUrl` explicitly only for remote CDP profiles or existing-session endpoint
460
+ attach.
461
+ - Local managed profiles can set `executablePath` to override the global
462
+ `browser.executablePath` for that profile. Use this to run one profile in
463
+ Chrome and another in Brave.
464
+ - Local managed profiles use `browser.localLaunchTimeoutMs` for Chrome CDP HTTP
465
+ discovery after process start and `browser.localCdpReadyTimeoutMs` for
466
+ post-launch CDP websocket readiness. Raise them on slower hosts where Chrome
467
+ starts successfully but readiness checks race startup. Both values must be
468
+ positive integers up to `120000` ms; invalid config values are rejected.
469
+ - Auto-detect order: default browser if Chromium-based → Chrome → Brave → Edge → Chromium → Chrome Canary.
470
+ - `browser.executablePath` and `browser.profiles.<name>.executablePath` both
471
+ accept `~` and `~/...` for your OS home directory before Chromium launch.
472
+ Per-profile `userDataDir` on `existing-session` profiles is also tilde-expanded.
473
+ - Control service: loopback only (port derived from `gateway.port`, default `18791`).
474
+ - `extraArgs` appends extra launch flags to local Chromium startup (for example
475
+ `--disable-gpu`, window sizing, or debug flags).
476
+
477
+ ---
478
+
479
+ ## UI
480
+
481
+ ```json5
482
+ {
483
+ ui: {
484
+ seamColor: "#FF4500",
485
+ assistant: {
486
+ name: "OpenClaw",
487
+ avatar: "CB", // emoji, short text, image URL, or data URI
488
+ },
489
+ },
490
+ }
491
+ ```
492
+
493
+ - `seamColor`: accent color for native app UI chrome (Talk Mode bubble tint, etc.).
494
+ - `assistant`: Control UI identity override. Falls back to active agent identity.
495
+
496
+ ---
497
+
498
+ ## Gateway
499
+
500
+ ```json5
501
+ {
502
+ gateway: {
503
+ mode: "local", // local | remote
504
+ port: 18789,
505
+ bind: "loopback",
506
+ auth: {
507
+ mode: "token", // none | token | password | trusted-proxy
508
+ token: "your-token",
509
+ // password: "your-password", // or OPENCLAW_GATEWAY_PASSWORD
510
+ // trustedProxy: { userHeader: "x-forwarded-user" }, // for mode=trusted-proxy; see /gateway/trusted-proxy-auth
511
+ allowTailscale: true,
512
+ rateLimit: {
513
+ maxAttempts: 10,
514
+ windowMs: 60000,
515
+ lockoutMs: 300000,
516
+ exemptLoopback: true,
517
+ },
518
+ },
519
+ tailscale: {
520
+ mode: "off", // off | serve | funnel
521
+ resetOnExit: false,
522
+ },
523
+ controlUi: {
524
+ enabled: true,
525
+ basePath: "/openclaw",
526
+ // root: "dist/control-ui",
527
+ // embedSandbox: "scripts", // strict | scripts | trusted
528
+ // allowExternalEmbedUrls: false, // dangerous: allow absolute external http(s) embed URLs
529
+ // chatMessageMaxWidth: "min(1280px, 82%)", // optional grouped chat message max-width
530
+ // allowedOrigins: ["https://control.example.com"], // required for non-loopback Control UI
531
+ // dangerouslyAllowHostHeaderOriginFallback: false, // dangerous Host-header origin fallback mode
532
+ // allowInsecureAuth: false,
533
+ // dangerouslyDisableDeviceAuth: false,
534
+ },
535
+ remote: {
536
+ url: "ws://127.0.0.1:18789",
537
+ transport: "ssh", // ssh | direct
538
+ token: "your-token",
539
+ // password: "your-password",
540
+ },
541
+ trustedProxies: ["10.0.0.1"],
542
+ // Optional. Default false.
543
+ allowRealIpFallback: false,
544
+ nodes: {
545
+ pairing: {
546
+ // Optional. Default unset/disabled.
547
+ autoApproveCidrs: ["192.168.1.0/24", "fd00:1234:5678::/64"],
548
+ },
549
+ allowCommands: ["canvas.navigate"],
550
+ denyCommands: ["system.run"],
551
+ },
552
+ tools: {
553
+ // Additional /tools/invoke HTTP denies
554
+ deny: ["browser"],
555
+ // Remove tools from the default HTTP deny list for owner/admin callers
556
+ allow: ["gateway"],
557
+ },
558
+ push: {
559
+ apns: {
560
+ relay: {
561
+ baseUrl: "https://relay.example.com",
562
+ timeoutMs: 10000,
563
+ },
564
+ },
565
+ },
566
+ },
567
+ }
568
+ ```
569
+
570
+ <Accordion title="Gateway field details">
571
+
572
+ - `mode`: `local` (run gateway) or `remote` (connect to remote gateway). Gateway refuses to start unless `local`.
573
+ - `port`: single multiplexed port for WS + HTTP. Precedence: `--port` > `OPENCLAW_GATEWAY_PORT` > `gateway.port` > `18789`.
574
+ - `bind`: `auto`, `loopback` (default), `lan` (`0.0.0.0`), `tailnet` (Tailscale IP only), or `custom`.
575
+ - **Legacy bind aliases**: use bind mode values in `gateway.bind` (`auto`, `loopback`, `lan`, `tailnet`, `custom`), not host aliases (`0.0.0.0`, `127.0.0.1`, `localhost`, `::`, `::1`).
576
+ - **Docker note**: the default `loopback` bind listens on `127.0.0.1` inside the container. With Docker bridge networking (`-p 18789:18789`), traffic arrives on `eth0`, so the gateway is unreachable. Use `--network host`, or set `bind: "lan"` (or `bind: "custom"` with `customBindHost: "0.0.0.0"`) to listen on all interfaces.
577
+ - **Auth**: required by default. Non-loopback binds require gateway auth. In practice that means a shared token/password or an identity-aware reverse proxy with `gateway.auth.mode: "trusted-proxy"`. Onboarding wizard generates a token by default.
578
+ - If both `gateway.auth.token` and `gateway.auth.password` are configured (including SecretRefs), set `gateway.auth.mode` explicitly to `token` or `password`. Startup and service install/repair flows fail when both are configured and mode is unset.
579
+ - `gateway.auth.mode: "none"`: explicit no-auth mode. Use only for trusted local loopback setups; this is intentionally not offered by onboarding prompts.
580
+ - `gateway.auth.mode: "trusted-proxy"`: delegate browser/user auth to an identity-aware reverse proxy and trust identity headers from `gateway.trustedProxies` (see [Trusted Proxy Auth](/gateway/trusted-proxy-auth)). This mode expects a **non-loopback** proxy source by default; same-host loopback reverse proxies require explicit `gateway.auth.trustedProxy.allowLoopback = true`. Internal same-host callers can use `gateway.auth.password` as a local direct fallback; `gateway.auth.token` remains mutually exclusive with trusted-proxy mode.
581
+ - `gateway.auth.allowTailscale`: when `true`, Tailscale Serve identity headers can satisfy Control UI/WebSocket auth (verified via `tailscale whois`). HTTP API endpoints do **not** use that Tailscale header auth; they follow the gateway's normal HTTP auth mode instead. This tokenless flow assumes the gateway host is trusted. Defaults to `true` when `tailscale.mode = "serve"`.
582
+ - `gateway.auth.rateLimit`: optional failed-auth limiter. Applies per client IP and per auth scope (shared-secret and device-token are tracked independently). Blocked attempts return `429` + `Retry-After`.
583
+ - On the async Tailscale Serve Control UI path, failed attempts for the same `{scope, clientIp}` are serialized before the failure write. Concurrent bad attempts from the same client can therefore trip the limiter on the second request instead of both racing through as plain mismatches.
584
+ - `gateway.auth.rateLimit.exemptLoopback` defaults to `true`; set `false` when you intentionally want localhost traffic rate-limited too (for test setups or strict proxy deployments).
585
+ - Browser-origin WS auth attempts are always throttled with loopback exemption disabled (defense-in-depth against browser-based localhost brute force).
586
+ - On loopback, those browser-origin lockouts are isolated per normalized `Origin`
587
+ value, so repeated failures from one localhost origin do not automatically
588
+ lock out a different origin.
589
+ - `tailscale.mode`: `serve` (tailnet only, loopback bind) or `funnel` (public, requires auth).
590
+ - `tailscale.serviceName`: optional Tailscale Service name for Serve mode, such
591
+ as `svc:openclaw`. When set, OpenClaw passes it to `tailscale serve
592
+ --service` so the Control UI can be exposed through a named Service instead
593
+ of the device hostname. The value must use Tailscale's `svc:<dns-label>`
594
+ Service name format; startup reports the derived Service URL.
595
+ - `tailscale.preserveFunnel`: when `true` and `tailscale.mode = "serve"`, OpenClaw
596
+ checks `tailscale funnel status` before re-applying Serve at startup and skips
597
+ it if an externally configured Funnel route already covers the gateway port.
598
+ Default `false`.
599
+ - `controlUi.allowedOrigins`: explicit browser-origin allowlist for Gateway WebSocket connects. Required for public non-loopback browser origins. Private same-origin LAN/Tailnet UI loads from loopback, RFC1918/link-local, `.local`, `.ts.net`, or Tailscale CGNAT hosts are accepted without enabling Host-header fallback.
600
+ - `controlUi.chatMessageMaxWidth`: optional max-width for grouped Control UI chat messages. Accepts constrained CSS width values such as `960px`, `82%`, `min(1280px, 82%)`, and `calc(100% - 2rem)`.
601
+ - `controlUi.dangerouslyAllowHostHeaderOriginFallback`: dangerous mode that enables Host-header origin fallback for deployments that intentionally rely on Host-header origin policy.
602
+ - `remote.transport`: `ssh` (default) or `direct` (ws/wss). For `direct`, `remote.url` must be `wss://` for public hosts; plaintext `ws://` is accepted only for loopback, LAN, link-local, `.local`, `.ts.net`, and Tailscale CGNAT hosts.
603
+ - `remote.remotePort`: gateway port on the remote SSH host. Defaults to `18789`; use this when the local tunnel port differs from the remote gateway port.
604
+ - `gateway.remote.token` / `.password` are remote-client credential fields. They do not configure gateway auth by themselves.
605
+ - `gateway.push.apns.relay.baseUrl`: base HTTPS URL for the external APNs relay used by official/TestFlight iOS builds after they publish relay-backed registrations to the gateway. This URL must match the relay URL compiled into the iOS build.
606
+ - `gateway.push.apns.relay.timeoutMs`: gateway-to-relay send timeout in milliseconds. Defaults to `10000`.
607
+ - Relay-backed registrations are delegated to a specific gateway identity. The paired iOS app fetches `gateway.identity.get`, includes that identity in the relay registration, and forwards a registration-scoped send grant to the gateway. Another gateway cannot reuse that stored registration.
608
+ - `OPENCLAW_APNS_RELAY_BASE_URL` / `OPENCLAW_APNS_RELAY_TIMEOUT_MS`: temporary env overrides for the relay config above.
609
+ - `OPENCLAW_APNS_RELAY_ALLOW_HTTP=true`: development-only escape hatch for loopback HTTP relay URLs. Production relay URLs should stay on HTTPS.
610
+ - `gateway.handshakeTimeoutMs`: pre-auth Gateway WebSocket handshake timeout in milliseconds. Default: `15000`. `OPENCLAW_HANDSHAKE_TIMEOUT_MS` takes precedence when set. Increase this on loaded or low-powered hosts where local clients can connect while startup warmup is still settling.
611
+ - `gateway.channelHealthCheckMinutes`: channel health-monitor interval in minutes. Set `0` to disable health-monitor restarts globally. Default: `5`.
612
+ - `gateway.channelStaleEventThresholdMinutes`: stale-socket threshold in minutes. Keep this greater than or equal to `gateway.channelHealthCheckMinutes`. Default: `30`.
613
+ - `gateway.channelMaxRestartsPerHour`: maximum health-monitor restarts per channel/account in a rolling hour. Default: `10`.
614
+ - `channels.<provider>.healthMonitor.enabled`: per-channel opt-out for health-monitor restarts while keeping the global monitor enabled.
615
+ - `channels.<provider>.accounts.<accountId>.healthMonitor.enabled`: per-account override for multi-account channels. When set, it takes precedence over the channel-level override.
616
+ - Local gateway call paths can use `gateway.remote.*` as fallback only when `gateway.auth.*` is unset.
617
+ - If `gateway.auth.token` / `gateway.auth.password` is explicitly configured via SecretRef and unresolved, resolution fails closed (no remote fallback masking).
618
+ - `trustedProxies`: reverse proxy IPs that terminate TLS or inject forwarded-client headers. Only list proxies you control. Loopback entries are still valid for same-host proxy/local-detection setups (for example Tailscale Serve or a local reverse proxy), but they do **not** make loopback requests eligible for `gateway.auth.mode: "trusted-proxy"`.
619
+ - `allowRealIpFallback`: when `true`, the gateway accepts `X-Real-IP` if `X-Forwarded-For` is missing. Default `false` for fail-closed behavior.
620
+ - `gateway.nodes.pairing.autoApproveCidrs`: optional CIDR/IP allowlist for auto-approving first-time node device pairing with no requested scopes. It is disabled when unset. This does not auto-approve operator/browser/Control UI/WebChat pairing, and it does not auto-approve role, scope, metadata, or public-key upgrades.
621
+ - `gateway.nodes.allowCommands` / `gateway.nodes.denyCommands`: global allow/deny shaping for declared node commands after pairing and platform allowlist evaluation. Use `allowCommands` to opt into dangerous node commands such as `camera.snap`, `camera.clip`, and `screen.record`; `denyCommands` removes a command even if a platform default or explicit allow would otherwise include it. After a node changes its declared command list, reject and re-approve that device pairing so the gateway stores the updated command snapshot.
622
+ - `gateway.tools.deny`: extra tool names blocked for HTTP `POST /tools/invoke` (extends default deny list).
623
+ - `gateway.tools.allow`: remove tool names from the default HTTP deny list for
624
+ owner/admin callers. This does not upgrade identity-bearing `operator.write`
625
+ callers into owner/admin access; `cron`, `gateway`, and `nodes` remain
626
+ unavailable to non-owner callers even when allowlisted.
627
+
628
+ </Accordion>
629
+
630
+ ### OpenAI-compatible endpoints
631
+
632
+ - Admin HTTP RPC: off by default as the `admin-http-rpc` plugin. Enable the plugin to register `POST /api/v1/admin/rpc`. See [Admin HTTP RPC](/plugins/admin-http-rpc).
633
+ - Chat Completions: disabled by default. Enable with `gateway.http.endpoints.chatCompletions.enabled: true`.
634
+ - Responses API: `gateway.http.endpoints.responses.enabled`.
635
+ - Responses URL-input hardening:
636
+ - `gateway.http.endpoints.responses.maxUrlParts`
637
+ - `gateway.http.endpoints.responses.files.urlAllowlist`
638
+ - `gateway.http.endpoints.responses.images.urlAllowlist`
639
+ Empty allowlists are treated as unset; use `gateway.http.endpoints.responses.files.allowUrl=false`
640
+ and/or `gateway.http.endpoints.responses.images.allowUrl=false` to disable URL fetching.
641
+ - Optional response hardening header:
642
+ - `gateway.http.securityHeaders.strictTransportSecurity` (set only for HTTPS origins you control; see [Trusted Proxy Auth](/gateway/trusted-proxy-auth#tls-termination-and-hsts))
643
+
644
+ ### Multi-instance isolation
645
+
646
+ Run multiple gateways on one host with unique ports and state dirs:
647
+
648
+ ```bash
649
+ OPENCLAW_CONFIG_PATH=~/.openclaw/a.json \
650
+ OPENCLAW_STATE_DIR=~/.openclaw-a \
651
+ openclaw gateway --port 19001
652
+ ```
653
+
654
+ Convenience flags: `--dev` (uses `~/.openclaw-dev` + port `19001`), `--profile <name>` (uses `~/.openclaw-<name>`).
655
+
656
+ See [Multiple Gateways](/gateway/multiple-gateways).
657
+
658
+ ### `gateway.tls`
659
+
660
+ ```json5
661
+ {
662
+ gateway: {
663
+ tls: {
664
+ enabled: false,
665
+ autoGenerate: false,
666
+ certPath: "/etc/openclaw/tls/server.crt",
667
+ keyPath: "/etc/openclaw/tls/server.key",
668
+ caPath: "/etc/openclaw/tls/ca-bundle.crt",
669
+ },
670
+ },
671
+ }
672
+ ```
673
+
674
+ - `enabled`: enables TLS termination at the gateway listener (HTTPS/WSS) (default: `false`).
675
+ - `autoGenerate`: auto-generates a local self-signed cert/key pair when explicit files are not configured; for local/dev use only.
676
+ - `certPath`: filesystem path to the TLS certificate file.
677
+ - `keyPath`: filesystem path to the TLS private key file; keep permission-restricted.
678
+ - `caPath`: optional CA bundle path for client verification or custom trust chains.
679
+
680
+ ### `gateway.reload`
681
+
682
+ ```json5
683
+ {
684
+ gateway: {
685
+ reload: {
686
+ mode: "hybrid", // off | restart | hot | hybrid
687
+ debounceMs: 500,
688
+ deferralTimeoutMs: 300000,
689
+ },
690
+ },
691
+ }
692
+ ```
693
+
694
+ - `mode`: controls how config edits are applied at runtime.
695
+ - `"off"`: ignore live edits; changes require an explicit restart.
696
+ - `"restart"`: always restart the gateway process on config change.
697
+ - `"hot"`: apply changes in-process without restarting.
698
+ - `"hybrid"` (default): try hot reload first; fall back to restart if required.
699
+ - `debounceMs`: debounce window in ms before config changes are applied (non-negative integer).
700
+ - `deferralTimeoutMs`: optional maximum time in ms to wait for in-flight operations before forcing a restart or channel hot reload. Omit it to use the default bounded wait (`300000`); set `0` to wait indefinitely and log periodic still-pending warnings.
701
+
702
+ ---
703
+
704
+ ## Hooks
705
+
706
+ ```json5
707
+ {
708
+ hooks: {
709
+ enabled: true,
710
+ token: "shared-secret",
711
+ path: "/hooks",
712
+ maxBodyBytes: 262144,
713
+ defaultSessionKey: "hook:ingress",
714
+ allowRequestSessionKey: true,
715
+ allowedSessionKeyPrefixes: ["hook:", "hook:gmail:"],
716
+ allowedAgentIds: ["hooks", "main"],
717
+ presets: ["gmail"],
718
+ transformsDir: "~/.openclaw/hooks/transforms",
719
+ mappings: [
720
+ {
721
+ match: { path: "gmail" },
722
+ action: "agent",
723
+ agentId: "hooks",
724
+ wakeMode: "now",
725
+ name: "Gmail",
726
+ sessionKey: "hook:gmail:{{messages[0].id}}",
727
+ messageTemplate: "From: {{messages[0].from}}\nSubject: {{messages[0].subject}}\n{{messages[0].snippet}}",
728
+ deliver: true,
729
+ channel: "last",
730
+ model: "openai/gpt-5.4-mini",
731
+ },
732
+ ],
733
+ },
734
+ }
735
+ ```
736
+
737
+ Auth: `Authorization: Bearer <token>` or `x-openclaw-token: <token>`.
738
+ Query-string hook tokens are rejected.
739
+
740
+ Validation and safety notes:
741
+
742
+ - `hooks.enabled=true` requires a non-empty `hooks.token`.
743
+ - `hooks.token` should be distinct from active Gateway shared-secret auth (`gateway.auth.token` / `OPENCLAW_GATEWAY_TOKEN` or `gateway.auth.password` / `OPENCLAW_GATEWAY_PASSWORD`); startup logs a non-fatal security warning when it detects reuse.
744
+ - `openclaw security audit` flags hook/Gateway auth reuse as a critical finding, including Gateway password auth supplied only at audit time (`--auth password --password <password>`). Run `openclaw doctor --fix` to rotate a persisted reused `hooks.token`, then update external hook senders to use the new hook token.
745
+ - `hooks.path` cannot be `/`; use a dedicated subpath such as `/hooks`.
746
+ - If `hooks.allowRequestSessionKey=true`, constrain `hooks.allowedSessionKeyPrefixes` (for example `["hook:"]`).
747
+ - If a mapping or preset uses a templated `sessionKey`, set `hooks.allowedSessionKeyPrefixes` and `hooks.allowRequestSessionKey=true`. Static mapping keys do not require that opt-in.
748
+
749
+ **Endpoints:**
750
+
751
+ - `POST /hooks/wake` → `{ text, mode?: "now"|"next-heartbeat" }`
752
+ - `POST /hooks/agent` → `{ message, name?, agentId?, sessionKey?, wakeMode?, deliver?, channel?, to?, model?, thinking?, timeoutSeconds? }`
753
+ - `sessionKey` from request payload is accepted only when `hooks.allowRequestSessionKey=true` (default: `false`).
754
+ - `POST /hooks/<name>` → resolved via `hooks.mappings`
755
+ - Template-rendered mapping `sessionKey` values are treated as externally supplied and also require `hooks.allowRequestSessionKey=true`.
756
+
757
+ <Accordion title="Mapping details">
758
+
759
+ - `match.path` matches sub-path after `/hooks` (e.g. `/hooks/gmail` → `gmail`).
760
+ - `match.source` matches a payload field for generic paths.
761
+ - Templates like `{{messages[0].subject}}` read from the payload.
762
+ - `transform` can point to a JS/TS module returning a hook action.
763
+ - `transform.module` must be a relative path and stays within `hooks.transformsDir` (absolute paths and traversal are rejected).
764
+ - Keep `hooks.transformsDir` under `~/.openclaw/hooks/transforms`; workspace skill directories are rejected. If `openclaw doctor` reports this path as invalid, move the transform module into the hooks transforms directory or remove `hooks.transformsDir`.
765
+ - `agentId` routes to a specific agent; unknown IDs fall back to the default agent.
766
+ - `allowedAgentIds`: restricts effective agent routing, including the default-agent path when `agentId` is omitted (`*` or omitted = allow all, `[]` = deny all).
767
+ - `defaultSessionKey`: optional fixed session key for hook agent runs without explicit `sessionKey`.
768
+ - `allowRequestSessionKey`: allow `/hooks/agent` callers and template-driven mapping session keys to set `sessionKey` (default: `false`).
769
+ - `allowedSessionKeyPrefixes`: optional prefix allowlist for explicit `sessionKey` values (request + mapping), e.g. `["hook:"]`. It becomes required when any mapping or preset uses a templated `sessionKey`.
770
+ - `deliver: true` sends final reply to a channel; `channel` defaults to `last`.
771
+ - `model` overrides LLM for this hook run (must be allowed if model catalog is set).
772
+
773
+ </Accordion>
774
+
775
+ ### Gmail integration
776
+
777
+ - The built-in Gmail preset uses `sessionKey: "hook:gmail:{{messages[0].id}}"`.
778
+ - If you keep that per-message routing, set `hooks.allowRequestSessionKey: true` and constrain `hooks.allowedSessionKeyPrefixes` to match the Gmail namespace, for example `["hook:", "hook:gmail:"]`.
779
+ - If you need `hooks.allowRequestSessionKey: false`, override the preset with a static `sessionKey` instead of the templated default.
780
+
781
+ ```json5
782
+ {
783
+ hooks: {
784
+ gmail: {
785
+ account: "openclaw@gmail.com",
786
+ topic: "projects/<project-id>/topics/gog-gmail-watch",
787
+ subscription: "gog-gmail-watch-push",
788
+ pushToken: "shared-push-token",
789
+ hookUrl: "http://127.0.0.1:18789/hooks/gmail",
790
+ includeBody: true,
791
+ maxBytes: 20000,
792
+ renewEveryMinutes: 720,
793
+ serve: { bind: "127.0.0.1", port: 8788, path: "/" },
794
+ tailscale: { mode: "funnel", path: "/gmail-pubsub" },
795
+ model: "openrouter/meta-llama/llama-3.3-70b-instruct:free",
796
+ thinking: "off",
797
+ },
798
+ },
799
+ }
800
+ ```
801
+
802
+ - Gateway auto-starts `gog gmail watch serve` on boot when configured. Set `OPENCLAW_SKIP_GMAIL_WATCHER=1` to disable.
803
+ - Don't run a separate `gog gmail watch serve` alongside the Gateway.
804
+
805
+ ---
806
+
807
+ ## Canvas plugin host
808
+
809
+ ```json5
810
+ {
811
+ plugins: {
812
+ entries: {
813
+ canvas: {
814
+ config: {
815
+ host: {
816
+ root: "~/.openclaw/workspace/canvas",
817
+ liveReload: true,
818
+ // enabled: false, // or OPENCLAW_SKIP_CANVAS_HOST=1
819
+ },
820
+ },
821
+ },
822
+ },
823
+ },
824
+ }
825
+ ```
826
+
827
+ - Serves agent-editable HTML/CSS/JS and A2UI over HTTP under the Gateway port:
828
+ - `http://<gateway-host>:<gateway.port>/__openclaw__/canvas/`
829
+ - `http://<gateway-host>:<gateway.port>/__openclaw__/a2ui/`
830
+ - Local-only: keep `gateway.bind: "loopback"` (default).
831
+ - Non-loopback binds: canvas routes require Gateway auth (token/password/trusted-proxy), same as other Gateway HTTP surfaces.
832
+ - Node WebViews typically don't send auth headers; after a node is paired and connected, the Gateway advertises node-scoped capability URLs for canvas/A2UI access.
833
+ - Capability URLs are bound to the active node WS session and expire quickly. IP-based fallback is not used.
834
+ - Injects live-reload client into served HTML.
835
+ - Auto-creates starter `index.html` when empty.
836
+ - Also serves A2UI at `/__openclaw__/a2ui/`.
837
+ - Changes require a gateway restart.
838
+ - Disable live reload for large directories or `EMFILE` errors.
839
+
840
+ ---
841
+
842
+ ## Discovery
843
+
844
+ ### mDNS (Bonjour)
845
+
846
+ ```json5
847
+ {
848
+ discovery: {
849
+ mdns: {
850
+ mode: "minimal", // minimal | full | off
851
+ },
852
+ },
853
+ }
854
+ ```
855
+
856
+ - `minimal` (default when the bundled `bonjour` plugin is enabled): omit `cliPath` + `sshPort` from TXT records.
857
+ - `full`: include `cliPath` + `sshPort`; LAN multicast advertising still requires the bundled `bonjour` plugin to be enabled.
858
+ - `off`: suppress LAN multicast advertising without changing plugin enablement.
859
+ - The bundled `bonjour` plugin auto-starts on macOS hosts and is opt-in on Linux, Windows, and containerized Gateway deployments.
860
+ - Hostname defaults to the system hostname when it is a valid DNS label, falling back to `openclaw`. Override with `OPENCLAW_MDNS_HOSTNAME`.
861
+
862
+ ### Wide-area (DNS-SD)
863
+
864
+ ```json5
865
+ {
866
+ discovery: {
867
+ wideArea: { enabled: true },
868
+ },
869
+ }
870
+ ```
871
+
872
+ Writes a unicast DNS-SD zone under `~/.openclaw/dns/`. For cross-network discovery, pair with a DNS server (CoreDNS recommended) + Tailscale split DNS.
873
+
874
+ Setup: `openclaw dns setup --apply`.
875
+
876
+ ---
877
+
878
+ ## Environment
879
+
880
+ ### `env` (inline env vars)
881
+
882
+ ```json5
883
+ {
884
+ env: {
885
+ OPENROUTER_API_KEY: "sk-or-...",
886
+ vars: {
887
+ GROQ_API_KEY: "gsk-...",
888
+ },
889
+ shellEnv: {
890
+ enabled: true,
891
+ timeoutMs: 15000,
892
+ },
893
+ },
894
+ }
895
+ ```
896
+
897
+ - Inline env vars are only applied if the process env is missing the key.
898
+ - `.env` files: CWD `.env` + `~/.openclaw/.env` (neither overrides existing vars).
899
+ - `shellEnv`: imports missing expected keys from your login shell profile.
900
+ - See [Environment](/help/environment) for full precedence.
901
+
902
+ ### Env var substitution
903
+
904
+ Reference env vars in any config string with `${VAR_NAME}`:
905
+
906
+ ```json5
907
+ {
908
+ gateway: {
909
+ auth: { token: "${OPENCLAW_GATEWAY_TOKEN}" },
910
+ },
911
+ }
912
+ ```
913
+
914
+ - Only uppercase names matched: `[A-Z_][A-Z0-9_]*`.
915
+ - Missing/empty vars throw an error at config load.
916
+ - Escape with `$${VAR}` for a literal `${VAR}`.
917
+ - Works with `$include`.
918
+
919
+ ---
920
+
921
+ ## Secrets
922
+
923
+ Secret refs are additive: plaintext values still work.
924
+
925
+ ### `SecretRef`
926
+
927
+ Use one object shape:
928
+
929
+ ```json5
930
+ { source: "env" | "file" | "exec", provider: "default", id: "..." }
931
+ ```
932
+
933
+ Validation:
934
+
935
+ - `provider` pattern: `^[a-z][a-z0-9_-]{0,63}$`
936
+ - `source: "env"` id pattern: `^[A-Z][A-Z0-9_]{0,127}$`
937
+ - `source: "file"` id: absolute JSON pointer (for example `"/providers/openai/apiKey"`)
938
+ - `source: "exec"` id pattern: `^[A-Za-z0-9][A-Za-z0-9._:/#-]{0,255}$` (supports AWS-style `secret#json_key` selectors)
939
+ - `source: "exec"` ids must not contain `.` or `..` slash-delimited path segments (for example `a/../b` is rejected)
940
+
941
+ ### Supported credential surface
942
+
943
+ - Canonical matrix: [SecretRef Credential Surface](/reference/secretref-credential-surface)
944
+ - `secrets apply` targets supported `openclaw.json` credential paths.
945
+ - `auth-profiles.json` refs are included in runtime resolution and audit coverage.
946
+
947
+ ### Secret providers config
948
+
949
+ ```json5
950
+ {
951
+ secrets: {
952
+ providers: {
953
+ default: { source: "env" }, // optional explicit env provider
954
+ filemain: {
955
+ source: "file",
956
+ path: "~/.openclaw/secrets.json",
957
+ mode: "json",
958
+ timeoutMs: 5000,
959
+ },
960
+ vault: {
961
+ source: "exec",
962
+ command: "/usr/local/bin/openclaw-vault-resolver",
963
+ passEnv: ["PATH", "VAULT_ADDR"],
964
+ },
965
+ },
966
+ defaults: {
967
+ env: "default",
968
+ file: "filemain",
969
+ exec: "vault",
970
+ },
971
+ },
972
+ }
973
+ ```
974
+
975
+ Notes:
976
+
977
+ - `file` provider supports `mode: "json"` and `mode: "singleValue"` (`id` must be `"value"` in singleValue mode).
978
+ - File and exec provider paths fail closed when Windows ACL verification is unavailable. Set `allowInsecurePath: true` only for trusted paths that cannot be verified.
979
+ - `exec` provider requires an absolute `command` path and uses protocol payloads on stdin/stdout.
980
+ - By default, symlink command paths are rejected. Set `allowSymlinkCommand: true` to allow symlink paths while validating the resolved target path.
981
+ - If `trustedDirs` is configured, the trusted-dir check applies to the resolved target path.
982
+ - `exec` child environment is minimal by default; pass required variables explicitly with `passEnv`.
983
+ - Secret refs are resolved at activation time into an in-memory snapshot, then request paths read the snapshot only.
984
+ - Active-surface filtering applies during activation: unresolved refs on enabled surfaces fail startup/reload, while inactive surfaces are skipped with diagnostics.
985
+
986
+ ---
987
+
988
+ ## Auth storage
989
+
990
+ ```json5
991
+ {
992
+ auth: {
993
+ profiles: {
994
+ "anthropic:default": { provider: "anthropic", mode: "api_key" },
995
+ "anthropic:work": { provider: "anthropic", mode: "api_key" },
996
+ "openai:personal": { provider: "openai", mode: "oauth" },
997
+ },
998
+ order: {
999
+ anthropic: ["anthropic:default", "anthropic:work"],
1000
+ openai: ["openai:personal"],
1001
+ },
1002
+ },
1003
+ }
1004
+ ```
1005
+
1006
+ - Per-agent profiles are stored at `<agentDir>/auth-profiles.json`.
1007
+ - `auth-profiles.json` supports value-level refs (`keyRef` for `api_key`, `tokenRef` for `token`) for static credential modes.
1008
+ - Legacy flat `auth-profiles.json` maps such as `{ "provider": { "apiKey": "..." } }` are not a runtime format; `openclaw doctor --fix` rewrites them to canonical `provider:default` API-key profiles with a `.legacy-flat.*.bak` backup.
1009
+ - OAuth-mode profiles (`auth.profiles.<id>.mode = "oauth"`) do not support SecretRef-backed auth-profile credentials.
1010
+ - Static runtime credentials come from in-memory resolved snapshots; legacy static `auth.json` entries are scrubbed when discovered.
1011
+ - Legacy OAuth imports from `~/.openclaw/credentials/oauth.json`.
1012
+ - See [OAuth](/concepts/oauth).
1013
+ - Secrets runtime behavior and `audit/configure/apply` tooling: [Secrets Management](/gateway/secrets).
1014
+
1015
+ ### `auth.cooldowns`
1016
+
1017
+ ```json5
1018
+ {
1019
+ auth: {
1020
+ cooldowns: {
1021
+ billingBackoffHours: 5,
1022
+ billingBackoffHoursByProvider: { anthropic: 3, openai: 8 },
1023
+ billingMaxHours: 24,
1024
+ authPermanentBackoffMinutes: 10,
1025
+ authPermanentMaxMinutes: 60,
1026
+ failureWindowHours: 24,
1027
+ overloadedProfileRotations: 1,
1028
+ overloadedBackoffMs: 0,
1029
+ rateLimitedProfileRotations: 1,
1030
+ },
1031
+ },
1032
+ }
1033
+ ```
1034
+
1035
+ - `billingBackoffHours`: base backoff in hours when a profile fails due to true
1036
+ billing/insufficient-credit errors (default: `5`). Explicit billing text can
1037
+ still land here even on `401`/`403` responses, but provider-specific text
1038
+ matchers stay scoped to the provider that owns them (for example OpenRouter
1039
+ `Key limit exceeded`). Retryable HTTP `402` usage-window or
1040
+ organization/workspace spend-limit messages stay in the `rate_limit` path
1041
+ instead.
1042
+ - `billingBackoffHoursByProvider`: optional per-provider overrides for billing backoff hours.
1043
+ - `billingMaxHours`: cap in hours for billing backoff exponential growth (default: `24`).
1044
+ - `authPermanentBackoffMinutes`: base backoff in minutes for high-confidence `auth_permanent` failures (default: `10`).
1045
+ - `authPermanentMaxMinutes`: cap in minutes for `auth_permanent` backoff growth (default: `60`).
1046
+ - `failureWindowHours`: rolling window in hours used for backoff counters (default: `24`).
1047
+ - `overloadedProfileRotations`: maximum same-provider auth-profile rotations for overloaded errors before switching to model fallback (default: `1`). Provider-busy shapes such as `ModelNotReadyException` land here.
1048
+ - `overloadedBackoffMs`: fixed delay before retrying an overloaded provider/profile rotation (default: `0`).
1049
+ - `rateLimitedProfileRotations`: maximum same-provider auth-profile rotations for rate-limit errors before switching to model fallback (default: `1`). That rate-limit bucket includes provider-shaped text such as `Too many concurrent requests`, `ThrottlingException`, `concurrency limit reached`, `workers_ai ... quota limit exceeded`, and `resource exhausted`.
1050
+
1051
+ ---
1052
+
1053
+ ## Logging
1054
+
1055
+ ```json5
1056
+ {
1057
+ logging: {
1058
+ level: "info",
1059
+ file: "/tmp/openclaw/openclaw.log",
1060
+ consoleLevel: "info",
1061
+ consoleStyle: "pretty", // pretty | compact | json
1062
+ redactSensitive: "tools", // off | tools
1063
+ redactPatterns: ["\\bTOKEN\\b\\s*[=:]\\s*([\"']?)([^\\s\"']+)\\1"],
1064
+ },
1065
+ }
1066
+ ```
1067
+
1068
+ - Default log file: `/tmp/openclaw/openclaw-YYYY-MM-DD.log`.
1069
+ - Set `logging.file` for a stable path.
1070
+ - `consoleLevel` bumps to `debug` when `--verbose`.
1071
+ - `maxFileBytes`: maximum active log file size in bytes before rotation (positive integer; default: `104857600` = 100 MB). OpenClaw keeps up to five numbered archives beside the active file.
1072
+ - `redactSensitive` / `redactPatterns`: best-effort masking for console output, file logs, OTLP log records, and persisted session transcript text. `redactSensitive: "off"` only disables this general log/transcript policy; UI/tool/diagnostic safety surfaces still redact secrets before emission.
1073
+
1074
+ ---
1075
+
1076
+ ## Diagnostics
1077
+
1078
+ ```json5
1079
+ {
1080
+ diagnostics: {
1081
+ enabled: true,
1082
+ flags: ["telegram.*"],
1083
+ stuckSessionWarnMs: 30000,
1084
+ stuckSessionAbortMs: 300000,
1085
+ memoryPressureSnapshot: false,
1086
+
1087
+ otel: {
1088
+ enabled: false,
1089
+ endpoint: "https://otel-collector.example.com:4318",
1090
+ tracesEndpoint: "https://traces.example.com/v1/traces",
1091
+ metricsEndpoint: "https://metrics.example.com/v1/metrics",
1092
+ logsEndpoint: "https://logs.example.com/v1/logs",
1093
+ protocol: "http/protobuf", // http/protobuf | grpc
1094
+ headers: { "x-tenant-id": "my-org" },
1095
+ serviceName: "openclaw-gateway",
1096
+ traces: true,
1097
+ metrics: true,
1098
+ logs: false,
1099
+ sampleRate: 1.0,
1100
+ flushIntervalMs: 5000,
1101
+ captureContent: {
1102
+ enabled: false,
1103
+ inputMessages: false,
1104
+ outputMessages: false,
1105
+ toolInputs: false,
1106
+ toolOutputs: false,
1107
+ systemPrompt: false,
1108
+ toolDefinitions: false,
1109
+ },
1110
+ },
1111
+
1112
+ cacheTrace: {
1113
+ enabled: false,
1114
+ filePath: "~/.openclaw/logs/cache-trace.jsonl",
1115
+ includeMessages: true,
1116
+ includePrompt: true,
1117
+ includeSystem: true,
1118
+ },
1119
+ },
1120
+ }
1121
+ ```
1122
+
1123
+ - `enabled`: master toggle for instrumentation output (default: `true`).
1124
+ - `flags`: array of flag strings enabling targeted log output (supports wildcards like `"telegram.*"` or `"*"`).
1125
+ - `stuckSessionWarnMs`: no-progress age threshold in ms for classifying long-running processing sessions as `session.long_running`, `session.stalled`, or `session.stuck`. Reply, tool, status, block, and ACP progress reset the timer; repeated `session.stuck` diagnostics back off while unchanged.
1126
+ - `stuckSessionAbortMs`: no-progress age threshold in ms before eligible stalled active work may be abort-drained for recovery. When unset, OpenClaw uses the safer extended embedded-run window of at least 5 minutes and 3x `stuckSessionWarnMs`.
1127
+ - `memoryPressureSnapshot`: captures a redacted pre-OOM stability snapshot when memory pressure reaches `critical` (default: `false`). Set to `true` to add the stability bundle file scan/write while keeping normal memory pressure events.
1128
+ - `otel.enabled`: enables the OpenTelemetry export pipeline (default: `false`). For the full configuration, signal catalog, and privacy model, see [OpenTelemetry export](/gateway/opentelemetry).
1129
+ - `otel.endpoint`: collector URL for OTel export.
1130
+ - `otel.tracesEndpoint` / `otel.metricsEndpoint` / `otel.logsEndpoint`: optional signal-specific OTLP endpoints. When set, they override `otel.endpoint` for that signal only.
1131
+ - `otel.protocol`: `"http/protobuf"` (default) or `"grpc"`.
1132
+ - `otel.headers`: extra HTTP/gRPC metadata headers sent with OTel export requests.
1133
+ - `otel.serviceName`: service name for resource attributes.
1134
+ - `otel.traces` / `otel.metrics` / `otel.logs`: enable trace, metrics, or log export.
1135
+ - `otel.sampleRate`: trace sampling rate `0`-`1`.
1136
+ - `otel.flushIntervalMs`: periodic telemetry flush interval in ms.
1137
+ - `otel.captureContent`: opt-in raw content capture for OTEL span attributes. Defaults to off. Boolean `true` captures non-system message/tool content; the object form lets you enable `inputMessages`, `outputMessages`, `toolInputs`, `toolOutputs`, `systemPrompt`, and `toolDefinitions` explicitly.
1138
+ - `OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental`: environment toggle for latest experimental GenAI inference span shape, including `{gen_ai.operation.name} {gen_ai.request.model}` span names, `CLIENT` span kind, and `gen_ai.provider.name` instead of legacy `gen_ai.system`. By default spans keep `openclaw.model.call` and `gen_ai.system` for compatibility; GenAI metrics use bounded semantic attributes.
1139
+ - `OPENCLAW_OTEL_PRELOADED=1`: environment toggle for hosts that already registered a global OpenTelemetry SDK. OpenClaw then skips plugin-owned SDK startup/shutdown while keeping diagnostic listeners active.
1140
+ - `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`, `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT`, and `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT`: signal-specific endpoint env vars used when the matching config key is unset.
1141
+ - `cacheTrace.enabled`: log cache trace snapshots for embedded runs (default: `false`).
1142
+ - `cacheTrace.filePath`: output path for cache trace JSONL (default: `$OPENCLAW_STATE_DIR/logs/cache-trace.jsonl`).
1143
+ - `cacheTrace.includeMessages` / `includePrompt` / `includeSystem`: control what is included in cache trace output (all default: `true`).
1144
+
1145
+ ---
1146
+
1147
+ ## Update
1148
+
1149
+ ```json5
1150
+ {
1151
+ update: {
1152
+ channel: "stable", // stable | beta | dev
1153
+ checkOnStart: true,
1154
+
1155
+ auto: {
1156
+ enabled: false,
1157
+ stableDelayHours: 6,
1158
+ stableJitterHours: 12,
1159
+ betaCheckIntervalHours: 1,
1160
+ },
1161
+ },
1162
+ }
1163
+ ```
1164
+
1165
+ - `channel`: release channel for npm/git installs - `"stable"`, `"beta"`, or `"dev"`.
1166
+ - `checkOnStart`: check for npm updates when the gateway starts (default: `true`).
1167
+ - `auto.enabled`: enable background auto-update for package installs (default: `false`).
1168
+ - `auto.stableDelayHours`: minimum delay in hours before stable-channel auto-apply (default: `6`; max: `168`).
1169
+ - `auto.stableJitterHours`: extra stable-channel rollout spread window in hours (default: `12`; max: `168`).
1170
+ - `auto.betaCheckIntervalHours`: how often beta-channel checks run in hours (default: `1`; max: `24`).
1171
+
1172
+ ---
1173
+
1174
+ ## ACP
1175
+
1176
+ ```json5
1177
+ {
1178
+ acp: {
1179
+ enabled: true,
1180
+ dispatch: { enabled: true },
1181
+ backend: "acpx",
1182
+ defaultAgent: "main",
1183
+ allowedAgents: ["main", "ops"],
1184
+ maxConcurrentSessions: 10,
1185
+
1186
+ stream: {
1187
+ coalesceIdleMs: 50,
1188
+ maxChunkChars: 1000,
1189
+ repeatSuppression: true,
1190
+ deliveryMode: "live", // live | final_only
1191
+ hiddenBoundarySeparator: "paragraph", // none | space | newline | paragraph
1192
+ maxOutputChars: 50000,
1193
+ maxSessionUpdateChars: 500,
1194
+ },
1195
+
1196
+ runtime: {
1197
+ ttlMinutes: 30,
1198
+ },
1199
+ },
1200
+ }
1201
+ ```
1202
+
1203
+ - `enabled`: global ACP feature gate (default: `true`; set `false` to hide ACP dispatch and spawn affordances).
1204
+ - `dispatch.enabled`: independent gate for ACP session turn dispatch (default: `true`). Set `false` to keep ACP commands available while blocking execution.
1205
+ - `backend`: default ACP runtime backend id (must match a registered ACP runtime plugin).
1206
+ Install the backend plugin first, and if `plugins.allow` is set, include the backend plugin id (for example `acpx`) or the ACP backend will not load.
1207
+ - `defaultAgent`: fallback ACP target agent id when spawns do not specify an explicit target.
1208
+ - `allowedAgents`: allowlist of agent ids permitted for ACP runtime sessions; empty means no additional restriction.
1209
+ - `maxConcurrentSessions`: maximum concurrently active ACP sessions.
1210
+ - `stream.coalesceIdleMs`: idle flush window in ms for streamed text.
1211
+ - `stream.maxChunkChars`: maximum chunk size before splitting streamed block projection.
1212
+ - `stream.repeatSuppression`: suppress repeated status/tool lines per turn (default: `true`).
1213
+ - `stream.deliveryMode`: `"live"` streams incrementally; `"final_only"` buffers until turn terminal events.
1214
+ - `stream.hiddenBoundarySeparator`: separator before visible text after hidden tool events (default: `"paragraph"`).
1215
+ - `stream.maxOutputChars`: maximum assistant output characters projected per ACP turn.
1216
+ - `stream.maxSessionUpdateChars`: maximum characters for projected ACP status/update lines.
1217
+ - `stream.tagVisibility`: record of tag names to boolean visibility overrides for streamed events.
1218
+ - `runtime.ttlMinutes`: idle TTL in minutes for ACP session workers before eligible cleanup.
1219
+ - `runtime.installCommand`: optional install command to run when bootstrapping an ACP runtime environment.
1220
+
1221
+ ---
1222
+
1223
+ ## CLI
1224
+
1225
+ ```json5
1226
+ {
1227
+ cli: {
1228
+ banner: {
1229
+ taglineMode: "off", // random | default | off
1230
+ },
1231
+ },
1232
+ }
1233
+ ```
1234
+
1235
+ - `cli.banner.taglineMode` controls banner tagline style:
1236
+ - `"random"` (default): rotating funny/seasonal taglines.
1237
+ - `"default"`: fixed neutral tagline (`All your chats, one OpenClaw.`).
1238
+ - `"off"`: no tagline text (banner title/version still shown).
1239
+ - To hide the entire banner (not just taglines), set env `OPENCLAW_HIDE_BANNER=1`.
1240
+
1241
+ ---
1242
+
1243
+ ## Wizard
1244
+
1245
+ Metadata written by CLI guided setup flows (`onboard`, `configure`, `doctor`):
1246
+
1247
+ ```json5
1248
+ {
1249
+ wizard: {
1250
+ lastRunAt: "2026-01-01T00:00:00.000Z",
1251
+ lastRunVersion: "2026.1.4",
1252
+ lastRunCommit: "abc1234",
1253
+ lastRunCommand: "configure",
1254
+ lastRunMode: "local",
1255
+ },
1256
+ }
1257
+ ```
1258
+
1259
+ ---
1260
+
1261
+ ## Identity
1262
+
1263
+ See `agents.list` identity fields under [Agent defaults](/gateway/config-agents#agent-defaults).
1264
+
1265
+ ---
1266
+
1267
+ ## Bridge (legacy, removed)
1268
+
1269
+ Current builds no longer include the TCP bridge. Nodes connect over the Gateway WebSocket. `bridge.*` keys are no longer part of the config schema (validation fails until removed; `openclaw doctor --fix` can strip unknown keys).
1270
+
1271
+ <Accordion title="Legacy bridge config (historical reference)">
1272
+
1273
+ ```json
1274
+ {
1275
+ "bridge": {
1276
+ "enabled": true,
1277
+ "port": 18790,
1278
+ "bind": "tailnet",
1279
+ "tls": {
1280
+ "enabled": true,
1281
+ "autoGenerate": true
1282
+ }
1283
+ }
1284
+ }
1285
+ ```
1286
+
1287
+ </Accordion>
1288
+
1289
+ ---
1290
+
1291
+ ## Cron
1292
+
1293
+ ```json5
1294
+ {
1295
+ cron: {
1296
+ enabled: true,
1297
+ maxConcurrentRuns: 8, // default; cron dispatch + isolated cron agent-turn execution
1298
+ webhook: "https://example.invalid/legacy", // deprecated fallback for stored notify:true jobs
1299
+ webhookToken: "replace-with-dedicated-token", // optional bearer token for outbound webhook auth
1300
+ sessionRetention: "24h", // duration string or false
1301
+ runLog: {
1302
+ maxBytes: "2mb", // default 2_000_000 bytes
1303
+ keepLines: 2000, // default 2000
1304
+ },
1305
+ },
1306
+ }
1307
+ ```
1308
+
1309
+ - `sessionRetention`: how long to keep completed isolated cron run sessions before pruning from `sessions.json`. Also controls cleanup of archived deleted cron transcripts. Default: `24h`; set `false` to disable.
1310
+ - `runLog.maxBytes`: accepted for compatibility with older file-backed cron run logs. Default: `2_000_000` bytes.
1311
+ - `runLog.keepLines`: newest SQLite run-history rows retained per job. Default: `2000`.
1312
+ - `webhookToken`: bearer token used for cron webhook POST delivery (`delivery.mode = "webhook"`), if omitted no auth header is sent.
1313
+ - `webhook`: deprecated legacy fallback webhook URL (http/https) used by `openclaw doctor --fix` to migrate stored jobs that still have `notify: true`; runtime delivery uses per-job `delivery.mode="webhook"` plus `delivery.to`, or `delivery.completionDestination` when preserving announce delivery.
1314
+
1315
+ ### `cron.retry`
1316
+
1317
+ ```json5
1318
+ {
1319
+ cron: {
1320
+ retry: {
1321
+ maxAttempts: 3,
1322
+ backoffMs: [30000, 60000, 300000],
1323
+ retryOn: ["rate_limit", "overloaded", "network", "timeout", "server_error"],
1324
+ },
1325
+ },
1326
+ }
1327
+ ```
1328
+
1329
+ - `maxAttempts`: maximum retries for cron jobs on transient errors (default: `3`; range: `0`-`10`).
1330
+ - `backoffMs`: array of backoff delays in ms for each retry attempt (default: `[30000, 60000, 300000]`; 1-10 entries).
1331
+ - `retryOn`: error types that trigger retries - `"rate_limit"`, `"overloaded"`, `"network"`, `"timeout"`, `"server_error"`. Omit to retry all transient types.
1332
+
1333
+ One-shot jobs stay enabled until retry attempts are exhausted, then disable while keeping the final error state. Recurring jobs use the same transient retry policy to run again after backoff before their next scheduled slot; permanent errors or exhausted transient retries fall back to the normal recurring schedule with error backoff.
1334
+
1335
+ ### `cron.failureAlert`
1336
+
1337
+ ```json5
1338
+ {
1339
+ cron: {
1340
+ failureAlert: {
1341
+ enabled: false,
1342
+ after: 3,
1343
+ cooldownMs: 3600000,
1344
+ includeSkipped: false,
1345
+ mode: "announce",
1346
+ accountId: "main",
1347
+ },
1348
+ },
1349
+ }
1350
+ ```
1351
+
1352
+ - `enabled`: enable failure alerts for cron jobs (default: `false`).
1353
+ - `after`: consecutive failures before an alert fires (positive integer, min: `1`).
1354
+ - `cooldownMs`: minimum milliseconds between repeated alerts for the same job (non-negative integer).
1355
+ - `includeSkipped`: count consecutive skipped runs toward the alert threshold (default: `false`). Skipped runs are tracked separately and do not affect execution-error backoff.
1356
+ - `mode`: delivery mode - `"announce"` sends via a channel message; `"webhook"` posts to the configured webhook.
1357
+ - `accountId`: optional account or channel id to scope alert delivery.
1358
+
1359
+ ### `cron.failureDestination`
1360
+
1361
+ ```json5
1362
+ {
1363
+ cron: {
1364
+ failureDestination: {
1365
+ mode: "announce",
1366
+ channel: "last",
1367
+ to: "channel:C1234567890",
1368
+ accountId: "main",
1369
+ },
1370
+ },
1371
+ }
1372
+ ```
1373
+
1374
+ - Default destination for cron failure notifications across all jobs.
1375
+ - `mode`: `"announce"` or `"webhook"`; defaults to `"announce"` when enough target data exists.
1376
+ - `channel`: channel override for announce delivery. `"last"` reuses the last known delivery channel.
1377
+ - `to`: explicit announce target or webhook URL. Required for webhook mode.
1378
+ - `accountId`: optional account override for delivery.
1379
+ - Per-job `delivery.failureDestination` overrides this global default.
1380
+ - When neither global nor per-job failure destination is set, jobs that already deliver via `announce` fall back to that primary announce target on failure.
1381
+ - `delivery.failureDestination` is only supported for `sessionTarget="isolated"` jobs unless the job's primary `delivery.mode` is `"webhook"`.
1382
+
1383
+ See [Cron Jobs](/automation/cron-jobs). Isolated cron executions are tracked as [background tasks](/automation/tasks).
1384
+
1385
+ ---
1386
+
1387
+ ## Media model template variables
1388
+
1389
+ Template placeholders expanded in `tools.media.models[].args`:
1390
+
1391
+ | Variable | Description |
1392
+ | ------------------ | ------------------------------------------------- |
1393
+ | `{{Body}}` | Full inbound message body |
1394
+ | `{{RawBody}}` | Raw body (no history/sender wrappers) |
1395
+ | `{{BodyStripped}}` | Body with group mentions stripped |
1396
+ | `{{From}}` | Sender identifier |
1397
+ | `{{To}}` | Destination identifier |
1398
+ | `{{MessageSid}}` | Channel message id |
1399
+ | `{{SessionId}}` | Current session UUID |
1400
+ | `{{IsNewSession}}` | `"true"` when new session created |
1401
+ | `{{MediaUrl}}` | Inbound media pseudo-URL |
1402
+ | `{{MediaPath}}` | Local media path |
1403
+ | `{{MediaType}}` | Media type (image/audio/document/…) |
1404
+ | `{{Transcript}}` | Audio transcript |
1405
+ | `{{Prompt}}` | Resolved media prompt for CLI entries |
1406
+ | `{{MaxChars}}` | Resolved max output chars for CLI entries |
1407
+ | `{{ChatType}}` | `"direct"` or `"group"` |
1408
+ | `{{GroupSubject}}` | Group subject (best effort) |
1409
+ | `{{GroupMembers}}` | Group members preview (best effort) |
1410
+ | `{{SenderName}}` | Sender display name (best effort) |
1411
+ | `{{SenderE164}}` | Sender phone number (best effort) |
1412
+ | `{{Provider}}` | Provider hint (whatsapp, telegram, discord, etc.) |
1413
+
1414
+ ---
1415
+
1416
+ ## Config includes (`$include`)
1417
+
1418
+ Split config into multiple files:
1419
+
1420
+ ```json5
1421
+ // ~/.openclaw/openclaw.json
1422
+ {
1423
+ gateway: { port: 18789 },
1424
+ agents: { $include: "./agents.json5" },
1425
+ broadcast: {
1426
+ $include: ["./clients/mueller.json5", "./clients/schmidt.json5"],
1427
+ },
1428
+ }
1429
+ ```
1430
+
1431
+ **Merge behavior:**
1432
+
1433
+ - Single file: replaces the containing object.
1434
+ - Array of files: deep-merged in order (later overrides earlier).
1435
+ - Sibling keys: merged after includes (override included values).
1436
+ - Nested includes: up to 10 levels deep.
1437
+ - Paths: resolved relative to the including file, but must stay inside the top-level config directory (`dirname` of `openclaw.json`). Absolute/`../` forms are allowed only when they still resolve inside that boundary. Paths must not contain null bytes and must be strictly shorter than 4096 characters before and after resolution.
1438
+ - OpenClaw-owned writes that change only one top-level section backed by a single-file include write through to that included file. For example, `plugins install` updates `plugins: { $include: "./plugins.json5" }` in `plugins.json5` and leaves `openclaw.json` intact.
1439
+ - Root includes, include arrays, and includes with sibling overrides are read-only for OpenClaw-owned writes; those writes fail closed instead of flattening the config.
1440
+ - Errors: clear messages for missing files, parse errors, circular includes, invalid path format, and excessive length.
1441
+
1442
+ ---
1443
+
1444
+ _Related: [Configuration](/gateway/configuration) · [Configuration Examples](/gateway/configuration-examples) · [Doctor](/gateway/doctor)_
1445
+
1446
+ ## Related
1447
+
1448
+ - [Configuration](/gateway/configuration)
1449
+ - [Configuration examples](/gateway/configuration-examples)