hyperframes 0.9.32 → 0.9.34

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 (303) hide show
  1. package/bin/hyperframes.mjs +10 -0
  2. package/dist/{add-HYI4YJC5.js → add-NBOJ2UA3.js} +18 -17
  3. package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-3JOLQXTX.js} +11 -11
  4. package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-VI5CFYCR.js} +10 -10
  5. package/dist/api.js +49 -48
  6. package/dist/{appHistory-WZIHFCPK.js → appHistory-535MKSWI.js} +2 -2
  7. package/dist/{asset-7FG3M3FQ.js → asset-NYULKN5A.js} +2 -2
  8. package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-AWJMEMX7.js} +12 -12
  9. package/dist/{audio-R6ZG62DU.js → audio-QN5YYFOA.js} +31 -30
  10. package/dist/{auth-IPDYZXOG.js → auth-LHUBRGIH.js} +4 -4
  11. package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-5M3JGEFS.js} +3 -3
  12. package/dist/{avatars-A45VFUZ4.js → avatars-DAB2KILV.js} +19 -18
  13. package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-3NQOCEDM.js} +4 -4
  14. package/dist/backgroundChecksWorker.js +4 -4
  15. package/dist/{batchRender-VBSYVQA7.js → batchRender-EPRIJZVT.js} +4 -4
  16. package/dist/{beats-UPJ3KANG.js → beats-ZCPQEIFG.js} +14 -14
  17. package/dist/{benchmark-2RWYJGL2.js → benchmark-7OVOBGQX.js} +11 -11
  18. package/dist/{billing-MD66MJTA.js → billing-7K6S23FP.js} +19 -18
  19. package/dist/{browser-JXCS62NX.js → browser-CP76THCA.js} +10 -9
  20. package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-MRCRI676.js} +1 -1
  21. package/dist/{capture-M6DT5WZT.js → capture-B4B72PIK.js} +4 -4
  22. package/dist/{capture-DJ4WRP62.js → capture-VAE27MNW.js} +51 -31
  23. package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-YAOQTG6R.js} +18 -18
  24. package/dist/{captureFile-Y2ZMB7HK.js → captureFile-P4BDKVJH.js} +2 -2
  25. package/dist/{catalog-GW45OWKU.js → catalog-TUZGNHN6.js} +18 -17
  26. package/dist/{catch-up-YKJQ4IYC.js → catch-up-GMUF3JXI.js} +11 -11
  27. package/dist/{check-7QTKMPGA.js → check-CHCV573Z.js} +51 -51
  28. package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-JJZN37WT.js} +19 -19
  29. package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-SK7GFN7U.js} +44 -44
  30. package/dist/{chunk-X6DWLN55.js → chunk-2HDVXVUA.js} +8 -4
  31. package/dist/{chunk-JMV63CNH.js → chunk-2JXJQ3ZQ.js} +2 -2
  32. package/dist/{chunk-6BI6URO2.js → chunk-2JZU6DYH.js} +5 -4
  33. package/dist/{chunk-SXOIG6VG.js → chunk-2OP5HU5S.js} +284 -192
  34. package/dist/{chunk-KRWPTZBY.js → chunk-3FQYFVWA.js} +99 -25
  35. package/dist/{chunk-G7NKYELQ.js → chunk-3K4THQHY.js} +4 -4
  36. package/dist/{chunk-SIRYW7SY.js → chunk-3P4OYIBA.js} +2 -2
  37. package/dist/{chunk-WTO4DHBH.js → chunk-3XJ42WUG.js} +1 -1
  38. package/dist/{chunk-XPT4GC6X.js → chunk-45IPAGED.js} +7 -7
  39. package/dist/{chunk-HWMNSWEA.js → chunk-4MVWA7NJ.js} +6 -6
  40. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  41. package/dist/{chunk-6MTSP2XE.js → chunk-4TQS6ZSL.js} +7 -7
  42. package/dist/{chunk-5GXMZIQZ.js → chunk-4WXLBRT5.js} +31 -22
  43. package/dist/{chunk-YIE5FU73.js → chunk-4Y4VYZRO.js} +37 -3
  44. package/dist/{chunk-K72X2YXR.js → chunk-52CUHVEA.js} +4 -4
  45. package/dist/{chunk-TLUDJLBN.js → chunk-55I56MXF.js} +1 -1
  46. package/dist/{chunk-2T7EDEKE.js → chunk-5QPYUTV3.js} +8 -8
  47. package/dist/{chunk-WLNQAJQC.js → chunk-5SXAEHZT.js} +2 -2
  48. package/dist/{chunk-77UB5EHM.js → chunk-5WK76INI.js} +1 -1
  49. package/dist/{chunk-5VN7ZXJR.js → chunk-5ZTB6QIJ.js} +3 -3
  50. package/dist/{chunk-ZIYXPDKY.js → chunk-65PFUPLX.js} +1 -1
  51. package/dist/{chunk-LHFBKUVY.js → chunk-6FP6HBG4.js} +2 -2
  52. package/dist/{chunk-YCTWMO3G.js → chunk-6HG3XABE.js} +1 -1
  53. package/dist/{chunk-LJMTEZOP.js → chunk-6K5KVYOQ.js} +16 -16
  54. package/dist/{chunk-34S7GYVK.js → chunk-6OYPVALW.js} +15 -8
  55. package/dist/{chunk-G2XAFJ2B.js → chunk-74PKHC3W.js} +1 -1
  56. package/dist/{chunk-N6Y645MX.js → chunk-7C6K5WFB.js} +1 -1
  57. package/dist/{chunk-M6FNCANA.js → chunk-7E5HPNMD.js} +1 -1
  58. package/dist/{chunk-CHJGVW5W.js → chunk-7YBRRU5W.js} +4 -11
  59. package/dist/{chunk-2NMBD5AH.js → chunk-7YOJPNDT.js} +1 -1
  60. package/dist/{chunk-GCJRV7LU.js → chunk-A2YCAF35.js} +23 -37
  61. package/dist/{chunk-E5S4QMX7.js → chunk-AG6L5CUE.js} +2 -2
  62. package/dist/{chunk-SVI2CJ6R.js → chunk-AOTAYP5E.js} +1 -1
  63. package/dist/{chunk-VB3JZKMN.js → chunk-ASORF7UJ.js} +31 -10
  64. package/dist/{chunk-XB7HE2R5.js → chunk-AUM475MS.js} +3 -3
  65. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  66. package/dist/{chunk-I3QXWJ7V.js → chunk-BDFD3C3V.js} +7 -7
  67. package/dist/{chunk-YAS347ZS.js → chunk-BLII22FU.js} +1 -1
  68. package/dist/{chunk-CMYUPVMI.js → chunk-BX4GM3IV.js} +2 -2
  69. package/dist/{chunk-D7NNNL2K.js → chunk-BZPRG5N5.js} +18 -18
  70. package/dist/{chunk-H4C3P2KV.js → chunk-C3TYMGWE.js} +3 -3
  71. package/dist/{chunk-6NNLDCX4.js → chunk-C62LSZVJ.js} +1 -1
  72. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  73. package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
  74. package/dist/{chunk-GBIASKIH.js → chunk-DH34XRVW.js} +1 -1
  75. package/dist/{chunk-6SNGKC6B.js → chunk-DLBFLOEU.js} +1 -1
  76. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  77. package/dist/{chunk-Z6X64P6C.js → chunk-DTM7HGP4.js} +6 -6
  78. package/dist/{chunk-2W4VQ3YZ.js → chunk-E53F4CP6.js} +2 -2
  79. package/dist/{chunk-3R2X2VKB.js → chunk-ECKXTBRB.js} +6 -4
  80. package/dist/{chunk-RCRUWNQ4.js → chunk-EDQF36I7.js} +3 -3
  81. package/dist/{chunk-GWSCUFGL.js → chunk-EWBLIDHD.js} +11 -9
  82. package/dist/{chunk-BMDABBHG.js → chunk-FEWHHDFA.js} +5 -17
  83. package/dist/{chunk-EBG5RCPM.js → chunk-FILLRGVO.js} +4 -4
  84. package/dist/{chunk-3HT3UGF2.js → chunk-FRY73NRV.js} +1 -1
  85. package/dist/{chunk-KAG5KXNO.js → chunk-FS4XHCSU.js} +1 -1
  86. package/dist/{chunk-GOMTMQRT.js → chunk-G6ME77PU.js} +1 -1
  87. package/dist/{chunk-GTHRXU37.js → chunk-GJB5VR44.js} +18 -18
  88. package/dist/{chunk-G6JLFSII.js → chunk-GXGGPZXD.js} +4 -4
  89. package/dist/chunk-H6323NVP.js +453 -0
  90. package/dist/chunk-HYTD4CIO.js +57 -0
  91. package/dist/{chunk-P7TCIUP2.js → chunk-I2GYLBJJ.js} +4 -4
  92. package/dist/{chunk-BA3EQ2KL.js → chunk-IVMYWHFE.js} +3 -3
  93. package/dist/{chunk-HDCVU64B.js → chunk-IX6BFRED.js} +3 -2
  94. package/dist/{chunk-W3HNLDK6.js → chunk-JJUVQYXL.js} +2 -2
  95. package/dist/{chunk-HXQDDCGY.js → chunk-JQATOGQQ.js} +2 -2
  96. package/dist/{chunk-2Z42EUHG.js → chunk-JVDYIUFD.js} +2 -2
  97. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  98. package/dist/{chunk-SFPIVVUE.js → chunk-K4TEEYGN.js} +2 -2
  99. package/dist/{chunk-KFXHBP2E.js → chunk-K5BPLZOP.js} +2 -2
  100. package/dist/{chunk-H7AJLEBR.js → chunk-K6EOKQ6J.js} +8 -8
  101. package/dist/{chunk-Y3YHDU7T.js → chunk-KCL77FXI.js} +1 -1
  102. package/dist/{chunk-PXDRW3QN.js → chunk-LB6VJTM4.js} +1 -1
  103. package/dist/{chunk-EXW2LV4K.js → chunk-LCQT4S43.js} +248 -62
  104. package/dist/chunk-M3BJEZ7E.js +152 -0
  105. package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
  106. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  107. package/dist/{chunk-M6LAGO6O.js → chunk-NAKQS3EJ.js} +3 -3
  108. package/dist/{chunk-TTSLKH63.js → chunk-NMMPHHN7.js} +3 -3
  109. package/dist/{chunk-UWMOMAYI.js → chunk-O2S5HR7Y.js} +49 -12
  110. package/dist/{chunk-D6BV6TTI.js → chunk-OKN7E77Z.js} +1 -1
  111. package/dist/{chunk-XH6LGDIB.js → chunk-PDE6XAIJ.js} +4 -4
  112. package/dist/{chunk-4FTJE22M.js → chunk-PNBWAA3E.js} +2 -2
  113. package/dist/{chunk-AOQRVS63.js → chunk-PVHNBJCI.js} +9 -7
  114. package/dist/{chunk-3PHCFSPD.js → chunk-PWSTB75B.js} +2 -2
  115. package/dist/{chunk-PVSRPNIV.js → chunk-PXWPBLEN.js} +2 -2
  116. package/dist/{chunk-IEEIPTDW.js → chunk-PYZVKGW5.js} +1 -1
  117. package/dist/{chunk-5FFYMVRD.js → chunk-Q2G4ERQU.js} +2 -2
  118. package/dist/{chunk-YMIEJZB6.js → chunk-QDSALYDV.js} +4 -4
  119. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  120. package/dist/{chunk-XDRSEU2I.js → chunk-R3C62AP3.js} +4 -4
  121. package/dist/{chunk-L72MPEM2.js → chunk-RJJ5NVSQ.js} +1 -1
  122. package/dist/{chunk-KXOKZJBZ.js → chunk-RSQTFDMS.js} +13 -13
  123. package/dist/{chunk-6RFCS4IU.js → chunk-RYJXT2AS.js} +9 -7
  124. package/dist/{chunk-GJUL3PRV.js → chunk-S3HTROSO.js} +3 -3
  125. package/dist/{chunk-AZ2QJETV.js → chunk-SAIPA3QY.js} +1 -1
  126. package/dist/{chunk-4CSZZXL6.js → chunk-SDBFTY6V.js} +3 -3
  127. package/dist/{chunk-TZH6HNZH.js → chunk-SG4OW2HV.js} +2 -2
  128. package/dist/{chunk-AWT5FHTN.js → chunk-T4YI2YLF.js} +1 -1
  129. package/dist/{chunk-TVQNABOI.js → chunk-T7O62YTY.js} +1 -1
  130. package/dist/chunk-TDOJW7Z2.js +5053 -0
  131. package/dist/{chunk-3367VNGK.js → chunk-TGGYHFTP.js} +2 -2
  132. package/dist/{chunk-NNOAOQLT.js → chunk-TGK7LUEV.js} +2 -2
  133. package/dist/chunk-TLU5DPES.js +560 -0
  134. package/dist/{chunk-LXIEKLAC.js → chunk-TOLY2QK2.js} +6 -6
  135. package/dist/chunk-UFKWSLJ5.js +392 -0
  136. package/dist/{chunk-PXY3JZP2.js → chunk-UGWY7PFQ.js} +2 -2
  137. package/dist/{chunk-REJ4NIBY.js → chunk-VJSKNQTM.js} +1 -1
  138. package/dist/{chunk-NXSKZE3C.js → chunk-VW35U2LJ.js} +2 -2
  139. package/dist/{chunk-JZIEZCQM.js → chunk-VZO3BUTW.js} +5 -12
  140. package/dist/{chunk-TFBPCJPG.js → chunk-W6AXNWGE.js} +1 -1
  141. package/dist/{chunk-262ADJJN.js → chunk-WC2XQ4NR.js} +1 -1
  142. package/dist/{chunk-WXOOAAT4.js → chunk-WLB2D2OJ.js} +36 -4
  143. package/dist/{chunk-P5E3RHW3.js → chunk-WWT32C2M.js} +3 -3
  144. package/dist/{chunk-ADP2GIBS.js → chunk-XEUTASNL.js} +2 -2
  145. package/dist/{chunk-MYFAVVA6.js → chunk-YCXNWQ3B.js} +32 -32
  146. package/dist/{chunk-JHX76QFC.js → chunk-YMTLKSXO.js} +1 -1
  147. package/dist/{chunk-KG3TONXU.js → chunk-Z222HDGC.js} +9 -9
  148. package/dist/chunk-Z3ZLN5VR.js +3890 -0
  149. package/dist/{chunk-EJPWGGPK.js → chunk-Z64I7KJZ.js} +5340 -5087
  150. package/dist/{chunk-LBQQNNRC.js → chunk-ZWLFWYHR.js} +1 -1
  151. package/dist/{clean-MJBET4EN.js → clean-N7RLS5LN.js} +29 -29
  152. package/dist/cli.js +70 -68
  153. package/dist/{cloud-Z4Q76MLS.js → cloud-4PO7BA26.js} +8 -7
  154. package/dist/{cloud-WEDQYHZE.js → cloud-W3DHH6EB.js} +4 -4
  155. package/dist/{cloudrun-2KGSRAKA.js → cloudrun-YIAPIPOG.js} +7 -7
  156. package/dist/{compare-MJKWQOD7.js → compare-GCWIIUGY.js} +43 -43
  157. package/dist/{compiler-ETXRTUQC.js → compiler-L3BJI43E.js} +8 -6
  158. package/dist/{component-PZGKEJ6L.js → component-C4VYDMZ4.js} +3 -3
  159. package/dist/{compositions-N3FEEWH7.js → compositions-5P4BZQJA.js} +16 -16
  160. package/dist/{contactSheet-HZMP42FZ.js → contactSheet-ROMTQQ6Y.js} +3 -3
  161. package/dist/contract/LICENSE-Unicode.txt +39 -0
  162. package/dist/contract/path-policy.json +311 -0
  163. package/dist/contract/unicode-15.1.0.json +6179 -0
  164. package/dist/{curve-MWABBM7Q.js → curve-IMXKUBAO.js} +15 -15
  165. package/dist/{cuts-BQFSSNY7.js → cuts-PRBLX5HH.js} +16 -16
  166. package/dist/{delete-HPHGJABK.js → delete-QYWDRFO3.js} +11 -10
  167. package/dist/{deploy-JY2QOB5F.js → deploy-DGEPSTOJ.js} +7 -7
  168. package/dist/{describeProject-S6AGYZWL.js → describeProject-WS4TR7VF.js} +11 -11
  169. package/dist/{destroy-AZK7J4IR.js → destroy-2KSDD4KU.js} +6 -6
  170. package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-D3HTAAN2.js} +3 -3
  171. package/dist/{diff-XDNFCAU4.js → diff-AAWRGZLX.js} +47 -46
  172. package/dist/{dist-6EE3Y4M7.js → dist-DJQRHSKZ.js} +4 -4
  173. package/dist/{dist-EYEYDD4F.js → dist-GJSMSEEL.js} +22 -18
  174. package/dist/{dist-TYGDYK56.js → dist-V2TLDLQL.js} +3 -3
  175. package/dist/{doctor-6IRSMKZD.js → doctor-CARXZUFN.js} +18 -18
  176. package/dist/{energy-VCJ2FJEF.js → energy-VMNGG2ND.js} +16 -16
  177. package/dist/{events-DNTIMCUM.js → events-4XIJRQIJ.js} +18 -18
  178. package/dist/{events-QQYBD7JM.js → events-LOPLHMOT.js} +4 -4
  179. package/dist/{events-M6A7BT3V.js → events-XX3DYSU4.js} +8 -8
  180. package/dist/execute-U7JKJERV.js +109 -0
  181. package/dist/{extract-X3IVXYHX.js → extract-KYFUTYDD.js} +19 -19
  182. package/dist/{face-MZHXKBDB.js → face-VQGUHRQL.js} +18 -18
  183. package/dist/{feedback-TAMGYFUO.js → feedback-UPWYWOQ3.js} +19 -18
  184. package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-RUOPT3JH.js} +10 -10
  185. package/dist/{figma-WMD7AR2S.js → figma-TO57RICW.js} +3 -3
  186. package/dist/fontLocalizeCli.js +16 -16
  187. package/dist/{frames-OU2UOLBU.js → frames-4Y3X474I.js} +18 -18
  188. package/dist/{generate-6F6QEFXW.js → generate-BPID6U7D.js} +32 -31
  189. package/dist/{get-VVDO7DXG.js → get-JIJ46VI5.js} +11 -10
  190. package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-5ZJNSR7D.js} +10 -10
  191. package/dist/{grade-compare-O6LY2U73.js → grade-compare-YTBW7C65.js} +44 -44
  192. package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-OL7KF7SH.js} +11 -11
  193. package/dist/{help-XLSTTDHR.js → help-QPV26QI5.js} +2 -1
  194. package/dist/{history-DBCCWBDG.js → history-7UVGTZT3.js} +14 -14
  195. package/dist/hyperframe.manifest.json +1 -1
  196. package/dist/hyperframe.runtime.iife.js +61 -61
  197. package/dist/hyperframes-player.global.js +1 -1
  198. package/dist/{info-E46BWAQ7.js → info-2VFXR7LJ.js} +18 -18
  199. package/dist/{init-23TG5W7S.js → init-JZ7CJQJE.js} +35 -35
  200. package/dist/{ink-6UFSNJRW.js → ink-SS7XOD7Y.js} +16 -16
  201. package/dist/{inspect-RKI6XACH.js → inspect-D5MBKDZZ.js} +41 -41
  202. package/dist/{installer-JWPK75BR.js → installer-UNC4BAFO.js} +7 -7
  203. package/dist/{keyframes-J65V5A2G.js → keyframes-7T2CVOM6.js} +14 -12
  204. package/dist/{lambda-RZSXXBJU.js → lambda-QVJFVSXL.js} +16 -16
  205. package/dist/{layout-RJQUOYWB.js → layout-5DF7VFWS.js} +41 -41
  206. package/dist/{lint-4TUHKKA2.js → lint-EWJHJKAI.js} +14 -14
  207. package/dist/{lintProject-R6RTBSCZ.js → lintProject-KBJU3L4C.js} +4 -4
  208. package/dist/{list-HOD2N4VS.js → list-DDLH5ZG5.js} +13 -12
  209. package/dist/{localPage-TC4NC3VL.js → localPage-MHAXFUGI.js} +11 -11
  210. package/dist/{login-NTOS3HKD.js → login-BJ4QUZT4.js} +8 -7
  211. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  212. package/dist/{look-GC63E2I7.js → look-HNK2K33N.js} +16 -16
  213. package/dist/{manager-FICBET24.js → manager-FFLFDJZ6.js} +11 -11
  214. package/dist/{manager-IAXYSRG5.js → manager-VLO3FZC4.js} +2 -1
  215. package/dist/{measure-WTQCSQ55.js → measure-SE346MGF.js} +11 -11
  216. package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-KYPDRIBT.js} +18 -18
  217. package/dist/{media-use-K75FDXJ3.js → media-use-OJZHSNTK.js} +21 -10
  218. package/dist/{models-JKOA542M.js → models-KWSHPDZ5.js} +15 -15
  219. package/dist/{motionShot-A3TYKTQU.js → motionShot-HEROABIE.js} +24 -24
  220. package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-ZD5W37ZO.js} +14 -14
  221. package/dist/oauth-SAVP2YM4.js +40 -0
  222. package/dist/{open-F6GI4TRA.js → open-7B6HT4EX.js} +19 -19
  223. package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-5AKE7TBH.js} +19 -19
  224. package/dist/{pipeline-7P7LGGQG.js → pipeline-UTVSWC4X.js} +13 -13
  225. package/dist/plan-SQ63IXQC.js +88 -0
  226. package/dist/{play-DYOZLKWX.js → play-NYBFE3GW.js} +32 -32
  227. package/dist/{preflight-VM4HSRBY.js → preflight-T23WHZP3.js} +12 -12
  228. package/dist/{present-IINIEZJC.js → present-FX22552Q.js} +26 -26
  229. package/dist/{preview-NJO2UXWJ.js → preview-ULBNMDXD.js} +63 -39
  230. package/dist/{probe-LQQHFX5Q.js → probe-62Z5C6VC.js} +16 -16
  231. package/dist/{producer-LH2SZHJ2.js → producer-X3KFL4QM.js} +1 -1
  232. package/dist/{projectConfig-BLACFLUW.js → projectConfig-JQ4IDYTU.js} +10 -10
  233. package/dist/{publication-NFF2BXIE.js → publication-YNIJIR6O.js} +5 -5
  234. package/dist/{publish-JST5Y4UR.js → publish-7TIGC7RV.js} +91 -31
  235. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  236. package/dist/{remove-background-WUBESLWN.js → remove-background-F3BD6WXD.js} +14 -14
  237. package/dist/{render-DA4V7CEE.js → render-BL6CAORF.js} +6 -6
  238. package/dist/{render-4KWUUC5H.js → render-CDWBVWJP.js} +91 -957
  239. package/dist/{render-R4VNR4E2.js → render-EOQOD2TJ.js} +54 -53
  240. package/dist/{render-batch-JMPG4RLT.js → render-batch-PDY2PXUZ.js} +6 -6
  241. package/dist/renderSetupWorker.js +5 -5
  242. package/dist/{resolver-PNIFIDIE.js → resolver-VBAVCFEP.js} +7 -7
  243. package/dist/{reverse-4NI7D2C3.js → reverse-3E6HUX5S.js} +1 -1
  244. package/dist/{run-FWBIBLYE.js → run-77Z3DLIP.js} +8 -7
  245. package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-XWWCRLGM.js} +13 -13
  246. package/dist/service-LJZQKQT6.js +68 -0
  247. package/dist/share-2CNP22KN.js +274 -0
  248. package/dist/{sherpa-W3BMN67E.js → sherpa-NPTMMQHQ.js} +18 -18
  249. package/dist/sherpaWorker.js +2 -1
  250. package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
  251. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +20 -3
  252. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +61 -3
  253. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  254. package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
  255. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  256. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
  257. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
  258. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +25 -6
  259. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
  260. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
  261. package/dist/skills/media-use/references/audio.md +2 -0
  262. package/dist/skills/media-use/references/operations.md +2 -1
  263. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
  264. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
  265. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
  266. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +42 -18
  267. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
  268. package/dist/{skills-KQQVUFGO.js → skills-7MQBUOOX.js} +11 -11
  269. package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-JAUXRXRH.js} +4 -4
  270. package/dist/{snapshot-VIEJQAUB.js → snapshot-D7DROQPF.js} +61 -61
  271. package/dist/{src-HHPRCLEW.js → src-26DWEOAT.js} +11 -9
  272. package/dist/{src-MQU5F7GJ.js → src-LJIVCW6M.js} +15 -15
  273. package/dist/{start-ZBNNVFMU.js → start-DF3U2VIG.js} +30 -29
  274. package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-NYH6MQHZ.js} +25 -25
  275. package/dist/{status-RBZJYT7T.js → status-5Q43GUYF.js} +26 -23
  276. package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-OdIlx7W3.js} +1 -1
  277. package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-XtPxZL3k.js} +1 -1
  278. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  279. package/dist/studio/assets/{index-D1l7izdf.js → index-DTU1D-zj.js} +166 -166
  280. package/dist/studio/assets/{index-DFRbcd5J.js → index-DWZWPFkU.js} +1 -1
  281. package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-NVr8gRm5.js} +1 -1
  282. package/dist/studio/index.html +2 -2
  283. package/dist/{studio-api-EPZGLIWW.js → studio-api-ZYCEQPX2.js} +22 -18
  284. package/dist/{studioServer-YFQQ2ESJ.js → studioServer-W4RX3B7S.js} +451 -71
  285. package/dist/{sync-FRT55PVW.js → sync-LLH2GSSC.js} +16 -16
  286. package/dist/{synthesize-FR5KPBRP.js → synthesize-4A5ENXNO.js} +4 -3
  287. package/dist/{telemetry-HAPPFR7P.js → telemetry-RIQIM2PH.js} +8 -8
  288. package/dist/{templates-2IHYIWMA.js → templates-4HVTWNKO.js} +22 -21
  289. package/dist/{timeline-AY2F7BJF.js → timeline-ITIMTT27.js} +25 -25
  290. package/dist/{tokens-B3G257V3.js → tokens-ABTBM6UA.js} +2 -2
  291. package/dist/{transcribe-RJCILGPA.js → transcribe-6BA2MP2Y.js} +37 -36
  292. package/dist/{transcribe-EGQD32PT.js → transcribe-6LDBHZCZ.js} +14 -14
  293. package/dist/{tts-ZE776B4I.js → tts-P77F523Z.js} +1 -1
  294. package/dist/{update-XTFIGQKW.js → update-ODXFCK36.js} +13 -13
  295. package/dist/{updateCheck-M6YC52A4.js → updateCheck-E4U776B4.js} +5 -3
  296. package/dist/{upgrade-AKLIZKAO.js → upgrade-LSHVYMLH.js} +5 -5
  297. package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-PWQ2LDLE.js} +9 -9
  298. package/dist/{validate-YWSXJL54.js → validate-JHETNNBN.js} +33 -33
  299. package/dist/{video-I5DDNK3Y.js → video-D2D5YCDU.js} +12 -12
  300. package/dist/{voices-IBMJU73H.js → voices-34FMTOIX.js} +29 -28
  301. package/dist/warmCheck.js +51 -51
  302. package/package.json +2 -1
  303. package/dist/chunk-YAZQBB2S.js +0 -5049
