hyperframes 0.9.26 → 0.9.28-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/dist/{add-WBZDU6CI.js → add-WSGJ42KQ.js} +24 -25
  2. package/dist/{agentPromptGenerator-HOH4K2AF.js → agentPromptGenerator-JTMVHRZN.js} +10 -10
  3. package/dist/{animatedGifPrep-HEQTZMPU.js → animatedGifPrep-V3FJENRD.js} +9 -9
  4. package/dist/api.js +53 -52
  5. package/dist/{appHistory-FVDSCS64.js → appHistory-DLDRURHW.js} +2 -3
  6. package/dist/{asset-N2BCPNT3.js → asset-6LZTBFS7.js} +6 -6
  7. package/dist/{assetCataloger-25DZ4ODD.js → assetCataloger-GRGAUHXL.js} +11 -11
  8. package/dist/{audio-3KDOOANX.js → audio-QCMSKGKQ.js} +39 -38
  9. package/dist/{auth-JPNSO223.js → auth-TB7AUPRE.js} +7 -7
  10. package/dist/{autoUpdate-SVH5VA46.js → autoUpdate-G3G7WBJF.js} +6 -6
  11. package/dist/{avatars-UC6PUVKF.js → avatars-6ILGXRFF.js} +22 -21
  12. package/dist/{backgroundChecks-R7JQPFEL.js → backgroundChecks-E3VZ7KZN.js} +7 -7
  13. package/dist/backgroundChecksWorker.js +7 -7
  14. package/dist/{batchRender-QB3UD3S3.js → batchRender-KWIPFU5Q.js} +9 -9
  15. package/dist/{beats-4LQCQYU4.js → beats-OBIGBNZA.js} +18 -18
  16. package/dist/{benchmark-NNGNQLPH.js → benchmark-64IXFBPC.js} +19 -19
  17. package/dist/{billing-EKSG2MIB.js → billing-3X5BWBTI.js} +26 -26
  18. package/dist/{browser-3CMPDGDK.js → browser-DZ3XIEFA.js} +17 -17
  19. package/dist/{bundleWithLocalizedFonts-F6WSRFC6.js → bundleWithLocalizedFonts-PKQN5CMM.js} +4 -4
  20. package/dist/{capture-PIRDJMFL.js → capture-NTN7O6RZ.js} +28 -29
  21. package/dist/{capture-RRIOSJI7.js → capture-V7RAUBMG.js} +6 -6
  22. package/dist/{captureCompositionFrame-PHZ6UESC.js → captureCompositionFrame-KMMB3FVD.js} +20 -20
  23. package/dist/{captureFile-VIVGKFY4.js → captureFile-O7JMINHC.js} +3 -1
  24. package/dist/{catalog-6U6DBW2A.js → catalog-YIGPXM7Q.js} +25 -26
  25. package/dist/{catch-up-CXGXBI5D.js → catch-up-LOGK3VIS.js} +18 -19
  26. package/dist/{check-4YZZDHXU.js → check-FVXJBA5U.js} +56 -57
  27. package/dist/{checkAudio-WOI7A4XF.js → checkAudio-FSIRCDM6.js} +21 -21
  28. package/dist/{checkBrowser-ITUJDOQK.js → checkBrowser-NXRXF73I.js} +49 -50
  29. package/dist/{chunk-CV3U4IKB.js → chunk-3DVDIXOZ.js} +2 -2
  30. package/dist/{chunk-6YPQSVVR.js → chunk-3LIMD4YP.js} +1 -1
  31. package/dist/{chunk-Q6HWIM5T.js → chunk-3MYEF34S.js} +1 -1
  32. package/dist/{chunk-7N5GNBYP.js → chunk-3Q7LAXFJ.js} +4 -4
  33. package/dist/chunk-3T6BFAKZ.js +5049 -0
  34. package/dist/{chunk-KGDXQ7KV.js → chunk-3YP3OQVH.js} +1 -1
  35. package/dist/{chunk-CP7UNNLN.js → chunk-4OZVFZCO.js} +9 -6
  36. package/dist/{chunk-CXUT4XVT.js → chunk-54FVSPRH.js} +1 -1
  37. package/dist/{chunk-BGCZSSZN.js → chunk-5BIHQCC2.js} +4 -4
  38. package/dist/{chunk-I7P3G2EK.js → chunk-5EYQ222G.js} +3 -3
  39. package/dist/{chunk-Y7N65M2H.js → chunk-5FI52L2T.js} +7 -3
  40. package/dist/{chunk-O2YBW4AN.js → chunk-5RETZFNG.js} +8 -8
  41. package/dist/{chunk-Z4GE5BXC.js → chunk-5SDUQLZ3.js} +4 -3
  42. package/dist/{chunk-5FFQ7YED.js → chunk-6EZ76UBP.js} +20 -20
  43. package/dist/{chunk-OHQRQE7F.js → chunk-6MKM2RVL.js} +8 -1
  44. package/dist/{chunk-Q4IDT5XZ.js → chunk-6NG6PATW.js} +1 -1
  45. package/dist/{chunk-ADJCNH7M.js → chunk-6ODX6SHY.js} +2 -2
  46. package/dist/{chunk-LISUH6KH.js → chunk-6OQPKRPJ.js} +1 -1
  47. package/dist/{chunk-WW7Z2W73.js → chunk-72GTIFAI.js} +20 -1
  48. package/dist/{chunk-NZTYGWRK.js → chunk-7DGBOZ4N.js} +1 -1
  49. package/dist/{chunk-VK4PVFTZ.js → chunk-7U2B7OF6.js} +2 -2
  50. package/dist/{chunk-52YPYXJT.js → chunk-7XHVHBFV.js} +4 -4
  51. package/dist/{chunk-SDNHWXXF.js → chunk-7ZKUPLMN.js} +18 -18
  52. package/dist/{chunk-SYYF5SUA.js → chunk-A5CTI6RW.js} +3 -3
  53. package/dist/{chunk-BPFUMJPR.js → chunk-AHRX3FHF.js} +4 -4
  54. package/dist/{chunk-4RPJGXWI.js → chunk-AJVYQVDB.js} +2 -2
  55. package/dist/{chunk-RKIRQ73U.js → chunk-ASMDPTT3.js} +2 -2
  56. package/dist/{chunk-B2RMMRJB.js → chunk-B4TLQLGI.js} +1 -1
  57. package/dist/{chunk-PKNU4DEG.js → chunk-BF6RWOUF.js} +5 -7
  58. package/dist/{chunk-EOVICFGB.js → chunk-BFDNZ2JT.js} +3 -3
  59. package/dist/{chunk-CYTQNTZM.js → chunk-BI33G4XD.js} +8 -8
  60. package/dist/{chunk-AZO2YY3U.js → chunk-BIQJKM2O.js} +2 -2
  61. package/dist/{chunk-P7DCQJ6N.js → chunk-BMDABBHG.js} +1 -1
  62. package/dist/{chunk-46KZHKVZ.js → chunk-BP75ZLZ5.js} +2 -2
  63. package/dist/{chunk-ZERXFV4P.js → chunk-C756HYL7.js} +3 -3
  64. package/dist/{chunk-DIUV6JDR.js → chunk-C7ME7Y45.js} +3 -3
  65. package/dist/{chunk-54Q3H2UQ.js → chunk-CDNVZEGQ.js} +9 -2
  66. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  67. package/dist/{chunk-WEH3EHVB.js → chunk-CJC6U3E7.js} +4 -4
  68. package/dist/chunk-DDCFX533.js +387 -0
  69. package/dist/{chunk-6FDVPIOO.js → chunk-DONVZZLV.js} +1 -1
  70. package/dist/{chunk-BWRANVIS.js → chunk-DPAC75N5.js} +4 -4
  71. package/dist/{chunk-AIJMFLLS.js → chunk-E3EIKMUU.js} +3 -3
  72. package/dist/{chunk-YTF6LBWN.js → chunk-E7YPIP42.js} +2 -2
  73. package/dist/chunk-EKT2P27A.js +538 -0
  74. package/dist/chunk-F2FRUMWN.js +3699 -0
  75. package/dist/{chunk-T2WJO4XM.js → chunk-F2GWIWHN.js} +4 -3
  76. package/dist/{chunk-CMQZP52Y.js → chunk-F5QBIIFT.js} +6 -1
  77. package/dist/{chunk-M3JU24AI.js → chunk-FGFVUKPP.js} +1 -1
  78. package/dist/{chunk-LP7B3JLC.js → chunk-FID757D3.js} +1 -0
  79. package/dist/{chunk-LAGZGKKN.js → chunk-FOZBANEN.js} +3 -2
  80. package/dist/{chunk-5YPMCCCA.js → chunk-FRBQ3FIM.js} +1 -1
  81. package/dist/{chunk-I3XU2Q6N.js → chunk-FW7MDSCQ.js} +5 -5
  82. package/dist/{chunk-RTV6SDAW.js → chunk-G6CN5UWR.js} +2 -2
  83. package/dist/{chunk-HW4BZHWD.js → chunk-GN3CCXVU.js} +1 -1
  84. package/dist/{chunk-ANV4RVES.js → chunk-H3MJLPAC.js} +1 -1
  85. package/dist/{chunk-UPPOSWBD.js → chunk-HP6IDD33.js} +8 -8
  86. package/dist/{chunk-52C62IQX.js → chunk-HW325JBH.js} +6 -6
  87. package/dist/{chunk-SMR2QBOB.js → chunk-HWQ6SNLY.js} +1 -1
  88. package/dist/{chunk-7H5SDDTD.js → chunk-HYXSD2UA.js} +1 -1
  89. package/dist/{chunk-33HKMP6U.js → chunk-IEB4IKXF.js} +2 -2
  90. package/dist/{chunk-A4ZTSQLW.js → chunk-IEXRKKHC.js} +119 -4
  91. package/dist/{chunk-NBR3RFOK.js → chunk-IMSLXLUI.js} +1 -1
  92. package/dist/{chunk-IOPE4LJ2.js → chunk-J3X2RZON.js} +1 -1
  93. package/dist/chunk-JE2YBPC5.js +152 -0
  94. package/dist/{chunk-DJVONYVS.js → chunk-JEVWAGQP.js} +2 -2
  95. package/dist/chunk-JJ47LVJ7.js +58 -0
  96. package/dist/{chunk-M7VAMZQW.js → chunk-JNHJX2BZ.js} +4 -2
  97. package/dist/{chunk-Y5IO3G5V.js → chunk-JX4BEVC3.js} +35 -35
  98. package/dist/{chunk-RANSC2AP.js → chunk-K2OQYSDS.js} +14 -14
  99. package/dist/{chunk-4KQ53P4K.js → chunk-KBF2DIZX.js} +9 -9
  100. package/dist/{chunk-6DEXJHPV.js → chunk-KFU75UXA.js} +2 -2
  101. package/dist/{chunk-ETD6Z4CT.js → chunk-KJ5QBEMN.js} +9 -7
  102. package/dist/{chunk-G7VEYUZ2.js → chunk-LW33P24U.js} +210 -51
  103. package/dist/{chunk-RCK5GLYA.js → chunk-M7U6JTXF.js} +3 -3
  104. package/dist/{chunk-RG32F3XB.js → chunk-MBRBEXMF.js} +1 -1
  105. package/dist/{chunk-TPMBPH73.js → chunk-ME6L6GUF.js} +2 -2
  106. package/dist/{chunk-BO3R523I.js → chunk-MEVLYDL2.js} +1 -1
  107. package/dist/{chunk-4H65D2CK.js → chunk-MFSQZ2PR.js} +51 -11
  108. package/dist/{chunk-CT4R6NKU.js → chunk-MWBRY5HN.js} +3 -3
  109. package/dist/{chunk-XRLVFSPS.js → chunk-N6NB2WZ4.js} +3 -3
  110. package/dist/{chunk-XNEAYK2D.js → chunk-NKWJNDKO.js} +6 -6
  111. package/dist/{chunk-RXRL5CFO.js → chunk-O5G2LEUB.js} +3 -3
  112. package/dist/{chunk-U6JW263W.js → chunk-PG26KCBX.js} +2 -2
  113. package/dist/{chunk-FYZFURBN.js → chunk-PQYICV7O.js} +1 -1
  114. package/dist/{chunk-FLRTT7XS.js → chunk-PWW2DKGL.js} +5 -5
  115. package/dist/{chunk-W62GJ6S2.js → chunk-Q5J4OO7N.js} +22 -23
  116. package/dist/{chunk-CF2MLHZJ.js → chunk-Q6TVZY36.js} +3 -3
  117. package/dist/{chunk-E3V2WHNZ.js → chunk-QMGFXL43.js} +3 -3
  118. package/dist/{chunk-H6676SHA.js → chunk-QTDTCTGB.js} +6 -4
  119. package/dist/{chunk-KVVFSUMG.js → chunk-RERVXE6J.js} +5 -9
  120. package/dist/{chunk-6ELGYAFD.js → chunk-RGINHOAX.js} +23 -5
  121. package/dist/{chunk-QNV4S6LE.js → chunk-RNUIFYO6.js} +1 -1
  122. package/dist/{chunk-Y5NX2ID5.js → chunk-RO74CZMK.js} +2 -2
  123. package/dist/{chunk-3PSPF7V7.js → chunk-RPMPHUOS.js} +7 -7
  124. package/dist/{chunk-GS4EXK5R.js → chunk-RSZWWTQN.js} +25 -7
  125. package/dist/{chunk-EQBDKYXR.js → chunk-SWOAB4GM.js} +5 -2
  126. package/dist/{chunk-MFDNMTOP.js → chunk-T37WJWV2.js} +1 -1
  127. package/dist/{chunk-TAJ4PPMZ.js → chunk-TF7VWCJM.js} +1 -1
  128. package/dist/{chunk-SXYRNJBG.js → chunk-U2NESB4H.js} +1 -1
  129. package/dist/{chunk-WEWXIQPN.js → chunk-U46YQL7E.js} +1 -1
  130. package/dist/{chunk-CIB4TEE4.js → chunk-UDEFHX4Z.js} +17 -17
  131. package/dist/{chunk-MAU4K3YN.js → chunk-UF6C3CCP.js} +1 -1
  132. package/dist/{chunk-IV3JATWQ.js → chunk-UGX3IARM.js} +37 -37
  133. package/dist/{chunk-FQSX2Y2N.js → chunk-UO6DALBR.js} +10 -6
  134. package/dist/{chunk-7PZLR2JZ.js → chunk-UPR5TMLG.js} +2 -2
  135. package/dist/chunk-USTPTY7P.js +51 -0
  136. package/dist/{chunk-LSAZKSQW.js → chunk-UVZDPGZR.js} +1 -1
  137. package/dist/{chunk-N66SKEU4.js → chunk-VCNPBW4L.js} +2 -2
  138. package/dist/chunk-VHXIMBTF.js +343 -0
  139. package/dist/{chunk-I2I3ARUF.js → chunk-VNKPEYMW.js} +1 -1
  140. package/dist/{chunk-PZ23EDA5.js → chunk-VSQ5NWCF.js} +24 -2
  141. package/dist/{chunk-HOCC4J5C.js → chunk-VU4EPKFI.js} +1 -1
  142. package/dist/{chunk-6YYNEN54.js → chunk-VVGNWH2J.js} +269 -272
  143. package/dist/{chunk-XH34R2CM.js → chunk-WIJGRX5X.js} +2 -2
  144. package/dist/{chunk-ZNFYQMFN.js → chunk-WOSVLHQH.js} +1 -1
  145. package/dist/{chunk-M56EN5Z5.js → chunk-WRN3ZY5P.js} +8 -8
  146. package/dist/{chunk-YNYNZ36R.js → chunk-WUOMBLQL.js} +2 -2
  147. package/dist/{chunk-KBHBSWEE.js → chunk-WXEXQLVV.js} +217 -345
  148. package/dist/{chunk-4FNJ2QNP.js → chunk-WYA575QX.js} +11 -5
  149. package/dist/{chunk-OHN3OJQQ.js → chunk-X7NFWMWW.js} +1 -1
  150. package/dist/{chunk-FRBQYFUV.js → chunk-XEPGN46Q.js} +1 -1
  151. package/dist/{chunk-63SZ5FQL.js → chunk-XGRXNWDK.js} +4 -4
  152. package/dist/{chunk-52VJYQB4.js → chunk-XMHYE6XY.js} +3 -3
  153. package/dist/{chunk-QAH3I2PN.js → chunk-YJBGA3W6.js} +5 -5
  154. package/dist/{chunk-S73RS3QS.js → chunk-YOUHA4KP.js} +11 -9
  155. package/dist/{chunk-ZUGSYS6H.js → chunk-YPPJJ5ZH.js} +1 -1
  156. package/dist/{chunk-6AKETDJH.js → chunk-Z2N7XOOB.js} +7 -4
  157. package/dist/{chunk-OSMSO25W.js → chunk-ZEKQATYP.js} +6 -6
  158. package/dist/{chunk-VI5AG2YK.js → chunk-ZQLJLORI.js} +8 -8
  159. package/dist/{clean-CESNOFW4.js → clean-6YCVFT7D.js} +32 -33
  160. package/dist/cli.js +106 -72
  161. package/dist/{cloud-KNNA5NNC.js → cloud-BPWS4GJS.js} +7 -7
  162. package/dist/{cloud-D7DFYONW.js → cloud-TEJ6UVBU.js} +11 -11
  163. package/dist/{cloudrun-VHHNITZU.js → cloudrun-A7DU7DQE.js} +13 -13
  164. package/dist/{colors-CRTWLZ5S.js → colors-SS2KTOKM.js} +3 -3
  165. package/dist/{compare-XWGZQA3A.js → compare-HELNXJLM.js} +48 -49
  166. package/dist/{compiler-FQXZ5JHO.js → compiler-J43BE6LC.js} +5 -5
  167. package/dist/{component-B6LFSLBU.js → component-WEC4QGT3.js} +7 -7
  168. package/dist/{compositions-525OPGMN.js → compositions-RSUPWPK6.js} +21 -21
  169. package/dist/{contactSheet-RWRMLRZI.js → contactSheet-PZXG3REG.js} +4 -2
  170. package/dist/contract/LICENSE-Unicode.txt +39 -0
  171. package/dist/contract/path-policy.json +311 -0
  172. package/dist/contract/unicode-15.1.0.json +6179 -0
  173. package/dist/{curve-DJ7O5S2Z.js → curve-OK5TBGXV.js} +20 -20
  174. package/dist/{cuts-3FEOKZF4.js → cuts-S5WHYQZZ.js} +21 -21
  175. package/dist/{delete-NYTX5VAV.js → delete-5NHJKNWL.js} +18 -18
  176. package/dist/{deploy-FMWJCCAE.js → deploy-7PLBBXNB.js} +10 -10
  177. package/dist/{describeProject-73BHU64A.js → describeProject-WVLTYWPG.js} +14 -14
  178. package/dist/{destroy-6XY4WQWY.js → destroy-IWHFUGJL.js} +7 -7
  179. package/dist/{deterministicFonts-CEHTAMC7.js → deterministicFonts-UZIF5XZW.js} +4 -2
  180. package/dist/{diff-23KDGJCM.js → diff-W4EXKV5Q.js} +52 -52
  181. package/dist/{dist-AOXZZPN7.js → dist-4JHP47NU.js} +3 -3
  182. package/dist/{dist-GQVNNVG3.js → dist-AUYCAQMA.js} +17 -18
  183. package/dist/{dist-6FQKCYPL.js → dist-F3Y2XHZL.js} +4 -4
  184. package/dist/docs/motion-blur.md +1 -1
  185. package/dist/{docs-WYJSJGSF.js → docs-ZSVK3VZD.js} +3 -3
  186. package/dist/{doctor-XZ5HNJ6Q.js → doctor-7Y75ZXTU.js} +20 -20
  187. package/dist/{energy-HGHY2XGU.js → energy-Y4KYLWLZ.js} +19 -19
  188. package/dist/{events-MLOHGLUP.js → events-3LAHSBBF.js} +16 -14
  189. package/dist/{events-UFPWOQGG.js → events-67Q5DIRC.js} +9 -9
  190. package/dist/{events-EWQD3H2H.js → events-TQD3L5FS.js} +23 -23
  191. package/dist/execute-GFHAD3L6.js +109 -0
  192. package/dist/{extract-HMDTHBPW.js → extract-6KGIEC76.js} +23 -23
  193. package/dist/{face-63Y52JXT.js → face-OBEAPOZR.js} +21 -22
  194. package/dist/{feedback-NX2BHXLA.js → feedback-QTB2UH3Q.js} +22 -21
  195. package/dist/{ffmpeg-Z5LJ5LYM.js → ffmpeg-4CMA6M2L.js} +9 -9
  196. package/dist/{figma-KRBH6NCD.js → figma-4ZKDJA4R.js} +6 -6
  197. package/dist/fontLocalizeCli.js +15 -15
  198. package/dist/{frames-L4GO5IOK.js → frames-OFLJT4D5.js} +31 -24
  199. package/dist/{generate-FYK2JEF7.js → generate-LHRF4A3Z.js} +37 -37
  200. package/dist/{get-6DBWZJIS.js → get-56RYQ7KG.js} +18 -18
  201. package/dist/{gpuPolicy-IZK7ETZ6.js → gpuPolicy-35XK273G.js} +9 -9
  202. package/dist/{grade-compare-DMFIEWKO.js → grade-compare-GQVODT4T.js} +49 -50
  203. package/dist/{heifImagePrep-WT26IRKU.js → heifImagePrep-7WN2QNQM.js} +10 -10
  204. package/dist/{help-7GR3533A.js → help-E2TKPNJJ.js} +4 -4
  205. package/dist/{history-OMOIUDSV.js → history-AJ2MSBW6.js} +20 -21
  206. package/dist/hyperframe.manifest.json +1 -1
  207. package/dist/hyperframe.runtime.iife.js +67 -67
  208. package/dist/hyperframes-player.global.js +1 -1
  209. package/dist/{info-E5AMEBHN.js → info-HV43ZADN.js} +23 -23
  210. package/dist/{init-DRZP3T3W.js → init-OHVVGDSF.js} +44 -42
  211. package/dist/{ink-63PXDACB.js → ink-IESBIGOE.js} +19 -19
  212. package/dist/{inspect-XKB4JFEJ.js → inspect-Y7YS3ILY.js} +46 -47
  213. package/dist/{installer-D7OH77IN.js → installer-AJESSC5Y.js} +8 -8
  214. package/dist/{keyframes-D4YUT6E3.js → keyframes-XSL7JGAF.js} +18 -18
  215. package/dist/{lambda-S5GFZOKF.js → lambda-KU65SSVE.js} +23 -23
  216. package/dist/{layout-4N6AIQJB.js → layout-ORX7QBGL.js} +46 -47
  217. package/dist/{lint-7I6I4UHH.js → lint-KUGT5YHK.js} +20 -20
  218. package/dist/{lintProject-KXOX5QXB.js → lintProject-Z6TG3Z34.js} +3 -3
  219. package/dist/{list-5PWGI2AA.js → list-EB3WYTHH.js} +21 -21
  220. package/dist/{localPage-OGQ4OTTG.js → localPage-QLGKJQ6X.js} +10 -10
  221. package/dist/{login-AT3RGU2L.js → login-O5HWEYI4.js} +12 -11
  222. package/dist/{logout-EKDVIU6Y.js → logout-AHGR3X5U.js} +9 -7
  223. package/dist/{look-GDIIZRBH.js → look-BPSKQDST.js} +21 -21
  224. package/dist/{manager-MKDNQ5KZ.js → manager-IAXYSRG5.js} +3 -3
  225. package/dist/{manager-3VDQLCQM.js → manager-MNOR566P.js} +11 -10
  226. package/dist/{measure-KWM2A5QD.js → measure-USYFR5EK.js} +16 -13
  227. package/dist/{media-treatment-4QBXQ3D7.js → media-treatment-5YATQA5D.js} +25 -25
  228. package/dist/{media-use-LMCTTAMZ.js → media-use-BA245HF5.js} +12 -10
  229. package/dist/{models-C2DQQIH3.js → models-ST3IIAN2.js} +18 -18
  230. package/dist/{motionShot-NUX22LWA.js → motionShot-DOIU74HO.js} +26 -26
  231. package/dist/{normalize-MBNGRVQA.js → normalize-PGMS24I2.js} +3 -1
  232. package/dist/{normalize-audio-K6LDICR5.js → normalize-audio-PPSCFVKC.js} +19 -19
  233. package/dist/oauth-KUPQUH6E.js +40 -0
  234. package/dist/{open-VPKHBPWT.js → open-R2EPWLS6.js} +27 -28
  235. package/dist/{parakeetRunner-E4534WW7.js → parakeetRunner-Q2SYZVYV.js} +19 -17
  236. package/dist/{pipeline-JUVHGTAC.js → pipeline-NQ4BI2D7.js} +12 -12
  237. package/dist/plan-CN2TTIAA.js +88 -0
  238. package/dist/{play-KBMGOUFL.js → play-J3DJBBXW.js} +38 -39
  239. package/dist/{policies-EV7XPSQC.js → policies-5G7G26ZX.js} +3 -3
  240. package/dist/{preflight-2R2MAQIC.js → preflight-DLO6LHGO.js} +13 -13
  241. package/dist/{present-MS6QCPUK.js → present-MIWYYTIE.js} +31 -32
  242. package/dist/{preview-BDQMRB6I.js → preview-DEGHLTT6.js} +37 -38
  243. package/dist/{probe-2OXPOPVD.js → probe-63RJNPIB.js} +19 -19
  244. package/dist/{producer-PECYJ4WO.js → producer-H7L5TBE4.js} +1 -1
  245. package/dist/{progress-FWJJMPIQ.js → progress-OOEHTBBU.js} +3 -3
  246. package/dist/{projectConfig-CZYM3VZF.js → projectConfig-GJL2ZGOU.js} +12 -13
  247. package/dist/{prompts-27EPTM64.js → prompts-RYVLXI7Q.js} +3 -3
  248. package/dist/{publication-JIWSYWXN.js → publication-BLLVTVD6.js} +6 -6
  249. package/dist/{publish-ZKNUSOPR.js → publish-CYPJA7T7.js} +93 -34
  250. package/dist/{refresh-ZHLUUENK.js → refresh-TB4TNH7R.js} +7 -6
  251. package/dist/{remove-background-VQ7SFKC5.js → remove-background-KX574FQY.js} +17 -17
  252. package/dist/{render-JIQF7TIY.js → render-N7PKCVEP.js} +59 -59
  253. package/dist/{render-753ERHTH.js → render-RUEXLOWE.js} +11 -11
  254. package/dist/{render-4UHIUXYW.js → render-SHUBWBK4.js} +108 -950
  255. package/dist/{render-batch-7ZOJOEPJ.js → render-batch-QFGQD5FM.js} +11 -11
  256. package/dist/renderSetupWorker.js +6 -6
  257. package/dist/{resolver-QQOL74GH.js → resolver-HQIDF3TF.js} +9 -9
  258. package/dist/{reverse-CC3GYBFW.js → reverse-D2XWX6FV.js} +1 -1
  259. package/dist/{run-IQLZHH6D.js → run-EVZGKUEX.js} +9 -7
  260. package/dist/{screenshotCapture-2IJOZZTG.js → screenshotCapture-4JLD2OQZ.js} +11 -11
  261. package/dist/service-L3K45WOD.js +68 -0
  262. package/dist/share-7G44HDSY.js +226 -0
  263. package/dist/{sherpa-GISX4B24.js → sherpa-LU5AOQHV.js} +18 -16
  264. package/dist/{sites-O7A7G3ZQ.js → sites-NWEJJNAZ.js} +3 -3
  265. package/dist/skills/hyperframes/SKILL.md +4 -1
  266. package/dist/skills/hyperframes/references/motion.md +1 -1
  267. package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -2
  268. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  269. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  270. package/dist/{skills-VIC2VZZQ.js → skills-KVQ2G6P5.js} +19 -18
  271. package/dist/{skillsUpdateCheck-SM7RAGJI.js → skillsUpdateCheck-EB54PRMT.js} +7 -7
  272. package/dist/{snapshot-2ABRVH76.js → snapshot-QWO6OXG3.js} +65 -66
  273. package/dist/{src-7HHPSUSN.js → src-I3B7LYZM.js} +8 -8
  274. package/dist/{src-OZI5O5QD.js → src-WMZX5C4A.js} +14 -14
  275. package/dist/{start-OJ2I4XZP.js → start-ACVZUBZX.js} +50 -37
  276. package/dist/{staticProjectServer-4YDXULWX.js → staticProjectServer-C6KEOAYY.js} +25 -26
  277. package/dist/{status-DJEV6OOU.js → status-RYI42XDB.js} +38 -31
  278. package/dist/studio/assets/{codec-BxQIoYb1.js → codec-D6qbrtZY.js} +1 -1
  279. package/dist/studio/assets/{hyperframes-player-CPnasNX6.js → hyperframes-player-BVe9IO80.js} +1 -1
  280. package/dist/studio/assets/{index-BDQdyS01.js → index-BZu8x7Q5.js} +1 -1
  281. package/dist/studio/assets/{index-QCoqIBrS.js → index-Cl9fSd9I.js} +184 -184
  282. package/dist/studio/assets/{index-dsfjBidg.css → index-Cq2w6U13.css} +1 -1
  283. package/dist/studio/assets/{pausedVideoDecoder-CUTtHVKV.js → pausedVideoDecoder-DfnHfnL7.js} +1 -1
  284. package/dist/studio/index.html +2 -2
  285. package/dist/{studio-api-Z3ZDQMO7.js → studio-api-RBURPKYX.js} +17 -18
  286. package/dist/{studioServer-AYXFWMY2.js → studioServer-J5DYNR6R.js} +445 -78
  287. package/dist/{sync-ASO6S77T.js → sync-MUKE7NSP.js} +21 -21
  288. package/dist/{synthesize-GX74JPPZ.js → synthesize-NJKCIPKW.js} +7 -8
  289. package/dist/{system-FDPS57FU.js → system-W2ZTDOLV.js} +2 -2
  290. package/dist/{telemetry-BMPRZBBX.js → telemetry-5CLJMTHU.js} +4 -4
  291. package/dist/{telemetry-AFCV2QLQ.js → telemetry-6MDOWNLT.js} +14 -14
  292. package/dist/templates/_shared/AGENTS.md +2 -2
  293. package/dist/templates/_shared/CLAUDE.md +2 -2
  294. package/dist/{templates-CII6AG7E.js → templates-LWPXN7M2.js} +56 -40
  295. package/dist/{timeline-DQ5DZUFL.js → timeline-WTBC3J7O.js} +33 -34
  296. package/dist/{tokens-JS2IMFGF.js → tokens-4NPCCANL.js} +6 -6
  297. package/dist/{transcribe-WWKYZLEO.js → transcribe-NZJPYTM7.js} +43 -42
  298. package/dist/{transcribe-LH7S5HSM.js → transcribe-RL7LGXU6.js} +15 -12
  299. package/dist/{tts-QW53FBKW.js → tts-NANTORLP.js} +6 -6
  300. package/dist/{update-EE7PVVJY.js → update-DZCGNNOU.js} +20 -19
  301. package/dist/{updateCheck-KY2HRZZA.js → updateCheck-N3C56RNJ.js} +6 -6
  302. package/dist/{upgrade-H266K5KB.js → upgrade-RCV7ZF5Z.js} +9 -9
  303. package/dist/{urlDownloader-TRUJTJTT.js → urlDownloader-SSPDDS4Y.js} +8 -8
  304. package/dist/{validate-6RDVENOL.js → validate-HQDRN6T3.js} +37 -38
  305. package/dist/{video-B6HLIKGZ.js → video-FPDBQAXL.js} +14 -14
  306. package/dist/{voices-RQXHSMIG.js → voices-PMLIXQT4.js} +34 -34
  307. package/dist/warmCheck.js +56 -57
  308. package/package.json +2 -1
  309. package/dist/chunk-ITTVMZ32.js +0 -5035
  310. package/dist/chunk-YWRUQ7XZ.js +0 -107
  311. /package/dist/{chunk-43G3Z3HJ.js → chunk-AAENGP3S.js} +0 -0
