hyperframes 0.9.56 → 0.9.59

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 (428) hide show
  1. package/bin/hyperframes.mjs +3 -1
  2. package/dist/{add-KW7OTOWF.js → add-C7J7HSLI.js} +35 -31
  3. package/dist/{agentPromptGenerator-NNXUWNU4.js → agentPromptGenerator-GCLJUGVE.js} +18 -16
  4. package/dist/{animatedGifPrep-6ATQHQON.js → animatedGifPrep-JPQZPZC4.js} +20 -17
  5. package/dist/api.js +69 -67
  6. package/dist/{appHistory-KHX53SGI.js → appHistory-TQ6JAEP5.js} +7 -5
  7. package/dist/{asset-QVINGJRK.js → asset-HQEPGBDJ.js} +6 -5
  8. package/dist/{assetCataloger-DENJPUBH.js → assetCataloger-LMPPKPF6.js} +20 -18
  9. package/dist/{audio-LB7HQYPJ.js → audio-FD2EBZ6D.js} +45 -43
  10. package/dist/{auth-7AGRVI5A.js → auth-JA7XH6NG.js} +4 -4
  11. package/dist/{autoUpdate-ITCP2JDM.js → autoUpdate-WKW2OMIY.js} +6 -6
  12. package/dist/{avatars-2K2C74EQ.js → avatars-Q7U6CO4X.js} +30 -28
  13. package/dist/{backgroundChecks-UOTBCWPN.js → backgroundChecks-H2SOS2CM.js} +16 -9
  14. package/dist/backgroundChecksWorker.js +9 -9
  15. package/dist/{batchRender-Z7ESYQDS.js → batchRender-75OLVMZY.js} +18 -14
  16. package/dist/{beats-TG6ZB3XH.js → beats-R4EHWWJN.js} +21 -19
  17. package/dist/{benchmark-RU5MLZHE.js → benchmark-F5OHG3Q3.js} +34 -31
  18. package/dist/{billing-VB5PYYSN.js → billing-LBRSBVXQ.js} +49 -33
  19. package/dist/{browser-VSQRY5GG.js → browser-CNTCFZOG.js} +23 -21
  20. package/dist/{bundleWithLocalizedFonts-XDPJE355.js → bundleWithLocalizedFonts-RVF7AFP5.js} +1 -1
  21. package/dist/{capture-TQCFWPAT.js → capture-CTRZEZTC.js} +38 -15
  22. package/dist/{capture-M4FL7MWI.js → capture-DLYM3V5F.js} +51 -46
  23. package/dist/{captureCompositionFrame-XF67Q6YK.js → captureCompositionFrame-2O2HP6SK.js} +28 -26
  24. package/dist/{captureFile-F254H22J.js → captureFile-W7ZDDBCD.js} +5 -3
  25. package/dist/captureProxy-4K3J652A.js +23 -0
  26. package/dist/{catalog-24EGH662.js → catalog-6XL63LU3.js} +46 -40
  27. package/dist/{catch-up-L23HGDLB.js → catch-up-AOFQWE6O.js} +36 -27
  28. package/dist/{check-F4HQVV2M.js → check-5V7K4RL6.js} +71 -69
  29. package/dist/{checkAudio-6DT3ONR7.js → checkAudio-4YUTDQSQ.js} +29 -25
  30. package/dist/{checkBrowser-S7P4X7QV.js → checkBrowser-BAWRZZZU.js} +62 -60
  31. package/dist/{chunk-OXT2LXZB.js → chunk-2ARKMOCD.js} +8 -8
  32. package/dist/{chunk-VC4YMXUQ.js → chunk-2LJPBYKI.js} +1 -1
  33. package/dist/{chunk-YOMFN6HH.js → chunk-3DFEBAWJ.js} +3 -3
  34. package/dist/{chunk-4RPIEGL3.js → chunk-3JVTHNDH.js} +1 -1
  35. package/dist/{chunk-WUY74LHU.js → chunk-3QMGLSKC.js} +3 -3
  36. package/dist/{chunk-QJDMX53S.js → chunk-3RTZ2UX7.js} +1 -1
  37. package/dist/{chunk-BA33QNKK.js → chunk-4NDSGKPO.js} +54 -22
  38. package/dist/{chunk-VVXSMYXQ.js → chunk-4QSDXDLV.js} +3 -3
  39. package/dist/{chunk-WGWKT7ME.js → chunk-4STRMCGD.js} +12 -4
  40. package/dist/{chunk-IDGWNOBX.js → chunk-4VJQVTQI.js} +1 -1
  41. package/dist/{chunk-LK7F7P2X.js → chunk-5T6HPV25.js} +2 -2
  42. package/dist/{chunk-NCJSN6SV.js → chunk-65X2G57W.js} +24 -14
  43. package/dist/{chunk-RFULFCYW.js → chunk-6ATP7YPZ.js} +4 -4
  44. package/dist/{chunk-CPSD7337.js → chunk-6K6RIX2A.js} +9 -9
  45. package/dist/{chunk-PHAZT6EB.js → chunk-6LGB4MVX.js} +2 -2
  46. package/dist/{chunk-B6BWLFAF.js → chunk-6R4MEYWD.js} +3 -3
  47. package/dist/{chunk-UIMXEY4U.js → chunk-6UAYOSE7.js} +36 -21
  48. package/dist/{chunk-ZLTB7ZCQ.js → chunk-6VY52EVW.js} +1 -1
  49. package/dist/{chunk-GTC2STHN.js → chunk-6VY6WTY5.js} +22 -13
  50. package/dist/{chunk-QTZICZWT.js → chunk-763UG5II.js} +26 -23
  51. package/dist/{chunk-XEVAW42J.js → chunk-7CI5MLCC.js} +18 -18
  52. package/dist/{chunk-BZULWFMJ.js → chunk-7FIJRDUG.js} +45 -10
  53. package/dist/{chunk-R2LP7QPB.js → chunk-7Q4EGB3N.js} +1 -1
  54. package/dist/{chunk-ICDGP335.js → chunk-7XOORL2Q.js} +14 -14
  55. package/dist/{chunk-CKIYT34K.js → chunk-7YRZBB4C.js} +1 -1
  56. package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
  57. package/dist/{chunk-CDNVZEGQ.js → chunk-AEXDJU77.js} +5 -2
  58. package/dist/{chunk-TVZTTWU7.js → chunk-AQIHV4PM.js} +4 -4
  59. package/dist/{chunk-Q2TT62RQ.js → chunk-B653JKWT.js} +4 -4
  60. package/dist/{chunk-QNIID7EN.js → chunk-BMTT2T7M.js} +17 -7
  61. package/dist/{chunk-RCGNYXWK.js → chunk-BTXYXM2A.js} +64 -34
  62. package/dist/{chunk-664QGMR4.js → chunk-C3NDLM4S.js} +6 -6
  63. package/dist/{chunk-DUZ6Z2ZN.js → chunk-CAMD2NBN.js} +31 -23
  64. package/dist/{chunk-6LONEKJR.js → chunk-CC72LTIT.js} +2650 -2430
  65. package/dist/{chunk-L27Z3PZT.js → chunk-CIXP5G7Z.js} +1 -1
  66. package/dist/{chunk-AN6KWGYI.js → chunk-D44MBZI6.js} +2 -2
  67. package/dist/{chunk-VCSQLM36.js → chunk-DCRHNRUY.js} +9 -9
  68. package/dist/{chunk-BTJYK56C.js → chunk-DSCMYTKJ.js} +5 -5
  69. package/dist/{chunk-6RPKPL22.js → chunk-EGZQX3UX.js} +1 -1
  70. package/dist/{chunk-4DJGUZJR.js → chunk-ELDZ6C3R.js} +3 -3
  71. package/dist/{chunk-PCKKKICA.js → chunk-EUVU5JS4.js} +4 -4
  72. package/dist/{chunk-CWIOKI2R.js → chunk-FC77MYAD.js} +1 -1
  73. package/dist/{chunk-XKNNZ4WR.js → chunk-FFL5R2EZ.js} +7 -4
  74. package/dist/{chunk-BW4H55SU.js → chunk-FGJUVWAM.js} +1 -1
  75. package/dist/{chunk-BR7GOCQJ.js → chunk-FQ26QE5N.js} +1 -1
  76. package/dist/{chunk-BMVUB2CY.js → chunk-GMIFMRWR.js} +9 -9
  77. package/dist/{chunk-2GRCTZNS.js → chunk-GYJ7AJXN.js} +2 -2
  78. package/dist/{chunk-PPLFDG7N.js → chunk-H3TD4VKX.js} +3 -3
  79. package/dist/{chunk-YQSVPHOS.js → chunk-HLOJSBGC.js} +34 -17
  80. package/dist/chunk-HOIEN7O4.js +31 -0
  81. package/dist/{chunk-MYETYFDI.js → chunk-HTISHNLA.js} +2 -2
  82. package/dist/{chunk-DDCXMXAD.js → chunk-HXFGAI6L.js} +49 -249
  83. package/dist/{chunk-CUO2HF4M.js → chunk-HY7FPTBD.js} +2 -2
  84. package/dist/{chunk-I6V25IXG.js → chunk-HYXQR5I3.js} +2 -2
  85. package/dist/{chunk-PVF32NRA.js → chunk-I5H2FPNP.js} +2 -2
  86. package/dist/{chunk-L5NPBGQB.js → chunk-I6OSAVHD.js} +33 -29
  87. package/dist/{chunk-43CQTZGB.js → chunk-ISSG4PUD.js} +27 -14
  88. package/dist/{chunk-7QFFS657.js → chunk-J3H6QDDY.js} +1 -1
  89. package/dist/{chunk-UHVKV5IF.js → chunk-J4OHC5FU.js} +1 -1
  90. package/dist/{chunk-TY7EHE4Q.js → chunk-JLMMY3UI.js} +2 -2
  91. package/dist/{chunk-XLP34AJR.js → chunk-JQ7BPN2R.js} +20 -8
  92. package/dist/{chunk-JDXALWOM.js → chunk-JT7RXK2N.js} +59 -7
  93. package/dist/{chunk-7F4RAWDS.js → chunk-JUUOYXWH.js} +4 -4
  94. package/dist/{chunk-PUTPYYE4.js → chunk-K2WLOTTF.js} +5 -2
  95. package/dist/{chunk-D3WRRPHI.js → chunk-K33E3YNK.js} +11 -11
  96. package/dist/{chunk-OIO7YMBP.js → chunk-KGPHUBBA.js} +1 -1
  97. package/dist/chunk-KK5Z5XQ3.js +109 -0
  98. package/dist/{chunk-WHX2OV4C.js → chunk-KQHDFVFF.js} +3 -3
  99. package/dist/chunk-KUJJJBV2.js +211 -0
  100. package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
  101. package/dist/{chunk-YDNBMPP3.js → chunk-KYXH4JWF.js} +8 -8
  102. package/dist/{chunk-XD5T43S7.js → chunk-L456Q4KU.js} +1 -1
  103. package/dist/{chunk-EBRN4YJH.js → chunk-L4MXZHRB.js} +3 -3
  104. package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
  105. package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
  106. package/dist/{chunk-IO7PRQQC.js → chunk-LSGJY2FG.js} +1 -1
  107. package/dist/{chunk-CLRHKYOK.js → chunk-LTOUXR3X.js} +8 -8
  108. package/dist/{chunk-5ZDNSYTO.js → chunk-LZWG4GCC.js} +3 -3
  109. package/dist/{chunk-UVPLW55S.js → chunk-MHF5F4FF.js} +69 -68
  110. package/dist/{chunk-52XHPMCX.js → chunk-MTKXKULM.js} +2 -2
  111. package/dist/{chunk-ON3CGL3V.js → chunk-MVA4OQL7.js} +2 -2
  112. package/dist/{chunk-6XRXUMFG.js → chunk-N6QWL3E7.js} +5 -2
  113. package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
  114. package/dist/chunk-NI7JVGOE.js +5083 -0
  115. package/dist/{chunk-IT2QBRVS.js → chunk-NLN5NY3P.js} +1 -1
  116. package/dist/{chunk-MDRLJ737.js → chunk-O733DEVT.js} +2 -2
  117. package/dist/{chunk-ANYW22IT.js → chunk-ODLSLYJR.js} +10 -4
  118. package/dist/{chunk-BZXW5QU7.js → chunk-OF7SQ77J.js} +1 -1
  119. package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
  120. package/dist/{chunk-EGR2ZFFP.js → chunk-OPIS2YMA.js} +13 -11
  121. package/dist/{chunk-IHXMN5YH.js → chunk-ORKZUTZW.js} +2 -2
  122. package/dist/{chunk-HVG656G6.js → chunk-OV5OSN74.js} +6 -4
  123. package/dist/{chunk-MVLAPENI.js → chunk-OYKAS3J5.js} +3 -3
  124. package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
  125. package/dist/{chunk-CNXZCMJZ.js → chunk-PCHUX7Y5.js} +2 -2
  126. package/dist/{chunk-7QFLMCTD.js → chunk-PDT6CBK2.js} +37 -6
  127. package/dist/{chunk-AGTBMLNM.js → chunk-PHYFZXOS.js} +2 -2
  128. package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
  129. package/dist/{chunk-CZCZ5YXT.js → chunk-PLOCYJ5U.js} +1 -1
  130. package/dist/{chunk-NFST2HIM.js → chunk-PMKWTXHE.js} +2 -2
  131. package/dist/{chunk-APCVZGU6.js → chunk-POFQOZOF.js} +267 -81
  132. package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
  133. package/dist/{chunk-ZIF44RW2.js → chunk-PSREPOJ4.js} +11 -8
  134. package/dist/{chunk-7DKWEIH4.js → chunk-PYRM3OAI.js} +31 -25
  135. package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
  136. package/dist/{chunk-T5HYPGST.js → chunk-QC35TPEE.js} +37 -13
  137. package/dist/{chunk-JQKCRTVQ.js → chunk-QHVE6AFU.js} +2 -2
  138. package/dist/{chunk-W4AR7UZH.js → chunk-QJ2BV7FM.js} +2 -2
  139. package/dist/{chunk-MP52CUHL.js → chunk-QKHW5NXL.js} +12 -6
  140. package/dist/{chunk-KRYXZVA2.js → chunk-QVHDAS3L.js} +5 -5
  141. package/dist/{chunk-5GSCSZOS.js → chunk-R3ONQOLE.js} +177 -55
  142. package/dist/{chunk-JPEIUGS5.js → chunk-RAOGN2HG.js} +2 -2
  143. package/dist/{chunk-LRWWCTSJ.js → chunk-RDWGNSVI.js} +2 -2
  144. package/dist/{chunk-LH5FRVAO.js → chunk-RHFB457E.js} +3 -3
  145. package/dist/{chunk-PGJYA6I3.js → chunk-RKIF4EU7.js} +77 -23
  146. package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
  147. package/dist/{chunk-GWSMTN55.js → chunk-RX67N2PU.js} +55 -1
  148. package/dist/{chunk-7E7VKASF.js → chunk-SC7SX2I3.js} +20 -10
  149. package/dist/{chunk-RRT6URIP.js → chunk-SGQKP2JT.js} +4 -4
  150. package/dist/{chunk-CXFW7YPT.js → chunk-SO7FT7YA.js} +99 -77
  151. package/dist/chunk-SXCM6VY3.js +125 -0
  152. package/dist/{chunk-LKWWY6WN.js → chunk-T5QI7ZL2.js} +1 -1
  153. package/dist/{chunk-BAWGEGKD.js → chunk-TFAKFI3R.js} +4 -4
  154. package/dist/{chunk-3GVHDPEP.js → chunk-THGJTFYB.js} +42 -31
  155. package/dist/{chunk-EKSS3KI7.js → chunk-TIBFCGLT.js} +1 -1
  156. package/dist/{chunk-IHX3AFTY.js → chunk-TIZC4XKU.js} +8 -5
  157. package/dist/{chunk-WFB4XPJR.js → chunk-TJGGLLQJ.js} +13 -13
  158. package/dist/{chunk-MPOWSPBD.js → chunk-TNFTRLLJ.js} +4 -4
  159. package/dist/{chunk-YWH7HWDP.js → chunk-TVWDS5AT.js} +345 -331
  160. package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
  161. package/dist/{chunk-2ZOJCSLJ.js → chunk-UBNJWS2H.js} +74 -19
  162. package/dist/{chunk-PGHROSLJ.js → chunk-UNB2DFR2.js} +4 -4
  163. package/dist/{chunk-4GPKDDQZ.js → chunk-URHIQHDR.js} +15 -15
  164. package/dist/chunk-UVZIABYZ.js +40 -0
  165. package/dist/{chunk-OZDELWQP.js → chunk-VFGFXE6J.js} +1 -1
  166. package/dist/{chunk-QBADK3LD.js → chunk-VPPKUCSP.js} +3 -3
  167. package/dist/{chunk-EUP7ODOV.js → chunk-VXRTE7MZ.js} +1 -1
  168. package/dist/{chunk-YFWFCKKF.js → chunk-WDMSNDHS.js} +7646 -7450
  169. package/dist/{chunk-HOCV5AW6.js → chunk-WI3FM54X.js} +8 -4
  170. package/dist/{chunk-SEC76O65.js → chunk-WKE3WTIU.js} +1 -1
  171. package/dist/{chunk-SGWDJLFL.js → chunk-WQGDE3L6.js} +1 -1
  172. package/dist/{chunk-BPYNILOZ.js → chunk-WRSGWDDB.js} +11 -9
  173. package/dist/{chunk-DY7PQLIE.js → chunk-WTJZ5QFR.js} +42 -5
  174. package/dist/{chunk-FGGRBKWL.js → chunk-WTZT6FSK.js} +1 -1
  175. package/dist/{chunk-BUG5AOPJ.js → chunk-XWV6BOCG.js} +3 -3
  176. package/dist/{chunk-HCQXGGVY.js → chunk-XXJBWKDS.js} +241 -25
  177. package/dist/{chunk-4WSJ5MUN.js → chunk-XXOEYRD5.js} +5 -5
  178. package/dist/{chunk-IRZUZ32B.js → chunk-XZ6THYIK.js} +11 -5
  179. package/dist/{chunk-CBG6MIT2.js → chunk-YBYNBKCN.js} +2 -2
  180. package/dist/{chunk-7HQC5MDZ.js → chunk-YMKCJRVK.js} +1 -1
  181. package/dist/{chunk-CKIVYAKG.js → chunk-Z2U7ELGP.js} +3 -3
  182. package/dist/{chunk-L5CBCPUH.js → chunk-ZIYYSD6S.js} +44 -21
  183. package/dist/{chunk-Z72VXQPN.js → chunk-ZMLZRMG7.js} +2 -2
  184. package/dist/{chunk-LRQEIKFT.js → chunk-ZQIMO52O.js} +9 -9
  185. package/dist/{clean-VB6BH3FV.js → clean-Z5REUSNY.js} +43 -40
  186. package/dist/cli.js +123 -79
  187. package/dist/{cloud-7KRPD2K4.js → cloud-NJ7G3NF3.js} +4 -4
  188. package/dist/{cloud-A67BW6OH.js → cloud-QP5R6B6A.js} +11 -9
  189. package/dist/{cloudrun-VKBARVVT.js → cloudrun-CPAZLNTW.js} +16 -14
  190. package/dist/{compare-SE55PMC3.js → compare-T5CHD25P.js} +63 -60
  191. package/dist/{compiler-WK7ABGRW.js → compiler-QVDXN4OS.js} +9 -7
  192. package/dist/{component-XT2AT3RY.js → component-QMZ46KTE.js} +24 -7
  193. package/dist/{compositions-ZZWLQNDQ.js → compositions-JHYYNBAK.js} +29 -28
  194. package/dist/{contactSheet-MXOASCDR.js → contactSheet-7SPGUTDV.js} +8 -6
  195. package/dist/contract/path-policy.json +12 -2
  196. package/dist/{curve-4RQQKZ2K.js → curve-ON6QQY7T.js} +26 -24
  197. package/dist/{cuts-M3QU2CBE.js → cuts-K4FOVP4E.js} +27 -25
  198. package/dist/{delete-5ZZNPK5G.js → delete-6WFQ3FC2.js} +22 -20
  199. package/dist/{deploy-VR5SQP4U.js → deploy-UAZQ5PBA.js} +18 -15
  200. package/dist/{describeProject-NU5BVVIA.js → describeProject-7W6BN5A2.js} +18 -16
  201. package/dist/{destroy-FFS62PAW.js → destroy-4B4OVPHJ.js} +17 -14
  202. package/dist/{deterministicFonts-FQQNGORI.js → deterministicFonts-VLIVGXUQ.js} +8 -6
  203. package/dist/{diff-NQGTF6GR.js → diff-ZSA37QQS.js} +295 -106
  204. package/dist/{dist-B7IBHWIW.js → dist-2O52E7QZ.js} +21 -18
  205. package/dist/{dist-APXZ5EN2.js → dist-ACT5C6ME.js} +5 -4
  206. package/dist/{dist-6GYOC3BU.js → dist-VRYZIJFZ.js} +14 -5
  207. package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
  208. package/dist/{doctor-FATJGTPD.js → doctor-RXQ2Y2YY.js} +30 -28
  209. package/dist/{energy-PHDK6SKL.js → energy-DRA3DCRO.js} +27 -25
  210. package/dist/{events-OIWXSBZA.js → events-4SNBQE3M.js} +29 -27
  211. package/dist/{events-25VQ2O66.js → events-AJNF2C3H.js} +16 -14
  212. package/dist/{events-RXVHG2NT.js → events-GA3YM3WT.js} +9 -9
  213. package/dist/{execute-MKP4Z573.js → execute-6LTZRWE4.js} +53 -51
  214. package/dist/{extract-YYNYXPOC.js → extract-XZQN654B.js} +30 -28
  215. package/dist/{face-JSTMFQRM.js → face-RKUNVSN3.js} +28 -26
  216. package/dist/{feedback-PY6LMZCX.js → feedback-AL7NPPMZ.js} +33 -30
  217. package/dist/{ffmpeg-KLIB55FK.js → ffmpeg-BEL7EZBA.js} +18 -16
  218. package/dist/{figma-ACFOXVPM.js → figma-IZ3NH2KZ.js} +3 -3
  219. package/dist/fontLocalizeCli.js +26 -23
  220. package/dist/{frames-BLZCBXO7.js → frames-AYE53CSZ.js} +29 -27
  221. package/dist/{generate-DMVEKZEV.js → generate-BZ4EVVQI.js} +47 -45
  222. package/dist/{get-3WZDQ5YM.js → get-2GG4NSOK.js} +18 -16
  223. package/dist/{gpuPolicy-TT6UCOLQ.js → gpuPolicy-W2ZGBXNG.js} +17 -15
  224. package/dist/{grade-compare-F5DJ53XH.js → grade-compare-65NWHVXK.js} +65 -62
  225. package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-RODCGO2L.js} +1 -1
  226. package/dist/hangReport.js +2 -2
  227. package/dist/{heifImagePrep-UV23RWOG.js → heifImagePrep-MRQ4KKDF.js} +21 -18
  228. package/dist/{help-QMP5KFYW.js → help-TEQWNNPI.js} +2 -2
  229. package/dist/{history-UOZ4RDEZ.js → history-MVNPETRW.js} +32 -29
  230. package/dist/hyperframe.manifest.json +1 -1
  231. package/dist/hyperframe.runtime.iife.js +67 -67
  232. package/dist/hyperframes-player.global.js +14 -6
  233. package/dist/{index-gen-OPMQ5WSN.js → index-gen-3DWPA4FO.js} +14 -12
  234. package/dist/{info-A6KSO64E.js → info-NGNTHWYX.js} +34 -33
  235. package/dist/{init-OQU46K3Q.js → init-H7SUGVZX.js} +58 -54
  236. package/dist/{ink-HGRKLGII.js → ink-CPZ4YZFM.js} +27 -25
  237. package/dist/{inspect-BKENKUXF.js → inspect-GZBQ7XN7.js} +63 -57
  238. package/dist/{installer-Z6FTR7BJ.js → installer-ZTHYVK4L.js} +12 -10
  239. package/dist/{keyframes-UDQGWKPW.js → keyframes-B52LQUOI.js} +96 -48
  240. package/dist/{lambda-SHXQFHLE.js → lambda-SZDQJMKA.js} +31 -29
  241. package/dist/{layout-CJAVQ4D3.js → layout-BOUOG2D2.js} +63 -59
  242. package/dist/{lint-RAPNYPWS.js → lint-H4OWI5JN.js} +26 -25
  243. package/dist/{lintProject-JZRM7UKH.js → lintProject-P4EAXFU2.js} +5 -4
  244. package/dist/{list-4BKFMJQN.js → list-VNEYACGL.js} +21 -19
  245. package/dist/{localPage-BJW2TP77.js → localPage-ZP7WVA2N.js} +18 -16
  246. package/dist/{login-S5VZAGCI.js → login-RUDOUO5Z.js} +10 -10
  247. package/dist/{logout-CCATTNTL.js → logout-5ZO6ZNS3.js} +5 -5
  248. package/dist/{look-V2I6BGUY.js → look-G3NVPKXZ.js} +27 -25
  249. package/dist/{manager-WQWU5VJ4.js → manager-KWNID2ZA.js} +6 -6
  250. package/dist/{manager-OS2FYJI5.js → manager-NXH2NJC6.js} +19 -17
  251. package/dist/{manifest-QSJYVERU.js → manifest-TSKRUXZ5.js} +5 -1
  252. package/dist/{measure-RO5R2SUZ.js → measure-5PVIZ2W2.js} +11 -11
  253. package/dist/{media-treatment-CS7BVMJW.js → media-treatment-T5QJI4PQ.js} +37 -31
  254. package/dist/{media-use-W3DGCKFB.js → media-use-RTN3SMVY.js} +9 -9
  255. package/dist/{models-ZOGYW2SC.js → models-J2CJ7EVX.js} +30 -28
  256. package/dist/{motionShot-IMRI7W7T.js → motionShot-HU7P26WJ.js} +45 -35
  257. package/dist/{normalize-PGMS24I2.js → normalize-44E7R6T5.js} +5 -1
  258. package/dist/{normalize-audio-HXTFAZUK.js → normalize-audio-2YFTP2T6.js} +25 -22
  259. package/dist/{oauth-SAVP2YM4.js → oauth-E5QBYYTX.js} +3 -3
  260. package/dist/{open-LJDQ37KV.js → open-RSCNUV6E.js} +36 -33
  261. package/dist/{parakeetRunner-CKMSKDH6.js → parakeetRunner-BUY25EIR.js} +29 -27
  262. package/dist/{pipeline-ZNCYOTUH.js → pipeline-A4RL5R5P.js} +23 -21
  263. package/dist/{plan-NCFS5T6W.js → plan-7WYNPILA.js} +40 -38
  264. package/dist/{play-5UZDFFXJ.js → play-UKHFNMYZ.js} +52 -48
  265. package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
  266. package/dist/{preflight-H5XYFKFF.js → preflight-2VFCT3PI.js} +21 -19
  267. package/dist/{present-EFXUFT5Y.js → present-ZUGFCQOF.js} +43 -39
  268. package/dist/{preview-RV7ALGDQ.js → preview-BT2ZFYMC.js} +55 -53
  269. package/dist/{probe-UB6DM2Q3.js → probe-2CLEK2UT.js} +27 -25
  270. package/dist/{producer-2PKB5CW5.js → producer-HCAMS55D.js} +1 -1
  271. package/dist/{progress-S36VQBQW.js → progress-5A4N7PTR.js} +7 -4
  272. package/dist/{projectConfig-EUH5DILC.js → projectConfig-2KJ2PXIM.js} +15 -13
  273. package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
  274. package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
  275. package/dist/{publication-VI2AXXKR.js → publication-AR63EGJF.js} +9 -7
  276. package/dist/{publish-225GB7R4.js → publish-EGKYOJWV.js} +78 -67
  277. package/dist/{refresh-X5ZLKQO5.js → refresh-GYRLZ7DZ.js} +5 -5
  278. package/dist/{remove-background-W2RLEQHJ.js → remove-background-IQQPMM24.js} +27 -25
  279. package/dist/{render-KXKBSNOQ.js → render-HJRMJYTA.js} +16 -13
  280. package/dist/{render-Y3JKWEN4.js → render-ROJ5X53T.js} +69 -66
  281. package/dist/{render-WMWCCMWI.js → render-YNSZYEEK.js} +101 -91
  282. package/dist/{render-batch-GK6CDHKN.js → render-batch-MXYDIHRO.js} +20 -16
  283. package/dist/renderSetupWorker.js +21 -11
  284. package/dist/{resolver-5CRZD5XB.js → resolver-SPLAVF76.js} +12 -10
  285. package/dist/{reverse-YPYKKQSJ.js → reverse-CE6OGBB7.js} +1 -1
  286. package/dist/{run-FQ76QNES.js → run-YVNJJL26.js} +15 -13
  287. package/dist/runtimeVersion.js +6 -1
  288. package/dist/{sam-A4NXDWSU.js → sam-2D3BUTL7.js} +5 -5
  289. package/dist/{screenshotCapture-R6VE66NR.js → screenshotCapture-DRO7VMNI.js} +20 -18
  290. package/dist/{service-P3IKHZFC.js → service-K65JYG4O.js} +30 -27
  291. package/dist/{share-BU4VQL3B.js → share-CSVWF6SB.js} +38 -35
  292. package/dist/{sherpa-44GLXY3A.js → sherpa-JE6AFUEV.js} +28 -26
  293. package/dist/sherpaWorker.js +7 -5
  294. package/dist/{sites-TAX3JLNX.js → sites-QCGTWVNF.js} +9 -5
  295. package/dist/skills/hyperframes/references/plugin-installation.md +12 -0
  296. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +47 -9
  297. package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
  298. package/dist/skills/media-use/audio/scripts/audio.mjs +24 -7
  299. package/dist/skills/media-use/audio/scripts/carve.mjs +10 -82
  300. package/dist/skills/media-use/audio/scripts/lib/audio-carve.mjs +4 -0
  301. package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +25 -7
  302. package/dist/skills/media-use/audio/scripts/lib/project-path.mjs +56 -0
  303. package/dist/skills/media-use/audio/scripts/lib/recording.mjs +66 -3
  304. package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +12 -7
  305. package/dist/skills/media-use/references/audio.md +2 -2
  306. package/dist/skills/media-use/references/mixing.md +1 -1
  307. package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
  308. package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
  309. package/dist/skills/media-use/scripts/lib/index-gen.mjs +13 -11
  310. package/dist/skills/media-use/scripts/lib/manifest.mjs +51 -4
  311. package/dist/{skills-H4OZQ6VR.js → skills-L3BXM7VJ.js} +22 -20
  312. package/dist/{skillsUpdateCheck-U3XZX7UE.js → skillsUpdateCheck-VUENI5OR.js} +7 -7
  313. package/dist/{snapshot-FJQVXBFB.js → snapshot-GI2GWIF6.js} +121 -99
  314. package/dist/{src-PAM5LJ6K.js → src-B646B52O.js} +36 -22
  315. package/dist/{src-O6BHCR4O.js → src-ZXZO5RCJ.js} +30 -27
  316. package/dist/{start-R7CYOQ5S.js → start-ZNGKXRNE.js} +46 -44
  317. package/dist/{state-YFRV6TQH.js → state-7CJBWHXJ.js} +7 -4
  318. package/dist/{staticProjectServer-4X2OSUN4.js → staticProjectServer-46T6YTPF.js} +35 -32
  319. package/dist/{status-VN3FAN4M.js → status-7SWTPLVI.js} +43 -39
  320. package/dist/studio/assets/hyperframes-player-bya4hgms.js +573 -0
  321. package/dist/studio/assets/{index-yuN1pZrv.js → index--dcfSUzI.js} +1 -1
  322. package/dist/studio/assets/{index-CgyBYe2L.js → index-Bxh5lW0C.js} +178 -178
  323. package/dist/studio/assets/{pausedVideoDecoder-DtvSF8bV.js → pausedVideoDecoder-BKym1jA6.js} +1 -1
  324. package/dist/studio/index.html +1 -1
  325. package/dist/{studio-api-V3TMIWFB.js → studio-api-4XKM5HDR.js} +21 -18
  326. package/dist/{studioServer-GY2ZTR2E.js → studioServer-4TWRIZNU.js} +206 -139
  327. package/dist/subCompositionWorker.js +1163 -0
  328. package/dist/{sync-2V3JYCDE.js → sync-R3K6LYB3.js} +27 -25
  329. package/dist/{synthesize-TQELPMS5.js → synthesize-OZ3SJTOF.js} +22 -12
  330. package/dist/{system-2YOII5LZ.js → system-LZ4PMOJD.js} +3 -3
  331. package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
  332. package/dist/{telemetry-KMRZ3IJV.js → telemetry-WSBY25O3.js} +16 -14
  333. package/dist/{templates-EEFY4FPS.js → templates-ITP6ISAF.js} +41 -33
  334. package/dist/{timeline-HSRGYZ3Q.js → timeline-U7GJMYKV.js} +51 -44
  335. package/dist/{tokens-NYFORL53.js → tokens-3YTSUU27.js} +6 -5
  336. package/dist/{transcribe-GFFWRWK3.js → transcribe-ISCBYWN4.js} +24 -22
  337. package/dist/{transcribe-CNIQYQ52.js → transcribe-QHHY5M3G.js} +58 -56
  338. package/dist/{tts-NPMDYSXP.js → tts-24IJXIT2.js} +9 -9
  339. package/dist/{update-BDMPUNNA.js → update-SVEH2GOL.js} +25 -23
  340. package/dist/{updateCheck-43UZ2USJ.js → updateCheck-MDG7N7VO.js} +6 -6
  341. package/dist/{upgrade-Z5B57UWL.js → upgrade-6CGAI4OR.js} +12 -10
  342. package/dist/{urlDownloader-KDZ76BKM.js → urlDownloader-VPQTIGEH.js} +16 -14
  343. package/dist/{validate-UQKZNR5K.js → validate-QUB4KCEQ.js} +50 -43
  344. package/dist/{video-VR4363OG.js → video-PUGZ5UHS.js} +37 -30
  345. package/dist/{voices-GUWAM3TH.js → voices-4UO5AYLS.js} +44 -42
  346. package/dist/warmCheck.js +72 -70
  347. package/dist/warmCheckClient.js +4 -4
  348. package/package.json +1 -1
  349. package/dist/chunk-56T2OGYR.js +0 -5085
  350. package/dist/chunk-IJYIIHGK.js +0 -21
  351. package/dist/chunk-JOQR4AP6.js +0 -22
  352. package/dist/chunk-MK4RH5L7.js +0 -81
  353. package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +0 -46
  354. package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +0 -149
  355. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +0 -231
  356. package/dist/skills/media-use/audio/scripts/audio.test.mjs +0 -166
  357. package/dist/skills/media-use/audio/scripts/carve.test.mjs +0 -254
  358. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +0 -131
  359. package/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +0 -38
  360. package/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +0 -233
  361. package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +0 -136
  362. package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +0 -135
  363. package/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +0 -41
  364. package/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +0 -86
  365. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +0 -253
  366. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +0 -627
  367. package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +0 -239
  368. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +0 -198
  369. package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +0 -331
  370. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +0 -181
  371. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +0 -183
  372. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +0 -280
  373. package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +0 -21
  374. package/dist/skills/media-use/audio/scripts/recording.test.mjs +0 -139
  375. package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +0 -106
  376. package/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +0 -108
  377. package/dist/skills/media-use/scripts/compatibility.test.mjs +0 -41
  378. package/dist/skills/media-use/scripts/dither.test.mjs +0 -176
  379. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +0 -143
  380. package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -178
  381. package/dist/skills/media-use/scripts/lib/cache.test.mjs +0 -110
  382. package/dist/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
  383. package/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
  384. package/dist/skills/media-use/scripts/lib/config-lock.test.mjs +0 -79
  385. package/dist/skills/media-use/scripts/lib/coverage.test.mjs +0 -136
  386. package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +0 -39
  387. package/dist/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
  388. package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -130
  389. package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +0 -174
  390. package/dist/skills/media-use/scripts/lib/duck.test.mjs +0 -319
  391. package/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
  392. package/dist/skills/media-use/scripts/lib/freeze.test.mjs +0 -138
  393. package/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
  394. package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -315
  395. package/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
  396. package/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -435
  397. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +0 -92
  398. package/dist/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
  399. package/dist/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
  400. package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -312
  401. package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -331
  402. package/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -199
  403. package/dist/skills/media-use/scripts/lib/manifest.test.mjs +0 -397
  404. package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +0 -197
  405. package/dist/skills/media-use/scripts/lib/media-home.test.mjs +0 -61
  406. package/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
  407. package/dist/skills/media-use/scripts/lib/misses.test.mjs +0 -89
  408. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -41
  409. package/dist/skills/media-use/scripts/lib/openverse.test.mjs +0 -219
  410. package/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
  411. package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +0 -173
  412. package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -245
  413. package/dist/skills/media-use/scripts/lib/probe.test.mjs +0 -221
  414. package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -391
  415. package/dist/skills/media-use/scripts/lib/registry.test.mjs +0 -261
  416. package/dist/skills/media-use/scripts/lib/search.test.mjs +0 -32
  417. package/dist/skills/media-use/scripts/lib/specs.test.mjs +0 -157
  418. package/dist/skills/media-use/scripts/lib/stats.test.mjs +0 -165
  419. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +0 -550
  420. package/dist/skills/media-use/scripts/lib/test-home.test.mjs +0 -10
  421. package/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +0 -33
  422. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -59
  423. package/dist/skills/media-use/scripts/lib/usage.test.mjs +0 -54
  424. package/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
  425. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +0 -86
  426. package/dist/skills/media-use/scripts/transcribe.test.mjs +0 -215
  427. package/dist/skills/media-use/scripts/transcript-cut.test.mjs +0 -341
  428. package/dist/studio/assets/hyperframes-player-SRLbmEDB.js +0 -565