@@ -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-BAWGEGKD.js";
12
+ import {
13
+ ErrInvalidStore,
14
+ ErrLoginExpired,
15
+ ErrNotConfigured,
16
+ assertOAuthIdentity,
17
+ isAuthError
18
+ } from "./chunk-DMW5SSUN.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
+ };
@@ -3295,21 +3295,20 @@ function isCompositionVariable(v) {
3295
3295
  if (v.type === "enum" && !Array.isArray(v.options)) return false;
3296
3296
  return true;
3297
3297
  }
3298
- function parseCompositionVariables(htmlEl) {
3299
- const variablesAttr = htmlEl.getAttribute("data-composition-variables");
3300
- if (!variablesAttr) {
3301
- return [];
3302
- }
3298
+ function readCompositionVariables(raw) {
3299
+ if (!raw) return { declarations: [], complete: true };
3303
3300
  try {
3304
- const parsed = JSON.parse(variablesAttr);
3305
- if (!Array.isArray(parsed)) {
3306
- return [];
3307
- }
3308
- return parsed.filter(isCompositionVariable);
3301
+ const parsed = JSON.parse(raw);
3302
+ if (!Array.isArray(parsed)) return { declarations: [], complete: false };
3303
+ const declarations = parsed.filter(isCompositionVariable);
3304
+ return { declarations, complete: declarations.length === parsed.length };
3309
3305
  } catch {
3310
- return [];
3306
+ return { declarations: [], complete: false };
3311
3307
  }
3312
3308
  }
3309
+ function parseCompositionVariables(htmlEl) {
3310
+ return readCompositionVariables(htmlEl.getAttribute("data-composition-variables")).declarations;
3311
+ }
3313
3312
  var EXCLUDED_TAGS = /* @__PURE__ */ new Set([
3314
3313
  "script",
3315
3314
  "style",
@@ -5369,6 +5368,17 @@ function isCompositionVariable2(v) {
5369
5368
  if (v.type === "enum" && !Array.isArray(v.options)) return false;
5370
5369
  return true;
5371
5370
  }
5371
+ function readCompositionVariables2(raw) {
5372
+ if (!raw) return { declarations: [], complete: true };
5373
+ try {
5374
+ const parsed = JSON.parse(raw);
5375
+ if (!Array.isArray(parsed)) return { declarations: [], complete: false };
5376
+ const declarations = parsed.filter(isCompositionVariable2);
5377
+ return { declarations, complete: declarations.length === parsed.length };
5378
+ } catch {
5379
+ return { declarations: [], complete: false };
5380
+ }
5381
+ }
5372
5382
  function isSafeMediaUrl(url) {
5373
5383
  const normalized = url.replace(/[\u0000-\u0020]/g, "");
5374
5384
  const scheme = /^([a-z][a-z0-9+.-]*):/i.exec(normalized);
@@ -5637,6 +5647,7 @@ export {
5637
5647
  isFontValue2 as isFontValue,
5638
5648
  isImageValue2 as isImageValue,
5639
5649
  isCompositionVariable2 as isCompositionVariable,
5650
+ readCompositionVariables2 as readCompositionVariables,
5640
5651
  isSafeMediaUrl,
5641
5652
  HTML_BODY_CSS_WIDTH_FIRST_RE2,
5642
5653
  HTML_BODY_CSS_HEIGHT_FIRST_RE2,
@@ -8,7 +8,7 @@ import {
8
8
  forceRefreshCredentials,
9
9
  resolveCloudAuthHeaders,
10
10
  resolveCloudBaseUrl
11
- } from "./chunk-ZLDYDO64.js";
11
+ } from "./chunk-QUUZ2BGC.js";
12
12
  import {
13
13
  HyperframesApiError,
14
14
  HyperframesCloudClient
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCloudAuthHeaders,
9
9
  resolveCloudBaseUrl
10
- } from "./chunk-ZLDYDO64.js";
10
+ } from "./chunk-QUUZ2BGC.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-KFXHBP2E.js";
13
+ } from "./chunk-K5BPLZOP.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-2W4VQ3YZ.js";
19
+ } from "./chunk-E53F4CP6.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -12,13 +12,13 @@ import {
12
12
  removeRecord,
13
13
  seenPath,
14
14
  writeRecord
15
- } from "./chunk-ZIYXPDKY.js";
15
+ } from "./chunk-65PFUPLX.js";
16
16
  import {
17
17
  createProjectConfig
18
- } from "./chunk-KFXHBP2E.js";
18
+ } from "./chunk-K5BPLZOP.js";
19
19
  import {
20
20
  isHyperframesProject
21
- } from "./chunk-3367VNGK.js";
21
+ } from "./chunk-TGGYHFTP.js";
22
22
  import {
23
23
  isCI
24
24
  } from "./chunk-CPHQTXP5.js";
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-JMV63CNH.js";
11
+ } from "./chunk-2JXJQ3ZQ.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-G2XAFJ2B.js";
15
+ } from "./chunk-74PKHC3W.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-3367VNGK.js";
18
+ } from "./chunk-TGGYHFTP.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-HZTRKUKE.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-N7C7U3ZR.js";
24
+ } from "./chunk-M425BL2U.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -167,6 +167,30 @@ function keptByProject(record, destPath, target, force) {
167
167
  var PROJECT_FILES = /* @__PURE__ */ new Set(["package.json", "hyperframes.json", "hyperframes.lock.json"]);
