hyperframes 0.9.8 → 0.9.10

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 (245) hide show
  1. package/dist/{add-KCOZUTMS.js → add-AFD3HNXB.js} +12 -12
  2. package/dist/{agentPromptGenerator-P75AWDLA.js → agentPromptGenerator-XNGPKVEX.js} +9 -9
  3. package/dist/{animatedGifPrep-OBZTJQ7X.js → animatedGifPrep-E3PYKFJ3.js} +9 -9
  4. package/dist/api.js +29 -29
  5. package/dist/{asset-N3A7GB3E.js → asset-P6SF46UX.js} +2 -2
  6. package/dist/{assetCataloger-OQYRQZLW.js → assetCataloger-SDFP4DWL.js} +10 -10
  7. package/dist/{audio-KCKNENFH.js → audio-DFQXEAEE.js} +26 -26
  8. package/dist/{auth-Y72WHJCW.js → auth-T62ANGDQ.js} +2 -2
  9. package/dist/{autoUpdate-DLNFGTN2.js → autoUpdate-3IT56KGL.js} +23 -16
  10. package/dist/{backgroundChecks-EFVHAYNQ.js → backgroundChecks-UKBVUYML.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-JKOGFHLU.js → batchRender-ZDL65J7N.js} +4 -4
  13. package/dist/{beats-RIKKG4N7.js → beats-7UFMDXBY.js} +11 -11
  14. package/dist/{benchmark-7TCK3SGH.js → benchmark-LCSHBJJF.js} +9 -9
  15. package/dist/billing-5YSYJJ2V.js +142 -0
  16. package/dist/{browser-4BF7NKPF.js → browser-5DZHA4EW.js} +3 -3
  17. package/dist/{bundleWithLocalizedFonts-PAWHGZRW.js → bundleWithLocalizedFonts-TJL2JWRD.js} +2 -2
  18. package/dist/{capture-5PZTT5O7.js → capture-HLC6I4RE.js} +3 -3
  19. package/dist/{capture-H7UDNHF2.js → capture-UKWY3SZQ.js} +22 -22
  20. package/dist/{captureCompositionFrame-LR2XKVKX.js → captureCompositionFrame-YMB3CKSP.js} +14 -14
  21. package/dist/{catalog-4W5XDIKM.js → catalog-F2XB4VPP.js} +12 -12
  22. package/dist/{catch-up-H2Y2WRIA.js → catch-up-HCBA3MIP.js} +4 -4
  23. package/dist/{check-NG6FULCN.js → check-E2RQCELF.js} +44 -44
  24. package/dist/{checkAudio-HI5ICPRV.js → checkAudio-R4DRK3VG.js} +17 -17
  25. package/dist/{checkBrowser-YPPMCXET.js → checkBrowser-NGY225IO.js} +39 -37
  26. package/dist/{chunk-4WJKSTDS.js → chunk-2CKL2FUJ.js} +3 -3
  27. package/dist/{chunk-6RD46YOJ.js → chunk-2QMEP4LR.js} +1 -1
  28. package/dist/{chunk-RPVL65M7.js → chunk-2WNIF4YT.js} +6 -6
  29. package/dist/{chunk-WF4TXIXY.js → chunk-3DWH6Z5U.js} +1 -1
  30. package/dist/{chunk-2MUWGYXQ.js → chunk-3XHWHH5A.js} +60 -44
  31. package/dist/{chunk-VX3JUOZ6.js → chunk-42TYQPES.js} +2 -2
  32. package/dist/{chunk-5D23BECZ.js → chunk-5CDTGHED.js} +1 -1
  33. package/dist/{chunk-XPN7SDFQ.js → chunk-6HO6QKYG.js} +9 -9
  34. package/dist/{chunk-KKPYNKZD.js → chunk-6KV3CMY2.js} +1 -1
  35. package/dist/{chunk-7TAS4BNT.js → chunk-6UZLHLFP.js} +2 -2
  36. package/dist/{chunk-WY4J37EZ.js → chunk-6VKYITOR.js} +30 -8
  37. package/dist/{chunk-THSTFHB7.js → chunk-7RM3TB62.js} +29 -2
  38. package/dist/{chunk-YXIXTFRO.js → chunk-7VGM5TLZ.js} +2 -2
  39. package/dist/{chunk-TLBSOI2R.js → chunk-7VOLQUA2.js} +1 -1
  40. package/dist/{chunk-RULCW25D.js → chunk-7VU4RBHC.js} +15 -14
  41. package/dist/{chunk-GSZAUB3W.js → chunk-7W5ZDOLW.js} +2 -2
  42. package/dist/{chunk-D7THUO4V.js → chunk-A33GFLPY.js} +22 -2
  43. package/dist/{chunk-74VSOKKS.js → chunk-ABI256T5.js} +1 -1
  44. package/dist/chunk-AHLDGEH5.js +158 -0
  45. package/dist/{chunk-7DQHV322.js → chunk-AUYRWWFL.js} +3 -3
  46. package/dist/{chunk-FNNNGI42.js → chunk-AVNF52HR.js} +1 -1
  47. package/dist/{chunk-ODIGIQ4C.js → chunk-B5GWDPUO.js} +3 -3
  48. package/dist/{chunk-JCOECSLT.js → chunk-BHL4KN3H.js} +2 -2
  49. package/dist/{chunk-6DTXWYZA.js → chunk-BYC4C4YY.js} +9 -9
  50. package/dist/{chunk-7HRQOEYY.js → chunk-C3NC67BB.js} +8 -8
  51. package/dist/{chunk-6CEQCL6O.js → chunk-CBTBVRXB.js} +3 -3
  52. package/dist/{chunk-ZAOQWCZM.js → chunk-CDSTLOB7.js} +9 -9
  53. package/dist/{chunk-RWQANKWK.js → chunk-CPMTEWQM.js} +3 -3
  54. package/dist/{chunk-NU5LJYAT.js → chunk-CUYVIDGF.js} +4 -3
  55. package/dist/{chunk-GZZE2OJP.js → chunk-DKROJ3GJ.js} +16 -15
  56. package/dist/{chunk-BCQ42FAS.js → chunk-E2YXF2EP.js} +3 -3
  57. package/dist/{chunk-OYN54RSU.js → chunk-EBUA6NWH.js} +2 -2
  58. package/dist/{chunk-DHIXDUET.js → chunk-EN6MPNZT.js} +4 -4
  59. package/dist/{chunk-MNX7CK5N.js → chunk-GAKRZZHQ.js} +2 -2
  60. package/dist/{chunk-457LNKMV.js → chunk-GIYZMGYT.js} +1 -1
  61. package/dist/{chunk-UUW654GD.js → chunk-GRUI2S2F.js} +2 -2
  62. package/dist/{chunk-WVH6VWMY.js → chunk-JZPUXDQE.js} +4 -4
  63. package/dist/{chunk-SACHIPZP.js → chunk-LR5NVYZT.js} +1 -1
  64. package/dist/{chunk-QPTQSM3D.js → chunk-LTBBFLOM.js} +1 -1
  65. package/dist/{chunk-7VHS56BT.js → chunk-LV5SL4YW.js} +2 -2
  66. package/dist/{chunk-Q3SKYJGG.js → chunk-M6JFR7KF.js} +18 -5
  67. package/dist/{chunk-2ZQ7BZOS.js → chunk-MDMQD6BV.js} +6 -6
  68. package/dist/{chunk-HVBQL3PZ.js → chunk-MHZ7NSL5.js} +1 -1
  69. package/dist/{chunk-JP2ZSFRJ.js → chunk-MWHTLXG4.js} +4 -54
  70. package/dist/{chunk-NUFOXUDF.js → chunk-N6FGHJ7X.js} +53 -29
  71. package/dist/{chunk-ECJCBLME.js → chunk-N74N2I2K.js} +1 -1
  72. package/dist/{chunk-Y3RERZRQ.js → chunk-NBWYATVA.js} +1 -1
  73. package/dist/{chunk-3BCLDK6O.js → chunk-NCP3JQ6S.js} +99 -93
  74. package/dist/{chunk-UQDO2L6F.js → chunk-NVYVI4FR.js} +17 -14
  75. package/dist/{chunk-M336YVCP.js → chunk-NWQFOHXF.js} +1 -1
  76. package/dist/{chunk-E2SVAOS6.js → chunk-OAFGA2FR.js} +4 -3
  77. package/dist/{chunk-TODLF56D.js → chunk-P4WYY52Y.js} +1 -1
  78. package/dist/{chunk-3LLFF6EE.js → chunk-PO7LSMN5.js} +1 -1
  79. package/dist/{chunk-4MDLXE3N.js → chunk-PPMCILED.js} +37 -5
  80. package/dist/{chunk-L3ZVUQGN.js → chunk-PYUS627M.js} +2 -2
  81. package/dist/{chunk-DT6NGXSS.js → chunk-Q3IT7I2K.js} +1 -1
  82. package/dist/{chunk-VKWAW4JW.js → chunk-Q3W7TDQX.js} +236 -193
  83. package/dist/{chunk-UPN4UMT7.js → chunk-QBPZHOEJ.js} +2 -2
  84. package/dist/{chunk-3YZ3LNXV.js → chunk-QOF7XZEI.js} +1 -1
  85. package/dist/{chunk-VLHCR3G2.js → chunk-QPEDM2ZR.js} +2 -2
  86. package/dist/{chunk-F6GJUCIY.js → chunk-QRCORKYC.js} +2 -2
  87. package/dist/{chunk-ZAXAT2D7.js → chunk-QUBVGS27.js} +5 -5
  88. package/dist/{chunk-BUYV2WGV.js → chunk-R7EKEIAK.js} +1 -1
  89. package/dist/{chunk-ZJ5ZLU2I.js → chunk-RZFW7FBA.js} +2 -2
  90. package/dist/{chunk-RGYPRUQP.js → chunk-S2UKSI3C.js} +1 -1
  91. package/dist/{chunk-TDIYINK6.js → chunk-SG4YBQPY.js} +2 -2
  92. package/dist/chunk-SRVAYGTN.js +62 -0
  93. package/dist/{chunk-K6QVKO7M.js → chunk-SSZTRWKQ.js} +2 -2
  94. package/dist/{chunk-W5VDIXYL.js → chunk-UDBNPVUR.js} +1 -1
  95. package/dist/{chunk-HFNB2CG3.js → chunk-V6HV2IDT.js} +6 -3
  96. package/dist/{chunk-CUR5UYYJ.js → chunk-VM6T3Z6B.js} +1 -1
  97. package/dist/{chunk-SBA4NG7Q.js → chunk-W4Q6VYPZ.js} +7 -7
  98. package/dist/{chunk-6ZICZOMN.js → chunk-W5AUD5OL.js} +2 -2
  99. package/dist/{chunk-CCFSUSAE.js → chunk-WCETVN3N.js} +65 -14
  100. package/dist/{chunk-QTEU6NL3.js → chunk-WP5QHNXN.js} +5 -5
  101. package/dist/{chunk-BGHKFD3T.js → chunk-WWBEAKTO.js} +10 -2
  102. package/dist/{chunk-X422IJKF.js → chunk-WWPOGMNX.js} +1 -1
  103. package/dist/{chunk-UGUYWTWD.js → chunk-XLPCBE2Q.js} +4 -4
  104. package/dist/{chunk-5SCOPSVL.js → chunk-XTYNW745.js} +1 -1
  105. package/dist/{chunk-BGMMC352.js → chunk-XX77LLFJ.js} +6 -6
  106. package/dist/chunk-Y3ICFPFK.js +5035 -0
  107. package/dist/{chunk-NST5G3WX.js → chunk-YTNHZT47.js} +2 -2
  108. package/dist/{chunk-AC3TSGGG.js → chunk-YXSM33UC.js} +35 -30
  109. package/dist/{chunk-H4D2X5N3.js → chunk-ZD3MK4H5.js} +1 -1
  110. package/dist/{chunk-6A4RAHMF.js → chunk-ZLN3AJKT.js} +1 -1
  111. package/dist/{chunk-ZK3GFNHM.js → chunk-ZMXFRRQR.js} +191 -49
  112. package/dist/{clean-VPOP4TU4.js → clean-BXHJEVVO.js} +23 -23
  113. package/dist/cli.js +61 -60
  114. package/dist/{cloud-Q7ZXCZ6E.js → cloud-ISWLTHGP.js} +4 -4
  115. package/dist/cloud-Z3FNCC4T.js +39 -0
  116. package/dist/{cloudrun-6DVAE7GG.js → cloudrun-N737TJRC.js} +6 -6
  117. package/dist/{compare-X5SWN5XJ.js → compare-MLZYDSZD.js} +34 -34
  118. package/dist/{compiler-N4TTEEQC.js → compiler-NAIDMQFU.js} +6 -6
  119. package/dist/{component-MJXAMRKF.js → component-MMBTCMY3.js} +3 -3
  120. package/dist/{compositions-F3ZHG5F4.js → compositions-WT2577NJ.js} +15 -15
  121. package/dist/{curve-4TWENQO7.js → curve-HHKVZ6LX.js} +13 -13
  122. package/dist/{cuts-X3LE5A2K.js → cuts-66GBRT5P.js} +14 -14
  123. package/dist/{delete-MYHKF3MS.js → delete-P3WYOC7I.js} +7 -5
  124. package/dist/{deploy-OP2BHWCQ.js → deploy-OJ3M7QJQ.js} +6 -6
  125. package/dist/{describeProject-ZMKVHAYX.js → describeProject-DN6YQU3X.js} +10 -10
  126. package/dist/{deterministicFonts-H4RC6TOJ.js → deterministicFonts-GQMT52JQ.js} +2 -2
  127. package/dist/{diff-7ZNSFBKV.js → diff-R74KQXXN.js} +158 -76
  128. package/dist/dist-CCPYPKOC.js +197 -0
  129. package/dist/{dist-SWPSKAAJ.js → dist-GUX66F7V.js} +3 -3
  130. package/dist/{dist-H4C7ZCFU.js → dist-PCVNVAVC.js} +4 -4
  131. package/dist/{doctor-ABSXYNXY.js → doctor-DT52W4UE.js} +13 -13
  132. package/dist/{energy-X2OAWHME.js → energy-WOMDOOLC.js} +14 -14
  133. package/dist/{events-26SWSHDR.js → events-PCK4AIN5.js} +2 -2
  134. package/dist/{events-JFIZSYMH.js → events-WEVZ2ELP.js} +16 -16
  135. package/dist/{events-4MDK4K7Q.js → events-YVQJLQWG.js} +3 -3
  136. package/dist/{extract-4O3Q3LOD.js → extract-CNXA3DWB.js} +14 -14
  137. package/dist/{face-7J7AQJDY.js → face-2WNBW74C.js} +14 -14
  138. package/dist/{feedback-CVTJDQIX.js → feedback-ADMM2XDS.js} +8 -8
  139. package/dist/{ffmpeg-EE2NKQT4.js → ffmpeg-PERZ6YHQ.js} +9 -9
  140. package/dist/{figma-55J7UDDC.js → figma-5MMN5JUU.js} +3 -3
  141. package/dist/fontLocalizeCli.js +15 -15
  142. package/dist/{frames-OZLUDUOS.js → frames-7CQGHRWT.js} +19 -16
  143. package/dist/{generate-CY2TRPRE.js → generate-XOR4UJDW.js} +20 -18
  144. package/dist/{get-HJHSVKGK.js → get-5K6ALHBS.js} +7 -5
  145. package/dist/{gpuPolicy-LZFNAIJB.js → gpuPolicy-DUNSQM6M.js} +9 -9
  146. package/dist/{grade-compare-JVTYF2T6.js → grade-compare-DK63C776.js} +34 -34
  147. package/dist/{heifImagePrep-OGFEQMQT.js → heifImagePrep-YNPHFR6W.js} +10 -10
  148. package/dist/{help-6WDI76YU.js → help-AUF2KA6D.js} +2 -1
  149. package/dist/{history-FIP5NGFC.js → history-G3FXVX4A.js} +10 -10
  150. package/dist/hyperframe.manifest.json +1 -1
  151. package/dist/hyperframe.runtime.iife.js +65 -65
  152. package/dist/hyperframes-player.global.js +1 -1
  153. package/dist/{info-WTGJE4QB.js → info-DGU3CIU5.js} +8 -8
  154. package/dist/{init-UYTDM56U.js → init-LYZI2WCS.js} +29 -29
  155. package/dist/{ink-BTLAE3ZR.js → ink-DYZG4BST.js} +14 -14
  156. package/dist/{inspect-KIMJNTS4.js → inspect-BYQSCRKT.js} +34 -34
  157. package/dist/{installer-6GSD3CVW.js → installer-PUQYKLXZ.js} +5 -5
  158. package/dist/{keyframes-74LK522L.js → keyframes-XX2DIYPI.js} +6 -6
  159. package/dist/{lambda-CJ7P5NLO.js → lambda-RKI7KKWW.js} +15 -15
  160. package/dist/{layout-RLIXTM56.js → layout-RQFOMQRO.js} +34 -34
  161. package/dist/{lint-IOJB746U.js → lint-LFCMCDEG.js} +10 -10
  162. package/dist/{lintProject-NZADSVSU.js → lintProject-EV3EEBY3.js} +4 -4
  163. package/dist/{list-V3TMQEQV.js → list-V4TGMQ3Y.js} +7 -5
  164. package/dist/{localPage-5LUCH2RM.js → localPage-6MQ6YFER.js} +9 -9
  165. package/dist/{login-GNVKQO3W.js → login-EXCG7PEH.js} +4 -4
  166. package/dist/{look-3QZIJFNX.js → look-RBHKHGMF.js} +14 -14
  167. package/dist/{manager-3QTARUMT.js → manager-ARXEX6OP.js} +10 -10
  168. package/dist/{measure-7LUYTL2E.js → measure-SAV5K4WT.js} +11 -11
  169. package/dist/{media-treatment-MYDIYP5I.js → media-treatment-2BVHRXJS.js} +15 -15
  170. package/dist/{media-use-UDBHEIYA.js → media-use-YEBYLITF.js} +17 -11
  171. package/dist/{models-S5CT7CST.js → models-GMJODMZ5.js} +13 -13
  172. package/dist/{motionShot-U3TSHI33.js → motionShot-Z63I3GO7.js} +17 -17
  173. package/dist/{normalize-audio-ZETO53KI.js → normalize-audio-ILLUZPTO.js} +10 -10
  174. package/dist/{open-UEJMPEPN.js → open-GTNLU7UF.js} +12 -12
  175. package/dist/{parakeetRunner-2KFML7ZA.js → parakeetRunner-K4EGDDVH.js} +14 -14
  176. package/dist/{pipeline-2TPI5L2C.js → pipeline-EKLTELWF.js} +12 -12
  177. package/dist/{play-XH2XKNCL.js → play-F2HIXJKH.js} +25 -25
  178. package/dist/{preflight-L5P4QXXH.js → preflight-QMXCKE5P.js} +10 -10
  179. package/dist/{present-XXEU7RTN.js → present-GDR6LCKE.js} +20 -20
  180. package/dist/{preview-V6LNVTBH.js → preview-4TV5426Q.js} +23 -23
  181. package/dist/{probe-JL4JSTSP.js → probe-TYM7WKX2.js} +14 -14
  182. package/dist/{producer-RLZ64COI.js → producer-NHQXKH7Y.js} +1 -1
  183. package/dist/{projectConfig-3IK4M62D.js → projectConfig-PUAOWUNS.js} +7 -7
  184. package/dist/{publication-4I6P772E.js → publication-K4XAMUI6.js} +3 -3
  185. package/dist/{publish-TOPACGPR.js → publish-7W46NJFT.js} +13 -13
  186. package/dist/{remove-background-CNXM4XJN.js → remove-background-LURZDSDJ.js} +13 -13
  187. package/dist/{render-OD3XEIBG.js → render-EF7Y6YYC.js} +6 -6
  188. package/dist/{render-WCLJ4GPZ.js → render-GEAO2HAV.js} +39 -37
  189. package/dist/{render-XAE2YCRZ.js → render-YLAS7GVD.js} +46 -46
  190. package/dist/{render-batch-QM4SW65U.js → render-batch-JYYP4RXA.js} +6 -6
  191. package/dist/renderSetupWorker.js +4 -4
  192. package/dist/{resolver-K2UZSBCZ.js → resolver-BKFLETMU.js} +5 -5
  193. package/dist/{reverse-JGOZUFKK.js → reverse-3KAZZXB2.js} +1 -1
  194. package/dist/{run-2JI4VCW5.js → run-XER4YJY5.js} +3 -3
  195. package/dist/{sherpa-OIJBFCKZ.js → sherpa-D6FQ3CHN.js} +13 -13
  196. package/dist/skills/media-use/SKILL.md +2 -2
  197. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +1 -1
  198. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +1 -1
  199. package/dist/skills/media-use/references/heygen.md +18 -10
  200. package/dist/skills/media-use/references/operations.md +14 -13
  201. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -0
  202. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +26 -0
  203. package/dist/skills/media-use/scripts/lib/registry.mjs +2 -1
  204. package/dist/skills/media-use/scripts/lib/registry.test.mjs +5 -6
  205. package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -0
  206. package/dist/skills/media-use/scripts/resolve.mjs +3 -1
  207. package/dist/{skills-L4AWBUJJ.js → skills-T5XCP3RC.js} +43 -18
  208. package/dist/{skillsUpdateCheck-GSX5MLON.js → skillsUpdateCheck-IG7KLWIA.js} +3 -3
  209. package/dist/{snapshot-5FK3HCJ7.js → snapshot-RULSIRM6.js} +49 -46
  210. package/dist/{src-JT324RDD.js → src-DHBRQZFZ.js} +18 -18
  211. package/dist/{src-HKLKN7AE.js → src-RL6YEPTD.js} +10 -10
  212. package/dist/{start-5O33EGN2.js → start-GF3JCTGF.js} +43 -31
  213. package/dist/{staticProjectServer-CWKMUI6O.js → staticProjectServer-BX4RWEY5.js} +21 -21
  214. package/dist/{status-MPCREDMQ.js → status-SUK4I7TS.js} +8 -5
  215. package/dist/studio/assets/{hyperframes-player-D7kdypzS.js → hyperframes-player-BcELSci_.js} +1 -1
  216. package/dist/studio/assets/{index-BT1zmedz.js → index-2SLNyxZG.js} +1 -1
  217. package/dist/studio/assets/{index-CaOrmH_8.js → index-DR2eua-L.js} +126 -126
  218. package/dist/studio/index.html +1 -1
  219. package/dist/{studio-api-24HJ5KQX.js → studio-api-PEUXVD7P.js} +17 -17
  220. package/dist/{studioServer-KKGBELBR.js → studioServer-DOTRPHS3.js} +61 -61
  221. package/dist/{sync-BT4WDK3B.js → sync-XQPBXGGX.js} +19 -16
  222. package/dist/{telemetry-77PW2F7B.js → telemetry-7TIIOBVB.js} +3 -3
  223. package/dist/templates/_shared/AGENTS.md +1 -0
  224. package/dist/templates/_shared/CLAUDE.md +1 -0
  225. package/dist/templates-7DIQ52Y4.js +202 -0
  226. package/dist/{timeline-RKJ63VIU.js → timeline-4JIUAUIP.js} +24 -24
  227. package/dist/{tokens-JATS65YH.js → tokens-4PQU4LVQ.js} +2 -2
  228. package/dist/{transcribe-FYBJBBP3.js → transcribe-IKUPC2R3.js} +23 -23
  229. package/dist/{transcribe-ELWJ6NYG.js → transcribe-N66QUYCS.js} +12 -12
  230. package/dist/{tts-JHGGL7GL.js → tts-HIQMJU6O.js} +1 -1
  231. package/dist/{updateCheck-NU374MVC.js → updateCheck-LBPTWEZV.js} +2 -2
  232. package/dist/{upgrade-VIWR25J6.js → upgrade-2FS4AMCA.js} +2 -2
  233. package/dist/upload-L5TSWWIU.js +16 -0
  234. package/dist/{urlDownloader-MVZYN7XB.js → urlDownloader-YNI3Y3IE.js} +8 -8
  235. package/dist/{validate-3HM2XCH4.js → validate-MLVDUEK7.js} +28 -28
  236. package/dist/{video-H4ASUN7D.js → video-2OEOTSPQ.js} +10 -10
  237. package/dist/warmCheck.js +44 -44
  238. package/package.json +1 -1
  239. package/dist/billing-JBG45ON2.js +0 -96
  240. package/dist/chunk-N3CZ437C.js +0 -5035
  241. package/dist/chunk-QXVW22VM.js +0 -58
  242. package/dist/{chunk-GSNSSFT7.js → chunk-G3ERWPNV.js} +0 -0
  243. package/dist/{chunk-T5ELONXY.js → chunk-JHILL4BN.js} +0 -0
  244. package/dist/{destroy-IQLGADZM.js → destroy-C5GQLZVZ.js} +4 -4
  245. package/dist/{synthesize-YYT7UON6.js → synthesize-YK3WLOEQ.js} +5 -5
