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