168
168
  var EXAMPLE_DOTFILES = /* @__PURE__ */ new Set([".gitignore"]);
169
169
  var isShortName = (part) => /~\d+(\.|$)/.test(part);
170
+ var STANDARD_INSTALL_DIRS = ["compositions", "assets", "models", "lib"];
171
+ var ROOT_NOTES = /* @__PURE__ */ new Set(["template.md"]);
172
+ var AGENT_INSTRUCTIONS = /^(agents?|claude|gemini|qwen|crush|warp|conventions|copilot-instructions)(\.[a-z]+)?\.md$/;
173
+ var EXECUTABLE = /\.(exe|com|bat|cmd|ps1|psm1|vbs|vbe|wsf|hta|msi|scr|pif|cpl|lnk|dll|so|dylib|node|sh|bash|zsh|command|jar|appimage|py|rb|pl|php)$/;
174
+ function withoutTrailingDotsOrSpaces(part) {
175
+ let end = part.length;
176
+ while (end > 0 && (part[end - 1] === "." || part[end - 1] === " ")) end--;
177
+ return part.slice(0, end);
178
+ }
179
+ function targetSegments(path) {
180
+ return path.normalize("NFC").toLowerCase().split(/[\\/]/).map(withoutTrailingDotsOrSpaces).filter((part, at, parts) => part !== "" || at === parts.length - 1);
181
+ }
182
+ function installDirSegments(dirs) {
183
+ return dirs.map((dir) => targetSegments(dir).filter((part) => part !== "")).filter(
184
+ (parts) => parts.length > 0 && parts.every(
185
+ (part) => !part.startsWith(".") && part !== "node_modules" && !isShortName(part)
186
+ )
187
+ );
188
+ }
189
+ function inInstallDir(dirs, installDirs) {
190
+ return installDirs.some(
191
+ (allowed) => allowed.length <= dirs.length && allowed.every((part, at) => dirs[at] === part)
192
+ );
193
+ }
170
194
  function isHiddenConfigFile(file, example) {
171
195
  if (file === ".gitkeep" || example && EXAMPLE_DOTFILES.has(file)) return false;
172
196
  return file.startsWith(".");
@@ -182,15 +206,22 @@ var CONFIG_TARGET_RULES = [
182
206
  [
183
207
  "it would replace project configuration",
184
208
  (_dirs, file, example) => !example && PROJECT_FILES.has(file)
209
+ ],
210
+ ["it writes into node_modules", (dirs) => dirs.includes("node_modules")],
211
+ ["it writes an agent instruction file", (_dirs, file) => AGENT_INSTRUCTIONS.test(file)],
212
+ ["it writes a program or script", (_dirs, file) => EXECUTABLE.test(file)],
213
+ [
214
+ "it writes outside the project's blocks, components and assets folders",
215
+ (dirs, file, example, installDirs) => !example && installDirs !== null && !inInstallDir(dirs, installDirs) && !(dirs.length === 0 && ROOT_NOTES.has(file))
185
216
  ]
186
217
  ];
187
- function configTargetError(target, type) {
188
- const parts = target.split(/[\\/]/).map((part) => part.toLowerCase());
218
+ function configTargetError(target, type, installDirs) {
219
+ const parts = targetSegments(target);
189
220
  const file = parts.pop() ?? "";
190
221
  const example = type === "hyperframes:example";
191
- return CONFIG_TARGET_RULES.find(([, applies]) => applies(parts, file, example))?.[0] ?? null;
222
+ return CONFIG_TARGET_RULES.find(([, applies]) => applies(parts, file, example, installDirs))?.[0] ?? null;
192
223
  }
193
- function assertSafeTarget(destDir, target, type) {
224
+ function assertSafeTarget(destDir, target, type, installDirs) {
194
225
  if (isAbsolute(target)) {
195
226
  throw new Error(`Unsafe target "${target}": absolute paths are not allowed.`);
196
227
  }
@@ -205,7 +236,7 @@ function assertSafeTarget(destDir, target, type) {
205
236
  if (rel.startsWith("..") || isAbsolute(rel)) {
206
237
  throw new Error(`Unsafe target "${target}": resolves outside destDir ${destDir}.`);
207
238
  }
208
- const configError = configTargetError(target, type);
239
+ const configError = configTargetError(target, type, installDirs);
209
240
  if (configError) throw new Error(`Unsafe target "${target}": ${configError}.`);
210
241
  }
211
242
  function isInstalledComponentSnippet(item, file) {
@@ -258,11 +289,15 @@ async function prepareItem(item, options) {
258
289
  if (!validRegistryItem(item, item.name, item.type)) throw new Error("Invalid registry item");
259
290
  const baseUrl = options.baseUrl ?? DEFAULT_REGISTRY_URL;
260
291
  const destDir = resolve(options.destDir);
292
+ const installDirs = installDirSegments([
293
+ ...STANDARD_INSTALL_DIRS,
294
+ ...options.installDirs ?? []
295
+ ]);
261
296
  for (const file of item.files) {
262
- assertSafeTarget(destDir, file.target, item.type);
297
+ assertSafeTarget(destDir, file.target, item.type, installDirs);
263
298
  }
264
299
  const root = realProjectRoot(destDir);
265
- validatePhysicalTargets(root, item.files);
300
+ validatePhysicalTargets(root, item.files, item.type);
266
301
  const record = readInstallRecord(root);
267
302
  const budget = { remainingBytes: 512 * 1024 * 1024 };
268
303
  const outcomes = await installFileBatches(
@@ -302,12 +337,14 @@ function publishItem({ root, outcomes: prepared, force }) {
302
337
  ) : []
303
338
  };
304
339
  }
305
- function validatePhysicalTargets(root, files) {
340
+ function validatePhysicalTargets(root, files, type) {
306
341
  const targets = /* @__PURE__ */ new Set();
307
342
  const aliasKey = (path) => process.platform === "win32" || process.platform === "darwin" ? path.normalize("NFC").toLowerCase() : path;
308
343
  const recordKey = aliasKey(registryTargetPath(root, INSTALL_RECORD));
309
344
  for (const file of files) {
310
345
  const path = registryTargetPath(root, file.target);
346
+ const configError = configTargetError(relative(root, path), type, null);
347
+ if (configError) throw new Error(`Unsafe target "${file.target}": ${configError}.`);
311
348
  const key = aliasKey(path);
312
349
  if (targets.has(key) || key === recordKey)
313
350
  throw new Error("Unsafe target: duplicate or reserved install record");
@@ -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-EJPWGGPK.js";
9
+ } from "./chunk-Z64I7KJZ.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudio
9
- } from "./chunk-YAS347ZS.js";
9
+ } from "./chunk-BLII22FU.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-D6BV6TTI.js";
12
+ } from "./chunk-OKN7E77Z.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-GCJRV7LU.js";
19
+ } from "./chunk-A2YCAF35.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-5FFYMVRD.js";
27
+ } from "./chunk-Q2G4ERQU.js";
28
28
  import {
29
29
  parseWhisperJson
30
30
  } from "./chunk-CDNVZEGQ.js";
@@ -14,12 +14,12 @@ import {
14
14
  } from "./chunk-ZB2XGJSP.js";
15
15
  import {
16
16
  createStagingDir
17
- } from "./chunk-IEEIPTDW.js";
17
+ } from "./chunk-PYZVKGW5.js";
18
18
  import {
19
19
  FONT_ALIAS_MAP,
20
20
  fontShorthandFamilies,
21
21
  resolveAliasDisplayName
22
- } from "./chunk-N7C7U3ZR.js";
22
+ } from "./chunk-M425BL2U.js";
23
23
  import {
24
24
  parseHTML
25
25
  } from "./chunk-GWTIFRF5.js";