@@ -7,35 +7,35 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  toDomNode
9
9
  } from "./chunk-LLMSX6V6.js";
10
+ import {
11
+ readCompositionFps
12
+ } from "./chunk-LR5NVYZT.js";
10
13
  import {
11
14
  findSyncPartner,
12
15
  readLinkTiming,
13
16
  syncOffsetFrames
14
17
  } from "./chunk-AW3XJY4S.js";
15
- import {
16
- readCompositionFps
17
- } from "./chunk-SACHIPZP.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-NUFOXUDF.js";
22
+ } from "./chunk-N6FGHJ7X.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-6ZICZOMN.js";
27
+ } from "./chunk-W5AUD5OL.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-N3CZ437C.js";
34
+ } from "./chunk-Y3ICFPFK.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-BGMMC352.js";
38
+ } from "./chunk-XX77LLFJ.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-WVRAFHJU.js";
@@ -53,7 +53,7 @@ import {
53
53
  isSubCompositionHost,
54
54
  topLevelElements,
55
55
  trackKindOf
56
- } from "./chunk-T5ELONXY.js";
56
+ } from "./chunk-JHILL4BN.js";
57
57
 
58
58
  // src/timeline/describeProject.ts
59
59
  import { readFileSync, realpathSync, statSync } from "fs";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-5D23BECZ.js";
