nodmix 2026.5.25

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