hyperframes 0.9.29 → 0.9.30

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 (182) hide show
  1. package/dist/{add-BRXFSBYO.js → add-JBBBMWP4.js} +8 -8
  2. package/dist/api.js +15 -15
  3. package/dist/{asset-FEAC2U74.js → asset-VFG5LF4B.js} +5 -5
  4. package/dist/{audio-PBKCPYW2.js → audio-URYC7ND7.js} +15 -15
  5. package/dist/{auth-IPHKPGNV.js → auth-E4ZBU47K.js} +6 -6
  6. package/dist/{autoUpdate-4HUTYRYX.js → autoUpdate-CEYR6IHF.js} +4 -4
  7. package/dist/{avatars-U2XLC3OS.js → avatars-ZPRQ3ZCD.js} +8 -8
  8. package/dist/{backgroundChecks-4Q4R56DT.js → backgroundChecks-BL4XMMXE.js} +5 -5
  9. package/dist/backgroundChecksWorker.js +5 -5
  10. package/dist/{batchRender-AL6DO5IA.js → batchRender-FK7U2GUF.js} +4 -4
  11. package/dist/{beats-VS4P6KKZ.js → beats-XK4QL74K.js} +8 -8
  12. package/dist/{benchmark-MGDPACXB.js → benchmark-MABRDF7U.js} +10 -10
  13. package/dist/{billing-JLASHFQM.js → billing-2CABBLDC.js} +9 -9
  14. package/dist/{browser-FU4TZSMT.js → browser-SHU4XK5O.js} +8 -8
  15. package/dist/{bundleWithLocalizedFonts-B2XFORNZ.js → bundleWithLocalizedFonts-W7SSOXOO.js} +3 -3
  16. package/dist/{capture-LL7WE2S7.js → capture-VPWHIN5C.js} +3 -3
  17. package/dist/{captureCompositionFrame-DABFEOQO.js → captureCompositionFrame-MT3CHQJ6.js} +6 -6
  18. package/dist/{catalog-U6CHLXTI.js → catalog-BBPONQOO.js} +9 -9
  19. package/dist/{catch-up-DMREF334.js → catch-up-DEZVG3A5.js} +8 -8
  20. package/dist/{check-ILJC6WYD.js → check-LIC6DYFD.js} +24 -24
  21. package/dist/{checkAudio-MWSP2436.js → checkAudio-RHF5CWWX.js} +4 -4
  22. package/dist/{checkBrowser-HC3LYH6H.js → checkBrowser-LUHIFDJZ.js} +19 -19
  23. package/dist/{chunk-U46YQL7E.js → chunk-2B2IMLUQ.js} +1 -1
  24. package/dist/{chunk-C25RSEQN.js → chunk-2II5FCVK.js} +6 -6
  25. package/dist/{chunk-RYFVUPXH.js → chunk-2NK3K7JL.js} +1 -1
  26. package/dist/{chunk-FXPDWYD7.js → chunk-2QUQKYOK.js} +37 -13
  27. package/dist/{chunk-IQKMIYLG.js → chunk-3OA75WJW.js} +2 -2
  28. package/dist/{chunk-SCNC7YPB.js → chunk-3YNJAXA5.js} +1 -1
  29. package/dist/{chunk-GISQ7VOP.js → chunk-5IAFM6M5.js} +3 -3
  30. package/dist/{chunk-FJPHKCWU.js → chunk-7DMIAJD7.js} +6 -6
  31. package/dist/{chunk-M457GQGR.js → chunk-7NDF2MO3.js} +1 -1
  32. package/dist/{chunk-42MHKDVP.js → chunk-AGHSWES2.js} +2 -2
  33. package/dist/{chunk-UPR5TMLG.js → chunk-AJCFMDFQ.js} +1 -1
  34. package/dist/{chunk-SS7OEJGR.js → chunk-AMZ22QP7.js} +3 -3
  35. package/dist/{chunk-UKAZEO7A.js → chunk-AW2M5TZW.js} +4 -4
  36. package/dist/{chunk-F5QBIIFT.js → chunk-AWD2MWWL.js} +1 -1
  37. package/dist/{chunk-47JZ2UQC.js → chunk-B23DUMZ4.js} +2 -2
  38. package/dist/{chunk-6JAB5BHX.js → chunk-BUYUJ3EV.js} +1 -1
  39. package/dist/{chunk-ZUXES5HA.js → chunk-CK3DD2MC.js} +2 -2
  40. package/dist/{chunk-PQYICV7O.js → chunk-CPHQTXP5.js} +17 -2
  41. package/dist/{chunk-NURN5W6M.js → chunk-CWN75OWQ.js} +2 -2
  42. package/dist/{chunk-6OQPKRPJ.js → chunk-D2LIT7UR.js} +1 -1
  43. package/dist/{chunk-ZY3N64NC.js → chunk-EBU7T3WZ.js} +1 -1
  44. package/dist/{chunk-YXNRWPF5.js → chunk-EPOBJVVG.js} +18 -18
  45. package/dist/{chunk-ITWIFUDS.js → chunk-F4Z2UPAA.js} +2 -2
  46. package/dist/{chunk-SCUKEERJ.js → chunk-FJQGA6H6.js} +6 -6
  47. package/dist/{chunk-TIWO5QKS.js → chunk-G3WGKT3B.js} +135 -2
  48. package/dist/{chunk-J3X2RZON.js → chunk-G7PITEUH.js} +1 -1
  49. package/dist/{chunk-NSQLSL42.js → chunk-HKWKMXAC.js} +1 -1
  50. package/dist/{chunk-72LMHSPL.js → chunk-J4Z7LQKU.js} +2 -2
  51. package/dist/{chunk-VU4EPKFI.js → chunk-JCNPHRGX.js} +1 -1
  52. package/dist/{chunk-IXMO4RXK.js → chunk-KMGF6GJU.js} +4 -4
  53. package/dist/{chunk-FGFVUKPP.js → chunk-LIWK3MFR.js} +1 -1
  54. package/dist/{chunk-U5RXCKWJ.js → chunk-LRDS7MG5.js} +1 -1
  55. package/dist/{chunk-UCCD6SY7.js → chunk-MSL2BS73.js} +1 -1
  56. package/dist/{chunk-EIVSIGS2.js → chunk-NBF7SU6Q.js} +4 -4
  57. package/dist/{chunk-4TPTB6PY.js → chunk-NLKHXPTZ.js} +2 -2
  58. package/dist/{chunk-GTUTZIRR.js → chunk-NTNS5EFN.js} +2 -2
  59. package/dist/{chunk-VXWASGGT.js → chunk-P74B5H73.js} +1 -1
  60. package/dist/{chunk-T37WJWV2.js → chunk-PIEVAPKP.js} +1 -1
  61. package/dist/{chunk-7DGBOZ4N.js → chunk-PV2D2TZV.js} +1 -1
  62. package/dist/{chunk-ZCRATF6D.js → chunk-RCYKUNVZ.js} +2 -2
  63. package/dist/{chunk-TM5H5ZY3.js → chunk-SP5GQGP2.js} +2 -2
  64. package/dist/{chunk-H5BHEZ4B.js → chunk-SPPSVPY7.js} +2 -2
  65. package/dist/{chunk-B4TLQLGI.js → chunk-T6VQGCN3.js} +1 -1
  66. package/dist/{chunk-L6OXEDJQ.js → chunk-TNZ2EF2Y.js} +3 -3
  67. package/dist/{chunk-BX2BIU6Z.js → chunk-UPVM6UDG.js} +62 -15
  68. package/dist/{chunk-USOP5XTT.js → chunk-UTU3HSJS.js} +1 -1
  69. package/dist/{chunk-X7NFWMWW.js → chunk-UY3H42VE.js} +1 -1
  70. package/dist/{chunk-7TION72L.js → chunk-VHOETOGT.js} +8 -8
  71. package/dist/{chunk-SBYFFP7R.js → chunk-VMLPDIR6.js} +1 -1
  72. package/dist/{chunk-ZQXK4L4G.js → chunk-VPQXRTEW.js} +5 -5
  73. package/dist/{chunk-L2GOO2UY.js → chunk-WAXPM7TK.js} +1 -1
  74. package/dist/{chunk-VWEELCAJ.js → chunk-WCSEEQ5R.js} +1 -1
  75. package/dist/{chunk-BYJEUZNT.js → chunk-WGVWW6O4.js} +2 -2
  76. package/dist/{chunk-MTJ46TG7.js → chunk-WJPEMXI3.js} +1 -1
  77. package/dist/{chunk-NXFUEPWT.js → chunk-YAKPBJOU.js} +4 -4
  78. package/dist/{chunk-OY4YSQBK.js → chunk-YJYEKNJG.js} +3 -3
  79. package/dist/{chunk-77B6C7CU.js → chunk-YNRQTFYH.js} +2 -2
  80. package/dist/{chunk-XGGEOBH2.js → chunk-YZH2IWEE.js} +2 -2
  81. package/dist/{chunk-4N3UVDIJ.js → chunk-ZLDYDO64.js} +1 -1
  82. package/dist/{clean-YU7AM7DC.js → clean-AGQEPUBC.js} +9 -9
  83. package/dist/cli.js +67 -67
  84. package/dist/{cloud-U7RRT2TA.js → cloud-H5HJH6SD.js} +6 -6
  85. package/dist/{cloud-QJMPTQ3N.js → cloud-TDXVUIUM.js} +5 -5
  86. package/dist/{cloudrun-T7VVPRDG.js → cloudrun-7BR5FKOC.js} +6 -6
  87. package/dist/{colors-SS2KTOKM.js → colors-NMNY26B5.js} +2 -2
  88. package/dist/{compare-USGR7PZL.js → compare-YWZ6O2FL.js} +15 -15
  89. package/dist/{component-RIFXLYK3.js → component-MX2PJOTA.js} +6 -6
  90. package/dist/{compositions-QHRNVZ2K.js → compositions-PLT4OLGR.js} +9 -9
  91. package/dist/{curve-BX46Q4OW.js → curve-BJYCZUEY.js} +6 -6
  92. package/dist/{cuts-JRLHBLOX.js → cuts-TWAVF7WI.js} +6 -6
  93. package/dist/{delete-SE7ABVTH.js → delete-3KCBCPBD.js} +11 -11
  94. package/dist/{deploy-AQUEV6ND.js → deploy-KWTMJNBL.js} +4 -4
  95. package/dist/{describeProject-XBT7PHZD.js → describeProject-HZLM3B55.js} +4 -4
  96. package/dist/{destroy-YAMTVR2W.js → destroy-4DOMPOYB.js} +2 -2
  97. package/dist/{diff-6TZLA6KU.js → diff-XC6IU3IY.js} +16 -16
  98. package/dist/{dist-ALNMJZ7K.js → dist-M5WQQ6WE.js} +6 -2
  99. package/dist/{docs-ZSVK3VZD.js → docs-YTM4NX2R.js} +2 -2
  100. package/dist/{doctor-DDKKCJMO.js → doctor-VRUSZ6GH.js} +6 -6
  101. package/dist/{energy-HC7BNZ5E.js → energy-VNAAJYAW.js} +6 -6
  102. package/dist/{events-KNH677YB.js → events-6WYNARX7.js} +5 -5
  103. package/dist/{events-EETQNKK2.js → events-MR72RS47.js} +7 -7
  104. package/dist/{events-ZRVQOB4Y.js → events-WZJTLFCQ.js} +6 -6
  105. package/dist/{extract-I3J3ZK55.js → extract-MKOCZIFN.js} +7 -7
  106. package/dist/{face-HJUZ2OXQ.js → face-NIV5ZSUX.js} +6 -6
  107. package/dist/{feedback-M6I5AVZ5.js → feedback-A4F4G5JO.js} +12 -12
  108. package/dist/{figma-RFAPGGBF.js → figma-4WZIDYAD.js} +5 -5
  109. package/dist/fontLocalizeCli.js +1 -1
  110. package/dist/{frames-FOAWRBW4.js → frames-DAKLRIWG.js} +6 -6
  111. package/dist/{generate-FLG6B7RX.js → generate-NRPHH4NJ.js} +13 -13
  112. package/dist/{get-I5JCIGPW.js → get-ISXQCK3G.js} +11 -11
  113. package/dist/{grade-compare-R3UOE4WI.js → grade-compare-TVMAAZVC.js} +15 -15
  114. package/dist/{help-NVQZEN6A.js → help-ZOYDS3YW.js} +3 -3
  115. package/dist/{history-AGNMVDRQ.js → history-CLGGMJ7Z.js} +11 -11
  116. package/dist/hyperframes-player.global.js +1 -1
  117. package/dist/{info-EXAJSKZP.js → info-ZTFII4N4.js} +9 -9
  118. package/dist/{init-Z7FZ7U5J.js → init-RCDPQKFA.js} +10 -10
  119. package/dist/{ink-QYCQXNUY.js → ink-2ATPIDWC.js} +6 -6
  120. package/dist/{inspect-ZJNHBIJI.js → inspect-GDMUC5F6.js} +17 -17
  121. package/dist/{keyframes-QYRES5IL.js → keyframes-EPAX446T.js} +10 -10
  122. package/dist/{lambda-3I4IV63E.js → lambda-HG6Y6KOH.js} +13 -13
  123. package/dist/{layout-J33Y6DD7.js → layout-KXBKGHOS.js} +17 -17
  124. package/dist/{lint-JT74BZWJ.js → lint-O62OPAW7.js} +11 -11
  125. package/dist/{list-NOWT754O.js → list-4HWWKMM6.js} +12 -12
  126. package/dist/{login-3JR3HXS6.js → login-2H4XMPUT.js} +12 -29
  127. package/dist/{logout-FJ444652.js → logout-7SMEH7JL.js} +4 -4
  128. package/dist/{look-NKCQENM7.js → look-W6PV445D.js} +6 -6
  129. package/dist/{measure-VSZBVJJZ.js → measure-CWOXQCGH.js} +11 -11
  130. package/dist/{media-treatment-733EANTU.js → media-treatment-SDGXF2PK.js} +9 -9
  131. package/dist/{media-use-IUN5ATZQ.js → media-use-NWNX24MD.js} +6 -6
  132. package/dist/{models-A6FBCVFA.js → models-J2P2DLSA.js} +4 -4
  133. package/dist/{motionShot-PVWZLEMB.js → motionShot-VQ2KFPMR.js} +7 -7
  134. package/dist/{normalize-audio-XD4QE5NE.js → normalize-audio-MABOG5XR.js} +8 -8
  135. package/dist/{open-TWEEOMZA.js → open-KWTFPDML.js} +9 -9
  136. package/dist/{play-ZOZRB5OG.js → play-6MSC2ZCU.js} +13 -13
  137. package/dist/{policies-5G7G26ZX.js → policies-5RUNO47I.js} +2 -2
  138. package/dist/{present-IMQS3KJ7.js → present-X5T75QS4.js} +13 -13
  139. package/dist/{preview-JSK5IKSR.js → preview-7NW7RUET.js} +12 -12
  140. package/dist/{probe-ZLRD2TRZ.js → probe-XTZVXTQ2.js} +7 -7
  141. package/dist/{progress-OOEHTBBU.js → progress-TGYZ2TKQ.js} +2 -2
  142. package/dist/{prompts-RYVLXI7Q.js → prompts-7VQEH645.js} +2 -2
  143. package/dist/{publish-C3ARXH6D.js → publish-3BBHK2NK.js} +8 -8
  144. package/dist/{refresh-YY4K2RWR.js → refresh-47T6Z2PK.js} +4 -4
  145. package/dist/{remove-background-VDTWA7BL.js → remove-background-W7WMLL5C.js} +3 -3
  146. package/dist/{render-UF5XKGO5.js → render-5G6745C3.js} +23 -23
  147. package/dist/{render-TSV3XTQV.js → render-ZGCH2FZJ.js} +4 -4
  148. package/dist/{render-P27DEH4H.js → render-ZIBXBMNI.js} +23 -23
  149. package/dist/{render-batch-ISMXAG7F.js → render-batch-ONWJJ627.js} +4 -4
  150. package/dist/{reverse-J4CLVRPY.js → reverse-5YTLWWDZ.js} +1 -1
  151. package/dist/{run-UPKPPRV7.js → run-24USN7TA.js} +5 -5
  152. package/dist/{sites-NWEJJNAZ.js → sites-LILUBMRM.js} +2 -2
  153. package/dist/{skills-AAETAWZH.js → skills-YMSZHKK4.js} +10 -10
  154. package/dist/{skillsUpdateCheck-KCP2EYKX.js → skillsUpdateCheck-YJYYN5CH.js} +5 -5
  155. package/dist/{snapshot-5PMHOVPR.js → snapshot-4MZGXL4A.js} +20 -20
  156. package/dist/{start-6D25MEIJ.js → start-FPEBVENS.js} +57 -26
  157. package/dist/{staticProjectServer-LM3YLJ6K.js → staticProjectServer-XZNME57Y.js} +4 -4
  158. package/dist/{status-22TRM6DI.js → status-7TRDJU47.js} +10 -10
  159. package/dist/studio/assets/{codec-D84nARi6.js → codec-B1UWDNJp.js} +1 -1
  160. package/dist/studio/assets/{hyperframes-player-C2-hh0bR.js → hyperframes-player-DQd2VPm2.js} +1 -1
  161. package/dist/studio/assets/{index-B0rj7KmJ.js → index-B7CtVv8e.js} +1 -1
  162. package/dist/studio/assets/{index-D3lR9-ik.js → index-gkyTLE7n.js} +5 -5
  163. package/dist/studio/assets/{pausedVideoDecoder-D8vnt-Wd.js → pausedVideoDecoder-Bfv1WSlz.js} +1 -1
  164. package/dist/studio/index.html +1 -1
  165. package/dist/{studio-api-LSWAJEK4.js → studio-api-JKJXAELI.js} +6 -2
  166. package/dist/{studioServer-MC57HJAV.js → studioServer-UCRCZOLS.js} +43 -69
  167. package/dist/{sync-SEN3M7GA.js → sync-E72XNR2G.js} +6 -6
  168. package/dist/{telemetry-NP2FXZQL.js → telemetry-L5D3U4IO.js} +6 -6
  169. package/dist/{telemetry-5CLJMTHU.js → telemetry-M722DCXI.js} +3 -3
  170. package/dist/{templates-QN7ZUHHZ.js → templates-O7HEL7HC.js} +9 -9
  171. package/dist/{timeline-V43AACFE.js → timeline-QTODTYKQ.js} +14 -14
  172. package/dist/{tokens-NOFZVX4P.js → tokens-D7JYFE2K.js} +5 -5
  173. package/dist/{transcribe-IVZ4OASF.js → transcribe-D2WFL2RO.js} +12 -12
  174. package/dist/{tts-HOZ6X3MD.js → tts-IXX2HHHJ.js} +4 -4
  175. package/dist/{update-LML5YVLT.js → update-SCMEUTRM.js} +11 -11
  176. package/dist/{updateCheck-FFHCGLRU.js → updateCheck-KNTQDXMN.js} +4 -4
  177. package/dist/{upgrade-UWT2FB5Y.js → upgrade-V2BP5PAQ.js} +7 -7
  178. package/dist/{validate-ZNK2THUV.js → validate-W3E6QVJ6.js} +15 -15
  179. package/dist/{video-QXVXG7PW.js → video-KC4AFMAY.js} +2 -2
  180. package/dist/{voices-JI7QOSLT.js → voices-7N6QU3C6.js} +12 -12
  181. package/dist/warmCheck.js +24 -24
  182. package/package.json +1 -1
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-47JZ2UQC.js";
9
+ } from "./chunk-B23DUMZ4.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-GISQ7VOP.js";
15
+ } from "./chunk-5IAFM6M5.js";
16
16
  import {
17
17
  pageNavigationTimeoutMs
18
- } from "./chunk-42MHKDVP.js";
18
+ } from "./chunk-AGHSWES2.js";
19
19
  import {
20
20
  resolveCompositionViewportFromHtml
21
21
  } from "./chunk-BJYCLZBQ.js";
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-DL4OD7IA.js";
29
29
  import {
30
30
  c
31
- } from "./chunk-VU4EPKFI.js";
31
+ } from "./chunk-JCNPHRGX.js";
32
32
  import {
33
33
  resolveNaturalMediaTimelineDuration
34
34
  } from "./chunk-F24B2PLD.js";
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  printDeprecationNotice,
40
40
  withMeta
