@nodetool-ai/protocol 0.7.0-rc.23 → 0.8.2

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 (624) hide show
  1. package/README.md +56 -0
  2. package/dist/.nodetool-build-stamp +1 -0
  3. package/dist/ai-video-production.d.ts +276 -0
  4. package/dist/ai-video-production.d.ts.map +1 -0
  5. package/dist/ai-video-production.js +131 -0
  6. package/dist/ai-video-production.js.map +1 -0
  7. package/dist/api-schemas/agent-access.d.ts +134 -0
  8. package/dist/api-schemas/agent-access.d.ts.map +1 -0
  9. package/dist/api-schemas/agent-access.js +93 -0
  10. package/dist/api-schemas/agent-access.js.map +1 -0
  11. package/dist/api-schemas/api-error-code.d.ts +11 -1
  12. package/dist/api-schemas/api-error-code.d.ts.map +1 -1
  13. package/dist/api-schemas/api-error-code.js +10 -0
  14. package/dist/api-schemas/api-error-code.js.map +1 -1
  15. package/dist/api-schemas/app-runs.d.ts +1410 -0
  16. package/dist/api-schemas/app-runs.d.ts.map +1 -0
  17. package/dist/api-schemas/app-runs.js +105 -0
  18. package/dist/api-schemas/app-runs.js.map +1 -0
  19. package/dist/api-schemas/applications.d.ts +3216 -0
  20. package/dist/api-schemas/applications.d.ts.map +1 -0
  21. package/dist/api-schemas/applications.js +487 -0
  22. package/dist/api-schemas/applications.js.map +1 -0
  23. package/dist/api-schemas/assets.d.ts +239 -0
  24. package/dist/api-schemas/assets.d.ts.map +1 -1
  25. package/dist/api-schemas/assets.js +136 -5
  26. package/dist/api-schemas/assets.js.map +1 -1
  27. package/dist/api-schemas/bug-reports.d.ts +38 -0
  28. package/dist/api-schemas/bug-reports.d.ts.map +1 -0
  29. package/dist/api-schemas/bug-reports.js +34 -0
  30. package/dist/api-schemas/bug-reports.js.map +1 -0
  31. package/dist/api-schemas/code-gen.d.ts +176 -0
  32. package/dist/api-schemas/code-gen.d.ts.map +1 -0
  33. package/dist/api-schemas/code-gen.js +205 -0
  34. package/dist/api-schemas/code-gen.js.map +1 -0
  35. package/dist/api-schemas/collections.d.ts.map +1 -1
  36. package/dist/api-schemas/collections.js +3 -4
  37. package/dist/api-schemas/collections.js.map +1 -1
  38. package/dist/api-schemas/costs.d.ts +179 -0
  39. package/dist/api-schemas/costs.d.ts.map +1 -1
  40. package/dist/api-schemas/costs.js +100 -4
  41. package/dist/api-schemas/costs.js.map +1 -1
  42. package/dist/api-schemas/credits.d.ts +42 -0
  43. package/dist/api-schemas/credits.d.ts.map +1 -0
  44. package/dist/api-schemas/credits.js +43 -0
  45. package/dist/api-schemas/credits.js.map +1 -0
  46. package/dist/api-schemas/documents.d.ts +163 -0
  47. package/dist/api-schemas/documents.d.ts.map +1 -0
  48. package/dist/api-schemas/documents.js +75 -0
  49. package/dist/api-schemas/documents.js.map +1 -0
  50. package/dist/api-schemas/error-traces.d.ts +249 -0
  51. package/dist/api-schemas/error-traces.d.ts.map +1 -0
  52. package/dist/api-schemas/error-traces.js +112 -0
  53. package/dist/api-schemas/error-traces.js.map +1 -0
  54. package/dist/api-schemas/files.d.ts +13 -0
  55. package/dist/api-schemas/files.d.ts.map +1 -1
  56. package/dist/api-schemas/files.js +8 -0
  57. package/dist/api-schemas/files.js.map +1 -1
  58. package/dist/api-schemas/fonts.d.ts +17 -1
  59. package/dist/api-schemas/fonts.d.ts.map +1 -1
  60. package/dist/api-schemas/fonts.js +19 -3
  61. package/dist/api-schemas/fonts.js.map +1 -1
  62. package/dist/api-schemas/index.d.ts +27 -1
  63. package/dist/api-schemas/index.d.ts.map +1 -1
  64. package/dist/api-schemas/index.js +27 -1
  65. package/dist/api-schemas/index.js.map +1 -1
  66. package/dist/api-schemas/jobs.d.ts +44 -0
  67. package/dist/api-schemas/jobs.d.ts.map +1 -1
  68. package/dist/api-schemas/jobs.js +26 -2
  69. package/dist/api-schemas/jobs.js.map +1 -1
  70. package/dist/api-schemas/js-scripts.d.ts +367 -0
  71. package/dist/api-schemas/js-scripts.d.ts.map +1 -0
  72. package/dist/api-schemas/js-scripts.js +341 -0
  73. package/dist/api-schemas/js-scripts.js.map +1 -0
  74. package/dist/api-schemas/mcp-config.d.ts +4 -1
  75. package/dist/api-schemas/mcp-config.d.ts.map +1 -1
  76. package/dist/api-schemas/mcp-config.js +10 -3
  77. package/dist/api-schemas/mcp-config.js.map +1 -1
  78. package/dist/api-schemas/memories.d.ts +84 -0
  79. package/dist/api-schemas/memories.d.ts.map +1 -0
  80. package/dist/api-schemas/memories.js +54 -0
  81. package/dist/api-schemas/memories.js.map +1 -0
  82. package/dist/api-schemas/messages.d.ts +1 -0
  83. package/dist/api-schemas/messages.d.ts.map +1 -1
  84. package/dist/api-schemas/messages.js +4 -4
  85. package/dist/api-schemas/messages.js.map +1 -1
  86. package/dist/api-schemas/models.d.ts +164 -0
  87. package/dist/api-schemas/models.d.ts.map +1 -1
  88. package/dist/api-schemas/models.js +53 -6
  89. package/dist/api-schemas/models.js.map +1 -1
  90. package/dist/api-schemas/nodes.d.ts +97 -0
  91. package/dist/api-schemas/nodes.d.ts.map +1 -1
  92. package/dist/api-schemas/nodes.js +89 -0
  93. package/dist/api-schemas/nodes.js.map +1 -1
  94. package/dist/api-schemas/projects.d.ts +427 -0
  95. package/dist/api-schemas/projects.d.ts.map +1 -0
  96. package/dist/api-schemas/projects.js +224 -0
  97. package/dist/api-schemas/projects.js.map +1 -0
  98. package/dist/api-schemas/recipes.d.ts +172 -0
  99. package/dist/api-schemas/recipes.d.ts.map +1 -0
  100. package/dist/api-schemas/recipes.js +144 -0
  101. package/dist/api-schemas/recipes.js.map +1 -0
  102. package/dist/api-schemas/resources.d.ts +112 -0
  103. package/dist/api-schemas/resources.d.ts.map +1 -0
  104. package/dist/api-schemas/resources.js +44 -0
  105. package/dist/api-schemas/resources.js.map +1 -0
  106. package/dist/api-schemas/runs.d.ts +6 -0
  107. package/dist/api-schemas/runs.d.ts.map +1 -0
  108. package/dist/api-schemas/runs.js +4 -0
  109. package/dist/api-schemas/runs.js.map +1 -0
  110. package/dist/api-schemas/scripts.d.ts +1571 -0
  111. package/dist/api-schemas/scripts.d.ts.map +1 -0
  112. package/dist/api-schemas/scripts.js +153 -0
  113. package/dist/api-schemas/scripts.js.map +1 -0
  114. package/dist/api-schemas/sdk-execution-v1.d.ts +468 -0
  115. package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -0
  116. package/dist/api-schemas/sdk-execution-v1.js +115 -0
  117. package/dist/api-schemas/sdk-execution-v1.js.map +1 -0
  118. package/dist/api-schemas/sdk-lifecycle-v1.d.ts +217 -0
  119. package/dist/api-schemas/sdk-lifecycle-v1.d.ts.map +1 -0
  120. package/dist/api-schemas/sdk-lifecycle-v1.js +117 -0
  121. package/dist/api-schemas/sdk-lifecycle-v1.js.map +1 -0
  122. package/dist/api-schemas/sdk-models-v1.d.ts +181 -0
  123. package/dist/api-schemas/sdk-models-v1.d.ts.map +1 -0
  124. package/dist/api-schemas/sdk-models-v1.js +108 -0
  125. package/dist/api-schemas/sdk-models-v1.js.map +1 -0
  126. package/dist/api-schemas/sdk-v1-http-operations.d.ts +941 -0
  127. package/dist/api-schemas/sdk-v1-http-operations.d.ts.map +1 -0
  128. package/dist/api-schemas/sdk-v1-http-operations.js +465 -0
  129. package/dist/api-schemas/sdk-v1-http-operations.js.map +1 -0
  130. package/dist/api-schemas/sdk-v1-operations.d.ts +151 -0
  131. package/dist/api-schemas/sdk-v1-operations.d.ts.map +1 -0
  132. package/dist/api-schemas/sdk-v1-operations.js +97 -0
  133. package/dist/api-schemas/sdk-v1-operations.js.map +1 -0
  134. package/dist/api-schemas/sdk-v1-websocket-operations.d.ts +97 -0
  135. package/dist/api-schemas/sdk-v1-websocket-operations.d.ts.map +1 -0
  136. package/dist/api-schemas/sdk-v1-websocket-operations.js +96 -0
  137. package/dist/api-schemas/sdk-v1-websocket-operations.js.map +1 -0
  138. package/dist/api-schemas/sdk-v1.d.ts +15 -0
  139. package/dist/api-schemas/sdk-v1.d.ts.map +1 -0
  140. package/dist/api-schemas/sdk-v1.js +22 -0
  141. package/dist/api-schemas/sdk-v1.js.map +1 -0
  142. package/dist/api-schemas/segmentation.d.ts +75 -0
  143. package/dist/api-schemas/segmentation.d.ts.map +1 -0
  144. package/dist/api-schemas/segmentation.js +54 -0
  145. package/dist/api-schemas/segmentation.js.map +1 -0
  146. package/dist/api-schemas/settings.d.ts +162 -0
  147. package/dist/api-schemas/settings.d.ts.map +1 -1
  148. package/dist/api-schemas/settings.js +71 -0
  149. package/dist/api-schemas/settings.js.map +1 -1
  150. package/dist/api-schemas/sketch.d.ts +858 -0
  151. package/dist/api-schemas/sketch.d.ts.map +1 -0
  152. package/dist/api-schemas/sketch.js +546 -0
  153. package/dist/api-schemas/sketch.js.map +1 -0
  154. package/dist/api-schemas/skills.d.ts +27 -14
  155. package/dist/api-schemas/skills.d.ts.map +1 -1
  156. package/dist/api-schemas/skills.js +64 -11
  157. package/dist/api-schemas/skills.js.map +1 -1
  158. package/dist/api-schemas/storage.d.ts +8 -0
  159. package/dist/api-schemas/storage.d.ts.map +1 -1
  160. package/dist/api-schemas/storage.js +7 -0
  161. package/dist/api-schemas/storage.js.map +1 -1
  162. package/dist/api-schemas/storyboards.d.ts +8595 -0
  163. package/dist/api-schemas/storyboards.d.ts.map +1 -0
  164. package/dist/api-schemas/storyboards.js +524 -0
  165. package/dist/api-schemas/storyboards.js.map +1 -0
  166. package/dist/api-schemas/threads.d.ts +12 -4
  167. package/dist/api-schemas/threads.d.ts.map +1 -1
  168. package/dist/api-schemas/threads.js +12 -4
  169. package/dist/api-schemas/threads.js.map +1 -1
  170. package/dist/api-schemas/timeline-tool-contracts.d.ts +1687 -0
  171. package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -0
  172. package/dist/api-schemas/timeline-tool-contracts.js +725 -0
  173. package/dist/api-schemas/timeline-tool-contracts.js.map +1 -0
  174. package/dist/api-schemas/timeline-tool-params.d.ts +1270 -0
  175. package/dist/api-schemas/timeline-tool-params.d.ts.map +1 -0
  176. package/dist/api-schemas/timeline-tool-params.js +1529 -0
  177. package/dist/api-schemas/timeline-tool-params.js.map +1 -0
  178. package/dist/api-schemas/timeline.d.ts +13740 -0
  179. package/dist/api-schemas/timeline.d.ts.map +1 -0
  180. package/dist/api-schemas/timeline.js +1928 -0
  181. package/dist/api-schemas/timeline.js.map +1 -0
  182. package/dist/api-schemas/ui-tool-contract.d.ts +35 -0
  183. package/dist/api-schemas/ui-tool-contract.d.ts.map +1 -0
  184. package/dist/api-schemas/ui-tool-contract.js +31 -0
  185. package/dist/api-schemas/ui-tool-contract.js.map +1 -0
  186. package/dist/api-schemas/workflows.d.ts +904 -18
  187. package/dist/api-schemas/workflows.d.ts.map +1 -1
  188. package/dist/api-schemas/workflows.js +507 -6
  189. package/dist/api-schemas/workflows.js.map +1 -1
  190. package/dist/api-schemas/workspace.d.ts +45 -0
  191. package/dist/api-schemas/workspace.d.ts.map +1 -1
  192. package/dist/api-schemas/workspace.js +47 -1
  193. package/dist/api-schemas/workspace.js.map +1 -1
  194. package/dist/api-types.d.ts +651 -27
  195. package/dist/api-types.d.ts.map +1 -1
  196. package/dist/api-types.js +252 -1
  197. package/dist/api-types.js.map +1 -1
  198. package/dist/app-deployment.d.ts +37 -0
  199. package/dist/app-deployment.d.ts.map +1 -0
  200. package/dist/app-deployment.js +42 -0
  201. package/dist/app-deployment.js.map +1 -0
  202. package/dist/asset-file-name.d.ts +15 -0
  203. package/dist/asset-file-name.d.ts.map +1 -0
  204. package/dist/asset-file-name.js +61 -0
  205. package/dist/asset-file-name.js.map +1 -0
  206. package/dist/asset-generation.d.ts +58 -0
  207. package/dist/asset-generation.d.ts.map +1 -0
  208. package/dist/asset-generation.js +147 -0
  209. package/dist/asset-generation.js.map +1 -0
  210. package/dist/blend-modes.d.ts +20 -0
  211. package/dist/blend-modes.d.ts.map +1 -0
  212. package/dist/blend-modes.js +33 -0
  213. package/dist/blend-modes.js.map +1 -0
  214. package/dist/bridge-frames.d.ts +654 -0
  215. package/dist/bridge-frames.d.ts.map +1 -0
  216. package/dist/bridge-frames.js +448 -0
  217. package/dist/bridge-frames.js.map +1 -0
  218. package/dist/bridge-frames.schema.json +862 -0
  219. package/dist/bridge-protocol.d.ts +57 -20
  220. package/dist/bridge-protocol.d.ts.map +1 -1
  221. package/dist/bridge-protocol.js +57 -20
  222. package/dist/bridge-protocol.js.map +1 -1
  223. package/dist/browser-run-traces.d.ts +102 -0
  224. package/dist/browser-run-traces.d.ts.map +1 -0
  225. package/dist/browser-run-traces.js +30 -0
  226. package/dist/browser-run-traces.js.map +1 -0
  227. package/dist/builtin-packs.d.ts +45 -0
  228. package/dist/builtin-packs.d.ts.map +1 -0
  229. package/dist/builtin-packs.js +121 -0
  230. package/dist/builtin-packs.js.map +1 -0
  231. package/dist/caption-word.d.ts +15 -0
  232. package/dist/caption-word.d.ts.map +1 -0
  233. package/dist/caption-word.js +10 -0
  234. package/dist/caption-word.js.map +1 -0
  235. package/dist/cloud-profile.d.ts +187 -0
  236. package/dist/cloud-profile.d.ts.map +1 -0
  237. package/dist/cloud-profile.js +286 -0
  238. package/dist/cloud-profile.js.map +1 -0
  239. package/dist/creative.d.ts +580 -0
  240. package/dist/creative.d.ts.map +1 -0
  241. package/dist/creative.js +274 -0
  242. package/dist/creative.js.map +1 -0
  243. package/dist/custom-providers.d.ts +70 -0
  244. package/dist/custom-providers.d.ts.map +1 -0
  245. package/dist/custom-providers.js +125 -0
  246. package/dist/custom-providers.js.map +1 -0
  247. package/dist/document-ops.d.ts +15 -0
  248. package/dist/document-ops.d.ts.map +1 -0
  249. package/dist/document-ops.js +2 -0
  250. package/dist/document-ops.js.map +1 -0
  251. package/dist/game-assets.d.ts +344 -0
  252. package/dist/game-assets.d.ts.map +1 -0
  253. package/dist/game-assets.js +297 -0
  254. package/dist/game-assets.js.map +1 -0
  255. package/dist/game-authoring.d.ts +113 -0
  256. package/dist/game-authoring.d.ts.map +1 -0
  257. package/dist/game-authoring.js +37 -0
  258. package/dist/game-authoring.js.map +1 -0
  259. package/dist/game-design.d.ts +90 -0
  260. package/dist/game-design.d.ts.map +1 -0
  261. package/dist/game-design.js +417 -0
  262. package/dist/game-design.js.map +1 -0
  263. package/dist/game-flow-prompt.d.ts +68 -0
  264. package/dist/game-flow-prompt.d.ts.map +1 -0
  265. package/dist/game-flow-prompt.js +121 -0
  266. package/dist/game-flow-prompt.js.map +1 -0
  267. package/dist/game-graph.d.ts +96 -0
  268. package/dist/game-graph.d.ts.map +1 -0
  269. package/dist/game-graph.js +481 -0
  270. package/dist/game-graph.js.map +1 -0
  271. package/dist/game-migration.d.ts +4 -0
  272. package/dist/game-migration.d.ts.map +1 -0
  273. package/dist/game-migration.js +6 -0
  274. package/dist/game-migration.js.map +1 -0
  275. package/dist/game-slot-prompt.d.ts +90 -0
  276. package/dist/game-slot-prompt.d.ts.map +1 -0
  277. package/dist/game-slot-prompt.js +237 -0
  278. package/dist/game-slot-prompt.js.map +1 -0
  279. package/dist/game-step.d.ts +10 -0
  280. package/dist/game-step.d.ts.map +1 -0
  281. package/dist/game-step.js +2 -0
  282. package/dist/game-step.js.map +1 -0
  283. package/dist/game.d.ts +2 -0
  284. package/dist/game.d.ts.map +1 -0
  285. package/dist/game.js +2 -0
  286. package/dist/game.js.map +1 -0
  287. package/dist/game2d/components/animator.d.ts +22 -0
  288. package/dist/game2d/components/animator.d.ts.map +1 -0
  289. package/dist/game2d/components/animator.js +6 -0
  290. package/dist/game2d/components/animator.js.map +1 -0
  291. package/dist/game2d/components/assets.d.ts +132 -0
  292. package/dist/game2d/components/assets.d.ts.map +1 -0
  293. package/dist/game2d/components/assets.js +52 -0
  294. package/dist/game2d/components/assets.js.map +1 -0
  295. package/dist/game2d/components/audioSource.d.ts +7 -0
  296. package/dist/game2d/components/audioSource.d.ts.map +1 -0
  297. package/dist/game2d/components/audioSource.js +4 -0
  298. package/dist/game2d/components/audioSource.js.map +1 -0
  299. package/dist/game2d/components/background.d.ts +38 -0
  300. package/dist/game2d/components/background.d.ts.map +1 -0
  301. package/dist/game2d/components/background.js +10 -0
  302. package/dist/game2d/components/background.js.map +1 -0
  303. package/dist/game2d/components/behaviors.d.ts +50 -0
  304. package/dist/game2d/components/behaviors.d.ts.map +1 -0
  305. package/dist/game2d/components/behaviors.js +15 -0
  306. package/dist/game2d/components/behaviors.js.map +1 -0
  307. package/dist/game2d/components/body2d.d.ts +13 -0
  308. package/dist/game2d/components/body2d.d.ts.map +1 -0
  309. package/dist/game2d/components/body2d.js +4 -0
  310. package/dist/game2d/components/body2d.js.map +1 -0
  311. package/dist/game2d/components/camera2d.d.ts +7 -0
  312. package/dist/game2d/components/camera2d.d.ts.map +1 -0
  313. package/dist/game2d/components/camera2d.js +4 -0
  314. package/dist/game2d/components/camera2d.js.map +1 -0
  315. package/dist/game2d/components/collider2d.d.ts +10 -0
  316. package/dist/game2d/components/collider2d.d.ts.map +1 -0
  317. package/dist/game2d/components/collider2d.js +5 -0
  318. package/dist/game2d/components/collider2d.js.map +1 -0
  319. package/dist/game2d/components/common.d.ts +16 -0
  320. package/dist/game2d/components/common.d.ts.map +1 -0
  321. package/dist/game2d/components/common.js +13 -0
  322. package/dist/game2d/components/common.js.map +1 -0
  323. package/dist/game2d/components/entity-components.d.ts +181 -0
  324. package/dist/game2d/components/entity-components.d.ts.map +1 -0
  325. package/dist/game2d/components/entity-components.js +21 -0
  326. package/dist/game2d/components/entity-components.js.map +1 -0
  327. package/dist/game2d/components/light2d.d.ts +12 -0
  328. package/dist/game2d/components/light2d.d.ts.map +1 -0
  329. package/dist/game2d/components/light2d.js +5 -0
  330. package/dist/game2d/components/light2d.js.map +1 -0
  331. package/dist/game2d/components/lighting.d.ts +17 -0
  332. package/dist/game2d/components/lighting.d.ts.map +1 -0
  333. package/dist/game2d/components/lighting.js +6 -0
  334. package/dist/game2d/components/lighting.js.map +1 -0
  335. package/dist/game2d/components/music.d.ts +8 -0
  336. package/dist/game2d/components/music.d.ts.map +1 -0
  337. package/dist/game2d/components/music.js +4 -0
  338. package/dist/game2d/components/music.js.map +1 -0
  339. package/dist/game2d/components/sprite.d.ts +26 -0
  340. package/dist/game2d/components/sprite.d.ts.map +1 -0
  341. package/dist/game2d/components/sprite.js +6 -0
  342. package/dist/game2d/components/sprite.js.map +1 -0
  343. package/dist/game2d/components/tilemap.d.ts +23 -0
  344. package/dist/game2d/components/tilemap.d.ts.map +1 -0
  345. package/dist/game2d/components/tilemap.js +6 -0
  346. package/dist/game2d/components/tilemap.js.map +1 -0
  347. package/dist/game2d/components/transform.d.ts +10 -0
  348. package/dist/game2d/components/transform.d.ts.map +1 -0
  349. package/dist/game2d/components/transform.js +10 -0
  350. package/dist/game2d/components/transform.js.map +1 -0
  351. package/dist/game2d/components/visual-animation.d.ts +148 -0
  352. package/dist/game2d/components/visual-animation.d.ts.map +1 -0
  353. package/dist/game2d/components/visual-animation.js +10 -0
  354. package/dist/game2d/components/visual-animation.js.map +1 -0
  355. package/dist/game2d/index.d.ts +1426 -0
  356. package/dist/game2d/index.d.ts.map +1 -0
  357. package/dist/game2d/index.js +135 -0
  358. package/dist/game2d/index.js.map +1 -0
  359. package/dist/game3d/components/animator.d.ts +9 -0
  360. package/dist/game3d/components/animator.d.ts.map +1 -0
  361. package/dist/game3d/components/animator.js +7 -0
  362. package/dist/game3d/components/animator.js.map +1 -0
  363. package/dist/game3d/components/assets.d.ts +261 -0
  364. package/dist/game3d/components/assets.d.ts.map +1 -0
  365. package/dist/game3d/components/assets.js +21 -0
  366. package/dist/game3d/components/assets.js.map +1 -0
  367. package/dist/game3d/components/behaviors.d.ts +66 -0
  368. package/dist/game3d/components/behaviors.d.ts.map +1 -0
  369. package/dist/game3d/components/behaviors.js +9 -0
  370. package/dist/game3d/components/behaviors.js.map +1 -0
  371. package/dist/game3d/components/body.d.ts +53 -0
  372. package/dist/game3d/components/body.d.ts.map +1 -0
  373. package/dist/game3d/components/body.js +15 -0
  374. package/dist/game3d/components/body.js.map +1 -0
  375. package/dist/game3d/components/camera.d.ts +49 -0
  376. package/dist/game3d/components/camera.d.ts.map +1 -0
  377. package/dist/game3d/components/camera.js +20 -0
  378. package/dist/game3d/components/camera.js.map +1 -0
  379. package/dist/game3d/components/character.d.ts +16 -0
  380. package/dist/game3d/components/character.d.ts.map +1 -0
  381. package/dist/game3d/components/character.js +10 -0
  382. package/dist/game3d/components/character.js.map +1 -0
  383. package/dist/game3d/components/collider-geometry.d.ts +7 -0
  384. package/dist/game3d/components/collider-geometry.d.ts.map +1 -0
  385. package/dist/game3d/components/collider-geometry.js +13 -0
  386. package/dist/game3d/components/collider-geometry.js.map +1 -0
  387. package/dist/game3d/components/collider.d.ts +79 -0
  388. package/dist/game3d/components/collider.d.ts.map +1 -0
  389. package/dist/game3d/components/collider.js +16 -0
  390. package/dist/game3d/components/collider.js.map +1 -0
  391. package/dist/game3d/components/common.d.ts +8 -0
  392. package/dist/game3d/components/common.d.ts.map +1 -0
  393. package/dist/game3d/components/common.js +8 -0
  394. package/dist/game3d/components/common.js.map +1 -0
  395. package/dist/game3d/components/environment.d.ts +20 -0
  396. package/dist/game3d/components/environment.d.ts.map +1 -0
  397. package/dist/game3d/components/environment.js +8 -0
  398. package/dist/game3d/components/environment.js.map +1 -0
  399. package/dist/game3d/components/interaction-actor.d.ts +6 -0
  400. package/dist/game3d/components/interaction-actor.d.ts.map +1 -0
  401. package/dist/game3d/components/interaction-actor.js +3 -0
  402. package/dist/game3d/components/interaction-actor.js.map +1 -0
  403. package/dist/game3d/components/light.d.ts +23 -0
  404. package/dist/game3d/components/light.d.ts.map +1 -0
  405. package/dist/game3d/components/light.js +9 -0
  406. package/dist/game3d/components/light.js.map +1 -0
  407. package/dist/game3d/components/material.d.ts +15 -0
  408. package/dist/game3d/components/material.d.ts.map +1 -0
  409. package/dist/game3d/components/material.js +9 -0
  410. package/dist/game3d/components/material.js.map +1 -0
  411. package/dist/game3d/components/model.d.ts +22 -0
  412. package/dist/game3d/components/model.d.ts.map +1 -0
  413. package/dist/game3d/components/model.js +8 -0
  414. package/dist/game3d/components/model.js.map +1 -0
  415. package/dist/game3d/components/primitive.d.ts +31 -0
  416. package/dist/game3d/components/primitive.d.ts.map +1 -0
  417. package/dist/game3d/components/primitive.js +10 -0
  418. package/dist/game3d/components/primitive.js.map +1 -0
  419. package/dist/game3d/components/transform.d.ts +24 -0
  420. package/dist/game3d/components/transform.d.ts.map +1 -0
  421. package/dist/game3d/components/transform.js +10 -0
  422. package/dist/game3d/components/transform.js.map +1 -0
  423. package/dist/game3d/index.d.ts +4045 -0
  424. package/dist/game3d/index.d.ts.map +1 -0
  425. package/dist/game3d/index.js +159 -0
  426. package/dist/game3d/index.js.map +1 -0
  427. package/dist/game3d.d.ts +2 -0
  428. package/dist/game3d.d.ts.map +1 -0
  429. package/dist/game3d.js +2 -0
  430. package/dist/game3d.js.map +1 -0
  431. package/dist/graph.d.ts +192 -5
  432. package/dist/graph.d.ts.map +1 -1
  433. package/dist/graph.js +515 -0
  434. package/dist/graph.js.map +1 -1
  435. package/dist/index.d.ts +59 -2
  436. package/dist/index.d.ts.map +1 -1
  437. package/dist/index.js +57 -2
  438. package/dist/index.js.map +1 -1
  439. package/dist/loop.d.ts +38 -0
  440. package/dist/loop.d.ts.map +1 -0
  441. package/dist/loop.js +69 -0
  442. package/dist/loop.js.map +1 -0
  443. package/dist/mcp-server-config.d.ts +113 -0
  444. package/dist/mcp-server-config.d.ts.map +1 -0
  445. package/dist/mcp-server-config.js +147 -0
  446. package/dist/mcp-server-config.js.map +1 -0
  447. package/dist/messages.d.ts +1577 -243
  448. package/dist/messages.d.ts.map +1 -1
  449. package/dist/messages.js +718 -22
  450. package/dist/messages.js.map +1 -1
  451. package/dist/missing-runtime-package.d.ts +23 -0
  452. package/dist/missing-runtime-package.d.ts.map +1 -0
  453. package/dist/missing-runtime-package.js +34 -0
  454. package/dist/missing-runtime-package.js.map +1 -0
  455. package/dist/model-selection.d.ts +20 -0
  456. package/dist/model-selection.d.ts.map +1 -0
  457. package/dist/model-selection.js +27 -0
  458. package/dist/model-selection.js.map +1 -0
  459. package/dist/nodetool-models.d.ts +71 -0
  460. package/dist/nodetool-models.d.ts.map +1 -0
  461. package/dist/nodetool-models.js +138 -0
  462. package/dist/nodetool-models.js.map +1 -0
  463. package/dist/package-assets.d.ts +39 -0
  464. package/dist/package-assets.d.ts.map +1 -0
  465. package/dist/package-assets.js +63 -0
  466. package/dist/package-assets.js.map +1 -0
  467. package/dist/platform.d.ts +66 -0
  468. package/dist/platform.d.ts.map +1 -0
  469. package/dist/platform.js +68 -0
  470. package/dist/platform.js.map +1 -0
  471. package/dist/predicates.d.ts +43 -0
  472. package/dist/predicates.d.ts.map +1 -0
  473. package/dist/predicates.js +65 -0
  474. package/dist/predicates.js.map +1 -0
  475. package/dist/processing-messages.schema.json +2545 -0
  476. package/dist/production-authoring.d.ts +931 -0
  477. package/dist/production-authoring.d.ts.map +1 -0
  478. package/dist/production-authoring.js +931 -0
  479. package/dist/production-authoring.js.map +1 -0
  480. package/dist/python-packs.d.ts +25 -0
  481. package/dist/python-packs.d.ts.map +1 -0
  482. package/dist/python-packs.js +51 -0
  483. package/dist/python-packs.js.map +1 -0
  484. package/dist/render-record.d.ts +228 -0
  485. package/dist/render-record.d.ts.map +1 -0
  486. package/dist/render-record.js +212 -0
  487. package/dist/render-record.js.map +1 -0
  488. package/dist/resource-id.d.ts +22 -0
  489. package/dist/resource-id.d.ts.map +1 -0
  490. package/dist/resource-id.js +32 -0
  491. package/dist/resource-id.js.map +1 -0
  492. package/dist/resource-uri.d.ts +15 -0
  493. package/dist/resource-uri.d.ts.map +1 -0
  494. package/dist/resource-uri.js +91 -0
  495. package/dist/resource-uri.js.map +1 -0
  496. package/dist/run-readers.d.ts +760 -0
  497. package/dist/run-readers.d.ts.map +1 -0
  498. package/dist/run-readers.js +153 -0
  499. package/dist/run-readers.js.map +1 -0
  500. package/dist/run-trace.d.ts +206 -0
  501. package/dist/run-trace.d.ts.map +1 -0
  502. package/dist/run-trace.js +177 -0
  503. package/dist/run-trace.js.map +1 -0
  504. package/dist/sandbox-capability.d.ts +86 -0
  505. package/dist/sandbox-capability.d.ts.map +1 -0
  506. package/dist/sandbox-capability.js +106 -0
  507. package/dist/sandbox-capability.js.map +1 -0
  508. package/dist/sandbox-host.d.ts +98 -0
  509. package/dist/sandbox-host.d.ts.map +1 -0
  510. package/dist/sandbox-host.js +311 -0
  511. package/dist/sandbox-host.js.map +1 -0
  512. package/dist/sandbox-package.d.ts +674 -0
  513. package/dist/sandbox-package.d.ts.map +1 -0
  514. package/dist/sandbox-package.js +622 -0
  515. package/dist/sandbox-package.js.map +1 -0
  516. package/dist/sandbox-wasm.d.ts +84 -0
  517. package/dist/sandbox-wasm.d.ts.map +1 -0
  518. package/dist/sandbox-wasm.js +139 -0
  519. package/dist/sandbox-wasm.js.map +1 -0
  520. package/dist/screenplay-authoring.d.ts +69 -0
  521. package/dist/screenplay-authoring.d.ts.map +1 -0
  522. package/dist/screenplay-authoring.js +352 -0
  523. package/dist/screenplay-authoring.js.map +1 -0
  524. package/dist/script-authoring.d.ts +161 -0
  525. package/dist/script-authoring.d.ts.map +1 -0
  526. package/dist/script-authoring.js +503 -0
  527. package/dist/script-authoring.js.map +1 -0
  528. package/dist/script-fill.d.ts +39 -0
  529. package/dist/script-fill.d.ts.map +1 -0
  530. package/dist/script-fill.js +67 -0
  531. package/dist/script-fill.js.map +1 -0
  532. package/dist/script-link.d.ts +110 -0
  533. package/dist/script-link.d.ts.map +1 -0
  534. package/dist/script-link.js +252 -0
  535. package/dist/script-link.js.map +1 -0
  536. package/dist/script-pace.d.ts +4 -0
  537. package/dist/script-pace.d.ts.map +1 -0
  538. package/dist/script-pace.js +11 -0
  539. package/dist/script-pace.js.map +1 -0
  540. package/dist/sha256.d.ts +11 -0
  541. package/dist/sha256.d.ts.map +1 -0
  542. package/dist/sha256.js +110 -0
  543. package/dist/sha256.js.map +1 -0
  544. package/dist/shot-prompt.d.ts +78 -0
  545. package/dist/shot-prompt.d.ts.map +1 -0
  546. package/dist/shot-prompt.js +120 -0
  547. package/dist/shot-prompt.js.map +1 -0
  548. package/dist/skill-document.d.ts +36 -0
  549. package/dist/skill-document.d.ts.map +1 -0
  550. package/dist/skill-document.js +140 -0
  551. package/dist/skill-document.js.map +1 -0
  552. package/dist/storyboard-render-spec.d.ts +4 -0
  553. package/dist/storyboard-render-spec.d.ts.map +1 -0
  554. package/dist/storyboard-render-spec.js +4 -0
  555. package/dist/storyboard-render-spec.js.map +1 -0
  556. package/dist/style-presets.d.ts +73 -0
  557. package/dist/style-presets.d.ts.map +1 -0
  558. package/dist/style-presets.js +147 -0
  559. package/dist/style-presets.js.map +1 -0
  560. package/dist/supervisor.d.ts +227 -0
  561. package/dist/supervisor.d.ts.map +1 -0
  562. package/dist/supervisor.js +116 -0
  563. package/dist/supervisor.js.map +1 -0
  564. package/dist/token-providers.d.ts +31 -0
  565. package/dist/token-providers.d.ts.map +1 -0
  566. package/dist/token-providers.js +52 -0
  567. package/dist/token-providers.js.map +1 -0
  568. package/dist/toolSchemas.d.ts +18 -14
  569. package/dist/toolSchemas.d.ts.map +1 -1
  570. package/dist/toolSchemas.js +30 -31
  571. package/dist/toolSchemas.js.map +1 -1
  572. package/dist/triggers.d.ts +41 -0
  573. package/dist/triggers.d.ts.map +1 -0
  574. package/dist/triggers.js +50 -0
  575. package/dist/triggers.js.map +1 -0
  576. package/dist/trpc-policy.d.ts +3 -0
  577. package/dist/trpc-policy.d.ts.map +1 -0
  578. package/dist/trpc-policy.js +3 -0
  579. package/dist/trpc-policy.js.map +1 -0
  580. package/dist/type-metadata.d.ts +5 -0
  581. package/dist/type-metadata.d.ts.map +1 -1
  582. package/dist/type-metadata.js +17 -8
  583. package/dist/type-metadata.js.map +1 -1
  584. package/dist/typecheck.d.ts.map +1 -1
  585. package/dist/typecheck.js +5 -4
  586. package/dist/typecheck.js.map +1 -1
  587. package/dist/wasm-binary.d.ts +61 -0
  588. package/dist/wasm-binary.d.ts.map +1 -0
  589. package/dist/wasm-binary.js +215 -0
  590. package/dist/wasm-binary.js.map +1 -0
  591. package/dist/workflow-document-revision.d.ts +4 -0
  592. package/dist/workflow-document-revision.d.ts.map +1 -0
  593. package/dist/workflow-document-revision.js +111 -0
  594. package/dist/workflow-document-revision.js.map +1 -0
  595. package/dist/workflow-plan.d.ts +274 -0
  596. package/dist/workflow-plan.d.ts.map +1 -0
  597. package/dist/workflow-plan.js +667 -0
  598. package/dist/workflow-plan.js.map +1 -0
  599. package/dist/wrap-primitives.d.ts +0 -11
  600. package/dist/wrap-primitives.d.ts.map +1 -1
  601. package/dist/wrap-primitives.js +3 -9
  602. package/dist/wrap-primitives.js.map +1 -1
  603. package/dist/ws-commands.d.ts +770 -0
  604. package/dist/ws-commands.d.ts.map +1 -0
  605. package/dist/ws-commands.js +624 -0
  606. package/dist/ws-commands.js.map +1 -0
  607. package/dist/zod-schema.d.ts +20 -0
  608. package/dist/zod-schema.d.ts.map +1 -0
  609. package/dist/zod-schema.js +298 -0
  610. package/dist/zod-schema.js.map +1 -0
  611. package/package.json +96 -7
  612. package/schema/sdk-v1.asyncapi.implemented.json +65 -0
  613. package/schema/sdk-v1.asyncapi.json +65 -0
  614. package/schema/sdk-v1.discovery.schema.json +1218 -0
  615. package/schema/sdk-v1.execution.schema.json +2792 -0
  616. package/schema/sdk-v1.lifecycle.schema.json +1031 -0
  617. package/schema/sdk-v1.manifest.json +71 -0
  618. package/schema/sdk-v1.openapi.implemented.json +730 -0
  619. package/schema/sdk-v1.openapi.json +730 -0
  620. package/schema/sdk-v1.operations.json +732 -0
  621. package/dist/agent-protocol.d.ts +0 -217
  622. package/dist/agent-protocol.d.ts.map +0 -1
  623. package/dist/agent-protocol.js +0 -85
  624. package/dist/agent-protocol.js.map +0 -1