10
+ } from "./chunk-5CDTGHED.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-3LLFF6EE.js";
13
+ } from "./chunk-PO7LSMN5.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-FDPS57FU.js"),
87
- import("./ffmpeg-EE2NKQT4.js")
87
+ import("./ffmpeg-PERZ6YHQ.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-TLBSOI2R.js";
12
+ } from "./chunk-7VOLQUA2.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-6DTXWYZA.js";
15
+ } from "./chunk-BYC4C4YY.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-XPN7SDFQ.js";
22
+ } from "./chunk-6HO6QKYG.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-RXFKSZN2.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-BCQ42FAS.js";
28
+ } from "./chunk-E2YXF2EP.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-JCOECSLT.js";
32
+ } from "./chunk-BHL4KN3H.js";
33
33
  import {
34
34
  readJsonFileText
35
35
  } from "./chunk-EHZESMRB.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-Y3RERZRQ.js";
45
+ } from "./chunk-NBWYATVA.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
709
709
  });
710
710
  }
711
711
  async function bundleProjectHtml(projectDir) {
712
- const { bundleToSingleHtml } = await import("./compiler-N4TTEEQC.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-NAIDMQFU.js");
713
713
  return bundleToSingleHtml(projectDir);
714
714
  }
715
715
  async function alignViewportToComposition(page, url) {
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-SAXHANEY.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-HKLKN7AE.js");
731
+ const { buildChromeArgs } = await import("./src-RL6YEPTD.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-LZFNAIJB.js");
737
+ } = await import("./gpuPolicy-DUNSQM6M.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-6RD46YOJ.js";
9
+ } from "./chunk-2QMEP4LR.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-N3CZ437C.js";
17
+ } from "./chunk-Y3ICFPFK.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-HYRPH6LL.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-C2KEGBR3.js";
26
26
  import {
27
27
  decodeAuthoredAttribute
28
- } from "./chunk-T5ELONXY.js";
28
+ } from "./chunk-JHILL4BN.js";
29
29
 