41
- } from "./chunk-BX2BIU6Z.js";
41
+ } from "./chunk-UPVM6UDG.js";
42
42
  import {
43
43
  failureMessage,
44
44
  jsonFailure
@@ -276,7 +276,7 @@ async function validateInBrowser(project, opts) {
276
276
  const projectDir = project.dir;
277
277
  const { bundleToSingleHtml } = await import("./compiler-ZSIKBZBR.js");
278
278
  const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
279
- const { serveStaticProjectHtml } = await import("./staticProjectServer-LM3YLJ6K.js");
279
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-XZNME57Y.js");
280
280
  const { lintProject } = await import("./lintProject-5CBL7VFV.js");
281
281
  const lintResult = await lintProject(projectDir);
282
282
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-LP7B3JLC.js";
29
29
  import {
30
30
  c
31
- } from "./chunk-VU4EPKFI.js";
31
+ } from "./chunk-JCNPHRGX.js";
32
32
  import {
33
33
  failCommand
34
34
  } from "./chunk-66W5IWLO.js";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-U5RXCKWJ.js";
9
+ } from "./chunk-LRDS7MG5.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-FGFVUKPP.js";
12
+ } from "./chunk-LIWK3MFR.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-JNHJX2BZ.js";
10
10
  import {
11
11
  c
12
- } from "./chunk-VU4EPKFI.js";
12
+ } from "./chunk-JCNPHRGX.js";
13
13
  import {
14
14
  CliUsageError
15
15
  } from "./chunk-66W5IWLO.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-BYJEUZNT.js";