@@ -0,0 +1,2545 @@
1
+ {
2
+ "$id": "https://nodetool.ai/schemas/protocol/processing-messages.schema.json",
3
+ "description": "Every ProcessingMessage variant NodeTool streams over WebSocket/msgpack and the Python stdio bridge, generated from @nodetool-ai/protocol's Zod schemas.",
4
+ "title": "NodeTool ProcessingMessage",
5
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6
+ "oneOf": [
7
+ {
8
+ "type": "object",
9
+ "properties": {
10
+ "type": {
11
+ "type": "string",
12
+ "const": "job_update"
13
+ },
14
+ "status": {
15
+ "type": "string"
16
+ },
17
+ "job_id": {
18
+ "anyOf": [
19
+ {
20
+ "type": "string"
21
+ },
22
+ {
23
+ "type": "null"
24
+ }
25
+ ]
26
+ },
27
+ "workflow_id": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string"
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ]
36
+ },
37
+ "message": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string"
41
+ },
42
+ {
43
+ "type": "null"
44
+ }
45
+ ]
46
+ },
47
+ "result": {
48
+ "anyOf": [
49
+ {
50
+ "type": "object",
51
+ "propertyNames": {
52
+ "type": "string"
53
+ },
54
+ "additionalProperties": {}
55
+ },
56
+ {
57
+ "type": "null"
58
+ }
59
+ ]
60
+ },
61
+ "error": {
62
+ "anyOf": [
63
+ {
64
+ "type": "string"
65
+ },
66
+ {
67
+ "type": "null"
68
+ }
69
+ ]
70
+ },
71
+ "traceback": {
72
+ "anyOf": [
73
+ {
74
+ "type": "string"
75
+ },
76
+ {
77
+ "type": "null"
78
+ }
79
+ ]
80
+ },
81
+ "duration": {
82
+ "anyOf": [
83
+ {
84
+ "type": "number"
85
+ },
86
+ {
87
+ "type": "null"
88
+ }
89
+ ]
90
+ },
91
+ "queue_position": {
92
+ "anyOf": [
93
+ {
94
+ "type": "number"
95
+ },
96
+ {
97
+ "type": "null"
98
+ }
99
+ ]
100
+ },
101
+ "validation_issues": {
102
+ "anyOf": [
103
+ {
104
+ "type": "array",
105
+ "items": {
106
+ "type": "object",
107
+ "properties": {
108
+ "node_id": {
109
+ "type": "string"
110
+ },
111
+ "node_type": {
112
+ "anyOf": [
113
+ {
114
+ "type": "string"
115
+ },
116
+ {
117
+ "type": "null"
118
+ }
119
+ ]
120
+ },
121
+ "property": {
122
+ "type": "string"
123
+ },
124
+ "message": {
125
+ "type": "string"
126
+ }
127
+ },
128
+ "required": [
129
+ "node_id",
130
+ "property",
131
+ "message"
132
+ ],
133
+ "additionalProperties": false
134
+ }
135
+ },
136
+ {
137
+ "type": "null"
138
+ }
139
+ ]
140
+ },
141
+ "error_code": {
142
+ "anyOf": [
143
+ {
144
+ "type": "string"
145
+ },
146
+ {
147
+ "type": "null"
148
+ }
149
+ ]
150
+ }
151
+ },
152
+ "required": [
153
+ "type",
154
+ "status"
155
+ ],
156
+ "additionalProperties": false
157
+ },
158
+ {
159
+ "type": "object",
160
+ "properties": {
161
+ "type": {
162
+ "type": "string",
163
+ "const": "node_update"
164
+ },
165
+ "node_id": {
166
+ "type": "string"
167
+ },
168
+ "node_name": {
169
+ "type": "string"
170
+ },
171
+ "node_type": {
172
+ "type": "string"
173
+ },
174
+ "status": {
175
+ "type": "string"
176
+ },
177
+ "error": {
178
+ "anyOf": [
179
+ {
180
+ "type": "string"
181
+ },
182
+ {
183
+ "type": "null"
184
+ }
185
+ ]
186
+ },
187
+ "error_detail": {
188
+ "anyOf": [
189
+ {
190
+ "type": "object",
191
+ "properties": {
192
+ "code": {
193
+ "type": "string"
194
+ },
195
+ "runtime_package": {
196
+ "anyOf": [
197
+ {
198
+ "type": "string"
199
+ },
200
+ {
201
+ "type": "null"
202
+ }
203
+ ]
204
+ },
205
+ "provider": {
206
+ "anyOf": [
207
+ {
208
+ "type": "string"
209
+ },
210
+ {
211
+ "type": "null"
212
+ }
213
+ ]
214
+ },
215
+ "secret_key": {
216
+ "anyOf": [
217
+ {
218
+ "type": "string"
219
+ },
220
+ {
221
+ "type": "null"
222
+ }
223
+ ]
224
+ }
225
+ },
226
+ "required": [
227
+ "code"
228
+ ],
229
+ "additionalProperties": false
230
+ },
231
+ {
232
+ "type": "null"
233
+ }
234
+ ]
235
+ },
236
+ "result": {
237
+ "anyOf": [
238
+ {
239
+ "type": "object",
240
+ "propertyNames": {
241
+ "type": "string"
242
+ },
243
+ "additionalProperties": {}
244
+ },
245
+ {
246
+ "type": "null"
247
+ }
248
+ ]
249
+ },
250
+ "properties": {
251
+ "anyOf": [
252
+ {
253
+ "type": "object",
254
+ "propertyNames": {
255
+ "type": "string"
256
+ },
257
+ "additionalProperties": {}
258
+ },
259
+ {
260
+ "type": "null"
261
+ }
262
+ ]
263
+ },
264
+ "provider_cost": {
265
+ "anyOf": [
266
+ {
267
+ "type": "object",
268
+ "properties": {
269
+ "provider": {
270
+ "type": "string"
271
+ },
272
+ "amount": {
273
+ "type": "number"
274
+ },
275
+ "unit": {
276
+ "type": "string"
277
+ },
278
+ "model": {
279
+ "anyOf": [
280
+ {
281
+ "type": "string"
282
+ },
283
+ {
284
+ "type": "null"
285
+ }
286
+ ]
287
+ },
288
+ "billing_unit": {
289
+ "anyOf": [
290
+ {
291
+ "type": "string"
292
+ },
293
+ {
294
+ "type": "null"
295
+ }
296
+ ]
297
+ },
298
+ "quantity": {
299
+ "anyOf": [
300
+ {
301
+ "type": "number"
302
+ },
303
+ {
304
+ "type": "null"
305
+ }
306
+ ]
307
+ },
308
+ "unit_price": {
309
+ "anyOf": [
310
+ {
311
+ "type": "number"
312
+ },
313
+ {
314
+ "type": "null"
315
+ }
316
+ ]
317
+ },
318
+ "currency": {
319
+ "anyOf": [
320
+ {
321
+ "type": "string"
322
+ },
323
+ {
324
+ "type": "null"
325
+ }
326
+ ]
327
+ },
328
+ "input_tokens": {
329
+ "anyOf": [
330
+ {
331
+ "type": "number"
332
+ },
333
+ {
334
+ "type": "null"
335
+ }
336
+ ]
337
+ },
338
+ "output_tokens": {
339
+ "anyOf": [
340
+ {
341
+ "type": "number"
342
+ },
343
+ {
344
+ "type": "null"
345
+ }
346
+ ]
347
+ },
348
+ "cached_tokens": {
349
+ "anyOf": [
350
+ {
351
+ "type": "number"
352
+ },
353
+ {
354
+ "type": "null"
355
+ }
356
+ ]
357
+ },
358
+ "provider_request_id": {
359
+ "anyOf": [
360
+ {
361
+ "type": "string"
362
+ },
363
+ {
364
+ "type": "null"
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ "required": [
370
+ "provider",
371
+ "amount",
372
+ "unit"
373
+ ],
374
+ "additionalProperties": false
375
+ },
376
+ {
377
+ "type": "null"
378
+ }
379
+ ]
380
+ },
381
+ "workflow_id": {
382
+ "anyOf": [
383
+ {
384
+ "type": "string"
385
+ },
386
+ {
387
+ "type": "null"
388
+ }
389
+ ]
390
+ },
391
+ "job_id": {
392
+ "anyOf": [
393
+ {
394
+ "type": "string"
395
+ },
396
+ {
397
+ "type": "null"
398
+ }
399
+ ]
400
+ }
401
+ },
402
+ "required": [
403
+ "type",
404
+ "node_id",
405
+ "node_name",
406
+ "node_type",
407
+ "status"
408
+ ],
409
+ "additionalProperties": false
410
+ },
411
+ {
412
+ "type": "object",
413
+ "properties": {
414
+ "type": {
415
+ "type": "string",
416
+ "const": "generation_complete"
417
+ },
418
+ "node_id": {
419
+ "type": "string"
420
+ },
421
+ "node_name": {
422
+ "type": "string"
423
+ },
424
+ "node_type": {
425
+ "type": "string"
426
+ },
427
+ "index": {
428
+ "type": "number"
429
+ },
430
+ "outputs": {
431
+ "type": "object",
432
+ "propertyNames": {
433
+ "type": "string"
434
+ },
435
+ "additionalProperties": {}
436
+ },
437
+ "properties": {
438
+ "anyOf": [
439
+ {
440
+ "type": "object",
441
+ "propertyNames": {
442
+ "type": "string"
443
+ },
444
+ "additionalProperties": {}
445
+ },
446
+ {
447
+ "type": "null"
448
+ }
449
+ ]
450
+ },
451
+ "job_id": {
452
+ "anyOf": [
453
+ {
454
+ "type": "string"
455
+ },
456
+ {
457
+ "type": "null"
458
+ }
459
+ ]
460
+ },
461
+ "workflow_id": {
462
+ "anyOf": [
463
+ {
464
+ "type": "string"
465
+ },
466
+ {
467
+ "type": "null"
468
+ }
469
+ ]
470
+ }
471
+ },
472
+ "required": [
473
+ "type",
474
+ "node_id",
475
+ "node_name",
476
+ "node_type",
477
+ "outputs"
478
+ ],
479
+ "additionalProperties": false
480
+ },
481
+ {
482
+ "type": "object",
483
+ "properties": {
484
+ "type": {
485
+ "type": "string",
486
+ "const": "node_progress"
487
+ },
488
+ "node_id": {
489
+ "type": "string"
490
+ },
491
+ "progress": {
492
+ "type": "number"
493
+ },
494
+ "total": {
495
+ "type": "number"
496
+ },
497
+ "chunk": {
498
+ "type": "string"
499
+ },
500
+ "workflow_id": {
501
+ "anyOf": [
502
+ {
503
+ "type": "string"
504
+ },
505
+ {
506
+ "type": "null"
507
+ }
508
+ ]
509
+ },
510
+ "job_id": {
511
+ "anyOf": [
512
+ {
513
+ "type": "string"
514
+ },
515
+ {
516
+ "type": "null"
517
+ }
518
+ ]
519
+ }
520
+ },
521
+ "required": [
522
+ "type",
523
+ "node_id",
524
+ "progress",
525
+ "total"
526
+ ],
527
+ "additionalProperties": false
528
+ },
529
+ {
530
+ "type": "object",
531
+ "properties": {
532
+ "type": {
533
+ "type": "string",
534
+ "const": "edge_update"
535
+ },
536
+ "workflow_id": {
537
+ "anyOf": [
538
+ {
539
+ "type": "string"
540
+ },
541
+ {
542
+ "type": "null"
543
+ }
544
+ ]
545
+ },
546
+ "job_id": {
547
+ "anyOf": [
548
+ {
549
+ "type": "string"
550
+ },
551
+ {
552
+ "type": "null"
553
+ }
554
+ ]
555
+ },
556
+ "edge_id": {
557
+ "type": "string"
558
+ },
559
+ "status": {
560
+ "type": "string"
561
+ },
562
+ "counter": {
563
+ "anyOf": [
564
+ {
565
+ "type": "number"
566
+ },
567
+ {
568
+ "type": "null"
569
+ }
570
+ ]
571
+ }
572
+ },
573
+ "required": [
574
+ "type",
575
+ "edge_id",
576
+ "status"
577
+ ],
578
+ "additionalProperties": false
579
+ },
580
+ {
581
+ "type": "object",
582
+ "properties": {
583
+ "type": {
584
+ "type": "string",
585
+ "const": "output_update"
586
+ },
587
+ "node_id": {
588
+ "type": "string"
589
+ },
590
+ "node_name": {
591
+ "type": "string"
592
+ },
593
+ "output_name": {
594
+ "type": "string"
595
+ },
596
+ "value": {},
597
+ "output_type": {
598
+ "type": "string"
599
+ },
600
+ "metadata": {
601
+ "type": "object",
602
+ "propertyNames": {
603
+ "type": "string"
604
+ },
605
+ "additionalProperties": {}
606
+ },
607
+ "disposition": {
608
+ "type": "string",
609
+ "enum": [
610
+ "append",
611
+ "replace"
612
+ ]
613
+ },
614
+ "done": {
615
+ "type": "boolean"
616
+ },
617
+ "workflow_id": {
618
+ "anyOf": [
619
+ {
620
+ "type": "string"
621
+ },
622
+ {
623
+ "type": "null"
624
+ }
625
+ ]
626
+ },
627
+ "job_id": {
628
+ "anyOf": [
629
+ {
630
+ "type": "string"
631
+ },
632
+ {
633
+ "type": "null"
634
+ }
635
+ ]
636
+ }
637
+ },
638
+ "required": [
639
+ "type",
640
+ "node_id",
641
+ "node_name",
642
+ "output_name",
643
+ "value",
644
+ "output_type",
645
+ "metadata"
646
+ ],
647
+ "additionalProperties": false
648
+ },
649
+ {
650
+ "type": "object",
651
+ "properties": {
652
+ "type": {
653
+ "type": "string",
654
+ "const": "save_update"
655
+ },
656
+ "node_id": {
657
+ "type": "string"
658
+ },
659
+ "name": {
660
+ "type": "string"
661
+ },
662
+ "value": {},
663
+ "output_type": {
664
+ "type": "string"
665
+ },
666
+ "metadata": {
667
+ "type": "object",
668
+ "propertyNames": {
669
+ "type": "string"
670
+ },
671
+ "additionalProperties": {}
672
+ }
673
+ },
674
+ "required": [
675
+ "type",
676
+ "node_id",
677
+ "name",
678
+ "value",
679
+ "output_type",
680
+ "metadata"
681
+ ],
682
+ "additionalProperties": false
683
+ },
684
+ {
685
+ "type": "object",
686
+ "properties": {
687
+ "type": {
688
+ "type": "string",
689
+ "const": "binary_update"
690
+ },
691
+ "node_id": {
692
+ "type": "string"
693
+ },
694
+ "output_name": {
695
+ "type": "string"
696
+ },
697
+ "binary": {}
698
+ },
699
+ "required": [
700
+ "type",
701
+ "node_id",
702
+ "output_name",
703
+ "binary"
704
+ ],
705
+ "additionalProperties": false
706
+ },
707
+ {
708
+ "type": "object",
709
+ "properties": {
710
+ "type": {
711
+ "type": "string",
712
+ "const": "log_update"
713
+ },
714
+ "node_id": {
715
+ "type": "string"
716
+ },
717
+ "node_name": {
718
+ "type": "string"
719
+ },
720
+ "content": {
721
+ "type": "string"
722
+ },
723
+ "severity": {
724
+ "type": "string",
725
+ "enum": [
726
+ "info",
727
+ "warning",
728
+ "error"
729
+ ]
730
+ },
731
+ "workflow_id": {
732
+ "anyOf": [
733
+ {
734
+ "type": "string"
735
+ },
736
+ {
737
+ "type": "null"
738
+ }
739
+ ]
740
+ }
741
+ },
742
+ "required": [
743
+ "type",
744
+ "node_id",
745
+ "node_name",
746
+ "content",
747
+ "severity"
748
+ ],
749
+ "additionalProperties": false
750
+ },
751
+ {
752
+ "type": "object",
753
+ "properties": {
754
+ "type": {
755
+ "type": "string",
756
+ "const": "notification"
757
+ },
758
+ "node_id": {
759
+ "type": "string"
760
+ },
761
+ "content": {
762
+ "type": "string"
763
+ },
764
+ "severity": {
765
+ "type": "string",
766
+ "enum": [
767
+ "info",
768
+ "warning",
769
+ "error"
770
+ ]
771
+ },
772
+ "workflow_id": {
773
+ "anyOf": [
774
+ {
775
+ "type": "string"
776
+ },
777
+ {
778
+ "type": "null"
779
+ }
780
+ ]
781
+ }
782
+ },
783
+ "required": [
784
+ "type",
785
+ "node_id",
786
+ "content",
787
+ "severity"
788
+ ],
789
+ "additionalProperties": false
790
+ },
791
+ {
792
+ "type": "object",
793
+ "properties": {
794
+ "type": {
795
+ "type": "string",
796
+ "const": "error"
797
+ },
798
+ "message": {
799
+ "type": "string"
800
+ },
801
+ "thread_id": {
802
+ "anyOf": [
803
+ {
804
+ "type": "string"
805
+ },
806
+ {
807
+ "type": "null"
808
+ }
809
+ ]
810
+ },
811
+ "workflow_id": {
812
+ "anyOf": [
813
+ {
814
+ "type": "string"
815
+ },
816
+ {
817
+ "type": "null"
818
+ }
819
+ ]
820
+ }
821
+ },
822
+ "required": [
823
+ "type",
824
+ "message"
825
+ ],
826
+ "additionalProperties": false
827
+ },
828
+ {
829
+ "type": "object",
830
+ "properties": {
831
+ "type": {
832
+ "type": "string",
833
+ "const": "tool_call_update"
834
+ },
835
+ "node_id": {
836
+ "anyOf": [
837
+ {
838
+ "type": "string"
839
+ },
840
+ {
841
+ "type": "null"
842
+ }
843
+ ]
844
+ },
845
+ "thread_id": {
846
+ "anyOf": [
847
+ {
848
+ "type": "string"
849
+ },
850
+ {
851
+ "type": "null"
852
+ }
853
+ ]
854
+ },
855
+ "workflow_id": {
856
+ "anyOf": [
857
+ {
858
+ "type": "string"
859
+ },
860
+ {
861
+ "type": "null"
862
+ }
863
+ ]
864
+ },
865
+ "tool_call_id": {
866
+ "anyOf": [
867
+ {
868
+ "type": "string"
869
+ },
870
+ {
871
+ "type": "null"
872
+ }
873
+ ]
874
+ },
875
+ "name": {
876
+ "type": "string"
877
+ },
878
+ "args": {
879
+ "type": "object",
880
+ "propertyNames": {
881
+ "type": "string"
882
+ },
883
+ "additionalProperties": {}
884
+ },
885
+ "message": {
886
+ "anyOf": [
887
+ {
888
+ "type": "string"
889
+ },
890
+ {
891
+ "type": "null"
892
+ }
893
+ ]
894
+ },
895
+ "step_id": {
896
+ "anyOf": [
897
+ {
898
+ "type": "string"
899
+ },
900
+ {
901
+ "type": "null"
902
+ }
903
+ ]
904
+ },
905
+ "agent_execution_id": {
906
+ "anyOf": [
907
+ {
908
+ "type": "string"
909
+ },
910
+ {
911
+ "type": "null"
912
+ }
913
+ ]
914
+ },
915
+ "parent_tool_call_id": {
916
+ "anyOf": [
917
+ {
918
+ "type": "string"
919
+ },
920
+ {
921
+ "type": "null"
922
+ }
923
+ ]
924
+ },
925
+ "subtask_depth": {
926
+ "anyOf": [
927
+ {
928
+ "type": "number"
929
+ },
930
+ {
931
+ "type": "null"
932
+ }
933
+ ]
934
+ }
935
+ },
936
+ "required": [
937
+ "type",
938
+ "name",
939
+ "args"
940
+ ],
941
+ "additionalProperties": false
942
+ },
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "type": {
947
+ "type": "string",
948
+ "const": "tool_result_update"
949
+ },
950
+ "node_id": {
951
+ "type": "string"
952
+ },
953
+ "thread_id": {
954
+ "anyOf": [
955
+ {
956
+ "type": "string"
957
+ },
958
+ {
959
+ "type": "null"
960
+ }
961
+ ]
962
+ },
963
+ "workflow_id": {
964
+ "anyOf": [
965
+ {
966
+ "type": "string"
967
+ },
968
+ {
969
+ "type": "null"
970
+ }
971
+ ]
972
+ },
973
+ "result": {
974
+ "type": "object",
975
+ "propertyNames": {
976
+ "type": "string"
977
+ },
978
+ "additionalProperties": {}
979
+ },
980
+ "tool_call_id": {
981
+ "anyOf": [
982
+ {
983
+ "type": "string"
984
+ },
985
+ {
986
+ "type": "null"
987
+ }
988
+ ]
989
+ },
990
+ "name": {
991
+ "anyOf": [
992
+ {
993
+ "type": "string"
994
+ },
995
+ {
996
+ "type": "null"
997
+ }
998
+ ]
999
+ },
1000
+ "is_error": {
1001
+ "type": "boolean"
1002
+ },
1003
+ "parent_tool_call_id": {
1004
+ "anyOf": [
1005
+ {
1006
+ "type": "string"
1007
+ },
1008
+ {
1009
+ "type": "null"
1010
+ }
1011
+ ]
1012
+ },
1013
+ "subtask_depth": {
1014
+ "anyOf": [
1015
+ {
1016
+ "type": "number"
1017
+ },
1018
+ {
1019
+ "type": "null"
1020
+ }
1021
+ ]
1022
+ }
1023
+ },
1024
+ "required": [
1025
+ "type",
1026
+ "node_id",
1027
+ "result"
1028
+ ],
1029
+ "additionalProperties": false
1030
+ },
1031
+ {
1032
+ "type": "object",
1033
+ "properties": {
1034
+ "type": {
1035
+ "type": "string",
1036
+ "const": "task_update"
1037
+ },
1038
+ "node_id": {
1039
+ "anyOf": [
1040
+ {
1041
+ "type": "string"
1042
+ },
1043
+ {
1044
+ "type": "null"
1045
+ }
1046
+ ]
1047
+ },
1048
+ "thread_id": {
1049
+ "anyOf": [
1050
+ {
1051
+ "type": "string"
1052
+ },
1053
+ {
1054
+ "type": "null"
1055
+ }
1056
+ ]
1057
+ },
1058
+ "workflow_id": {
1059
+ "anyOf": [
1060
+ {
1061
+ "type": "string"
1062
+ },
1063
+ {
1064
+ "type": "null"
1065
+ }
1066
+ ]
1067
+ },
1068
+ "task": {
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "id": {
1072
+ "type": "string"
1073
+ },
1074
+ "name": {
1075
+ "type": "string"
1076
+ },
1077
+ "title": {
1078
+ "type": "string"
1079
+ },
1080
+ "description": {
1081
+ "type": "string"
1082
+ },
1083
+ "instructions": {
1084
+ "type": "string"
1085
+ },
1086
+ "status": {
1087
+ "type": "string"
1088
+ },
1089
+ "steps": {
1090
+ "type": "array",
1091
+ "items": {
1092
+ "type": "object",
1093
+ "properties": {
1094
+ "id": {
1095
+ "type": "string"
1096
+ },
1097
+ "name": {
1098
+ "type": "string"
1099
+ },
1100
+ "instructions": {
1101
+ "type": "string"
1102
+ },
1103
+ "status": {
1104
+ "type": "string"
1105
+ },
1106
+ "tool": {
1107
+ "anyOf": [
1108
+ {
1109
+ "type": "string"
1110
+ },
1111
+ {
1112
+ "type": "null"
1113
+ }
1114
+ ]
1115
+ },
1116
+ "result": {},
1117
+ "error": {
1118
+ "anyOf": [
1119
+ {
1120
+ "type": "string"
1121
+ },
1122
+ {
1123
+ "type": "null"
1124
+ }
1125
+ ]
1126
+ },
1127
+ "completed": {
1128
+ "type": "boolean"
1129
+ },
1130
+ "start_time": {
1131
+ "type": "number"
1132
+ }
1133
+ },
1134
+ "additionalProperties": {}
1135
+ }
1136
+ },
1137
+ "result": {},
1138
+ "error": {
1139
+ "anyOf": [
1140
+ {
1141
+ "type": "string"
1142
+ },
1143
+ {
1144
+ "type": "null"
1145
+ }
1146
+ ]
1147
+ }
1148
+ },
1149
+ "additionalProperties": {}
1150
+ },
1151
+ "step": {
1152
+ "anyOf": [
1153
+ {
1154
+ "type": "object",
1155
+ "properties": {
1156
+ "id": {
1157
+ "type": "string"
1158
+ },
1159
+ "name": {
1160
+ "type": "string"
1161
+ },
1162
+ "instructions": {
1163
+ "type": "string"
1164
+ },
1165
+ "status": {
1166
+ "type": "string"
1167
+ },
1168
+ "tool": {
1169
+ "anyOf": [
1170
+ {
1171
+ "type": "string"
1172
+ },
1173
+ {
1174
+ "type": "null"
1175
+ }
1176
+ ]
1177
+ },
1178
+ "result": {},
1179
+ "error": {
1180
+ "anyOf": [
1181
+ {
1182
+ "type": "string"
1183
+ },
1184
+ {
1185
+ "type": "null"
1186
+ }
1187
+ ]
1188
+ },
1189
+ "completed": {
1190
+ "type": "boolean"
1191
+ },
1192
+ "start_time": {
1193
+ "type": "number"
1194
+ }
1195
+ },
1196
+ "additionalProperties": {}
1197
+ },
1198
+ {
1199
+ "type": "null"
1200
+ }
1201
+ ]
1202
+ },
1203
+ "event": {
1204
+ "type": "string",
1205
+ "enum": [
1206
+ "task_planned",
1207
+ "task_removed",
1208
+ "task_created",
1209
+ "step_started",
1210
+ "entered_conclusion_stage",
1211
+ "step_completed",
1212
+ "step_failed",
1213
+ "task_completed",
1214
+ "task_failed"
1215
+ ]
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "type",
1220
+ "task",
1221
+ "event"
1222
+ ],
1223
+ "additionalProperties": false
1224
+ },
1225
+ {
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "type": {
1229
+ "type": "string",
1230
+ "const": "step_result"
1231
+ },
1232
+ "step": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "id": {
1236
+ "type": "string"
1237
+ },
1238
+ "name": {
1239
+ "type": "string"
1240
+ },
1241
+ "instructions": {
1242
+ "type": "string"
1243
+ },
1244
+ "status": {
1245
+ "type": "string"
1246
+ },
1247
+ "tool": {
1248
+ "anyOf": [
1249
+ {
1250
+ "type": "string"
1251
+ },
1252
+ {
1253
+ "type": "null"
1254
+ }
1255
+ ]
1256
+ },
1257
+ "result": {},
1258
+ "error": {
1259
+ "anyOf": [
1260
+ {
1261
+ "type": "string"
1262
+ },
1263
+ {
1264
+ "type": "null"
1265
+ }
1266
+ ]
1267
+ },
1268
+ "completed": {
1269
+ "type": "boolean"
1270
+ },
1271
+ "start_time": {
1272
+ "type": "number"
1273
+ }
1274
+ },
1275
+ "additionalProperties": {}
1276
+ },
1277
+ "result": {},
1278
+ "error": {
1279
+ "anyOf": [
1280
+ {
1281
+ "type": "string"
1282
+ },
1283
+ {
1284
+ "type": "null"
1285
+ }
1286
+ ]
1287
+ },
1288
+ "is_task_result": {
1289
+ "type": "boolean"
1290
+ },
1291
+ "thread_id": {
1292
+ "anyOf": [
1293
+ {
1294
+ "type": "string"
1295
+ },
1296
+ {
1297
+ "type": "null"
1298
+ }
1299
+ ]
1300
+ },
1301
+ "workflow_id": {
1302
+ "anyOf": [
1303
+ {
1304
+ "type": "string"
1305
+ },
1306
+ {
1307
+ "type": "null"
1308
+ }
1309
+ ]
1310
+ }
1311
+ },
1312
+ "required": [
1313
+ "type",
1314
+ "step",
1315
+ "result"
1316
+ ],
1317
+ "additionalProperties": false
1318
+ },
1319
+ {
1320
+ "type": "object",
1321
+ "properties": {
1322
+ "type": {
1323
+ "type": "string",
1324
+ "const": "planning_update"
1325
+ },
1326
+ "node_id": {
1327
+ "anyOf": [
1328
+ {
1329
+ "type": "string"
1330
+ },
1331
+ {
1332
+ "type": "null"
1333
+ }
1334
+ ]
1335
+ },
1336
+ "thread_id": {
1337
+ "anyOf": [
1338
+ {
1339
+ "type": "string"
1340
+ },
1341
+ {
1342
+ "type": "null"
1343
+ }
1344
+ ]
1345
+ },
1346
+ "workflow_id": {
1347
+ "anyOf": [
1348
+ {
1349
+ "type": "string"
1350
+ },
1351
+ {
1352
+ "type": "null"
1353
+ }
1354
+ ]
1355
+ },
1356
+ "phase": {
1357
+ "type": "string"
1358
+ },
1359
+ "status": {
1360
+ "type": "string"
1361
+ },
1362
+ "content": {
1363
+ "anyOf": [
1364
+ {
1365
+ "type": "string"
1366
+ },
1367
+ {
1368
+ "type": "null"
1369
+ }
1370
+ ]
1371
+ }
1372
+ },
1373
+ "required": [
1374
+ "type",
1375
+ "phase",
1376
+ "status"
1377
+ ],
1378
+ "additionalProperties": false
1379
+ },
1380
+ {
1381
+ "type": "object",
1382
+ "properties": {
1383
+ "type": {
1384
+ "type": "string",
1385
+ "const": "chunk"
1386
+ },
1387
+ "node_id": {
1388
+ "anyOf": [
1389
+ {
1390
+ "type": "string"
1391
+ },
1392
+ {
1393
+ "type": "null"
1394
+ }
1395
+ ]
1396
+ },
1397
+ "thread_id": {
1398
+ "anyOf": [
1399
+ {
1400
+ "type": "string"
1401
+ },
1402
+ {
1403
+ "type": "null"
1404
+ }
1405
+ ]
1406
+ },
1407
+ "workflow_id": {
1408
+ "anyOf": [
1409
+ {
1410
+ "type": "string"
1411
+ },
1412
+ {
1413
+ "type": "null"
1414
+ }
1415
+ ]
1416
+ },
1417
+ "job_id": {
1418
+ "anyOf": [
1419
+ {
1420
+ "type": "string"
1421
+ },
1422
+ {
1423
+ "type": "null"
1424
+ }
1425
+ ]
1426
+ },
1427
+ "content_type": {
1428
+ "type": "string",
1429
+ "enum": [
1430
+ "text",
1431
+ "audio",
1432
+ "image",
1433
+ "video",
1434
+ "document",
1435
+ "tool_call",
1436
+ "agent_status"
1437
+ ]
1438
+ },
1439
+ "content": {
1440
+ "anyOf": [
1441
+ {
1442
+ "type": "string"
1443
+ },
1444
+ {}
1445
+ ]
1446
+ },
1447
+ "content_metadata": {
1448
+ "type": "object",
1449
+ "propertyNames": {
1450
+ "type": "string"
1451
+ },
1452
+ "additionalProperties": {}
1453
+ },
1454
+ "done": {
1455
+ "type": "boolean"
1456
+ },
1457
+ "thinking": {
1458
+ "type": "boolean"
1459
+ },
1460
+ "parent_tool_call_id": {
1461
+ "anyOf": [
1462
+ {
1463
+ "type": "string"
1464
+ },
1465
+ {
1466
+ "type": "null"
1467
+ }
1468
+ ]
1469
+ },
1470
+ "subtask_depth": {
1471
+ "anyOf": [
1472
+ {
1473
+ "type": "number"
1474
+ },
1475
+ {
1476
+ "type": "null"
1477
+ }
1478
+ ]
1479
+ }
1480
+ },
1481
+ "required": [
1482
+ "type",
1483
+ "content"
1484
+ ],
1485
+ "additionalProperties": false
1486
+ },
1487
+ {
1488
+ "type": "object",
1489
+ "properties": {
1490
+ "type": {
1491
+ "type": "string",
1492
+ "const": "prediction"
1493
+ },
1494
+ "id": {
1495
+ "type": "string"
1496
+ },
1497
+ "user_id": {
1498
+ "type": "string"
1499
+ },
1500
+ "node_id": {
1501
+ "type": "string"
1502
+ },
1503
+ "workflow_id": {
1504
+ "anyOf": [
1505
+ {
1506
+ "type": "string"
1507
+ },
1508
+ {
1509
+ "type": "null"
1510
+ }
1511
+ ]
1512
+ },
1513
+ "provider": {
1514
+ "anyOf": [
1515
+ {
1516
+ "type": "string"
1517
+ },
1518
+ {
1519
+ "type": "null"
1520
+ }
1521
+ ]
1522
+ },
1523
+ "model": {
1524
+ "anyOf": [
1525
+ {
1526
+ "type": "string"
1527
+ },
1528
+ {
1529
+ "type": "null"
1530
+ }
1531
+ ]
1532
+ },
1533
+ "capability": {
1534
+ "anyOf": [
1535
+ {
1536
+ "type": "string"
1537
+ },
1538
+ {
1539
+ "type": "null"
1540
+ }
1541
+ ]
1542
+ },
1543
+ "version": {
1544
+ "anyOf": [
1545
+ {
1546
+ "type": "string"
1547
+ },
1548
+ {
1549
+ "type": "null"
1550
+ }
1551
+ ]
1552
+ },
1553
+ "node_type": {
1554
+ "anyOf": [
1555
+ {
1556
+ "type": "string"
1557
+ },
1558
+ {
1559
+ "type": "null"
1560
+ }
1561
+ ]
1562
+ },
1563
+ "status": {
1564
+ "type": "string",
1565
+ "enum": [
1566
+ "pending",
1567
+ "running",
1568
+ "recovering",
1569
+ "completed",
1570
+ "failed",
1571
+ "cancelled",
1572
+ "needs_attention",
1573
+ "interrupted"
1574
+ ]
1575
+ },
1576
+ "submission_status": {
1577
+ "type": "string",
1578
+ "enum": [
1579
+ "accepted",
1580
+ "submitting",
1581
+ "submitted",
1582
+ "submission_unknown"
1583
+ ]
1584
+ },
1585
+ "provider_status": {
1586
+ "type": "string",
1587
+ "enum": [
1588
+ "unknown",
1589
+ "queued",
1590
+ "running",
1591
+ "succeeded",
1592
+ "failed",
1593
+ "cancelled"
1594
+ ]
1595
+ },
1596
+ "output_status": {
1597
+ "type": "string",
1598
+ "enum": [
1599
+ "pending",
1600
+ "saving",
1601
+ "ready",
1602
+ "retrying",
1603
+ "unavailable"
1604
+ ]
1605
+ },
1606
+ "attachment_status": {
1607
+ "type": "string",
1608
+ "enum": [
1609
+ "pending",
1610
+ "attached",
1611
+ "superseded",
1612
+ "target_deleted",
1613
+ "retrying"
1614
+ ]
1615
+ },
1616
+ "params": {
1617
+ "type": "object",
1618
+ "propertyNames": {
1619
+ "type": "string"
1620
+ },
1621
+ "additionalProperties": {}
1622
+ },
1623
+ "data": {
1624
+ "anyOf": [
1625
+ {},
1626
+ {
1627
+ "type": "null"
1628
+ }
1629
+ ]
1630
+ },
1631
+ "cost": {
1632
+ "anyOf": [
1633
+ {
1634
+ "type": "number"
1635
+ },
1636
+ {
1637
+ "type": "null"
1638
+ }
1639
+ ]
1640
+ },
1641
+ "logs": {
1642
+ "anyOf": [
1643
+ {
1644
+ "type": "string"
1645
+ },
1646
+ {
1647
+ "type": "null"
1648
+ }
1649
+ ]
1650
+ },
1651
+ "error": {
1652
+ "anyOf": [
1653
+ {
1654
+ "type": "string"
1655
+ },
1656
+ {
1657
+ "type": "null"
1658
+ }
1659
+ ]
1660
+ },
1661
+ "duration": {
1662
+ "anyOf": [
1663
+ {
1664
+ "type": "number"
1665
+ },
1666
+ {
1667
+ "type": "null"
1668
+ }
1669
+ ]
1670
+ },
1671
+ "created_at": {
1672
+ "anyOf": [
1673
+ {
1674
+ "type": "string"
1675
+ },
1676
+ {
1677
+ "type": "null"
1678
+ }
1679
+ ]
1680
+ },
1681
+ "started_at": {
1682
+ "anyOf": [
1683
+ {
1684
+ "type": "string"
1685
+ },
1686
+ {
1687
+ "type": "null"
1688
+ }
1689
+ ]
1690
+ },
1691
+ "completed_at": {
1692
+ "anyOf": [
1693
+ {
1694
+ "type": "string"
1695
+ },
1696
+ {
1697
+ "type": "null"
1698
+ }
1699
+ ]
1700
+ },
1701
+ "origin": {
1702
+ "type": "object",
1703
+ "properties": {
1704
+ "surface": {
1705
+ "type": "string",
1706
+ "enum": [
1707
+ "workflow",
1708
+ "capability",
1709
+ "chat",
1710
+ "rpc",
1711
+ "cli"
1712
+ ]
1713
+ },
1714
+ "thread_id": {
1715
+ "anyOf": [
1716
+ {
1717
+ "type": "string"
1718
+ },
1719
+ {
1720
+ "type": "null"
1721
+ }
1722
+ ]
1723
+ },
1724
+ "tool_call_id": {
1725
+ "anyOf": [
1726
+ {
1727
+ "type": "string"
1728
+ },
1729
+ {
1730
+ "type": "null"
1731
+ }
1732
+ ]
1733
+ },
1734
+ "job_id": {
1735
+ "anyOf": [
1736
+ {
1737
+ "type": "string"
1738
+ },
1739
+ {
1740
+ "type": "null"
1741
+ }
1742
+ ]
1743
+ },
1744
+ "node_id": {
1745
+ "anyOf": [
1746
+ {
1747
+ "type": "string"
1748
+ },
1749
+ {
1750
+ "type": "null"
1751
+ }
1752
+ ]
1753
+ },
1754
+ "request_id": {
1755
+ "anyOf": [
1756
+ {
1757
+ "type": "string"
1758
+ },
1759
+ {
1760
+ "type": "null"
1761
+ }
1762
+ ]
1763
+ }
1764
+ },
1765
+ "required": [
1766
+ "surface"
1767
+ ],
1768
+ "additionalProperties": false
1769
+ },
1770
+ "asset_ids": {
1771
+ "type": "array",
1772
+ "items": {
1773
+ "type": "string"
1774
+ }
1775
+ },
1776
+ "receipt": {
1777
+ "anyOf": [
1778
+ {
1779
+ "type": "object",
1780
+ "properties": {
1781
+ "provider_request_id": {
1782
+ "anyOf": [
1783
+ {
1784
+ "type": "string"
1785
+ },
1786
+ {
1787
+ "type": "null"
1788
+ }
1789
+ ]
1790
+ },
1791
+ "cost": {
1792
+ "anyOf": [
1793
+ {
1794
+ "type": "object",
1795
+ "properties": {
1796
+ "amount": {
1797
+ "type": "number"
1798
+ },
1799
+ "currency": {
1800
+ "anyOf": [
1801
+ {
1802
+ "type": "string"
1803
+ },
1804
+ {
1805
+ "type": "null"
1806
+ }
1807
+ ]
1808
+ },
1809
+ "billing_unit": {
1810
+ "anyOf": [
1811
+ {
1812
+ "type": "string"
1813
+ },
1814
+ {
1815
+ "type": "null"
1816
+ }
1817
+ ]
1818
+ },
1819
+ "quantity": {
1820
+ "anyOf": [
1821
+ {
1822
+ "type": "number"
1823
+ },
1824
+ {
1825
+ "type": "null"
1826
+ }
1827
+ ]
1828
+ },
1829
+ "unit_price": {
1830
+ "anyOf": [
1831
+ {
1832
+ "type": "number"
1833
+ },
1834
+ {
1835
+ "type": "null"
1836
+ }
1837
+ ]
1838
+ }
1839
+ },
1840
+ "required": [
1841
+ "amount"
1842
+ ],
1843
+ "additionalProperties": false
1844
+ },
1845
+ {
1846
+ "type": "null"
1847
+ }
1848
+ ]
1849
+ }
1850
+ },
1851
+ "additionalProperties": false
1852
+ },
1853
+ {
1854
+ "type": "null"
1855
+ }
1856
+ ]
1857
+ }
1858
+ },
1859
+ "required": [
1860
+ "type",
1861
+ "id",
1862
+ "user_id",
1863
+ "node_id",
1864
+ "status"
1865
+ ],
1866
+ "additionalProperties": {}
1867
+ },
1868
+ {
1869
+ "type": "object",
1870
+ "properties": {
1871
+ "type": {
1872
+ "type": "string",
1873
+ "const": "llm_call"
1874
+ },
1875
+ "node_id": {
1876
+ "type": "string"
1877
+ },
1878
+ "node_name": {
1879
+ "anyOf": [
1880
+ {
1881
+ "type": "string"
1882
+ },
1883
+ {
1884
+ "type": "null"
1885
+ }
1886
+ ]
1887
+ },
1888
+ "provider": {
1889
+ "type": "string"
1890
+ },
1891
+ "model": {
1892
+ "type": "string"
1893
+ },
1894
+ "operation": {
1895
+ "anyOf": [
1896
+ {
1897
+ "type": "string"
1898
+ },
1899
+ {
1900
+ "type": "null"
1901
+ }
1902
+ ]
1903
+ },
1904
+ "messages": {
1905
+ "type": "array",
1906
+ "items": {
1907
+ "type": "object",
1908
+ "properties": {
1909
+ "role": {
1910
+ "type": "string"
1911
+ },
1912
+ "content": {}
1913
+ },
1914
+ "required": [
1915
+ "role",
1916
+ "content"
1917
+ ],
1918
+ "additionalProperties": false
1919
+ }
1920
+ },
1921
+ "response": {},
1922
+ "tool_calls": {
1923
+ "anyOf": [
1924
+ {
1925
+ "type": "array",
1926
+ "items": {
1927
+ "type": "object",
1928
+ "properties": {
1929
+ "id": {
1930
+ "type": "string"
1931
+ },
1932
+ "name": {
1933
+ "type": "string"
1934
+ },
1935
+ "args": {}
1936
+ },
1937
+ "required": [
1938
+ "id",
1939
+ "name",
1940
+ "args"
1941
+ ],
1942
+ "additionalProperties": false
1943
+ }
1944
+ },
1945
+ {
1946
+ "type": "null"
1947
+ }
1948
+ ]
1949
+ },
1950
+ "tokens_input": {
1951
+ "anyOf": [
1952
+ {
1953
+ "type": "number"
1954
+ },
1955
+ {
1956
+ "type": "null"
1957
+ }
1958
+ ]
1959
+ },
1960
+ "tokens_output": {
1961
+ "anyOf": [
1962
+ {
1963
+ "type": "number"
1964
+ },
1965
+ {
1966
+ "type": "null"
1967
+ }
1968
+ ]
1969
+ },
1970
+ "cost": {
1971
+ "anyOf": [
1972
+ {
1973
+ "type": "number"
1974
+ },
1975
+ {
1976
+ "type": "null"
1977
+ }
1978
+ ]
1979
+ },
1980
+ "duration_ms": {
1981
+ "type": "number"
1982
+ },
1983
+ "error": {
1984
+ "anyOf": [
1985
+ {
1986
+ "type": "string"
1987
+ },
1988
+ {
1989
+ "type": "null"
1990
+ }
1991
+ ]
1992
+ },
1993
+ "timestamp": {
1994
+ "type": "string"
1995
+ }
1996
+ },
1997
+ "required": [
1998
+ "type",
1999
+ "node_id",
2000
+ "provider",
2001
+ "model",
2002
+ "messages",
2003
+ "response",
2004
+ "duration_ms",
2005
+ "timestamp"
2006
+ ],
2007
+ "additionalProperties": false
2008
+ },
2009
+ {
2010
+ "type": "object",
2011
+ "properties": {
2012
+ "type": {
2013
+ "type": "string",
2014
+ "const": "provider_call_failed"
2015
+ },
2016
+ "provider": {
2017
+ "type": "string"
2018
+ },
2019
+ "model": {
2020
+ "anyOf": [
2021
+ {
2022
+ "type": "string"
2023
+ },
2024
+ {
2025
+ "type": "null"
2026
+ }
2027
+ ]
2028
+ },
2029
+ "operation": {
2030
+ "type": "string"
2031
+ },
2032
+ "kind": {
2033
+ "type": "string"
2034
+ },
2035
+ "status": {
2036
+ "anyOf": [
2037
+ {
2038
+ "type": "number"
2039
+ },
2040
+ {
2041
+ "type": "null"
2042
+ }
2043
+ ]
2044
+ },
2045
+ "message": {
2046
+ "type": "string"
2047
+ },
2048
+ "error_name": {
2049
+ "anyOf": [
2050
+ {
2051
+ "type": "string"
2052
+ },
2053
+ {
2054
+ "type": "null"
2055
+ }
2056
+ ]
2057
+ },
2058
+ "request_id": {
2059
+ "anyOf": [
2060
+ {
2061
+ "type": "string"
2062
+ },
2063
+ {
2064
+ "type": "null"
2065
+ }
2066
+ ]
2067
+ },
2068
+ "duration_ms": {
2069
+ "anyOf": [
2070
+ {
2071
+ "type": "number"
2072
+ },
2073
+ {
2074
+ "type": "null"
2075
+ }
2076
+ ]
2077
+ },
2078
+ "request_source": {
2079
+ "anyOf": [
2080
+ {
2081
+ "type": "string"
2082
+ },
2083
+ {
2084
+ "type": "null"
2085
+ }
2086
+ ]
2087
+ },
2088
+ "request": {
2089
+ "anyOf": [
2090
+ {},
2091
+ {
2092
+ "type": "null"
2093
+ }
2094
+ ]
2095
+ },
2096
+ "workflow_id": {
2097
+ "anyOf": [
2098
+ {
2099
+ "type": "string"
2100
+ },
2101
+ {
2102
+ "type": "null"
2103
+ }
2104
+ ]
2105
+ },
2106
+ "job_id": {
2107
+ "anyOf": [
2108
+ {
2109
+ "type": "string"
2110
+ },
2111
+ {
2112
+ "type": "null"
2113
+ }
2114
+ ]
2115
+ },
2116
+ "timestamp": {
2117
+ "type": "string"
2118
+ }
2119
+ },
2120
+ "required": [
2121
+ "type",
2122
+ "provider",
2123
+ "operation",
2124
+ "kind",
2125
+ "message",
2126
+ "timestamp"
2127
+ ],
2128
+ "additionalProperties": false
2129
+ },
2130
+ {
2131
+ "type": "object",
2132
+ "properties": {
2133
+ "type": {
2134
+ "type": "string",
2135
+ "const": "todo_update"
2136
+ },
2137
+ "thread_id": {
2138
+ "anyOf": [
2139
+ {
2140
+ "type": "string"
2141
+ },
2142
+ {
2143
+ "type": "null"
2144
+ }
2145
+ ]
2146
+ },
2147
+ "workflow_id": {
2148
+ "anyOf": [
2149
+ {
2150
+ "type": "string"
2151
+ },
2152
+ {
2153
+ "type": "null"
2154
+ }
2155
+ ]
2156
+ },
2157
+ "node_id": {
2158
+ "anyOf": [
2159
+ {
2160
+ "type": "string"
2161
+ },
2162
+ {
2163
+ "type": "null"
2164
+ }
2165
+ ]
2166
+ },
2167
+ "todos": {
2168
+ "type": "array",
2169
+ "items": {
2170
+ "type": "object",
2171
+ "properties": {
2172
+ "content": {
2173
+ "type": "string"
2174
+ },
2175
+ "status": {
2176
+ "type": "string",
2177
+ "enum": [
2178
+ "pending",
2179
+ "in_progress",
2180
+ "completed"
2181
+ ]
2182
+ }
2183
+ },
2184
+ "required": [
2185
+ "content",
2186
+ "status"
2187
+ ],
2188
+ "additionalProperties": false
2189
+ }
2190
+ }
2191
+ },
2192
+ "required": [
2193
+ "type",
2194
+ "todos"
2195
+ ],
2196
+ "additionalProperties": false
2197
+ },
2198
+ {
2199
+ "type": "object",
2200
+ "properties": {
2201
+ "type": {
2202
+ "type": "string",
2203
+ "const": "supervisor_escalation"
2204
+ },
2205
+ "node_id": {
2206
+ "type": "string"
2207
+ },
2208
+ "node_name": {
2209
+ "anyOf": [
2210
+ {
2211
+ "type": "string"
2212
+ },
2213
+ {
2214
+ "type": "null"
2215
+ }
2216
+ ]
2217
+ },
2218
+ "escalation": {
2219
+ "type": "object",
2220
+ "properties": {
2221
+ "nodeId": {
2222
+ "type": "string"
2223
+ },
2224
+ "nodeType": {
2225
+ "type": "string"
2226
+ },
2227
+ "correlationLineage": {
2228
+ "type": "array",
2229
+ "items": {
2230
+ "type": "string"
2231
+ }
2232
+ },
2233
+ "invocationKey": {
2234
+ "type": "string"
2235
+ },
2236
+ "allowedActions": {
2237
+ "type": "array",
2238
+ "items": {
2239
+ "type": "string",
2240
+ "enum": [
2241
+ "retry",
2242
+ "substitute",
2243
+ "skip",
2244
+ "end_stream",
2245
+ "fail"
2246
+ ]
2247
+ }
2248
+ },
2249
+ "detail": {
2250
+ "type": "string"
2251
+ },
2252
+ "failureSignature": {
2253
+ "type": "string"
2254
+ },
2255
+ "candidateOutput": {},
2256
+ "inputs": {
2257
+ "type": "object",
2258
+ "propertyNames": {
2259
+ "type": "string"
2260
+ },
2261
+ "additionalProperties": {}
2262
+ },
2263
+ "declaredOutputs": {
2264
+ "type": "object",
2265
+ "propertyNames": {
2266
+ "type": "string"
2267
+ },
2268
+ "additionalProperties": {
2269
+ "type": "string"
2270
+ }
2271
+ },
2272
+ "attempt": {
2273
+ "type": "number"
2274
+ },
2275
+ "spentCostUsd": {
2276
+ "type": "number"
2277
+ },
2278
+ "createdAssets": {
2279
+ "type": "boolean"
2280
+ },
2281
+ "retrySafe": {
2282
+ "type": "boolean"
2283
+ },
2284
+ "emitted": {
2285
+ "type": "boolean"
2286
+ }
2287
+ },
2288
+ "required": [
2289
+ "nodeId",
2290
+ "nodeType",
2291
+ "correlationLineage",
2292
+ "invocationKey",
2293
+ "allowedActions",
2294
+ "detail",
2295
+ "inputs",
2296
+ "declaredOutputs",
2297
+ "attempt",
2298
+ "spentCostUsd",
2299
+ "createdAssets",
2300
+ "retrySafe",
2301
+ "emitted"
2302
+ ],
2303
+ "additionalProperties": false
2304
+ }
2305
+ },
2306
+ "required": [
2307
+ "type",
2308
+ "node_id",
2309
+ "escalation"
2310
+ ],
2311
+ "additionalProperties": false
2312
+ },
2313
+ {
2314
+ "type": "object",
2315
+ "properties": {
2316
+ "type": {
2317
+ "type": "string",
2318
+ "const": "supervisor_decision"
2319
+ },
2320
+ "node_id": {
2321
+ "type": "string"
2322
+ },
2323
+ "node_name": {
2324
+ "anyOf": [
2325
+ {
2326
+ "type": "string"
2327
+ },
2328
+ {
2329
+ "type": "null"
2330
+ }
2331
+ ]
2332
+ },
2333
+ "escalation": {
2334
+ "type": "object",
2335
+ "properties": {
2336
+ "nodeId": {
2337
+ "type": "string"
2338
+ },
2339
+ "nodeType": {
2340
+ "type": "string"
2341
+ },
2342
+ "correlationLineage": {
2343
+ "type": "array",
2344
+ "items": {
2345
+ "type": "string"
2346
+ }
2347
+ },
2348
+ "invocationKey": {
2349
+ "type": "string"
2350
+ },
2351
+ "allowedActions": {
2352
+ "type": "array",
2353
+ "items": {
2354
+ "type": "string",
2355
+ "enum": [
2356
+ "retry",
2357
+ "substitute",
2358
+ "skip",
2359
+ "end_stream",
2360
+ "fail"
2361
+ ]
2362
+ }
2363
+ },
2364
+ "detail": {
2365
+ "type": "string"
2366
+ },
2367
+ "failureSignature": {
2368
+ "type": "string"
2369
+ },
2370
+ "candidateOutput": {},
2371
+ "inputs": {
2372
+ "type": "object",
2373
+ "propertyNames": {
2374
+ "type": "string"
2375
+ },
2376
+ "additionalProperties": {}
2377
+ },
2378
+ "declaredOutputs": {
2379
+ "type": "object",
2380
+ "propertyNames": {
2381
+ "type": "string"
2382
+ },
2383
+ "additionalProperties": {
2384
+ "type": "string"
2385
+ }
2386
+ },
2387
+ "attempt": {
2388
+ "type": "number"
2389
+ },
2390
+ "spentCostUsd": {
2391
+ "type": "number"
2392
+ },
2393
+ "createdAssets": {
2394
+ "type": "boolean"
2395
+ },
2396
+ "retrySafe": {
2397
+ "type": "boolean"
2398
+ },
2399
+ "emitted": {
2400
+ "type": "boolean"
2401
+ }
2402
+ },
2403
+ "required": [
2404
+ "nodeId",
2405
+ "nodeType",
2406
+ "correlationLineage",
2407
+ "invocationKey",
2408
+ "allowedActions",
2409
+ "detail",
2410
+ "inputs",
2411
+ "declaredOutputs",
2412
+ "attempt",
2413
+ "spentCostUsd",
2414
+ "createdAssets",
2415
+ "retrySafe",
2416
+ "emitted"
2417
+ ],
2418
+ "additionalProperties": false
2419
+ },
2420
+ "verdict": {
2421
+ "oneOf": [
2422
+ {
2423
+ "type": "object",
2424
+ "properties": {
2425
+ "action": {
2426
+ "type": "string",
2427
+ "const": "retry"
2428
+ }
2429
+ },
2430
+ "required": [
2431
+ "action"
2432
+ ],
2433
+ "additionalProperties": false
2434
+ },
2435
+ {
2436
+ "type": "object",
2437
+ "properties": {
2438
+ "action": {
2439
+ "type": "string",
2440
+ "const": "substitute"
2441
+ },
2442
+ "outputs": {
2443
+ "type": "object",
2444
+ "propertyNames": {
2445
+ "type": "string"
2446
+ },
2447
+ "additionalProperties": {}
2448
+ }
2449
+ },
2450
+ "required": [
2451
+ "action",
2452
+ "outputs"
2453
+ ],
2454
+ "additionalProperties": false
2455
+ },
2456
+ {
2457
+ "type": "object",
2458
+ "properties": {
2459
+ "action": {
2460
+ "type": "string",
2461
+ "const": "skip"
2462
+ },
2463
+ "applyTo": {
2464
+ "type": "string",
2465
+ "enum": [
2466
+ "invocation",
2467
+ "signature"
2468
+ ]
2469
+ }
2470
+ },
2471
+ "required": [
2472
+ "action"
2473
+ ],
2474
+ "additionalProperties": false
2475
+ },
2476
+ {
2477
+ "type": "object",
2478
+ "properties": {
2479
+ "action": {
2480
+ "type": "string",
2481
+ "const": "end_stream"
2482
+ }
2483
+ },
2484
+ "required": [
2485
+ "action"
2486
+ ],
2487
+ "additionalProperties": false
2488
+ },
2489
+ {
2490
+ "type": "object",
2491
+ "properties": {
2492
+ "action": {
2493
+ "type": "string",
2494
+ "const": "fail"
2495
+ },
2496
+ "reason": {
2497
+ "type": "string"
2498
+ },
2499
+ "applyTo": {
2500
+ "type": "string",
2501
+ "enum": [
2502
+ "invocation",
2503
+ "signature"
2504
+ ]
2505
+ }
2506
+ },
2507
+ "required": [
2508
+ "action"
2509
+ ],
2510
+ "additionalProperties": false
2511
+ }
2512
+ ]
2513
+ },
2514
+ "decided_by": {
2515
+ "type": "string",
2516
+ "enum": [
2517
+ "agent",
2518
+ "sticky",
2519
+ "bounds",
2520
+ "default",
2521
+ "kernel"
2522
+ ]
2523
+ },
2524
+ "cost": {
2525
+ "anyOf": [
2526
+ {
2527
+ "type": "number"
2528
+ },
2529
+ {
2530
+ "type": "null"
2531
+ }
2532
+ ]
2533
+ }
2534
+ },
2535
+ "required": [
2536
+ "type",
2537
+ "node_id",
2538
+ "escalation",
2539
+ "verdict",
2540
+ "decided_by"
2541
+ ],
2542
+ "additionalProperties": false
2543
+ }
2544
+ ]
2545
+ }