@@ -7,22 +7,24 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isEnvOrGitPath,
9
9
  isPrivateCompositionFile
10
- } from "./chunk-TFBPCJPG.js";
10
+ } from "./chunk-W6AXNWGE.js";
11
11
  import {
12
12
  refreshIfNeeded
13
- } from "./chunk-ZLDYDO64.js";
13
+ } from "./chunk-QUUZ2BGC.js";
14
14
  import {
15
- buildAuthHeaders,
16
15
  envCredentialVar,
17
16
  isTokenExpired,
18
17
  tryResolveCredential
19
- } from "./chunk-7NDF2MO3.js";
18
+ } from "./chunk-M3BJEZ7E.js";
19
+ import {
20
+ buildAuthHeaders
21
+ } from "./chunk-BAWGEGKD.js";
20
22
  import {
21
23
  isAuthError
22
- } from "./chunk-LP7B3JLC.js";
24
+ } from "./chunk-DMW5SSUN.js";
23
25
  import {
24
26
  projectIgnore
25
- } from "./chunk-VB3JZKMN.js";
27
+ } from "./chunk-ASORF7UJ.js";
26
28
  import {
27
29
  CSS_URL_RE,
28
30
  isNonRelativeUrl,
@@ -32,7 +34,7 @@ import {
32
34
  import {
33
35
  decodeUrlPathVariants,
34
36
  encodeUrlPath
35
- } from "./chunk-N7C7U3ZR.js";
37
+ } from "./chunk-M425BL2U.js";
36
38
  import {
37
39
  parseHTML
38
40
  } from "./chunk-GWTIFRF5.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-SIRYW7SY.js";
9
+ } from "./chunk-3P4OYIBA.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-EJPWGGPK.js";
18
+ } from "./chunk-Z64I7KJZ.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-MCDNAIFF.js";
13
13
  import {
14
14
  credentialPath
15
- } from "./chunk-LP7B3JLC.js";
15
+ } from "./chunk-DMW5SSUN.js";
16
16
  import {
17
17
  getInvocationId
18
18
  } from "./chunk-54HJ63Q2.js";
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-AWD2MWWL.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-LHFBKUVY.js";
46
+ } from "./chunk-6FP6HBG4.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -105,7 +105,7 @@ async function renameWithRetryAsync(from, to, options = {}) {
105
105
  import * as fs from "fs";