10
+ } from "./chunk-WGVWW6O4.js";
11
11
  import {
12
12
  Fix
13
13
  } from "./chunk-2YZ6GA4E.js";
@@ -15,12 +15,12 @@ import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
17
17
  resolveCloudBaseUrl
18
- } from "./chunk-4N3UVDIJ.js";
18
+ } from "./chunk-ZLDYDO64.js";
19
19
  import {
20
20
  AuthClient,
21
21
  buildAuthHeaders,
22
22
  resolveCredential
23
- } from "./chunk-M457GQGR.js";
23
+ } from "./chunk-7NDF2MO3.js";
24
24
  import {
25
25
  HyperframesApiError,
26
26
  HyperframesCloudClient
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-DL4OD7IA.js";
27
27
  import {
28
28
  c
29
- } from "./chunk-VU4EPKFI.js";
29
+ } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
32
  } from "./chunk-7GJKUOPX.js";
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-BX2BIU6Z.js";
47
+ } from "./chunk-UPVM6UDG.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
- } from "./chunk-F5QBIIFT.js";
51
+ } from "./chunk-AWD2MWWL.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-TM5H5ZY3.js";
54
+ } from "./chunk-SP5GQGP2.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-GR2E54E6.js";
14
14
  import {
15
15
  isAttendedTerminal
16
- } from "./chunk-PQYICV7O.js";
16
+ } from "./chunk-CPHQTXP5.js";
17
17
  import {
18
18
  normalizeErrorMessage
19
19
  } from "./chunk-E63BDV4Z.js";