@@ -5,15 +5,16 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
+ createStagingDir,
8
9
  renameWithRetry
9
- } from "./chunk-YWRUQ7XZ.js";
10
+ } from "./chunk-IEXRKKHC.js";
10
11
  import {
11
12
  mkdirWithinProject,
12
13
  realpath
13
14
  } from "./chunk-OFQWTKPW.js";
14
15
 
15
16
  // src/registry/publication.ts
16
- import { lstatSync, chmodSync, mkdtempSync, rmSync, writeFileSync } from "fs";
17
+ import { lstatSync, chmodSync, rmSync, writeFileSync } from "fs";
17
18
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
18
19
  function registryTargetPath(root, target) {
19
20
  const parts = target.split(/[\\/]/);
@@ -41,7 +42,7 @@ function publishRegistryFile(root, target, bytes) {
41
42
  const parent = realpath(dirname(path));
42
43
  assertContained(root, parent);
43
44
  const destination = resolve(parent, basename(path));
44
- const stage = mkdtempSync(join(parent, ".hf-install-"));
45
+ const stage = createStagingDir(parent, ".hf-install-");
45
46
  try {
46
47
  const stagedFile = join(stage, "file");
47
48
  writeFileSync(stagedFile, bytes, { flag: "wx" });
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-GR2E54E6.js";
14
14
  import {
15
15
  isAttendedTerminal
16
- } from "./chunk-FYZFURBN.js";
16
+ } from "./chunk-PQYICV7O.js";
17
17
  import {
18
18
  normalizeErrorMessage
19
19
  } from "./chunk-E63BDV4Z.js";
@@ -349,6 +349,8 @@ function passthroughFields(parsed) {
349
349
  skillsUpdateAvailable: parsed.skillsUpdateAvailable,
350
350
  skillsOutdatedCount: parsed.skillsOutdatedCount,
351
351
  skillsMissingCount: parsed.skillsMissingCount,
352
+ skillsInstalled: stringList(parsed.skillsInstalled),
353
+ skillsOutdated: stringList(parsed.skillsOutdated),
352
354
  localEmbeddingEnabled: consentFrom(parsed.localEmbeddingEnabled)
353
355
  };
354
356
  }
@@ -465,6 +467,9 @@ function updateLocalModelConsent(decide) {
465
467
  return localModelConsentOnDisk();
466
468
  }
467
469
  }