106
106
  import { createHash, randomBytes } from "crypto";
107
107
  import { basename, dirname, isAbsolute, join, resolve, sep } from "path";
108
- var NO_HARD_LINKS = /* @__PURE__ */ new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR"]);
108
+ var NO_HARD_LINKS = /* @__PURE__ */ new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR", "EACCES"]);
109
109
  var MAX_LINK_HOPS = 40;
110
110
  var TEMP_NAME_TRIES = 3;
111
111
  var TEMP_SUFFIX = /\.hf[0-9a-f]{6}\.tmp$/;
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-EJPWGGPK.js";
9
+ } from "./chunk-Z64I7KJZ.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
13
13
  import {
14
14
  findFfBinary,
15
15
  getSkippedX86Binary
16
- } from "./chunk-KRWPTZBY.js";
16
+ } from "./chunk-3FQYFVWA.js";
17
17
  import {
18
18
  detectWsl
19
19
  } from "./chunk-7KDQAD2W.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-PXDRW3QN.js";
9
+ } from "./chunk-LB6VJTM4.js";
10
10
  import {
11
11
  CACHE_DIR,
12
12
  PINNED_PACKAGES,
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-XH6LGDIB.js";
24
+ } from "./chunk-PDE6XAIJ.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-D6BV6TTI.js";
27
+ } from "./chunk-OKN7E77Z.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -35,7 +35,7 @@ import {
35
35
  SHERPA_WINDOW_PREFIX,