30
30
  // ../studio-server/dist/chunk-H4NVSSDJ.js
31
31
  import { execFile } from "child_process";
@@ -11,8 +11,9 @@ import {
11
11
  Fix,
12
12
  frameAt,
13
13
  round,
14
- runFfmpeg
15
- } from "./chunk-D7THUO4V.js";
14
+ runFfmpeg,
15
+ sumOf
16
+ } from "./chunk-A33GFLPY.js";
16
17
  import {
17
18
  verifies
18
19
  } from "./chunk-RZ6CXJ56.js";
@@ -137,7 +138,7 @@ function readSamples(info, ks, w, h) {
137
138
  const k0 = info.vfr ? 0 : run[0];
138
139
  const seek = k0 > 0 ? ["-ss", ((k0 - 0.5) / info.fps).toFixed(6)] : [];
139
140
  const filters = [
140
- `select=${run.map((k) => `eq(n\\,${k - k0})`).join("+")}`,
141
+ `select=${sumOf(run.map((k) => `eq(n\\,${k - k0})`))}`,
141
142
  ...w !== info.width || h !== info.height ? [`scale=${w}:${h}`] : [],
142
143
  "format=gray"
143
144
  ];
@@ -6,19 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  pageUrl
9
- } from "./chunk-QXVW22VM.js";
9
+ } from "./chunk-AHLDGEH5.js";
10
10
  import {
11
11
  Fix
12
- } from "./chunk-D7THUO4V.js";
13
- import {
14
- HyperframesApiError,
15
- HyperframesCloudClient
16
- } from "./chunk-3XJM7XZN.js";
12
+ } from "./chunk-A33GFLPY.js";
17
13
  import {
18
14
  refreshIfNeeded,
19
15
  resolveCloudAuthHeaders,
20
16
  resolveCloudBaseUrl
21
17
  } from "./chunk-TSQZ3DSC.js";