@@ -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-FGFVUKPP.js";
9
+ } from "./chunk-LIWK3MFR.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-GTUTZIRR.js";
12
+ } from "./chunk-NTNS5EFN.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-SS7OEJGR.js";
19
+ } from "./chunk-AMZ22QP7.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZBAF6L74.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-FGFVUKPP.js";
12
+ } from "./chunk-LIWK3MFR.js";
13
13
  import {
14
14
  JsonFlagReadError,
15
15
  inlineJsonHint,
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-EHZESMRB.js";
19
19
  import {
20
20
  c
21
- } from "./chunk-VU4EPKFI.js";
21
+ } from "./chunk-JCNPHRGX.js";
22
22
  import {
23
23
  formatVariableValidationIssue,
24
24
  validateVariables
@@ -26,10 +26,25 @@ function isUnattended() {
26
26
  agentDetected ??= isAgentDriven();
27
27
  return agentDetected;
28
28
  }
29
+ function isRemoteOrHeadless() {
30
+ const remoteEnvironment = [
31
+ "CODESPACES",
32
+ "GITHUB_CODESPACES",
33
+ "REMOTE_CONTAINERS",
34
+ "GITPOD_WORKSPACE_ID",
35
+ "container"
36
+ ].some(envFlagEnabled);
37
+ return Boolean(
38
+ process.env["SSH_CONNECTION"] || process.env["SSH_CLIENT"] || process.env["SSH_TTY"] || process.env["BROWSER"] === "none" || process.env["HF_NO_BROWSER"] === "1" || remoteEnvironment || process.stdout.isTTY !== true && !agentShellOnThisMachine()
39
+ );
40
+ }
41
+ function agentShellOnThisMachine() {
42
+ return !isCI() && isAgentDriven();
43
+ }
29
44
 
30
45
  export {
31
- envFlagEnabled,
32
46
  isCI,
33
47
  isAttendedTerminal,
34
- isUnattended
48
+ isUnattended,
49
+ isRemoteOrHeadless
35
50
  };
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-4N3UVDIJ.js";
9
+ } from "./chunk-ZLDYDO64.js";
10
10
  import {
11
11
  buildAuthHeaders,
12
12
  envCredentialVar,
13
13
  isTokenExpired,
14
14
  tryResolveCredential
15
- } from "./chunk-M457GQGR.js";
15
+ } from "./chunk-7NDF2MO3.js";
16
16
  import {
17
17
  isAuthError
18
18
  } from "./chunk-LP7B3JLC.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-66W5IWLO.js";