36
36
  mergeWindowsToWords,
37
37
  writeParakeetTranscript
38
- } from "./chunk-JZIEZCQM.js";
38
+ } from "./chunk-VZO3BUTW.js";
39
39
  import {
40
40
  hyperframesCacheDir
41
41
  } from "./chunk-JOQR4AP6.js";
@@ -6,14 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  afterRefreshFailure,
9
+ resolveCredential
10
+ } from "./chunk-M3BJEZ7E.js";
11
+ import {
9
12
  apiBaseUrl,
10
13
  buildAuthHeaders,
11
- refreshTokens,
12
- resolveCredential
13
- } from "./chunk-7NDF2MO3.js";
14
+ refreshTokens
15
+ } from "./chunk-BAWGEGKD.js";
14
16
  import {
15
17
  ErrLoginExpired
16
- } from "./chunk-LP7B3JLC.js";
18
+ } from "./chunk-DMW5SSUN.js";
17
19
 
18
20
  // src/cloud/auth.ts
19
21
  async function resolveCloudAuthHeaders() {
@@ -8,7 +8,7 @@ import {
8
8
  mkdirOwnedWithinProject,
9
9
  pinProjectRecord,
10
10
  realFilePath
11
- } from "./chunk-WXOOAAT4.js";
11
+ } from "./chunk-WLB2D2OJ.js";
12
12
  import {
13
13
  isProjectIgnoredDir
14
14
  } from "./chunk-EVMY7IPL.js";