18
+ import {
19
+ HyperframesApiError,
20
+ HyperframesCloudClient
21
+ } from "./chunk-3XJM7XZN.js";
22
22
  import {
23
23
  AuthClient,
24
24
  buildAuthHeaders,
@@ -75,7 +75,7 @@ function liveKey(key, scope) {
75
75
  for (let n = 1; failed.has(sent); n++) sent = `${key}-${n}`;
76
76
  return sent;
77
77
  }
78
- function refusal(status, body, estimate) {
78
+ async function refusal(status, body, estimate) {
79
79
  const err = isRecord(body) && isRecord(body.error) ? body.error : isRecord(body) ? body : {};
80
80
  const code = String(err.code ?? err.failure_code ?? "");
81
81
  const message = String(err.message ?? err.failure_message ?? "").slice(0, 300);
@@ -87,12 +87,12 @@ function refusal(status, body, estimate) {
87
87
  if (/hf_subscription_required/i.test(code))
88
88
  return new Refused(
89
89
  `this is a HyperFrames Pro feature; nothing was charged. Run \`npx hyperframes billing subscribe\`: it opens the page and waits`,
90
- `Subscribe: ${url ?? pageUrl("plans", { needed })}`
90
+ `Subscribe: ${url ?? await pageUrl("plans", { needed })}`
91
91
  );
92
92
  if (/hf_usage_exhausted/i.test(code))
93
93
  return new Refused(
94
- `out of HyperFrames credits (this step needs ${needs}${balance}); nothing was charged. Run \`npx hyperframes billing top-up${needed ? ` --needed ${needed}` : ""}\`: it opens the page and waits`,
95
- `Add credits: ${url ?? pageUrl("credits", { needed })}`
94
+ `out of HyperFrames credits (this step needs ${needs}${balance}); nothing was charged. Run \`npx hyperframes billing add-credits${needed ? ` --needed ${needed}` : ""}\`: it opens the page and waits`,
95
+ `Buy add-on credits: ${url ?? await pageUrl("credits", { needed })}`
96
96
  );
97
97
  if (/api_key_required/i.test(code))
98
98
  return new Refused(
@@ -107,7 +107,7 @@ function refusal(status, body, estimate) {
107
107
  if (status === 402 || /insufficient|credit|usage_exhausted|quota/i.test(code))
108
108
  return new Refused(
109
109
  `HeyGen says there is not enough credit (${code || status})`,
110
- "top up at https://app.heygen.com, or sign in with npx hyperframes auth login to use the plan's allowance"
110
+ "buy add-on credits at https://app.heygen.com, or sign in with npx hyperframes auth login to use the plan's allowance"
111
111
  );
112
112
  if (/content_policy/i.test(code))
113
113
  return new Refused(
@@ -134,14 +134,14 @@ async function call(route, send, timeoutMs, estimate, auth) {
134
134
  );
135
135
  if (err.status >= 500 || err.status < 300 || err.raw == null)
136
136
  throw new Fix(`HeyGen ${err.status} for ${route} with no readable answer`, resume);
137
- const refused = refusal(err.status, err.raw, estimate);
137
+ const refused = await refusal(err.status, err.raw, estimate);
138
138
  refused.status = err.status;
139
139
  throw refused;
140
140
  }
141
141
  if (data == null) throw new Fix(`HeyGen answered ${route} with no readable answer`, resume);
142
142
  if (!isRecord(data))
143
143
  throw new Fix(`HeyGen answered ${route} with no job`, "run the same command again");
144
- const id = data.id ?? data.job_id ?? data.video_id ?? data.generation_id;
144
+ const id = data.id ?? data.job_id ?? data.video_id ?? data.generation_id ?? data.lipsync_id;
145
145
  return {
146
146
  ...data,
147
147
  id: typeof id === "string" ? id : "",
@@ -176,7 +176,8 @@ async function runJob(jobRoute, body, key, opts = {}) {
176
176
  if (err instanceof Refused && !KEEPS_KEY.has(err.status)) markFailed(sent, scope);
177
177
  throw err;
178
178
  }
179
- if (opts.log) log(opts.log, { route, id: job.id, key: sent, status: job.status });
179
+ const waits = RUNNING.has(job.status.toLowerCase());
180
+ if (opts.log && waits) log(opts.log, { route, id: job.id, key: sent, status: job.status });
180
181
  const status = jobRoute.status;
181
182
  while (status && RUNNING.has(job.status.toLowerCase())) {
182
183
  if (Date.now() - started > (opts.timeoutMs ?? 15 * 6e4))
@@ -196,7 +197,7 @@ async function runJob(jobRoute, body, key, opts = {}) {
196
197
  if (opts.log) log(opts.log, { route, id: job.id, key: sent, status: job.status });
197
198
  if (!/^(completed|succeeded|success|done)$/i.test(job.status)) {
198
199
  markFailed(sent, scope);
199
- throw refusal(422, {
200
+ throw await refusal(422, {
200
201
  error: { code: job.failure_code ?? job.status, message: job.failure_message ?? "" }
201
202
  });
202
203
  }
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-SACHIPZP.js";
9
+ } from "./chunk-LR5NVYZT.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-5LOZWO2M.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-NUFOXUDF.js";
16
+ } from "./chunk-N6FGHJ7X.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-6ZICZOMN.js";
19
+ } from "./chunk-W5AUD5OL.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-66W5IWLO.js";
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-VX3JUOZ6.js";
11
+ } from "./chunk-42TYQPES.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-NUFOXUDF.js";
15
+ } from "./chunk-N6FGHJ7X.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-YWRUQ7XZ.js";
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-FNNNGI42.js";
18
+ } from "./chunk-AVNF52HR.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-JCOECSLT.js";
21
+ } from "./chunk-BHL4KN3H.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-NUFOXUDF.js";
27
+ } from "./chunk-N6FGHJ7X.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
432
432
  }
433
433
  async function probeMedia(inputPath) {
434
434
  const isImage = inferInputKind(inputPath) === "image";
435
- const engine = await import("./src-HKLKN7AE.js");
435
+ const engine = await import("./src-RL6YEPTD.js");
436
436
  const meta = await engine.extractMediaMetadata(inputPath);
437
437
  if (isImage) {
438
438
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-QPTQSM3D.js";
9
+ } from "./chunk-LTBBFLOM.js";
10
10
  import {
11
11
  outputResolutionForSize
12
- } from "./chunk-T5ELONXY.js";
12
+ } from "./chunk-JHILL4BN.js";
13
13
 
14
14
  // src/commands/lambda/_dimensions.ts
15
15
  import { readFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-DHIXDUET.js";
13
+ } from "./chunk-EN6MPNZT.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-D7THUO4V.js";
13
+ } from "./chunk-A33GFLPY.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-Y3RERZRQ.js";
19
+ } from "./chunk-NBWYATVA.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-4MDLXE3N.js";
15
+ } from "./chunk-PPMCILED.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-6ZICZOMN.js";
20
+ } from "./chunk-W5AUD5OL.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-BGMMC352.js";
23
+ } from "./chunk-XX77LLFJ.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -31,7 +31,7 @@ import {
31
31
  import {
32
32
  decodedUrlPath,
33
33
  removeElementWithGsapCascade
34
- } from "./chunk-T5ELONXY.js";
34
+ } from "./chunk-JHILL4BN.js";
35
35
  import {
36
36
  parseHTML
37
37
  } from "./chunk-GWTIFRF5.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-6ZICZOMN.js";