10
10
  import {
11
11
  isUnattended
12
- } from "./chunk-PQYICV7O.js";
12
+ } from "./chunk-CPHQTXP5.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __toESM
@@ -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-VU4EPKFI.js";
9
+ } from "./chunk-JCNPHRGX.js";
10
10
  import {
11
11
  normalizeErrorMessage
12
12
  } from "./chunk-E63BDV4Z.js";
@@ -20,17 +20,17 @@ import {
20
20
  idleWindow,
21
21
  preResolveHostileMediaProxies,
22
22
  rectToBbox
23
- } from "./chunk-7TION72L.js";
23
+ } from "./chunk-VHOETOGT.js";
24
24
  import {
25
25
  collectProjectMedia,
26
26
  mediaPath
27
27
  } from "./chunk-V4ZFL2E2.js";
28
28
  import {
29
29
  captureArtifactRevision
30
- } from "./chunk-72LMHSPL.js";
30
+ } from "./chunk-J4Z7LQKU.js";
31
31
  import {
32
32
  trackLintRun
33
- } from "./chunk-ZCRATF6D.js";
33
+ } from "./chunk-RCYKUNVZ.js";
34
34
  import {
35
35
  CONTENT_OVERLAP_HELD_ERROR_MS,
36
36
  DEFAULT_MAX_STATIC_SEC,
@@ -51,7 +51,7 @@ import {
51
51
  mergeSampleTimes,
52
52
  parseAt,
53
53
  readMotionSpec
54
- } from "./chunk-C25RSEQN.js";
54
+ } from "./chunk-2II5FCVK.js";
55
55
  import {
56
56
  findingAtRoot,
57
57
  findingElementKey,
@@ -65,10 +65,10 @@ import {
65
65
  } from "./chunk-GGDJLN5I.js";
66
66
  import {
67
67
  resolveProject
68
- } from "./chunk-47JZ2UQC.js";
68
+ } from "./chunk-B23DUMZ4.js";
69
69
  import {
70
70
  recordArtifacts
71
- } from "./chunk-FXPDWYD7.js";
71
+ } from "./chunk-2QUQKYOK.js";
72
72
  import {
73
73
  CACHE_DIR_NAME
74
74
  } from "./chunk-V4Z37HFN.js";