470
+ function stringList(value) {
471
+ return Array.isArray(value) ? value.filter((v) => typeof v === "string") : void 0;
472
+ }
468
473
  function consentFrom(value) {
469
474
  return value === void 0 ? void 0 : value === true;
470
475
  }
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-HOCC4J5C.js";
9
+ } from "./chunk-VU4EPKFI.js";
10
10
  import {
11
11
  recordFailure
12
12
  } from "./chunk-ADVVQX4I.js";
@@ -131,6 +131,7 @@ export {
131
131
  ErrLoginChanged,
132
132
  ErrDeviceAuthFailed,
133
133
  isAuthError,
134
+ oauthEnvironment,
134
135
  defaultClientId,
135
136
  resolveClientId,
136
137
  tokenEndpoint,
@@ -12,7 +12,7 @@ import {
12
12
  detectAgentRuntime,
13
13
  detectExecutionHarnessHint,
14
14
  detectSandboxRuntime
15
- } from "./chunk-G7VEYUZ2.js";
15
+ } from "./chunk-LW33P24U.js";
16
16
  import {
17
17
  detectWsl
18
18
  } from "./chunk-7KDQAD2W.js";
@@ -35,7 +35,7 @@ function getSystemMeta() {
35
35
  const cpuInfo = cpus();
36
36
  const firstCpu = cpuInfo[0] ?? null;
37
37
  const agent_runtime = detectAgentRuntime();
38
- const hints = agent_runtime === null ? detectAgentHints() : { agent_hint: null, term_program: null, agent_env_hints: null };
38
+ const hints = agent_runtime === null || agent_runtime === "other_ai_agent" ? detectAgentHints() : { agent_hint: null, term_program: null, agent_env_hints: null };
39
39
  cached = {
40
40
  os_release: release(),
41
41
  cpu_count: cpuInfo.length,
@@ -75,6 +75,7 @@ var CI_PROVIDERS = [
75
75
  { name: "jenkins", envVar: "JENKINS_URL", mode: "presence" },
76
76
  { name: "buildkite", envVar: "BUILDKITE", mode: "truthy" },
77
77
  { name: "travis", envVar: "TRAVIS", mode: "truthy" },
78
+ { name: "codebuild", envVar: "CODEBUILD_BUILD_ID", mode: "presence" },
78
79
  { name: null, envVar: "CONTINUOUS_INTEGRATION", mode: "truthy" },
79
80
  { name: null, envVar: "CI", mode: "truthy" }
80
81
  ];
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-A4ZTSQLW.js";
9
+ } from "./chunk-IEXRKKHC.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -11,13 +11,13 @@ import {
11
11
  q,
12
12
  spinner,
13
13
  ye
14
- } from "./chunk-LISUH6KH.js";
14
+ } from "./chunk-6OQPKRPJ.js";
15
15
  import {
16
16
  defineCommand
17
17
  } from "./chunk-DL4OD7IA.js";
