@clipwright/core 0.60.0 → 0.62.0

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 (596) hide show
  1. package/dist/account-actors.d.ts +0 -43
  2. package/dist/account-actors.js +0 -55
  3. package/dist/account.d.ts +0 -6
  4. package/dist/account.js +0 -18
  5. package/dist/actor-bounds.d.ts +0 -5
  6. package/dist/actor-bounds.js +0 -6
  7. package/dist/actor-qualities.d.ts +0 -3
  8. package/dist/actor-qualities.js +0 -4
  9. package/dist/actors.d.ts +0 -16
  10. package/dist/actors.js +0 -21
  11. package/dist/ad-guide.d.ts +27 -0
  12. package/dist/ad-guide.js +7 -2
  13. package/dist/ad-ids.d.ts +3 -0
  14. package/dist/ad-ids.js +4 -0
  15. package/dist/ad-pause-trim.d.ts +0 -5
  16. package/dist/ad-pause-trim.js +0 -8
  17. package/dist/ads.d.ts +145 -0
  18. package/dist/ads.js +56 -0
  19. package/dist/api-failure.d.ts +6 -44
  20. package/dist/api-failure.js +16 -67
  21. package/dist/aspect.d.ts +0 -29
  22. package/dist/aspect.js +1 -34
  23. package/dist/asset-identity.d.ts +0 -2
  24. package/dist/asset-identity.js +0 -3
  25. package/dist/assets.d.ts +0 -34
  26. package/dist/assets.js +0 -42
  27. package/dist/billing-terms.d.ts +0 -3
  28. package/dist/billing-terms.js +0 -4
  29. package/dist/brand-styles.d.ts +0 -6
  30. package/dist/brand-styles.js +0 -13
  31. package/dist/broll-policy.js +0 -1
  32. package/dist/canvas-fit.d.ts +0 -2
  33. package/dist/canvas-fit.js +0 -4
  34. package/dist/caption-funnel.d.ts +0 -2
  35. package/dist/caption-funnel.js +0 -15
  36. package/dist/caption-geometry.d.ts +0 -6
  37. package/dist/caption-geometry.js +0 -10
  38. package/dist/caption-language.d.ts +0 -3
  39. package/dist/caption-language.js +0 -6
  40. package/dist/contract-dispositions.d.ts +0 -61
  41. package/dist/contract-dispositions.js +3 -96
  42. package/dist/contracts/v1/workflow-brief.d.ts +57 -3
  43. package/dist/contracts/v1/workflow-brief.js +0 -13
  44. package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
  45. package/dist/contracts/v1/workflow-catalog.js +0 -3
  46. package/dist/contracts/v1/workflow-client.d.ts +114 -0
  47. package/dist/contracts/v1/workflow-client.js +0 -1
  48. package/dist/contracts/v1/workflow-dto.js +0 -1
  49. package/dist/contracts/v1/workflow-evidence.js +0 -1
  50. package/dist/contracts/v1/workflow-execution.d.ts +0 -1
  51. package/dist/contracts/v1/workflow-execution.js +0 -4
  52. package/dist/contracts/v1/workflow-next.d.ts +0 -2
  53. package/dist/contracts/v1/workflow-next.js +0 -3
  54. package/dist/contracts/v1/workflow-plan.d.ts +171 -0
  55. package/dist/contracts/v1/workflow-plan.js +0 -1
  56. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  57. package/dist/contracts/v1/workflow-primitives.js +0 -2
  58. package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
  59. package/dist/contracts/v1/workflow-run-read.js +0 -3
  60. package/dist/creator-profile.d.ts +0 -30
  61. package/dist/creator-profile.js +0 -45
  62. package/dist/default-actor.js +0 -2
  63. package/dist/design.d.ts +0 -17
  64. package/dist/design.js +0 -18
  65. package/dist/diy-next.d.ts +18 -0
  66. package/dist/diy-next.js +13 -0
  67. package/dist/edit-billing.d.ts +0 -6
  68. package/dist/edit-billing.js +0 -10
  69. package/dist/edit-candidate.d.ts +0 -6
  70. package/dist/edit-candidate.js +0 -9
  71. package/dist/edit-document.d.ts +0 -12
  72. package/dist/edit-document.js +0 -15
  73. package/dist/edit-faceless.d.ts +0 -3
  74. package/dist/edit-faceless.js +0 -4
  75. package/dist/edit-long-form.d.ts +0 -13
  76. package/dist/edit-long-form.js +0 -17
  77. package/dist/edit-music.d.ts +397 -0
  78. package/dist/edit-music.js +77 -0
  79. package/dist/edit-operations.d.ts +0 -1
  80. package/dist/edit-operations.js +0 -2
  81. package/dist/edit-primitives.d.ts +0 -3
  82. package/dist/edit-primitives.js +0 -5
  83. package/dist/edit-revision.d.ts +0 -4
  84. package/dist/edit-revision.js +0 -6
  85. package/dist/edit-rules.d.ts +0 -3
  86. package/dist/edit-rules.js +0 -9
  87. package/dist/edit-shots.d.ts +45 -5
  88. package/dist/edit-shots.js +7 -11
  89. package/dist/edit-validate.d.ts +0 -10
  90. package/dist/edit-validate.js +0 -14
  91. package/dist/edit.js +0 -3
  92. package/dist/endpoint-notes.d.ts +0 -2
  93. package/dist/endpoint-notes.js +0 -3
  94. package/dist/endpoints.d.ts +0 -11
  95. package/dist/endpoints.js +11 -21
  96. package/dist/errors.d.ts +29 -43
  97. package/dist/errors.js +18 -54
  98. package/dist/explainer-fit.d.ts +0 -7
  99. package/dist/explainer-fit.js +0 -10
  100. package/dist/face-billing.d.ts +0 -9
  101. package/dist/face-billing.js +0 -23
  102. package/dist/face-delivery.d.ts +0 -1
  103. package/dist/face-delivery.js +0 -2
  104. package/dist/faceless-action-shots.d.ts +0 -8
  105. package/dist/faceless-action-shots.js +0 -8
  106. package/dist/faceless-customer-anchors.d.ts +0 -1
  107. package/dist/faceless-customer-anchors.js +0 -2
  108. package/dist/faceless-cut-style.js +0 -1
  109. package/dist/faceless-direction-summary.d.ts +0 -2
  110. package/dist/faceless-direction-summary.js +0 -3
  111. package/dist/faceless-image-placement.d.ts +0 -2
  112. package/dist/faceless-image-placement.js +0 -3
  113. package/dist/faceless-image-qualification.js +0 -2
  114. package/dist/faceless-media-record.d.ts +0 -6
  115. package/dist/faceless-media-record.js +0 -11
  116. package/dist/faceless-price.d.ts +0 -45
  117. package/dist/faceless-price.js +0 -64
  118. package/dist/faceless-public-plan.d.ts +0 -13
  119. package/dist/faceless-public-plan.js +0 -11
  120. package/dist/faceless-public.d.ts +0 -26
  121. package/dist/faceless-public.js +0 -59
  122. package/dist/faceless-short-61.js +0 -1
  123. package/dist/faceless-storyboard-timing.js +0 -1
  124. package/dist/faceless-storyboard-v2-plan.js +0 -1
  125. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  126. package/dist/faceless-storyboard-v2-timing.js +0 -3
  127. package/dist/faceless-storyboard-v2.js +0 -1
  128. package/dist/faceless-storyboard.js +0 -1
  129. package/dist/faceless-voices.d.ts +0 -16
  130. package/dist/faceless-voices.js +0 -18
  131. package/dist/feedback.d.ts +0 -4
  132. package/dist/feedback.js +0 -5
  133. package/dist/film-directions.d.ts +0 -2
  134. package/dist/film-directions.js +0 -7
  135. package/dist/film-drafts.d.ts +0 -8
  136. package/dist/film-drafts.js +0 -19
  137. package/dist/film-guide.d.ts +0 -3
  138. package/dist/film-guide.js +0 -6
  139. package/dist/film-styles.d.ts +0 -5
  140. package/dist/film-styles.js +0 -8
  141. package/dist/generation-shot.d.ts +0 -5
  142. package/dist/generation-shot.js +0 -8
  143. package/dist/generations-output.d.ts +0 -2
  144. package/dist/generations-output.js +0 -5
  145. package/dist/generations.d.ts +0 -22
  146. package/dist/generations.js +21 -44
  147. package/dist/idempotency.d.ts +1 -21
  148. package/dist/idempotency.js +8 -29
  149. package/dist/index.d.ts +4 -0
  150. package/dist/index.js +4 -28
  151. package/dist/live-shot-kinds.d.ts +16 -25
  152. package/dist/live-shot-kinds.js +12 -28
  153. package/dist/long-form-pricing.d.ts +0 -5
  154. package/dist/long-form-pricing.js +0 -6
  155. package/dist/long-form-profile.d.ts +0 -3
  156. package/dist/long-form-profile.js +0 -4
  157. package/dist/long-form-revision.d.ts +0 -9
  158. package/dist/long-form-revision.js +0 -11
  159. package/dist/markdown-quote.d.ts +0 -2
  160. package/dist/markdown-quote.js +0 -3
  161. package/dist/mascots.d.ts +0 -5
  162. package/dist/mascots.js +0 -10
  163. package/dist/max-credits.d.ts +0 -1
  164. package/dist/max-credits.js +0 -2
  165. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  166. package/dist/mcp-ugc-descriptions.js +1 -6
  167. package/dist/media-timebase.d.ts +0 -2
  168. package/dist/media-timebase.js +0 -6
  169. package/dist/motion-styles.d.ts +0 -8
  170. package/dist/motion-styles.js +0 -11
  171. package/dist/moves.d.ts +0 -7
  172. package/dist/moves.js +0 -9
  173. package/dist/music.d.ts +0 -5
  174. package/dist/music.js +0 -8
  175. package/dist/naming.d.ts +0 -3
  176. package/dist/naming.js +0 -19
  177. package/dist/openapi.d.ts +0 -13
  178. package/dist/openapi.js +9 -11
  179. package/dist/output-provenance.d.ts +0 -4
  180. package/dist/output-provenance.js +0 -5
  181. package/dist/own-agent-price.d.ts +21 -22
  182. package/dist/own-agent-price.js +34 -25
  183. package/dist/own-agent-runs.d.ts +351 -11
  184. package/dist/own-agent-runs.js +144 -24
  185. package/dist/pacing.d.ts +3 -15
  186. package/dist/pacing.js +18 -18
  187. package/dist/parts-pricing.d.ts +0 -28
  188. package/dist/parts-pricing.js +0 -32
  189. package/dist/post-text.d.ts +0 -2
  190. package/dist/post-text.js +0 -4
  191. package/dist/presenter-beats.d.ts +0 -10
  192. package/dist/presenter-beats.js +0 -14
  193. package/dist/presenter-matte.d.ts +0 -7
  194. package/dist/presenter-matte.js +0 -9
  195. package/dist/presenter-takes.d.ts +0 -3
  196. package/dist/presenter-takes.js +0 -8
  197. package/dist/prices.d.ts +2 -8
  198. package/dist/prices.js +13 -23
  199. package/dist/public-endpoints.d.ts +0 -11
  200. package/dist/public-endpoints.js +0 -14
  201. package/dist/public-responses.d.ts +0 -2
  202. package/dist/public-responses.js +0 -3
  203. package/dist/rate-limit.d.ts +0 -24
  204. package/dist/rate-limit.js +0 -29
  205. package/dist/reference-analysis.d.ts +57 -34
  206. package/dist/reference-analysis.js +0 -69
  207. package/dist/reference-bring.d.ts +33 -0
  208. package/dist/reference-bring.js +28 -0
  209. package/dist/reference-display.d.ts +0 -3
  210. package/dist/reference-display.js +37 -4
  211. package/dist/reference-kinds.d.ts +0 -4
  212. package/dist/reference-kinds.js +0 -6
  213. package/dist/reference-lyrics.d.ts +0 -6
  214. package/dist/reference-lyrics.js +0 -6
  215. package/dist/reference-profile.d.ts +270 -39
  216. package/dist/reference-profile.js +64 -50
  217. package/dist/reference-staging.d.ts +0 -10
  218. package/dist/reference-staging.js +0 -14
  219. package/dist/reference-text-spans.d.ts +0 -4
  220. package/dist/reference-text-spans.js +0 -7
  221. package/dist/reference-voice-over.d.ts +0 -6
  222. package/dist/reference-voice-over.js +0 -7
  223. package/dist/reference-voice.d.ts +0 -7
  224. package/dist/reference-voice.js +0 -12
  225. package/dist/render-backend.d.ts +0 -30
  226. package/dist/render-backend.js +0 -5
  227. package/dist/resolved-timeline.d.ts +0 -4
  228. package/dist/resolved-timeline.js +1 -31
  229. package/dist/run-media.d.ts +0 -1
  230. package/dist/run-media.js +0 -2
  231. package/dist/run-preflight.d.ts +0 -4
  232. package/dist/run-preflight.js +0 -11
  233. package/dist/run-static-warnings.d.ts +0 -8
  234. package/dist/run-static-warnings.js +0 -38
  235. package/dist/runs.d.ts +0 -32
  236. package/dist/runs.js +0 -50
  237. package/dist/scene-bible.d.ts +15 -7
  238. package/dist/scene-bible.js +15 -10
  239. package/dist/scene-graph.d.ts +0 -12
  240. package/dist/scene-graph.js +0 -24
  241. package/dist/scene-place.d.ts +0 -25
  242. package/dist/scene-place.js +0 -24
  243. package/dist/scene-proposal.d.ts +0 -3
  244. package/dist/scene-proposal.js +0 -9
  245. package/dist/script-integrity.d.ts +0 -6
  246. package/dist/script-integrity.js +0 -8
  247. package/dist/script-voice.d.ts +0 -7
  248. package/dist/script-voice.js +0 -16
  249. package/dist/semantic-inserts.d.ts +0 -7
  250. package/dist/semantic-inserts.js +0 -10
  251. package/dist/skill-theme-explainer.js +0 -5
  252. package/dist/skill-theme.d.ts +0 -13
  253. package/dist/skill-theme.js +0 -25
  254. package/dist/skills.d.ts +22 -86
  255. package/dist/skills.js +21 -167
  256. package/dist/speech-rhythm-contract.js +0 -1
  257. package/dist/speech-rhythm.d.ts +0 -4
  258. package/dist/speech-rhythm.js +0 -2
  259. package/dist/templates/backdrop.d.ts +0 -3
  260. package/dist/templates/backdrop.js +0 -5
  261. package/dist/templates/callout.d.ts +0 -4
  262. package/dist/templates/callout.js +0 -6
  263. package/dist/templates/chart.d.ts +0 -4
  264. package/dist/templates/chart.js +0 -6
  265. package/dist/templates/chat-window.d.ts +0 -8
  266. package/dist/templates/chat-window.js +0 -10
  267. package/dist/templates/checklist.d.ts +0 -3
  268. package/dist/templates/checklist.js +0 -6
  269. package/dist/templates/comment-cta.d.ts +0 -14
  270. package/dist/templates/comment-cta.js +0 -19
  271. package/dist/templates/compare.d.ts +0 -6
  272. package/dist/templates/compare.js +0 -7
  273. package/dist/templates/cover-story.d.ts +0 -1
  274. package/dist/templates/cover-story.js +0 -3
  275. package/dist/templates/end-card.d.ts +0 -2
  276. package/dist/templates/end-card.js +0 -3
  277. package/dist/templates/hand-title.d.ts +0 -5
  278. package/dist/templates/hand-title.js +0 -9
  279. package/dist/templates/index.d.ts +0 -57
  280. package/dist/templates/index.js +0 -60
  281. package/dist/templates/lower-third.d.ts +0 -4
  282. package/dist/templates/lower-third.js +0 -5
  283. package/dist/templates/notification.d.ts +0 -6
  284. package/dist/templates/notification.js +0 -7
  285. package/dist/templates/phone-call.d.ts +0 -2
  286. package/dist/templates/phone-call.js +0 -6
  287. package/dist/templates/phone-screen.d.ts +0 -5
  288. package/dist/templates/phone-screen.js +0 -7
  289. package/dist/templates/pointer-chips.d.ts +0 -4
  290. package/dist/templates/pointer-chips.js +0 -6
  291. package/dist/templates/progress.d.ts +0 -3
  292. package/dist/templates/progress.js +0 -5
  293. package/dist/templates/quote.d.ts +0 -3
  294. package/dist/templates/quote.js +0 -4
  295. package/dist/templates/race.d.ts +0 -5
  296. package/dist/templates/race.js +0 -7
  297. package/dist/templates/rating.d.ts +0 -3
  298. package/dist/templates/rating.js +0 -5
  299. package/dist/templates/series-frame.d.ts +0 -16
  300. package/dist/templates/series-frame.js +0 -19
  301. package/dist/templates/size.d.ts +0 -7
  302. package/dist/templates/size.js +0 -8
  303. package/dist/templates/slot.d.ts +0 -2
  304. package/dist/templates/slot.js +0 -2
  305. package/dist/templates/sounds.d.ts +24 -12
  306. package/dist/templates/sounds.js +2 -16
  307. package/dist/templates/stat.d.ts +0 -3
  308. package/dist/templates/stat.js +0 -5
  309. package/dist/templates/tag.d.ts +0 -3
  310. package/dist/templates/tag.js +0 -5
  311. package/dist/templates/terminal.d.ts +0 -6
  312. package/dist/templates/terminal.js +0 -8
  313. package/dist/templates/theme.d.ts +0 -7
  314. package/dist/templates/theme.js +0 -9
  315. package/dist/templates/title-card.d.ts +0 -3
  316. package/dist/templates/title-card.js +0 -5
  317. package/dist/templates/video-grid.d.ts +0 -5
  318. package/dist/templates/video-grid.js +0 -8
  319. package/dist/templates/word-fill.d.ts +0 -3
  320. package/dist/templates/word-fill.js +0 -4
  321. package/dist/templates/word-title.d.ts +0 -2
  322. package/dist/templates/word-title.js +0 -4
  323. package/dist/trend-niches.d.ts +0 -11
  324. package/dist/trend-niches.js +0 -16
  325. package/dist/trend-search.d.ts +0 -66
  326. package/dist/trend-search.js +0 -70
  327. package/dist/tts-backend.d.ts +0 -19
  328. package/dist/tts-backend.js +0 -7
  329. package/dist/ugc-call.d.ts +0 -16
  330. package/dist/ugc-call.js +0 -21
  331. package/dist/ugc-delivery.d.ts +0 -2
  332. package/dist/ugc-delivery.js +0 -4
  333. package/dist/ugc-framing.d.ts +0 -4
  334. package/dist/ugc-framing.js +0 -6
  335. package/dist/ugc-interview.d.ts +0 -18
  336. package/dist/ugc-interview.js +0 -24
  337. package/dist/ugc-layers.d.ts +0 -39
  338. package/dist/ugc-layers.js +0 -39
  339. package/dist/ugc-scenes.d.ts +0 -2
  340. package/dist/ugc-scenes.js +0 -5
  341. package/dist/ugc-video-media.d.ts +0 -5
  342. package/dist/ugc-video-media.js +0 -7
  343. package/dist/uploads.d.ts +0 -14
  344. package/dist/uploads.js +0 -17
  345. package/dist/vendor-response.d.ts +0 -19
  346. package/dist/vendor-response.js +0 -22
  347. package/dist/video-size.d.ts +0 -4
  348. package/dist/video-size.js +0 -7
  349. package/dist/voice-admission.d.ts +0 -11
  350. package/dist/voice-admission.js +0 -13
  351. package/dist/voice-catalog-data.d.ts +0 -2
  352. package/dist/voice-catalog-data.js +0 -3
  353. package/dist/voice-catalog.d.ts +0 -6
  354. package/dist/voice-catalog.js +0 -8
  355. package/dist/voice-listing.d.ts +0 -6
  356. package/dist/voice-listing.js +0 -14
  357. package/dist/voice-pace.d.ts +0 -4
  358. package/dist/voice-pace.js +0 -7
  359. package/dist/voice-preview-approval.js +0 -1
  360. package/dist/voices.d.ts +4 -69
  361. package/dist/voices.js +3 -88
  362. package/dist/workflows/catalog.d.ts +0 -2
  363. package/dist/workflows/catalog.js +0 -4
  364. package/dist/workflows/film-directions.d.ts +0 -3
  365. package/dist/workflows/film-directions.js +0 -4
  366. package/dist/workflows/index.js +0 -1
  367. package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
  368. package/dist/workflows/methods/faceless-explainer.js +0 -1
  369. package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
  370. package/dist/workflows/methods/kinetic-launch.js +0 -2
  371. package/dist/workflows/methods/product-image-story.d.ts +31 -0
  372. package/dist/workflows/methods/product-image-story.js +0 -1
  373. package/dist/workflows/methods/reference-remake.d.ts +31 -0
  374. package/dist/workflows/methods/reference-remake.js +0 -1
  375. package/dist/workflows/methods/shared.d.ts +31 -1
  376. package/dist/workflows/methods/shared.js +0 -3
  377. package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
  378. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  379. package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
  380. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  381. package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
  382. package/dist/workflows/methods/website-proof-demo.js +0 -2
  383. package/dist/workflows/motion-director.d.ts +0 -11
  384. package/dist/workflows/motion-director.js +0 -11
  385. package/dist/workflows/product-references.js +0 -1
  386. package/dist/workflows/reference-remake.d.ts +114 -17
  387. package/dist/workflows/reference-remake.js +0 -167
  388. package/dist/workflows/remake-chooser.d.ts +0 -6
  389. package/dist/workflows/remake-chooser.js +0 -4
  390. package/dist/workflows/remake-motion.d.ts +0 -16
  391. package/dist/workflows/remake-motion.js +0 -19
  392. package/dist/workflows/validate.d.ts +0 -1
  393. package/dist/workflows/validate.js +0 -5
  394. package/dist/workflows.js +0 -1
  395. package/package.json +1 -1
  396. package/dist/account-actors.js.map +0 -1
  397. package/dist/account.js.map +0 -1
  398. package/dist/actor-bounds.js.map +0 -1
  399. package/dist/actor-qualities.js.map +0 -1
  400. package/dist/actors.js.map +0 -1
  401. package/dist/ad-guide.js.map +0 -1
  402. package/dist/ad-pause-trim.js.map +0 -1
  403. package/dist/api-failure.js.map +0 -1
  404. package/dist/aspect.js.map +0 -1
  405. package/dist/asset-identity.js.map +0 -1
  406. package/dist/assets.js.map +0 -1
  407. package/dist/billing-terms.js.map +0 -1
  408. package/dist/brand-styles.js.map +0 -1
  409. package/dist/broll-policy.js.map +0 -1
  410. package/dist/canvas-fit.js.map +0 -1
  411. package/dist/caption-funnel.js.map +0 -1
  412. package/dist/caption-geometry.js.map +0 -1
  413. package/dist/caption-language.js.map +0 -1
  414. package/dist/contract-dispositions.js.map +0 -1
  415. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  416. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  417. package/dist/contracts/v1/workflow-client.js.map +0 -1
  418. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  419. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  420. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  421. package/dist/contracts/v1/workflow-next.js.map +0 -1
  422. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  423. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  424. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  425. package/dist/creator-profile.js.map +0 -1
  426. package/dist/default-actor.js.map +0 -1
  427. package/dist/design.js.map +0 -1
  428. package/dist/edit-billing.js.map +0 -1
  429. package/dist/edit-candidate.js.map +0 -1
  430. package/dist/edit-document.js.map +0 -1
  431. package/dist/edit-faceless.js.map +0 -1
  432. package/dist/edit-long-form.js.map +0 -1
  433. package/dist/edit-operations.js.map +0 -1
  434. package/dist/edit-primitives.js.map +0 -1
  435. package/dist/edit-revision.js.map +0 -1
  436. package/dist/edit-rules.js.map +0 -1
  437. package/dist/edit-shots.js.map +0 -1
  438. package/dist/edit-validate.js.map +0 -1
  439. package/dist/edit.js.map +0 -1
  440. package/dist/endpoint-notes.js.map +0 -1
  441. package/dist/endpoints.js.map +0 -1
  442. package/dist/errors.js.map +0 -1
  443. package/dist/explainer-fit.js.map +0 -1
  444. package/dist/face-billing.js.map +0 -1
  445. package/dist/face-delivery.js.map +0 -1
  446. package/dist/faceless-action-shots.js.map +0 -1
  447. package/dist/faceless-customer-anchors.js.map +0 -1
  448. package/dist/faceless-cut-style.js.map +0 -1
  449. package/dist/faceless-direction-summary.js.map +0 -1
  450. package/dist/faceless-image-placement.js.map +0 -1
  451. package/dist/faceless-image-qualification.js.map +0 -1
  452. package/dist/faceless-media-record.js.map +0 -1
  453. package/dist/faceless-price.js.map +0 -1
  454. package/dist/faceless-public-plan.js.map +0 -1
  455. package/dist/faceless-public.js.map +0 -1
  456. package/dist/faceless-short-61.js.map +0 -1
  457. package/dist/faceless-storyboard-timing.js.map +0 -1
  458. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  459. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  460. package/dist/faceless-storyboard-v2.js.map +0 -1
  461. package/dist/faceless-storyboard.js.map +0 -1
  462. package/dist/faceless-voices.js.map +0 -1
  463. package/dist/feedback.js.map +0 -1
  464. package/dist/film-directions.js.map +0 -1
  465. package/dist/film-drafts.js.map +0 -1
  466. package/dist/film-guide.js.map +0 -1
  467. package/dist/film-styles.js.map +0 -1
  468. package/dist/generation-shot.js.map +0 -1
  469. package/dist/generations-output.js.map +0 -1
  470. package/dist/generations.js.map +0 -1
  471. package/dist/idempotency.js.map +0 -1
  472. package/dist/index.js.map +0 -1
  473. package/dist/live-shot-kinds.js.map +0 -1
  474. package/dist/long-form-pricing.js.map +0 -1
  475. package/dist/long-form-profile.js.map +0 -1
  476. package/dist/long-form-revision.js.map +0 -1
  477. package/dist/markdown-quote.js.map +0 -1
  478. package/dist/mascots.js.map +0 -1
  479. package/dist/max-credits.js.map +0 -1
  480. package/dist/mcp-ugc-descriptions.js.map +0 -1
  481. package/dist/media-timebase.js.map +0 -1
  482. package/dist/motion-styles.js.map +0 -1
  483. package/dist/moves.js.map +0 -1
  484. package/dist/music.js.map +0 -1
  485. package/dist/naming.js.map +0 -1
  486. package/dist/openapi.js.map +0 -1
  487. package/dist/output-provenance.js.map +0 -1
  488. package/dist/own-agent-price.js.map +0 -1
  489. package/dist/own-agent-runs.js.map +0 -1
  490. package/dist/pacing.js.map +0 -1
  491. package/dist/parts-pricing.js.map +0 -1
  492. package/dist/post-text.js.map +0 -1
  493. package/dist/presenter-beats.js.map +0 -1
  494. package/dist/presenter-matte.js.map +0 -1
  495. package/dist/presenter-takes.js.map +0 -1
  496. package/dist/prices.js.map +0 -1
  497. package/dist/public-endpoints.js.map +0 -1
  498. package/dist/public-responses.js.map +0 -1
  499. package/dist/rate-limit.js.map +0 -1
  500. package/dist/reference-analysis.js.map +0 -1
  501. package/dist/reference-display.js.map +0 -1
  502. package/dist/reference-kinds.js.map +0 -1
  503. package/dist/reference-lyrics.js.map +0 -1
  504. package/dist/reference-profile.js.map +0 -1
  505. package/dist/reference-staging.js.map +0 -1
  506. package/dist/reference-text-spans.js.map +0 -1
  507. package/dist/reference-voice-over.js.map +0 -1
  508. package/dist/reference-voice.js.map +0 -1
  509. package/dist/render-backend.js.map +0 -1
  510. package/dist/resolved-timeline.js.map +0 -1
  511. package/dist/run-media.js.map +0 -1
  512. package/dist/run-preflight.js.map +0 -1
  513. package/dist/run-static-warnings.js.map +0 -1
  514. package/dist/runs.js.map +0 -1
  515. package/dist/scene-bible.js.map +0 -1
  516. package/dist/scene-graph.js.map +0 -1
  517. package/dist/scene-place.js.map +0 -1
  518. package/dist/scene-proposal.js.map +0 -1
  519. package/dist/script-integrity.js.map +0 -1
  520. package/dist/script-voice.js.map +0 -1
  521. package/dist/semantic-inserts.js.map +0 -1
  522. package/dist/skill-theme-explainer.js.map +0 -1
  523. package/dist/skill-theme.js.map +0 -1
  524. package/dist/skills.js.map +0 -1
  525. package/dist/speech-rhythm-contract.js.map +0 -1
  526. package/dist/speech-rhythm.js.map +0 -1
  527. package/dist/templates/backdrop.js.map +0 -1
  528. package/dist/templates/callout.js.map +0 -1
  529. package/dist/templates/chart.js.map +0 -1
  530. package/dist/templates/chat-window.js.map +0 -1
  531. package/dist/templates/checklist.js.map +0 -1
  532. package/dist/templates/comment-cta.js.map +0 -1
  533. package/dist/templates/compare.js.map +0 -1
  534. package/dist/templates/cover-story.js.map +0 -1
  535. package/dist/templates/end-card.js.map +0 -1
  536. package/dist/templates/hand-title.js.map +0 -1
  537. package/dist/templates/index.js.map +0 -1
  538. package/dist/templates/lower-third.js.map +0 -1
  539. package/dist/templates/notification.js.map +0 -1
  540. package/dist/templates/phone-call.js.map +0 -1
  541. package/dist/templates/phone-screen.js.map +0 -1
  542. package/dist/templates/pointer-chips.js.map +0 -1
  543. package/dist/templates/progress.js.map +0 -1
  544. package/dist/templates/quote.js.map +0 -1
  545. package/dist/templates/race.js.map +0 -1
  546. package/dist/templates/rating.js.map +0 -1
  547. package/dist/templates/series-frame.js.map +0 -1
  548. package/dist/templates/size.js.map +0 -1
  549. package/dist/templates/slot.js.map +0 -1
  550. package/dist/templates/sounds.js.map +0 -1
  551. package/dist/templates/stat.js.map +0 -1
  552. package/dist/templates/tag.js.map +0 -1
  553. package/dist/templates/terminal.js.map +0 -1
  554. package/dist/templates/theme.js.map +0 -1
  555. package/dist/templates/title-card.js.map +0 -1
  556. package/dist/templates/video-grid.js.map +0 -1
  557. package/dist/templates/word-fill.js.map +0 -1
  558. package/dist/templates/word-title.js.map +0 -1
  559. package/dist/trend-niches.js.map +0 -1
  560. package/dist/trend-search.js.map +0 -1
  561. package/dist/tts-backend.js.map +0 -1
  562. package/dist/ugc-call.js.map +0 -1
  563. package/dist/ugc-delivery.js.map +0 -1
  564. package/dist/ugc-framing.js.map +0 -1
  565. package/dist/ugc-interview.js.map +0 -1
  566. package/dist/ugc-layers.js.map +0 -1
  567. package/dist/ugc-scenes.js.map +0 -1
  568. package/dist/ugc-video-media.js.map +0 -1
  569. package/dist/uploads.js.map +0 -1
  570. package/dist/vendor-response.js.map +0 -1
  571. package/dist/video-size.js.map +0 -1
  572. package/dist/voice-admission.js.map +0 -1
  573. package/dist/voice-catalog-data.js.map +0 -1
  574. package/dist/voice-catalog.js.map +0 -1
  575. package/dist/voice-listing.js.map +0 -1
  576. package/dist/voice-pace.js.map +0 -1
  577. package/dist/voice-preview-approval.js.map +0 -1
  578. package/dist/voices.js.map +0 -1
  579. package/dist/workflows/catalog.js.map +0 -1
  580. package/dist/workflows/film-directions.js.map +0 -1
  581. package/dist/workflows/index.js.map +0 -1
  582. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  583. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  584. package/dist/workflows/methods/product-image-story.js.map +0 -1
  585. package/dist/workflows/methods/reference-remake.js.map +0 -1
  586. package/dist/workflows/methods/shared.js.map +0 -1
  587. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  588. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  589. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  590. package/dist/workflows/motion-director.js.map +0 -1
  591. package/dist/workflows/product-references.js.map +0 -1
  592. package/dist/workflows/reference-remake.js.map +0 -1
  593. package/dist/workflows/remake-chooser.js.map +0 -1
  594. package/dist/workflows/remake-motion.js.map +0 -1
  595. package/dist/workflows/validate.js.map +0 -1
  596. package/dist/workflows.js.map +0 -1
