hyperframes 0.9.19 → 0.9.21

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 (263) hide show
  1. package/dist/{add-YT7BMWZB.js → add-VQVP3JPZ.js} +14 -15
  2. package/dist/{agentPromptGenerator-VKOL4XCD.js → agentPromptGenerator-PAFWQGHU.js} +10 -11
  3. package/dist/{animatedGifPrep-MD4BNSPH.js → animatedGifPrep-AK26JDVM.js} +10 -11
  4. package/dist/api.js +36 -37
  5. package/dist/{appHistory-WXJ4STHX.js → appHistory-FVDSCS64.js} +1 -1
  6. package/dist/{asset-J42DGWPQ.js → asset-N6RZSN44.js} +2 -2
  7. package/dist/{assetCataloger-XDZB53RE.js → assetCataloger-GWF6II54.js} +11 -12
  8. package/dist/{audio-6EV56WMQ.js → audio-ZHVBBQRA.js} +70 -26
  9. package/dist/{auth-ECYU3HT4.js → auth-AJM3YSN6.js} +4 -4
  10. package/dist/{autoUpdate-HIKCPXQA.js → autoUpdate-GV4LPAJX.js} +2 -2
  11. package/dist/{avatars-X7DEU57Y.js → avatars-5EKOR2DW.js} +16 -17
  12. package/dist/{backgroundChecks-IYWWBPTC.js → backgroundChecks-J4XJD4ET.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-3TAV6XQQ.js → batchRender-UKQ36JT2.js} +5 -6
  15. package/dist/{beats-IFJBCISA.js → beats-LXYHFVPP.js} +11 -12
  16. package/dist/{benchmark-OS6LVCAY.js → benchmark-KXR56MIT.js} +11 -12
  17. package/dist/{billing-4NRHG5FO.js → billing-3XQYSAKP.js} +15 -16
  18. package/dist/{browser-CFI3GKFB.js → browser-P52FDITF.js} +16 -4
  19. package/dist/{bundleWithLocalizedFonts-6YHKES5G.js → bundleWithLocalizedFonts-I3KWYN6X.js} +1 -1
  20. package/dist/{capture-SNHDWW7W.js → capture-2PSBIAL2.js} +3 -3
  21. package/dist/{capture-4H3W3FNF.js → capture-SMWSGGMG.js} +22 -23
  22. package/dist/{captureCompositionFrame-BH4UMGJP.js → captureCompositionFrame-WRY5ATM7.js} +16 -17
  23. package/dist/{catalog-RZOQ54KZ.js → catalog-JIO6RXSR.js} +14 -15
  24. package/dist/{catch-up-PA4QGVNL.js → catch-up-A73H7VGC.js} +18 -7
  25. package/dist/{check-J2TCCJL5.js → check-FI7SUTK7.js} +43 -42
  26. package/dist/{checkAudio-RIFMEOQI.js → checkAudio-73DDBXXJ.js} +13 -14
  27. package/dist/{checkBrowser-M4YCLLDJ.js → checkBrowser-X5VVYQES.js} +35 -36
  28. package/dist/{chunk-E3GBPA37.js → chunk-2HRKRRQH.js} +2 -2
  29. package/dist/{chunk-OR2FAQFS.js → chunk-3FG3YAHZ.js} +1 -1
  30. package/dist/{chunk-BJUPV6I3.js → chunk-3OIUJOIR.js} +1 -1
  31. package/dist/{chunk-FSTINYWN.js → chunk-3TLAQU62.js} +1 -1
  32. package/dist/{chunk-DTJV7ST5.js → chunk-3ZXKEGKV.js} +1 -1
  33. package/dist/{chunk-ABT7WBZZ.js → chunk-4EL5RKLS.js} +1 -1
  34. package/dist/{chunk-TOD5PQJF.js → chunk-4EMQHF3T.js} +2 -2
  35. package/dist/{chunk-6OBCXHIF.js → chunk-4FNJ2QNP.js} +4 -4
  36. package/dist/{chunk-3QIHS5V3.js → chunk-4NLG5TO6.js} +3 -3
  37. package/dist/{chunk-63LNVITK.js → chunk-4UXCWPHU.js} +1 -1
  38. package/dist/{chunk-UPURJC4I.js → chunk-4ZLMVX3O.js} +1 -1
  39. package/dist/{chunk-IV2R3NET.js → chunk-5PY66UGZ.js} +3 -3
  40. package/dist/{chunk-ZPJYWAAS.js → chunk-7ETNIXIN.js} +1 -1
  41. package/dist/{chunk-HNGHIX26.js → chunk-7EUZAQD6.js} +35 -2
  42. package/dist/{chunk-BEAEO4OV.js → chunk-A2NL7HGF.js} +1 -1
  43. package/dist/{chunk-JWQHGM3V.js → chunk-A4JU6QUG.js} +1 -1
  44. package/dist/{chunk-WMRHEI4N.js → chunk-ADJCNH7M.js} +1 -1
  45. package/dist/{chunk-ENVFGBRD.js → chunk-AXFYCH7S.js} +12 -0
  46. package/dist/{chunk-RRGH76QX.js → chunk-BABCRBAO.js} +38 -4
  47. package/dist/{chunk-SVT6FCQX.js → chunk-BUCJXB6D.js} +1 -1
  48. package/dist/{chunk-3UYQMVJS.js → chunk-C4KYJSSF.js} +9 -9
  49. package/dist/{chunk-N7D6YUGR.js → chunk-CFOJE3VR.js} +2 -2
  50. package/dist/{chunk-GKLZMLX3.js → chunk-CXUT4XVT.js} +22 -1
  51. package/dist/{chunk-2DPQ347C.js → chunk-CZK7A5IB.js} +4 -4
  52. package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
  53. package/dist/{chunk-PTIOZJMF.js → chunk-D7C6NOOO.js} +2 -2
  54. package/dist/{chunk-H3YZRS32.js → chunk-DXIGIMRP.js} +2 -2
  55. package/dist/{chunk-T655WZ4R.js → chunk-DYPAXBNK.js} +1 -1
  56. package/dist/{chunk-4FFKOLNM.js → chunk-DZQEPGNY.js} +3 -3
  57. package/dist/{chunk-RKRJAQFI.js → chunk-F4XUCHQQ.js} +1 -1
  58. package/dist/{chunk-URGLY5QV.js → chunk-FASKJUYU.js} +98 -35
  59. package/dist/{chunk-7EN7RIPV.js → chunk-FET6WMTX.js} +2 -2
  60. package/dist/{chunk-WRBUQRJJ.js → chunk-FOX7LXZ2.js} +1 -1
  61. package/dist/chunk-FRBQYFUV.js +481 -0
  62. package/dist/{chunk-XPIP5ZV3.js → chunk-G5UZHDEZ.js} +2 -2
  63. package/dist/{chunk-AKEZ2BEE.js → chunk-G77Z4GWC.js} +1 -1
  64. package/dist/{chunk-6AYTP32B.js → chunk-GG7RYSIU.js} +1 -1
  65. package/dist/{chunk-KXZD37E5.js → chunk-GH6GWAID.js} +1 -1
  66. package/dist/{chunk-2LZO4FX3.js → chunk-GKOSN3Q6.js} +3 -3
  67. package/dist/chunk-GREVQ2SM.js +5035 -0
  68. package/dist/{chunk-J3QW55W5.js → chunk-H6676SHA.js} +1 -1
  69. package/dist/{chunk-SJUFAZV5.js → chunk-H7N3J7Y3.js} +2 -2
  70. package/dist/{chunk-RWJFNJUE.js → chunk-HCFBCEJT.js} +1 -1
  71. package/dist/{chunk-NKK2FRY7.js → chunk-I7WVS7WN.js} +1 -1
  72. package/dist/{chunk-UIUILBMB.js → chunk-IFY5ACTF.js} +13 -13
  73. package/dist/{chunk-M3EGX3ID.js → chunk-IQR26ZJD.js} +5 -5
  74. package/dist/{chunk-XYHAXHOH.js → chunk-IRWQMKV7.js} +1 -1
  75. package/dist/{chunk-HY5KQ4KT.js → chunk-ITO3VCCW.js} +10 -10
  76. package/dist/{chunk-XKYXENEP.js → chunk-JNN2CTGU.js} +2 -2
  77. package/dist/{chunk-6KBDQAZC.js → chunk-JT6LFFYK.js} +1 -1
  78. package/dist/{chunk-L24NAUBS.js → chunk-KBHBSWEE.js} +64 -19
  79. package/dist/{chunk-XQD6XWE3.js → chunk-L2SQTHMP.js} +1 -1
  80. package/dist/{chunk-ZVDYDMQA.js → chunk-L4C4F4O3.js} +3 -3
  81. package/dist/{chunk-RLXUABCX.js → chunk-LDO7SB4J.js} +12 -5
  82. package/dist/{chunk-IPXNWK7O.js → chunk-LGSSYJS2.js} +2 -2
  83. package/dist/{chunk-ATUCYH5L.js → chunk-LIFQONFJ.js} +1 -1
  84. package/dist/{chunk-NTMMUK6Q.js → chunk-LLUKDUVS.js} +38 -20
  85. package/dist/{chunk-IDNKBZNX.js → chunk-LMUF3BGR.js} +1 -1
  86. package/dist/{chunk-5PC5FMF4.js → chunk-LQBZCXMR.js} +3 -3
  87. package/dist/{chunk-L6YCPDRH.js → chunk-M32FE7JZ.js} +3 -3
  88. package/dist/{chunk-BYVDFTG6.js → chunk-M7Z2SEQG.js} +2 -2
  89. package/dist/{chunk-RL3CNZAX.js → chunk-MERPHIUD.js} +2 -2
  90. package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
  91. package/dist/{chunk-CBHNARFI.js → chunk-MNMIIDOX.js} +1 -1
  92. package/dist/{chunk-PMAGFCRB.js → chunk-NBHVLN5J.js} +7 -7
  93. package/dist/{chunk-Z2BBCW57.js → chunk-NTNNGWKO.js} +3 -3
  94. package/dist/{chunk-VXZOWF6M.js → chunk-ONBYVA2L.js} +62 -25
  95. package/dist/{chunk-G2HKE5CX.js → chunk-OQ6VGBQV.js} +1 -1
  96. package/dist/{chunk-GNING3UV.js → chunk-OXMEC34G.js} +1 -1
  97. package/dist/{chunk-VGAKHIDG.js → chunk-OXUX73RX.js} +10 -10
  98. package/dist/{chunk-A5MTIN4M.js → chunk-P7WDQTQZ.js} +1 -1
  99. package/dist/chunk-PJNDSYJV.js +525 -0
  100. package/dist/{chunk-X2TDLUIK.js → chunk-PPOJMJR5.js} +51 -16
  101. package/dist/{chunk-67JLV22D.js → chunk-Q2LO2ZF6.js} +3 -3
  102. package/dist/{chunk-CPFG5QSQ.js → chunk-QAES6F2D.js} +7 -7
  103. package/dist/{chunk-FJXBDFH6.js → chunk-QXVJ33BP.js} +362 -190
  104. package/dist/{chunk-WAY7TXDD.js → chunk-RLY4LECT.js} +2 -2
  105. package/dist/{chunk-JDAYOJGJ.js → chunk-RQIR2BOG.js} +1 -1
  106. package/dist/{chunk-YCXW65RT.js → chunk-RYRSI623.js} +5 -5
  107. package/dist/{chunk-BUIZAY4L.js → chunk-TERSCNBN.js} +19 -8
  108. package/dist/{chunk-I4G55F5J.js → chunk-TLNKHH52.js} +1 -1
  109. package/dist/{chunk-I2L7KR3N.js → chunk-UFMWWEL3.js} +7 -7
  110. package/dist/{chunk-GZK32KOL.js → chunk-W62DJ5ZK.js} +5 -5
  111. package/dist/{chunk-TLZCUWHQ.js → chunk-WFEKL42K.js} +266 -61
  112. package/dist/{chunk-LDFI55LW.js → chunk-WZCSU7ZP.js} +1 -1
  113. package/dist/{chunk-7HROKMNQ.js → chunk-XC5PF4T4.js} +4 -4
  114. package/dist/{chunk-2752JKE6.js → chunk-XQUO3BOS.js} +65 -21
  115. package/dist/{chunk-2AL2DME3.js → chunk-XRNXGF7I.js} +2 -2
  116. package/dist/{chunk-QEFMUD5U.js → chunk-YALKIB2K.js} +1 -1
  117. package/dist/{chunk-W6Q7Q7BS.js → chunk-YQV44DRO.js} +77 -2
  118. package/dist/{chunk-WBXUGXZP.js → chunk-YZKRMBYH.js} +1 -1
  119. package/dist/{chunk-D33DCBBM.js → chunk-ZEQOP7XA.js} +2 -2
  120. package/dist/{chunk-YBUZQGMX.js → chunk-ZFYCYUVY.js} +2 -2
  121. package/dist/{chunk-LFSSI7W3.js → chunk-ZH3SXWCV.js} +42 -15
  122. package/dist/{chunk-TJUJJYJC.js → chunk-ZNFYQMFN.js} +2 -2
  123. package/dist/{clean-PMM6YUQ3.js → clean-PILJFGU2.js} +20 -21
  124. package/dist/cli.js +62 -62
  125. package/dist/{cloud-D3WTNTF2.js → cloud-D7DFYONW.js} +4 -4
  126. package/dist/{cloud-OIPASJZZ.js → cloud-HBMQH4EU.js} +4 -4
  127. package/dist/{cloudrun-3TXJ2QOV.js → cloudrun-JZQMF5DS.js} +6 -7
  128. package/dist/commands/layout-audit.browser.js +287 -23
  129. package/dist/{compare-NC7JQXZH.js → compare-5RSAPYJI.js} +32 -33
  130. package/dist/{compiler-C2HCN5CA.js → compiler-T4BPLRFY.js} +4 -4
  131. package/dist/{component-M2VJD3QI.js → component-DMHFV7BD.js} +3 -3
  132. package/dist/{compositions-3QMQV5OS.js → compositions-OW776OLK.js} +14 -15
  133. package/dist/{curve-S3VZXTYX.js → curve-4GNM7DWM.js} +14 -15
  134. package/dist/{cuts-O3OKZGPU.js → cuts-M5R2LKDZ.js} +15 -16
  135. package/dist/{delete-RFDRT4K6.js → delete-MYG77L66.js} +7 -7
  136. package/dist/{deploy-LIQXICPP.js → deploy-FGHE4FID.js} +1 -1
  137. package/dist/{describeProject-IUAV4C55.js → describeProject-SLAKVOOS.js} +11 -12
  138. package/dist/{deterministicFonts-DQDB47K3.js → deterministicFonts-IXXU76SA.js} +1 -1
  139. package/dist/{diff-F434Y7GL.js → diff-TNHEXG72.js} +35 -36
  140. package/dist/{dist-KA45Z5SZ.js → dist-23VTYBIX.js} +11 -12
  141. package/dist/{dist-URQMS2HM.js → dist-5ITUK4AA.js} +6 -4
  142. package/dist/{dist-6N5S5326.js → dist-PEDQQRFU.js} +17 -17
  143. package/dist/docs/motion-blur.md +3 -5
  144. package/dist/{doctor-VAEAFW3N.js → doctor-ILCPSC6S.js} +14 -15
  145. package/dist/{energy-HQG367CH.js → energy-SCJII6HC.js} +15 -16
  146. package/dist/{events-R55FOR6B.js → events-D2QORX35.js} +2 -2
  147. package/dist/{events-M457QJCL.js → events-OHIGKF4W.js} +16 -4
  148. package/dist/{events-3HQKXGJN.js → events-ZMK5VRA2.js} +17 -18
  149. package/dist/{extract-KSYOILWX.js → extract-OD3LI3YL.js} +15 -16
  150. package/dist/{face-IOYVA3KO.js → face-SFQDTQXC.js} +15 -16
  151. package/dist/{feedback-OLY2Y2HB.js → feedback-N3JK4ULK.js} +18 -19
  152. package/dist/{ffmpeg-POWBUKIU.js → ffmpeg-E55HQX7V.js} +10 -11
  153. package/dist/{figma-PYAOGAQ7.js → figma-JYVZPN5L.js} +3 -3
  154. package/dist/fontLocalizeCli.js +14 -15
  155. package/dist/{frames-RIUU6JZF.js → frames-BLCIN32Q.js} +16 -17
  156. package/dist/{generate-TVFTFEHB.js → generate-B7MUYYON.js} +27 -28
  157. package/dist/{get-ASVUBVPU.js → get-VQWG2NY4.js} +7 -7
  158. package/dist/{gpuPolicy-QDYHFIDS.js → gpuPolicy-3TMFL6TM.js} +10 -11
  159. package/dist/{grade-compare-2TVGR2WJ.js → grade-compare-LCS5CBNW.js} +33 -34
  160. package/dist/{heifImagePrep-ZDQ6FE6L.js → heifImagePrep-VHAJEZGL.js} +11 -12
  161. package/dist/{help-MZHLMNGB.js → help-GSE5DFSB.js} +1 -1
  162. package/dist/{history-CCPMGESN.js → history-RSB65UN3.js} +19 -8
  163. package/dist/hyperframe.manifest.json +1 -1
  164. package/dist/hyperframe.runtime.iife.js +65 -65
  165. package/dist/hyperframes-player.global.js +1 -1
  166. package/dist/{info-5CRW7PXR.js → info-FLLONVY5.js} +16 -17
  167. package/dist/{init-6U5JDVOC.js → init-EAKY3LFR.js} +30 -31
  168. package/dist/{ink-BVK6K2CB.js → ink-ZDZVD5CD.js} +15 -16
  169. package/dist/{inspect-NUGGYSLQ.js → inspect-LFEK6HOL.js} +33 -34
  170. package/dist/{installer-TBUJ66L6.js → installer-5NJVGV6X.js} +6 -7
  171. package/dist/{keyframes-N5637YSK.js → keyframes-TZBDB442.js} +16 -8
  172. package/dist/{lambda-VPSI7MTF.js → lambda-RYX5NXX5.js} +14 -15
  173. package/dist/{layout-FHJ2SQTW.js → layout-VATFBERH.js} +33 -34
  174. package/dist/{lint-XPRHASUK.js → lint-QAGBHUXZ.js} +27 -13
  175. package/dist/{lintProject-6TML32JZ.js → lintProject-BC5ISNKQ.js} +2 -2
  176. package/dist/{list-TST4Z4GR.js → list-VQZOLGEO.js} +7 -7
  177. package/dist/{localPage-NR4NBUTZ.js → localPage-ZEJ7ZKIE.js} +10 -11
  178. package/dist/{login-64KOPWVK.js → login-7BL2N6JG.js} +6 -6
  179. package/dist/{logout-EQ2HJDL4.js → logout-EKDVIU6Y.js} +2 -2
  180. package/dist/{look-VBHITYXG.js → look-OKDV2W4W.js} +15 -16
  181. package/dist/{manager-OAK67I5F.js → manager-QPEMMSLW.js} +11 -12
  182. package/dist/{measure-NNQ6XXH2.js → measure-WJ6TR545.js} +11 -11
  183. package/dist/{media-treatment-M2X3Q5NV.js → media-treatment-QYQVLCYP.js} +16 -17
  184. package/dist/{media-use-ZGJJL6KV.js → media-use-OWKQQSPJ.js} +4 -4
  185. package/dist/{models-Y24YJJ6P.js → models-FZ4HL5BX.js} +14 -15
  186. package/dist/{motionShot-KMU2SMX6.js → motionShot-IHZ544WM.js} +19 -20
  187. package/dist/{normalize-audio-27XH53UL.js → normalize-audio-77ZTAPPL.js} +11 -12
  188. package/dist/{open-6MLQR2BC.js → open-Q7AAAYVN.js} +70 -20
  189. package/dist/{parakeetRunner-BMK7KY7W.js → parakeetRunner-TAMKXXNN.js} +15 -16
  190. package/dist/{pipeline-AILSBZUB.js → pipeline-MK7LCHQD.js} +13 -14
  191. package/dist/{play-VTM2B4CS.js → play-WBLWBDBS.js} +22 -23
  192. package/dist/{preflight-IRQCF5ZW.js → preflight-O2EH2LOC.js} +11 -12
  193. package/dist/{present-JQH4CETR.js → present-3GW46ZYF.js} +18 -19
  194. package/dist/{preview-KGMCKLBI.js → preview-MPAHNXEJ.js} +57 -504
  195. package/dist/{probe-IP6W7U4A.js → probe-4F2PK26B.js} +15 -16
  196. package/dist/{producer-PRYLGX6W.js → producer-T462QJC7.js} +1 -1
  197. package/dist/{projectConfig-6WPGQGI3.js → projectConfig-T3WVF6H4.js} +8 -9
  198. package/dist/{publication-25E6ZMLB.js → publication-DX3VDYCI.js} +4 -5
  199. package/dist/{publish-6QT26AMU.js → publish-VNMKJMAK.js} +15 -16
  200. package/dist/{refresh-ARZZRKMP.js → refresh-ZHLUUENK.js} +2 -2
  201. package/dist/{remove-background-CVQQZNQQ.js → remove-background-7LE4IIOE.js} +14 -15
  202. package/dist/{render-3VHULZTP.js → render-5PTZ5VLW.js} +7 -8
  203. package/dist/{render-PUXPIIGJ.js → render-JKUR7OI2.js} +76 -39
  204. package/dist/{render-VMHF2RVD.js → render-RPHNBD4F.js} +42 -39
  205. package/dist/{render-batch-UKWKZUJM.js → render-batch-X2QMZUYH.js} +7 -8
  206. package/dist/renderSetupWorker.js +11 -8
  207. package/dist/{resolver-KEMGGVU7.js → resolver-AXDCEJ77.js} +6 -7
  208. package/dist/{reverse-4BCCUHPA.js → reverse-DQSOSC5W.js} +1 -1
  209. package/dist/{run-WZP6HXIH.js → run-IQLZHH6D.js} +5 -5
  210. package/dist/{screenshotCapture-VGOH65YU.js → screenshotCapture-EAATIOT3.js} +11 -12
  211. package/dist/{sherpa-AQJGVMWJ.js → sherpa-NPPB3DTN.js} +14 -15
  212. package/dist/skills/hyperframes/references/motion.md +1 -1
  213. package/dist/skills/hyperframes/references/storyboard.md +1 -1
  214. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
  215. package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
  216. package/dist/skills/media-use/audio/scripts/audio.mjs +56 -26
  217. package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +3 -3
  218. package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +16 -1
  219. package/dist/skills/media-use/audio/scripts/lib/recording.mjs +53 -0
  220. package/dist/skills/media-use/audio/scripts/lib/voice-credit.mjs +17 -0
  221. package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +21 -0
  222. package/dist/skills/media-use/audio/scripts/recording.test.mjs +139 -0
  223. package/dist/skills/media-use/references/audio.md +2 -1
  224. package/dist/skills/media-use/references/heygen.md +9 -9
  225. package/dist/{skills-VB4OXS7B.js → skills-S2ODBBMC.js} +19 -7
  226. package/dist/{skillsUpdateCheck-HMGBIR2Z.js → skillsUpdateCheck-AOCZDRXM.js} +3 -3
  227. package/dist/{snapshot-SXWIDOD3.js → snapshot-SS6WDSZ5.js} +40 -41
  228. package/dist/{src-IEVHZX7S.js → src-HHRR3UTF.js} +13 -14
  229. package/dist/{src-RETKK67M.js → src-MYVZPRHS.js} +20 -19
  230. package/dist/{start-PDD5527T.js → start-OYIXMJKF.js} +24 -25
  231. package/dist/{staticProjectServer-GJQCWV7Y.js → staticProjectServer-65X4MWEN.js} +21 -22
  232. package/dist/{status-N6FGW6E2.js → status-JEYVWANY.js} +16 -17
  233. package/dist/studio/assets/{hyperframes-player-Dszy0WKm.js → hyperframes-player-DqxUNa9H.js} +1 -1
  234. package/dist/studio/assets/index-Bgfyny02.css +1 -0
  235. package/dist/studio/assets/{index-CWYuXWlI.js → index-CFUJyYA1.js} +1 -1
  236. package/dist/studio/assets/{index-BeR5xCi5.js → index-Cq43Ovkf.js} +196 -196
  237. package/dist/studio/index.html +2 -2
  238. package/dist/{studio-api-IAELPUY4.js → studio-api-GJGFGQQW.js} +11 -12
  239. package/dist/{studioServer-XTVVJA3E.js → studioServer-IS27DJNF.js} +66 -59
  240. package/dist/{sync-SDUSYR4M.js → sync-NLK2RFSR.js} +15 -16
  241. package/dist/{telemetry-IXOTZW4E.js → telemetry-BMPRZBBX.js} +22 -2
  242. package/dist/{telemetry-U4VJBESU.js → telemetry-BPPPHER2.js} +16 -4
  243. package/dist/templates/_shared/AGENTS.md +3 -1
  244. package/dist/templates/_shared/CLAUDE.md +3 -1
  245. package/dist/{templates-VFKKDFCR.js → templates-YWBAFFI4.js} +25 -26
  246. package/dist/{timeline-62HYU4LF.js → timeline-FAFHG2G4.js} +21 -22
  247. package/dist/{tokens-XJUQMDBP.js → tokens-QCZBFNMS.js} +2 -2
  248. package/dist/{transcribe-7IPTYLH2.js → transcribe-2P6GMYWR.js} +29 -30
  249. package/dist/{transcribe-RRGMCQBP.js → transcribe-VL3YKFMY.js} +13 -14
  250. package/dist/{update-EAL42IMG.js → update-NWDCG6JG.js} +20 -8
  251. package/dist/{updateCheck-CCDI422O.js → updateCheck-PX4XSKDO.js} +2 -2
  252. package/dist/{upgrade-A73PJHPY.js → upgrade-VWETDZDT.js} +3 -3
  253. package/dist/{upload-YQMBLKH5.js → upload-PEY7EYFV.js} +7 -2
  254. package/dist/{urlDownloader-JZIEE3AD.js → urlDownloader-7TVBPNBG.js} +9 -10
  255. package/dist/{validate-N6F4N34T.js → validate-HCJAHDTZ.js} +27 -28
  256. package/dist/{video-6LPKR7VA.js → video-JDUB5IFM.js} +11 -12
  257. package/dist/{voices-LFPLTLKV.js → voices-YBKCBC6K.js} +30 -29
  258. package/dist/warmCheck.js +41 -42
  259. package/package.json +1 -1
  260. package/dist/chunk-GDQQ4U3L.js +0 -226
  261. package/dist/chunk-TK7THLRO.js +0 -65
  262. package/dist/chunk-X7SYA4OP.js +0 -5035
  263. package/dist/studio/assets/index-CNZk2EFC.css +0 -1
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-HY5KQ4KT.js";
10
+ } from "./chunk-ITO3VCCW.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-UIUILBMB.js";
15
+ } from "./chunk-IFY5ACTF.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-PMAGFCRB.js";
18
+ } from "./chunk-NBHVLN5J.js";
19
19
  import {
20
20
  AUDIT_SEEK_OPTIONS,
21
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,18 +29,18 @@ import {
29
29
  seekCompositionTimeline,
30
30
  seekInPage,
31
31
  waitForPreferredSeekTarget
32
- } from "./chunk-VGAKHIDG.js";
32
+ } from "./chunk-OXUX73RX.js";
33
33
  import {
34
34
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
35
  withRemainingBudget
36
36
  } from "./chunk-YGGZ23BB.js";