@@ -17,62 +17,64 @@ import {
17
17
  sherpaRuntimeLoadError,
18
18
  sherpaUnsupportedReason,
19
19
  transcribeWithSherpa
20
- } from "./chunk-EGR2ZFFP.js";
21
- import "./chunk-IDGWNOBX.js";
22
- import "./chunk-YTHXSYYB.js";
20
+ } from "./chunk-OPIS2YMA.js";
21
+ import "./chunk-LB6ZAP4I.js";
22
+ import "./chunk-4VJQVTQI.js";
23
23
  import "./chunk-3S27CPV7.js";
24
24
  import "./chunk-6BEFEWFB.js";
25
- import "./chunk-T5HYPGST.js";
26
- import "./chunk-UHVKV5IF.js";
27
- import "./chunk-JPEIUGS5.js";
28
- import "./chunk-XLP34AJR.js";
25
+ import "./chunk-QC35TPEE.js";
26
+ import "./chunk-J4OHC5FU.js";
27
+ import "./chunk-RAOGN2HG.js";
28
+ import "./chunk-JQ7BPN2R.js";
29
29
  import "./chunk-RZ6CXJ56.js";
30
30
  import "./chunk-R4EWRIDL.js";
31
31
  import "./chunk-JJ47LVJ7.js";
