clawdbot 2026.1.4-1

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 (550) hide show
  1. package/CHANGELOG.md +120 -0
  2. package/LICENSE +21 -0
  3. package/README-header.png +0 -0
  4. package/README.md +297 -0
  5. package/dist/agents/agent-paths.js +17 -0
  6. package/dist/agents/bash-process-registry.js +126 -0
  7. package/dist/agents/bash-tools.js +837 -0
  8. package/dist/agents/clawdbot-tools.js +30 -0
  9. package/dist/agents/clawdis-tools.js +27 -0
  10. package/dist/agents/context.js +34 -0
  11. package/dist/agents/defaults.js +6 -0
  12. package/dist/agents/model-auth.js +112 -0
  13. package/dist/agents/model-catalog.js +55 -0
  14. package/dist/agents/model-fallback.js +191 -0
  15. package/dist/agents/model-scan.js +263 -0
  16. package/dist/agents/model-selection.js +116 -0
  17. package/dist/agents/models-config.js +49 -0
  18. package/dist/agents/pi-embedded-helpers.js +74 -0
  19. package/dist/agents/pi-embedded-runner.js +407 -0
  20. package/dist/agents/pi-embedded-subscribe.js +568 -0
  21. package/dist/agents/pi-embedded-utils.js +20 -0
  22. package/dist/agents/pi-embedded.js +1 -0
  23. package/dist/agents/pi-oauth.js +88 -0
  24. package/dist/agents/pi-tools.js +433 -0
  25. package/dist/agents/sandbox-paths.js +68 -0
  26. package/dist/agents/sandbox.js +644 -0
  27. package/dist/agents/shell-utils.js +53 -0
  28. package/dist/agents/skills-install.js +244 -0
  29. package/dist/agents/skills-status.js +157 -0
  30. package/dist/agents/skills.js +470 -0
  31. package/dist/agents/steerable-agent-loop.js +338 -0
  32. package/dist/agents/steerable-provider-transport.js +48 -0
  33. package/dist/agents/system-prompt.js +104 -0
  34. package/dist/agents/tool-display.js +162 -0
  35. package/dist/agents/tool-images.js +138 -0
  36. package/dist/agents/tools/browser-tool.js +339 -0
  37. package/dist/agents/tools/canvas-tool.js +193 -0
  38. package/dist/agents/tools/common.js +88 -0
  39. package/dist/agents/tools/cron-tool.js +124 -0
  40. package/dist/agents/tools/discord-actions-guild.js +186 -0
  41. package/dist/agents/tools/discord-actions-messaging.js +285 -0
  42. package/dist/agents/tools/discord-actions-moderation.js +70 -0
  43. package/dist/agents/tools/discord-actions.js +56 -0
  44. package/dist/agents/tools/discord-schema.js +199 -0
  45. package/dist/agents/tools/discord-tool.js +16 -0
  46. package/dist/agents/tools/gateway-tool.js +46 -0
  47. package/dist/agents/tools/gateway.js +27 -0
  48. package/dist/agents/tools/image-tool.js +132 -0
  49. package/dist/agents/tools/nodes-tool.js +413 -0
  50. package/dist/agents/tools/nodes-utils.js +92 -0
  51. package/dist/agents/tools/sessions-helpers.js +88 -0
  52. package/dist/agents/tools/sessions-history-tool.js +53 -0
  53. package/dist/agents/tools/sessions-list-tool.js +143 -0
  54. package/dist/agents/tools/sessions-send-helpers.js +100 -0
  55. package/dist/agents/tools/sessions-send-tool.js +347 -0
  56. package/dist/agents/tools/slack-actions.js +129 -0
  57. package/dist/agents/tools/slack-schema.js +59 -0
  58. package/dist/agents/tools/slack-tool.js +16 -0
  59. package/dist/agents/usage.js +39 -0
  60. package/dist/agents/workspace.js +241 -0
  61. package/dist/auto-reply/chunk.js +76 -0
  62. package/dist/auto-reply/envelope.js +38 -0
  63. package/dist/auto-reply/group-activation.js +20 -0
  64. package/dist/auto-reply/heartbeat.js +57 -0
  65. package/dist/auto-reply/model.js +14 -0
  66. package/dist/auto-reply/reply/abort.js +14 -0
  67. package/dist/auto-reply/reply/agent-runner.js +371 -0
  68. package/dist/auto-reply/reply/block-streaming.js +34 -0
  69. package/dist/auto-reply/reply/body.js +29 -0
  70. package/dist/auto-reply/reply/commands.js +207 -0
  71. package/dist/auto-reply/reply/directive-handling.js +361 -0
  72. package/dist/auto-reply/reply/directives.js +47 -0
  73. package/dist/auto-reply/reply/followup-runner.js +149 -0
  74. package/dist/auto-reply/reply/groups.js +91 -0
  75. package/dist/auto-reply/reply/mentions.js +38 -0
  76. package/dist/auto-reply/reply/model-selection.js +114 -0
  77. package/dist/auto-reply/reply/queue.js +399 -0
  78. package/dist/auto-reply/reply/reply-tags.js +26 -0
  79. package/dist/auto-reply/reply/session-updates.js +87 -0
  80. package/dist/auto-reply/reply/session.js +160 -0
  81. package/dist/auto-reply/reply/typing.js +75 -0
  82. package/dist/auto-reply/reply.js +535 -0
  83. package/dist/auto-reply/send-policy.js +28 -0
  84. package/dist/auto-reply/status.js +158 -0
  85. package/dist/auto-reply/templating.js +9 -0
  86. package/dist/auto-reply/thinking.js +49 -0
  87. package/dist/auto-reply/tokens.js +2 -0
  88. package/dist/auto-reply/tool-meta.js +74 -0
  89. package/dist/auto-reply/transcription.js +57 -0
  90. package/dist/auto-reply/types.js +1 -0
  91. package/dist/browser/bridge-server.js +37 -0
  92. package/dist/browser/cdp.js +382 -0
  93. package/dist/browser/chrome.js +432 -0
  94. package/dist/browser/client-actions-core.js +67 -0
  95. package/dist/browser/client-actions-observe.js +24 -0
  96. package/dist/browser/client-actions-types.js +1 -0
  97. package/dist/browser/client-actions.js +3 -0
  98. package/dist/browser/client-fetch.js +43 -0
  99. package/dist/browser/client.js +105 -0
  100. package/dist/browser/config.js +140 -0
  101. package/dist/browser/constants.js +4 -0
  102. package/dist/browser/profiles-service.js +122 -0
  103. package/dist/browser/profiles.js +85 -0
  104. package/dist/browser/pw-ai.js +2 -0
  105. package/dist/browser/pw-session.js +144 -0
  106. package/dist/browser/pw-tools-core.js +363 -0
  107. package/dist/browser/routes/agent.js +535 -0
  108. package/dist/browser/routes/basic.js +155 -0
  109. package/dist/browser/routes/index.js +8 -0
  110. package/dist/browser/routes/tabs.js +105 -0
  111. package/dist/browser/routes/utils.js +62 -0
  112. package/dist/browser/screenshot.js +40 -0
  113. package/dist/browser/server-context.js +377 -0
  114. package/dist/browser/server.js +81 -0
  115. package/dist/browser/target-id.js +18 -0
  116. package/dist/browser/trash.js +21 -0
  117. package/dist/canvas-host/a2ui/.bundle.hash +1 -0
  118. package/dist/canvas-host/a2ui/a2ui.bundle.js +17768 -0
  119. package/dist/canvas-host/a2ui/index.html +246 -0
  120. package/dist/canvas-host/a2ui.js +187 -0
  121. package/dist/canvas-host/server.js +382 -0
  122. package/dist/cli/browser-cli-actions-input.js +459 -0
  123. package/dist/cli/browser-cli-actions-observe.js +56 -0
  124. package/dist/cli/browser-cli-examples.js +31 -0
  125. package/dist/cli/browser-cli-inspect.js +97 -0
  126. package/dist/cli/browser-cli-manage.js +286 -0
  127. package/dist/cli/browser-cli-shared.js +1 -0
  128. package/dist/cli/browser-cli.js +26 -0
  129. package/dist/cli/canvas-cli.js +416 -0
  130. package/dist/cli/cron-cli.js +454 -0
  131. package/dist/cli/deps.js +17 -0
  132. package/dist/cli/dns-cli.js +180 -0
  133. package/dist/cli/gateway-cli.js +489 -0
  134. package/dist/cli/gateway-rpc.js +20 -0
  135. package/dist/cli/hooks-cli.js +135 -0
  136. package/dist/cli/models-cli.js +248 -0
  137. package/dist/cli/nodes-camera.js +57 -0
  138. package/dist/cli/nodes-canvas.js +26 -0
  139. package/dist/cli/nodes-cli.js +946 -0
  140. package/dist/cli/nodes-screen.js +37 -0
  141. package/dist/cli/parse-duration.js +20 -0
  142. package/dist/cli/ports.js +97 -0
  143. package/dist/cli/program.js +406 -0
  144. package/dist/cli/prompt.js +19 -0
  145. package/dist/cli/tui-cli.js +35 -0
  146. package/dist/cli/wait.js +8 -0
  147. package/dist/commands/agent.js +645 -0
  148. package/dist/commands/antigravity-oauth.js +327 -0
  149. package/dist/commands/configure.js +480 -0
  150. package/dist/commands/doctor.js +484 -0
  151. package/dist/commands/health.js +108 -0
  152. package/dist/commands/models/aliases.js +64 -0
  153. package/dist/commands/models/fallbacks.js +99 -0
  154. package/dist/commands/models/image-fallbacks.js +99 -0
  155. package/dist/commands/models/list.js +323 -0
  156. package/dist/commands/models/scan.js +266 -0
  157. package/dist/commands/models/set-image.js +23 -0
  158. package/dist/commands/models/set.js +23 -0
  159. package/dist/commands/models/shared.js +72 -0
  160. package/dist/commands/models.js +7 -0
  161. package/dist/commands/onboard-auth.js +70 -0
  162. package/dist/commands/onboard-helpers.js +295 -0
  163. package/dist/commands/onboard-interactive.js +17 -0
  164. package/dist/commands/onboard-non-interactive.js +202 -0
  165. package/dist/commands/onboard-providers.js +634 -0
  166. package/dist/commands/onboard-remote.js +120 -0
  167. package/dist/commands/onboard-skills.js +148 -0
  168. package/dist/commands/onboard-types.js +1 -0
  169. package/dist/commands/onboard.js +12 -0
  170. package/dist/commands/send.js +124 -0
  171. package/dist/commands/sessions.js +212 -0
  172. package/dist/commands/setup.js +58 -0
  173. package/dist/commands/signal-install.js +135 -0
  174. package/dist/commands/status.js +207 -0
  175. package/dist/commands/update.js +16 -0
  176. package/dist/config/config.js +6 -0
  177. package/dist/config/defaults.js +61 -0
  178. package/dist/config/io.js +147 -0
  179. package/dist/config/legacy-migrate.js +13 -0
  180. package/dist/config/legacy.js +159 -0
  181. package/dist/config/paths.js +71 -0
  182. package/dist/config/schema.js +150 -0
  183. package/dist/config/sessions.js +282 -0
  184. package/dist/config/talk.js +31 -0
  185. package/dist/config/types.js +1 -0
  186. package/dist/config/validation.js +29 -0
  187. package/dist/config/zod-schema.js +831 -0
  188. package/dist/control-ui/assets/index-BFID3yAA.css +1 -0
  189. package/dist/control-ui/assets/index-CE_axlTS.js +2235 -0
  190. package/dist/control-ui/assets/index-CE_axlTS.js.map +1 -0
  191. package/dist/control-ui/index.html +15 -0
  192. package/dist/cron/isolated-agent.js +499 -0
  193. package/dist/cron/run-log.js +72 -0
  194. package/dist/cron/schedule.js +24 -0
  195. package/dist/cron/service.js +471 -0
  196. package/dist/cron/store.js +43 -0
  197. package/dist/cron/types.js +1 -0
  198. package/dist/daemon/constants.js +10 -0
  199. package/dist/daemon/launchd.js +276 -0
  200. package/dist/daemon/legacy.js +63 -0
  201. package/dist/daemon/program-args.js +76 -0
  202. package/dist/daemon/schtasks.js +257 -0
  203. package/dist/daemon/service.js +60 -0
  204. package/dist/daemon/systemd.js +266 -0
  205. package/dist/discord/index.js +2 -0
  206. package/dist/discord/monitor.js +1188 -0
  207. package/dist/discord/probe.js +54 -0
  208. package/dist/discord/send.js +577 -0
  209. package/dist/discord/token.js +8 -0
  210. package/dist/gateway/auth.js +121 -0
  211. package/dist/gateway/call.js +94 -0
  212. package/dist/gateway/chat-attachments.js +41 -0
  213. package/dist/gateway/client.js +180 -0
  214. package/dist/gateway/config-reload.js +274 -0
  215. package/dist/gateway/control-ui.js +184 -0
  216. package/dist/gateway/hooks-mapping.js +282 -0
  217. package/dist/gateway/hooks.js +168 -0
  218. package/dist/gateway/net.js +29 -0
  219. package/dist/gateway/protocol/index.js +61 -0
  220. package/dist/gateway/protocol/schema.js +560 -0
  221. package/dist/gateway/server-bridge-subscriptions.js +93 -0
  222. package/dist/gateway/server-bridge.js +1013 -0
  223. package/dist/gateway/server-browser.js +12 -0
  224. package/dist/gateway/server-chat.js +159 -0
  225. package/dist/gateway/server-constants.js +8 -0
  226. package/dist/gateway/server-discovery.js +62 -0
  227. package/dist/gateway/server-http.js +165 -0
  228. package/dist/gateway/server-methods/agent-job.js +125 -0
  229. package/dist/gateway/server-methods/agent.js +250 -0
  230. package/dist/gateway/server-methods/chat.js +200 -0
  231. package/dist/gateway/server-methods/config.js +50 -0
  232. package/dist/gateway/server-methods/connect.js +6 -0
  233. package/dist/gateway/server-methods/cron.js +83 -0
  234. package/dist/gateway/server-methods/health.js +28 -0
  235. package/dist/gateway/server-methods/models.js +16 -0
  236. package/dist/gateway/server-methods/nodes.js +294 -0
  237. package/dist/gateway/server-methods/providers.js +217 -0
  238. package/dist/gateway/server-methods/send.js +166 -0
  239. package/dist/gateway/server-methods/sessions.js +305 -0
  240. package/dist/gateway/server-methods/skills.js +83 -0
  241. package/dist/gateway/server-methods/system.js +118 -0
  242. package/dist/gateway/server-methods/talk.js +22 -0
  243. package/dist/gateway/server-methods/types.js +1 -0
  244. package/dist/gateway/server-methods/voicewake.js +30 -0
  245. package/dist/gateway/server-methods/web.js +58 -0
  246. package/dist/gateway/server-methods/wizard.js +100 -0
  247. package/dist/gateway/server-methods.js +53 -0
  248. package/dist/gateway/server-providers.js +644 -0
  249. package/dist/gateway/server-shared.js +1 -0
  250. package/dist/gateway/server-utils.js +35 -0
  251. package/dist/gateway/server.js +1437 -0
  252. package/dist/gateway/session-utils.js +216 -0
  253. package/dist/gateway/ws-log.js +349 -0
  254. package/dist/gateway/ws-logging.js +8 -0
  255. package/dist/globals.js +41 -0
  256. package/dist/hooks/gmail-ops.js +236 -0
  257. package/dist/hooks/gmail-setup-utils.js +278 -0
  258. package/dist/hooks/gmail-watcher.js +175 -0
  259. package/dist/hooks/gmail.js +177 -0
  260. package/dist/imessage/client.js +165 -0
  261. package/dist/imessage/index.js +3 -0
  262. package/dist/imessage/monitor.js +272 -0
  263. package/dist/imessage/probe.js +26 -0
  264. package/dist/imessage/send.js +83 -0
  265. package/dist/imessage/targets.js +176 -0
  266. package/dist/index.js +50 -0
  267. package/dist/infra/agent-events.js +46 -0
  268. package/dist/infra/binaries.js +9 -0
  269. package/dist/infra/bonjour-discovery.js +163 -0
  270. package/dist/infra/bonjour.js +200 -0
  271. package/dist/infra/bridge/server.js +562 -0
  272. package/dist/infra/canvas-host-url.js +54 -0
  273. package/dist/infra/env.js +8 -0
  274. package/dist/infra/errors.js +28 -0
  275. package/dist/infra/gateway-lock.js +8 -0
  276. package/dist/infra/heartbeat-events.js +21 -0
  277. package/dist/infra/heartbeat-runner.js +453 -0
  278. package/dist/infra/heartbeat-wake.js +61 -0
  279. package/dist/infra/is-main.js +37 -0
  280. package/dist/infra/machine-name.js +40 -0
  281. package/dist/infra/node-pairing.js +211 -0
  282. package/dist/infra/pam.js +42 -0
  283. package/dist/infra/path-env.js +92 -0
  284. package/dist/infra/ports.js +87 -0
  285. package/dist/infra/provider-summary.js +80 -0
  286. package/dist/infra/restart.js +29 -0
  287. package/dist/infra/retry.js +16 -0
  288. package/dist/infra/runtime-guard.js +59 -0
  289. package/dist/infra/system-events.js +44 -0
  290. package/dist/infra/system-presence.js +216 -0
  291. package/dist/infra/tailnet.js +46 -0
  292. package/dist/infra/tailscale.js +149 -0
  293. package/dist/infra/voicewake.js +77 -0
  294. package/dist/infra/widearea-dns.js +123 -0
  295. package/dist/infra/ws.js +13 -0
  296. package/dist/logger.js +52 -0
  297. package/dist/logging.js +490 -0
  298. package/dist/macos/gateway-daemon.js +141 -0
  299. package/dist/macos/relay.js +46 -0
  300. package/dist/media/constants.js +33 -0
  301. package/dist/media/host.js +42 -0
  302. package/dist/media/image-ops.js +121 -0
  303. package/dist/media/mime.js +115 -0
  304. package/dist/media/parse.js +81 -0
  305. package/dist/media/server.js +64 -0
  306. package/dist/media/store.js +139 -0
  307. package/dist/process/command-queue.js +97 -0
  308. package/dist/process/exec.js +75 -0
  309. package/dist/protocol.schema.json +2918 -0
  310. package/dist/provider-web.js +8 -0
  311. package/dist/providers/web/index.js +2 -0
  312. package/dist/runtime.js +8 -0
  313. package/dist/sessions/send-policy.js +68 -0
  314. package/dist/signal/client.js +134 -0
  315. package/dist/signal/daemon.js +69 -0
  316. package/dist/signal/index.js +3 -0
  317. package/dist/signal/monitor.js +336 -0
  318. package/dist/signal/probe.js +46 -0
  319. package/dist/signal/send.js +91 -0
  320. package/dist/slack/actions.js +97 -0
  321. package/dist/slack/index.js +5 -0
  322. package/dist/slack/monitor.js +1029 -0
  323. package/dist/slack/probe.js +47 -0
  324. package/dist/slack/send.js +131 -0
  325. package/dist/slack/token.js +10 -0
  326. package/dist/telegram/bot.js +394 -0
  327. package/dist/telegram/download.js +34 -0
  328. package/dist/telegram/index.js +4 -0
  329. package/dist/telegram/monitor.js +47 -0
  330. package/dist/telegram/probe.js +63 -0
  331. package/dist/telegram/proxy.js +9 -0
  332. package/dist/telegram/send.js +138 -0
  333. package/dist/telegram/token.js +30 -0
  334. package/dist/telegram/webhook-set.js +12 -0
  335. package/dist/telegram/webhook.js +56 -0
  336. package/dist/tui/commands.js +74 -0
  337. package/dist/tui/components/assistant-message.js +16 -0
  338. package/dist/tui/components/chat-log.js +92 -0
  339. package/dist/tui/components/custom-editor.js +53 -0
  340. package/dist/tui/components/selectors.js +8 -0
  341. package/dist/tui/components/tool-execution.js +111 -0
  342. package/dist/tui/components/user-message.js +17 -0
  343. package/dist/tui/gateway-chat.js +140 -0
  344. package/dist/tui/layout.js +41 -0
  345. package/dist/tui/message-list.js +57 -0
  346. package/dist/tui/theme/theme.js +80 -0
  347. package/dist/tui/theme.js +25 -0
  348. package/dist/tui/tui.js +708 -0
  349. package/dist/utils.js +133 -0
  350. package/dist/version.js +18 -0
  351. package/dist/web/active-listener.js +7 -0
  352. package/dist/web/auto-reply.js +1203 -0
  353. package/dist/web/inbound.js +481 -0
  354. package/dist/web/login-qr.js +204 -0
  355. package/dist/web/login.js +59 -0
  356. package/dist/web/media.js +148 -0
  357. package/dist/web/outbound.js +67 -0
  358. package/dist/web/qr-image.js +97 -0
  359. package/dist/web/reconnect.js +60 -0
  360. package/dist/web/reply-heartbeat-wake.js +61 -0
  361. package/dist/web/session.js +346 -0
  362. package/dist/wizard/clack-prompter.js +56 -0
  363. package/dist/wizard/onboarding.js +452 -0
  364. package/dist/wizard/prompts.js +6 -0
  365. package/dist/wizard/session.js +203 -0
  366. package/docs/AGENTS.default.md +116 -0
  367. package/docs/CNAME +1 -0
  368. package/docs/RELEASING.md +64 -0
  369. package/docs/_config.yml +51 -0
  370. package/docs/_layouts/default.html +145 -0
  371. package/docs/agent-send.md +21 -0
  372. package/docs/agent.md +104 -0
  373. package/docs/android/connect.md +131 -0
  374. package/docs/architecture.md +89 -0
  375. package/docs/assets/markdown.css +130 -0
  376. package/docs/assets/pixel-lobster.svg +60 -0
  377. package/docs/assets/terminal.css +497 -0
  378. package/docs/assets/theme.js +55 -0
  379. package/docs/audio.md +50 -0
  380. package/docs/background-process.md +74 -0
  381. package/docs/bash.md +32 -0
  382. package/docs/bonjour.md +159 -0
  383. package/docs/browser.md +289 -0
  384. package/docs/camera.md +152 -0
  385. package/docs/clawd.md +199 -0
  386. package/docs/clawdbot-mac.md +104 -0
  387. package/docs/configuration.md +1177 -0
  388. package/docs/control-api.md +49 -0
  389. package/docs/control-ui.md +83 -0
  390. package/docs/cron.md +374 -0
  391. package/docs/dashboard.md +17 -0
  392. package/docs/device-models.md +46 -0
  393. package/docs/discord.md +293 -0
  394. package/docs/discovery.md +112 -0
  395. package/docs/docker.md +251 -0
  396. package/docs/docs.json +86 -0
  397. package/docs/doctor.md +47 -0
  398. package/docs/elevated.md +31 -0
  399. package/docs/faq.md +640 -0
  400. package/docs/gateway/pairing.md +109 -0
  401. package/docs/gateway-lock.md +28 -0
  402. package/docs/gateway.md +174 -0
  403. package/docs/gmail-pubsub.md +191 -0
  404. package/docs/grammy.md +27 -0
  405. package/docs/group-messages.md +71 -0
  406. package/docs/groups.md +78 -0
  407. package/docs/health.md +28 -0
  408. package/docs/heartbeat.md +64 -0
  409. package/docs/images.md +52 -0
  410. package/docs/imessage.md +63 -0
  411. package/docs/index.md +182 -0
  412. package/docs/ios/connect.md +177 -0
  413. package/docs/ios/spec.md +236 -0
  414. package/docs/location-command.md +95 -0
  415. package/docs/logging.md +99 -0
  416. package/docs/lore.md +131 -0
  417. package/docs/mac/bun.md +133 -0
  418. package/docs/mac/canvas.md +161 -0
  419. package/docs/mac/child-process.md +72 -0
  420. package/docs/mac/dev-setup.md +81 -0
  421. package/docs/mac/health.md +28 -0
  422. package/docs/mac/icon.md +26 -0
  423. package/docs/mac/logging.md +51 -0
  424. package/docs/mac/menu-bar.md +69 -0
  425. package/docs/mac/peekaboo.md +170 -0
  426. package/docs/mac/permissions.md +40 -0
  427. package/docs/mac/release.md +76 -0
  428. package/docs/mac/remote.md +57 -0
  429. package/docs/mac/signing.md +41 -0
  430. package/docs/mac/skills.md +27 -0
  431. package/docs/mac/voice-overlay.md +52 -0
  432. package/docs/mac/voicewake.md +56 -0
  433. package/docs/mac/webchat.md +27 -0
  434. package/docs/mac/xpc.md +40 -0
  435. package/docs/models.md +90 -0
  436. package/docs/nix.md +49 -0
  437. package/docs/nodes.md +157 -0
  438. package/docs/onboarding-config-protocol.md +29 -0
  439. package/docs/onboarding.md +185 -0
  440. package/docs/presence.md +133 -0
  441. package/docs/queue.md +78 -0
  442. package/docs/refactor/browser-control-simplification.md +58 -0
  443. package/docs/refactor/canvas-a2ui.md +93 -0
  444. package/docs/refactor/cli-unification.md +64 -0
  445. package/docs/refactor/gateway-client.md +31 -0
  446. package/docs/refactor/gateway.md +99 -0
  447. package/docs/refactor/new-arch.md +171 -0
  448. package/docs/refactor/tui.md +26 -0
  449. package/docs/refactor/web-gateway-troubleshooting.md +37 -0
  450. package/docs/refactor/webagent-session.md +46 -0
  451. package/docs/remote-gateway-readme.md +148 -0
  452. package/docs/remote.md +66 -0
  453. package/docs/research/memory.md +227 -0
  454. package/docs/rpc.md +35 -0
  455. package/docs/security.md +168 -0
  456. package/docs/session-tool.md +119 -0
  457. package/docs/session.md +84 -0
  458. package/docs/sessions.md +8 -0
  459. package/docs/setup.md +118 -0
  460. package/docs/signal.md +113 -0
  461. package/docs/skills-config.md +58 -0
  462. package/docs/skills.md +149 -0
  463. package/docs/slack.md +158 -0
  464. package/docs/surface.md +20 -0
  465. package/docs/tailscale.md +71 -0
  466. package/docs/talk.md +79 -0
  467. package/docs/telegram.md +90 -0
  468. package/docs/templates/AGENTS.md +126 -0
  469. package/docs/templates/BOOTSTRAP.md +53 -0
  470. package/docs/templates/IDENTITY.md +17 -0
  471. package/docs/templates/SOUL.md +41 -0
  472. package/docs/templates/TOOLS.md +41 -0
  473. package/docs/templates/USER.md +22 -0
  474. package/docs/test.md +35 -0
  475. package/docs/thinking.md +46 -0
  476. package/docs/tools.md +248 -0
  477. package/docs/troubleshooting.md +227 -0
  478. package/docs/tui.md +69 -0
  479. package/docs/typebox.md +42 -0
  480. package/docs/voicewake.md +61 -0
  481. package/docs/web.md +115 -0
  482. package/docs/webchat.md +34 -0
  483. package/docs/webhook.md +132 -0
  484. package/docs/whatsapp-clawd.jpg +0 -0
  485. package/docs/whatsapp.md +142 -0
  486. package/docs/wizard.md +158 -0
  487. package/package.json +186 -0
  488. package/skills/apple-notes/SKILL.md +50 -0
  489. package/skills/apple-reminders/SKILL.md +67 -0
  490. package/skills/bear-notes/SKILL.md +79 -0
  491. package/skills/bird/SKILL.md +25 -0
  492. package/skills/blogwatcher/SKILL.md +46 -0
  493. package/skills/blucli/SKILL.md +27 -0
  494. package/skills/brave-search/SKILL.md +30 -0
  495. package/skills/brave-search/scripts/content.mjs +53 -0
  496. package/skills/brave-search/scripts/search.mjs +79 -0
  497. package/skills/camsnap/SKILL.md +25 -0
  498. package/skills/clawdhub/SKILL.md +53 -0
  499. package/skills/coding-agent/SKILL.md +275 -0
  500. package/skills/discord/SKILL.md +369 -0
  501. package/skills/eightctl/SKILL.md +29 -0
  502. package/skills/food-order/SKILL.md +41 -0
  503. package/skills/gemini/SKILL.md +23 -0
  504. package/skills/gifgrep/SKILL.md +47 -0
  505. package/skills/github/SKILL.md +47 -0
  506. package/skills/gog/SKILL.md +36 -0
  507. package/skills/goplaces/SKILL.md +30 -0
  508. package/skills/imsg/SKILL.md +25 -0
  509. package/skills/local-places/SERVER_README.md +101 -0
  510. package/skills/local-places/SKILL.md +91 -0
  511. package/skills/local-places/pyproject.toml +27 -0
  512. package/skills/local-places/src/local_places/__init__.py +2 -0
  513. package/skills/local-places/src/local_places/__pycache__/__init__.cpython-314.pyc +0 -0
  514. package/skills/local-places/src/local_places/__pycache__/google_places.cpython-314.pyc +0 -0
  515. package/skills/local-places/src/local_places/__pycache__/main.cpython-314.pyc +0 -0
  516. package/skills/local-places/src/local_places/__pycache__/schemas.cpython-314.pyc +0 -0
  517. package/skills/local-places/src/local_places/google_places.py +314 -0
  518. package/skills/local-places/src/local_places/main.py +65 -0
  519. package/skills/local-places/src/local_places/schemas.py +107 -0
  520. package/skills/mcporter/SKILL.md +38 -0
  521. package/skills/nano-banana-pro/SKILL.md +29 -0
  522. package/skills/nano-banana-pro/scripts/generate_image.py +167 -0
  523. package/skills/nano-pdf/SKILL.md +20 -0
  524. package/skills/notion/SKILL.md +156 -0
  525. package/skills/obsidian/SKILL.md +55 -0
  526. package/skills/openai-image-gen/SKILL.md +31 -0
  527. package/skills/openai-image-gen/scripts/gen.py +173 -0
  528. package/skills/openai-whisper/SKILL.md +19 -0
  529. package/skills/openai-whisper-api/SKILL.md +43 -0
  530. package/skills/openai-whisper-api/scripts/transcribe.sh +85 -0
  531. package/skills/openhue/SKILL.md +30 -0
  532. package/skills/oracle/SKILL.md +105 -0
  533. package/skills/ordercli/SKILL.md +47 -0
  534. package/skills/peekaboo/SKILL.md +153 -0
  535. package/skills/qmd/SKILL.md +26 -0
  536. package/skills/sag/SKILL.md +62 -0
  537. package/skills/slack/SKILL.md +143 -0
  538. package/skills/songsee/SKILL.md +29 -0
  539. package/skills/sonoscli/SKILL.md +26 -0
  540. package/skills/spotify-player/SKILL.md +34 -0
  541. package/skills/summarize/SKILL.md +49 -0
  542. package/skills/things-mac/SKILL.md +61 -0
  543. package/skills/tmux/SKILL.md +121 -0
  544. package/skills/tmux/scripts/find-sessions.sh +112 -0
  545. package/skills/tmux/scripts/wait-for-text.sh +83 -0
  546. package/skills/trello/SKILL.md +84 -0
  547. package/skills/video-frames/SKILL.md +29 -0
  548. package/skills/video-frames/scripts/frame.sh +81 -0
  549. package/skills/wacli/SKILL.md +42 -0
  550. package/skills/weather/SKILL.md +49 -0
