@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,187 @@
1
+ /**
2
+ * Curated "cloud" node + provider profile for the commercial NodeTool cloud
3
+ * product.
4
+ *
5
+ * The full NodeTool catalog ships ~3,500 nodes across ~60 namespaces — far
6
+ * more than a small team can support at a high quality bar, and much of it
7
+ * (filesystem, databases, scraping, messaging, office-doc tooling, local model
8
+ * runtimes) is developer/automation plumbing that dilutes the "creative AI
9
+ * workspace" mission. The cloud product instead offers a deliberately small,
10
+ * curated surface focused on generating and editing text, images, audio,
11
+ * video, and 3D — plus the Code node for power users.
12
+ *
13
+ * This module is the single source of truth, shared between the server (which
14
+ * prunes the registry and the provider list at bootstrap) and any UI that
15
+ * wants to reflect the same policy. It is intentionally pure data + pure
16
+ * predicates: the env read that decides *whether* the profile is active lives
17
+ * at the application boundary (see {@link isCloudProfileActive}).
18
+ *
19
+ * Activate by setting `NODETOOL_NODE_PROFILE=cloud`. When unset (the default),
20
+ * none of this applies and the full catalog loads unchanged.
21
+ */
22
+ /** Env var that selects the active node profile. */
23
+ export declare const CLOUD_PROFILE_ENV = "NODETOOL_NODE_PROFILE";
24
+ /** Value of {@link CLOUD_PROFILE_ENV} that turns on the curated cloud profile. */
25
+ export declare const CLOUD_PROFILE_VALUE = "cloud";
26
+ /**
27
+ * Value of {@link CLOUD_PROFILE_ENV} that keeps the full catalog and provider
28
+ * list even in production. Self-hosted deployments (docker-compose) set this
29
+ * to opt out of the cloud curation the production default would apply.
30
+ */
31
+ export declare const FULL_PROFILE_VALUE = "full";
32
+ /** Env var + value that put the server in production mode. */
33
+ export declare const NODE_ENV_VAR = "NODETOOL_ENV";
34
+ export declare const PRODUCTION_ENV_VALUE = "production";
35
+ /**
36
+ * True when the cloud profile should apply. An explicit
37
+ * `NODETOOL_NODE_PROFILE` always wins: `cloud` turns the profile on (e.g. for
38
+ * local testing), any other value — canonically {@link FULL_PROFILE_VALUE} —
39
+ * turns it off. When unset, production defaults to the cloud profile because
40
+ * the commercial cloud product runs in production mode; self-hosted
41
+ * deployments set `NODETOOL_NODE_PROFILE=full` to keep the full catalog.
42
+ * Callers pass the raw env values so this stays free of any runtime/env
43
+ * dependency and remains trivially testable.
44
+ */
45
+ export declare function isCloudProfileActive(profileValue: string | undefined | null, nodeEnvValue: string | undefined | null): boolean;
46
+ /**
47
+ * Namespace prefixes kept in the cloud product. A node type is allowed when it
48
+ * sits under one of these (segment-boundary match), unless it appears in
49
+ * {@link CLOUD_NODE_DENYLIST}.
50
+ *
51
+ * Grouped by intent — keep this list short; every entry is surface a small
52
+ * team has to support.
53
+ */
54
+ export declare const CLOUD_NODE_NAMESPACES: readonly string[];
55
+ /**
56
+ * Individual node types kept even though their namespace is *not* whole-listed
57
+ * above. Used to admit a narrow slice of an otherwise-trimmed namespace:
58
+ *
59
+ * - `nodetool.code.Code` — the sandboxed (QuickJS WASM) JavaScript node only.
60
+ * Admitting it by name rather than whole-listing `nodetool.code` keeps any
61
+ * future node in that namespace out of the cloud until it is reviewed.
62
+ * - `lib.comfy.RunWorkflow` / `lib.comfy.RunWorkflowOnWorker` /
63
+ * `lib.comfy.RunWorkflowOnCloud` — the three ComfyUI runners. Running a
64
+ * ComfyUI graph is image generation, which is what this profile is for.
65
+ * Named rather than whole-listed for the same reason as the Code node: a
66
+ * later `lib.comfy` node is out until someone reviews it. The first two call
67
+ * the ComfyUI server their `endpoint`/`worker_url` property names, so the
68
+ * address is graph data — see the ComfyUI row in
69
+ * `docs/url-egress-inventory.md`. The third calls Comfy Cloud with the
70
+ * user's own `COMFY_API_KEY`, so there is no operator-chosen address at all.
71
+ *
72
+ * `lib.video.download.YtDlpDownload` used to sit here. It is out: a managed
73
+ * multi-tenant server pulling media from arbitrary sites on a user's behalf is
74
+ * a different product from a downloader running on that user's own machine,
75
+ * and datacenter egress is what the sites it targets block first — so the node
76
+ * offered cloud users a button that mostly returns an extractor error. The
77
+ * `yt_dlp` capability is gated on the same profile (see `isYtDlpEnabled` in
78
+ * `@nodetool-ai/agents`), so chat and the Code node do not route around the
79
+ * node's absence. Both come back under `NODETOOL_NODE_PROFILE=full`, which is
80
+ * what a self-hosted install of the same image runs.
81
+ */
82
+ export declare const CLOUD_NODE_ALLOWLIST: readonly string[];
83
+ /**
84
+ * Nodes that read or write a path on the server's own filesystem and sit
85
+ * inside an otherwise-allowed namespace, so only naming them keeps them out.
86
+ *
87
+ * Two shapes end up here. Most declare a path property the editor renders as a
88
+ * native file/folder picker (`json_schema_extra: { type: "file_path" }`) —
89
+ * `nodetool.input.DocumentFileInput` is the one users hit first. The rest take
90
+ * a plain string path and call `fs` in `process()`; nothing in their metadata
91
+ * distinguishes them, which is why this list is written out rather than
92
+ * derived.
93
+ *
94
+ * Split out from {@link CLOUD_NODE_DENYLIST} so the "no host filesystem in the
95
+ * cloud" rule is one reviewable list instead of entries scattered by namespace.
96
+ */
97
+ export declare const CLOUD_HOST_FILE_NODES: readonly string[];
98
+ /**
99
+ * Node types removed even though their namespace is allowed. Three groups:
100
+ *
101
+ * - Host-filesystem nodes — {@link CLOUD_HOST_FILE_NODES} above, which this
102
+ * list embeds. A node that reads or writes a path on the server's own disk
103
+ * has no meaning in a managed multi-tenant cloud: the path belongs to the
104
+ * container, not to the user sitting in the browser. The matching HTTP
105
+ * surfaces are already refused in production (`/api/files/local`, the
106
+ * workspace routes, tRPC `files.list`), so leaving the nodes in the palette
107
+ * only offers a picker that cannot pick and a run that cannot resolve.
108
+ * Assets are the cloud's file story: the `*Assets` loaders and the plain
109
+ * `SaveImage`/`SaveAudio`/`SaveVideo`/`SaveDataframe` savers go through the
110
+ * asset store and stay.
111
+ * - `nodetool.text.*` file I/O — `nodetool.text` is whole-listed for its
112
+ * creative-text toolkit and ASR, but the folder/asset loaders and the two
113
+ * filesystem writers (`SaveText`, `SaveTextFile` — both call fs.writeFile on
114
+ * an unsandboxed host path) are dropped, for the same reason.
115
+ * - `nodetool.agents.*` — kept as a namespace for Agent, Classifier,
116
+ * Extractor, Summarizer, CreateThread, and EnhancePrompt. Specialist
117
+ * tool-agent nodes were removed; ffmpeg, yt-dlp, and browser are
118
+ * CodeAct capabilities instead.
119
+ */
120
+ export declare const CLOUD_NODE_DENYLIST: readonly string[];
121
+ /**
122
+ * Providers kept *out* of the cloud product. Every other registered provider
123
+ * is offered — the node catalog is curated, the provider list is not.
124
+ *
125
+ * The rule is reachability, not curation: a provider stays out when the cloud
126
+ * server cannot reach it on the user's behalf. That is either an engine that
127
+ * runs on the user's own machine (Ollama, LM Studio, llama.cpp, vLLM,
128
+ * Transformers.js in-process) or a personal subscription reached by spawning a
129
+ * local CLI (the Claude Agent SDK shells out to `claude`). Everything else is
130
+ * an HTTP API behind a key the user pastes into settings, which works the same
131
+ * from a Fly machine as from a laptop.
132
+ *
133
+ * A curated allowlist sat here before, and every provider it omitted still had
134
+ * an API-key card in settings: a cloud user could save an OpenRouter key and
135
+ * find an empty model picker, with nothing saying why. Listing only what
136
+ * genuinely cannot work keeps the settings UI and the registry from drifting.
137
+ *
138
+ * The local engines are additionally never registered under the cloud profile
139
+ * (see the provider index); naming them here keeps the predicate honest for
140
+ * anything registered after that gate, and for callers asking about a
141
+ * provider id on its own.
142
+ */
143
+ export declare const NON_CLOUD_PROVIDER_IDS: readonly string[];
144
+ /**
145
+ * Providers offered *only* by the cloud product — the mirror image of
146
+ * {@link NON_CLOUD_PROVIDER_IDS}.
147
+ *
148
+ * Same rule, reversed: a provider belongs here when only the commercial cloud
149
+ * can reach it. `nodetool` runs curated delegates on NodeTool's own platform
150
+ * keys and meters the spend against a credit balance, so it is the platform's
151
+ * wallet, not a key the user pastes into settings. A local install has neither
152
+ * the keys nor an account to bill, and a self-hosted server has no claim on
153
+ * NodeTool's; offering it there is a provider card that can only ever produce
154
+ * an error.
155
+ */
156
+ export declare const CLOUD_ONLY_PROVIDER_IDS: readonly string[];
157
+ /**
158
+ * Whether `providerId` is reachable outside the cloud product. False only for
159
+ * {@link CLOUD_ONLY_PROVIDER_IDS}; an unknown id is treated as reachable, so a
160
+ * provider added to the registry keeps working on a laptop without a second
161
+ * edit here.
162
+ */
163
+ export declare function isSelfServeProvider(providerId: string): boolean;
164
+ /**
165
+ * Built-in node packs loaded under the cloud profile. `base` is required and
166
+ * always loads; `fal` and `kie` are the only provider packs kept. Every other
167
+ * provider pack (Replicate, Hugging Face, Together, MiniMax, Topaz, Reve,
168
+ * AtlasCloud, ElevenLabs, Transformers.js) stays off.
169
+ */
170
+ export declare const CLOUD_BUILTIN_PACK_IDS: readonly string[];
171
+ /**
172
+ * Whether `nodeType` is offered in the cloud product. An explicit allowlist
173
+ * entry always wins; otherwise the denylist excludes it; otherwise it must
174
+ * fall under an allowed namespace at a segment boundary so that e.g.
175
+ * `lib.image` admits `lib.image.warp.Offset` but not a hypothetical
176
+ * `lib.imagery.*`.
177
+ */
178
+ export declare function isCloudNodeType(nodeType: string): boolean;
179
+ /**
180
+ * Whether `providerId` is exposed in the cloud product — true for everything
181
+ * except the local engines and local-CLI subscriptions in
182
+ * {@link NON_CLOUD_PROVIDER_IDS}. An unknown id is treated as cloud-eligible:
183
+ * a provider added to the registry reaches cloud users without a second edit
184
+ * here, and one that cannot work there has to be named.
185
+ */
186
+ export declare function isCloudProvider(providerId: string): boolean;
187
+ //# sourceMappingURL=cloud-profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-profile.d.ts","sourceRoot":"","sources":["../src/cloud-profile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,oDAAoD;AACpD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AAEzD,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,UAAU,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAEzC,8DAA8D;AAC9D,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAEjD;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,EACvC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GACtC,OAAO,CAKT;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAsClD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAOjD,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAkBlD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAMhD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAkBnD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAAiB,CAAC;AAEvE;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAA2B,CAAC;AAEhF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAMzD;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAE3D"}
@@ -0,0 +1,286 @@
1
+ /**
2
+ * Curated "cloud" node + provider profile for the commercial NodeTool cloud
3
+ * product.
4
+ *
5
+ * The full NodeTool catalog ships ~3,500 nodes across ~60 namespaces — far
6
+ * more than a small team can support at a high quality bar, and much of it
7
+ * (filesystem, databases, scraping, messaging, office-doc tooling, local model
8
+ * runtimes) is developer/automation plumbing that dilutes the "creative AI
9
+ * workspace" mission. The cloud product instead offers a deliberately small,
10
+ * curated surface focused on generating and editing text, images, audio,
11
+ * video, and 3D — plus the Code node for power users.
12
+ *
13
+ * This module is the single source of truth, shared between the server (which
14
+ * prunes the registry and the provider list at bootstrap) and any UI that
15
+ * wants to reflect the same policy. It is intentionally pure data + pure
16
+ * predicates: the env read that decides *whether* the profile is active lives
17
+ * at the application boundary (see {@link isCloudProfileActive}).
18
+ *
19
+ * Activate by setting `NODETOOL_NODE_PROFILE=cloud`. When unset (the default),
20
+ * none of this applies and the full catalog loads unchanged.
21
+ */
22
+ /** Env var that selects the active node profile. */
23
+ export const CLOUD_PROFILE_ENV = "NODETOOL_NODE_PROFILE";
24
+ /** Value of {@link CLOUD_PROFILE_ENV} that turns on the curated cloud profile. */
25
+ export const CLOUD_PROFILE_VALUE = "cloud";
26
+ /**
27
+ * Value of {@link CLOUD_PROFILE_ENV} that keeps the full catalog and provider
28
+ * list even in production. Self-hosted deployments (docker-compose) set this
29
+ * to opt out of the cloud curation the production default would apply.
30
+ */
31
+ export const FULL_PROFILE_VALUE = "full";
32
+ /** Env var + value that put the server in production mode. */
33
+ export const NODE_ENV_VAR = "NODETOOL_ENV";
34
+ export const PRODUCTION_ENV_VALUE = "production";
35
+ /**
36
+ * True when the cloud profile should apply. An explicit
37
+ * `NODETOOL_NODE_PROFILE` always wins: `cloud` turns the profile on (e.g. for
38
+ * local testing), any other value — canonically {@link FULL_PROFILE_VALUE} —
39
+ * turns it off. When unset, production defaults to the cloud profile because
40
+ * the commercial cloud product runs in production mode; self-hosted
41
+ * deployments set `NODETOOL_NODE_PROFILE=full` to keep the full catalog.
42
+ * Callers pass the raw env values so this stays free of any runtime/env
43
+ * dependency and remains trivially testable.
44
+ */
45
+ export function isCloudProfileActive(profileValue, nodeEnvValue) {
46
+ if (profileValue != null && profileValue.trim() !== "") {
47
+ return profileValue === CLOUD_PROFILE_VALUE;
48
+ }
49
+ return nodeEnvValue === PRODUCTION_ENV_VALUE;
50
+ }
51
+ /**
52
+ * Namespace prefixes kept in the cloud product. A node type is allowed when it
53
+ * sits under one of these (segment-boundary match), unless it appears in
54
+ * {@link CLOUD_NODE_DENYLIST}.
55
+ *
56
+ * Grouped by intent — keep this list short; every entry is surface a small
57
+ * team has to support.
58
+ */
59
+ export const CLOUD_NODE_NAMESPACES = [
60
+ // — Workflow scaffolding & editor-essential plumbing —
61
+ "nodetool.input",
62
+ "nodetool.output",
63
+ "nodetool.constant",
64
+ "nodetool.control",
65
+ "nodetool.compare",
66
+ "nodetool.workflows", // workflow_node, subgraph, base_node (Preview)
67
+ "nodetool.group", // editor Loop/Group containers
68
+ "nodetool.llm", // generic Chat node (also surfaces Anthropic/Groq)
69
+ // — Creative generation core —
70
+ // (nodetool.code is NOT a whole-namespace allow: the sandboxed Code node is
71
+ // admitted by name via CLOUD_NODE_ALLOWLIST below.)
72
+ "nodetool.text", // text toolkit + ASR; file-I/O nodes trimmed by CLOUD_NODE_DENYLIST
73
+ "nodetool.image",
74
+ "nodetool.sketch",
75
+ "nodetool.audio", // covers .synth and .realtime
76
+ "nodetool.video",
77
+ "nodetool.timeline",
78
+ "nodetool.model3d",
79
+ "nodetool.generators",
80
+ "nodetool.agents", // trimmed by CLOUD_NODE_DENYLIST below
81
+ // — Creative media toolkit (Photoshop/After-Effects-style ops) —
82
+ "lib.image", // warp, color, draw, effects, filter, channel, keyer, mask, …
83
+ "lib.svg",
84
+ "lib.grid",
85
+ "lib.audio", // DSP / effects (reverb, delay, EQ, …)
86
+ "lib.pdf", // text/table/markdown extraction, OCR, page rasterization
87
+ // — Provider node namespaces: the big LLM/multimodal labs + Fal + Kie —
88
+ "openai", // openai.text / .image / .audio / .agents
89
+ "gemini", // gemini.text / .image / .audio / .video
90
+ "mistral", // mistral.text / .vision / .embeddings
91
+ "xai", // xai.text / .image / .vision
92
+ "fal", // fal.* (hosted image/video/audio models)
93
+ "kie" // kie.* (hosted image/video/audio models)
94
+ ];
95
+ /**
96
+ * Individual node types kept even though their namespace is *not* whole-listed
97
+ * above. Used to admit a narrow slice of an otherwise-trimmed namespace:
98
+ *
99
+ * - `nodetool.code.Code` — the sandboxed (QuickJS WASM) JavaScript node only.
100
+ * Admitting it by name rather than whole-listing `nodetool.code` keeps any
101
+ * future node in that namespace out of the cloud until it is reviewed.
102
+ * - `lib.comfy.RunWorkflow` / `lib.comfy.RunWorkflowOnWorker` /
103
+ * `lib.comfy.RunWorkflowOnCloud` — the three ComfyUI runners. Running a
104
+ * ComfyUI graph is image generation, which is what this profile is for.
105
+ * Named rather than whole-listed for the same reason as the Code node: a
106
+ * later `lib.comfy` node is out until someone reviews it. The first two call
107
+ * the ComfyUI server their `endpoint`/`worker_url` property names, so the
108
+ * address is graph data — see the ComfyUI row in
109
+ * `docs/url-egress-inventory.md`. The third calls Comfy Cloud with the
110
+ * user's own `COMFY_API_KEY`, so there is no operator-chosen address at all.
111
+ *
112
+ * `lib.video.download.YtDlpDownload` used to sit here. It is out: a managed
113
+ * multi-tenant server pulling media from arbitrary sites on a user's behalf is
114
+ * a different product from a downloader running on that user's own machine,
115
+ * and datacenter egress is what the sites it targets block first — so the node
116
+ * offered cloud users a button that mostly returns an extractor error. The
117
+ * `yt_dlp` capability is gated on the same profile (see `isYtDlpEnabled` in
118
+ * `@nodetool-ai/agents`), so chat and the Code node do not route around the
119
+ * node's absence. Both come back under `NODETOOL_NODE_PROFILE=full`, which is
120
+ * what a self-hosted install of the same image runs.
121
+ */
122
+ export const CLOUD_NODE_ALLOWLIST = [
123
+ // Sandboxed code only.
124
+ "nodetool.code.Code",
125
+ // ComfyUI runners only — the rest of lib.comfy stays out.
126
+ "lib.comfy.RunWorkflow",
127
+ "lib.comfy.RunWorkflowOnWorker",
128
+ "lib.comfy.RunWorkflowOnCloud"
129
+ ];
130
+ /**
131
+ * Nodes that read or write a path on the server's own filesystem and sit
132
+ * inside an otherwise-allowed namespace, so only naming them keeps them out.
133
+ *
134
+ * Two shapes end up here. Most declare a path property the editor renders as a
135
+ * native file/folder picker (`json_schema_extra: { type: "file_path" }`) —
136
+ * `nodetool.input.DocumentFileInput` is the one users hit first. The rest take
137
+ * a plain string path and call `fs` in `process()`; nothing in their metadata
138
+ * distinguishes them, which is why this list is written out rather than
139
+ * derived.
140
+ *
141
+ * Split out from {@link CLOUD_NODE_DENYLIST} so the "no host filesystem in the
142
+ * cloud" rule is one reviewable list instead of entries scattered by namespace.
143
+ */
144
+ export const CLOUD_HOST_FILE_NODES = [
145
+ // Path pickers — a local path typed into a browser tab points at the
146
+ // container's disk, not the user's machine.
147
+ "nodetool.input.DocumentFileInput",
148
+ "nodetool.input.FilePathInput",
149
+ "nodetool.input.FolderPathInput",
150
+ // Media loaders/savers that go to disk. Their asset-store siblings
151
+ // (LoadImageAssets, SaveImage, SaveAudio, SaveVideo, …) stay.
152
+ "nodetool.audio.LoadAudioFile",
153
+ "nodetool.audio.LoadAudioFolder",
154
+ "nodetool.audio.SaveAudioFile",
155
+ "nodetool.image.LoadImageFile",
156
+ "nodetool.image.LoadImageFolder",
157
+ "nodetool.image.SaveImageFile",
158
+ "nodetool.video.LoadVideoFile",
159
+ "nodetool.video.SaveVideoFile",
160
+ "nodetool.model3d.LoadModel3DFile",
161
+ "nodetool.model3d.SaveModel3DFile"
162
+ ];
163
+ /**
164
+ * Node types removed even though their namespace is allowed. Three groups:
165
+ *
166
+ * - Host-filesystem nodes — {@link CLOUD_HOST_FILE_NODES} above, which this
167
+ * list embeds. A node that reads or writes a path on the server's own disk
168
+ * has no meaning in a managed multi-tenant cloud: the path belongs to the
169
+ * container, not to the user sitting in the browser. The matching HTTP
170
+ * surfaces are already refused in production (`/api/files/local`, the
171
+ * workspace routes, tRPC `files.list`), so leaving the nodes in the palette
172
+ * only offers a picker that cannot pick and a run that cannot resolve.
173
+ * Assets are the cloud's file story: the `*Assets` loaders and the plain
174
+ * `SaveImage`/`SaveAudio`/`SaveVideo`/`SaveDataframe` savers go through the
175
+ * asset store and stay.
176
+ * - `nodetool.text.*` file I/O — `nodetool.text` is whole-listed for its
177
+ * creative-text toolkit and ASR, but the folder/asset loaders and the two
178
+ * filesystem writers (`SaveText`, `SaveTextFile` — both call fs.writeFile on
179
+ * an unsandboxed host path) are dropped, for the same reason.
180
+ * - `nodetool.agents.*` — kept as a namespace for Agent, Classifier,
181
+ * Extractor, Summarizer, CreateThread, and EnhancePrompt. Specialist
182
+ * tool-agent nodes were removed; ffmpeg, yt-dlp, and browser are
183
+ * CodeAct capabilities instead.
184
+ */
185
+ export const CLOUD_NODE_DENYLIST = [
186
+ ...CLOUD_HOST_FILE_NODES,
187
+ "nodetool.text.LoadTextFolder",
188
+ "nodetool.text.LoadTextAssets",
189
+ "nodetool.text.SaveText",
190
+ "nodetool.text.SaveTextFile"
191
+ ];
192
+ /**
193
+ * Providers kept *out* of the cloud product. Every other registered provider
194
+ * is offered — the node catalog is curated, the provider list is not.
195
+ *
196
+ * The rule is reachability, not curation: a provider stays out when the cloud
197
+ * server cannot reach it on the user's behalf. That is either an engine that
198
+ * runs on the user's own machine (Ollama, LM Studio, llama.cpp, vLLM,
199
+ * Transformers.js in-process) or a personal subscription reached by spawning a
200
+ * local CLI (the Claude Agent SDK shells out to `claude`). Everything else is
201
+ * an HTTP API behind a key the user pastes into settings, which works the same
202
+ * from a Fly machine as from a laptop.
203
+ *
204
+ * A curated allowlist sat here before, and every provider it omitted still had
205
+ * an API-key card in settings: a cloud user could save an OpenRouter key and
206
+ * find an empty model picker, with nothing saying why. Listing only what
207
+ * genuinely cannot work keeps the settings UI and the registry from drifting.
208
+ *
209
+ * The local engines are additionally never registered under the cloud profile
210
+ * (see the provider index); naming them here keeps the predicate honest for
211
+ * anything registered after that gate, and for callers asking about a
212
+ * provider id on its own.
213
+ */
214
+ export const NON_CLOUD_PROVIDER_IDS = [
215
+ // Engines that run on the user's own machine.
216
+ "ollama",
217
+ "lmstudio",
218
+ "llama_cpp",
219
+ "node_llama_cpp",
220
+ "whisper_cpp",
221
+ "whisper_cpp_server",
222
+ "vllm",
223
+ "mlx",
224
+ "transformers_js",
225
+ // A personal subscription reached by spawning the local `claude` CLI.
226
+ "claude_agent_sdk",
227
+ // A logged-in Dreamina tab in the user's own Chrome, reached through the
228
+ // NodeTool extension.
229
+ "dreamina",
230
+ // Test double, dev-gated at registration.
231
+ "fake"
232
+ ];
233
+ /**
234
+ * Providers offered *only* by the cloud product — the mirror image of
235
+ * {@link NON_CLOUD_PROVIDER_IDS}.
236
+ *
237
+ * Same rule, reversed: a provider belongs here when only the commercial cloud
238
+ * can reach it. `nodetool` runs curated delegates on NodeTool's own platform
239
+ * keys and meters the spend against a credit balance, so it is the platform's
240
+ * wallet, not a key the user pastes into settings. A local install has neither
241
+ * the keys nor an account to bill, and a self-hosted server has no claim on
242
+ * NodeTool's; offering it there is a provider card that can only ever produce
243
+ * an error.
244
+ */
245
+ export const CLOUD_ONLY_PROVIDER_IDS = ["nodetool"];
246
+ /**
247
+ * Whether `providerId` is reachable outside the cloud product. False only for
248
+ * {@link CLOUD_ONLY_PROVIDER_IDS}; an unknown id is treated as reachable, so a
249
+ * provider added to the registry keeps working on a laptop without a second
250
+ * edit here.
251
+ */
252
+ export function isSelfServeProvider(providerId) {
253
+ return !CLOUD_ONLY_PROVIDER_IDS.includes(providerId);
254
+ }
255
+ /**
256
+ * Built-in node packs loaded under the cloud profile. `base` is required and
257
+ * always loads; `fal` and `kie` are the only provider packs kept. Every other
258
+ * provider pack (Replicate, Hugging Face, Together, MiniMax, Topaz, Reve,
259
+ * AtlasCloud, ElevenLabs, Transformers.js) stays off.
260
+ */
261
+ export const CLOUD_BUILTIN_PACK_IDS = ["base", "fal", "kie"];
262
+ /**
263
+ * Whether `nodeType` is offered in the cloud product. An explicit allowlist
264
+ * entry always wins; otherwise the denylist excludes it; otherwise it must
265
+ * fall under an allowed namespace at a segment boundary so that e.g.
266
+ * `lib.image` admits `lib.image.warp.Offset` but not a hypothetical
267
+ * `lib.imagery.*`.
268
+ */
269
+ export function isCloudNodeType(nodeType) {
270
+ if (CLOUD_NODE_ALLOWLIST.includes(nodeType))
271
+ return true;
272
+ if (CLOUD_NODE_DENYLIST.includes(nodeType))
273
+ return false;
274
+ return CLOUD_NODE_NAMESPACES.some((ns) => nodeType === ns || nodeType.startsWith(`${ns}.`));
275
+ }
276
+ /**
277
+ * Whether `providerId` is exposed in the cloud product — true for everything
278
+ * except the local engines and local-CLI subscriptions in
279
+ * {@link NON_CLOUD_PROVIDER_IDS}. An unknown id is treated as cloud-eligible:
280
+ * a provider added to the registry reaches cloud users without a second edit
281
+ * here, and one that cannot work there has to be named.
282
+ */
283
+ export function isCloudProvider(providerId) {
284
+ return !NON_CLOUD_PROVIDER_IDS.includes(providerId);
285
+ }
286
+ //# sourceMappingURL=cloud-profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-profile.js","sourceRoot":"","sources":["../src/cloud-profile.ts"],"names":[],"mappings":"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"}