32
- import "./chunk-B6BWLFAF.js";
33
- import "./chunk-CDNVZEGQ.js";
34
- import "./chunk-LK7F7P2X.js";
32
+ import "./chunk-6R4MEYWD.js";
33
+ import "./chunk-AEXDJU77.js";
34
+ import "./chunk-5T6HPV25.js";
35
35
  import "./chunk-UOFAE5RF.js";
36
36
  import "./chunk-IR35BCLK.js";
37
37
  import "./chunk-HU2SPFNG.js";
38
38
  import "./chunk-EHZESMRB.js";
39
- import "./chunk-6LONEKJR.js";
40
- import "./chunk-OSKSTJNQ.js";
39
+ import "./chunk-CC72LTIT.js";
41
40
  import "./chunk-Z5J67X44.js";
41
+ import "./chunk-PJQVJSMG.js";
42
+ import "./chunk-3GXQPCJC.js";
42
43
  import "./chunk-YXX6CIHL.js";
43
44
  import "./chunk-5S7W3TUO.js";
44
45
  import "./chunk-D54ZDCZR.js";
45
- import "./chunk-L5NPBGQB.js";
46
- import "./chunk-PUTPYYE4.js";
47
- import "./chunk-3GXQPCJC.js";
48
- import "./chunk-JQKCRTVQ.js";
46
+ import "./chunk-I6OSAVHD.js";
47
+ import "./chunk-K2WLOTTF.js";
48
+ import "./chunk-QHVE6AFU.js";
49
49
  import "./chunk-FXMKHHPO.js";