@@ -6,9 +6,6 @@ import { normalizeVoiceLabel } from "./voice-catalog.js";
6
6
  import { VOICE_CATALOG } from "./voice-catalog-data.js";
7
7
  import { vendorVerifiedModels } from "./voice-listing.js";
8
8
  import { isModelVoiceName, isVoicePresetName, MODEL_VOICES, resolveTtsModel, voicePresetOf, withPublishedPresetsOnly, } from "./voices.js";
9
- // A subpath, not the barrel: the catalog weighs hundreds of kilobytes and SDK clients do not need it.
10
- /** Why the API refuses a voice name; `undefined` for a preset, a model's own voice or a live catalog voice. */
11
- /** A server's own preset is admitted only with `serviceVoices`; otherwise it reads as an unknown name. */
12
9
  export function catalogVoiceRefusal(voice, voices = VOICE_CATALOG.voices, options = {}) {
13
10
  if (isVoicePresetName(voice) || isModelVoiceName(voice))
14
11
  return undefined;
@@ -29,8 +26,6 @@ export function catalogVoiceRefusal(voice, voices = VOICE_CATALOG.voices, option
29
26
  return undefined;
30
27
  }
31
28
  export const serverUgcInput = serverUgcInputWith((voice) => catalogVoiceRefusal(voice));
32
- /** `schema` parsed in one view of the presets: `published` hides every server preset from every check of the parse, */
33
- /** `all` shows them. Both views share one type, so a server can pick the view per request. */
34
29
  export function inPresetView(schema, view) {
35
30
  return z.unknown().transform((raw, context) => {
36
31
  const parsed = view === "published" ? withPublishedPresetsOnly(() => schema.safeParse(raw)) : schema.safeParse(raw);
@@ -41,8 +36,6 @@ export function inPresetView(schema, view) {
41
36
  return z.NEVER;
42
37
  });
43
38
  }
44
- /** Why `make_faceless` refuses a voice name; `undefined` for one of its own voices. */
45
- /** A retired catalog slug still reads as a `make_ugc` voice: the name was never a faceless one. */
46
39
  export function facelessVoiceRefusal(voice, voices = VOICE_CATALOG.voices) {
47
40
  if (isFacelessVoiceName(voice))
48
41
  return undefined;
@@ -52,10 +45,7 @@ export function facelessVoiceRefusal(voice, voices = VOICE_CATALOG.voices) {
52
45
  }
53
46
  return `unknown voice "${voice}": call list_voices with skill=make_faceless for the voice names make_faceless accepts`;
54
47
  }
55
- /** API input of `make_faceless`: the client schema checks the form of `voice`, the server its name. */
56
48
  export const serverFacelessInput = makeFacelessInput.refine((input) => input.voice === undefined || facelessVoiceRefusal(input.voice) === undefined, { path: ["voice"], error: (issue) => facelessVoiceRefusal(issue.input.voice) });
57
- /** Voice gender by name: our fact for a preset, the vendor label for a catalog voice. */
58
- /** A raw `voice_id` has no gender, so `undefined`, not a guess. */
59
49
  export function voiceGenderOf(voice, voices = VOICE_CATALOG.voices) {
60
50
  const preset = voicePresetOf(voice);
61
51
  if (preset !== undefined)
@@ -68,8 +58,6 @@ export function voiceGenderOf(voice, voices = VOICE_CATALOG.voices) {
68
58
  const label = normalizeVoiceLabel(entry?.gender_raw);
69
59
  return label === "female" || label === "male" ? label : undefined;
70
60
  }
71
- /** Warns only where MISSING verification means something: for `eleven_v3` no voice */
72
- /** has it at all. */
73
61
  export function buildVoiceVerificationWarnings(input, gender, voices = VOICE_CATALOG.voices) {
74
62
  const slug = input.voice;
75
63
  if (slug === undefined || voicePresetOf(slug) !== undefined)
@@ -88,4 +76,3 @@ export function buildVoiceVerificationWarnings(input, gender, voices = VOICE_CAT
88
76
  `${verified === "" ? "" : ` (it verified ${verified})`}; the run will still use ${model} as asked`,
89
77
  ];
90
78
  }
91
- //# sourceMappingURL=voice-admission.js.map
@@ -1,5 +1,3 @@
1
- /** The generated files, parsed by their schemas. Not in the barrel: SDK clients do not need */
2
- /** the catalog. */
3
1
  export declare const VOICE_CATALOG: {
4
2
  shortfall: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "fi" | "fil" | "fr" | "hi" | "hr" | "hu" | "id" | "it" | "ja" | "ko" | "ms" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sv" | "ta" | "tr" | "uk" | "vi" | "zh", {
5
3
  female?: number | undefined;
@@ -1,8 +1,5 @@
1
1
  import catalogJson from "./voice-catalog.generated.json" with { type: "json" };
2
2
  import modelsJson from "./tts-model-languages.generated.json" with { type: "json" };
3
3
  import { ttsModelLanguagesFile, voiceCatalogFile } from "./voice-catalog.js";
4
- /** The generated files, parsed by their schemas. Not in the barrel: SDK clients do not need */
5
- /** the catalog. */
6
4
  export const VOICE_CATALOG = voiceCatalogFile.parse(catalogJson);
7
5
  export const TTS_MODEL_LANGUAGES = ttsModelLanguagesFile.parse(modelsJson);
8
- //# sourceMappingURL=voice-catalog-data.js.map
@@ -1,11 +1,9 @@
1
1
  import { z } from "zod";
2
- /** Voice catalog languages: the ONLY list; everything else is derived from it. */
3
2
  export declare const CATALOG_LANGUAGES: readonly ["bg", "cs", "da", "de", "el", "en", "es", "fi", "fil", "fr", "hi", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sv", "ta", "tr", "uk", "vi", "zh"];
4
3
  export type CatalogLanguage = (typeof CATALOG_LANGUAGES)[number];
5
4
  export declare const CATALOG_GENDERS: readonly ["female", "male"];
6
5
  export type CatalogGender = (typeof CATALOG_GENDERS)[number];
7
6
  export declare const CATALOG_VOICES_PER_GENDER = 5;
8
- /** An entry of the generated file; not to be confused with `voiceCatalogEntry`, the `/v1/voices` response. */
9
7
  export declare const catalogFileVoice: z.ZodObject<{
10
8
  slug: z.ZodString;
11
9
  language: z.ZodEnum<{
@@ -178,11 +176,8 @@ export declare const ttsModelLanguagesFile: z.ZodObject<{
178
176
  }, z.core.$strict>>;
179
177
  }, z.core.$strict>;
180
178
  export type TtsModelLanguagesFile = z.infer<typeof ttsModelLanguagesFile>;
181
- /** The skills that take a `voice`; each listed voice is spoken by exactly one of them. */
182
179
  export declare const VOICE_SKILLS: readonly ["make_ugc", "make_faceless"];
183
180
  export type VoiceSkill = (typeof VOICE_SKILLS)[number];
184
- /** `/v1/voices` filters: request parsing, the MCP `inputSchema` and SDK parameters. `age` and */
185
- /** `use_case` labels come from catalog data, so the server knows their allowed set. */
186
181
  export declare const voicesQueryShape: {
187
182
  language: z.ZodOptional<z.ZodEnum<{
188
183
  bg: "bg";
@@ -289,5 +284,4 @@ export declare const voicesQuery: z.ZodObject<{
289
284
  }, z.core.$strip>;
290
285
  export type VoicesQuery = z.infer<typeof voicesQuery>;
291
286
  export declare const VOICES_QUERY_FIELDS: (keyof VoicesQuery)[];
292
- /** Label normalization on read: `middle-aged` → `middle_aged`, empty → no label. */
293
287
  export declare function normalizeVoiceLabel(raw: string | null | undefined): string | undefined;
@@ -1,15 +1,12 @@
1
1
  import { z } from "zod";
2
2
  import { ELEVENLABS_TTS_MODELS, TTS_MODELS, VOICE_NAME_PATTERN } from "./voices.js";
3
- /** Voice catalog languages: the ONLY list; everything else is derived from it. */
4
3
  export const CATALOG_LANGUAGES = [
5
4
  "bg", "cs", "da", "de", "el", "en", "es", "fi", "fil", "fr", "hi", "hr", "hu", "id", "it", "ja",
6
5
  "ko", "ms", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sv", "ta", "tr", "uk", "vi", "zh",
7
6
  ];
8
7
  export const CATALOG_GENDERS = ["female", "male"];
9
8
  export const CATALOG_VOICES_PER_GENDER = 5;
10
- /** The vendor label as is: `null` and `""` stay distinct until read. */
11
9
  const rawLabel = z.string().nullable();
12
- /** An entry of the generated file; not to be confused with `voiceCatalogEntry`, the `/v1/voices` response. */
13
10
  export const catalogFileVoice = z.strictObject({
14
11
  slug: z.string().regex(VOICE_NAME_PATTERN),
15
12
  language: z.enum(CATALOG_LANGUAGES),
@@ -41,10 +38,7 @@ export const voiceCatalogFile = z.strictObject({
41
38
  export const ttsModelLanguagesFile = z.strictObject({
42
39
  models: z.array(z.strictObject({ id: z.enum(ELEVENLABS_TTS_MODELS), languages: z.array(z.string().min(1)) })),
43
40
  });
44
- /** The skills that take a `voice`; each listed voice is spoken by exactly one of them. */
45
41
  export const VOICE_SKILLS = ["make_ugc", "make_faceless"];
46
- /** `/v1/voices` filters: request parsing, the MCP `inputSchema` and SDK parameters. `age` and */
47
- /** `use_case` labels come from catalog data, so the server knows their allowed set. */
48
42
  export const voicesQueryShape = {
49
43
  language: z
50
44
  .enum(CATALOG_LANGUAGES)
@@ -76,9 +70,7 @@ export const voicesQueryShape = {
76
70
  };
77
71
  export const voicesQuery = z.object(voicesQueryShape);
78
72
  export const VOICES_QUERY_FIELDS = Object.keys(voicesQueryShape);
79
- /** Label normalization on read: `middle-aged` → `middle_aged`, empty → no label. */
80
73
  export function normalizeVoiceLabel(raw) {
81
74
  const value = raw?.trim().toLowerCase().replaceAll("-", "_");
82
75
  return value === undefined || value === "" ? undefined : value;
83
76
  }
84
- //# sourceMappingURL=voice-catalog.js.map
@@ -2,12 +2,8 @@ import { z } from "zod";
2
2
  import { type CatalogFileVoice, type TtsModelLanguagesFile, type VoiceCatalogFile, type VoicesQuery } from "./voice-catalog.js";
3
3
  import { TTS_MODELS, type VoiceCatalogEntry, type VoicePreset } from "./voices.js";
4
4
  export { TTS_MODEL_LANGUAGES, VOICE_CATALOG } from "./voice-catalog-data.js";
5
- /** Languages of a model outside the generated snapshot: the ones we measured, not the vendor's list. */
6
5
  export declare const MEASURED_MODEL_LANGUAGES: Readonly<Record<string, readonly string[]>>;
7
- /** Models for which the vendor verifies ANY library voice at all. Derived from the */
8
- /** catalog, not listed. */
9
6
  export declare function vendorVerifiedModels(voices?: readonly CatalogFileVoice[]): readonly (typeof TTS_MODELS)[number][];
10
- /** The server's `/v1/voices` query: an unfamiliar label is refused with the allowed list, not an empty result. */
11
7
  export declare function serverVoicesQueryFor(voices?: readonly CatalogFileVoice[]): z.ZodObject<{
12
8
  language: z.ZodOptional<z.ZodEnum<{
13
9
  bg: "bg";
@@ -120,8 +116,6 @@ export declare const serverVoicesQuery: z.ZodObject<{
120
116
  [x: string]: string;
121
117
  }>>;
122
118
  }, z.core.$strip>;
123
- /** The voices of one skill (`make_ugc` by default): presets, then `servicePresets` the server names for this caller, then a model's */
124
- /** own and live catalog voices by language and rank. A missing field matches nothing, except `language`, which falls back to its model's. */
125
119
  export declare function listVoices(query: VoicesQuery, catalog?: VoiceCatalogFile, modelLanguages?: TtsModelLanguagesFile, servicePresets?: Readonly<Record<string, VoicePreset>>): {
126
120
  voices: VoiceCatalogEntry[];
127
121
  models: {
@@ -4,15 +4,11 @@ import { TTS_MODEL_LANGUAGES, VOICE_CATALOG } from "./voice-catalog-data.js";
4
4
  import { FACELESS_SPEECH_MODEL, FACELESS_VOICE_NAMES, FACELESS_VOICES } from "./faceless-voices.js";
5
5
  import { measuredPaceOf, VOICE_PACE } from "./voice-pace.js";
6
6
  import { ELEVENLABS_TTS_MODELS, GOOGLE_TTS_MODEL, MODEL_VOICE_NAMES, MODEL_VOICES, resolveTtsModel, TTS_MODEL_CHAR_CAP, TTS_MODELS, VOICE_PRESETS, } from "./voices.js";
7
- // A subpath, not the barrel: the list reads the catalog, which SDK clients do not need.
8
7
  export { TTS_MODEL_LANGUAGES, VOICE_CATALOG } from "./voice-catalog-data.js";
9
8
  const isLive = (voice) => voice.retired_at === undefined;
10
- /** Languages of a model outside the generated snapshot: the ones we measured, not the vendor's list. */
11
9
  export const MEASURED_MODEL_LANGUAGES = {
12
10
  [GOOGLE_TTS_MODEL]: ["en", "ru"],
13
11
  };
14
- /** Models for which the vendor verifies ANY library voice at all. Derived from the */
15
- /** catalog, not listed. */
16
12
  export function vendorVerifiedModels(voices = VOICE_CATALOG.voices) {
17
13
  return TTS_MODELS.filter((model) => voices.some((voice) => isLive(voice) && voice.verified_models.includes(model)));
18
14
  }
@@ -20,7 +16,6 @@ function labelValues(voices, raw) {
20
16
  const values = voices.filter(isLive).map((voice) => normalizeVoiceLabel(raw(voice)));
21
17
  return [...new Set(values.filter((value) => value !== undefined))].sort();
22
18
  }
23
- /** The server's `/v1/voices` query: an unfamiliar label is refused with the allowed list, not an empty result. */
24
19
  export function serverVoicesQueryFor(voices = VOICE_CATALOG.voices) {
25
20
  return z.object({
26
21
  ...voicesQueryShape,
@@ -30,11 +25,8 @@ export function serverVoicesQueryFor(voices = VOICE_CATALOG.voices) {
30
25
  }
31
26
  export const serverVoicesQuery = serverVoicesQueryFor();
32
27
  const presentText = (raw) => raw?.trim() || undefined;
33
- /** The voices of one skill (`make_ugc` by default): presets, then `servicePresets` the server names for this caller, then a model's */
34
- /** own and live catalog voices by language and rank. A missing field matches nothing, except `language`, which falls back to its model's. */
35
28
  export function listVoices(query, catalog = VOICE_CATALOG, modelLanguages = TTS_MODEL_LANGUAGES, servicePresets = {}) {
36
29
  const languagesOf = (id) => modelLanguages.models.find((model) => model.id === id)?.languages ?? [...(MEASURED_MODEL_LANGUAGES[id] ?? [])];
37
- // Presets and catalog voices are ElevenLabs voices: a model of another vendor never supports them.
38
30
  const supportedModels = (language) => ELEVENLABS_TTS_MODELS.filter((id) => languagesOf(id).includes(language));
39
31
  const presets = [...Object.entries(VOICE_PRESETS), ...Object.entries(servicePresets)].map(([name, preset]) => ({
40
32
  name,
@@ -43,12 +35,10 @@ export function listVoices(query, catalog = VOICE_CATALOG, modelLanguages = TTS_
43
35
  ...preset,
44
36
  supported_models: supportedModels(preset.language),
45
37
  }));
46
- // No `language`: the vendor reads it off the text. The model is the one a run with this voice speaks.
47
38
  const modelVoices = MODEL_VOICE_NAMES.map((name) => {
48
39
  const model = resolveTtsModel({ voice: name, script: "" });
49
40
  return { name, kind: "model_voice", skill: "make_ugc", ...MODEL_VOICES[name], model, supported_models: [model] };
50
41
  });
51
- // The narration voices of `make_faceless`: one model of their own, which no `tts_model` names.
52
42
  const facelessVoices = FACELESS_VOICE_NAMES.map((name) => ({
53
43
  name,
54
44
  kind: "faceless_voice",
@@ -72,12 +62,10 @@ export function listVoices(query, catalog = VOICE_CATALOG, modelLanguages = TTS_
72
62
  age: normalizeVoiceLabel(voice.age_raw),
73
63
  use_case: normalizeVoiceLabel(voice.use_case_raw),
74
64
  description: presentText(voice.description) ?? voice.name,
75
- // The script is empty on purpose: a catalog voice's model never reads it.
76
65
  model: resolveTtsModel({ voice: voice.slug, script: "" }),
77
66
  supported_models: supportedModels(voice.language),
78
67
  verified_models: voice.verified_models,
79
68
  }));
80
- // Without `skill` the list is the one `make_ugc` clients have always read.
81
69
  const filters = { ...query, skill: query.skill ?? "make_ugc" };
82
70
  const matches = (entry) => VOICES_QUERY_FIELDS.every((field) => {
83
71
  const wanted = filters[field];
@@ -89,7 +77,6 @@ export function listVoices(query, catalog = VOICE_CATALOG, modelLanguages = TTS_
89
77
  return languagesOf(entry.model).includes(wanted);
90
78
  return entry[field] === wanted;
91
79
  });
92
- // A pace holds for the model it was measured on (#890).
93
80
  const withPace = (entry) => {
94
81
  const measured = entry.model === VOICE_PACE.model ? measuredPaceOf(entry.name) : undefined;
95
82
  return measured ? { ...entry, words_per_second: measured.words_per_second } : entry;
@@ -104,4 +91,3 @@ export function listVoices(query, catalog = VOICE_CATALOG, modelLanguages = TTS_
104
91
  })),
105
92
  };
106
93
  }
107
- //# sourceMappingURL=voice-listing.js.map
@@ -24,11 +24,7 @@ export declare const VOICE_PACE: {
24
24
  };
25
25
  export type MeasuredVoicePace = (typeof VOICE_PACE.voices)[number];
26
26
  export declare const VOICE_PACE_RANGE: string;
27
- /** A named voice within this share of the reference pace gets no note: two takes of one voice already differ by more. */
28
27
  export declare const PACE_MATCH_SHARE = 0.05;
29
- /** The voice's measured pace on English, or undefined when it was not measured. */
30
28
  export declare function measuredPaceOf(voice: string | undefined): MeasuredVoicePace | undefined;
31
- /** Paces hold for English only: ASCII Latin is not enough (unaccented Spanish passes it), so English function words must make up 15%. */
32
29
  export declare function isEnglishScript(script: string, asciiLatin: boolean): boolean;
33
- /** Measured voices nearest `target` words/s, of one gender when it is named, leaving out `except`. */
34
30
  export declare function voicesNearestPace(target: number, gender?: MeasuredVoicePace["gender"], limit?: number, except?: string): MeasuredVoicePace[];
@@ -1,7 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import paceJson from "./voice-pace.generated.json" with { type: "json" };
3
- // English make_ugc voices on eleven_v4, which has no speed (#890): words/s over sentence spans, as the reference presenter is measured.
4
- // Measured on live takes; two takes differ by up to 11%.
5
3
  export const voicePaceFile = z.strictObject({
6
4
  model: z.string().min(1),
7
5
  language: z.literal("en"),
@@ -12,23 +10,18 @@ export const VOICE_PACE = voicePaceFile.parse(paceJson);
12
10
  const paceByVoice = new Map(VOICE_PACE.voices.map(entry => [entry.voice, entry]));
13
11
  const paces = VOICE_PACE.voices.map(entry => entry.words_per_second);
14
12
  export const VOICE_PACE_RANGE = `${Math.min(...paces)}–${Math.max(...paces)}`;
15
- /** A named voice within this share of the reference pace gets no note: two takes of one voice already differ by more. */
16
13
  export const PACE_MATCH_SHARE = 0.05;
17
- /** The voice's measured pace on English, or undefined when it was not measured. */
18
14
  export function measuredPaceOf(voice) {
19
15
  return voice === undefined ? undefined : paceByVoice.get(voice);
20
16
  }
21
17
  const ENGLISH_FUNCTION_WORDS = new Set(("the a an and or but to of in on at for with from by is are was were be it this that these those i you he she we they " +
22
18
  "me my your his her our their not no do does did have has had will would can just so if as all what").split(" "));
23
- /** Paces hold for English only: ASCII Latin is not enough (unaccented Spanish passes it), so English function words must make up 15%. */
24
19
  export function isEnglishScript(script, asciiLatin) {
25
20
  const words = script.toLowerCase().match(/[a-z']+/g) ?? [];
26
21
  return asciiLatin && words.length > 0 && words.filter(word => ENGLISH_FUNCTION_WORDS.has(word)).length >= 0.15 * words.length;
27
22
  }
28
- /** Measured voices nearest `target` words/s, of one gender when it is named, leaving out `except`. */
29
23
  export function voicesNearestPace(target, gender, limit = 3, except) {
30
24
  return VOICE_PACE.voices.filter(entry => (gender === undefined || entry.gender === gender) && entry.voice !== except)
31
25
  .sort((a, b) => Math.abs(a.words_per_second - target) - Math.abs(b.words_per_second - target) || (a.voice < b.voice ? -1 : 1))
32
26
  .slice(0, limit);
33
27
  }
34
- //# sourceMappingURL=voice-pace.js.map
@@ -26,4 +26,3 @@ export const voicePreviewApprovalSchema = z.object({
26
26
  previewId: identifier,
27
27
  audioSha256: digest,
28
28
  }).strict().readonly();
29
- //# sourceMappingURL=voice-preview-approval.js.map
package/dist/voices.d.ts CHANGED
@@ -1,18 +1,11 @@
1
1
  import { z } from "zod";
2
2
  import type { Gender } from "./default-actor.js";
3
- /** Speech models the contract lets callers name. `multilingual_v2` was dropped: */
4
- /** it honored none of the stress-marking methods we measured. */
5
3
  export declare const TTS_MODELS: readonly ["eleven_v3", "eleven_flash_v2_5", "eleven_turbo_v2_5", "eleven_v4", "gemini-3.8-flash-tts"];
6
4
  export type TtsModelId = (typeof TTS_MODELS)[number];
7
- /** All ElevenLabs speech goes to v4 since 2026-10-25: it covers every v3 language at the same price. */
8
5
  export declare const DEFAULT_TTS_MODEL: TtsModelId;
9
- /** What Russian speech goes to when the client names no model; `resolveTtsModel` decides what is Russian. */
10
6
  export declare const RUSSIAN_TTS_MODEL = "eleven_v4";
11
- /** Models the contract still accepts but no longer speaks: a run naming one is served on its successor, named in warnings[]. */
12
7
  export declare const RETIRED_TTS_MODELS: Readonly<Partial<Record<TtsModelId, TtsModelId>>>;
13
- /** The model spoken by Google's adapter; contract texts name it through this constant. */
14
8
  export declare const GOOGLE_TTS_MODEL = "gemini-3.8-flash-tts";
15
- /** Whose adapter speaks each model. A model without a row does not compile. */
16
9
  export type SpeechBackendName = "elevenlabs" | "google";
17
10
  export declare const TTS_MODEL_BACKEND: {
18
11
  readonly eleven_v3: "elevenlabs";
@@ -21,63 +14,38 @@ export declare const TTS_MODEL_BACKEND: {
21
14
  readonly eleven_v4: "elevenlabs";
22
15
  readonly "gemini-3.8-flash-tts": "google";
23
16
  };
24
- /** The models of one vendor: its voices, its listing and its catalog files know only these. */
25
17
  export type ElevenLabsModelId = {
26
18
  [Model in TtsModelId]: (typeof TTS_MODEL_BACKEND)[Model] extends "elevenlabs" ? Model : never;
27
19
  }[TtsModelId];
28
20
  export declare const ELEVENLABS_TTS_MODELS: ElevenLabsModelId[];
29
- /** Whose adapter speaks a model named by a string; `undefined` for a model the contract does not have. */
30
21
  export declare function speechBackendOf(modelId: string): SpeechBackendName | undefined;
31
- /** v3: the vendor's cap. 2.5: the vendor allows 40,000; 10,000 is our run-length cap. */
32
- /** v4: the vendor declares 10,000; 5,000 is ours, above the longest measured call. */
33
22
  export declare const TTS_MODEL_CHAR_CAP: Readonly<Record<TtsModelId, number>>;
34
- /** What each model does with the text sent to it. The three sets below are read from this table. */
35
23
  interface SpeechTextTraits {
36
24
  readsStressMarks: boolean;
37
25
  pausesOnBreakTags: boolean;
38
26
  hasSpeedSetting: boolean;
39
27
  }
40
28
  export declare const TTS_MODEL_TEXT_TRAITS: Readonly<Record<TtsModelId, SpeechTextTraits>>;
41
- /** Models that read the U+0301 stress mark; flash misreads the same mark three times as often. */
42
29
  export declare const STRESS_MARK: string;
43
30
  export declare const STRESS_MARK_MODELS: ReadonlySet<TtsModelId>;
44
- /** Models that accept a speed setting and ignore it: a request to them carries none. */
45
31
  export declare const FIXED_PACE_MODELS: ReadonlySet<string>;
46
- /** Models that give no pause for a break tag: the tag is cut from the text sent to them. */
47
32
  export declare const NO_BREAK_TAG_MODELS: ReadonlySet<TtsModelId>;
48
- /** The one break form the pipeline knows; the cut here and the alignment parser share it. */
49
33
  export declare const BREAK_TAG_SOURCE: string;
50
- /** Turns an inner capital vowel into a stress mark. A word-initial capital stays a capital; */
51
- /** an existing mark is not doubled. */
52
34
  export declare function stressMarksFromCapitals(text: string): string;
53
- /** A break tag still in text bound for a model that gives no pause for it. */
54
35
  export declare function hasUncutBreakTag(text: string, modelId: string): boolean;
55
- /** The text sent to the vendor: stress marking only for a model that reads it, and a break */
56
- /** tag with the spaces around it becomes one space for a model that gives no pause for it. */
57
36
  export declare function speechTextFor(text: string, modelId: TtsModelId): string;
58
37
  export declare const MAX_SCRIPT_CHARS: number;
59
38
  export declare const SCRIPT_LIMITS_BY_MODEL: string;
60
39
  export declare const SCRIPT_LENGTH_DESCRIPTION: string;
61
40
  export declare const STRESS_MARKING_DESCRIPTION: string;
62
- /** Length is measured on the text sent to the vendor: stress marks in, cut break tags out. */
63
41
  export declare function ttsScriptLimitError(text: string, modelId: string): string | undefined;
64
- /** A spoken unit of nothing but break tags leaves a model that cuts them with no text to send. */
65
42
  export declare function cutToNothingError(text: string, modelId: TtsModelId): string | undefined;
66
- /** Voice preset catalog: OUR names and metadata, WITHOUT vendor ids. Names feed `tools/list` */
67
- /** and SDK types; ids stay on our service. */
68
43
  export interface VoicePreset {
69
- /** Voice language as a short BCP-47-like code (ru/en). */
70
44
  language: string;
71
- /** Voice gender. Omitted only when WE do not know it: vendor silence about our own */
72
- /** clone is not ignorance. */
73
45
  gender?: Gender;
74
- /** Human-readable description for list_voices. */
75
46
  description: string;
76
- /** The speech model the voice is tuned for; clients may override with `tts_model`. */
77
47
  model: TtsModelId;
78
48
  }
79
- /** The starter set of presets. Order matters only for presentation; the default is set */
80
- /** separately by `DEFAULT_VOICE_PRESET`. */
81
49
  export declare const VOICE_PRESETS: {
82
50
  readonly sarah: {
83
51
  readonly language: "en";
@@ -104,22 +72,13 @@ export declare const VOICE_PRESETS: {
104
72
  readonly model: "eleven_v4";
105
73
  };
106
74
  };
107
- /** Preset name tuple for `z.enum`, derived from `VOICE_PRESETS` keys so names and */
108
- /** metadata cannot drift. */
109
75
  export declare const VOICE_PRESET_NAMES: [keyof typeof VOICE_PRESETS, ...(keyof typeof VOICE_PRESETS)[]];
110
76
  export type VoicePresetName = keyof typeof VOICE_PRESETS;
111
- /** The shape of a voice name, not a list: the catalog grows on the server without client releases. */
112
77
  export declare const VOICE_NAME_PATTERN: RegExp;
113
78
  export declare function isVoicePresetName(name: string): name is VoicePresetName;
114
- /** Adds presets a server keeps to itself; a published name is refused, so a published preset cannot be replaced. */
115
79
  export declare function addServiceVoicePresets(presets: Readonly<Record<string, VoicePreset>>): void;
116
- /** A preset by name: a published one, then one a server added. Model, gender and warnings read presets through it. */
117
80
  export declare function voicePresetOf(name: string): VoicePreset | undefined;
118
- /** Runs `read` as a published client sees presets: no server preset exists during it, so no check can tell one */
119
- /** from an unknown name. Synchronous on purpose: nothing else runs while the view holds. */
120
81
  export declare function withPublishedPresetsOnly<T>(read: () => T): T;
121
- /** The `/v1/voices` response as a schema, not a guess on both sides: the server sends a */
122
- /** body parsed by it and the SDK parses with it. `Array.isArray` let any array through. */
123
82
  export declare const voiceCatalogEntry: z.ZodObject<{
124
83
  name: z.ZodString;
125
84
  kind: z.ZodOptional<z.ZodString>;
@@ -172,20 +131,15 @@ export declare const voicesResponse: z.ZodObject<{
172
131
  }, z.core.$strip>>>;
173
132
  }, z.core.$strip>;
174
133
  export type VoicesResponse = z.infer<typeof voicesResponse>;
175
- /** The voice when the actor's gender is unknown; the resolver fills it in, not the schema. */
176
134
  export declare const DEFAULT_VOICE_PRESET: "george";
177
- /** The default voice follows the actor's gender. */
178
135
  export declare const DEFAULT_VOICE_BY_GENDER: {
179
136
  readonly female: "sarah";
180
137
  readonly male: "george";
181
138
  };
182
- /** A voice a model owns. `gender` only where we know it: the vendor's page names none. */
183
139
  export interface ModelVoice {
184
- /** The vendor's own one-word descriptor, as its page prints it. */
185
140
  description: string;
186
141
  gender?: Gender;
187
142
  }
188
- /** The voices of `MODEL_VOICE_MODEL` by OUR names, in the vendor page's order. */
189
143
  export declare const MODEL_VOICES: {
190
144
  readonly zephyr: {
191
145
  readonly description: "Bright";
@@ -282,26 +236,22 @@ export declare const MODEL_VOICES: {
282
236
  };
283
237
  export type ModelVoiceName = keyof typeof MODEL_VOICES;
284
238
  export declare const MODEL_VOICE_NAMES: [ModelVoiceName, ...ModelVoiceName[]];
285
- /** The one model that speaks `MODEL_VOICES`: naming one of them selects it. */
286
239
  export declare const MODEL_VOICE_MODEL = "gemini-3.8-flash-tts";
287
240
  export declare function isModelVoiceName(name: string): name is ModelVoiceName;
288
- /** The default voice of a model that speaks only its own voices; an unknown gender speaks the male one. */
289
241
  export declare const MODEL_DEFAULT_VOICE_BY_GENDER: {
290
242
  readonly female: "kore";
291
243
  readonly male: "charon";
292
244
  };
293
- /** The model of `MODEL_VOICES` speaks only those: presets, catalog voices and raw ids do not carry over. */
294
245
  export declare function speaksOwnVoices(modelId: string | undefined): boolean;
295
- /** The voice a run speaks when it names none, with the gender that voice has. */
296
246
  export declare function defaultVoiceOf(modelId: string | undefined, gender: Gender | undefined): {
297
247
  name: string;
298
248
  gender: Gender;
299
249
  };
300
- /** Shape of a raw vendor `voice_id`, deliberately loose (16–32 alphanumerics): the format is */
301
- /** undocumented. A coarse input filter only; the run's free preflight checks existence. */
250
+ export declare function pacedVoiceOf(input: {
251
+ voice?: string | undefined;
252
+ voice_id?: string | undefined;
253
+ }, modelId: string | undefined, gender: Gender | undefined): string | undefined;
302
254
  export declare const VOICE_ID_PATTERN: RegExp;
303
- /** Resolved voice selection. `preset` carries OUR name, mapped to a vendor id by the adapter; */
304
- /** `raw` is already a vendor id. Core never knows vendor ids. */
305
255
  export type VoiceSelection = {
306
256
  kind: "preset";
307
257
  preset: string;
@@ -315,50 +265,35 @@ export type VoiceSelection = {
315
265
  kind: "model_voice";
316
266
  voice: ModelVoiceName;
317
267
  };
318
- /** Priority: raw `voice_id` > `voice` > voice by actor gender > `DEFAULT_VOICE_PRESET`. */
319
- /** Gender comes from `voiceGenderFor` (actors.ts); `tts_model` is the run's model, which owns the default voice. */
320
268
  export declare function resolveVoiceSelection(input: {
321
269
  voice?: string | undefined;
322
270
  voice_id?: string | undefined;
323
271
  tts_model?: string | undefined;
324
272
  }, gender?: Gender | undefined): VoiceSelection;
325
- /** Model: explicit `tts_model` (a retired one → its successor) → a raw `voice_id` by the script family → the model */
326
- /** of a model's own voice → the preset's model → a catalog voice by its slug language. `script` is the run's whole text. */
327
273
  export declare function resolveTtsModel(input: {
328
274
  voice?: string | undefined;
329
275
  voice_id?: string | undefined;
330
276
  tts_model?: TtsModelId | undefined;
331
277
  script: string;
332
278
  }, gender?: Gender | undefined): TtsModelId;
333
- /** The model a run admitted before 2026-10-25 spoke: the same order, but a named model as is and eleven_v3 for */
334
- /** everything not Russian. Stored runs without `resolved_tts_model` are described by it, never by today's default. */
335
279
  export declare function ttsModelBeforeV4Default(input: {
336
280
  voice?: string | undefined;
337
281
  voice_id?: string | undefined;
338
282
  tts_model?: TtsModelId | undefined;
339
283
  script: string;
340
284
  }, gender?: Gender | undefined): TtsModelId;
341
- /** Script family for the language warning: counts only Cyrillic vs Latin letters. Fewer than */
342
- /** 2 letters or no side reaching this 60% dominance gives "neutral". */
343
285
  export declare const SCRIPT_DOMINANCE_THRESHOLD = 0.6;
344
- /** Letters of each script separately. `detectScriptFamily` sums them; apart they tell */
345
- /** "few" from "none at all". */
346
286
  export declare function scriptLetterCounts(script: string): {
347
287
  cyrillic: number;
348
288
  latin: number;
349
289
  };
350
290
  export declare function detectScriptFamily(script: string): "cyrillic" | "latin" | "neutral";
351
- /** QUOTE path only: a raw voice id is checked at run start, not at quote time. */
352
291
  export declare const RAW_VOICE_ID_VALIDATION_WARNING = "raw voice_id is verified against your account at run start, not at quote time";
353
- /** Voice warnings fire only when (i) the client chose explicitly, (ii) the claim rests on data */
354
- /** present, (iii) never on the default happy path. A voice is never substituted, only failed. */
355
292
  export declare function buildVoiceWarnings(input: {
356
293
  voice?: string | undefined;
357
294
  voice_id?: string | undefined;
358
295
  script: string;
359
296
  }): string[];
360
- /** A retired model named by the client, and a model that ignores stress marks or break tags on text that */
361
- /** carries them. Silent on a model that reads both. `model` is the one spoken: a stored run passes its own. */
362
297
  export declare function buildSpeechModelWarnings(input: {
363
298
  voice?: string | undefined;
364
299
  voice_id?: string | undefined;