37
37
  import {
38
38
  findStageProxyBox
39
- } from "./chunk-JDAYOJGJ.js";
39
+ } from "./chunk-RQIR2BOG.js";
40
40
  import {
41
41
  STUDIO_PREVIEW_CAPTURE_MODE,
42
42
  STUDIO_PREVIEW_MARK_META
43
- } from "./chunk-3UYQMVJS.js";
43
+ } from "./chunk-C4KYJSSF.js";
44
44
  import {
45
45
  artifactDirectory,
46
46
  finishSnapshotRun
@@ -54,21 +54,21 @@ import {
54
54
  resolveProxies,
55
55
  scanProjectMediaCodecMap,
56
56
  shouldPrewarmProxy
57
- } from "./chunk-RLXUABCX.js";
57
+ } from "./chunk-LDO7SB4J.js";
58
58
  import {
59
59
  BrowserCleanupError,
60
60
  closeManagedBrowser,
61
61
  onStopSignal
62
- } from "./chunk-IPXNWK7O.js";
62
+ } from "./chunk-LGSSYJS2.js";
63
63
  import {
64
64
  resolveAutoProxy
65
- } from "./chunk-ZPJYWAAS.js";
65
+ } from "./chunk-7ETNIXIN.js";
66
66
  import {
67
67
  DEFAULT_CONFIG
68
- } from "./chunk-TLZCUWHQ.js";
68
+ } from "./chunk-WFEKL42K.js";
69
69
  import {
70
70
  injectTagsAtHeadStart
71
- } from "./chunk-X7SYA4OP.js";
71
+ } from "./chunk-GREVQ2SM.js";
72
72
  import {
73
73
  parseHTML
74
74
  } from "./chunk-GWTIFRF5.js";
