@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,1270 @@
1
+ /**
2
+ * Parameter schemas for the timeline agent tools, shared by every surface that
3
+ * exposes them.
4
+ *
5
+ * Three hosts drive the same `ui_timeline_*` contract: the headless bridge in
6
+ * `packages/agents/src/evals/surfaces/timeline.ts` (which `edit_timeline`
7
+ * dispatches its ops to), the browser tools in
8
+ * `web/src/lib/tools/builtin/timeline.ts`, and the live editor's handler.
9
+ * Invariant I11 says they share one implementation; the field lists below are
10
+ * the half a copy-paste twin gets wrong. `textStyle`, `shapeStyle` and
11
+ * `captionStyle` were each written out three times and each copy fell behind
12
+ * the renderer — a stroked title or a dashed path was expressible in the
13
+ * document and unreachable from a tool call.
14
+ *
15
+ * So the style bags are the document schemas themselves: what a tool accepts
16
+ * is exactly what a save stores (I1), and a field added to `timeline.ts` is
17
+ * reachable from every surface the same day. The flat bags — a transition, a
18
+ * mask, an effect — cannot be the document schema, because a tool call sends
19
+ * one object rather than a union member; those enumerate their types from the
20
+ * document schema's own lists and narrow through the `build*` helpers here, so
21
+ * a field the named type does not read is never stored to be stripped later.
22
+ */
23
+ import { z } from "zod";
24
+ import { type ClipMask, type ClipTimeRemap, type KnownClipEffect, type KnownClipTransition } from "./timeline.js";
25
+ /** How every clip-addressing tool names its target. */
26
+ export declare const targetParam: z.ZodString;
27
+ export declare const generativelyEditClipParams: z.ZodObject<{
28
+ clip_id: z.ZodString;
29
+ instruction: z.ZodString;
30
+ provider: z.ZodOptional<z.ZodString>;
31
+ model: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$strict>;
33
+ export type GenerativelyEditClipParams = z.infer<typeof generativelyEditClipParams>;
34
+ /** Apply the edit contract's cross-field validation to a host-specific shape. */
35
+ export declare const strictGenerativelyEditClipParams: (schema: z.ZodObject<z.ZodRawShape>) => z.ZodType;
36
+ /** Select a completed candidate take without changing other clip fields. */
37
+ export declare const applyTakeParams: z.ZodObject<{
38
+ clip_id: z.ZodString;
39
+ take_id: z.ZodString;
40
+ }, z.core.$strict>;
41
+ export type ApplyTakeParams = z.infer<typeof applyTakeParams>;
42
+ /** How the track-addressing tools name their target. */
43
+ export declare const trackTargetParam: z.ZodString;
44
+ /**
45
+ * `add_track` and `move_track`. Track order *is* z-order — the first track
46
+ * (index 0) draws on top — and a track is created at the bottom of the stack,
47
+ * so a picture track added last covers every overlay added before it. Before
48
+ * `move_track` existed the only remedy was to author the tracks in reverse and
49
+ * hope; the description says so on both tools, because the trap is sprung at
50
+ * `add_track` and only visible at render.
51
+ */
52
+ export declare const ADD_TRACK_DESCRIPTION: string;
53
+ /**
54
+ * Clip opacity on the ops that author a clip.
55
+ *
56
+ * A scrim can be authored two ways — an alpha fill (`#05070CCC`) or a
57
+ * translucent clip — and only the second is what `opacity` means everywhere
58
+ * else, so an `opacity` sent to `add_shape_clip` used to be refused as an
59
+ * unknown key and cost a `set_clip_params` round trip to apply.
60
+ */
61
+ export declare const clipOpacityParam: z.ZodOptional<z.ZodNumber>;
62
+ /** Static placement, merged over the clip's current transform. */
63
+ export declare const clipTransformPatchParam: z.ZodOptional<z.ZodObject<{
64
+ position: z.ZodOptional<z.ZodObject<{
65
+ x: z.ZodOptional<z.ZodNumber>;
66
+ y: z.ZodOptional<z.ZodNumber>;
67
+ }, z.core.$strip>>;
68
+ scale: z.ZodOptional<z.ZodObject<{
69
+ x: z.ZodOptional<z.ZodNumber>;
70
+ y: z.ZodOptional<z.ZodNumber>;
71
+ }, z.core.$strip>>;
72
+ rotation: z.ZodOptional<z.ZodNumber>;
73
+ rotationX: z.ZodOptional<z.ZodNumber>;
74
+ rotationY: z.ZodOptional<z.ZodNumber>;
75
+ perspective: z.ZodOptional<z.ZodNumber>;
76
+ anchor: z.ZodOptional<z.ZodObject<{
77
+ x: z.ZodOptional<z.ZodNumber>;
78
+ y: z.ZodOptional<z.ZodNumber>;
79
+ }, z.core.$strip>>;
80
+ }, z.core.$strip>>;
81
+ /**
82
+ * `move_track`'s arguments, in either spelling.
83
+ *
84
+ * The op names the track in `target` and its destination in `toIndex`, but a
85
+ * caller reaching for it after `add_media_clip` (which takes `trackId`) sends
86
+ * `{trackId, index}` — refused by name, one round trip spent on each. Both are
87
+ * the same call, so both are accepted.
88
+ */
89
+ export declare const moveTrackShape: {
90
+ readonly target: z.ZodOptional<z.ZodString>;
91
+ readonly trackId: z.ZodOptional<z.ZodString>;
92
+ readonly toIndex: z.ZodOptional<z.ZodNumber>;
93
+ readonly index: z.ZodOptional<z.ZodNumber>;
94
+ readonly before: z.ZodOptional<z.ZodString>;
95
+ readonly after: z.ZodOptional<z.ZodString>;
96
+ };
97
+ export interface MoveTrackArgs {
98
+ target: string;
99
+ toIndex?: number;
100
+ before?: string;
101
+ after?: string;
102
+ }
103
+ /**
104
+ * Normalize either spelling, or say what the call is missing. A destination is
105
+ * required: a `move_track` with none named nothing to do and used to reorder
106
+ * to index 0 by accident.
107
+ */
108
+ export declare function resolveMoveTrackArgs(input: {
109
+ target?: unknown;
110
+ trackId?: unknown;
111
+ toIndex?: unknown;
112
+ index?: unknown;
113
+ before?: unknown;
114
+ after?: unknown;
115
+ }): MoveTrackArgs;
116
+ /**
117
+ * `delete_track`'s arguments.
118
+ *
119
+ * Tracks were add-only: a build that reached for `add_track` one time too many
120
+ * — or created a picture track and then decided the piece was typographic —
121
+ * had no way back, and the op list said so only by omission. The editor's own
122
+ * track menu has removed a track and its clips all along, so the gap was the
123
+ * agent surface's alone.
124
+ *
125
+ * Deleting a track deletes the clips on it, which is the one thing about this
126
+ * op that can lose work, so an occupied track is refused unless the caller
127
+ * says `deleteClips: true`.
128
+ */
129
+ export declare const deleteTrackShape: {
130
+ readonly target: z.ZodOptional<z.ZodString>;
131
+ readonly trackId: z.ZodOptional<z.ZodString>;
132
+ readonly deleteClips: z.ZodOptional<z.ZodBoolean>;
133
+ };
134
+ export interface DeleteTrackArgs {
135
+ target: string;
136
+ deleteClips: boolean;
137
+ }
138
+ export declare function resolveDeleteTrackArgs(input: {
139
+ target?: unknown;
140
+ trackId?: unknown;
141
+ deleteClips?: unknown;
142
+ }): DeleteTrackArgs;
143
+ export declare const DELETE_TRACK_DESCRIPTION: string;
144
+ export declare const MOVE_TRACK_DESCRIPTION: string;
145
+ /**
146
+ * Attach one-line notes to a document schema's fields for the model reading the
147
+ * tool. A note naming a field the schema does not have throws at import, so a
148
+ * note cannot outlive the field it describes — which is the same drift this
149
+ * module exists to stop, one level down.
150
+ */
151
+ export declare function withFieldNotes<T extends z.ZodRawShape>(schema: z.ZodObject<T>, notes: Partial<Record<keyof T & string, string>>): z.ZodObject<T>;
152
+ /** `fontWeight`, accepting the CSS keyword spellings as well as the number. */
153
+ export declare const fontWeightParam: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<number, string>>]>;
154
+ /** A text clip's whole authored look, as `set_clip_params` replaces it. */
155
+ export declare const textStyleParams: z.ZodObject<{
156
+ text: z.ZodString;
157
+ path: z.ZodOptional<z.ZodString>;
158
+ fontFamily: z.ZodOptional<z.ZodString>;
159
+ fontSizePx: z.ZodNumber;
160
+ color: z.ZodString;
161
+ align: z.ZodOptional<z.ZodEnum<{
162
+ center: "center";
163
+ left: "left";
164
+ right: "right";
165
+ }>>;
166
+ maxWidthFrac: z.ZodOptional<z.ZodNumber>;
167
+ fontStyle: z.ZodOptional<z.ZodString>;
168
+ letterSpacingPx: z.ZodOptional<z.ZodNumber>;
169
+ lineHeight: z.ZodOptional<z.ZodNumber>;
170
+ strikethrough: z.ZodOptional<z.ZodBoolean>;
171
+ fill: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
172
+ type: z.ZodLiteral<"solid">;
173
+ color: z.ZodString;
174
+ }, z.core.$strip>, z.ZodObject<{
175
+ type: z.ZodLiteral<"linear">;
176
+ angle: z.ZodNumber;
177
+ stops: z.ZodArray<z.ZodObject<{
178
+ offset: z.ZodNumber;
179
+ color: z.ZodString;
180
+ }, z.core.$strip>>;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ type: z.ZodLiteral<"radial">;
183
+ stops: z.ZodArray<z.ZodObject<{
184
+ offset: z.ZodNumber;
185
+ color: z.ZodString;
186
+ }, z.core.$strip>>;
187
+ }, z.core.$strip>], "type">>;
188
+ fontWeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<number, string>>]>>;
189
+ verticalAlign: z.ZodOptional<z.ZodEnum<{
190
+ bottom: "bottom";
191
+ middle: "middle";
192
+ top: "top";
193
+ }>>;
194
+ shadow: z.ZodOptional<z.ZodObject<{
195
+ color: z.ZodDefault<z.ZodString>;
196
+ blurPx: z.ZodDefault<z.ZodNumber>;
197
+ offsetX: z.ZodDefault<z.ZodNumber>;
198
+ offsetY: z.ZodDefault<z.ZodNumber>;
199
+ }, z.core.$strict>>;
200
+ stroke: z.ZodOptional<z.ZodObject<{
201
+ color: z.ZodString;
202
+ widthPx: z.ZodNumber;
203
+ }, z.core.$strict>>;
204
+ background: z.ZodOptional<z.ZodObject<{
205
+ color: z.ZodString;
206
+ paddingPx: z.ZodNumber;
207
+ radiusPx: z.ZodOptional<z.ZodNumber>;
208
+ }, z.core.$strict>>;
209
+ }, z.core.$strip>;
210
+ /**
211
+ * Where a text clip is placed, for a caller that reached for x/y.
212
+ *
213
+ * Text has no coordinates: it is anchored to one of nine positions and wrapped
214
+ * to `maxWidthFrac`. The refusal listed thirteen style fields and no
215
+ * coordinates, which reads as "text cannot be positioned" rather than "text is
216
+ * positioned differently".
217
+ */
218
+ export declare const TEXT_CLIP_KEY_REMEDIES: Record<string, string>;
219
+ /** Attach {@link TEXT_CLIP_KEY_REMEDIES} to a host's `add_text_clip` schema. */
220
+ export declare function withTextClipRemedies<TSchema extends z.ZodType>(schema: TSchema): TSchema;
221
+ /**
222
+ * The same look on `add_text_clip`, where the words come from `text` and every
223
+ * remaining field falls back to a drawing default.
224
+ */
225
+ export declare const partialTextStyleParams: z.ZodObject<{
226
+ path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
227
+ fontFamily: z.ZodOptional<z.ZodOptional<z.ZodString>>;
228
+ fontSizePx: z.ZodOptional<z.ZodNumber>;
229
+ color: z.ZodOptional<z.ZodString>;
230
+ align: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
231
+ center: "center";
232
+ left: "left";
233
+ right: "right";
234
+ }>>>;
235
+ maxWidthFrac: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
236
+ fontStyle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
237
+ letterSpacingPx: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
238
+ lineHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
239
+ strikethrough: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
240
+ fill: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
241
+ type: z.ZodLiteral<"solid">;
242
+ color: z.ZodString;
243
+ }, z.core.$strip>, z.ZodObject<{
244
+ type: z.ZodLiteral<"linear">;
245
+ angle: z.ZodNumber;
246
+ stops: z.ZodArray<z.ZodObject<{
247
+ offset: z.ZodNumber;
248
+ color: z.ZodString;
249
+ }, z.core.$strip>>;
250
+ }, z.core.$strip>, z.ZodObject<{
251
+ type: z.ZodLiteral<"radial">;
252
+ stops: z.ZodArray<z.ZodObject<{
253
+ offset: z.ZodNumber;
254
+ color: z.ZodString;
255
+ }, z.core.$strip>>;
256
+ }, z.core.$strip>], "type">>>;
257
+ fontWeight: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<number, string>>]>>>;
258
+ verticalAlign: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
259
+ bottom: "bottom";
260
+ middle: "middle";
261
+ top: "top";
262
+ }>>>;
263
+ shadow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
264
+ color: z.ZodDefault<z.ZodString>;
265
+ blurPx: z.ZodDefault<z.ZodNumber>;
266
+ offsetX: z.ZodDefault<z.ZodNumber>;
267
+ offsetY: z.ZodDefault<z.ZodNumber>;
268
+ }, z.core.$strict>>>;
269
+ stroke: z.ZodOptional<z.ZodOptional<z.ZodObject<{
270
+ color: z.ZodString;
271
+ widthPx: z.ZodNumber;
272
+ }, z.core.$strict>>>;
273
+ background: z.ZodOptional<z.ZodOptional<z.ZodObject<{
274
+ color: z.ZodString;
275
+ paddingPx: z.ZodNumber;
276
+ radiusPx: z.ZodOptional<z.ZodNumber>;
277
+ }, z.core.$strict>>>;
278
+ }, z.core.$strip>;
279
+ /**
280
+ * The look as `set_clip_params` takes it: every field optional, merged over
281
+ * what the clip already carries.
282
+ *
283
+ * Changing one field used to mean re-sending the whole style, because
284
+ * `textStyleParams` requires `text`, `fontSizePx` and `color` — so
285
+ * `{textStyle: {fontFamily: "Space Grotesk"}}` on a finished title failed
286
+ * validation, and re-sending the whole object to get past it is how a caller
287
+ * overwrites the four fields it did not mean to touch. The op merges instead,
288
+ * and a clip with no text style yet still needs the three required fields
289
+ * before it draws anything.
290
+ */
291
+ export declare const textStylePatchParams: z.ZodObject<{
292
+ text: z.ZodOptional<z.ZodString>;
293
+ path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
294
+ fontFamily: z.ZodOptional<z.ZodOptional<z.ZodString>>;
295
+ fontSizePx: z.ZodOptional<z.ZodNumber>;
296
+ color: z.ZodOptional<z.ZodString>;
297
+ align: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
298
+ center: "center";
299
+ left: "left";
300
+ right: "right";
301
+ }>>>;
302
+ maxWidthFrac: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
303
+ fontStyle: z.ZodOptional<z.ZodOptional<z.ZodString>>;
304
+ letterSpacingPx: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
305
+ lineHeight: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
306
+ strikethrough: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
307
+ fill: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
308
+ type: z.ZodLiteral<"solid">;
309
+ color: z.ZodString;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ type: z.ZodLiteral<"linear">;
312
+ angle: z.ZodNumber;
313
+ stops: z.ZodArray<z.ZodObject<{
314
+ offset: z.ZodNumber;
315
+ color: z.ZodString;
316
+ }, z.core.$strip>>;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ type: z.ZodLiteral<"radial">;
319
+ stops: z.ZodArray<z.ZodObject<{
320
+ offset: z.ZodNumber;
321
+ color: z.ZodString;
322
+ }, z.core.$strip>>;
323
+ }, z.core.$strip>], "type">>>;
324
+ fontWeight: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodTransform<number, string>>]>>>;
325
+ verticalAlign: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
326
+ bottom: "bottom";
327
+ middle: "middle";
328
+ top: "top";
329
+ }>>>;
330
+ shadow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
331
+ color: z.ZodDefault<z.ZodString>;
332
+ blurPx: z.ZodDefault<z.ZodNumber>;
333
+ offsetX: z.ZodDefault<z.ZodNumber>;
334
+ offsetY: z.ZodDefault<z.ZodNumber>;
335
+ }, z.core.$strict>>>;
336
+ stroke: z.ZodOptional<z.ZodOptional<z.ZodObject<{
337
+ color: z.ZodString;
338
+ widthPx: z.ZodNumber;
339
+ }, z.core.$strict>>>;
340
+ background: z.ZodOptional<z.ZodOptional<z.ZodObject<{
341
+ color: z.ZodString;
342
+ paddingPx: z.ZodNumber;
343
+ radiusPx: z.ZodOptional<z.ZodNumber>;
344
+ }, z.core.$strict>>>;
345
+ }, z.core.$strip>;
346
+ /** A shape clip's geometry and fill. */
347
+ export declare const shapeStyleParams: z.ZodObject<{
348
+ kind: z.ZodString;
349
+ fill: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
350
+ type: z.ZodLiteral<"solid">;
351
+ color: z.ZodString;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ type: z.ZodLiteral<"linear">;
354
+ angle: z.ZodNumber;
355
+ stops: z.ZodArray<z.ZodObject<{
356
+ offset: z.ZodNumber;
357
+ color: z.ZodString;
358
+ }, z.core.$strip>>;
359
+ }, z.core.$strip>, z.ZodObject<{
360
+ type: z.ZodLiteral<"radial">;
361
+ stops: z.ZodArray<z.ZodObject<{
362
+ offset: z.ZodNumber;
363
+ color: z.ZodString;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>], "type">]>>;
366
+ stroke: z.ZodOptional<z.ZodString>;
367
+ strokeWidthPx: z.ZodOptional<z.ZodNumber>;
368
+ x: z.ZodOptional<z.ZodNumber>;
369
+ y: z.ZodOptional<z.ZodNumber>;
370
+ width: z.ZodOptional<z.ZodNumber>;
371
+ height: z.ZodOptional<z.ZodNumber>;
372
+ x2: z.ZodOptional<z.ZodNumber>;
373
+ y2: z.ZodOptional<z.ZodNumber>;
374
+ d: z.ZodOptional<z.ZodString>;
375
+ sides: z.ZodOptional<z.ZodNumber>;
376
+ innerRadius: z.ZodOptional<z.ZodNumber>;
377
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
378
+ fillStyle: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
379
+ type: z.ZodLiteral<"solid">;
380
+ color: z.ZodString;
381
+ }, z.core.$strip>, z.ZodObject<{
382
+ type: z.ZodLiteral<"linear">;
383
+ angle: z.ZodNumber;
384
+ stops: z.ZodArray<z.ZodObject<{
385
+ offset: z.ZodNumber;
386
+ color: z.ZodString;
387
+ }, z.core.$strip>>;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ type: z.ZodLiteral<"radial">;
390
+ stops: z.ZodArray<z.ZodObject<{
391
+ offset: z.ZodNumber;
392
+ color: z.ZodString;
393
+ }, z.core.$strip>>;
394
+ }, z.core.$strip>], "type">>;
395
+ dash: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
396
+ lineCap: z.ZodOptional<z.ZodString>;
397
+ lineJoin: z.ZodOptional<z.ZodString>;
398
+ trimStart: z.ZodOptional<z.ZodNumber>;
399
+ trimEnd: z.ZodOptional<z.ZodNumber>;
400
+ }, z.core.$strict>;
401
+ /**
402
+ * What `add_text_clip` and `add_shape_clip` tell the model, shared so the
403
+ * browser registry and the headless bridge describe one tool.
404
+ *
405
+ * Both spell out the traps a build actually hit: a style field sent at the top
406
+ * level used to be stripped in silence (a 120px title reverted to the 96px
407
+ * default), and a rectangle's fill is opaque unless the caller says otherwise,
408
+ * so a scrim authored as a plain fill covers the picture instead of darkening
409
+ * it.
410
+ */
411
+ export declare const ADD_TEXT_CLIP_DESCRIPTION: string;
412
+ export declare const ADD_SHAPE_CLIP_DESCRIPTION: string;
413
+ /**
414
+ * The shape geometry for `add_shape_clip`, merged from all three forms the
415
+ * caller may have used: `shape`, `shapeStyle` (the name `set_clip_params`
416
+ * takes), and the keys spread at the top level.
417
+ *
418
+ * They are one description of one shape, so they merge — `shape` wins a
419
+ * contested key, then `shapeStyle`, then the top level. Taking the first bag
420
+ * whole and dropping the rest is what put a white full-frame rectangle over a
421
+ * finished ad: the kind and fill went in `shape`, the box at the top level,
422
+ * and the call reported success having read half of it.
423
+ *
424
+ * With no geometry at all the shape is a full-frame rect — a caller that asked
425
+ * for a shape and named no box wants something it can see, not a schema error
426
+ * about a field it did not know existed. Geometry that *is* named is left
427
+ * alone, so a line keeps its two points and gains no width.
428
+ */
429
+ export declare function resolveShapeArg(shape: unknown, shapeStyle: unknown, loose: Record<string, unknown>): z.infer<typeof shapeStyleParams>;
430
+ /**
431
+ * A 3D clip's look, as both `add_model3d_clip` and `set_model3d_style` take
432
+ * it: a patch, merged one level down over what the clip already has.
433
+ *
434
+ * Every block is optional so `{camera: {azimuthDeg: 90}}` turns the model and
435
+ * leaves the elevation, lens and framing alone — sending the camera whole to
436
+ * change one term is how a caller resets the other four by accident.
437
+ * `background` is the exception and replaces whole: it is a union, and half of
438
+ * it is not a background. `bake` is absent because a bake is a render paired
439
+ * with the hash it was rendered at, which only bake_model3d_clip can pair.
440
+ */
441
+ export declare const model3dStyleParams: z.ZodObject<{
442
+ camera: z.ZodOptional<z.ZodObject<{
443
+ mode: z.ZodOptional<z.ZodEnum<{
444
+ orbit: "orbit";
445
+ scene: "scene";
446
+ }>>;
447
+ azimuthDeg: z.ZodOptional<z.ZodNumber>;
448
+ elevationDeg: z.ZodOptional<z.ZodNumber>;
449
+ fovDeg: z.ZodOptional<z.ZodNumber>;
450
+ zoom: z.ZodOptional<z.ZodNumber>;
451
+ targetOffset: z.ZodOptional<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
452
+ sceneCameraName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
453
+ }, z.core.$strict>>;
454
+ animation: z.ZodOptional<z.ZodObject<{
455
+ clipName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
456
+ loop: z.ZodOptional<z.ZodBoolean>;
457
+ speed: z.ZodOptional<z.ZodNumber>;
458
+ }, z.core.$strict>>;
459
+ lighting: z.ZodOptional<z.ZodEnum<{
460
+ flat: "flat";
461
+ soft: "soft";
462
+ studio: "studio";
463
+ }>>;
464
+ lightIntensity: z.ZodOptional<z.ZodNumber>;
465
+ background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
466
+ transparent: z.ZodLiteral<true>;
467
+ }, z.core.$strip>, z.ZodObject<{
468
+ transparent: z.ZodLiteral<false>;
469
+ color: z.ZodString;
470
+ }, z.core.$strip>], "transparent">>;
471
+ }, z.core.$strict>;
472
+ export declare const ADD_MODEL3D_CLIP_DESCRIPTION: string;
473
+ export declare const SET_MODEL3D_STYLE_DESCRIPTION: string;
474
+ export declare const BAKE_MODEL3D_CLIP_DESCRIPTION: string;
475
+ /**
476
+ * A caption's look. Every field is optional and an absent one keeps the
477
+ * built-in value, so a partial patch restyles one thing rather than resetting
478
+ * the rest.
479
+ */
480
+ export declare const captionStyleParams: z.ZodObject<{
481
+ fontFamily: z.ZodOptional<z.ZodString>;
482
+ fontSizeFrac: z.ZodOptional<z.ZodNumber>;
483
+ color: z.ZodOptional<z.ZodString>;
484
+ activeColor: z.ZodOptional<z.ZodString>;
485
+ outline: z.ZodOptional<z.ZodObject<{
486
+ color: z.ZodString;
487
+ widthPx: z.ZodNumber;
488
+ }, z.core.$strip>>;
489
+ bottomMarginFrac: z.ZodOptional<z.ZodNumber>;
490
+ background: z.ZodOptional<z.ZodObject<{
491
+ color: z.ZodString;
492
+ paddingPx: z.ZodNumber;
493
+ radiusPx: z.ZodOptional<z.ZodNumber>;
494
+ }, z.core.$strip>>;
495
+ }, z.core.$strip>;
496
+ /**
497
+ * A cut, authored on the incoming clip (D5). The type is an enum so a model
498
+ * inventing one is refused with the list, rather than saving a document the
499
+ * renderer then quietly cross-fades.
500
+ */
501
+ export declare const transitionParams: z.ZodObject<{
502
+ type: z.ZodEnum<{
503
+ crossfade: "crossfade";
504
+ dipToColor: "dipToColor";
505
+ glitch: "glitch";
506
+ gradientWipe: "gradientWipe";
507
+ iris: "iris";
508
+ lightLeak: "lightLeak";
509
+ push: "push";
510
+ slide: "slide";
511
+ whip: "whip";
512
+ wipe: "wipe";
513
+ zoom: "zoom";
514
+ zoomBlur: "zoomBlur";
515
+ }>;
516
+ durationMs: z.ZodNumber;
517
+ easing: z.ZodOptional<z.ZodString>;
518
+ color: z.ZodOptional<z.ZodString>;
519
+ direction: z.ZodOptional<z.ZodEnum<{
520
+ down: "down";
521
+ left: "left";
522
+ right: "right";
523
+ up: "up";
524
+ }>>;
525
+ softness: z.ZodOptional<z.ZodNumber>;
526
+ map: z.ZodOptional<z.ZodEnum<{
527
+ linear: "linear";
528
+ noise: "noise";
529
+ radial: "radial";
530
+ }>>;
531
+ scale: z.ZodOptional<z.ZodNumber>;
532
+ seed: z.ZodOptional<z.ZodNumber>;
533
+ blur: z.ZodOptional<z.ZodNumber>;
534
+ amount: z.ZodOptional<z.ZodNumber>;
535
+ }, z.core.$strip>;
536
+ export type TransitionParams = z.infer<typeof transitionParams>;
537
+ export declare const APPLY_TRANSITION_AT_CUT_DESCRIPTION = "Apply one transition candidate to two explicitly adjacent clips as a single undoable cut operation. The outgoing clip must precede the incoming clip on the same track. Provide durationMs or overlapMs. Transition-specific fields match set_transition: color controls dipToColor; direction controls wipe, push and slide; softness controls wipe. Do not use this to replace either clip's take.";
538
+ export declare const applyTransitionAtCutParams: z.ZodObject<{
539
+ easing: z.ZodOptional<z.ZodString>;
540
+ color: z.ZodOptional<z.ZodString>;
541
+ direction: z.ZodOptional<z.ZodEnum<{
542
+ down: "down";
543
+ left: "left";
544
+ right: "right";
545
+ up: "up";
546
+ }>>;
547
+ softness: z.ZodOptional<z.ZodNumber>;
548
+ map: z.ZodOptional<z.ZodEnum<{
549
+ linear: "linear";
550
+ noise: "noise";
551
+ radial: "radial";
552
+ }>>;
553
+ scale: z.ZodOptional<z.ZodNumber>;
554
+ seed: z.ZodOptional<z.ZodNumber>;
555
+ blur: z.ZodOptional<z.ZodNumber>;
556
+ amount: z.ZodOptional<z.ZodNumber>;
557
+ outgoingClipId: z.ZodString;
558
+ incomingClipId: z.ZodString;
559
+ durationMs: z.ZodOptional<z.ZodNumber>;
560
+ overlapMs: z.ZodOptional<z.ZodNumber>;
561
+ type: z.ZodOptional<z.ZodEnum<{
562
+ crossfade: "crossfade";
563
+ dipToColor: "dipToColor";
564
+ glitch: "glitch";
565
+ gradientWipe: "gradientWipe";
566
+ iris: "iris";
567
+ lightLeak: "lightLeak";
568
+ push: "push";
569
+ slide: "slide";
570
+ whip: "whip";
571
+ wipe: "wipe";
572
+ zoom: "zoom";
573
+ zoomBlur: "zoomBlur";
574
+ }>>;
575
+ }, z.core.$strip>;
576
+ export type ApplyTransitionAtCutParams = z.infer<typeof applyTransitionAtCutParams>;
577
+ /**
578
+ * The union member the named type actually takes. The input schema is one flat
579
+ * object because that is what a tool call can express, so a `color` sent with a
580
+ * `push` would otherwise be stored and then silently stripped on the next save
581
+ * — a `field_stripped` warning for a field that never meant anything.
582
+ */
583
+ export declare function buildTransition(input: TransitionParams): KnownClipTransition;
584
+ /**
585
+ * The mask kinds `drawMask` rasterizes. The document types `kind` as a plain
586
+ * string for forward compat (I2), but a kind this build cannot draw is a mask
587
+ * that silently does nothing, and refusing it at the call is cheaper than
588
+ * finding it in the pixels.
589
+ */
590
+ export declare const MASK_KINDS: readonly ["rect", "ellipse", "path"];
591
+ /** A shape mask on one clip, in the layer's own normalized 0..1 space (D6). */
592
+ export declare const maskParams: z.ZodObject<{
593
+ kind: z.ZodEnum<{
594
+ ellipse: "ellipse";
595
+ path: "path";
596
+ rect: "rect";
597
+ }>;
598
+ x: z.ZodOptional<z.ZodNumber>;
599
+ y: z.ZodOptional<z.ZodNumber>;
600
+ width: z.ZodOptional<z.ZodNumber>;
601
+ height: z.ZodOptional<z.ZodNumber>;
602
+ radiusPx: z.ZodOptional<z.ZodNumber>;
603
+ d: z.ZodOptional<z.ZodString>;
604
+ featherPx: z.ZodOptional<z.ZodNumber>;
605
+ invert: z.ZodOptional<z.ZodBoolean>;
606
+ }, z.core.$strip>;
607
+ export type MaskParams = z.infer<typeof maskParams>;
608
+ /**
609
+ * The stored mask, with the fields the named kind does not use left off — the
610
+ * same reason {@link buildTransition} narrows a flat input.
611
+ *
612
+ * `checkPath` is the host's own path parser (`parseSvgPath`). Path data is
613
+ * parsed at the call rather than at render time so a path the renderer cannot
614
+ * read is refused while the caller can still fix it; a host with no parser in
615
+ * reach passes none and stores the data unchecked.
616
+ */
617
+ export declare function buildMask(input: MaskParams, checkPath?: (d: string) => {
618
+ ok: boolean;
619
+ error?: string;
620
+ }): ClipMask;
621
+ /** A track matte: another clip's alpha or luminance drives this layer's alpha. */
622
+ export declare const matteParams: z.ZodObject<{
623
+ source: z.ZodString;
624
+ mode: z.ZodEnum<{
625
+ alpha: "alpha";
626
+ luma: "luma";
627
+ }>;
628
+ invert: z.ZodOptional<z.ZodBoolean>;
629
+ }, z.core.$strip>;
630
+ export type MatteParams = z.infer<typeof matteParams>;
631
+ /**
632
+ * The knobs on a matte generated from the clip's own source (D2).
633
+ *
634
+ * Generating one is `isolate_subject`, a paid provider call. This is what a
635
+ * person does with the result: invert the keyhole, ease its strength, feather
636
+ * its edge, go back to the version before the last regenerate, throw it away.
637
+ * Every field is optional and an absent one leaves the stored value alone;
638
+ * `clear` wins over the rest, then `selectVersionAssetId`, then the knobs.
639
+ */
640
+ export declare const setGeneratedMatteParams: z.ZodObject<{
641
+ target: z.ZodString;
642
+ invert: z.ZodOptional<z.ZodBoolean>;
643
+ strength: z.ZodOptional<z.ZodNumber>;
644
+ featherPx: z.ZodOptional<z.ZodNumber>;
645
+ selectVersionAssetId: z.ZodOptional<z.ZodString>;
646
+ clear: z.ZodOptional<z.ZodBoolean>;
647
+ }, z.core.$strip>;
648
+ export type SetGeneratedMatteParams = z.infer<typeof setGeneratedMatteParams>;
649
+ export declare const SET_GENERATED_MATTE_DESCRIPTION: string;
650
+ /**
651
+ * A time-remap curve: where in the source each instant of the clip sits (D13).
652
+ *
653
+ * `t` is normalized over the clip's own window, so the curve has to span it —
654
+ * a list starting at 0.3 would leave the first third of the clip held on a
655
+ * frame the caller never asked for, and `evaluateTimeRemapMs` holds flat
656
+ * outside the ends rather than reporting that. The ordering rule is the
657
+ * sampler's: it reads keyframes in array order and never sorts, so a list that
658
+ * does not ascend samples wrong instead of failing.
659
+ */
660
+ export declare const timeRemapParams: z.ZodObject<{
661
+ keyframes: z.ZodArray<z.ZodObject<{
662
+ t: z.ZodNumber;
663
+ sourceMs: z.ZodNumber;
664
+ easing: z.ZodOptional<z.ZodString>;
665
+ }, z.core.$strip>>;
666
+ }, z.core.$strip>;
667
+ export type TimeRemapParams = z.infer<typeof timeRemapParams>;
668
+ /** `set_time_remap`'s whole input: a curve, or null to play at the clip's rate. */
669
+ export declare const setTimeRemapParams: z.ZodObject<{
670
+ target: z.ZodString;
671
+ timeRemap: z.ZodNullable<z.ZodObject<{
672
+ keyframes: z.ZodArray<z.ZodObject<{
673
+ t: z.ZodNumber;
674
+ sourceMs: z.ZodNumber;
675
+ easing: z.ZodOptional<z.ZodString>;
676
+ }, z.core.$strip>>;
677
+ }, z.core.$strip>>;
678
+ }, z.core.$strip>;
679
+ export type SetTimeRemapParams = z.infer<typeof setTimeRemapParams>;
680
+ /**
681
+ * The stored remap, refusing the curves the sampler cannot read.
682
+ *
683
+ * Checked here rather than in Zod so every host reports one message, and so a
684
+ * caller that built the object itself gets the same refusal a tool call does.
685
+ */
686
+ export declare function buildTimeRemap(input: TimeRemapParams): ClipTimeRemap;
687
+ /**
688
+ * Where a baked curve came from, stored on the animation as
689
+ * `custom.bakedFrom`.
690
+ *
691
+ * `kind` plus the driven property is the identity a re-bake matches to replace
692
+ * its own curve, so it is required. The rest is what a caller needs to re-run
693
+ * the bake or show its provenance: which clip was measured, which asset, and
694
+ * the settings that produced these numbers. `kind` is a free string for the
695
+ * forward compat `preset` has — one this build does not know is provenance to
696
+ * display, never something to execute.
697
+ */
698
+ export declare const bakedFromParams: z.ZodObject<{
699
+ kind: z.ZodString;
700
+ clipId: z.ZodOptional<z.ZodString>;
701
+ assetId: z.ZodOptional<z.ZodString>;
702
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
703
+ }, z.core.$strip>;
704
+ export type BakedFromParams = z.infer<typeof bakedFromParams>;
705
+ /**
706
+ * One source-anchored curve, as `set_baked_animation` takes it.
707
+ *
708
+ * `sourceMs` is absolute time in the animated clip's own media, not time on
709
+ * the timeline and not `t` over the clip's window: the curve travels with the
710
+ * footage, so a trim or a split re-slices it instead of stretching it. The
711
+ * property name is loose here — `@nodetool-ai/timeline` owns the list, and
712
+ * `normalizeCustomCurves` is the one gate that checks it, the same way it
713
+ * checks a curve `animate_clip` writes.
714
+ */
715
+ export declare const bakedAnimationParams: z.ZodObject<{
716
+ property: z.ZodString;
717
+ keyframes: z.ZodArray<z.ZodObject<{
718
+ sourceMs: z.ZodNumber;
719
+ value: z.ZodNumber;
720
+ easing: z.ZodOptional<z.ZodString>;
721
+ }, z.core.$strip>>;
722
+ timeBase: z.ZodOptional<z.ZodLiteral<"source">>;
723
+ bakedFrom: z.ZodObject<{
724
+ kind: z.ZodString;
725
+ clipId: z.ZodOptional<z.ZodString>;
726
+ assetId: z.ZodOptional<z.ZodString>;
727
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
728
+ }, z.core.$strip>;
729
+ role: z.ZodOptional<z.ZodEnum<{
730
+ emphasis: "emphasis";
731
+ in: "in";
732
+ loop: "loop";
733
+ out: "out";
734
+ }>>;
735
+ durationMs: z.ZodOptional<z.ZodNumber>;
736
+ delayMs: z.ZodOptional<z.ZodNumber>;
737
+ easing: z.ZodOptional<z.ZodString>;
738
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
739
+ mask: z.ZodOptional<z.ZodObject<{
740
+ direction: z.ZodEnum<{
741
+ down: "down";
742
+ left: "left";
743
+ right: "right";
744
+ up: "up";
745
+ }>;
746
+ softness: z.ZodNumber;
747
+ }, z.core.$strip>>;
748
+ replace: z.ZodOptional<z.ZodBoolean>;
749
+ }, z.core.$strip>;
750
+ export type BakedAnimationParams = z.infer<typeof bakedAnimationParams>;
751
+ /** `set_baked_animation`'s whole input. */
752
+ export declare const setBakedAnimationParams: z.ZodObject<{
753
+ target: z.ZodString;
754
+ animation: z.ZodObject<{
755
+ property: z.ZodString;
756
+ keyframes: z.ZodArray<z.ZodObject<{
757
+ sourceMs: z.ZodNumber;
758
+ value: z.ZodNumber;
759
+ easing: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strip>>;
761
+ timeBase: z.ZodOptional<z.ZodLiteral<"source">>;
762
+ bakedFrom: z.ZodObject<{
763
+ kind: z.ZodString;
764
+ clipId: z.ZodOptional<z.ZodString>;
765
+ assetId: z.ZodOptional<z.ZodString>;
766
+ settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
767
+ }, z.core.$strip>;
768
+ role: z.ZodOptional<z.ZodEnum<{
769
+ emphasis: "emphasis";
770
+ in: "in";
771
+ loop: "loop";
772
+ out: "out";
773
+ }>>;
774
+ durationMs: z.ZodOptional<z.ZodNumber>;
775
+ delayMs: z.ZodOptional<z.ZodNumber>;
776
+ easing: z.ZodOptional<z.ZodString>;
777
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
778
+ mask: z.ZodOptional<z.ZodObject<{
779
+ direction: z.ZodEnum<{
780
+ down: "down";
781
+ left: "left";
782
+ right: "right";
783
+ up: "up";
784
+ }>;
785
+ softness: z.ZodNumber;
786
+ }, z.core.$strip>>;
787
+ replace: z.ZodOptional<z.ZodBoolean>;
788
+ }, z.core.$strip>;
789
+ }, z.core.$strip>;
790
+ export type SetBakedAnimationParams = z.infer<typeof setBakedAnimationParams>;
791
+ export declare const SET_BAKED_ANIMATION_DESCRIPTION: string;
792
+ /**
793
+ * One effect in a clip's chain (D7). `type` decides which of the other fields
794
+ * are accepted. A tool call sends one flat object, and a knob the named type
795
+ * cannot read is rejected before {@link buildEffect} writes the chain.
796
+ *
797
+ * `enabled` and `id` are not asked for — the chain is replaced whole, so an
798
+ * effect the caller sent is an effect it wants on, and an id it never sees is
799
+ * one it cannot get wrong.
800
+ */
801
+ export declare const effectParams: z.ZodObject<{
802
+ type: z.ZodEnum<{
803
+ blur: "blur";
804
+ chromaKey: "chromaKey";
805
+ color: "color";
806
+ curves: "curves";
807
+ directionalBlur: "directionalBlur";
808
+ dropShadow: "dropShadow";
809
+ generator: "generator";
810
+ glow: "glow";
811
+ grain: "grain";
812
+ lensDistortion: "lensDistortion";
813
+ levels: "levels";
814
+ liftGammaGain: "liftGammaGain";
815
+ lut: "lut";
816
+ pixelate: "pixelate";
817
+ posterize: "posterize";
818
+ sharpen: "sharpen";
819
+ stylize: "stylize";
820
+ vignette: "vignette";
821
+ }>;
822
+ brightness: z.ZodOptional<z.ZodNumber>;
823
+ contrast: z.ZodOptional<z.ZodNumber>;
824
+ saturation: z.ZodOptional<z.ZodNumber>;
825
+ hue: z.ZodOptional<z.ZodNumber>;
826
+ temperature: z.ZodOptional<z.ZodNumber>;
827
+ tint: z.ZodOptional<z.ZodNumber>;
828
+ shadows: z.ZodOptional<z.ZodNumber>;
829
+ highlights: z.ZodOptional<z.ZodNumber>;
830
+ radius: z.ZodOptional<z.ZodNumber>;
831
+ cellSize: z.ZodOptional<z.ZodNumber>;
832
+ levels: z.ZodOptional<z.ZodNumber>;
833
+ angle: z.ZodOptional<z.ZodNumber>;
834
+ mode: z.ZodOptional<z.ZodString>;
835
+ scale: z.ZodOptional<z.ZodNumber>;
836
+ time: z.ZodOptional<z.ZodNumber>;
837
+ seed: z.ZodOptional<z.ZodNumber>;
838
+ colorA: z.ZodOptional<z.ZodString>;
839
+ colorB: z.ZodOptional<z.ZodString>;
840
+ cube: z.ZodOptional<z.ZodString>;
841
+ intensity: z.ZodOptional<z.ZodNumber>;
842
+ offsetX: z.ZodOptional<z.ZodNumber>;
843
+ offsetY: z.ZodOptional<z.ZodNumber>;
844
+ blur: z.ZodOptional<z.ZodNumber>;
845
+ color: z.ZodOptional<z.ZodString>;
846
+ opacity: z.ZodOptional<z.ZodNumber>;
847
+ amount: z.ZodOptional<z.ZodNumber>;
848
+ size: z.ZodOptional<z.ZodNumber>;
849
+ colorAmount: z.ZodOptional<z.ZodNumber>;
850
+ animate: z.ZodOptional<z.ZodBoolean>;
851
+ softness: z.ZodOptional<z.ZodNumber>;
852
+ tolerance: z.ZodOptional<z.ZodNumber>;
853
+ spill: z.ZodOptional<z.ZodNumber>;
854
+ master: z.ZodOptional<z.ZodArray<z.ZodObject<{
855
+ x: z.ZodNumber;
856
+ y: z.ZodNumber;
857
+ }, z.core.$strip>>>;
858
+ r: z.ZodOptional<z.ZodArray<z.ZodObject<{
859
+ x: z.ZodNumber;
860
+ y: z.ZodNumber;
861
+ }, z.core.$strip>>>;
862
+ g: z.ZodOptional<z.ZodArray<z.ZodObject<{
863
+ x: z.ZodNumber;
864
+ y: z.ZodNumber;
865
+ }, z.core.$strip>>>;
866
+ b: z.ZodOptional<z.ZodArray<z.ZodObject<{
867
+ x: z.ZodNumber;
868
+ y: z.ZodNumber;
869
+ }, z.core.$strip>>>;
870
+ inBlack: z.ZodOptional<z.ZodNumber>;
871
+ inWhite: z.ZodOptional<z.ZodNumber>;
872
+ gamma: z.ZodOptional<z.ZodNumber>;
873
+ outBlack: z.ZodOptional<z.ZodNumber>;
874
+ outWhite: z.ZodOptional<z.ZodNumber>;
875
+ lift: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
876
+ gain: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
877
+ gammaRgb: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
878
+ }, z.core.$loose>;
879
+ export type EffectParams = z.infer<typeof effectParams>;
880
+ /**
881
+ * The stored effect, narrowed to the fields its type reads. Defaults are the
882
+ * neutral value of each knob, so an effect named with nothing else set is
883
+ * harmless rather than refused.
884
+ */
885
+ export declare function buildEffect(input: EffectParams, index: number): KnownClipEffect;
886
+ /**
887
+ * A group clip: no media of its own, just a transform, an opacity and a window
888
+ * the clips naming it inherit (D4). It occupies a track like any other clip, so
889
+ * the picture stays where it is — a child's z-order is its own track's (I9).
890
+ */
891
+ export declare const addGroupParams: z.ZodObject<{
892
+ name: z.ZodString;
893
+ transform: z.ZodOptional<z.ZodObject<{
894
+ position: z.ZodOptional<z.ZodObject<{
895
+ x: z.ZodOptional<z.ZodNumber>;
896
+ y: z.ZodOptional<z.ZodNumber>;
897
+ }, z.core.$strip>>;
898
+ scale: z.ZodOptional<z.ZodObject<{
899
+ x: z.ZodOptional<z.ZodNumber>;
900
+ y: z.ZodOptional<z.ZodNumber>;
901
+ }, z.core.$strip>>;
902
+ rotation: z.ZodOptional<z.ZodNumber>;
903
+ rotationX: z.ZodOptional<z.ZodNumber>;
904
+ rotationY: z.ZodOptional<z.ZodNumber>;
905
+ perspective: z.ZodOptional<z.ZodNumber>;
906
+ anchor: z.ZodOptional<z.ZodObject<{
907
+ x: z.ZodOptional<z.ZodNumber>;
908
+ y: z.ZodOptional<z.ZodNumber>;
909
+ }, z.core.$strip>>;
910
+ }, z.core.$strip>>;
911
+ startMs: z.ZodNumber;
912
+ durationMs: z.ZodNumber;
913
+ trackId: z.ZodOptional<z.ZodString>;
914
+ children: z.ZodOptional<z.ZodArray<z.ZodString>>;
915
+ }, z.core.$strip>;
916
+ export type AddGroupParams = z.infer<typeof addGroupParams>;
917
+ /** Parent one clip to a group, or unparent it with `parentId: null`. */
918
+ export declare const setParentParams: z.ZodObject<{
919
+ target: z.ZodString;
920
+ parentId: z.ZodNullable<z.ZodString>;
921
+ }, z.core.$strip>;
922
+ export type SetParentParams = z.infer<typeof setParentParams>;
923
+ /**
924
+ * A note as a tool call writes it. Ticks are content-relative (960 per quarter
925
+ * note) so a note keeps its place when the clip's window is trimmed, and `id`
926
+ * is optional because the implementation mints one — a caller that wants to
927
+ * edit a note it already knows sends the id back.
928
+ */
929
+ export declare const midiNoteParams: z.ZodObject<{
930
+ id: z.ZodOptional<z.ZodString>;
931
+ pitch: z.ZodNumber;
932
+ velocity: z.ZodOptional<z.ZodNumber>;
933
+ start_tick: z.ZodNumber;
934
+ duration_tick: z.ZodNumber;
935
+ }, z.core.$strip>;
936
+ export type MidiNoteParams = z.infer<typeof midiNoteParams>;
937
+ /**
938
+ * `add_midi_clip`. The clip carries its notes inline and the track carries the
939
+ * instrument, so a clip moved to another midi track plays that track's voice.
940
+ */
941
+ export declare const addMidiClipParams: z.ZodObject<{
942
+ track: z.ZodString;
943
+ start_ms: z.ZodNumber;
944
+ duration_ms: z.ZodNumber;
945
+ name: z.ZodOptional<z.ZodString>;
946
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
947
+ id: z.ZodOptional<z.ZodString>;
948
+ pitch: z.ZodNumber;
949
+ velocity: z.ZodOptional<z.ZodNumber>;
950
+ start_tick: z.ZodNumber;
951
+ duration_tick: z.ZodNumber;
952
+ }, z.core.$strip>>>;
953
+ }, z.core.$strip>;
954
+ export type AddMidiClipParams = z.infer<typeof addMidiClipParams>;
955
+ /** `set_notes`. Replaces the whole list — send every note the clip should keep. */
956
+ export declare const setNotesParams: z.ZodObject<{
957
+ clip: z.ZodString;
958
+ notes: z.ZodArray<z.ZodObject<{
959
+ id: z.ZodOptional<z.ZodString>;
960
+ pitch: z.ZodNumber;
961
+ velocity: z.ZodOptional<z.ZodNumber>;
962
+ start_tick: z.ZodNumber;
963
+ duration_tick: z.ZodNumber;
964
+ }, z.core.$strip>>;
965
+ }, z.core.$strip>;
966
+ export type SetNotesParams = z.infer<typeof setNotesParams>;
967
+ /** `set_tempo`. One constant tempo for the document. */
968
+ export declare const setTempoParams: z.ZodObject<{
969
+ bpm: z.ZodNumber;
970
+ offset_ms: z.ZodOptional<z.ZodNumber>;
971
+ beats_per_bar: z.ZodOptional<z.ZodNumber>;
972
+ beat_unit: z.ZodOptional<z.ZodNumber>;
973
+ }, z.core.$strip>;
974
+ export type SetTempoParams = z.infer<typeof setTempoParams>;
975
+ export declare const SET_TEMPO_DESCRIPTION: string;
976
+ /** A voice named instead of spelled out. The id is one of the engine's
977
+ * `MIDI_INSTRUMENT_PRESETS`; the handler resolves it to the full instrument
978
+ * and stores that, so the track keeps its sound if the table changes. */
979
+ export declare const midiInstrumentPresetRef: z.ZodObject<{
980
+ preset: z.ZodString;
981
+ }, z.core.$strip>;
982
+ export type MidiInstrumentPresetRef = z.infer<typeof midiInstrumentPresetRef>;
983
+ /** `set_track_instrument`. The track owns the voice every clip on it plays. */
984
+ export declare const setTrackInstrumentParams: z.ZodObject<{
985
+ track: z.ZodString;
986
+ instrument: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
987
+ type: z.ZodLiteral<"sampler">;
988
+ zones: z.ZodArray<z.ZodObject<{
989
+ id: z.ZodString;
990
+ name: z.ZodString;
991
+ assetId: z.ZodString;
992
+ rootNote: z.ZodNumber;
993
+ lowNote: z.ZodNumber;
994
+ highNote: z.ZodNumber;
995
+ gainDb: z.ZodNumber;
996
+ }, z.core.$strip>>;
997
+ oneShot: z.ZodBoolean;
998
+ attackMs: z.ZodNumber;
999
+ releaseMs: z.ZodNumber;
1000
+ gainDb: z.ZodNumber;
1001
+ }, z.core.$strip>, z.ZodObject<{
1002
+ type: z.ZodLiteral<"subtractive">;
1003
+ waveform: z.ZodEnum<{
1004
+ saw: "saw";
1005
+ sine: "sine";
1006
+ square: "square";
1007
+ triangle: "triangle";
1008
+ }>;
1009
+ attackMs: z.ZodNumber;
1010
+ decayMs: z.ZodNumber;
1011
+ sustain: z.ZodNumber;
1012
+ releaseMs: z.ZodNumber;
1013
+ cutoffHz: z.ZodNumber;
1014
+ resonance: z.ZodNumber;
1015
+ gainDb: z.ZodNumber;
1016
+ }, z.core.$strip>, z.ZodObject<{
1017
+ type: z.ZodLiteral<"wavetable">;
1018
+ oscA: z.ZodObject<{
1019
+ table: z.ZodEnum<{
1020
+ bloom: "bloom";
1021
+ chime: "chime";
1022
+ glitch: "glitch";
1023
+ prime: "prime";
1024
+ pulse: "pulse";
1025
+ vox: "vox";
1026
+ }>;
1027
+ position: z.ZodNumber;
1028
+ semitones: z.ZodNumber;
1029
+ fine: z.ZodNumber;
1030
+ level: z.ZodNumber;
1031
+ unison: z.ZodNumber;
1032
+ detune: z.ZodNumber;
1033
+ }, z.core.$strip>;
1034
+ oscB: z.ZodObject<{
1035
+ table: z.ZodEnum<{
1036
+ bloom: "bloom";
1037
+ chime: "chime";
1038
+ glitch: "glitch";
1039
+ prime: "prime";
1040
+ pulse: "pulse";
1041
+ vox: "vox";
1042
+ }>;
1043
+ position: z.ZodNumber;
1044
+ semitones: z.ZodNumber;
1045
+ fine: z.ZodNumber;
1046
+ level: z.ZodNumber;
1047
+ unison: z.ZodNumber;
1048
+ detune: z.ZodNumber;
1049
+ }, z.core.$strip>;
1050
+ subLevel: z.ZodNumber;
1051
+ subOctave: z.ZodNumber;
1052
+ noiseLevel: z.ZodNumber;
1053
+ filterType: z.ZodEnum<{
1054
+ bp12: "bp12";
1055
+ hp12: "hp12";
1056
+ lp12: "lp12";
1057
+ lp24: "lp24";
1058
+ notch: "notch";
1059
+ }>;
1060
+ cutoffHz: z.ZodNumber;
1061
+ resonance: z.ZodNumber;
1062
+ drive: z.ZodNumber;
1063
+ filterEnvAmount: z.ZodNumber;
1064
+ keyTrack: z.ZodNumber;
1065
+ ampEnv: z.ZodObject<{
1066
+ attackMs: z.ZodNumber;
1067
+ decayMs: z.ZodNumber;
1068
+ sustain: z.ZodNumber;
1069
+ releaseMs: z.ZodNumber;
1070
+ }, z.core.$strip>;
1071
+ modEnv: z.ZodObject<{
1072
+ attackMs: z.ZodNumber;
1073
+ decayMs: z.ZodNumber;
1074
+ sustain: z.ZodNumber;
1075
+ releaseMs: z.ZodNumber;
1076
+ }, z.core.$strip>;
1077
+ gainDb: z.ZodNumber;
1078
+ }, z.core.$strip>, z.ZodObject<{
1079
+ type: z.ZodLiteral<"bass">;
1080
+ table: z.ZodEnum<{
1081
+ bloom: "bloom";
1082
+ chime: "chime";
1083
+ glitch: "glitch";
1084
+ prime: "prime";
1085
+ pulse: "pulse";
1086
+ vox: "vox";
1087
+ }>;
1088
+ position: z.ZodNumber;
1089
+ semitones: z.ZodNumber;
1090
+ subShape: z.ZodEnum<{
1091
+ sine: "sine";
1092
+ square: "square";
1093
+ }>;
1094
+ subOctave: z.ZodNumber;
1095
+ subLevel: z.ZodNumber;
1096
+ filterType: z.ZodEnum<{
1097
+ bp12: "bp12";
1098
+ hp12: "hp12";
1099
+ lp12: "lp12";
1100
+ lp24: "lp24";
1101
+ notch: "notch";
1102
+ }>;
1103
+ cutoffHz: z.ZodNumber;
1104
+ resonance: z.ZodNumber;
1105
+ drive: z.ZodNumber;
1106
+ filterEnvAmount: z.ZodNumber;
1107
+ keyTrack: z.ZodNumber;
1108
+ filterAttackMs: z.ZodNumber;
1109
+ filterDecayMs: z.ZodNumber;
1110
+ ampEnv: z.ZodObject<{
1111
+ attackMs: z.ZodNumber;
1112
+ decayMs: z.ZodNumber;
1113
+ sustain: z.ZodNumber;
1114
+ releaseMs: z.ZodNumber;
1115
+ }, z.core.$strip>;
1116
+ accentAmount: z.ZodNumber;
1117
+ accentVelocity: z.ZodNumber;
1118
+ slideMs: z.ZodNumber;
1119
+ gainDb: z.ZodNumber;
1120
+ }, z.core.$strip>, z.ZodObject<{
1121
+ type: z.ZodLiteral<"drum">;
1122
+ baseNote: z.ZodNumber;
1123
+ pads: z.ZodArray<z.ZodObject<{
1124
+ name: z.ZodString;
1125
+ table: z.ZodUnion<readonly [z.ZodEnum<{
1126
+ bloom: "bloom";
1127
+ chime: "chime";
1128
+ glitch: "glitch";
1129
+ prime: "prime";
1130
+ pulse: "pulse";
1131
+ vox: "vox";
1132
+ }>, z.ZodEnum<{
1133
+ crack: "crack";
1134
+ grit: "grit";
1135
+ thud: "thud";
1136
+ tine: "tine";
1137
+ }>]>;
1138
+ position: z.ZodNumber;
1139
+ semitones: z.ZodNumber;
1140
+ pitchEnvAmount: z.ZodNumber;
1141
+ pitchEnvDecayMs: z.ZodNumber;
1142
+ noiseLevel: z.ZodNumber;
1143
+ noiseColor: z.ZodNumber;
1144
+ ringHz: z.ZodNumber;
1145
+ ringMix: z.ZodNumber;
1146
+ attackMs: z.ZodNumber;
1147
+ holdMs: z.ZodNumber;
1148
+ decayMs: z.ZodNumber;
1149
+ curve: z.ZodNumber;
1150
+ filter: z.ZodNullable<z.ZodObject<{
1151
+ type: z.ZodEnum<{
1152
+ bp12: "bp12";
1153
+ hp12: "hp12";
1154
+ lp12: "lp12";
1155
+ lp24: "lp24";
1156
+ notch: "notch";
1157
+ }>;
1158
+ cutoffHz: z.ZodNumber;
1159
+ resonance: z.ZodNumber;
1160
+ }, z.core.$strip>>;
1161
+ level: z.ZodNumber;
1162
+ velocityToLevel: z.ZodNumber;
1163
+ }, z.core.$strip>>;
1164
+ gainDb: z.ZodNumber;
1165
+ }, z.core.$strip>], "type">, z.ZodObject<{
1166
+ preset: z.ZodString;
1167
+ }, z.core.$strip>, z.ZodObject<{
1168
+ type: z.ZodLiteral<"sampler">;
1169
+ oneShot: z.ZodBoolean;
1170
+ attackMs: z.ZodNumber;
1171
+ releaseMs: z.ZodNumber;
1172
+ gainDb: z.ZodNumber;
1173
+ zones: z.ZodArray<z.ZodObject<{
1174
+ id: z.ZodString;
1175
+ name: z.ZodString;
1176
+ rootNote: z.ZodNumber;
1177
+ lowNote: z.ZodNumber;
1178
+ highNote: z.ZodNumber;
1179
+ gainDb: z.ZodNumber;
1180
+ assetId: z.ZodString;
1181
+ }, z.core.$strip>>;
1182
+ }, z.core.$strip>]>;
1183
+ }, z.core.$strip>;
1184
+ export type SetTrackInstrumentParams = z.infer<typeof setTrackInstrumentParams>;
1185
+ export declare const SET_TRACK_INSTRUMENT_DESCRIPTION: string;
1186
+ /**
1187
+ * The quantize grids, duplicated from `QUANTIZE_DIVISIONS` in
1188
+ * `@nodetool-ai/timeline`: that package depends on this one, so the list
1189
+ * cannot be imported here. `packages/timeline/tests/midi.protocolCompat.test.ts`
1190
+ * pins the two equal.
1191
+ */
1192
+ export declare const QUANTIZE_DIVISION_VALUES: readonly ["1/4", "1/8", "1/16", "1/32", "1/8T", "1/16T"];
1193
+ /** `transpose_clip`. Moves every note in the clip, ids kept. */
1194
+ export declare const transposeClipParams: z.ZodObject<{
1195
+ clip: z.ZodString;
1196
+ semitones: z.ZodNumber;
1197
+ }, z.core.$strip>;
1198
+ export type TransposeClipParams = z.infer<typeof transposeClipParams>;
1199
+ export declare const TRANSPOSE_CLIP_DESCRIPTION: string;
1200
+ /** `quantize_notes`. Snaps onsets, and optionally lengths, to a note grid. */
1201
+ export declare const quantizeNotesParams: z.ZodObject<{
1202
+ clip: z.ZodString;
1203
+ division: z.ZodEnum<{
1204
+ "1/16": "1/16";
1205
+ "1/16T": "1/16T";
1206
+ "1/32": "1/32";
1207
+ "1/4": "1/4";
1208
+ "1/8": "1/8";
1209
+ "1/8T": "1/8T";
1210
+ }>;
1211
+ strength: z.ZodOptional<z.ZodNumber>;
1212
+ target: z.ZodOptional<z.ZodEnum<{
1213
+ start: "start";
1214
+ start_and_length: "start_and_length";
1215
+ }>>;
1216
+ }, z.core.$strip>;
1217
+ export type QuantizeNotesParams = z.infer<typeof quantizeNotesParams>;
1218
+ export declare const QUANTIZE_NOTES_DESCRIPTION: string;
1219
+ /** `scale_velocity`. Multiplies how hard every note is struck. */
1220
+ export declare const scaleVelocityParams: z.ZodObject<{
1221
+ clip: z.ZodString;
1222
+ factor: z.ZodNumber;
1223
+ }, z.core.$strip>;
1224
+ export type ScaleVelocityParams = z.infer<typeof scaleVelocityParams>;
1225
+ export declare const SCALE_VELOCITY_DESCRIPTION: string;
1226
+ export declare const retargetFormatParams: z.ZodObject<{
1227
+ aspect_ratio: z.ZodString;
1228
+ strategy: z.ZodEnum<{
1229
+ center: "center";
1230
+ smart: "smart";
1231
+ track: "track";
1232
+ }>;
1233
+ safe_margin: z.ZodOptional<z.ZodNumber>;
1234
+ track_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1235
+ }, z.core.$strict>;
1236
+ export type RetargetFormatParams = z.infer<typeof retargetFormatParams>;
1237
+ export declare const setReframeSubjectParams: z.ZodObject<{
1238
+ clip_id: z.ZodString;
1239
+ track_id: z.ZodString;
1240
+ safe_margin: z.ZodOptional<z.ZodNumber>;
1241
+ smoothing: z.ZodOptional<z.ZodNumber>;
1242
+ }, z.core.$strict>;
1243
+ export type SetReframeSubjectParams = z.infer<typeof setReframeSubjectParams>;
1244
+ export declare const addReframeKeyframeParams: z.ZodObject<{
1245
+ clip_id: z.ZodString;
1246
+ source_ms: z.ZodNumber;
1247
+ x: z.ZodNumber;
1248
+ y: z.ZodNumber;
1249
+ zoom: z.ZodOptional<z.ZodNumber>;
1250
+ }, z.core.$strict>;
1251
+ export type AddReframeKeyframeParams = z.infer<typeof addReframeKeyframeParams>;
1252
+ export declare const clearReframeParams: z.ZodObject<{
1253
+ clip_id: z.ZodString;
1254
+ }, z.core.$strict>;
1255
+ export type ClearReframeParams = z.infer<typeof clearReframeParams>;
1256
+ /**
1257
+ * Every `ui_timeline_*` tool both the headless bridge and the browser registry
1258
+ * must expose. A tool one surface has and the other lacks is the drift I11
1259
+ * forbids and no shared field list can catch on its own, so each side asserts
1260
+ * this list against what it registered
1261
+ * (`packages/agents/tests/timelines-op-input.test.ts`,
1262
+ * `web/src/lib/tools/__tests__/timelineTools.test.ts`).
1263
+ *
1264
+ * The tools only one host can implement are named in
1265
+ * `BROWSER_ONLY_TIMELINE_TOOL_NAMES` / `HEADLESS_ONLY_TIMELINE_TOOL_NAMES`
1266
+ * (`timeline-tool-contracts.ts`), and this list must match the contract record
1267
+ * there key for key — `packages/protocol/tests/ui-tool-contracts.test.ts`.
1268
+ */
1269
+ export declare const SHARED_TIMELINE_TOOL_NAMES: readonly ["ui_timeline_get_state", "ui_timeline_get_clip_frames", "ui_timeline_add_track", "ui_timeline_move_track", "ui_timeline_delete_track", "ui_timeline_add_media_clip", "ui_timeline_add_text_clip", "ui_timeline_add_shape_clip", "ui_timeline_add_model3d_clip", "ui_timeline_set_model3d_style", "ui_timeline_bake_model3d_clip", "ui_timeline_add_group", "ui_timeline_generate_clip", "ui_timeline_generatively_edit_clip", "ui_timeline_apply_take", "ui_timeline_split_clip", "ui_timeline_trim_clip", "ui_timeline_move_clip", "ui_timeline_delete_clip", "ui_timeline_duplicate_clip", "ui_timeline_set_clip_params", "ui_timeline_set_parent", "ui_timeline_set_transition", "ui_timeline_set_mask", "ui_timeline_set_matte", "ui_timeline_set_time_remap", "ui_timeline_set_effects", "ui_timeline_set_clip_binding", "ui_timeline_animate_clip", "ui_timeline_stagger_animations", "ui_timeline_clear_animations", "ui_timeline_list_animation_presets", "ui_timeline_select_clip", "ui_timeline_seek", "ui_timeline_add_marker", "ui_timeline_delete_marker", "ui_timeline_set_markers_from_beats", "ui_timeline_snap_to_beats", "ui_timeline_add_midi_clip", "ui_timeline_set_notes", "ui_timeline_set_tempo", "ui_timeline_set_track_instrument", "ui_timeline_transpose_clip", "ui_timeline_quantize_notes", "ui_timeline_scale_velocity", "ui_timeline_set_setup", "ui_timeline_plan_beats", "ui_timeline_update_beat", "ui_timeline_remove_beat", "ui_timeline_generate_from_beats", "ui_timeline_retarget_format", "ui_timeline_set_reframe_subject", "ui_timeline_add_reframe_keyframe", "ui_timeline_clear_reframe"];
1270
+ //# sourceMappingURL=timeline-tool-params.d.ts.map