13
+ } from "./chunk-W5AUD5OL.js";
14
14
  import {
15
15
  parseHTML
16
16
  } 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
  quantizePreviewProxyBox
9
- } from "./chunk-6ZICZOMN.js";
9
+ } from "./chunk-W5AUD5OL.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-KKPYNKZD.js";
11
+ } from "./chunk-6KV3CMY2.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-T2WJO4XM.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-6ZICZOMN.js";
18
+ } from "./chunk-W5AUD5OL.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  FONT_ALIAS_MAP,
16
16
  resolveAliasDisplayName
17
- } from "./chunk-T5ELONXY.js";
17
+ } from "./chunk-JHILL4BN.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -3501,11 +3501,24 @@ function collectCssCustomProperties(css, customProperties) {
3501
3501
  }
3502
3502
  var FONT_SIZE_KEYWORD = /^(?:xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large|smaller|larger)$/i;
3503
3503
  var FONT_SIZE_TOKEN = /^(?:\d*\.?\d+[a-z%]+|(?:calc|min|max|clamp|var)\(.*\))(?:\/\S+)?$/i;
3504
+ function maskParens(value) {
3505
+ let depth = 0;
3506
+ return value.replace(/[\s\S]/g, (char) => {
3507
+ if (char === "(")
3508
+ depth += 1;
3509
+ const inside = depth > 0;
3510
+ if (char === ")")
3511
+ depth -= 1;
3512
+ return inside ? "_" : char;
3513
+ });
3514
+ }
3504
3515
  function fontShorthandFamilies(value) {
3505
- for (const token of value.matchAll(/(?:[^\s(]|\([^)]*\))+/g)) {
3506
- const size = token[0].split("/")[0] ?? "";
3507
- if (FONT_SIZE_KEYWORD.test(size) || FONT_SIZE_TOKEN.test(token[0])) {
3508
- return value.slice(token.index + token[0].length).trim();
3516
+ for (const { 0: masked, index } of maskParens(value).matchAll(/\S+/g)) {
3517
+ const end = index + masked.length;
3518
+ const token = value.slice(index, end);
3519
+ const size = token.split("/")[0] ?? "";
3520
+ if (FONT_SIZE_KEYWORD.test(size) || FONT_SIZE_TOKEN.test(token)) {
3521
+ return value.slice(end).trim();
3509
3522
  }
3510
3523
  }
3511
3524
  return "";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-6RD46YOJ.js";
10
+ } from "./chunk-2QMEP4LR.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,28 +15,28 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-6ZICZOMN.js";
18
+ } from "./chunk-W5AUD5OL.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
22
22
  realpath
23
23
  } from "./chunk-OFQWTKPW.js";