18
18
  import {
19
19
  c
20
- } from "./chunk-HOCC4J5C.js";
20
+ } from "./chunk-VU4EPKFI.js";
21
21
  import {
22
22
  NO_UPDATE_NOTICE,
23
23
  checkForUpdate,
@@ -27,16 +27,16 @@ import {
27
27
  rewritePinnedHyperframesText,
28
28
  rewriteProjectPinnedScripts,
29
29
  withMeta
30
- } from "./chunk-AIJMFLLS.js";
30
+ } from "./chunk-E3EIKMUU.js";
31
31
  import {
32
32
  setCommandExitCode
33
33
  } from "./chunk-66W5IWLO.js";
34
34
  import {
35
35
  isUnattended
36
- } from "./chunk-FYZFURBN.js";
36
+ } from "./chunk-PQYICV7O.js";
37
37
  import {
38
38
  VERSION
39
- } from "./chunk-YTF6LBWN.js";
39
+ } from "./chunk-E7YPIP42.js";
40
40
 
41
41
  // src/commands/upgrade.ts
42
42
  import { execFileSync } from "child_process";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  writeCaptureFileSync
9
- } from "./chunk-EQBDKYXR.js";
9
+ } from "./chunk-SWOAB4GM.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-W62GJ6S2.js";
12
+ } from "./chunk-Q5J4OO7N.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-W62GJ6S2.js";
9
+ } from "./chunk-Q5J4OO7N.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-W62GJ6S2.js";
9
+ } from "./chunk-Q5J4OO7N.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-E3V2WHNZ.js";
19
+ } from "./chunk-QMGFXL43.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -26,15 +26,15 @@ import {
26
26
  } from "./chunk-DL4OD7IA.js";