@@ -0,0 +1,2918 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://clawdbot.dev/protocol.schema.json",
4
+ "title": "Clawdbot Gateway Protocol",
5
+ "description": "Handshake, request/response, and event frames for the Gateway WebSocket.",
6
+ "oneOf": [
7
+ {
8
+ "$ref": "#/definitions/RequestFrame"
9
+ },
10
+ {
11
+ "$ref": "#/definitions/ResponseFrame"
12
+ },
13
+ {
14
+ "$ref": "#/definitions/EventFrame"
15
+ }
16
+ ],
17
+ "discriminator": {
18
+ "propertyName": "type",
19
+ "mapping": {
20
+ "req": "#/definitions/RequestFrame",
21
+ "res": "#/definitions/ResponseFrame",
22
+ "event": "#/definitions/EventFrame"
23
+ }
24
+ },
25
+ "definitions": {
26
+ "ConnectParams": {
27
+ "additionalProperties": false,
28
+ "type": "object",
29
+ "required": [
30
+ "minProtocol",
31
+ "maxProtocol",
32
+ "client"
33
+ ],
34
+ "properties": {
35
+ "minProtocol": {
36
+ "minimum": 1,
37
+ "type": "integer"
38
+ },
39
+ "maxProtocol": {
40
+ "minimum": 1,
41
+ "type": "integer"
42
+ },
43
+ "client": {
44
+ "additionalProperties": false,
45
+ "type": "object",
46
+ "required": [
47
+ "name",
48
+ "version",
49
+ "platform",
50
+ "mode"
51
+ ],
52
+ "properties": {
53
+ "name": {
54
+ "minLength": 1,
55
+ "type": "string"
56
+ },
57
+ "version": {
58
+ "minLength": 1,
59
+ "type": "string"
60
+ },
61
+ "platform": {
62
+ "minLength": 1,
63
+ "type": "string"
64
+ },
65
+ "deviceFamily": {
66
+ "minLength": 1,
67
+ "type": "string"
68
+ },
69
+ "modelIdentifier": {
70
+ "minLength": 1,
71
+ "type": "string"
72
+ },
73
+ "mode": {
74
+ "minLength": 1,
75
+ "type": "string"
76
+ },
77
+ "instanceId": {
78
+ "minLength": 1,
79
+ "type": "string"
80
+ }
81
+ }
82
+ },
83
+ "caps": {
84
+ "default": [],
85
+ "type": "array",
86
+ "items": {
87
+ "minLength": 1,
88
+ "type": "string"
89
+ }
90
+ },
91
+ "auth": {
92
+ "additionalProperties": false,
93
+ "type": "object",
94
+ "properties": {
95
+ "token": {
96
+ "type": "string"
97
+ },
98
+ "password": {
99
+ "type": "string"
100
+ }
101
+ }
102
+ },
103
+ "locale": {
104
+ "type": "string"
105
+ },
106
+ "userAgent": {
107
+ "type": "string"
108
+ }
109
+ }
110
+ },
111
+ "HelloOk": {
112
+ "additionalProperties": false,
113
+ "type": "object",
114
+ "required": [
115
+ "type",
116
+ "protocol",
117
+ "server",
118
+ "features",
119
+ "snapshot",
120
+ "policy"
121
+ ],
122
+ "properties": {
123
+ "type": {
124
+ "const": "hello-ok",
125
+ "type": "string"
126
+ },
127
+ "protocol": {
128
+ "minimum": 1,
129
+ "type": "integer"
130
+ },
131
+ "server": {
132
+ "additionalProperties": false,
133
+ "type": "object",
134
+ "required": [
135
+ "version",
136
+ "connId"
137
+ ],
138
+ "properties": {
139
+ "version": {
140
+ "minLength": 1,
141
+ "type": "string"
142
+ },
143
+ "commit": {
144
+ "minLength": 1,
145
+ "type": "string"
146
+ },
147
+ "host": {
148
+ "minLength": 1,
149
+ "type": "string"
150
+ },
151
+ "connId": {
152
+ "minLength": 1,
153
+ "type": "string"
154
+ }
155
+ }
156
+ },
157
+ "features": {
158
+ "additionalProperties": false,
159
+ "type": "object",
160
+ "required": [
161
+ "methods",
162
+ "events"
163
+ ],
164
+ "properties": {
165
+ "methods": {
166
+ "type": "array",
167
+ "items": {
168
+ "minLength": 1,
169
+ "type": "string"
170
+ }
171
+ },
172
+ "events": {
173
+ "type": "array",
174
+ "items": {
175
+ "minLength": 1,
176
+ "type": "string"
177
+ }
178
+ }
179
+ }
180
+ },
181
+ "snapshot": {
182
+ "additionalProperties": false,
183
+ "type": "object",
184
+ "required": [
185
+ "presence",
186
+ "health",
187
+ "stateVersion",
188
+ "uptimeMs"
189
+ ],
190
+ "properties": {
191
+ "presence": {
192
+ "type": "array",
193
+ "items": {
194
+ "additionalProperties": false,
195
+ "type": "object",
196
+ "required": [
197
+ "ts"
198
+ ],
199
+ "properties": {
200
+ "host": {
201
+ "minLength": 1,
202
+ "type": "string"
203
+ },
204
+ "ip": {
205
+ "minLength": 1,
206
+ "type": "string"
207
+ },
208
+ "version": {
209
+ "minLength": 1,
210
+ "type": "string"
211
+ },
212
+ "platform": {
213
+ "minLength": 1,
214
+ "type": "string"
215
+ },
216
+ "deviceFamily": {
217
+ "minLength": 1,
218
+ "type": "string"
219
+ },
220
+ "modelIdentifier": {
221
+ "minLength": 1,
222
+ "type": "string"
223
+ },
224
+ "mode": {
225
+ "minLength": 1,
226
+ "type": "string"
227
+ },
228
+ "lastInputSeconds": {
229
+ "minimum": 0,
230
+ "type": "integer"
231
+ },
232
+ "reason": {
233
+ "minLength": 1,
234
+ "type": "string"
235
+ },
236
+ "tags": {
237
+ "type": "array",
238
+ "items": {
239
+ "minLength": 1,
240
+ "type": "string"
241
+ }
242
+ },
243
+ "text": {
244
+ "type": "string"
245
+ },
246
+ "ts": {
247
+ "minimum": 0,
248
+ "type": "integer"
249
+ },
250
+ "instanceId": {
251
+ "minLength": 1,
252
+ "type": "string"
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "health": {},
258
+ "stateVersion": {
259
+ "additionalProperties": false,
260
+ "type": "object",
261
+ "required": [
262
+ "presence",
263
+ "health"
264
+ ],
265
+ "properties": {
266
+ "presence": {
267
+ "minimum": 0,
268
+ "type": "integer"
269
+ },
270
+ "health": {
271
+ "minimum": 0,
272
+ "type": "integer"
273
+ }
274
+ }
275
+ },
276
+ "uptimeMs": {
277
+ "minimum": 0,
278
+ "type": "integer"
279
+ },
280
+ "configPath": {
281
+ "minLength": 1,
282
+ "type": "string"
283
+ },
284
+ "stateDir": {
285
+ "minLength": 1,
286
+ "type": "string"
287
+ }
288
+ }
289
+ },
290
+ "canvasHostUrl": {
291
+ "minLength": 1,
292
+ "type": "string"
293
+ },
294
+ "policy": {
295
+ "additionalProperties": false,
296
+ "type": "object",
297
+ "required": [
298
+ "maxPayload",
299
+ "maxBufferedBytes",
300
+ "tickIntervalMs"
301
+ ],
302
+ "properties": {
303
+ "maxPayload": {
304
+ "minimum": 1,
305
+ "type": "integer"
306
+ },
307
+ "maxBufferedBytes": {
308
+ "minimum": 1,
309
+ "type": "integer"
310
+ },
311
+ "tickIntervalMs": {
312
+ "minimum": 1,
313
+ "type": "integer"
314
+ }
315
+ }
316
+ }
317
+ }
318
+ },
319
+ "RequestFrame": {
320
+ "additionalProperties": false,
321
+ "type": "object",
322
+ "required": [
323
+ "type",
324
+ "id",
325
+ "method"
326
+ ],
327
+ "properties": {
328
+ "type": {
329
+ "const": "req",
330
+ "type": "string"
331
+ },
332
+ "id": {
333
+ "minLength": 1,
334
+ "type": "string"
335
+ },
336
+ "method": {
337
+ "minLength": 1,
338
+ "type": "string"
339
+ },
340
+ "params": {}
341
+ }
342
+ },
343
+ "ResponseFrame": {
344
+ "additionalProperties": false,
345
+ "type": "object",
346
+ "required": [
347
+ "type",
348
+ "id",
349
+ "ok"
350
+ ],
351
+ "properties": {
352
+ "type": {
353
+ "const": "res",
354
+ "type": "string"
355
+ },
356
+ "id": {
357
+ "minLength": 1,
358
+ "type": "string"
359
+ },
360
+ "ok": {
361
+ "type": "boolean"
362
+ },
363
+ "payload": {},
364
+ "error": {
365
+ "additionalProperties": false,
366
+ "type": "object",
367
+ "required": [
368
+ "code",
369
+ "message"
370
+ ],
371
+ "properties": {
372
+ "code": {
373
+ "minLength": 1,
374
+ "type": "string"
375
+ },
376
+ "message": {
377
+ "minLength": 1,
378
+ "type": "string"
379
+ },
380
+ "details": {},
381
+ "retryable": {
382
+ "type": "boolean"
383
+ },
384
+ "retryAfterMs": {
385
+ "minimum": 0,
386
+ "type": "integer"
387
+ }
388
+ }
389
+ }
390
+ }
391
+ },
392
+ "EventFrame": {
393
+ "additionalProperties": false,
394
+ "type": "object",
395
+ "required": [
396
+ "type",
397
+ "event"
398
+ ],
399
+ "properties": {
400
+ "type": {
401
+ "const": "event",
402
+ "type": "string"
403
+ },
404
+ "event": {
405
+ "minLength": 1,
406
+ "type": "string"
407
+ },
408
+ "payload": {},
409
+ "seq": {
410
+ "minimum": 0,
411
+ "type": "integer"
412
+ },
413
+ "stateVersion": {
414
+ "additionalProperties": false,
415
+ "type": "object",
416
+ "required": [
417
+ "presence",
418
+ "health"
419
+ ],
420
+ "properties": {
421
+ "presence": {
422
+ "minimum": 0,
423
+ "type": "integer"
424
+ },
425
+ "health": {
426
+ "minimum": 0,
427
+ "type": "integer"
428
+ }
429
+ }
430
+ }
431
+ }
432
+ },
433
+ "GatewayFrame": {
434
+ "discriminator": "type",
435
+ "anyOf": [
436
+ {
437
+ "additionalProperties": false,
438
+ "type": "object",
439
+ "required": [
440
+ "type",
441
+ "id",
442
+ "method"
443
+ ],
444
+ "properties": {
445
+ "type": {
446
+ "const": "req",
447
+ "type": "string"
448
+ },
449
+ "id": {
450
+ "minLength": 1,
451
+ "type": "string"
452
+ },
453
+ "method": {
454
+ "minLength": 1,
455
+ "type": "string"
456
+ },
457
+ "params": {}
458
+ }
459
+ },
460
+ {
461
+ "additionalProperties": false,
462
+ "type": "object",
463
+ "required": [
464
+ "type",
465
+ "id",
466
+ "ok"
467
+ ],
468
+ "properties": {
469
+ "type": {
470
+ "const": "res",
471
+ "type": "string"
472
+ },
473
+ "id": {
474
+ "minLength": 1,
475
+ "type": "string"
476
+ },
477
+ "ok": {
478
+ "type": "boolean"
479
+ },
480
+ "payload": {},
481
+ "error": {
482
+ "additionalProperties": false,
483
+ "type": "object",
484
+ "required": [
485
+ "code",
486
+ "message"
487
+ ],
488
+ "properties": {
489
+ "code": {
490
+ "minLength": 1,
491
+ "type": "string"
492
+ },
493
+ "message": {
494
+ "minLength": 1,
495
+ "type": "string"
496
+ },
497
+ "details": {},
498
+ "retryable": {
499
+ "type": "boolean"
500
+ },
501
+ "retryAfterMs": {
502
+ "minimum": 0,
503
+ "type": "integer"
504
+ }
505
+ }
506
+ }
507
+ }
508
+ },
509
+ {
510
+ "additionalProperties": false,
511
+ "type": "object",
512
+ "required": [
513
+ "type",
514
+ "event"
515
+ ],
516
+ "properties": {
517
+ "type": {
518
+ "const": "event",
519
+ "type": "string"
520
+ },
521
+ "event": {
522
+ "minLength": 1,
523
+ "type": "string"
524
+ },
525
+ "payload": {},
526
+ "seq": {
527
+ "minimum": 0,
528
+ "type": "integer"
529
+ },
530
+ "stateVersion": {
531
+ "additionalProperties": false,
532
+ "type": "object",
533
+ "required": [
534
+ "presence",
535
+ "health"
536
+ ],
537
+ "properties": {
538
+ "presence": {
539
+ "minimum": 0,
540
+ "type": "integer"
541
+ },
542
+ "health": {
543
+ "minimum": 0,
544
+ "type": "integer"
545
+ }
546
+ }
547
+ }
548
+ }
549
+ }
550
+ ]
551
+ },
552
+ "PresenceEntry": {
553
+ "additionalProperties": false,
554
+ "type": "object",
555
+ "required": [
556
+ "ts"
557
+ ],
558
+ "properties": {
559
+ "host": {
560
+ "minLength": 1,
561
+ "type": "string"
562
+ },
563
+ "ip": {
564
+ "minLength": 1,
565
+ "type": "string"
566
+ },
567
+ "version": {
568
+ "minLength": 1,
569
+ "type": "string"
570
+ },
571
+ "platform": {
572
+ "minLength": 1,
573
+ "type": "string"
574
+ },
575
+ "deviceFamily": {
576
+ "minLength": 1,
577
+ "type": "string"
578
+ },
579
+ "modelIdentifier": {
580
+ "minLength": 1,
581
+ "type": "string"
582
+ },
583
+ "mode": {
584
+ "minLength": 1,
585
+ "type": "string"
586
+ },
587
+ "lastInputSeconds": {
588
+ "minimum": 0,
589
+ "type": "integer"
590
+ },
591
+ "reason": {
592
+ "minLength": 1,
593
+ "type": "string"
594
+ },
595
+ "tags": {
596
+ "type": "array",
597
+ "items": {
598
+ "minLength": 1,
599
+ "type": "string"
600
+ }
601
+ },
602
+ "text": {
603
+ "type": "string"
604
+ },
605
+ "ts": {
606
+ "minimum": 0,
607
+ "type": "integer"
608
+ },
609
+ "instanceId": {
610
+ "minLength": 1,
611
+ "type": "string"
612
+ }
613
+ }
614
+ },
615
+ "StateVersion": {
616
+ "additionalProperties": false,
617
+ "type": "object",
618
+ "required": [
619
+ "presence",
620
+ "health"
621
+ ],
622
+ "properties": {
623
+ "presence": {
624
+ "minimum": 0,
625
+ "type": "integer"
626
+ },
627
+ "health": {
628
+ "minimum": 0,
629
+ "type": "integer"
630
+ }
631
+ }
632
+ },
633
+ "Snapshot": {
634
+ "additionalProperties": false,
635
+ "type": "object",
636
+ "required": [
637
+ "presence",
638
+ "health",
639
+ "stateVersion",
640
+ "uptimeMs"
641
+ ],
642
+ "properties": {
643
+ "presence": {
644
+ "type": "array",
645
+ "items": {
646
+ "additionalProperties": false,
647
+ "type": "object",
648
+ "required": [
649
+ "ts"
650
+ ],
651
+ "properties": {
652
+ "host": {
653
+ "minLength": 1,
654
+ "type": "string"
655
+ },
656
+ "ip": {
657
+ "minLength": 1,
658
+ "type": "string"
659
+ },
660
+ "version": {
661
+ "minLength": 1,
662
+ "type": "string"
663
+ },
664
+ "platform": {
665
+ "minLength": 1,
666
+ "type": "string"
667
+ },
668
+ "deviceFamily": {
669
+ "minLength": 1,
670
+ "type": "string"
671
+ },
672
+ "modelIdentifier": {
673
+ "minLength": 1,
674
+ "type": "string"
675
+ },
676
+ "mode": {
677
+ "minLength": 1,
678
+ "type": "string"
679
+ },
680
+ "lastInputSeconds": {
681
+ "minimum": 0,
682
+ "type": "integer"
683
+ },
684
+ "reason": {
685
+ "minLength": 1,
686
+ "type": "string"
687
+ },
688
+ "tags": {
689
+ "type": "array",
690
+ "items": {
691
+ "minLength": 1,
692
+ "type": "string"
693
+ }
694
+ },
695
+ "text": {
696
+ "type": "string"
697
+ },
698
+ "ts": {
699
+ "minimum": 0,
700
+ "type": "integer"
701
+ },
702
+ "instanceId": {
703
+ "minLength": 1,
704
+ "type": "string"
705
+ }
706
+ }
707
+ }
708
+ },
709
+ "health": {},
710
+ "stateVersion": {
711
+ "additionalProperties": false,
712
+ "type": "object",
713
+ "required": [
714
+ "presence",
715
+ "health"
716
+ ],
717
+ "properties": {
718
+ "presence": {
719
+ "minimum": 0,
720
+ "type": "integer"
721
+ },
722
+ "health": {
723
+ "minimum": 0,
724
+ "type": "integer"
725
+ }
726
+ }
727
+ },
728
+ "uptimeMs": {
729
+ "minimum": 0,
730
+ "type": "integer"
731
+ },
732
+ "configPath": {
733
+ "minLength": 1,
734
+ "type": "string"
735
+ },
736
+ "stateDir": {
737
+ "minLength": 1,
738
+ "type": "string"
739
+ }
740
+ }
741
+ },
742
+ "ErrorShape": {
743
+ "additionalProperties": false,
744
+ "type": "object",
745
+ "required": [
746
+ "code",
747
+ "message"
748
+ ],
749
+ "properties": {
750
+ "code": {
751
+ "minLength": 1,
752
+ "type": "string"
753
+ },
754
+ "message": {
755
+ "minLength": 1,
756
+ "type": "string"
757
+ },
758
+ "details": {},
759
+ "retryable": {
760
+ "type": "boolean"
761
+ },
762
+ "retryAfterMs": {
763
+ "minimum": 0,
764
+ "type": "integer"
765
+ }
766
+ }
767
+ },
768
+ "AgentEvent": {
769
+ "additionalProperties": false,
770
+ "type": "object",
771
+ "required": [
772
+ "runId",
773
+ "seq",
774
+ "stream",
775
+ "ts",
776
+ "data"
777
+ ],
778
+ "properties": {
779
+ "runId": {
780
+ "minLength": 1,
781
+ "type": "string"
782
+ },
783
+ "seq": {
784
+ "minimum": 0,
785
+ "type": "integer"
786
+ },
787
+ "stream": {
788
+ "minLength": 1,
789
+ "type": "string"
790
+ },
791
+ "ts": {
792
+ "minimum": 0,
793
+ "type": "integer"
794
+ },
795
+ "data": {
796
+ "type": "object",
797
+ "patternProperties": {
798
+ "^(.*)$": {}
799
+ }
800
+ }
801
+ }
802
+ },
803
+ "SendParams": {
804
+ "additionalProperties": false,
805
+ "type": "object",
806
+ "required": [
807
+ "to",
808
+ "message",
809
+ "idempotencyKey"
810
+ ],
811
+ "properties": {
812
+ "to": {
813
+ "minLength": 1,
814
+ "type": "string"
815
+ },
816
+ "message": {
817
+ "minLength": 1,
818
+ "type": "string"
819
+ },
820
+ "mediaUrl": {
821
+ "type": "string"
822
+ },
823
+ "gifPlayback": {
824
+ "type": "boolean"
825
+ },
826
+ "provider": {
827
+ "type": "string"
828
+ },
829
+ "idempotencyKey": {
830
+ "minLength": 1,
831
+ "type": "string"
832
+ }
833
+ }
834
+ },
835
+ "AgentParams": {
836
+ "additionalProperties": false,
837
+ "type": "object",
838
+ "required": [
839
+ "message",
840
+ "idempotencyKey"
841
+ ],
842
+ "properties": {
843
+ "message": {
844
+ "minLength": 1,
845
+ "type": "string"
846
+ },
847
+ "to": {
848
+ "type": "string"
849
+ },
850
+ "sessionId": {
851
+ "type": "string"
852
+ },
853
+ "sessionKey": {
854
+ "type": "string"
855
+ },
856
+ "thinking": {
857
+ "type": "string"
858
+ },
859
+ "deliver": {
860
+ "type": "boolean"
861
+ },
862
+ "channel": {
863
+ "type": "string"
864
+ },
865
+ "timeout": {
866
+ "minimum": 0,
867
+ "type": "integer"
868
+ },
869
+ "lane": {
870
+ "type": "string"
871
+ },
872
+ "extraSystemPrompt": {
873
+ "type": "string"
874
+ },
875
+ "idempotencyKey": {
876
+ "minLength": 1,
877
+ "type": "string"
878
+ }
879
+ }
880
+ },
881
+ "AgentWaitParams": {
882
+ "additionalProperties": false,
883
+ "type": "object",
884
+ "required": [
885
+ "runId"
886
+ ],
887
+ "properties": {
888
+ "runId": {
889
+ "minLength": 1,
890
+ "type": "string"
891
+ },
892
+ "afterMs": {
893
+ "minimum": 0,
894
+ "type": "integer"
895
+ },
896
+ "timeoutMs": {
897
+ "minimum": 0,
898
+ "type": "integer"
899
+ }
900
+ }
901
+ },
902
+ "WakeParams": {
903
+ "additionalProperties": false,
904
+ "type": "object",
905
+ "required": [
906
+ "mode",
907
+ "text"
908
+ ],
909
+ "properties": {
910
+ "mode": {
911
+ "anyOf": [
912
+ {
913
+ "const": "now",
914
+ "type": "string"
915
+ },
916
+ {
917
+ "const": "next-heartbeat",
918
+ "type": "string"
919
+ }
920
+ ]
921
+ },
922
+ "text": {
923
+ "minLength": 1,
924
+ "type": "string"
925
+ }
926
+ }
927
+ },
928
+ "NodePairRequestParams": {
929
+ "additionalProperties": false,
930
+ "type": "object",
931
+ "required": [
932
+ "nodeId"
933
+ ],
934
+ "properties": {
935
+ "nodeId": {
936
+ "minLength": 1,
937
+ "type": "string"
938
+ },
939
+ "displayName": {
940
+ "minLength": 1,
941
+ "type": "string"
942
+ },
943
+ "platform": {
944
+ "minLength": 1,
945
+ "type": "string"
946
+ },
947
+ "version": {
948
+ "minLength": 1,
949
+ "type": "string"
950
+ },
951
+ "deviceFamily": {
952
+ "minLength": 1,
953
+ "type": "string"
954
+ },
955
+ "modelIdentifier": {
956
+ "minLength": 1,
957
+ "type": "string"
958
+ },
959
+ "caps": {
960
+ "type": "array",
961
+ "items": {
962
+ "minLength": 1,
963
+ "type": "string"
964
+ }
965
+ },
966
+ "commands": {
967
+ "type": "array",
968
+ "items": {
969
+ "minLength": 1,
970
+ "type": "string"
971
+ }
972
+ },
973
+ "remoteIp": {
974
+ "minLength": 1,
975
+ "type": "string"
976
+ },
977
+ "silent": {
978
+ "type": "boolean"
979
+ }
980
+ }
981
+ },
982
+ "NodePairListParams": {
983
+ "additionalProperties": false,
984
+ "type": "object",
985
+ "properties": {}
986
+ },
987
+ "NodePairApproveParams": {
988
+ "additionalProperties": false,
989
+ "type": "object",
990
+ "required": [
991
+ "requestId"
992
+ ],
993
+ "properties": {
994
+ "requestId": {
995
+ "minLength": 1,
996
+ "type": "string"
997
+ }
998
+ }
999
+ },
1000
+ "NodePairRejectParams": {
1001
+ "additionalProperties": false,
1002
+ "type": "object",
1003
+ "required": [
1004
+ "requestId"
1005
+ ],
1006
+ "properties": {
1007
+ "requestId": {
1008
+ "minLength": 1,
1009
+ "type": "string"
1010
+ }
1011
+ }
1012
+ },
1013
+ "NodePairVerifyParams": {
1014
+ "additionalProperties": false,
1015
+ "type": "object",
1016
+ "required": [
1017
+ "nodeId",
1018
+ "token"
1019
+ ],
1020
+ "properties": {
1021
+ "nodeId": {
1022
+ "minLength": 1,
1023
+ "type": "string"
1024
+ },
1025
+ "token": {
1026
+ "minLength": 1,
1027
+ "type": "string"
1028
+ }
1029
+ }
1030
+ },
1031
+ "NodeRenameParams": {
1032
+ "additionalProperties": false,
1033
+ "type": "object",
1034
+ "required": [
1035
+ "nodeId",
1036
+ "displayName"
1037
+ ],
1038
+ "properties": {
1039
+ "nodeId": {
1040
+ "minLength": 1,
1041
+ "type": "string"
1042
+ },
1043
+ "displayName": {
1044
+ "minLength": 1,
1045
+ "type": "string"
1046
+ }
1047
+ }
1048
+ },
1049
+ "NodeListParams": {
1050
+ "additionalProperties": false,
1051
+ "type": "object",
1052
+ "properties": {}
1053
+ },
1054
+ "NodeDescribeParams": {
1055
+ "additionalProperties": false,
1056
+ "type": "object",
1057
+ "required": [
1058
+ "nodeId"
1059
+ ],
1060
+ "properties": {
1061
+ "nodeId": {
1062
+ "minLength": 1,
1063
+ "type": "string"
1064
+ }
1065
+ }
1066
+ },
1067
+ "NodeInvokeParams": {
1068
+ "additionalProperties": false,
1069
+ "type": "object",
1070
+ "required": [
1071
+ "nodeId",
1072
+ "command",
1073
+ "idempotencyKey"
1074
+ ],
1075
+ "properties": {
1076
+ "nodeId": {
1077
+ "minLength": 1,
1078
+ "type": "string"
1079
+ },
1080
+ "command": {
1081
+ "minLength": 1,
1082
+ "type": "string"
1083
+ },
1084
+ "params": {},
1085
+ "timeoutMs": {
1086
+ "minimum": 0,
1087
+ "type": "integer"
1088
+ },
1089
+ "idempotencyKey": {
1090
+ "minLength": 1,
1091
+ "type": "string"
1092
+ }
1093
+ }
1094
+ },
1095
+ "SessionsListParams": {
1096
+ "additionalProperties": false,
1097
+ "type": "object",
1098
+ "properties": {
1099
+ "limit": {
1100
+ "minimum": 1,
1101
+ "type": "integer"
1102
+ },
1103
+ "activeMinutes": {
1104
+ "minimum": 1,
1105
+ "type": "integer"
1106
+ },
1107
+ "includeGlobal": {
1108
+ "type": "boolean"
1109
+ },
1110
+ "includeUnknown": {
1111
+ "type": "boolean"
1112
+ }
1113
+ }
1114
+ },
1115
+ "SessionsPatchParams": {
1116
+ "additionalProperties": false,
1117
+ "type": "object",
1118
+ "required": [
1119
+ "key"
1120
+ ],
1121
+ "properties": {
1122
+ "key": {
1123
+ "minLength": 1,
1124
+ "type": "string"
1125
+ },
1126
+ "thinkingLevel": {
1127
+ "anyOf": [
1128
+ {
1129
+ "minLength": 1,
1130
+ "type": "string"
1131
+ },
1132
+ {
1133
+ "type": "null"
1134
+ }
1135
+ ]
1136
+ },
1137
+ "verboseLevel": {
1138
+ "anyOf": [
1139
+ {
1140
+ "minLength": 1,
1141
+ "type": "string"
1142
+ },
1143
+ {
1144
+ "type": "null"
1145
+ }
1146
+ ]
1147
+ },
1148
+ "elevatedLevel": {
1149
+ "anyOf": [
1150
+ {
1151
+ "minLength": 1,
1152
+ "type": "string"
1153
+ },
1154
+ {
1155
+ "type": "null"
1156
+ }
1157
+ ]
1158
+ },
1159
+ "model": {
1160
+ "anyOf": [
1161
+ {
1162
+ "minLength": 1,
1163
+ "type": "string"
1164
+ },
1165
+ {
1166
+ "type": "null"
1167
+ }
1168
+ ]
1169
+ },
1170
+ "sendPolicy": {
1171
+ "anyOf": [
1172
+ {
1173
+ "const": "allow",
1174
+ "type": "string"
1175
+ },
1176
+ {
1177
+ "const": "deny",
1178
+ "type": "string"
1179
+ },
1180
+ {
1181
+ "type": "null"
1182
+ }
1183
+ ]
1184
+ },
1185
+ "groupActivation": {
1186
+ "anyOf": [
1187
+ {
1188
+ "const": "mention",
1189
+ "type": "string"
1190
+ },
1191
+ {
1192
+ "const": "always",
1193
+ "type": "string"
1194
+ },
1195
+ {
1196
+ "type": "null"
1197
+ }
1198
+ ]
1199
+ }
1200
+ }
1201
+ },
1202
+ "SessionsResetParams": {
1203
+ "additionalProperties": false,
1204
+ "type": "object",
1205
+ "required": [
1206
+ "key"
1207
+ ],
1208
+ "properties": {
1209
+ "key": {
1210
+ "minLength": 1,
1211
+ "type": "string"
1212
+ }
1213
+ }
1214
+ },
1215
+ "SessionsDeleteParams": {
1216
+ "additionalProperties": false,
1217
+ "type": "object",
1218
+ "required": [
1219
+ "key"
1220
+ ],
1221
+ "properties": {
1222
+ "key": {
1223
+ "minLength": 1,
1224
+ "type": "string"
1225
+ },
1226
+ "deleteTranscript": {
1227
+ "type": "boolean"
1228
+ }
1229
+ }
1230
+ },
1231
+ "SessionsCompactParams": {
1232
+ "additionalProperties": false,
1233
+ "type": "object",
1234
+ "required": [
1235
+ "key"
1236
+ ],
1237
+ "properties": {
1238
+ "key": {
1239
+ "minLength": 1,
1240
+ "type": "string"
1241
+ },
1242
+ "maxLines": {
1243
+ "minimum": 1,
1244
+ "type": "integer"
1245
+ }
1246
+ }
1247
+ },
1248
+ "ConfigGetParams": {
1249
+ "additionalProperties": false,
1250
+ "type": "object",
1251
+ "properties": {}
1252
+ },
1253
+ "ConfigSetParams": {
1254
+ "additionalProperties": false,
1255
+ "type": "object",
1256
+ "required": [
1257
+ "raw"
1258
+ ],
1259
+ "properties": {
1260
+ "raw": {
1261
+ "minLength": 1,
1262
+ "type": "string"
1263
+ }
1264
+ }
1265
+ },
1266
+ "ConfigSchemaParams": {
1267
+ "additionalProperties": false,
1268
+ "type": "object",
1269
+ "properties": {}
1270
+ },
1271
+ "ConfigSchemaResponse": {
1272
+ "additionalProperties": false,
1273
+ "type": "object",
1274
+ "required": [
1275
+ "schema",
1276
+ "uiHints",
1277
+ "version",
1278
+ "generatedAt"
1279
+ ],
1280
+ "properties": {
1281
+ "schema": {},
1282
+ "uiHints": {
1283
+ "type": "object",
1284
+ "patternProperties": {
1285
+ "^(.*)$": {
1286
+ "additionalProperties": false,
1287
+ "type": "object",
1288
+ "properties": {
1289
+ "label": {
1290
+ "type": "string"
1291
+ },
1292
+ "help": {
1293
+ "type": "string"
1294
+ },
1295
+ "group": {
1296
+ "type": "string"
1297
+ },
1298
+ "order": {
1299
+ "type": "integer"
1300
+ },
1301
+ "advanced": {
1302
+ "type": "boolean"
1303
+ },
1304
+ "sensitive": {
1305
+ "type": "boolean"
1306
+ },
1307
+ "placeholder": {
1308
+ "type": "string"
1309
+ },
1310
+ "itemTemplate": {}
1311
+ }
1312
+ }
1313
+ }
1314
+ },
1315
+ "version": {
1316
+ "minLength": 1,
1317
+ "type": "string"
1318
+ },
1319
+ "generatedAt": {
1320
+ "minLength": 1,
1321
+ "type": "string"
1322
+ }
1323
+ }
1324
+ },
1325
+ "WizardStartParams": {
1326
+ "additionalProperties": false,
1327
+ "type": "object",
1328
+ "properties": {
1329
+ "mode": {
1330
+ "anyOf": [
1331
+ {
1332
+ "const": "local",
1333
+ "type": "string"
1334
+ },
1335
+ {
1336
+ "const": "remote",
1337
+ "type": "string"
1338
+ }
1339
+ ]
1340
+ },
1341
+ "workspace": {
1342
+ "type": "string"
1343
+ }
1344
+ }
1345
+ },
1346
+ "WizardNextParams": {
1347
+ "additionalProperties": false,
1348
+ "type": "object",
1349
+ "required": [
1350
+ "sessionId"
1351
+ ],
1352
+ "properties": {
1353
+ "sessionId": {
1354
+ "minLength": 1,
1355
+ "type": "string"
1356
+ },
1357
+ "answer": {
1358
+ "additionalProperties": false,
1359
+ "type": "object",
1360
+ "required": [
1361
+ "stepId"
1362
+ ],
1363
+ "properties": {
1364
+ "stepId": {
1365
+ "minLength": 1,
1366
+ "type": "string"
1367
+ },
1368
+ "value": {}
1369
+ }
1370
+ }
1371
+ }
1372
+ },
1373
+ "WizardCancelParams": {
1374
+ "additionalProperties": false,
1375
+ "type": "object",
1376
+ "required": [
1377
+ "sessionId"
1378
+ ],
1379
+ "properties": {
1380
+ "sessionId": {
1381
+ "minLength": 1,
1382
+ "type": "string"
1383
+ }
1384
+ }
1385
+ },
1386
+ "WizardStatusParams": {
1387
+ "additionalProperties": false,
1388
+ "type": "object",
1389
+ "required": [
1390
+ "sessionId"
1391
+ ],
1392
+ "properties": {
1393
+ "sessionId": {
1394
+ "minLength": 1,
1395
+ "type": "string"
1396
+ }
1397
+ }
1398
+ },
1399
+ "WizardStep": {
1400
+ "additionalProperties": false,
1401
+ "type": "object",
1402
+ "required": [
1403
+ "id",
1404
+ "type"
1405
+ ],
1406
+ "properties": {
1407
+ "id": {
1408
+ "minLength": 1,
1409
+ "type": "string"
1410
+ },
1411
+ "type": {
1412
+ "anyOf": [
1413
+ {
1414
+ "const": "note",
1415
+ "type": "string"
1416
+ },
1417
+ {
1418
+ "const": "select",
1419
+ "type": "string"
1420
+ },
1421
+ {
1422
+ "const": "text",
1423
+ "type": "string"
1424
+ },
1425
+ {
1426
+ "const": "confirm",
1427
+ "type": "string"
1428
+ },
1429
+ {
1430
+ "const": "multiselect",
1431
+ "type": "string"
1432
+ },
1433
+ {
1434
+ "const": "progress",
1435
+ "type": "string"
1436
+ },
1437
+ {
1438
+ "const": "action",
1439
+ "type": "string"
1440
+ }
1441
+ ]
1442
+ },
1443
+ "title": {
1444
+ "type": "string"
1445
+ },
1446
+ "message": {
1447
+ "type": "string"
1448
+ },
1449
+ "options": {
1450
+ "type": "array",
1451
+ "items": {
1452
+ "additionalProperties": false,
1453
+ "type": "object",
1454
+ "required": [
1455
+ "value",
1456
+ "label"
1457
+ ],
1458
+ "properties": {
1459
+ "value": {},
1460
+ "label": {
1461
+ "minLength": 1,
1462
+ "type": "string"
1463
+ },
1464
+ "hint": {
1465
+ "type": "string"
1466
+ }
1467
+ }
1468
+ }
1469
+ },
1470
+ "initialValue": {},
1471
+ "placeholder": {
1472
+ "type": "string"
1473
+ },
1474
+ "sensitive": {
1475
+ "type": "boolean"
1476
+ },
1477
+ "executor": {
1478
+ "anyOf": [
1479
+ {
1480
+ "const": "gateway",
1481
+ "type": "string"
1482
+ },
1483
+ {
1484
+ "const": "client",
1485
+ "type": "string"
1486
+ }
1487
+ ]
1488
+ }
1489
+ }
1490
+ },
1491
+ "WizardNextResult": {
1492
+ "additionalProperties": false,
1493
+ "type": "object",
1494
+ "required": [
1495
+ "done"
1496
+ ],
1497
+ "properties": {
1498
+ "done": {
1499
+ "type": "boolean"
1500
+ },
1501
+ "step": {
1502
+ "additionalProperties": false,
1503
+ "type": "object",
1504
+ "required": [
1505
+ "id",
1506
+ "type"
1507
+ ],
1508
+ "properties": {
1509
+ "id": {
1510
+ "minLength": 1,
1511
+ "type": "string"
1512
+ },
1513
+ "type": {
1514
+ "anyOf": [
1515
+ {
1516
+ "const": "note",
1517
+ "type": "string"
1518
+ },
1519
+ {
1520
+ "const": "select",
1521
+ "type": "string"
1522
+ },
1523
+ {
1524
+ "const": "text",
1525
+ "type": "string"
1526
+ },
1527
+ {
1528
+ "const": "confirm",
1529
+ "type": "string"
1530
+ },
1531
+ {
1532
+ "const": "multiselect",
1533
+ "type": "string"
1534
+ },
1535
+ {
1536
+ "const": "progress",
1537
+ "type": "string"
1538
+ },
1539
+ {
1540
+ "const": "action",
1541
+ "type": "string"
1542
+ }
1543
+ ]
1544
+ },
1545
+ "title": {
1546
+ "type": "string"
1547
+ },
1548
+ "message": {
1549
+ "type": "string"
1550
+ },
1551
+ "options": {
1552
+ "type": "array",
1553
+ "items": {
1554
+ "additionalProperties": false,
1555
+ "type": "object",
1556
+ "required": [
1557
+ "value",
1558
+ "label"
1559
+ ],
1560
+ "properties": {
1561
+ "value": {},
1562
+ "label": {
1563
+ "minLength": 1,
1564
+ "type": "string"
1565
+ },
1566
+ "hint": {
1567
+ "type": "string"
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ "initialValue": {},
1573
+ "placeholder": {
1574
+ "type": "string"
1575
+ },
1576
+ "sensitive": {
1577
+ "type": "boolean"
1578
+ },
1579
+ "executor": {
1580
+ "anyOf": [
1581
+ {
1582
+ "const": "gateway",
1583
+ "type": "string"
1584
+ },
1585
+ {
1586
+ "const": "client",
1587
+ "type": "string"
1588
+ }
1589
+ ]
1590
+ }
1591
+ }
1592
+ },
1593
+ "status": {
1594
+ "anyOf": [
1595
+ {
1596
+ "const": "running",
1597
+ "type": "string"
1598
+ },
1599
+ {
1600
+ "const": "done",
1601
+ "type": "string"
1602
+ },
1603
+ {
1604
+ "const": "cancelled",
1605
+ "type": "string"
1606
+ },
1607
+ {
1608
+ "const": "error",
1609
+ "type": "string"
1610
+ }
1611
+ ]
1612
+ },
1613
+ "error": {
1614
+ "type": "string"
1615
+ }
1616
+ }
1617
+ },
1618
+ "WizardStartResult": {
1619
+ "additionalProperties": false,
1620
+ "type": "object",
1621
+ "required": [
1622
+ "sessionId",
1623
+ "done"
1624
+ ],
1625
+ "properties": {
1626
+ "sessionId": {
1627
+ "minLength": 1,
1628
+ "type": "string"
1629
+ },
1630
+ "done": {
1631
+ "type": "boolean"
1632
+ },
1633
+ "step": {
1634
+ "additionalProperties": false,
1635
+ "type": "object",
1636
+ "required": [
1637
+ "id",
1638
+ "type"
1639
+ ],
1640
+ "properties": {
1641
+ "id": {
1642
+ "minLength": 1,
1643
+ "type": "string"
1644
+ },
1645
+ "type": {
1646
+ "anyOf": [
1647
+ {
1648
+ "const": "note",
1649
+ "type": "string"
1650
+ },
1651
+ {
1652
+ "const": "select",
1653
+ "type": "string"
1654
+ },
1655
+ {
1656
+ "const": "text",
1657
+ "type": "string"
1658
+ },
1659
+ {
1660
+ "const": "confirm",
1661
+ "type": "string"
1662
+ },
1663
+ {
1664
+ "const": "multiselect",
1665
+ "type": "string"
1666
+ },
1667
+ {
1668
+ "const": "progress",
1669
+ "type": "string"
1670
+ },
1671
+ {
1672
+ "const": "action",
1673
+ "type": "string"
1674
+ }
1675
+ ]
1676
+ },
1677
+ "title": {
1678
+ "type": "string"
1679
+ },
1680
+ "message": {
1681
+ "type": "string"
1682
+ },
1683
+ "options": {
1684
+ "type": "array",
1685
+ "items": {
1686
+ "additionalProperties": false,
1687
+ "type": "object",
1688
+ "required": [
1689
+ "value",
1690
+ "label"
1691
+ ],
1692
+ "properties": {
1693
+ "value": {},
1694
+ "label": {
1695
+ "minLength": 1,
1696
+ "type": "string"
1697
+ },
1698
+ "hint": {
1699
+ "type": "string"
1700
+ }
1701
+ }
1702
+ }
1703
+ },
1704
+ "initialValue": {},
1705
+ "placeholder": {
1706
+ "type": "string"
1707
+ },
1708
+ "sensitive": {
1709
+ "type": "boolean"
1710
+ },
1711
+ "executor": {
1712
+ "anyOf": [
1713
+ {
1714
+ "const": "gateway",
1715
+ "type": "string"
1716
+ },
1717
+ {
1718
+ "const": "client",
1719
+ "type": "string"
1720
+ }
1721
+ ]
1722
+ }
1723
+ }
1724
+ },
1725
+ "status": {
1726
+ "anyOf": [
1727
+ {
1728
+ "const": "running",
1729
+ "type": "string"
1730
+ },
1731
+ {
1732
+ "const": "done",
1733
+ "type": "string"
1734
+ },
1735
+ {
1736
+ "const": "cancelled",
1737
+ "type": "string"
1738
+ },
1739
+ {
1740
+ "const": "error",
1741
+ "type": "string"
1742
+ }
1743
+ ]
1744
+ },
1745
+ "error": {
1746
+ "type": "string"
1747
+ }
1748
+ }
1749
+ },
1750
+ "WizardStatusResult": {
1751
+ "additionalProperties": false,
1752
+ "type": "object",
1753
+ "required": [
1754
+ "status"
1755
+ ],
1756
+ "properties": {
1757
+ "status": {
1758
+ "anyOf": [
1759
+ {
1760
+ "const": "running",
1761
+ "type": "string"
1762
+ },
1763
+ {
1764
+ "const": "done",
1765
+ "type": "string"
1766
+ },
1767
+ {
1768
+ "const": "cancelled",
1769
+ "type": "string"
1770
+ },
1771
+ {
1772
+ "const": "error",
1773
+ "type": "string"
1774
+ }
1775
+ ]
1776
+ },
1777
+ "error": {
1778
+ "type": "string"
1779
+ }
1780
+ }
1781
+ },
1782
+ "TalkModeParams": {
1783
+ "additionalProperties": false,
1784
+ "type": "object",
1785
+ "required": [
1786
+ "enabled"
1787
+ ],
1788
+ "properties": {
1789
+ "enabled": {
1790
+ "type": "boolean"
1791
+ },
1792
+ "phase": {
1793
+ "type": "string"
1794
+ }
1795
+ }
1796
+ },
1797
+ "ProvidersStatusParams": {
1798
+ "additionalProperties": false,
1799
+ "type": "object",
1800
+ "properties": {
1801
+ "probe": {
1802
+ "type": "boolean"
1803
+ },
1804
+ "timeoutMs": {
1805
+ "minimum": 0,
1806
+ "type": "integer"
1807
+ }
1808
+ }
1809
+ },
1810
+ "WebLoginStartParams": {
1811
+ "additionalProperties": false,
1812
+ "type": "object",
1813
+ "properties": {
1814
+ "force": {
1815
+ "type": "boolean"
1816
+ },
1817
+ "timeoutMs": {
1818
+ "minimum": 0,
1819
+ "type": "integer"
1820
+ },
1821
+ "verbose": {
1822
+ "type": "boolean"
1823
+ }
1824
+ }
1825
+ },
1826
+ "WebLoginWaitParams": {
1827
+ "additionalProperties": false,
1828
+ "type": "object",
1829
+ "properties": {
1830
+ "timeoutMs": {
1831
+ "minimum": 0,
1832
+ "type": "integer"
1833
+ }
1834
+ }
1835
+ },
1836
+ "ModelChoice": {
1837
+ "additionalProperties": false,
1838
+ "type": "object",
1839
+ "required": [
1840
+ "id",
1841
+ "name",
1842
+ "provider"
1843
+ ],
1844
+ "properties": {
1845
+ "id": {
1846
+ "minLength": 1,
1847
+ "type": "string"
1848
+ },
1849
+ "name": {
1850
+ "minLength": 1,
1851
+ "type": "string"
1852
+ },
1853
+ "provider": {
1854
+ "minLength": 1,
1855
+ "type": "string"
1856
+ },
1857
+ "contextWindow": {
1858
+ "minimum": 1,
1859
+ "type": "integer"
1860
+ },
1861
+ "reasoning": {
1862
+ "type": "boolean"
1863
+ }
1864
+ }
1865
+ },
1866
+ "ModelsListParams": {
1867
+ "additionalProperties": false,
1868
+ "type": "object",
1869
+ "properties": {}
1870
+ },
1871
+ "ModelsListResult": {
1872
+ "additionalProperties": false,
1873
+ "type": "object",
1874
+ "required": [
1875
+ "models"
1876
+ ],
1877
+ "properties": {
1878
+ "models": {
1879
+ "type": "array",
1880
+ "items": {
1881
+ "additionalProperties": false,
1882
+ "type": "object",
1883
+ "required": [
1884
+ "id",
1885
+ "name",
1886
+ "provider"
1887
+ ],
1888
+ "properties": {
1889
+ "id": {
1890
+ "minLength": 1,
1891
+ "type": "string"
1892
+ },
1893
+ "name": {
1894
+ "minLength": 1,
1895
+ "type": "string"
1896
+ },
1897
+ "provider": {
1898
+ "minLength": 1,
1899
+ "type": "string"
1900
+ },
1901
+ "contextWindow": {
1902
+ "minimum": 1,
1903
+ "type": "integer"
1904
+ },
1905
+ "reasoning": {
1906
+ "type": "boolean"
1907
+ }
1908
+ }
1909
+ }
1910
+ }
1911
+ }
1912
+ },
1913
+ "SkillsStatusParams": {
1914
+ "additionalProperties": false,
1915
+ "type": "object",
1916
+ "properties": {}
1917
+ },
1918
+ "SkillsInstallParams": {
1919
+ "additionalProperties": false,
1920
+ "type": "object",
1921
+ "required": [
1922
+ "name",
1923
+ "installId"
1924
+ ],
1925
+ "properties": {
1926
+ "name": {
1927
+ "minLength": 1,
1928
+ "type": "string"
1929
+ },
1930
+ "installId": {
1931
+ "minLength": 1,
1932
+ "type": "string"
1933
+ },
1934
+ "timeoutMs": {
1935
+ "minimum": 1000,
1936
+ "type": "integer"
1937
+ }
1938
+ }
1939
+ },
1940
+ "SkillsUpdateParams": {
1941
+ "additionalProperties": false,
1942
+ "type": "object",
1943
+ "required": [
1944
+ "skillKey"
1945
+ ],
1946
+ "properties": {
1947
+ "skillKey": {
1948
+ "minLength": 1,
1949
+ "type": "string"
1950
+ },
1951
+ "enabled": {
1952
+ "type": "boolean"
1953
+ },
1954
+ "apiKey": {
1955
+ "type": "string"
1956
+ },
1957
+ "env": {
1958
+ "type": "object",
1959
+ "patternProperties": {
1960
+ "^(.*)$": {
1961
+ "type": "string"
1962
+ }
1963
+ }
1964
+ }
1965
+ }
1966
+ },
1967
+ "CronJob": {
1968
+ "additionalProperties": false,
1969
+ "type": "object",
1970
+ "required": [
1971
+ "id",
1972
+ "name",
1973
+ "enabled",
1974
+ "createdAtMs",
1975
+ "updatedAtMs",
1976
+ "schedule",
1977
+ "sessionTarget",
1978
+ "wakeMode",
1979
+ "payload",
1980
+ "state"
1981
+ ],
1982
+ "properties": {
1983
+ "id": {
1984
+ "minLength": 1,
1985
+ "type": "string"
1986
+ },
1987
+ "name": {
1988
+ "minLength": 1,
1989
+ "type": "string"
1990
+ },
1991
+ "description": {
1992
+ "type": "string"
1993
+ },
1994
+ "enabled": {
1995
+ "type": "boolean"
1996
+ },
1997
+ "createdAtMs": {
1998
+ "minimum": 0,
1999
+ "type": "integer"
2000
+ },
2001
+ "updatedAtMs": {
2002
+ "minimum": 0,
2003
+ "type": "integer"
2004
+ },
2005
+ "schedule": {
2006
+ "anyOf": [
2007
+ {
2008
+ "additionalProperties": false,
2009
+ "type": "object",
2010
+ "required": [
2011
+ "kind",
2012
+ "atMs"
2013
+ ],
2014
+ "properties": {
2015
+ "kind": {
2016
+ "const": "at",
2017
+ "type": "string"
2018
+ },
2019
+ "atMs": {
2020
+ "minimum": 0,
2021
+ "type": "integer"
2022
+ }
2023
+ }
2024
+ },
2025
+ {
2026
+ "additionalProperties": false,
2027
+ "type": "object",
2028
+ "required": [
2029
+ "kind",
2030
+ "everyMs"
2031
+ ],
2032
+ "properties": {
2033
+ "kind": {
2034
+ "const": "every",
2035
+ "type": "string"
2036
+ },
2037
+ "everyMs": {
2038
+ "minimum": 1,
2039
+ "type": "integer"
2040
+ },
2041
+ "anchorMs": {
2042
+ "minimum": 0,
2043
+ "type": "integer"
2044
+ }
2045
+ }
2046
+ },
2047
+ {
2048
+ "additionalProperties": false,
2049
+ "type": "object",
2050
+ "required": [
2051
+ "kind",
2052
+ "expr"
2053
+ ],
2054
+ "properties": {
2055
+ "kind": {
2056
+ "const": "cron",
2057
+ "type": "string"
2058
+ },
2059
+ "expr": {
2060
+ "minLength": 1,
2061
+ "type": "string"
2062
+ },
2063
+ "tz": {
2064
+ "type": "string"
2065
+ }
2066
+ }
2067
+ }
2068
+ ]
2069
+ },
2070
+ "sessionTarget": {
2071
+ "anyOf": [
2072
+ {
2073
+ "const": "main",
2074
+ "type": "string"
2075
+ },
2076
+ {
2077
+ "const": "isolated",
2078
+ "type": "string"
2079
+ }
2080
+ ]
2081
+ },
2082
+ "wakeMode": {
2083
+ "anyOf": [
2084
+ {
2085
+ "const": "next-heartbeat",
2086
+ "type": "string"
2087
+ },
2088
+ {
2089
+ "const": "now",
2090
+ "type": "string"
2091
+ }
2092
+ ]
2093
+ },
2094
+ "payload": {
2095
+ "anyOf": [
2096
+ {
2097
+ "additionalProperties": false,
2098
+ "type": "object",
2099
+ "required": [
2100
+ "kind",
2101
+ "text"
2102
+ ],
2103
+ "properties": {
2104
+ "kind": {
2105
+ "const": "systemEvent",
2106
+ "type": "string"
2107
+ },
2108
+ "text": {
2109
+ "minLength": 1,
2110
+ "type": "string"
2111
+ }
2112
+ }
2113
+ },
2114
+ {
2115
+ "additionalProperties": false,
2116
+ "type": "object",
2117
+ "required": [
2118
+ "kind",
2119
+ "message"
2120
+ ],
2121
+ "properties": {
2122
+ "kind": {
2123
+ "const": "agentTurn",
2124
+ "type": "string"
2125
+ },
2126
+ "message": {
2127
+ "minLength": 1,
2128
+ "type": "string"
2129
+ },
2130
+ "thinking": {
2131
+ "type": "string"
2132
+ },
2133
+ "timeoutSeconds": {
2134
+ "minimum": 1,
2135
+ "type": "integer"
2136
+ },
2137
+ "deliver": {
2138
+ "type": "boolean"
2139
+ },
2140
+ "channel": {
2141
+ "anyOf": [
2142
+ {
2143
+ "const": "last",
2144
+ "type": "string"
2145
+ },
2146
+ {
2147
+ "const": "whatsapp",
2148
+ "type": "string"
2149
+ },
2150
+ {
2151
+ "const": "telegram",
2152
+ "type": "string"
2153
+ },
2154
+ {
2155
+ "const": "discord",
2156
+ "type": "string"
2157
+ },
2158
+ {
2159
+ "const": "slack",
2160
+ "type": "string"
2161
+ }
2162
+ ]
2163
+ },
2164
+ "to": {
2165
+ "type": "string"
2166
+ },
2167
+ "bestEffortDeliver": {
2168
+ "type": "boolean"
2169
+ }
2170
+ }
2171
+ }
2172
+ ]
2173
+ },
2174
+ "isolation": {
2175
+ "additionalProperties": false,
2176
+ "type": "object",
2177
+ "properties": {
2178
+ "postToMainPrefix": {
2179
+ "type": "string"
2180
+ }
2181
+ }
2182
+ },
2183
+ "state": {
2184
+ "additionalProperties": false,
2185
+ "type": "object",
2186
+ "properties": {
2187
+ "nextRunAtMs": {
2188
+ "minimum": 0,
2189
+ "type": "integer"
2190
+ },
2191
+ "runningAtMs": {
2192
+ "minimum": 0,
2193
+ "type": "integer"
2194
+ },
2195
+ "lastRunAtMs": {
2196
+ "minimum": 0,
2197
+ "type": "integer"
2198
+ },
2199
+ "lastStatus": {
2200
+ "anyOf": [
2201
+ {
2202
+ "const": "ok",
2203
+ "type": "string"
2204
+ },
2205
+ {
2206
+ "const": "error",
2207
+ "type": "string"
2208
+ },
2209
+ {
2210
+ "const": "skipped",
2211
+ "type": "string"
2212
+ }
2213
+ ]
2214
+ },
2215
+ "lastError": {
2216
+ "type": "string"
2217
+ },
2218
+ "lastDurationMs": {
2219
+ "minimum": 0,
2220
+ "type": "integer"
2221
+ }
2222
+ }
2223
+ }
2224
+ }
2225
+ },
2226
+ "CronListParams": {
2227
+ "additionalProperties": false,
2228
+ "type": "object",
2229
+ "properties": {
2230
+ "includeDisabled": {
2231
+ "type": "boolean"
2232
+ }
2233
+ }
2234
+ },
2235
+ "CronStatusParams": {
2236
+ "additionalProperties": false,
2237
+ "type": "object",
2238
+ "properties": {}
2239
+ },
2240
+ "CronAddParams": {
2241
+ "additionalProperties": false,
2242
+ "type": "object",
2243
+ "required": [
2244
+ "name",
2245
+ "schedule",
2246
+ "sessionTarget",
2247
+ "wakeMode",
2248
+ "payload"
2249
+ ],
2250
+ "properties": {
2251
+ "name": {
2252
+ "minLength": 1,
2253
+ "type": "string"
2254
+ },
2255
+ "description": {
2256
+ "type": "string"
2257
+ },
2258
+ "enabled": {
2259
+ "type": "boolean"
2260
+ },
2261
+ "schedule": {
2262
+ "anyOf": [
2263
+ {
2264
+ "additionalProperties": false,
2265
+ "type": "object",
2266
+ "required": [
2267
+ "kind",
2268
+ "atMs"
2269
+ ],
2270
+ "properties": {
2271
+ "kind": {
2272
+ "const": "at",
2273
+ "type": "string"
2274
+ },
2275
+ "atMs": {
2276
+ "minimum": 0,
2277
+ "type": "integer"
2278
+ }
2279
+ }
2280
+ },
2281
+ {
2282
+ "additionalProperties": false,
2283
+ "type": "object",
2284
+ "required": [
2285
+ "kind",
2286
+ "everyMs"
2287
+ ],
2288
+ "properties": {
2289
+ "kind": {
2290
+ "const": "every",
2291
+ "type": "string"
2292
+ },
2293
+ "everyMs": {
2294
+ "minimum": 1,
2295
+ "type": "integer"
2296
+ },
2297
+ "anchorMs": {
2298
+ "minimum": 0,
2299
+ "type": "integer"
2300
+ }
2301
+ }
2302
+ },
2303
+ {
2304
+ "additionalProperties": false,
2305
+ "type": "object",
2306
+ "required": [
2307
+ "kind",
2308
+ "expr"
2309
+ ],
2310
+ "properties": {
2311
+ "kind": {
2312
+ "const": "cron",
2313
+ "type": "string"
2314
+ },
2315
+ "expr": {
2316
+ "minLength": 1,
2317
+ "type": "string"
2318
+ },
2319
+ "tz": {
2320
+ "type": "string"
2321
+ }
2322
+ }
2323
+ }
2324
+ ]
2325
+ },
2326
+ "sessionTarget": {
2327
+ "anyOf": [
2328
+ {
2329
+ "const": "main",
2330
+ "type": "string"
2331
+ },
2332
+ {
2333
+ "const": "isolated",
2334
+ "type": "string"
2335
+ }
2336
+ ]
2337
+ },
2338
+ "wakeMode": {
2339
+ "anyOf": [
2340
+ {
2341
+ "const": "next-heartbeat",
2342
+ "type": "string"
2343
+ },
2344
+ {
2345
+ "const": "now",
2346
+ "type": "string"
2347
+ }
2348
+ ]
2349
+ },
2350
+ "payload": {
2351
+ "anyOf": [
2352
+ {
2353
+ "additionalProperties": false,
2354
+ "type": "object",
2355
+ "required": [
2356
+ "kind",
2357
+ "text"
2358
+ ],
2359
+ "properties": {
2360
+ "kind": {
2361
+ "const": "systemEvent",
2362
+ "type": "string"
2363
+ },
2364
+ "text": {
2365
+ "minLength": 1,
2366
+ "type": "string"
2367
+ }
2368
+ }
2369
+ },
2370
+ {
2371
+ "additionalProperties": false,
2372
+ "type": "object",
2373
+ "required": [
2374
+ "kind",
2375
+ "message"
2376
+ ],
2377
+ "properties": {
2378
+ "kind": {
2379
+ "const": "agentTurn",
2380
+ "type": "string"
2381
+ },
2382
+ "message": {
2383
+ "minLength": 1,
2384
+ "type": "string"
2385
+ },
2386
+ "thinking": {
2387
+ "type": "string"
2388
+ },
2389
+ "timeoutSeconds": {
2390
+ "minimum": 1,
2391
+ "type": "integer"
2392
+ },
2393
+ "deliver": {
2394
+ "type": "boolean"
2395
+ },
2396
+ "channel": {
2397
+ "anyOf": [
2398
+ {
2399
+ "const": "last",
2400
+ "type": "string"
2401
+ },
2402
+ {
2403
+ "const": "whatsapp",
2404
+ "type": "string"
2405
+ },
2406
+ {
2407
+ "const": "telegram",
2408
+ "type": "string"
2409
+ },
2410
+ {
2411
+ "const": "discord",
2412
+ "type": "string"
2413
+ },
2414
+ {
2415
+ "const": "slack",
2416
+ "type": "string"
2417
+ }
2418
+ ]
2419
+ },
2420
+ "to": {
2421
+ "type": "string"
2422
+ },
2423
+ "bestEffortDeliver": {
2424
+ "type": "boolean"
2425
+ }
2426
+ }
2427
+ }
2428
+ ]
2429
+ },
2430
+ "isolation": {
2431
+ "additionalProperties": false,
2432
+ "type": "object",
2433
+ "properties": {
2434
+ "postToMainPrefix": {
2435
+ "type": "string"
2436
+ }
2437
+ }
2438
+ }
2439
+ }
2440
+ },
2441
+ "CronUpdateParams": {
2442
+ "additionalProperties": false,
2443
+ "type": "object",
2444
+ "required": [
2445
+ "id",
2446
+ "patch"
2447
+ ],
2448
+ "properties": {
2449
+ "id": {
2450
+ "minLength": 1,
2451
+ "type": "string"
2452
+ },
2453
+ "patch": {
2454
+ "additionalProperties": false,
2455
+ "type": "object",
2456
+ "properties": {
2457
+ "name": {
2458
+ "minLength": 1,
2459
+ "type": "string"
2460
+ },
2461
+ "description": {
2462
+ "type": "string"
2463
+ },
2464
+ "enabled": {
2465
+ "type": "boolean"
2466
+ },
2467
+ "schedule": {
2468
+ "anyOf": [
2469
+ {
2470
+ "additionalProperties": false,
2471
+ "type": "object",
2472
+ "required": [
2473
+ "kind",
2474
+ "atMs"
2475
+ ],
2476
+ "properties": {
2477
+ "kind": {
2478
+ "const": "at",
2479
+ "type": "string"
2480
+ },
2481
+ "atMs": {
2482
+ "minimum": 0,
2483
+ "type": "integer"
2484
+ }
2485
+ }
2486
+ },
2487
+ {
2488
+ "additionalProperties": false,
2489
+ "type": "object",
2490
+ "required": [
2491
+ "kind",
2492
+ "everyMs"
2493
+ ],
2494
+ "properties": {
2495
+ "kind": {
2496
+ "const": "every",
2497
+ "type": "string"
2498
+ },
2499
+ "everyMs": {
2500
+ "minimum": 1,
2501
+ "type": "integer"
2502
+ },
2503
+ "anchorMs": {
2504
+ "minimum": 0,
2505
+ "type": "integer"
2506
+ }
2507
+ }
2508
+ },
2509
+ {
2510
+ "additionalProperties": false,
2511
+ "type": "object",
2512
+ "required": [
2513
+ "kind",
2514
+ "expr"
2515
+ ],
2516
+ "properties": {
2517
+ "kind": {
2518
+ "const": "cron",
2519
+ "type": "string"
2520
+ },
2521
+ "expr": {
2522
+ "minLength": 1,
2523
+ "type": "string"
2524
+ },
2525
+ "tz": {
2526
+ "type": "string"
2527
+ }
2528
+ }
2529
+ }
2530
+ ]
2531
+ },
2532
+ "sessionTarget": {
2533
+ "anyOf": [
2534
+ {
2535
+ "const": "main",
2536
+ "type": "string"
2537
+ },
2538
+ {
2539
+ "const": "isolated",
2540
+ "type": "string"
2541
+ }
2542
+ ]
2543
+ },
2544
+ "wakeMode": {
2545
+ "anyOf": [
2546
+ {
2547
+ "const": "next-heartbeat",
2548
+ "type": "string"
2549
+ },
2550
+ {
2551
+ "const": "now",
2552
+ "type": "string"
2553
+ }
2554
+ ]
2555
+ },
2556
+ "payload": {
2557
+ "anyOf": [
2558
+ {
2559
+ "additionalProperties": false,
2560
+ "type": "object",
2561
+ "required": [
2562
+ "kind",
2563
+ "text"
2564
+ ],
2565
+ "properties": {
2566
+ "kind": {
2567
+ "const": "systemEvent",
2568
+ "type": "string"
2569
+ },
2570
+ "text": {
2571
+ "minLength": 1,
2572
+ "type": "string"
2573
+ }
2574
+ }
2575
+ },
2576
+ {
2577
+ "additionalProperties": false,
2578
+ "type": "object",
2579
+ "required": [
2580
+ "kind",
2581
+ "message"
2582
+ ],
2583
+ "properties": {
2584
+ "kind": {
2585
+ "const": "agentTurn",
2586
+ "type": "string"
2587
+ },
2588
+ "message": {
2589
+ "minLength": 1,
2590
+ "type": "string"
2591
+ },
2592
+ "thinking": {
2593
+ "type": "string"
2594
+ },
2595
+ "timeoutSeconds": {
2596
+ "minimum": 1,
2597
+ "type": "integer"
2598
+ },
2599
+ "deliver": {
2600
+ "type": "boolean"
2601
+ },
2602
+ "channel": {
2603
+ "anyOf": [
2604
+ {
2605
+ "const": "last",
2606
+ "type": "string"
2607
+ },
2608
+ {
2609
+ "const": "whatsapp",
2610
+ "type": "string"
2611
+ },
2612
+ {
2613
+ "const": "telegram",
2614
+ "type": "string"
2615
+ },
2616
+ {
2617
+ "const": "discord",
2618
+ "type": "string"
2619
+ },
2620
+ {
2621
+ "const": "slack",
2622
+ "type": "string"
2623
+ }
2624
+ ]
2625
+ },
2626
+ "to": {
2627
+ "type": "string"
2628
+ },
2629
+ "bestEffortDeliver": {
2630
+ "type": "boolean"
2631
+ }
2632
+ }
2633
+ }
2634
+ ]
2635
+ },
2636
+ "isolation": {
2637
+ "additionalProperties": false,
2638
+ "type": "object",
2639
+ "properties": {
2640
+ "postToMainPrefix": {
2641
+ "type": "string"
2642
+ }
2643
+ }
2644
+ }
2645
+ }
2646
+ }
2647
+ }
2648
+ },
2649
+ "CronRemoveParams": {
2650
+ "additionalProperties": false,
2651
+ "type": "object",
2652
+ "required": [
2653
+ "id"
2654
+ ],
2655
+ "properties": {
2656
+ "id": {
2657
+ "minLength": 1,
2658
+ "type": "string"
2659
+ }
2660
+ }
2661
+ },
2662
+ "CronRunParams": {
2663
+ "additionalProperties": false,
2664
+ "type": "object",
2665
+ "required": [
2666
+ "id"
2667
+ ],
2668
+ "properties": {
2669
+ "id": {
2670
+ "minLength": 1,
2671
+ "type": "string"
2672
+ },
2673
+ "mode": {
2674
+ "anyOf": [
2675
+ {
2676
+ "const": "due",
2677
+ "type": "string"
2678
+ },
2679
+ {
2680
+ "const": "force",
2681
+ "type": "string"
2682
+ }
2683
+ ]
2684
+ }
2685
+ }
2686
+ },
2687
+ "CronRunsParams": {
2688
+ "additionalProperties": false,
2689
+ "type": "object",
2690
+ "required": [
2691
+ "id"
2692
+ ],
2693
+ "properties": {
2694
+ "id": {
2695
+ "minLength": 1,
2696
+ "type": "string"
2697
+ },
2698
+ "limit": {
2699
+ "minimum": 1,
2700
+ "maximum": 5000,
2701
+ "type": "integer"
2702
+ }
2703
+ }
2704
+ },
2705
+ "CronRunLogEntry": {
2706
+ "additionalProperties": false,
2707
+ "type": "object",
2708
+ "required": [
2709
+ "ts",
2710
+ "jobId",
2711
+ "action"
2712
+ ],
2713
+ "properties": {
2714
+ "ts": {
2715
+ "minimum": 0,
2716
+ "type": "integer"
2717
+ },
2718
+ "jobId": {
2719
+ "minLength": 1,
2720
+ "type": "string"
2721
+ },
2722
+ "action": {
2723
+ "const": "finished",
2724
+ "type": "string"
2725
+ },
2726
+ "status": {
2727
+ "anyOf": [
2728
+ {
2729
+ "const": "ok",
2730
+ "type": "string"
2731
+ },
2732
+ {
2733
+ "const": "error",
2734
+ "type": "string"
2735
+ },
2736
+ {
2737
+ "const": "skipped",
2738
+ "type": "string"
2739
+ }
2740
+ ]
2741
+ },
2742
+ "error": {
2743
+ "type": "string"
2744
+ },
2745
+ "summary": {
2746
+ "type": "string"
2747
+ },
2748
+ "runAtMs": {
2749
+ "minimum": 0,
2750
+ "type": "integer"
2751
+ },
2752
+ "durationMs": {
2753
+ "minimum": 0,
2754
+ "type": "integer"
2755
+ },
2756
+ "nextRunAtMs": {
2757
+ "minimum": 0,
2758
+ "type": "integer"
2759
+ }
2760
+ }
2761
+ },
2762
+ "ChatHistoryParams": {
2763
+ "additionalProperties": false,
2764
+ "type": "object",
2765
+ "required": [
2766
+ "sessionKey"
2767
+ ],
2768
+ "properties": {
2769
+ "sessionKey": {
2770
+ "minLength": 1,
2771
+ "type": "string"
2772
+ },
2773
+ "limit": {
2774
+ "minimum": 1,
2775
+ "maximum": 1000,
2776
+ "type": "integer"
2777
+ }
2778
+ }
2779
+ },
2780
+ "ChatSendParams": {
2781
+ "additionalProperties": false,
2782
+ "type": "object",
2783
+ "required": [
2784
+ "sessionKey",
2785
+ "message",
2786
+ "idempotencyKey"
2787
+ ],
2788
+ "properties": {
2789
+ "sessionKey": {
2790
+ "minLength": 1,
2791
+ "type": "string"
2792
+ },
2793
+ "message": {
2794
+ "minLength": 1,
2795
+ "type": "string"
2796
+ },
2797
+ "thinking": {
2798
+ "type": "string"
2799
+ },
2800
+ "deliver": {
2801
+ "type": "boolean"
2802
+ },
2803
+ "attachments": {
2804
+ "type": "array",
2805
+ "items": {}
2806
+ },
2807
+ "timeoutMs": {
2808
+ "minimum": 0,
2809
+ "type": "integer"
2810
+ },
2811
+ "idempotencyKey": {
2812
+ "minLength": 1,
2813
+ "type": "string"
2814
+ }
2815
+ }
2816
+ },
2817
+ "ChatAbortParams": {
2818
+ "additionalProperties": false,
2819
+ "type": "object",
2820
+ "required": [
2821
+ "sessionKey",
2822
+ "runId"
2823
+ ],
2824
+ "properties": {
2825
+ "sessionKey": {
2826
+ "minLength": 1,
2827
+ "type": "string"
2828
+ },
2829
+ "runId": {
2830
+ "minLength": 1,
2831
+ "type": "string"
2832
+ }
2833
+ }
2834
+ },
2835
+ "ChatEvent": {
2836
+ "additionalProperties": false,
2837
+ "type": "object",
2838
+ "required": [
2839
+ "runId",
2840
+ "sessionKey",
2841
+ "seq",
2842
+ "state"
2843
+ ],
2844
+ "properties": {
2845
+ "runId": {
2846
+ "minLength": 1,
2847
+ "type": "string"
2848
+ },
2849
+ "sessionKey": {
2850
+ "minLength": 1,
2851
+ "type": "string"
2852
+ },
2853
+ "seq": {
2854
+ "minimum": 0,
2855
+ "type": "integer"
2856
+ },
2857
+ "state": {
2858
+ "anyOf": [
2859
+ {
2860
+ "const": "delta",
2861
+ "type": "string"
2862
+ },
2863
+ {
2864
+ "const": "final",
2865
+ "type": "string"
2866
+ },
2867
+ {
2868
+ "const": "aborted",
2869
+ "type": "string"
2870
+ },
2871
+ {
2872
+ "const": "error",
2873
+ "type": "string"
2874
+ }
2875
+ ]
2876
+ },
2877
+ "message": {},
2878
+ "errorMessage": {
2879
+ "type": "string"
2880
+ },
2881
+ "usage": {},
2882
+ "stopReason": {
2883
+ "type": "string"
2884
+ }
2885
+ }
2886
+ },
2887
+ "TickEvent": {
2888
+ "additionalProperties": false,
2889
+ "type": "object",
2890
+ "required": [
2891
+ "ts"
2892
+ ],
2893
+ "properties": {
2894
+ "ts": {
2895
+ "minimum": 0,
2896
+ "type": "integer"
2897
+ }
2898
+ }
2899
+ },
2900
+ "ShutdownEvent": {
2901
+ "additionalProperties": false,
2902
+ "type": "object",
2903
+ "required": [
2904
+ "reason"
2905
+ ],
2906
+ "properties": {
2907
+ "reason": {
2908
+ "minLength": 1,
2909
+ "type": "string"
2910
+ },
2911
+ "restartExpectedMs": {
2912
+ "minimum": 0,
2913
+ "type": "integer"
2914
+ }
2915
+ }
2916
+ }
2917
+ }
2918
+ }