@@ -83,10 +83,10 @@ import {
83
83
  import {
84
84
  trackCheckReport,
85
85
  trackCommandFailure
86
- } from "./chunk-GTUTZIRR.js";
86
+ } from "./chunk-NTNS5EFN.js";
87
87
  import {
88
88
  swallowedFlagUsageError
89
- } from "./chunk-UPR5TMLG.js";
89
+ } from "./chunk-AJCFMDFQ.js";
90
90
  import {
91
91
  defineCommand
92
92
  } from "./chunk-DL4OD7IA.js";
@@ -98,7 +98,7 @@ import {
98
98
  } from "./chunk-54HJ63Q2.js";
99
99
  import {
100
100
  c
101
- } from "./chunk-VU4EPKFI.js";
101
+ } from "./chunk-JCNPHRGX.js";
102
102
  import {
103
103
  DEFAULT_CONFIG,
104
104
  extractMediaMetadata,
@@ -111,10 +111,10 @@ import {
111
111
  } from "./chunk-DJVSNDF3.js";
112
112
  import {
113
113
  withMeta
114
- } from "./chunk-BX2BIU6Z.js";
114
+ } from "./chunk-UPVM6UDG.js";
115
115
  import {
116
116
  recordLastCheck
117
- } from "./chunk-F5QBIIFT.js";
117
+ } from "./chunk-AWD2MWWL.js";
118
118
  import {
119
119
  failureMessage,
120
120
  jsonFailure
@@ -126,7 +126,7 @@ import {
126
126
  } from "./chunk-66W5IWLO.js";
127
127
  import {
128
128
  VERSION
129
- } from "./chunk-TM5H5ZY3.js";
129
+ } from "./chunk-SP5GQGP2.js";
130
130
  import {
131
131
  normalizeErrorMessage
132
132
  } from "./chunk-E63BDV4Z.js";
@@ -2294,7 +2294,7 @@ function resolveMotionSpec(projectDir) {
2294
2294
  };
2295
2295
  }
2296
2296
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2297
- const module = await import("./checkBrowser-HC3LYH6H.js");
2297
+ const module = await import("./checkBrowser-LUHIFDJZ.js");
2298
2298
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2299
2299
  }
2300
2300
  var adoptedBrowser;
@@ -2308,7 +2308,7 @@ async function prelaunchBrowser(project, options) {
2308
2308
  if (adopted) return adopted;
2309
2309
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2310
2310
  if (html === void 0) return void 0;
2311
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-DABFEOQO.js");
2311
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-MT3CHQJ6.js");
2312
2312
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2313
2313
  }
2314
2314
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2320,11 +2320,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2320
2320
  return relative(projectDir, path);
2321
2321
  }
2322
2322
  async function captureFindingFrames(project, options, requests, deadline) {
2323
- const module = await import("./checkBrowser-HC3LYH6H.js");
2323
+ const module = await import("./checkBrowser-LUHIFDJZ.js");
2324
2324
  return module.captureFindingFrames(project, options, requests, deadline);
2325
2325
  }
2326
2326
  async function captureFindingCrops(project, options, requests, deadline) {
2327
- const module = await import("./checkBrowser-HC3LYH6H.js");
2327
+ const module = await import("./checkBrowser-LUHIFDJZ.js");
2328
2328
  return module.captureFindingCrops(project, options, requests, deadline);
2329
2329
  }
2330
2330
  async function inspectProjectMedia(project, dependencies) {
@@ -2346,7 +2346,7 @@ function collectMedia(project) {
2346
2346
  return collectProjectMedia(project.dir);
2347
2347
  }
2348
2348
  async function inspectAudio(project, media) {
2349
- const module = await import("./checkAudio-MWSP2436.js");
2349
+ const module = await import("./checkAudio-RHF5CWWX.js");
2350
2350
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2351
2351
  }
2352
2352
  function audioCheckFailure(project, error) {
@@ -2531,7 +2531,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2531
2531
  }
2532
2532
  },
2533
2533
  async prepareMedia(project, options) {
2534
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-B2XFORNZ.js");
2534
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-W7SSOXOO.js");
2535
2535
  const html = await bundleWithLocalizedFonts(project.dir);
2536
2536
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2537
2537
  },