27
27
  import {
28
28
  c
29
- } from "./chunk-HOCC4J5C.js";
29
+ } from "./chunk-VU4EPKFI.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-W62GJ6S2.js";
32
+ } from "./chunk-Q5J4OO7N.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
36
36
  getSystemMeta
37
- } from "./chunk-LAGZGKKN.js";
37
+ } from "./chunk-FOZBANEN.js";
38
38
  import {
39
39
  getAvailableMemoryMb
40
40
  } from "./chunk-FBN2M2HK.js";
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-AIJMFLLS.js";
47
+ } from "./chunk-E3EIKMUU.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
- } from "./chunk-CMQZP52Y.js";
51
+ } from "./chunk-F5QBIIFT.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-YTF6LBWN.js";
54
+ } from "./chunk-E7YPIP42.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-3VDQLCQM.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-MNOR566P.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -6,32 +6,32 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  relinkSplitHalves
9
- } from "./chunk-6FDVPIOO.js";
9
+ } from "./chunk-DONVZZLV.js";
10
10
  import {
11
11
  EXCLUDED_TAGS,
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-KVVFSUMG.js";
15
+ } from "./chunk-RERVXE6J.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-CF2MLHZJ.js";
20
+ } from "./chunk-Q6TVZY36.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-PZ23EDA5.js";
23
+ } from "./chunk-VSQ5NWCF.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
27
27
  readMediaOffsetSeconds,