24
- import {
25
- findFfBinary
26
- } from "./chunk-HYRPH6LL.js";
27
24
  import {
28
25
  cleanAssetUrl,
29
26
  isRemoteOrInlineUrl,
30
27
  isUnresolvedAssetPlaceholder,
31
28
  resolveExistingLocalAsset
32
29
  } from "./chunk-WVRAFHJU.js";
30
+ import {
31
+ findFfBinary
32
+ } from "./chunk-HYRPH6LL.js";
33
33
  import {
34
34
  rewriteAssetPath
35
35
  } from "./chunk-C2KEGBR3.js";
36
36
  import {
37
37
  decodeAuthoredAttribute,
38
38
  scanHtmlOpeningTags
39
- } from "./chunk-T5ELONXY.js";
39
+ } from "./chunk-JHILL4BN.js";
40
40
 
41
41
  // ../studio-server/dist/chunk-NOIHVBIQ.js
42
42
  import { statSync } from "fs";
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-4MDK4K7Q.js");
1281
+ const { trackCommandFailure } = await import("./events-YVQJLQWG.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -4,21 +4,15 @@ 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
- HyperframesApiError,
9
- HyperframesCloudClient
10
- } from "./chunk-3XJM7XZN.js";
11
7
  import {
12
8
  forceRefreshCredentials,
13
9
  resolveCloudAuthHeaders,
14
10
  resolveCloudBaseUrl
15
11
  } from "./chunk-TSQZ3DSC.js";