@@ -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-FGFVUKPP.js";
9
+ } from "./chunk-LIWK3MFR.js";
10
10
  import {
11
11
  cssVariableName,
12
12
  slugify
@@ -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-ZRVQOB4Y.js");
1281
+ const { trackCommandFailure } = await import("./events-WZJTLFCQ.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EXA6R6SW.js";
10
10
  import {
11
11
  R
12
- } from "./chunk-6OQPKRPJ.js";
12
+ } from "./chunk-D2LIT7UR.js";
13
13
  import {
14
14
  buildNpxCommand
15
15
  } from "./chunk-6BEFEWFB.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJ47LVJ7.js";
19
19
  import {
20
20
  trackSkillsInstallSkipped
21
- } from "./chunk-GTUTZIRR.js";
21
+ } from "./chunk-NTNS5EFN.js";
22
22
  import {
23
23
  diag
24
24
  } from "./chunk-MCDNAIFF.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-DL4OD7IA.js";
28
28
  import {
29
29
  c
30
- } from "./chunk-VU4EPKFI.js";
30
+ } from "./chunk-JCNPHRGX.js";
31
31
  import {
32
32
  FALLBACK_CORE_SKILLS,
33
33
  RETIRED_SKILLS,
@@ -39,11 +39,11 @@ import {
39
39
  isCoreSkill,
40
40
  presentSkills,
41
41
  retiredSkillNotice
42
- } from "./chunk-IXMO4RXK.js";
42
+ } from "./chunk-KMGF6GJU.js";
43
43
  import {
44
44
  NO_UPDATE_NOTICE,
45
45
  withMeta
46
- } from "./chunk-BX2BIU6Z.js";
46
+ } from "./chunk-UPVM6UDG.js";
47
47
  import {
48
48
  failureMessage,
49
49
  jsonFailure
@@ -54,7 +54,7 @@ import {
54
54
  } from "./chunk-66W5IWLO.js";
55
55
  import {
56
56
  VERSION
57
- } from "./chunk-TM5H5ZY3.js";
57
+ } from "./chunk-SP5GQGP2.js";
58
58
 
59
59
  // src/commands/skills.ts
60
60
  import { execFileSync, spawn } from "child_process";
@@ -47,7 +47,7 @@ import {
47
47
  resolveProjectSignature,
48
48
  serveWhileOpen,
49
49
  settledFileTag
50
- } from "./chunk-FXPDWYD7.js";
50
+ } from "./chunk-2QUQKYOK.js";
51
51
  import {
52
52
  PROXY_PARAMS_VERSION,
53
53
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -222,6 +222,93 @@ function findUnsafeDomPatchValues(value) {
222
222
  });
223
223
  }
224
224
 
225
+ // ../studio-server/dist/chunk-FJ5C22OV.js
226
+ import { hostname, networkInterfaces } from "os";
227
+ function isLoopbackHost(host) {
228
+ if (!host) return false;
229
+ const bracketed = /^\[([^\]]+)\]/.exec(host);
230
+ const hostname2 = (bracketed ? bracketed[1] : host.split(":")[0])?.toLowerCase() ?? "";
231
+ if (hostname2 === "localhost" || hostname2 === "::1" || hostname2 === "0:0:0:0:0:0:0:1") return true;
232
+ return /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(hostname2);
233
+ }
234
+ function hostnameOf(host) {
235
+ if (!host) return "";
236
+ const bracketed = /^\[([^\]]+)\]/.exec(host);
237
+ return (bracketed ? bracketed[1] : host.split(":")[0])?.toLowerCase() ?? "";
238
+ }
239
+ function localNames() {
240
+ const names = /* @__PURE__ */ new Set();
241
+ try {
242
+ for (const entries of Object.values(networkInterfaces())) {
243
+ for (const entry of entries ?? []) names.add(entry.address.toLowerCase());
244
+ }
245
+ const self = hostname().toLowerCase();
246
+ if (self !== "") {
247
+ names.add(self);
248
+ names.add(`${self}.local`);
249
+ const short = self.split(".")[0];
250
+ if (short !== void 0 && short !== "") {
251
+ names.add(short);
252
+ names.add(`${short}.local`);
253
+ }
254
+ }
255
+ } catch {
256
+ }
257
+ return names;
258
+ }
259
+ function hostMatchesBind(host, bind) {
260
+ const requested = hostnameOf(host);
261
+ if (requested === "") return false;
262
+ const bound = bind.toLowerCase();
263
+ if (requested === bound) return true;
264
+ return bound === "0.0.0.0" || bound === "::" || bound === "*" ? localNames().has(requested) : false;
265
+ }
266
+ var PREVIEW_ALLOWED_HOSTS_ENV = "HYPERFRAMES_PREVIEW_ALLOWED_HOSTS";
267
+ function previewAllowedHostsFromEnv(env = process.env) {
268
+ return (env[PREVIEW_ALLOWED_HOSTS_ENV] ?? "").split(",").map((host) => host.trim()).filter((host) => host !== "");
269
+ }
270
+ function requestHost(headers) {
271
+ return firstForwarded(headers.forwardedHost) ?? headers.host;
272
+ }
273
+ function identityAllowed(host) {
274
+ if (isLoopbackHost(host)) return true;
275
+ const bind = (process.env["HYPERFRAMES_PREVIEW_HOST"] ?? "").trim();
276
+ if (bind === "" || isLoopbackHost(bind)) return false;
277
+ return hostMatchesBind(host, bind);
278
+ }
279
+ function hostAllowed(host, allowedHosts) {
280
+ if (identityAllowed(host)) return true;
281
+ if (!allowedHosts) return false;
282
+ const name = hostnameOf(host);
283
+ return name !== "" && allowedHosts.some((allowed) => hostnameOf(allowed) === name);
284
+ }
285
+ function hostHeaderAllowed(host, allowedHosts) {
286
+ return host !== void 0 && host !== "" && hostAllowed(host, allowedHosts);
287
+ }
288
+ function firstForwarded(value) {
289
+ const first = value?.split(",")[0]?.trim();
290
+ return first === "" ? void 0 : first;
291
+ }
292
+ function originMatches(origin, host, proto) {
293
+ let parsed;
294
+ try {
295
+ parsed = new URL(origin);
296
+ } catch {
297
+ return false;
298
+ }
299
+ if (parsed.protocol !== "http:" && parsed.protocol !== "https:") return false;
300
+ if (proto !== void 0 && parsed.protocol !== `${proto}:`) return false;
301
+ return parsed.host.toLowerCase() === host.toLowerCase();
302
+ }
303
+ function sameOriginPost(headers) {
304
+ const host = firstForwarded(headers.forwardedHost) ?? headers.host;
305
+ if (!host || !hostAllowed(host, headers.allowedHosts)) return false;
306
+ if (headers.fetchSite && headers.fetchSite !== "same-origin") return false;
307
+ if (headers.origin === void 0) return true;
308
+ const proto = firstForwarded(headers.forwardedProto) ?? headers.proto;
309
+ return originMatches(headers.origin, host, proto);
310
+ }
311
+
225
312
  // ../studio-server/dist/chunk-7ROCGO5U.js