28
28
  readPlaybackRate,
29
29
  writeClipTiming
30
- } from "./chunk-OHQRQE7F.js";
30
+ } from "./chunk-6MKM2RVL.js";
31
31
  import {
32
32
  decodedUrlPath,
33
33
  removeElementWithGsapCascade
34
- } from "./chunk-43G3Z3HJ.js";
34
+ } from "./chunk-AAENGP3S.js";
35
35
  import {
36
36
  parseHTML
37
37
  } from "./chunk-GWTIFRF5.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-OZI5O5QD.js");
10
+ return await import("./src-WMZX5C4A.js");
11
11
  }
12
12
 
13
13
  export {
@@ -8,7 +8,7 @@ import {
8
8
  ratioOf,
9
9
  readClip,
10
10
  round
11
- } from "./chunk-4H65D2CK.js";
11
+ } from "./chunk-MFSQZ2PR.js";
12
12
 
13
13
  // src/measure/look.ts
14
14
  var LOOK_FLOOR = { luma: 1, contrast: 1, saturation: 0.01 };
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-M3JU24AI.js";
9
+ } from "./chunk-FGFVUKPP.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-6ELGYAFD.js";
12
+ } from "./chunk-RGINHOAX.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -4,13 +4,103 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- renameWithRetry
9
- } from "./chunk-YWRUQ7XZ.js";
10
7
  import {
11
8
  realpath
12
9
  } from "./chunk-OFQWTKPW.js";