@@ -19,7 +19,7 @@ import {
19
19
  renameWithRetry,
20
20
  renameWithRetryAsync,
21
21
  replaceFileAtomically
22
- } from "./chunk-IEEIPTDW.js";
22
+ } from "./chunk-PYZVKGW5.js";
23
23
  import {
24
24
  isSafePath
25
25
  } from "./chunk-HZTRKUKE.js";
@@ -27,7 +27,7 @@ import {
27
27
  hyperframesCacheDir
28
28
  } from "./chunk-JOQR4AP6.js";
29
29
 
30
- // ../studio-server/dist/chunk-THGUY655.js
30
+ // ../studio-server/dist/chunk-MS2SY7DK.js
31
31
  import { randomUUID as randomUUID7 } from "crypto";
32
32
  import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
33
33
  import {
@@ -198,7 +198,7 @@ var HistoryBusyError = class extends Error {
198
198
  url;
199
199
  };
200
200
  var WINDOWS_BUSY = /* @__PURE__ */ new Set(["EPERM", "EBUSY", "EACCES"]);
201
- var NO_HARD_LINKS = /* @__PURE__ */ new Set(["ENOTSUP", "EOPNOTSUPP", "ENOSYS", "EPERM"]);
201
+ var NO_HARD_LINKS = /* @__PURE__ */ new Set(["ENOTSUP", "EOPNOTSUPP", "ENOSYS", "EPERM", "EACCES"]);
202
202
  var TAKING_MS = 2e3;
203
203
  var BOOT_SLACK_MS = 6e4;
204
204
  function busyOnWindows(error) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isTransientBrowserError
9
- } from "./chunk-EJPWGGPK.js";
9
+ } from "./chunk-Z64I7KJZ.js";
10
10
 
11
11
  // src/utils/screenshotOnceMore.ts
12
12
  async function screenshotOnceMore(shoot) {