50
- import "./chunk-56T2OGYR.js";
50
+ import "./chunk-NI7JVGOE.js";
51
51
  import "./chunk-VC76R6W2.js";
52
- import "./chunk-UVPLW55S.js";
52
+ import "./chunk-MHF5F4FF.js";
53
+ import "./chunk-UVZIABYZ.js";
53
54
  import "./chunk-RQVDTPGD.js";
54
- import "./chunk-CNAOJ7XI.js";
55
- import "./chunk-X6JUUQCM.js";
55
+ import "./chunk-A7NRMVUG.js";
56
+ import "./chunk-Q4FVSYTD.js";
56
57
  import "./chunk-KGPLIH7B.js";
57
58
  import "./chunk-6LU6JICP.js";
58
- import "./chunk-YQSVPHOS.js";
59
+ import "./chunk-HLOJSBGC.js";
59
60
  import "./chunk-6EMFSRTW.js";
60
- import "./chunk-L27Z3PZT.js";
61
+ import "./chunk-CIXP5G7Z.js";
61
62
  import "./chunk-IH2C53YV.js";
62
- import "./chunk-BA33QNKK.js";
63
+ import "./chunk-4NDSGKPO.js";
63
64
  import "./chunk-FR7YBU3H.js";
64
65
  import "./chunk-DZWAYZG2.js";
66
+ import "./chunk-WC4MTXGN.js";
65
67
  import "./chunk-GWTIFRF5.js";
66
68
  import "./chunk-2RY2LWAA.js";
67
- import "./chunk-WC4MTXGN.js";
69
+ import "./chunk-KK5Z5XQ3.js";
68
70
  import "./chunk-WFQJ6EJ6.js";
69
71
  import "./chunk-4NTCQF3L.js";
70
- import "./chunk-JOQR4AP6.js";
72
+ import "./chunk-KUJJJBV2.js";
71
73
  import "./chunk-QBXDU24O.js";
72
74
  import "./chunk-E63BDV4Z.js";
73
75
  import "./chunk-XT6MXC7A.js";
74
76
  import "./chunk-7KDQAD2W.js";
75
- import "./chunk-GWSMTN55.js";
77
+ import "./chunk-RX67N2PU.js";
76
78
  import "./chunk-M2WBOQ2Q.js";
77
79
  export {
78
80
  DecodeCancelled,
@@ -11,18 +11,20 @@ import {
11
11
  droppedSpeechGaps,
12
12
  silenceCuts,
13
13
  spliceGap
14
- } from "./chunk-LK7F7P2X.js";
14
+ } from "./chunk-5T6HPV25.js";
15
15
  import {
16
16
  readWav
17
17
  } from "./chunk-UOFAE5RF.js";
18
18
  import "./chunk-IR35BCLK.js";
19
19
  import "./chunk-HU2SPFNG.js";
20
- import "./chunk-PUTPYYE4.js";
21
- import "./chunk-UVPLW55S.js";
20
+ import "./chunk-K2WLOTTF.js";
21
+ import "./chunk-MHF5F4FF.js";
22
+ import "./chunk-UVZIABYZ.js";
22
23
  import "./chunk-KGPLIH7B.js";
24
+ import "./chunk-KK5Z5XQ3.js";
23
25
  import "./chunk-3F2DTPBD.js";
24
- import "./chunk-OZDELWQP.js";
25
- import "./chunk-GWSMTN55.js";
26
+ import "./chunk-VFGFXE6J.js";
27
+ import "./chunk-RX67N2PU.js";
26
28
  import "./chunk-M2WBOQ2Q.js";
27
29
 
28
30
  // src/whisper/sherpaWorker.ts
@@ -7,13 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  DEFAULT_STACK_NAME,
9
9
  requireStack
10
- } from "./chunk-MK4RH5L7.js";
10
+ } from "./chunk-SXCM6VY3.js";
11
+ import "./chunk-JT7RXK2N.js";
11
12
  import {
12
13
  c
13
14
  } from "./chunk-JCNPHRGX.js";
14
- import "./chunk-PUTPYYE4.js";
15
- import "./chunk-UVPLW55S.js";
16
- import "./chunk-66W5IWLO.js";
15
+ import "./chunk-K2WLOTTF.js";
16
+ import "./chunk-MHF5F4FF.js";
17
+ import "./chunk-UVZIABYZ.js";
18
+ import "./chunk-KK5Z5XQ3.js";
19
+ import "./chunk-U7M4SZUB.js";
17
20
  import "./chunk-CPHQTXP5.js";
18
21
  import "./chunk-LW33P24U.js";
19
22
  import "./chunk-XT6MXC7A.js";