13
10
 
11
+ // ../core/dist/removeScratch.js
12
+ import { AsyncLocalStorage } from "async_hooks";
13
+ import { rmSync } from "fs";
14
+ var collecting = new AsyncLocalStorage();
15
+ function removeScratch(path) {
16
+ try {
17
+ rmSync(path, { recursive: true, force: true });
18
+ } catch {
19
+ collecting.getStore()?.push(path);
20
+ }
21
+ }
22
+ async function collectScratchLeftovers(run, report) {
23
+ const left = [];
24
+ try {
25
+ return await collecting.run(left, run);
26
+ } finally {
27
+ report(left);
28
+ }
29
+ }
30
+
31
+ // ../core/dist/renameWithRetry.js
32
+ import { copyFileSync, renameSync } from "fs";
33
+ import { copyFile, rename } from "fs/promises";
34
+ var RETRYABLE = /* @__PURE__ */ new Set(["EPERM", "EACCES", "EBUSY"]);
35
+ var BACKOFF_MS = [10, 20, 40, 80, 160, 320, 640];
36
+ function isWindowsHold(error, platform = process.platform) {
37
+ if (platform !== "win32")
38
+ return false;
39
+ return RETRYABLE.has(error?.code ?? "");
40
+ }
41
+ function nextStep(error, attempt, options, platform) {
42
+ if (!isWindowsHold(error, platform))
43
+ return "throw";
44
+ if (attempt < BACKOFF_MS.length)
45
+ return "wait";
46
+ return options.copyFallback ? "copy" : "throw";
47
+ }
48
+ function sleepSync(ms) {
49
+ Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
50
+ }
51
+ function renameWithRetry(from, to, options = {}) {
52
+ const doRename = options.rename ?? renameSync;
53
+ const doCopy = options.copy ?? copyFileSync;
54
+ const platform = options.platform ?? process.platform;
55
+ for (let attempt = 0; ; attempt++) {
56
+ try {
57
+ doRename(from, to);
58
+ return;
59
+ } catch (error) {
60
+ const step = nextStep(error, attempt, options, platform);
61
+ if (step === "throw")
62
+ throw error;
63
+ if (step === "wait") {
64
+ sleepSync(BACKOFF_MS[attempt]);
65
+ continue;
66
+ }
67
+ try {
68
+ doCopy(from, to);
69
+ } catch {
70
+ throw error;
71
+ }
72
+ removeScratch(from);
73
+ return;
74
+ }
75
+ }
76
+ }
77
+ async function renameWithRetryAsync(from, to, options = {}) {
78
+ const doRename = options.rename ?? rename;
79
+ const doCopy = options.copy ?? copyFile;
80
+ const platform = options.platform ?? process.platform;
81
+ for (let attempt = 0; ; attempt++) {
82
+ try {
83
+ await doRename(from, to);
84
+ return;
85
+ } catch (error) {
86
+ const step = nextStep(error, attempt, options, platform);
87
+ if (step === "throw")
88
+ throw error;
89
+ if (step === "wait") {
90
+ await new Promise((resolve2) => setTimeout(resolve2, BACKOFF_MS[attempt]));
91
+ continue;
92
+ }
93
+ try {
94
+ await doCopy(from, to);
95
+ } catch {
96
+ throw error;
97
+ }
98
+ removeScratch(from);
99
+ return;
100
+ }
101
+ }
102
+ }
103
+
14
104
  // ../core/dist/atomicFile.js
15
105
  import * as fs from "fs";
16
106
  import { createHash, randomBytes } from "crypto";
@@ -133,11 +223,36 @@ function writeTempSibling(filePath, content, mode, operations) {
133
223
  function errorCode(error) {
134
224
  return String(error?.code);
135
225
  }
226
+ var WIN32_LONG_PREFIX = "\\\\?\\";
227
+ var WIN32_ABSOLUTE = /^([A-Za-z]:\\|\\\\)/;
228
+ var WIN32_DOS_DEVICE = /^\\\\[.?]\\/;
229
+ function toWin32LongPath(path) {
230
+ const full = resolve(path);
231
+ if (!WIN32_ABSOLUTE.test(full) || WIN32_DOS_DEVICE.test(full))
232
+ return path;
233
+ return full.startsWith("\\\\") ? `${WIN32_LONG_PREFIX}UNC\\${full.slice(2)}` : `${WIN32_LONG_PREFIX}${full}`;
234
+ }
235
+ function createStagingDir(parent, prefix) {
236
+ const requested = join(parent, prefix);
237
+ const long = toWin32LongPath(requested);
238
+ const created = fs.mkdtempSync(long);
239
+ return long === requested ? created : withoutAddedLongPrefix(created);
240
+ }
241
+ function withoutAddedLongPrefix(path) {
242
+ const unc = `${WIN32_LONG_PREFIX}UNC\\`;
243
+ return path.startsWith(unc) ? `\\\\${path.slice(unc.length)}` : path.slice(WIN32_LONG_PREFIX.length);
244
+ }
136
245
 
137
246
  export {
247
+ removeScratch,
248
+ collectScratchLeftovers,
249
+ isWindowsHold,
250
+ renameWithRetry,
251
+ renameWithRetryAsync,
138
252
  atomicTempPath,
139
253
  isAtomicTempPath,
140
254
  replaceFileAtomically,
141
255
  createFileAtomically,
142
- resolveWritePath
256
+ resolveWritePath,
257
+ createStagingDir
143
258
  };
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  GSAP_CDN_VERSION,
14
14
  gsapCdnDist
15
- } from "./chunk-CF2MLHZJ.js";
15
+ } from "./chunk-Q6TVZY36.js";
16
16
 