226
313
  import { createHash } from "crypto";
227
314
  import { closeSync, constants, fstatSync, openSync, readFileSync, writeFileSync } from "fs";
@@ -10086,8 +10173,49 @@ async function answerRefusedFrameWithPage(c, next) {
10086
10173
  headers
10087
10174
  });
10088
10175
  }
10089
- function createStudioApi(adapter) {
10176
+ function urlHost(url) {
10177
+ try {
10178
+ return new URL(url).host || void 0;
10179
+ } catch {
10180
+ return void 0;
10181
+ }
10182
+ }
10183
+ function urlScheme(url) {
10184
+ try {
10185
+ return new URL(url).protocol.replace(/:$/, "") || void 0;
10186
+ } catch {
10187
+ return void 0;
10188
+ }
10189
+ }
10190
+ function createStudioApi(adapter, options = {}) {
10090
10191
  const api = new Hono();
10192
+ api.use(async function rejectCrossOriginWrites(c, next) {
10193
+ if (c.req.method === "GET" || c.req.method === "HEAD" || c.req.method === "OPTIONS") {
10194
+ return next();
10195
+ }
10196
+ const allowed = sameOriginPost({
10197
+ host: c.req.header("host") ?? urlHost(c.req.url),
10198
+ origin: c.req.header("origin"),
10199
+ fetchSite: c.req.header("sec-fetch-site"),
10200
+ proto: urlScheme(c.req.url),
10201
+ forwardedProto: c.req.header("x-forwarded-proto"),
10202
+ forwardedHost: c.req.header("x-forwarded-host"),
10203
+ allowedHosts: options.allowedHosts
10204
+ });
10205
+ if (!allowed) {
10206
+ const refusedHost = requestHost({
10207
+ host: c.req.header("host") ?? urlHost(c.req.url),
10208
+ forwardedHost: c.req.header("x-forwarded-host")
10209
+ }) ?? "unknown host";
10210
+ return c.json(
10211
+ {
10212
+ error: `forbidden: writes from host "${refusedHost}" are not allowed. Set ${PREVIEW_ALLOWED_HOSTS_ENV}=${refusedHost} to allow it (comma separated for several hosts).`
10213
+ },
10214
+ 403
10215
+ );
10216
+ }
10217
+ return next();
10218
+ });
10091
10219
  api.use("/projects/:id/preview/*", answerRefusedFrameWithPage);
10092
10220
  api.use("/projects/:id/preview", answerRefusedFrameWithPage);
10093
10221
  api.use(async function answerProjectDirMissingAfterErrorHandlers(c, next) {
@@ -10277,6 +10405,11 @@ function updateBackgroundRemovalProgress(state, event) {
10277
10405
  }
10278
10406
 
10279
10407
  export {
10408
+ PREVIEW_ALLOWED_HOSTS_ENV,
10409
+ previewAllowedHostsFromEnv,
10410
+ identityAllowed,
10411
+ hostHeaderAllowed,
10412
+ sameOriginPost,
10280
10413
  stampProjectHfIds,
10281
10414
  stampProjectHfIdsAsync,
10282
10415
  getElementScreenshotClip,
@@ -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-FGFVUKPP.js";
9
+ } from "./chunk-LIWK3MFR.js";
10
10
  import {
11
11
  failUsage
12
12
  } from "./chunk-66W5IWLO.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-U5RXCKWJ.js";
12
+ } from "./chunk-LRDS7MG5.js";
13
13
  import {
14
14
  findSyncPartner,
15
15
  readLinkTiming,
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-77B6C7CU.js";
9
+ } from "./chunk-YNRQTFYH.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-FXPDWYD7.js";
13
+ } from "./chunk-2QUQKYOK.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isUnattended
9
- } from "./chunk-PQYICV7O.js";
9
+ } from "./chunk-CPHQTXP5.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __toESM