@@ -28,11 +31,12 @@ async function loadSDK() {
28
31
  async function runSitesCreate(args) {
29
32
  const stack = requireStack(args.stackName);
30
33
  const projectDir = resolvePath(args.projectDir);
31
- const { assertStackReadsSites, deploySite } = await loadSDK();
34
+ const { assertStackReadsSites, deploySite, parseStateMachineArn } = await loadSDK();
32
35
  await assertStackReadsSites({ stateMachineArn: stack.stateMachineArn, region: stack.region });
33
36
  const handle = await deploySite({
34
37
  projectDir,
35
38
  bucketName: stack.bucketName,
39
+ expectedBucketOwner: parseStateMachineArn(stack.stateMachineArn).account,
36
40
  region: stack.region,
37
41
  siteId: args.siteId,
38
42
  onNotice: (message) => console.error(c.dim(message))
@@ -30,6 +30,18 @@ Check the directory two levels above the loaded `SKILL.md` for `plugin.json`,
30
30
  `.cursor-plugin/plugin.json` identifying `hyperframes`, or a Gemini extension manifest.
31
31
  That directory is `<PLUGIN_ROOT>`, and `<SKILLS>` is `<PLUGIN_ROOT>/skills`.
32
32
 
33
+ Call the directory you run the launcher in the working directory. It is a plugin install only
34
+ when all three of these hold:
35
+
36
+ - The name of `<PLUGIN_ROOT>` does not start with a dot, so it is not `.agents` or `.claude`.
37
+ - `<PLUGIN_ROOT>` is not the working directory, and it does not contain it.
38
+ - If `<PLUGIN_ROOT>` is inside the working directory, a folder whose name starts with a dot
39
+ lies between them, as `.claude` does in `~/.claude/plugins/...` when you work in `~`.
40
+
41
+ Otherwise the skills are a standalone install, and the launcher ignores any manifest there.
42
+ Ignore it too, and follow the standalone rules above. The launcher refuses a manifest that
43
+ pins a release older than 0.9.34.
44
+
33
45
  For a plugin installation, these rules also apply in every skill and reference:
34
46
 
35
47
  - Do not run `hyperframes skills update`, `skills check`, or `npx skills add`.
@@ -3,9 +3,9 @@
3
3
  // release in its manifest; a standalone skill install takes the newest release from npm.
4
4
  import "./lib/windows-exe-search.mjs";
5
5
  import { spawnSync } from "node:child_process";
6
- import { existsSync, readFileSync } from "node:fs";
6
+ import { existsSync, readFileSync, realpathSync } from "node:fs";
7
7
  import { homedir } from "node:os";
8
- import { join, win32 } from "node:path";
8
+ import { basename, isAbsolute, join, relative, resolve, sep, win32 } from "node:path";
9
9
  import { fileURLToPath } from "node:url";
10
10
  import { isMainModule } from "./lib/main-module.mjs";
11
11
 
@@ -18,7 +18,45 @@ const manifests = [
18
18
  "gemini-extension.json",
19
19
  ];
20
20
 
21
- export function pluginVersion(pluginRoot = root) {
21
+ // The first release whose bin moves into HYPERFRAMES_PLUGIN_CWD. An older one would run the
22
+ // command in the home folder.
23
+ const CLI_FLOOR = "0.9.34";
24
+ export const STANDALONE_CLI = `hyperframes@>=${CLI_FLOOR}`;
25
+
26
+ const realOrResolved = (path) => {
27
+ try {
28
+ return realpathSync.native(path);
29
+ } catch {
30
+ return resolve(path);
31
+ }
32
+ };
33
+
34
+ const isOutside = (from, to) => {
35
+ const path = relative(from, to);
36
+ return path === ".." || path.startsWith(`..${sep}`) || isAbsolute(path);
37
+ };
38
+
39
+ // Plugin managers keep bundles in their own folders, such as ~/.claude/plugins or ~/.gemini/extensions.
40
+ // Skills in a dot folder (.agents, .claude) or in the working folder's own tree are project content.
41
+ function isPluginBundle(pluginRoot, workDir) {
42
+ const bundle = realOrResolved(pluginRoot);
43
+ const work = realOrResolved(workDir);
44
+ if (basename(bundle).startsWith(".") || !isOutside(bundle, work)) return false;
45
+ if (isOutside(work, bundle)) return true;
46
+ return relative(work, bundle)
47
+ .split(sep)
48
+ .some((segment) => segment.startsWith("."));
49
+ }
50
+
51
+ function isBelowFloor(version) {
52
+ const parts = (text) => text.split("-")[0].split(".").map(Number);
53
+ const [have, floor] = [parts(version), parts(CLI_FLOOR)];
54
+ const at = have.findIndex((part, index) => part !== floor[index]);
55
+ return at === -1 ? version.includes("-") : have[at] < floor[at];
56
+ }
57
+
58
+ export function pluginVersion(pluginRoot = root, workDir = process.cwd()) {
59
+ if (!isPluginBundle(pluginRoot, workDir)) return undefined;
22
60
  for (const path of manifests) {
23
61
  const file = join(pluginRoot, path);
24
62
  if (!existsSync(file)) continue;
@@ -29,15 +67,15 @@ export function pluginVersion(pluginRoot = root) {
29
67
  ) {
30
68
  throw new Error(`Invalid HyperFrames plugin release: ${file}`);
31
69
  }
70
+ if (isBelowFloor(manifest.version))
71
+ throw new Error(
72
+ `${file} pins HyperFrames ${manifest.version}; this launcher runs ${CLI_FLOOR} or newer.`,
73
+ );
32
74
  return manifest.version;
33
75
  }
34
76
  return undefined;
35
77
  }
36
78
 
37
- // The first release whose bin moves into HYPERFRAMES_PLUGIN_CWD. An older one would run the
38
- // command in the home folder.
39
- export const STANDALONE_CLI = "hyperframes@>=0.9.34";
40
-
41
79
  // npm takes the package, bin links and .npmrc from the folder it starts in, so npx starts
42
80
  // in the home folder and the CLI moves into the project before it runs a command. A shared
43
81
  // folder such as the temp folder is no substitute, so there is no fallback.
@@ -49,12 +87,12 @@ export function npmFolder(home = homedir(), pathExists = existsSync) {
49
87
  export function invocation(
50
88
  args,
51
89
  {
52
- version = pluginVersion(),
90
+ cwd = process.cwd(),
91
+ version = pluginVersion(root, cwd),
53
92
  env = process.env,
54
93
  platform = process.platform,
55
94
  node = process.execPath,
56
95
  pathExists = existsSync,
57
- cwd = process.cwd(),
58
96
  npmCwd,
59
97
  launcher = fileURLToPath(import.meta.url),
60
98
  } = {},
@@ -181,7 +181,7 @@ The default action set is deliberately broad (`Resource: "*"`) because CloudForm
181
181
 
182
182
  ## State, cost, and cleanup
183
183
 
184
- `hyperframes lambda` stores per-stack metadata under `<cwd>/.hyperframes/lambda-stack-<name>.json` (bucket name, state-machine ARN, region). Not secret, but AWS-account-identifying. Commit it to a repo or `.gitignore` it per your workflow.
184
+ `hyperframes lambda` stores per-stack metadata under `<cwd>/.hyperframes/lambda-stack-<name>.json` (bucket name, state-machine ARN, region). Not secret, but AWS-account-identifying. Commit it to a repo or `.gitignore` it per your workflow. The CLI refuses a state file with malformed fields or one that is a symlink, and uploads only to a bucket owned by the account of the file's state machine.
185
185
 
186
186
  - `lambda destroy` removes the SAM stack but **leaves the S3 bucket** (`Retain`). Delete it manually if you want the storage back.
187
187
  - Lambda billing is per-invocation + duration. `progress` reports the accrued cost.
@@ -39,7 +39,7 @@
39
39
  // before assembling.
40
40
 
41
41
  import { existsSync, mkdirSync, readFileSync } from "node:fs";
42
- import { dirname, join, resolve } from "node:path";
42
+ import { dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
43
43
  import { fileURLToPath } from "node:url";
44
44
  import { heygenAuthHeaders, heygenCredential, loadEnvFromDir } from "./lib/heygen.mjs";
45
45
  import {
@@ -53,10 +53,11 @@ import {
53
53
  import { generateBgmDetached, inferBgmPrompt, retrieveBgm } from "./lib/bgm.mjs";
54
54
  import { BUNDLED_SFX_DIR, resolveSfx } from "./lib/sfx.mjs";
55
55
  import { voiceCredit } from "./lib/voice-credit.mjs";
56
- import { parseWords, scaleWords, stretchToWav } from "./lib/recording.mjs";
56
+ import { parseWords, recordingSource, scaleWords, stretchToWav } from "./lib/recording.mjs";
57
57
  import { mapWithConcurrency } from "./lib/concurrency.mjs";
58
58
  import { openAudioMeta } from "./lib/audio-meta.mjs";
59
59
  import { recordInManifest, voicePaths, writtenAssets } from "./lib/media-record.mjs";
60
+ import { engineBgmLog, projectPath } from "./lib/project-path.mjs";
60
61
 
61
62
  const HERE = dirname(fileURLToPath(import.meta.url));
62
63
  const argv = process.argv.slice(2);
@@ -120,6 +121,11 @@ loadEnvFromDir(hyperframesDir);
120
121
  const heygenOK = heygenCredential() !== null;
121
122
 
122
123
  // ── merge base: preserve sections not selected by --only ──────────────────────
124
+ // An output inside the project must stay there: a link planted at audio_meta.json must not lead outside.
125
+ const outRel = relative(hyperframesDir, outPath);
126
+ const outInProject = outRel !== ".." && !outRel.startsWith(`..${sep}`) && !isAbsolute(outRel);
127
+ if (outInProject && !projectPath(hyperframesDir, outRel))
128
+ die(`${outPath} leads outside the project folder; replace it with a regular file`);
123
129
  const audioMeta = openAudioMeta(outPath);
124
130
  const prev = audioMeta.value;
125
131
  const anomalies = [];
@@ -129,6 +135,16 @@ let voices = prev.voices ?? [];
129
135
  let ttsProvider = prev.tts_provider ?? null;
130
136
  let voiceId = prev.voice_id ?? null;
131
137
  if (only.has("tts") && lines.length) {
138
+ // Every voice file and recording path is checked before any TTS runs.
139
+ let paths;
140
+ const recordings = new Map();
141
+ try {
142
+ paths = voicePaths(hyperframesDir, lines, anomalies);
143
+ for (const line of lines.filter((l) => l.audio))
144
+ recordings.set(String(line.id), recordingSource(hyperframesDir, line.audio));
145
+ } catch (e) {
146
+ die(e.message);
147
+ }
132
148
  if (lines.some((l) => !l.audio)) {
133
149
  try {
134
150
  ttsProvider = pickProvider(
@@ -147,11 +163,10 @@ if (only.has("tts") && lines.length) {
147
163
  voiceId = null;
148
164
  }
149
165
  console.error(`· tts: ${ttsProvider} · voice ${voiceId} · ${lines.length} line(s)`);
150
- const paths = voicePaths(hyperframesDir, lines, anomalies);
151
- // A line with `audio` is the person's own recording (path relative to the project), with optional
166
+ // A line with `audio` is the person's own recording (path inside the project), with optional
152
167
  // `words`; `speed` applies to it like to a generated voice. Returns synthesizeOne's shape.
153
168
  const useRecording = (line, abs) => {
154
- const made = stretchToWav(resolve(hyperframesDir, String(line.audio)), abs, speed);
169
+ const made = stretchToWav(recordings.get(String(line.id)), abs, speed);
155
170
  if (!made.ok) return made;
156
171
  try {
157
172
  const given = parseWords(line.words);
@@ -213,11 +228,13 @@ const totalDuration = r3(voices.reduce((a, v) => a + (v.duration_s || 0), 0));
213
228
 
214
229
  // ── BGM ─────────────────────────────────────────────────────────────────────
215
230
  let bgm = prev.bgm ?? null;
231
+ // A running job's pid and log carry over only with the engine's own log in assets/bgm.
232
+ const ownJob = engineBgmLog(hyperframesDir, prev.bgm_log) !== null;
216
233
  const bgmFields = {
217
234
  bgm_pending: prev.bgm_pending ?? false,
218
235
  bgm_provider: prev.bgm_provider ?? null,
219
- bgm_pid: prev.bgm_pid ?? null,
220
- bgm_log: prev.bgm_log ?? null,
236
+ bgm_pid: ownJob ? (prev.bgm_pid ?? null) : null,
237
+ bgm_log: ownJob ? prev.bgm_log : null,
221
238
  bgm_mode: prev.bgm_mode ?? null,
222
239
  bgm_target_duration_s: prev.bgm_target_duration_s ?? null,
223
240
  bgm_seed_duration_s: prev.bgm_seed_duration_s ?? null,
@@ -18,18 +18,16 @@
18
18
  * voice is analysed together, so a bed running under a narrator and an answer makes
19
19
  * room for both.
20
20
  *
21
- * Needs `ffmpeg` on PATH (to decode the audio) and `@hyperframes/core` resolvable
22
- * from the composition's project (`npm i -D @hyperframes/core`) — the CLI bundles
23
- * core inline rather than shipping it as a package, so it cannot be borrowed from
24
- * there.
21
+ * Needs `ffmpeg` on PATH (to decode the audio). The analysis ships beside this
22
+ * script (`lib/audio-carve.mjs`, generated from core), so nothing in the
23
+ * composition's project is loaded.
25
24
  */
26
25
 
27
26
  import "../../scripts/lib/windows-exe-search.mjs";
28
27
  import { execFileSync } from "node:child_process";
29
- import { createRequire } from "node:module";
30
28
  import { readFileSync, writeFileSync } from "node:fs";
31
29
  import { dirname, resolve } from "node:path";
32
- import { pathToFileURL } from "node:url";
30
+ import * as carveApi from "./lib/audio-carve.mjs";
33
31
  import { isMainModule } from "./lib/main-module.mjs";
34
32
 
35
33
  /** Sample rate the analysis runs at. Matches Studio's own decode rate, so the
@@ -40,13 +38,12 @@ const SAMPLE_RATE = 48000;
40
38
  export const DEFAULT_STRENGTH = 0.8;
41
39
 
42
40
  const usage = `carve.mjs --comp <file.html> [--bed <elementId>] [--voice <elementId> ...]
43
- [--strength 0..1] [--dry-run] [--core <dir>]
41
+ [--strength 0..1] [--dry-run]
44
42
 
45
43
  --bed id of the music track that gets carved (detected if omitted)
46
44
  --voice id of a voice to make room for; repeatable (detected if omitted)
47
45
  --strength how hard to carve, 0..1 (default ${DEFAULT_STRENGTH})
48
- --dry-run report what it would write, touch nothing
49
- --core directory to resolve @hyperframes/core from (default: the comp's)`;
46
+ --dry-run report what it would write, touch nothing`;
50
47
 
51
48
  export function parseArgs(argv) {
52
49
  const args = { strength: DEFAULT_STRENGTH, dryRun: false, voices: [] };
@@ -62,7 +59,6 @@ export function parseArgs(argv) {
62
59
  else if (flag === "--bed") args.bed = next();
63
60
  else if (flag === "--voice") args.voices.push(next());
64
61
  else if (flag === "--strength") args.strength = Number(next());
65
- else if (flag === "--core") args.core = next();
66
62
  else if (flag === "--dry-run") args.dryRun = true;
67
63
  else if (flag === "-h" || flag === "--help") fail(usage, 0);
68
64
  else fail(`unknown flag: ${flag}\n\n${usage}`);
@@ -79,73 +75,6 @@ function fail(message, code = 1) {
79
75
  process.exit(code);
80
76
  }
81
77
 
82
- /**
83
- * Load the carve analysis out of `@hyperframes/core`.
84
- *
85
- * Resolved from the project rather than from this script, which lives wherever
86
- * the skill was installed — a sibling of the composition is what has the
87
- * dependency.
88
- */
89
- export async function loadCore(fromDir) {
90
- const require = createRequire(pathToFileURL(resolve(fromDir, "package.json")));
91
-
92
- /*
93
- * Two constraints at once, and satisfying either alone is broken:
94
- *
95
- * 1. Anchored at the PROJECT, not at this script. This file lives wherever
96
- * the skill was installed, which has no @hyperframes/core; the
97
- * composition's project is what holds the dependency. So a bare
98
- * `import("@hyperframes/core/audio-carve")` from here cannot work — bare
99
- * specifiers resolve relative to the importing module.
100
- * 2. Honouring the package's export CONDITIONS. `require.resolve` asks for
101
- * "require"/"node". The workspace manifest declares `node`, so this
102
- * resolved fine inside the monorepo — but the PUBLISHED manifest carries
103
- * only `import` + `types`, so every consumer of the released package got
104
- * ERR_PACKAGE_PATH_NOT_EXPORTED for a package that ships the file. That
105
- * is the audience this skill is shipped to, so the script was broken
106
- * everywhere except where it was developed.
107
- *
108
- * Keep the project anchor; fall back to the package's declared `import`
109
- * target when no require-resolvable condition exists.
110
- */
111
- const load = async (subpath) => {
112
- const spec = `@hyperframes/core/${subpath}`;
113
- try {
114
- return await import(pathToFileURL(require.resolve(spec)).href);
115
- } catch (error) {
116
- if (error?.code !== "ERR_PACKAGE_PATH_NOT_EXPORTED") throw error;
117
- // `./package.json` is exported by every manifest, so this always resolves
118
- // and gives us the package root without guessing at node_modules layout.
119
- const pkgPath = require.resolve("@hyperframes/core/package.json");
120
- const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
121
- const entry = pkg.exports?.[`./${subpath}`];
122
- const target = typeof entry === "string" ? entry : (entry?.import ?? entry?.default ?? null);
123
- if (!target) {
124
- fail(
125
- `@hyperframes/core does not export ./${subpath}\n` +
126
- ` found at: ${pkgPath} (version ${pkg.version})\n` +
127
- ` update it: npm i -D @hyperframes/core`,
128
- );
129
- }
130
- return import(pathToFileURL(resolve(dirname(pkgPath), target)).href);
131
- }
132
- };
133
-
134
- try {
135
- return {
136
- carve: await load("audio-carve"),
137
- fx: await load("audio-fx"),
138
- };
139
- } catch (error) {
140
- fail(
141
- `cannot load @hyperframes/core from ${fromDir}\n` +
142
- ` is it installed there? npm i -D @hyperframes/core\n` +
143
- ` or point at one: --core <dir containing node_modules/@hyperframes/core>\n` +
144
- ` (${error.code ?? "error"}: ${error.message.split("\n")[0]})`,
145
- );
146
- }
147
- }
148
-
149
78
  /**
150
79
  * The `sources` a carve should record for these voices, on this bed.
151
80
  *
@@ -383,7 +312,6 @@ async function main() {
383
312
  const args = parseArgs(process.argv.slice(2));
384
313
  const compPath = resolve(args.comp);
385
314
  const compDir = dirname(compPath);
386
- const { carve: carveApi, fx: fxApi } = await loadCore(args.core ? resolve(args.core) : compDir);
387
315
 
388
316
  const html = readFileSync(compPath, "utf-8");
389
317
  const {
@@ -433,7 +361,7 @@ async function main() {
433
361
  // carve's own nodes are replaced. That is what `fromCarve` is for.
434
362
  const existingChain = attrOf(bedTag, "data-fx-chain");
435
363
  const existingNodes = existingChain
436
- ? fxApi.parseAudioFxChain(unescapeAttr(existingChain)).nodes
364
+ ? carveApi.parseAudioFxChain(unescapeAttr(existingChain)).nodes
437
365
  : [];
438
366
  const kept = existingNodes.filter((n) => !n.fromCarve);
439
367
  // Lanes belonging to the carve being replaced, addressed by the ids the OLD
@@ -444,7 +372,7 @@ async function main() {
444
372
 
445
373
  let claimed = { version: 1, nodes: kept };
446
374
  const mint = (node) => {
447
- const withId = { ...node, id: fxApi.mintAudioFxNodeId(claimed), fromCarve: true };
375
+ const withId = { ...node, id: carveApi.mintAudioFxNodeId(claimed), fromCarve: true };
448
376
  claimed = { version: 1, nodes: [...claimed.nodes, withId] };
449
377
  return withId;
450
378
  };
@@ -456,7 +384,7 @@ async function main() {
456
384
  type: "gain",
457
385
  enabled: true,
458
386
  params: {
459
- ...fxApi.defaultAudioFxParams("gain"),
387
+ ...carveApi.defaultAudioFxParams("gain"),
460
388
  gain: 0,
461
389
  },
462
390
  })
@@ -522,7 +450,7 @@ async function main() {
522
450
  }
523
451
  const written =
524
452
  ` data-fx-carve="${escapeAttr(JSON.stringify(settings))}"` +
525
- ` data-fx-chain="${escapeAttr(fxApi.serializeAudioFxChain(chain))}"` +
453
+ ` data-fx-chain="${escapeAttr(carveApi.serializeAudioFxChain(chain))}"` +
526
454
  (lanes.length > 0
527
455
  ? ` data-automation="${escapeAttr(JSON.stringify({ version: 1, lanes }))}"`
528
456
  : "");
@@ -0,0 +1,4 @@
1
+ // GENERATED: do not hand-edit. Source: packages/core/src/audioCarve.ts and audioFx.ts, bundled by
2
+ // scripts/generate-media-use-audio-carve.mjs so carve.mjs runs the same analysis as Studio without
3
+ // loading @hyperframes/core from the project. Regenerate: node scripts/generate-media-use-audio-carve.mjs
4
+ var Z="data-fx-chain",Ne=Z.slice(5),D=1,C=(e="frequency",n="Frequency",t=1e3,a=20,r=2e4)=>({kind:"number",key:e,label:n,unit:"Hz",min:a,max:r,step:1,default:t,scale:"log",automatable:!0}),I=(e=.707,n="Bandwidth: higher is narrower.")=>({kind:"number",key:"q",label:"Q",unit:"",min:.1,max:20,step:.01,default:e,scale:"log",automatable:!0,hint:n}),E=(e=-40,n=40,t=0)=>({kind:"number",key:"gain",label:"Gain",unit:"dB",min:e,max:n,step:.1,default:t,automatable:!0}),L={kind:"enum",key:"poles",label:"Slope",options:[{value:"1",label:"6 dB/oct"},{value:"2",label:"12 dB/oct"}],default:"2",hint:"Two poles is the usual biquad; one pole is gentler."},V=[{id:"gain",label:"Gain",group:"dynamics",description:"Raise or lower the whole signal. Automate it to duck under something else.",params:[E(-60,12,0)],web:"gain-node"},{id:"peaking",label:"Peaking EQ",group:"filter",description:"Boost or cut a band, leaving everything either side alone.",params:[C("frequency","Frequency",1e3),E(-40,40,0),I(1)],web:"biquad-peaking"},{id:"lowshelf",label:"Low Shelf",group:"filter",description:"Lift or drop everything below the corner frequency.",params:[C("frequency","Frequency",200,20,2e3),E(-40,40,0)],web:"biquad-lowshelf"},{id:"highshelf",label:"High Shelf",group:"filter",description:"Lift or drop everything above the corner frequency.",params:[C("frequency","Frequency",4e3,500,2e4),E(-40,40,0)],web:"biquad-highshelf"},{id:"highpass",label:"High-pass",group:"filter",description:"Remove low frequencies: the usual fix for rumble on a voice.",params:[C("frequency","Cutoff",300,20,2e4),I(.707),L],web:"biquad-highpass"},{id:"lowpass",label:"Low-pass",group:"filter",description:"Remove high frequencies, which darkens or muffles a track.",params:[C("frequency","Cutoff",8e3,100,2e4),I(.707),L],web:"biquad-lowpass"},{id:"compressor",label:"Compressor",group:"dynamics",description:"Pull loud parts down so the quiet ones can come up.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-60,max:0,step:.5,default:-24,hint:"Level above which the compressor starts working."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:4},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:2e3,step:.1,default:20,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:250,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83,hint:"1 is a hard corner; higher eases into it."},{kind:"number",key:"makeup",label:"Makeup",unit:"dB",min:0,max:36,step:.1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1,hint:"Below 1 blends the dry signal back in."}],web:"worklet-compressor"},{id:"limiter",label:"Limiter",group:"dynamics",description:"Peak limiter that follows the signal's level. It has no lookahead, so a fast peak or an inter-sample peak can pass the ceiling; use the true-peak limiter for a delivery limit.",params:[{kind:"number",key:"limit",label:"Ceiling",unit:"dB",min:-24,max:0,step:.1,default:-1},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.1,max:80,step:.1,default:5},{kind:"number",key:"release",label:"Release",unit:"ms",min:1,max:8e3,step:1,default:50,scale:"log"},{kind:"number",key:"level_out",label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0}],web:"worklet-limiter"},{id:"truepeak",label:"True-peak limiter",group:"dynamics",description:"Lookahead limiter that holds a 4x estimate of the inter-sample peak at a dBTP ceiling; full-band noise can land up to about 1.7 dB above it. Adds lookahead plus about 0.3 ms of latency.",params:[{kind:"number",key:"ceiling",label:"Ceiling",unit:"dBTP",min:-24,max:0,step:.1,default:-1,hint:"Target true peak, measured on a 4x oversampled signal. Dense full-band sound can end up to about 1.7 dB above it."},{kind:"number",key:"lookahead",label:"Lookahead",unit:"ms",min:.5,max:10,step:.1,default:3,hint:"How far ahead the gain starts falling. Longer is smoother and adds the same latency."},{kind:"number",key:"release",label:"Release",unit:"ms",min:10,max:2e3,step:1,default:80,scale:"log"}],web:"worklet-truepeak"},{id:"gate",label:"Noise Gate",group:"dynamics",description:"Silence the track when it drops below the threshold.",params:[{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-80,max:0,step:.5,default:-35},{kind:"number",key:"range",label:"Range",unit:"dB",min:-80,max:0,step:.5,default:-24,hint:"How far down the gate pulls when closed."},{kind:"number",key:"ratio",label:"Ratio",unit:":1",min:1,max:20,step:.1,default:10},{kind:"number",key:"attack",label:"Attack",unit:"ms",min:.01,max:9e3,step:.1,default:1,scale:"log"},{kind:"number",key:"release",label:"Release",unit:"ms",min:.01,max:9e3,step:1,default:100,scale:"log"},{kind:"number",key:"knee",label:"Knee",unit:"",min:1,max:8,step:.01,default:2.83}],web:"worklet-gate"},{id:"saturate",label:"Saturation",group:"nonlinear",description:"Soft-clip the waveform for warmth or outright distortion.",params:[{kind:"enum",key:"type",label:"Curve",options:[{value:"tanh",label:"Tanh"},{value:"atan",label:"Arctan"},{value:"cubic",label:"Cubic"},{value:"exp",label:"Exponential"},{value:"alg",label:"Algebraic"},{value:"quintic",label:"Quintic"},{value:"sin",label:"Sine"},{value:"erf",label:"Error function"},{value:"hard",label:"Hard clip"}],default:"tanh"},{kind:"number",key:"threshold",label:"Threshold",unit:"dB",min:-40,max:0,step:.1,default:-6},{kind:"number",key:"output",automatable:!0,label:"Output",unit:"dB",min:-24,max:24,step:.1,default:0},{kind:"number",key:"oversample",label:"Oversample",unit:"x",min:1,max:8,step:1,default:4,hint:"Higher costs more but keeps aliasing down."}],web:"waveshaper"},{id:"bitcrush",label:"Bitcrush",group:"nonlinear",description:"Drop bit depth and sample rate for a lo-fi, digital sound.",params:[{kind:"number",key:"bits",label:"Bit depth",unit:"bit",min:1,max:32,step:.1,default:8},{kind:"number",key:"samples",label:"Sample hold",unit:"x",min:1,max:250,step:1,default:1,hint:"Repeats each sample N times, a crude downsample."},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-bitcrush"},{id:"pitchshift",label:"Pitch shift",group:"time",description:"Shifts pitch up or down without changing playback speed. Adds ~50 ms of latency.",params:[{kind:"number",key:"semitones",label:"Semitones",unit:"st",min:-12,max:12,step:1,default:0},{kind:"number",key:"mix",label:"Mix",unit:"",min:0,max:1,step:.01,default:1}],web:"worklet-pitchshift"},{id:"delay",label:"Delay",group:"time",description:"Repeating echoes behind the dry signal.",params:[{kind:"number",key:"time",automatable:!0,label:"Time",unit:"ms",min:1,max:5e3,step:1,default:250,scale:"log"},{kind:"number",key:"feedback",automatable:!0,label:"Feedback",unit:"",min:.01,max:.95,step:.01,default:.35},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.4}],web:"delay-feedback"},{id:"chorus",label:"Chorus",group:"time",description:"Detuned copies of the signal for width and thickness.",params:[{kind:"number",key:"delay",automatable:!0,label:"Delay",unit:"ms",min:1,max:100,step:.1,default:7},{kind:"number",key:"depth",automatable:!0,label:"Depth",unit:"ms",min:0,max:10,step:.01,default:2},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.01,max:10,step:.01,default:1},{kind:"number",key:"mix",automatable:!0,label:"Mix",unit:"",min:0,max:1,step:.01,default:.5}],web:"chorus-lfo"},{id:"phaser",label:"Phaser",group:"time",description:"Sweeping notches moving through the spectrum.",params:[{kind:"number",key:"in_gain",automatable:!0,label:"Input",unit:"",min:0,max:1,step:.01,default:.4},{kind:"number",key:"out_gain",automatable:!0,label:"Output",unit:"",min:0,max:2,step:.01,default:.74},{kind:"number",key:"delay",label:"Delay",unit:"ms",min:.1,max:5,step:.1,default:3},{kind:"number",key:"decay",label:"Decay",unit:"",min:0,max:.99,step:.01,default:.4},{kind:"number",key:"speed",automatable:!0,label:"Rate",unit:"Hz",min:.1,max:2,step:.01,default:.5},{kind:"enum",key:"type",label:"Waveform",options:[{value:"0",label:"Triangular"},{value:"1",label:"Sinusoidal"}],default:"0"}],web:"allpass-phaser"},{id:"reverb",label:"Reverb",group:"time",description:"Room tail. Both ends convolve the same generated impulse, so preview matches render.",params:[{kind:"number",key:"size",label:"Room size",unit:"",min:.05,max:1,step:.01,default:.7},{kind:"number",key:"damping",label:"Damping",unit:"",min:0,max:1,step:.01,default:.5,hint:"Higher rolls the top off the tail faster."},{kind:"number",key:"wet",automatable:!0,label:"Wet",unit:"",min:0,max:1,step:.01,default:.35},{kind:"number",key:"dry",automatable:!0,label:"Dry",unit:"",min:0,max:1,step:.01,default:.7}],web:"convolver"}],T=new Map(V.map(e=>[e.id,e]));var He=V.map(e=>e.id);function B(e){let n=T.get(e);if(!n)return{};let t={};for(let a of n.params)t[a.key]=a.default;return t}function U(e,n){let t=T.get(e);if(!t)return{};let a={};for(let r of t.params){let o=n?.[r.key];if(r.kind==="enum"){let i=r.options.some(u=>u.value===o);a[r.key]=i?o:r.default;continue}let s=typeof o=="number"?o:typeof o=="string"&&o.trim()!==""?Number(o):Number.NaN;a[r.key]=Number.isFinite(s)?Math.min(r.max,Math.max(r.min,s)):r.default}return a}var y=class extends Error{constructor(n){super(n),this.name="AudioFxChainError"}};function ee(e){let n;try{n=JSON.parse(e)}catch(r){throw new y(`Chain file is not valid JSON: ${r.message}`)}if(typeof n!="object"||n===null)throw new y("Chain file must be a JSON object.");let t=n;if(t.version!==D)throw new y(`Unsupported chain version: ${String(t.version)}`);if(!Array.isArray(t.nodes))throw new y("Chain file is missing a `nodes` array.");let a=t.nodes.map(ae);return{version:D,nodes:a}}function te(e){return JSON.stringify({version:D,nodes:e.nodes.map(re)})}function ne(e){let n=new Set(e.nodes.map(t=>t.id).filter(Boolean));for(let t=1;;t+=1){let a=`n${t}`;if(!n.has(a))return a}}function ae(e,n){if(typeof e!="object"||e===null)throw new y(`Node ${n} is not an object.`);let t=e;if(typeof t.type!="string"||!T.has(t.type))throw new y(`Node ${n} has unknown effect type: ${String(t.type)}`);return z({type:t.type,id:A(t.id),fromCarve:S(t.fromCarve),fromPreset:A(t.fromPreset),label:A(t.label),fromEq:A(t.fromEq),fromLeveller:S(t.fromLeveller),presetAmount:$(t.presetAmount),enabled:t.enabled!==!1,params:U(t.type,t.params??void 0)})}function re(e){return z({type:e.type,id:A(e.id),fromCarve:S(e.fromCarve),fromPreset:A(e.fromPreset),label:A(e.label),fromEq:A(e.fromEq),fromLeveller:S(e.fromLeveller),presetAmount:e.presetAmount===1?void 0:$(e.presetAmount),enabled:e.enabled===!1?!1:void 0,params:U(e.type,e.params)})}function A(e){return typeof e=="string"&&e?e:void 0}function S(e){return e===!0?!0:void 0}function $(e){if(!(typeof e!="number"||!Number.isFinite(e)))return Math.min(1,Math.max(0,e))}function z(e){for(let n of Object.keys(e))e[n]===void 0&&delete e[n];return e}function O(e,n){let t=e.length;for(let a=1,r=0;a<t;a++){let o=t>>1;for(;r&o;o>>=1)r^=o;r^=o,a<r&&([e[a],e[r]]=[e[r],e[a]],[n[a],n[r]]=[n[r],n[a]])}for(let a=2;a<=t;a<<=1){let r=-2*Math.PI/a,o=Math.cos(r),s=Math.sin(r);for(let i=0;i<t;i+=a){let u=1,l=0;for(let f=0;f<a/2;f++){let h=e[i+f],c=n[i+f],b=e[i+f+a/2]*u-n[i+f+a/2]*l,m=e[i+f+a/2]*l+n[i+f+a/2]*u;e[i+f]=h+b,n[i+f]=c+m,e[i+f+a/2]=h-b,n[i+f+a/2]=c-m;let x=u*o-l*s;l=u*s+l*o,u=x}}}}var oe=[160,250,400,630,1e3,1600,2500,4e3,6e3],d=4096,ie=2048,se=/sfx|foley|whoosh|impact|riser|stinger|swoosh|thud|boom|click|ding|beep|ambien|room[-_ ]?tone/i,ue="(?<![a-z0-9])",le="(?![a-z0-9])",M=e=>`${ue}${e}${le}`,me=new RegExp(`music|bgm|${M("bed")}|soundtrack|score|${M("song")}|theme|instrumental|track\\d`,"i"),de=new RegExp(`voice|${M("vo")}|${M("vox")}|narrat|speech|dialog|monolog|announce|${M("tts")}|talk|interview|podcast|recap|script`,"i");function fe(...e){let n=e.filter(Boolean).join(" ");return de.test(n)?"voice":se.test(n)?"sfx":me.test(n)?"music":"unknown"}function ce(e,n){let t=a=>typeof a.duration=="number"&&Number.isFinite(a.duration)?a.start+Math.max(0,a.duration):Number.POSITIVE_INFINITY;return e.start<t(n)&&n.start<t(e)}function be(e){let n=Number.isFinite(e)?Math.min(1,Math.max(0,e)):.5;return{maxCutDb:Number((2+n*16).toFixed(2)),bands:Math.max(1,Math.min(6,Math.round(1+n*6))),q:Number((1.1+n*1.2).toFixed(2)),intelligibilityBias:Number(Math.min(1,.6+n*.4).toFixed(2)),duckDb:Number((n*24).toFixed(2)),headroomDb:Number((6+n*12).toFixed(2))}}function pe(e,n){let t=e.map(o=>({samples:o.samples,at:Math.round(o.offsetSeconds*n)})),a=t.reduce((o,s)=>Math.max(o,s.at+s.samples.length),0);if(a<=0)return new Float32Array(0);let r=new Float32Array(a);for(let{samples:o,at:s}of t){let i=s<0?-s:0;for(let u=i;u<o.length;u+=1){let l=s+u;l<0||l>=a||(r[l]=(r[l]??0)+(o[u]??0))}}return r}function he(e,n){let t=Math.max(e.length,d),a=e.length>=d?e:(()=>{let c=new Float32Array(d);return c.set(e),c})(),r=new Float32Array(d);for(let c=0;c<d;c++)r[c]=.5-.5*Math.cos(2*Math.PI*c/(d-1));let o=d/2+1,s=new Float64Array(o),i=new Float64Array(d),u=new Float64Array(d),l=0;for(let c=0;c+d<=t;c+=ie){u.fill(0);for(let b=0;b<d;b++)i[b]=(a[c+b]??0)*r[b];O(i,u);for(let b=0;b<o;b++)s[b]+=i[b]*i[b]+u[b]*u[b];l++}l===0&&(l=1);let f=[],h=[];for(let c=0;c<o;c++)f.push(c*n/d),h.push(s[c]/l);return{freqs:f,power:h}}function Y(e,n,t){let a=t/Math.pow(2,.16666666666666666),r=t*Math.pow(2,1/6),o=0,s=0;for(let i=0;i<e.length;i++)e[i]>=a&&e[i]<r&&(o+=n[i],s++);return s>0?o/s:0}var xe=30;function ke(e,n){let t=Math.log2(e/2e3),a=Math.exp(-(t*t)/2);return n*xe*(1-a)}function ge(e,n,t){if(e.length===0)return[];let{freqs:a,power:r}=he(e,n),s=oe.map(u=>{let l=Y(a,r,u);return{center:u,hasEnergy:l>0,scoreDb:l>0?10*Math.log10(l)-ke(u,t.intelligibilityBias):Number.NEGATIVE_INFINITY}}).sort((u,l)=>l.scoreDb-u.scoreDb).slice(0,Math.max(1,t.bands)).filter(u=>u.hasEnergy);if(s.length===0)return[];let i=s[0].scoreDb;return s.map(({center:u,scoreDb:l})=>{let f=Math.pow(10,(l-i)/10),h=Math.min(t.maxCutDb,Math.max(t.maxCutDb/2,t.maxCutDb*f));return{freq:u,gainDb:-Number(h.toFixed(2)),q:t.q}}).sort((u,l)=>u.freq-l.freq)}var K=30,X=.05,ye=.25,Ae=2.4,j=400,_=.2,J=.5;function W(e,n){let t=[{t:0,v:0}],a=0,r=-1;return e.forEach((o,s)=>{s!==e.length-1&&Math.abs(o.v-a)<n||(s>0&&r!==s-1&&t.push(e[s-1]),t.push(o),a=o.v,r=s)}),t}function we(e,n,t){if(e.length===0||t.length===0)return[];let a=new Float32Array(d);for(let m=0;m<d;m++)a[m]=.5-.5*Math.cos(2*Math.PI*m/(d-1));let r=Math.max(d,Math.ceil(e.length/j)),o=d/2+1,s=[];for(let m=0;m<o;m++)s.push(m*n/d);let i=[],u=t.map(()=>[]),l=new Float64Array(d),f=new Float64Array(d);for(let m=0;m<e.length;m+=r){f.fill(0);for(let p=0;p<d;p++)l[p]=(e[m+p]??0)*a[p];O(l,f);let x=[];for(let p=0;p<o;p++)x.push(l[p]*l[p]+f[p]*f[p]);i.push((m+d/2)/n),t.forEach((p,w)=>u[w].push(Y(s,x,p.freq)))}let h=e.length/n,c=1-Math.exp(-(r/n)/X),b=1-Math.exp(-(r/n)/ye);return t.map((m,x)=>{let p=u[x],w=Math.max(...p),g=0,P=[];p.forEach((F,k)=>{let N=F>0&&w>0?Math.max(0,1+10*Math.log10(F/w)/K):0;g+=(N>g?c:b)*(N-g);let H=m.gainDb*g,q=Math.abs(H)<_?0:Number(H.toFixed(1));P.push({t:Number(i[k].toFixed(3)),v:q})});let v=W(P,J);return v.push({t:Number(Math.max(h,v.at(-1).t).toFixed(3)),v:0}),{freq:m.freq,points:v}})}function G(e,n,t){let a=0,r=0;for(let s=n;s<n+t;s++){let i=e[s];if(i===void 0)break;a+=i*i,r+=1}if(r===0)return Number.NEGATIVE_INFINITY;let o=Math.sqrt(a/r);return o>0?20*Math.log10(o):Number.NEGATIVE_INFINITY}function ve(e,n,t,a,r){if(e.length===0||a.duckDb<=0)return[];let o=Math.max(d,Math.ceil(e.length/j)),s=Math.round(r*t),i=[],u=[],l=[];for(let k=0;k<e.length;k+=o)i.push(G(e,k,d)),u.push(G(n,k+s,d)),l.push((k+d/2)/t);let h=Math.max(...i)-K,c=1-Math.exp(-(o/t)/X),b=1-Math.exp(-(o/t)/Ae),m=0,x=[];i.forEach((k,N)=>{let H=u[N]??Number.NEGATIVE_INFINITY,q=k>h&&Number.isFinite(H)?H-(k-a.headroomDb):0,R=Math.min(a.duckDb,Math.max(0,q));m+=(R>m?c:b)*(R-m);let Q=m<_?0:-Number(m.toFixed(1));x.push({t:Number(l[N].toFixed(3)),v:Q})});let p=o/t,w=l.at(-1)??0;for(;m>=_;)m+=b*-m,w+=p,x.push({t:Number(w.toFixed(3)),v:m<_?0:-Number(m.toFixed(1))});let g=W(x,J),P=e.length/t,v=g.at(-1),F=Number(Math.max(P,v.t).toFixed(3));return v.v===0&&v.t>=F||g.push({t:F,v:0}),g}function Fe(e){let n=e.map(t=>({type:"peaking",enabled:!0,params:{...B("peaking"),frequency:t.freq,gain:t.gainDb,q:t.q}}));return{version:D,nodes:n}}export{ge as analyseCarveBands,ve as analyseCarveDuck,we as analyseCarveDynamics,Fe as carveBandsToChain,be as carveProfile,fe as classifyAudioName,ce as clipsOverlap,B as defaultAudioFxParams,ne as mintAudioFxNodeId,pe as mixCarveSources,ee as parseAudioFxChain,te as serializeAudioFxChain};
@@ -1,19 +1,25 @@
1
- import { existsSync } from "node:fs";
2
- import { extname, join } from "node:path";
1
+ import { existsSync, lstatSync } from "node:fs";
2
+ import { dirname, extname, join } from "node:path";
3
3
  import { AGENT_SOURCES, latestRecordFor, recordInPlace } from "../../../scripts/lib/manifest.mjs";
4
4
  import { regenerateIndex } from "../../../scripts/lib/index-gen.mjs";
5
+ import { isPlainProjectPath } from "./project-path.mjs";
5
6
 
6
7
  /**
7
- * Where the engine may write `rel`: there, unless another file of this run has `taken` it or the file there is
8
- * the person's (not `reusable` and not recorded as agent-made). Then the first free `name-2.ext`, with an anomaly.
8
+ * Where the engine may write `rel`: there, unless another file of this run has `taken` it, a link sits there, or
9
+ * the file there is the person's (not `reusable` and not recorded as agent-made). Then the first free
10
+ * `name-2.ext`, with an anomaly. Throws when `rel`'s folder is not its own real folder in the project.
9
11
  */
10
12
  export function agentWritePath(
11
13
  hyperframesDir,
12
14
  rel,
13
15
  { anomalies, taken = new Set(), reusable = () => false },
14
16
  ) {
17
+ if (!isPlainProjectPath(hyperframesDir, dirname(rel))) {
18
+ throw new Error(`${dirname(rel)} leads outside the project folder; nothing was written there`);
19
+ }
15
20
  const free = (path) =>
16
21
  !taken.has(path) &&
22
+ !lstatSync(join(hyperframesDir, path), { throwIfNoEntry: false })?.isSymbolicLink() &&
17
23
  (!existsSync(join(hyperframesDir, path)) ||
18
24
  reusable(path) ||
19
25
  AGENT_SOURCES.includes(latestRecordFor(hyperframesDir, path)?.source));
@@ -31,14 +37,26 @@ export function agentWritePath(
31
37
  return path;
32
38
  }
33
39
 
34
- /** Each spoken line's file, picked before lines synthesize concurrently so two never land on one free name. */
40
+ // A line id names its voice file, so it must be one plain file name: no folder, drive or `..`.
41
+ const isPlainFileName = (id) => id !== "" && id !== "." && id !== ".." && !/[/\\:]/.test(id);
42
+
43
+ /**
44
+ * Each spoken line's file, picked before lines synthesize concurrently so two never land on one free name.
45
+ * Throws for a line whose id is not a plain file name.
46
+ */
35
47
  export function voicePaths(hyperframesDir, lines, anomalies) {
36
48
  const taken = new Set();
37
49
  const paths = new Map();
38
50
  for (const line of lines.filter((l) => String(l.text ?? "").trim() || l.audio)) {
39
- const rel = agentWritePath(hyperframesDir, `assets/voice/${line.id}.wav`, { anomalies, taken });
51
+ const id = String(line.id);
52
+ if (!isPlainFileName(id)) {
53
+ throw new Error(
54
+ `line id ${JSON.stringify(id)} names its voice file, so it must be a plain name: no "/", "\\" or ":", and not empty, "." or ".."`,
55
+ );
56
+ }
57
+ const rel = agentWritePath(hyperframesDir, `assets/voice/${id}.wav`, { anomalies, taken });
40
58
  taken.add(rel);
41
- paths.set(String(line.id), rel);
59
+ paths.set(id, rel);
42
60
  }
43
61
  return paths;
44
62
  }