17
17
  // src/server/readBundleFile.ts
18
18
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-M3JU24AI.js";
9
+ } from "./chunk-FGFVUKPP.js";
10
10
  import {
11
11
  failUsage
12
12
  } from "./chunk-66W5IWLO.js";
@@ -0,0 +1,152 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ apiBaseUrl,
9
+ isHeaderSafe,
10
+ readStore
11
+ } from "./chunk-WXEXQLVV.js";
12
+ import {
13
+ ErrInvalidStore,
14
+ ErrLoginExpired,
15
+ ErrNotConfigured,
16
+ assertOAuthIdentity,
17
+ isAuthError
18
+ } from "./chunk-FID757D3.js";
19
+
20
+ // src/auth/resolver.ts
21
+ var ENV_CREDENTIAL_VAR = {
22
+ env: "HEYGEN_API_KEY",
23
+ env_alias: "HYPERFRAMES_API_KEY",
24
+ env_oauth: "HEYGEN_ACCESS_TOKEN"
25
+ };
26
+ var envCredentialVar = (source) => source in ENV_CREDENTIAL_VAR ? ENV_CREDENTIAL_VAR[source] : void 0;
27
+ var EXPIRY_SKEW_MS = 60 * 1e3;
28
+ async function resolveCredential(opts = {}) {
29
+ const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
30
+ const envKey = envApiKey();
31
+ if (envKey && !heygenApiHost()) return envKey;
32
+ const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
33
+ if (accessToken) {
34
+ return { type: "oauth", access_token: accessToken, source: "env_oauth", refreshable: false };
35
+ }
36
+ if (envKey && loginRefreshFailed) return envKey;
37
+ return await fromStore(now, envKey);
38
+ }
39
+ async function fromStore(now, envKey) {
40
+ const store = await readStore().catch((err) => {
41
+ if (envKey) return null;
42
+ throw err;
43
+ });
44
+ if (!store || store.source === "absent") {
45
+ if (envKey) return envKey;
46
+ throw ErrNotConfigured();
47
+ }
48
+ const { credentials, source } = store;
49
+ const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
50
+ const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
51
+ return login ?? envKey ?? storedApiKey(credentials, fileSource);
52
+ }
53
+ function storedApiKey(credentials, source) {
54
+ if (credentials.oauth) {
55
+ assertOAuthIdentity(credentials.oauth);
56
+ throw ErrLoginExpired();
57
+ }
58
+ if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
59
+ throw ErrNotConfigured();
60
+ }
61
+ function envApiKey() {
62
+ const heygenEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env);
63
+ if (heygenEnv) return { type: "api_key", key: heygenEnv, source: "env" };
64
+ const hfEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env_alias);
65
+ if (hfEnv) return { type: "api_key", key: hfEnv, source: "env_alias" };
66
+ return void 0;
67
+ }
68
+ function heygenApiHost() {
69
+ const mediaBase = process.env["HEYGEN_API_BASE"]?.trim();
70
+ return [apiBaseUrl(), ...mediaBase ? [mediaBase] : []].every((base) => {
71
+ try {
72
+ const host = new URL(base).hostname;
73
+ return host === "heygen.com" || host.endsWith(".heygen.com");
74
+ } catch {
75
+ return false;
76
+ }
77
+ });
78
+ }
79
+ function boundToThisClient(tokens) {
80
+ try {
81
+ assertOAuthIdentity(tokens);
82
+ return true;
83
+ } catch {
84
+ return false;
85
+ }
86
+ }
87
+ var loginRefreshFailed = false;
88
+ async function afterRefreshFailure(err, refreshToken) {
89
+ if (!isAuthError(err)) throw err;
90
+ if (err.code === "LOGIN_CHANGED" || err.code === "REFRESH_FAILED") {
91
+ const stored = await readStore().catch(() => null);
92
+ const current = stored?.credentials.oauth?.refresh_token;
93
+ if (current && current !== refreshToken) {
94
+ const next = await resolveCredential();
95
+ if (next.type !== "oauth" || !next.refreshable) return next;
96
+ }
97
+ }
98
+ if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
99
+ const key = envApiKey();
100
+ if (!key) throw err;
101
+ loginRefreshFailed = true;
102
+ return key;
103
+ }
104
+ function headerSafeEnv(name) {
105
+ const value = process.env[name];
106
+ if (value && !isHeaderSafe(value)) {
107
+ throw ErrInvalidStore(`${name} contains control characters`);
108
+ }
109
+ return value;
110
+ }
111
+ async function tryResolveCredential(opts = {}) {
112
+ try {
113
+ return await resolveCredential(opts);
114
+ } catch (err) {
115
+ if (isAuthError(err) && err.code === "NOT_CONFIGURED") {
116
+ return null;
117
+ }
118
+ throw err;
119
+ }
120
+ }
121
+ function pickOAuth(tokens, now, source) {
122
+ const expiresAt = parseDate(tokens.expires_at);
123
+ const expired = isTokenExpired(expiresAt, now);
124
+ if (expired && !tokens.refresh_token) return null;
125
+ const out = {
126
+ type: "oauth",
127
+ access_token: tokens.access_token,
128
+ source,
129
+ refreshable: expired && tokens.refresh_token !== void 0
130
+ };
131
+ if (tokens.refresh_token) out.refresh_token = tokens.refresh_token;
132
+ if (expiresAt) out.expires_at = expiresAt;
133
+ if (tokens.scope) out.scope = tokens.scope;
134
+ return out;
135
+ }
136
+ function isTokenExpired(expiresAt, now) {
137
+ return expiresAt !== void 0 && expiresAt.getTime() - EXPIRY_SKEW_MS < now.getTime();
138
+ }
139
+ function parseDate(s) {
140
+ if (!s) return void 0;
141
+ const d = new Date(s);
142
+ return Number.isNaN(d.getTime()) ? void 0 : d;
143
+ }
144
+
145
+ export {
146
+ ENV_CREDENTIAL_VAR,
147
+ envCredentialVar,
148
+ resolveCredential,
149
+ afterRefreshFailure,
150
+ tryResolveCredential,
151
+ isTokenExpired
152
+ };
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-M3JU24AI.js";
9
+ } from "./chunk-FGFVUKPP.js";
10
10
  import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-W62GJ6S2.js";
14
+ } from "./chunk-Q5J4OO7N.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";