16
12
  import {
17
- errorBox
18
- } from "./chunk-5LOZWO2M.js";
19
- import {
20
- failCommand
21
- } from "./chunk-66W5IWLO.js";
13
+ HyperframesApiError,
14
+ HyperframesCloudClient
15
+ } from "./chunk-3XJM7XZN.js";
22
16
 
23
17
  // src/cloud/poll.ts
24
18
  var DEFAULT_POLL_INTERVAL_MS = 2e3;
@@ -110,54 +104,10 @@ function wrapWith401Retry(client) {
110
104
  });
111
105
  }
112
106
 
113
- // src/cloud/errors.ts
114
- var ERROR_CODE_HINTS = {
115
- hyperframes_project_too_large: "The zip exceeded the 200 MB limit. Run `hyperframes cloud render --dry-run` to see what stays in it, then add only verified-unneeded paths to `.hyperframesignore`.",
116
- hyperframes_render_not_found: "The render_id no longer exists \u2014 either soft-deleted or never created.",
117
- invalid_parameter: "Check the listed parameter against `hyperframes cloud render --help` for the accepted values.",
118
- authentication_failed: "Run `hyperframes auth status` to confirm your credential; `hyperframes auth login` to re-auth.",
119
- rate_limit_exceeded: "Retry after the duration in the Retry-After header."
120
- };
121
- function hintCode(err) {
122
- if (err.code === "invalid_parameter" && /^File too large\b/.test(err.message)) {
123
- return "hyperframes_project_too_large";
124
- }
125
- return err.code;
126
- }
127
- function reportApiError(stage, err, options = {}) {
128
- const hints = { ...ERROR_CODE_HINTS, ...options.extraHints };
129
- if (err instanceof HyperframesApiError) {
130
- if (err.status === 404 && options.notFound) {
131
- errorBox("Not found", options.notFound);
132
- failCommand();
133
- }
134
- const code = hintCode(err);
135
- const hint = code ? hints[code] : void 0;
136
- const title = `${stage} (HTTP ${err.status})`;
137
- if (hint) {
138
- errorBox(title, err.message, hint);
139
- } else if (options.suggestion) {
140
- errorBox(title, err.message, options.suggestion);
141
- } else if (err.code) {
142
- errorBox(title, err.message, `code: ${err.code}`);
143
- } else {
144
- errorBox(title, err.message);
145
- }
146
- failCommand();
147
- }
148
- if (err instanceof Error) {
149
- errorBox(stage, err.message, options.suggestion);
150
- failCommand();
151
- }
152
- errorBox(stage, String(err), options.suggestion);
153
- failCommand();
154
- }
155
-
156
107
  export {
157
108
  DEFAULT_POLL_INTERVAL_MS,
158
109
  DEFAULT_MAX_WAIT_MS,
159
110
  PollTimeoutError,
160
111
  pollUntilTerminal,
161
- createCloudClient,
162
- reportApiError
112
+ createCloudClient
163
113
  };