@@ -92,7 +92,8 @@ var PHASE_LABELS = {
92
92
  crops: "capturing finding crops",
93
93
  frames: "capturing finding frames"
94
94
  };
95
- var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
95
+ var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies"]);
96
+ var CHROME_START_WINDOW_MS = 18e4;
96
97
  var CheckDeadlineError = class extends Error {
97
98
  constructor(sourceFile, phases = "") {
98
99
  super(
@@ -103,6 +104,7 @@ var CheckDeadlineError = class extends Error {
103
104
  sourceFile;
104
105
  };
105
106
  var COPY_BUDGET_MS = 12e4;
107
+ var HEARTBEAT_MS = 3e4;
106
108
  var CheckCopiesUnfinishedError = class extends Error {
107
109
  constructor(budgetMs, unfinished) {
108
110
  super(
@@ -122,6 +124,13 @@ var CheckStoppedError = class extends Error {
122
124
  super(`Check stopped before finishing (${signal}).`);
123
125
  }
124
126
  };
127
+ var CheckChromeStartError = class extends Error {
128
+ constructor(waitedMs, where) {
129
+ super(
130
+ `Chrome did not start within ${waitedMs / 1e3} s${where || "."} On a first run it may still be downloading: run \`hyperframes browser ensure\`, then run check again.`
131
+ );
132
+ }
133
+ };
125
134
  var CheckDeadline = class {
126
135
  constructor(idleMs = CHECK_IDLE_MS, budget) {
127
136
  this.idleMs = idleMs;
@@ -149,6 +158,7 @@ var CheckDeadline = class {
149
158
  work;
150
159
  spent = /* @__PURE__ */ new Map();
151
160
  partials = [];
161
+ heartbeat;
152
162
  budgetTimer;
153
163
  stopAt;
154
164
  remainingMs() {
@@ -163,11 +173,16 @@ var CheckDeadline = class {
163
173
  enter = (phase, detail) => {
164
174
  if (this.expired) return;
165
175
  const now = Date.now();
176
+ if (this.work?.phase !== phase) this.announce(phase, PHASE_LABELS[phase]);
166
177
  if (this.work) this.spend(this.work.phase, now - this.work.since);
167
178
  this.work = { phase, since: now, detail };
168
179
  this.spend(phase, 0);
180
+ this.beat();
169
181
  this.rearm();
170
182
  };
183
+ announce(phase, text) {
184
+ if (phase !== "copies") console.error(`[hyperframes] check: ${text}`);
185
+ }
171
186
  spend(phase, ms) {
172
187
  this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
173
188
  }
@@ -189,15 +204,32 @@ var CheckDeadline = class {
189
204
  this.phase = "started";
190
205
  this.enter("load");
191
206
  };
207
+ beat() {
208
+ if (this.heartbeat || this.phase === "closed" || this.expired) return;
209
+ this.heartbeat = setInterval(() => {
210
+ if (this.work) {
211
+ const seconds = Math.round((Date.now() - this.work.since) / 1e3);
212
+ const { phase } = this.work;
213
+ this.announce(phase, `still ${PHASE_LABELS[phase]} (${seconds} s in this step)`);
214
+ }
215
+ }, HEARTBEAT_MS);
216
+ this.heartbeat.unref();
217
+ }
192
218
  rearm() {
193
- if (this.phase !== "started" || this.expired) return;
219
+ if (this.phase === "closed" || this.expired) return;
220
+ const launching = this.work?.phase === "launch" && this.phase === "waiting";
221
+ if (this.phase !== "started" && !launching) return;
194
222
  clearTimeout(this.timer);
223
+ const window2 = launching ? Math.max(CHROME_START_WINDOW_MS, this.idleMs) : this.idleMs;
195
224
  this.timer = setTimeout(
196
- () => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
197
- this.idleMs
225
+ () => this.expire(
226
+ launching ? new CheckChromeStartError(window2, this.where()) : new CheckDeadlineError(this.scripts.at(-1), this.describe())
227
+ ),
228
+ window2
198
229
  );
199
230
  }
200
231
  expire(error) {
232
+ clearInterval(this.heartbeat);
201
233
  clearTimeout(this.timer);
202
234
  clearTimeout(this.budgetTimer);
203
235
  this.expired = error;
@@ -242,6 +274,7 @@ var CheckDeadline = class {
242
274
  }
243
275
  async close() {
244
276
  this.phase = "closed";
277
+ clearInterval(this.heartbeat);
245
278
  clearTimeout(this.timer);
246
279
  clearTimeout(this.budgetTimer);
247
280
  const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
@@ -279,7 +312,7 @@ var OFF_HINTS = {
279
312
  "root-blend-mode": "set mix-blend-mode on a child element instead of the composition root, or drop motion blur",
280
313
  "nested-capture-canvas": "remove the inner <canvas layoutsubtree> / content=drawable, or drop motion blur"
281
314
  };
282
- var CHOSEN = /* @__PURE__ */ new Set(["translation-only", "tier-attribute"]);
315
+ var CHOSEN = /* @__PURE__ */ new Set(["tier-auto", "tier-attribute"]);
283
316
  var GENERIC_OFF_HINT = "remove what the reason names, or drop data-motion-blur";
284
317
  var ASKED = 'data-motion-blur="on" is set but';
285
318
  function motionBlurDrafts(probe) {
@@ -760,7 +793,7 @@ async function copyWindows(projectDir, html, pathnames) {
760
793
  );
761
794
  return windows;
762
795
  }
763
- async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride, budgetMs) {
796
+ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride, budgetMs, record) {
764
797
  const none = {
765
798
  findings: [],
766
799
  failedPaths: /* @__PURE__ */ new Set(),
@@ -834,6 +867,11 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
834
867
  const unfinished = sources.flatMap(
835
868
  ({ file }, index) => results[index].status === "rejected" ? [`${file} ${heartbeat.percent(index)}`] : []
836
869
  );
870
+ record?.({
871
+ total,
872
+ waitedMs: Date.now() - startedAt,
873
+ unfinished: overBudget === void 0 ? 0 : unfinished.length
874
+ });
837
875
  if (overBudget !== void 0 && unfinished.length > 0) {
838
876
  throw new CheckCopiesUnfinishedError(overBudget, unfinished);
839
877
  }
@@ -890,7 +928,7 @@ function proxyFailedDraft(message) {
890
928
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
891
929
  }
892
930
  async function loadCheckHtmlWithDeferredMedia(dir) {
893
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6YHKES5G.js");
931
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I3KWYN6X.js");
894
932
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
895
933
  }
896
934
  function withCapturePreviewMark(html) {
@@ -902,6 +940,8 @@ function withCapturePreviewMark(html) {
902
940
  async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
903
941
  const html = await loadCheckHtmlWithDeferredMedia(project.dir);
904
942
  deadline?.enter("copies");
943
+ let mediaCopies;
944
+ deadline?.keepPartial(() => mediaCopies ? { mediaCopies } : {});
905
945
  const {
906
946
  findings: drafts,
907
947
  failedPaths,
@@ -910,7 +950,10 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
910
950
  project.dir,
911
951
  html,
912
952
  options.autoProxy,
913
- Math.min(COPY_BUDGET_MS, deadline?.remainingMs() ?? COPY_BUDGET_MS)
953
+ Math.min(COPY_BUDGET_MS, deadline?.remainingMs() ?? COPY_BUDGET_MS),
954
+ (facts) => {
955
+ mediaCopies = facts;
956
+ }
914
957
  );
915
958
  deadline?.enter("launch");
916
959
  const server = await serveStaticProjectHtml(
@@ -958,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
958
1001
  ).map((draft) => runtimeFinding(draft, rootAnchor))
959
1002
  }));
960
1003
  const launchSettleMs = Date.now() - launchSettleStart;
961
- const { analyzeClipMediaFit } = await import("./src-RETKK67M.js");
1004
+ const { analyzeClipMediaFit } = await import("./src-MYVZPRHS.js");
962
1005
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
963
1006
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
964
1007
  }
@@ -986,6 +1029,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
986
1029
  const unreachable = await networkChangesStillFailing(merged);
987
1030
  return {
988
1031
  ...result,
1032
+ ...mediaCopies && { mediaCopies },
989
1033
  timings: { ...result.timings, launchSettleMs },
990
1034
  renderReadyTimedOut: session.renderReadyTimedOut,
991
1035
  runtimeFindings: dropFailedProxyEchoes(
@@ -1099,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1099
1143
  async function captureFindingFrames(project, options, requests, deadline) {
1100
1144
  if (requests.length === 0) return { written: [], inspected: [] };
1101
1145
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1102
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6YHKES5G.js");
1146
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I3KWYN6X.js");
1103
1147
  return withCapturePreviewMark(
1104
1148
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1105
1149
  );
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.19" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.19" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.21" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.21" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-A5MTIN4M.js";
9
+ } from "./chunk-P7WDQTQZ.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -22,7 +22,7 @@ import {
22
22
  resolveNaturalMediaTimelineDuration,
23
23
  resolveTimedImageDurationSeconds,
24
24
  unitFloatToByte
25
- } from "./chunk-X7SYA4OP.js";
25
+ } from "./chunk-GREVQ2SM.js";
26
26
  import {
27
27
  COLOR_GROUP_ATTR,
28
28
  COLOR_GROUP_TAG,
@@ -1791,6 +1791,59 @@ function copyMediaVisualStyles(targetStyle, sourceStyle, properties = MEDIA_VISU
1791
1791
  }
1792
1792
  }
1793
1793
 
1794
+ // ../core/dist/telemetryRedaction.js
1795
+ var MAX_TELEMETRY_STRING_LENGTH = 240;
1796
+ function truncateTelemetryString(value, maxLength) {
1797
+ if (value.length <= maxLength)
1798
+ return value;
1799
+ return `${value.slice(0, maxLength - 1)}\u2026`;
1800
+ }
1801
+ function redactUrlQueryStrings(value) {
1802
+ return value.replace(/\b(https?:\/\/[^\s?]+)\?[^\s]*/g, "$1?\u2026").replace(/((?:X-(?:Amz|Goog)-[\w-]*|Signature)=)[^&\s]*/gi, "$1\u2026");
1803
+ }
1804
+ var SEGMENT = String.raw`[^\s/\\'"]+`;
1805
+ var FOLDER = String.raw`${SEGMENT}(?:[^\S\r\n]+(?![A-Za-z]:[\\/])${SEGMENT})*(?=[\\/])`;
1806
+ var SEGMENT_NODOT = String.raw`[^\s/\\'".]+`;
1807
+ var TOKEN_TAIL = String.raw`[^\s'")]*`;
1808
+ var ABSOLUTE_PATH = new RegExp(
1809
+ // A Windows share (`\\server\share`) starts with two separators; the first is taken as its root.
1810
+ String.raw`(?<![:\w\p{L}\p{N}\p{M}/\\])(?:[A-Za-z]:|\\(?=\\[^\s\\/]))?(?:[\\/]${FOLDER})+[\\/]${SEGMENT}${TOKEN_TAIL}`,
1811
+ "gu"
1812
+ );
1813
+ var RELATIVE_PATH = new RegExp(String.raw`(?<![\w/\\.])\.{1,2}(?:[\\/]${FOLDER})*[\\/]${SEGMENT}${TOKEN_TAIL}`, "g");
1814
+ var ASSET_BASENAME = /(?<![\w/\\])[^\s/\\'"]+\.(?:mp4|mov|mkv|webm|avi|m4v|mpe?g|ts|mp3|wav|aac|m4a|flac|ogg|opus|png|jpe?g|gif|webp|svg|html?|json|srt|vtt|ass)\b/gi;
1815
+ var BARE_RELATIVE_PATH = new RegExp([
1816
+ // Two or more separators: `customer/acme/video.mp4`. No extension needed —
1817
+ // that much structure is already a path.
1818
+ String.raw`(?<![^\s'\"(=,\[])(?:${SEGMENT}[\\/]){2,}${SEGMENT}${TOKEN_TAIL}`,
1819
+ // Spaced folders only before a file name with an extension, so ffprobe's `N/A, … bitrate: N/A` is not a path.
1820
+ String.raw`(?<![^\s'\"(=,\[])${SEGMENT}[\\/](?:${FOLDER}[\\/]){1,8}${SEGMENT_NODOT}\.\w{1,8}\b${TOKEN_TAIL}`,
1821
+ // One separator, but the last segment carries a file extension:
1822
+ // `assets/bgm.mp3`. That segment is dot-free on purpose — SEGMENT includes
1823
+ // `.`, so a greedy one swallows the extension this rule needs.
1824
+ String.raw`(?<![^\s'\"(=,\[])${SEGMENT}[\\/]${SEGMENT_NODOT}\.\w{1,8}\b${TOKEN_TAIL}`
1825
+ ].join("|"), "g");
1826
+ function redactKnownPaths(value, paths) {
1827
+ if (typeof value !== "string")
1828
+ return "";
1829
+ let out = value;
1830
+ for (const path of paths) {
1831
+ if (typeof path !== "string" || path.length === 0)
1832
+ continue;
1833
+ const basename = path.split(/[\\/]/).pop() ?? "";
1834
+ for (const literal of [path, basename].filter((v) => v.length > 2)) {
1835
+ out = out.split(literal).join("[path]");
1836
+ }
1837
+ }
1838
+ return out;
1839
+ }
1840
+ function redactFilePaths(value) {
1841
+ return value.replace(/file:\/\/[^\s'")]+/g, "[file-url]").replace(RELATIVE_PATH, "[path]").replace(ABSOLUTE_PATH, "[path]").replace(BARE_RELATIVE_PATH, "[path]").replace(ASSET_BASENAME, "[file]");
1842
+ }
1843
+ function redactTelemetryString(value, maxLength = MAX_TELEMETRY_STRING_LENGTH) {
1844
+ return truncateTelemetryString(redactFilePaths(redactUrlQueryStrings(value)), maxLength);
1845
+ }
1846
+
1794
1847
  // ../core/dist/projectRule.js
1795
1848
  var PROJECT_MARKER_FILES = ["hyperframes.json", "meta.json", "project.json"];
1796
1849
  function isHyperframesProject(fileNames) {
@@ -5960,7 +6013,28 @@ function withoutUndefined(obj) {
5960
6013
  return obj;
5961
6014
  }
5962
6015
 
6016
+ // ../core/dist/motionBlurFingerprint.js
6017
+ var MOTION_BLUR_FINGERPRINT_FIELDS = [
6018
+ "canvas2d",
6019
+ "webgl",
6020
+ "video",
6021
+ "iframe",
6022
+ "customElement",
6023
+ "svgClip",
6024
+ "mask",
6025
+ "scrollContainer",
6026
+ "threeD",
6027
+ "overflowingMover",
6028
+ "frontOfMover",
6029
+ "blendMode",
6030
+ "fixedInMover",
6031
+ "pseudoOutside"
6032
+ ];
6033
+
5963
6034
  export {
6035
+ redactUrlQueryStrings,
6036
+ redactKnownPaths,
6037
+ redactTelemetryString,
5964
6038
  resolveAuthoredTimingWindow,
5965
6039
  toFps,
5966
6040
  fpsToNumber,
@@ -6066,5 +6140,6 @@ export {
6066
6140
  normalizeVfxParams,
6067
6141
  chainCapture,
6068
6142
  parseVfxChain,
6069
- serializeVfxChain
6143
+ serializeVfxChain,
6144
+ MOTION_BLUR_FINGERPRINT_FIELDS
6070
6145
  };
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-T2WJO4XM.js";
31
31
  import {
32
32
  ITEM_TYPE_DIRS
33
- } from "./chunk-W6Q7Q7BS.js";
33
+ } from "./chunk-YQV44DRO.js";
34
34
  import {
35
35
  realProjectRoot
36
36
  } from "./chunk-OFQWTKPW.js";
@@ -13,13 +13,13 @@ import {
13
13
 
14
14
  // src/utils/bundleWithLocalizedFonts.ts
15
15
  async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
16
- const { bundleToSingleHtml } = await import("./compiler-C2HCN5CA.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-T4BPLRFY.js");
17
17
  const html = await bundleToSingleHtml(projectDir, bundleOptions);
18
18
  return localizeFonts(html);
19
19
  }
20
20
  async function loadFontInjector() {
21
21
  try {
22
- const { loadProducer } = await import("./producer-PRYLGX6W.js");
22
+ const { loadProducer } = await import("./producer-T462QJC7.js");
23
23
  const mod = await loadProducer();
24
24
  return mod.injectDeterministicFontFaces ?? null;
25
25
  } catch {
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-NKK2FRY7.js";
13
+ } from "./chunk-I7WVS7WN.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-HOCC4J5C.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-T655WZ4R.js";
19
+ } from "./chunk-DYPAXBNK.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts,
9
9
  signatures
10
- } from "./chunk-BJUPV6I3.js";
10
+ } from "./chunk-3OIUJOIR.js";
11
11
  import {
12
12
  jsonArg,
13
13
  num,
14
14
  runMeasure
15
- } from "./chunk-YBUZQGMX.js";
15
+ } from "./chunk-ZFYCYUVY.js";
16
16
  import {
17
17
  makeOutputFolder
18
18
  } from "./chunk-3S27CPV7.js";
@@ -23,7 +23,7 @@ import {
23
23
  publicVoices,
24
24
  runJob,
25
25
  senderScope
26
- } from "./chunk-M3EGX3ID.js";
26
+ } from "./chunk-IQR26ZJD.js";
27
27
  import {
28
28
  Fix,
29
29
  probeSeconds,
@@ -32,7 +32,7 @@ import {
32
32
  round,
33
33
  runFfmpeg,
34
34
  videoClip
35
- } from "./chunk-NKK2FRY7.js";
35
+ } from "./chunk-I7WVS7WN.js";
36
36
  import {
37
37
  loadSharp
38
38
  } from "./chunk-NL4RCLQF.js";
@@ -311,9 +311,9 @@ function assetsOf(r) {
311
311
  async function uploaded(paths) {
312
312
  const ids = /* @__PURE__ */ new Map();
313
313
  if (!paths.length) return ids;
314
- const { createCloudClient } = await import("./cloud-D3WTNTF2.js");
315
- const { uploadAssetViaDirectUpload } = await import("./upload-YQMBLKH5.js");
316
- const { getMimeType } = await import("./dist-KA45Z5SZ.js");
314
+ const { createCloudClient } = await import("./cloud-D7DFYONW.js");
315
+ const { uploadAssetViaDirectUpload } = await import("./upload-PEY7EYFV.js");
316
+ const { getMimeType } = await import("./dist-23VTYBIX.js");
317
317
  const client = await createCloudClient();
318
318
  for (const path of paths) {
319
319
  const asset = await uploadAssetViaDirectUpload({
@@ -475,11 +475,24 @@ async function pickVoice(r) {
475
475
  ]);
476
476
  const kept = keptVoice(project, request);
477
477
  if (kept) return kept;
478
- const [voice] = await publicVoices(r.voice, 1);
479
- if (!voice) throw new Fix(`HeyGen has no public voice for ${r.voice}`, "--voice <voice id>");
478
+ const language = languageName(r.voice);
479
+ const [voice] = await publicVoices(language, 1);
480
+ const named = voice?.language?.toLowerCase() === language.toLowerCase();
481
+ if (!voice || !named && voice.language?.toLowerCase() === "multilingual")
482
+ throw new Fix(
483
+ `HeyGen has no public voice for ${r.voice}${voice ? ` (it offered a ${voice.language} one)` : ""}`,
484
+ "--voice <the language's English name, e.g. English or Chinese>, or --voice <voice id>"
485
+ );
480
486
  keepVoice(project, request, voice);
481
487
  return voice;
482
488
  }
489
+ var LANGUAGE_TAG = /^([a-z]{2,3})(?:[-_][a-z0-9]{2,8})*$/i;
490
+ var LANGUAGE_NAMES = new Intl.DisplayNames(["en"], { type: "language", fallback: "none" });
491
+ function languageName(spelled) {
492
+ const tag = LANGUAGE_TAG.exec(spelled.trim());
493
+ if (!tag) return spelled;
494
+ return LANGUAGE_NAMES.of(tag[1].toLowerCase()) ?? spelled;
495
+ }
483
496
  function checkRequest(r) {
484
497
  const route = ROUTES[r.type];
485
498
  if (!route.ext.includes(extname(r.out).toLowerCase()))
@@ -618,7 +631,11 @@ var GPT_IMAGE = {
618
631
  "4:3": 0.03612,
619
632
  "3:4": 0.03612
620
633
  };
634
+ var GPT_REFERENCE = 0.0125;
635
+ var GPT_MODELS = /* @__PURE__ */ new Set(["gpt-image-2.5", "gpt-image-2.6", "gpt-image-2.6-flare"]);
621
636
  var NANO_IMAGE = 0.067;
637
+ var NANO_2_1_IMAGE = 0.0336;
638
+ var NANO_2_1_REFERENCE = 168e-5;
622
639
  var VIDEO_768P_PER_S = 0.018;
623
640
  var VIDEO_REF_768P_PER_S = 0.05;
624
641
  var VIDEO_INCLUDED_IMAGES = 2;
@@ -638,12 +655,19 @@ function priceOf(r) {
638
655
  switch (r.type) {
639
656
  case "image": {
640
657
  const refs = r.references?.length ?? 0;
641
- if ((r.model ?? "nano-banana-2") === "nano-banana-2")
642
- return at(NANO_IMAGE, "nano-banana-2, $0.067 an image");
658
+ const model = r.model ?? "nano-banana-2";
659
+ if (model === "nano-banana-2") return at(NANO_IMAGE, "nano-banana-2, $0.067 an image");
660
+ if (model === "nano-banana-2.1")
661
+ return at(
662
+ NANO_2_1_IMAGE + refs * NANO_2_1_REFERENCE,
663
+ "nano-banana-2.1, $0.0336 an image and $0.00168 a reference"
664
+ );
665
+ if (!GPT_MODELS.has(model))
666
+ return { usd: null, list: null, credits: null, basis: `${model}, not priced ahead` };
643
667
  const each = GPT_IMAGE[r.aspect ?? "16:9"] ?? GPT_IMAGE["16:9"];
644
668
  return at(
645
- each + Math.max(0, refs - 1) * 82e-4,
646
- `gpt-image-2.5 at ${r.aspect ?? "16:9"}, $0.0082 a reference after the first`
669
+ each + refs * GPT_REFERENCE,
670
+ `${model} at ${r.aspect ?? "16:9"}, about $0.0125 a reference`
647
671
  );
648
672
  }
649
673
  case "video": {
@@ -811,7 +835,7 @@ var generate_default = defineCommand({
811
835
  script: { type: "string", description: "avatar, voice: the words spoken" },
812
836
  voice: {
813
837
  type: "string",
814
- description: "avatar, voice: a HeyGen voice id, or a language for its first voice in it"
838
+ description: "avatar, voice: a HeyGen voice id, or a language (English, Chinese, en, zh-CN) for its first voice in it"
815
839
  },
816
840
  seconds: {
817
841
  type: "string",
@@ -821,7 +845,10 @@ var generate_default = defineCommand({
821
845
  type: "string",
822
846
  description: "Aspect ratio, e.g. 9:16 (image, video without a first frame, avatar)"
823
847
  },
824
- model: { type: "string", description: "image: nano-banana-2 (default) or gpt-image-2.5" },
848
+ model: {
849
+ type: "string",
850
+ description: "image: nano-banana-2 (default), nano-banana-2.1, gpt-image-2.5, gpt-image-2.6 or gpt-image-2.6-flare"
851
+ },
825
852
  bpm: { type: "string", description: "music: tempo, 60\u2013180" },
826
853
  vocals: {
827
854
  type: "boolean",
@@ -8,11 +8,11 @@ import {
8
8
  forceRefreshCredentials,
9
9
  resolveCloudAuthHeaders,
10
10
  resolveCloudBaseUrl
11
- } from "./chunk-J3QW55W5.js";
11
+ } from "./chunk-H6676SHA.js";
12
12
  import {
13
13
  HyperframesApiError,
14
14
  HyperframesCloudClient
15
- } from "./chunk-3XJM7XZN.js";
15
+ } from "./chunk-D3NWGOXW.js";
16
16
 
17
17
  // src/cloud/poll.ts
18
18
  var DEFAULT_POLL_INTERVAL_MS = 2e3;
@@ -6,19 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-YCXW65RT.js";
9
+ } from "./chunk-RYRSI623.js";
10
10
  import "./chunk-SHOE3UR6.js";
11
11
  import "./chunk-J3OVTOVC.js";
12
- import "./chunk-XYHAXHOH.js";
12
+ import "./chunk-IRWQMKV7.js";
13
13
  import "./chunk-NL4RCLQF.js";
14
14
  import "./chunk-6BEFEWFB.js";
15
- import "./chunk-63LNVITK.js";
15
+ import "./chunk-4UXCWPHU.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-ABT7WBZZ.js";
19
- import "./chunk-3UYQMVJS.js";
20
- import "./chunk-L6YCPDRH.js";
21
- import "./chunk-7EN7RIPV.js";
18
+ } from "./chunk-4EL5RKLS.js";
19
+ import "./chunk-C4KYJSSF.js";
20
+ import "./chunk-M32FE7JZ.js";
21
+ import "./chunk-FET6WMTX.js";
22
22
  import "./chunk-6FDVPIOO.js";
23
23
  import {
24
24
  DEFAULT_HISTORY_ROOT,
@@ -29,8 +29,8 @@ import {
29
29
  import {
30
30
  CACHE_DIR_NAME,
31
31
  cleanupProxyCache
32
- } from "./chunk-RLXUABCX.js";
33
- import "./chunk-OR2FAQFS.js";
32
+ } from "./chunk-LDO7SB4J.js";
33
+ import "./chunk-3FG3YAHZ.js";
34
34
  import "./chunk-ALVXFXUG.js";
35
35
  import "./chunk-W4DMQZL5.js";
36
36
  import {
@@ -52,42 +52,41 @@ import {
52
52
  directorySizeBytes,
53
53
  gcExtractionCache,
54
54
  resolveExtractCacheDir
55
- } from "./chunk-TLZCUWHQ.js";
55
+ } from "./chunk-WFEKL42K.js";
56
56
  import "./chunk-Z5J67X44.js";
57
57
  import "./chunk-5S7W3TUO.js";
58
58
  import "./chunk-D3MUHMFG.js";
59
- import "./chunk-BYVDFTG6.js";
59
+ import "./chunk-M7Z2SEQG.js";
60
60
  import "./chunk-YWRUQ7XZ.js";
61
- import "./chunk-W6Q7Q7BS.js";
62
- import "./chunk-X7SYA4OP.js";
61
+ import "./chunk-3GXQPCJC.js";
62
+ import "./chunk-YQV44DRO.js";
63
+ import "./chunk-FXMKHHPO.js";
64
+ import "./chunk-GREVQ2SM.js";
63
65
  import "./chunk-VC76R6W2.js";
64
66
  import "./chunk-OFQWTKPW.js";
65
67
  import "./chunk-RQVDTPGD.js";
66
- import "./chunk-3GXQPCJC.js";
67
- import "./chunk-TK7THLRO.js";
68
- import "./chunk-FXMKHHPO.js";
69
68
  import "./chunk-P7DCQJ6N.js";
70
69
  import "./chunk-X6JUUQCM.js";
71
70
  import "./chunk-KGPLIH7B.js";
72
71
  import "./chunk-LAGZGKKN.js";
73
72
  import "./chunk-K4MJX7SR.js";
74
73
  import "./chunk-WE42NVH7.js";
75
- import "./chunk-NTMMUK6Q.js";
74
+ import "./chunk-LLUKDUVS.js";
76
75
  import "./chunk-WVRAFHJU.js";
77
76
  import "./chunk-HYRPH6LL.js";
77
+ import "./chunk-FBN2M2HK.js";
78
78
  import "./chunk-OHQRQE7F.js";
79
79
  import "./chunk-CUCP7FKH.js";
80
80
  import "./chunk-FR7YBU3H.js";
81
81
  import "./chunk-DPVXBVLL.js";
82
82
  import "./chunk-GWTIFRF5.js";
83
83
  import "./chunk-2RY2LWAA.js";
84
- import "./chunk-EPQC3FGZ.js";
85
84
  import "./chunk-WC4MTXGN.js";
86
- import "./chunk-FBN2M2HK.js";
85
+ import "./chunk-EPQC3FGZ.js";
87
86
  import "./chunk-JOQR4AP6.js";
88
87
  import {
89
88
  withMeta
90
- } from "./chunk-T655WZ4R.js";
89
+ } from "./chunk-DYPAXBNK.js";
91
90
  import "./chunk-BR2JQQC5.js";
92
91
  import "./chunk-CMQZP52Y.js";
93
92
  import "./chunk-ISN5GRYI.js";
@@ -98,7 +97,7 @@ import {
98
97
  } from "./chunk-66W5IWLO.js";
99
98
  import "./chunk-FYZFURBN.js";
100
99
  import "./chunk-QBXDU24O.js";
101
- import "./chunk-2AL2DME3.js";
100
+ import "./chunk-XRNXGF7I.js";
102
101
  import "./chunk-E63BDV4Z.js";
103
102
  import "./chunk-G7VEYUZ2.js";
104
103
  import "./chunk-XT6MXC7A.js";