hyperframes 0.8.207 → 0.8.208

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 (212) hide show
  1. package/dist/{add-LXFWHBE3.js → add-XMWRBMBR.js} +14 -13
  2. package/dist/{agentPromptGenerator-D2E62ZP5.js → agentPromptGenerator-4NJ252MR.js} +6 -2
  3. package/dist/{animatedGifPrep-VBPJZKFT.js → animatedGifPrep-6XURJIPV.js} +8 -7
  4. package/dist/api.js +19 -18
  5. package/dist/{asset-JX4RW3GO.js → asset-I5GGEOB2.js} +2 -2
  6. package/dist/{assetCataloger-JKKOPBCF.js → assetCataloger-YBPXUNUP.js} +10 -8
  7. package/dist/{audio-OXQ3L6DW.js → audio-GFJCHH5W.js} +410 -128
  8. package/dist/{auth-JAL7P7ZA.js → auth-QOA55RYR.js} +4 -4
  9. package/dist/{autoUpdate-MRI2AICE.js → autoUpdate-SPS4QPJU.js} +4 -4
  10. package/dist/{backgroundChecks-ORR46PBY.js → backgroundChecks-HRJO7YK7.js} +5 -5
  11. package/dist/backgroundChecksWorker.js +5 -5
  12. package/dist/{batchRender-IFZYPGIW.js → batchRender-FBP3RKUF.js} +5 -4
  13. package/dist/{beats-UDLOEW6U.js → beats-VNGJ7F6W.js} +21 -14
  14. package/dist/{benchmark-VTVDNKSO.js → benchmark-NZ3N3MIV.js} +10 -10
  15. package/dist/{browser-QJC4BL2Y.js → browser-BD5BKRJ5.js} +8 -8
  16. package/dist/{bundleWithLocalizedFonts-Z2JTBNDS.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
  17. package/dist/{capture-GLM2ACPM.js → capture-CXWXKWS5.js} +62 -36
  18. package/dist/{capture-2P4JERSX.js → capture-LMJ4TQRL.js} +52 -17
  19. package/dist/{captureCompositionFrame-A2A5MGQB.js → captureCompositionFrame-ZKVCRYYU.js} +14 -13
  20. package/dist/{captureFile-RPUEOZO6.js → captureFile-VIVGKFY4.js} +2 -1
  21. package/dist/{catalog-5ZLVUQVJ.js → catalog-WRXQSCAU.js} +14 -13
  22. package/dist/{catch-up-FRMVYJHZ.js → catch-up-MDSPABFC.js} +6 -6
  23. package/dist/{check-WVY7SM7C.js → check-SIBBK5HA.js} +42 -41
  24. package/dist/{checkAudio-PLEQY3SZ.js → checkAudio-QQBR4HR7.js} +12 -11
  25. package/dist/{checkBrowser-XSZUA2DQ.js → checkBrowser-4EBJLLIH.js} +34 -33
  26. package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
  27. package/dist/{chunk-HVOTYAS4.js → chunk-43MW4SY7.js} +2 -2
  28. package/dist/{chunk-TSTONNOD.js → chunk-4F5NRJ6M.js} +2 -2
  29. package/dist/{chunk-JQ32262N.js → chunk-4HT2L6W2.js} +1 -1
  30. package/dist/{chunk-63DP5CB2.js → chunk-4KG3ESVO.js} +4 -4
  31. package/dist/{chunk-LPI7HX4G.js → chunk-4LTBQEPD.js} +2 -2
  32. package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
  33. package/dist/{chunk-XULJBZ7K.js → chunk-5HB4JM7H.js} +2 -2
  34. package/dist/{chunk-PL36HK3U.js → chunk-6CWKORZO.js} +3 -3
  35. package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
  36. package/dist/{chunk-T4JGFCXU.js → chunk-6JNSYFOH.js} +4 -4
  37. package/dist/{chunk-5PYRU5DT.js → chunk-6N7D2GUV.js} +15 -15
  38. package/dist/{chunk-WL263XM2.js → chunk-6PWQH77E.js} +1 -1
  39. package/dist/{chunk-UAT2UMTP.js → chunk-6WRN4WC6.js} +1 -1
  40. package/dist/{chunk-SXOD5J7T.js → chunk-7CPI2DWL.js} +1 -1
  41. package/dist/{chunk-UYPWH7PH.js → chunk-7PAK7LZ5.js} +11 -11
  42. package/dist/{chunk-YJK6HOL5.js → chunk-B5MPMIKQ.js} +2 -2
  43. package/dist/{chunk-KDHHPJOG.js → chunk-BKDQFOKK.js} +4 -4
  44. package/dist/{chunk-LCCYYTEK.js → chunk-BLCKQPBE.js} +1 -1
  45. package/dist/chunk-BQMAPNDA.js +4830 -0
  46. package/dist/{chunk-QE4WRS3N.js → chunk-CP225S5H.js} +3 -3
  47. package/dist/{chunk-I2TDHVFV.js → chunk-CSWCZA6V.js} +2 -2
  48. package/dist/{chunk-C53ZNJDZ.js → chunk-D2CE2J2A.js} +1 -1
  49. package/dist/{chunk-NSC5A4IR.js → chunk-DHQSDCWD.js} +6 -2
  50. package/dist/chunk-DROFHVQD.js +240 -0
  51. package/dist/{chunk-NHL5CMO2.js → chunk-DXACKQ3F.js} +3 -3
  52. package/dist/{chunk-IK4JY2LI.js → chunk-EGOXYG3M.js} +2 -2
  53. package/dist/{chunk-UKM3JYNB.js → chunk-ENRFKCI6.js} +3 -3
  54. package/dist/{chunk-NWGXTUYS.js → chunk-EQBDKYXR.js} +3 -30
  55. package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
  56. package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
  57. package/dist/{chunk-CVZO6TFE.js → chunk-EYEEZXLI.js} +11 -11
  58. package/dist/{chunk-ZCJ5EGLU.js → chunk-FC4WT5FX.js} +79 -1
  59. package/dist/{chunk-GXUONASF.js → chunk-FFDYRJBE.js} +24 -1
  60. package/dist/{chunk-NJNC2DQV.js → chunk-G2A6RC5R.js} +52 -9
  61. package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
  62. package/dist/{chunk-H3LQ5X6Q.js → chunk-GEO6THL3.js} +61 -30
  63. package/dist/{chunk-RPZNQV6D.js → chunk-GHSO62LK.js} +2 -2
  64. package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
  65. package/dist/{chunk-XKW4Z7BU.js → chunk-HUKQW4YE.js} +1 -1
  66. package/dist/{chunk-QZ2JQ6O4.js → chunk-HZN7ICAF.js} +3 -3
  67. package/dist/{chunk-DJQZ7DEH.js → chunk-IIJVSCSH.js} +15 -15
  68. package/dist/{chunk-6KCFVLO6.js → chunk-IL2TMC6F.js} +1 -1
  69. package/dist/{chunk-ZYGIDXAK.js → chunk-J67FSI3Q.js} +104 -58
  70. package/dist/{chunk-5KBMYSF2.js → chunk-K4PHB3YQ.js} +7 -2
  71. package/dist/{chunk-HM7SUIQD.js → chunk-KTWGVEN6.js} +3 -3
  72. package/dist/{chunk-6IYIS2U7.js → chunk-LSMFOZ4F.js} +2 -2
  73. package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
  74. package/dist/{chunk-EG3B2VWK.js → chunk-MBGM26P5.js} +16 -21
  75. package/dist/{chunk-LK6KPVX2.js → chunk-MPO25DQW.js} +291 -160
  76. package/dist/{chunk-DML6BD4K.js → chunk-MW2NQQ6Z.js} +2 -2
  77. package/dist/{chunk-MSHL6CF2.js → chunk-MYO77JWR.js} +1 -1
  78. package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
  79. package/dist/{chunk-VH4PNYOS.js → chunk-NZ6G5YWZ.js} +2 -2
  80. package/dist/{chunk-LXP6XWJL.js → chunk-ORFRUZPB.js} +1 -1
  81. package/dist/{chunk-UUOIH4RW.js → chunk-OTXXDONS.js} +2 -2
  82. package/dist/{chunk-526VSRZ4.js → chunk-P7WGVXR7.js} +6 -6
  83. package/dist/{chunk-HA3V4XAF.js → chunk-PKVA6MPV.js} +1 -1
  84. package/dist/{chunk-QTWXVOZI.js → chunk-PSOAGSNO.js} +2 -2
  85. package/dist/{chunk-ID766OZB.js → chunk-PWEOSJ3E.js} +3 -3
  86. package/dist/{chunk-EHFZEKQM.js → chunk-Q43YUROE.js} +1 -1
  87. package/dist/{chunk-7PJ3AJB2.js → chunk-QP2MJYTJ.js} +1 -1
  88. package/dist/{chunk-7RWUY3BJ.js → chunk-QWBVPWUI.js} +1 -1
  89. package/dist/{chunk-IYZT62UR.js → chunk-S2OLTAEL.js} +2 -2
  90. package/dist/{chunk-U32PA6DI.js → chunk-S4KHJERB.js} +1 -1
  91. package/dist/{chunk-FEO7YW7V.js → chunk-SI7QCT2J.js} +6 -6
  92. package/dist/{chunk-6Z7XDUUJ.js → chunk-SKKQMW5X.js} +1 -1
  93. package/dist/{chunk-VAVDAOUA.js → chunk-TNTGGDSD.js} +1 -1
  94. package/dist/{chunk-EGRIVMCQ.js → chunk-U6KN6OIP.js} +2 -2
  95. package/dist/{chunk-IBZHSU2J.js → chunk-ULL3U6PV.js} +1 -1
  96. package/dist/{chunk-IW5P4KK7.js → chunk-VR3JLTZD.js} +3 -3
  97. package/dist/{chunk-6KOHY5EP.js → chunk-VS4SK7BN.js} +17 -11
  98. package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
  99. package/dist/{chunk-JKE24AG7.js → chunk-WABB4LZS.js} +1 -1
  100. package/dist/{chunk-I3TYUQLB.js → chunk-WNMVC3IT.js} +1 -1
  101. package/dist/{chunk-MAUGXKSI.js → chunk-X6MCIK7L.js} +100 -13
  102. package/dist/chunk-XFMO3BEN.js +71 -0
  103. package/dist/{chunk-PUIG6DHT.js → chunk-XG3IZV62.js} +7 -7
  104. package/dist/{chunk-VBPNCOD7.js → chunk-XOFBXLMG.js} +2 -2
  105. package/dist/{chunk-FVAI7AHF.js → chunk-XUQYC5DD.js} +5 -5
  106. package/dist/chunk-Z5J67X44.js +40 -0
  107. package/dist/{chunk-XAGBSYIQ.js → chunk-Z5TGBEPJ.js} +1 -1
  108. package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
  109. package/dist/{clean-TL3IPJDN.js → clean-6GX7WAEC.js} +22 -21
  110. package/dist/cli.js +56 -56
  111. package/dist/{cloud-EYMRPJNY.js → cloud-6PFJKLNL.js} +4 -4
  112. package/dist/{cloudrun-TOJ36NLX.js → cloudrun-UGG3ZFH7.js} +6 -5
  113. package/dist/{compare-MP5EOW4D.js → compare-P4EBOP4B.js} +33 -32
  114. package/dist/{compiler-NOPVLJ2S.js → compiler-PG4RKX6K.js} +3 -3
  115. package/dist/{component-ASACDCZK.js → component-SQPMI3W7.js} +3 -3
  116. package/dist/{compositions-WKNZJY34.js → compositions-KRIHY3IY.js} +14 -13
  117. package/dist/{contactSheet-YOBPATEM.js → contactSheet-RYAE7Y5D.js} +3 -2
  118. package/dist/{delete-DQTFHP3G.js → delete-T5TO4SV6.js} +7 -7
  119. package/dist/{deploy-HHCFOUFM.js → deploy-AO6LQR5G.js} +6 -6
  120. package/dist/{dist-NQEYA4ZX.js → dist-23AAB5X2.js} +2 -2
  121. package/dist/{dist-L4Z4ZEYW.js → dist-6IMEDVMC.js} +1 -1
  122. package/dist/docker/Dockerfile.render +1 -1
  123. package/dist/{doctor-JDM65CP7.js → doctor-QBUJQ655.js} +16 -15
  124. package/dist/{events-RKRHRLJD.js → events-J7CESLKQ.js} +4 -4
  125. package/dist/{events-MBRNA3UF.js → events-SIZO7YHI.js} +5 -5
  126. package/dist/{feedback-LZWIWV5J.js → feedback-74WOJ5PN.js} +12 -12
  127. package/dist/{ffmpeg-4PZKSIGE.js → ffmpeg-AKUP6U2S.js} +10 -9
  128. package/dist/{figma-QFNYUT3F.js → figma-GGMYRR4Q.js} +3 -3
  129. package/dist/fontLocalizeCli.js +11 -10
  130. package/dist/{get-2B5ENJOH.js → get-PLKAI6JM.js} +7 -7
  131. package/dist/{gpuPolicy-E5FB2GFR.js → gpuPolicy-EYDAAPJF.js} +8 -7
  132. package/dist/{grade-compare-4GUAPJHE.js → grade-compare-UADJP4AV.js} +33 -32
  133. package/dist/{heifImagePrep-C2RYIEER.js → heifImagePrep-KDF3OPOK.js} +9 -8
  134. package/dist/{help-XGDAXV67.js → help-WSQQ555Q.js} +1 -1
  135. package/dist/{history-WNFF6HGU.js → history-VSQ2DQ3V.js} +9 -9
  136. package/dist/hyperframe.manifest.json +1 -1
  137. package/dist/hyperframe.runtime.iife.js +67 -67
  138. package/dist/hyperframes-player.global.js +3 -3
  139. package/dist/{info-BR2LKGJD.js → info-MOQ4LRC3.js} +9 -9
  140. package/dist/{init-P6UWPUY3.js → init-EONQSZJG.js} +32 -31
  141. package/dist/{inspect-MSRPF7ZO.js → inspect-OLCVLHOU.js} +32 -31
  142. package/dist/{installer-MPUQS3ZX.js → installer-GHISA75B.js} +4 -4
  143. package/dist/{keyframes-J6K66QTO.js → keyframes-DGQYCY24.js} +8 -8
  144. package/dist/{lambda-LJ2OSWFJ.js → lambda-AMMWF2YH.js} +14 -13
  145. package/dist/{layout-CDY65XGA.js → layout-R6CAPGRO.js} +32 -31
  146. package/dist/{lint-CAUNBGPX.js → lint-QZJEYPHD.js} +9 -9
  147. package/dist/{lintProject-ZTSX3AWT.js → lintProject-W3YVHAGP.js} +1 -1
  148. package/dist/{list-33BYQNRZ.js → list-KCJID4SP.js} +7 -7
  149. package/dist/localPage-V3HBGM3Z.js +27 -0
  150. package/dist/{login-5QMRKOHK.js → login-7HKBEPJS.js} +7 -7
  151. package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
  152. package/dist/{manager-3JOHHPVR.js → manager-6YSKJMVD.js} +11 -10
  153. package/dist/{manager-RMYSZ3KI.js → manager-Z7W4GQGF.js} +4 -4
  154. package/dist/{media-treatment-4WP22CFN.js → media-treatment-E3DL6LEZ.js} +25 -22
  155. package/dist/{models-HPWCHAZX.js → models-URWI7YEG.js} +15 -14
  156. package/dist/{motionShot-I7GDIROQ.js → motionShot-27IXMDJK.js} +18 -17
  157. package/dist/{normalize-audio-VTMXPSC7.js → normalize-audio-WGRLPR3P.js} +9 -9
  158. package/dist/{open-SAO7OQTT.js → open-LQ35PLEN.js} +13 -13
  159. package/dist/{parakeetRunner-ZYPBIA73.js → parakeetRunner-XASVIDTI.js} +16 -15
  160. package/dist/{pipeline-VNBMR6QU.js → pipeline-GA7QVCHS.js} +11 -10
  161. package/dist/{play-7VI6A7KN.js → play-RYZP77CI.js} +21 -21
  162. package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
  163. package/dist/{preflight-VWV7L45J.js → preflight-HJFSJXXF.js} +12 -11
  164. package/dist/{present-CSJGYOFF.js → present-YBMLOWZV.js} +17 -17
  165. package/dist/{preview-B246ZTVO.js → preview-QIRKJCRV.js} +23 -22
  166. package/dist/{producer-WJLFDVQJ.js → producer-524FDOLX.js} +1 -1
  167. package/dist/{projectConfig-OMR46ZWQ.js → projectConfig-IDQN5ZRW.js} +6 -6
  168. package/dist/{publication-AA7NNYET.js → publication-3X3IGSDO.js} +2 -2
  169. package/dist/{publish-TJ4QVVSP.js → publish-2BF7K6HX.js} +13 -13
  170. package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
  171. package/dist/{remove-background-LQ2V7W7N.js → remove-background-EZBCEFT6.js} +12 -11
  172. package/dist/{render-E5QJG74D.js → render-EFUA2A6A.js} +6 -5
  173. package/dist/{render-JLTNZ36U.js → render-JFMTAXHD.js} +43 -41
  174. package/dist/{render-AWEEPG3F.js → render-TEEBI2UT.js} +30 -26
  175. package/dist/{render-batch-U4T4VSCM.js → render-batch-XTYNXVSW.js} +7 -6
  176. package/dist/renderSetupWorker.js +6 -6
  177. package/dist/{resolver-GXCTUKPV.js → resolver-FZS6TN6B.js} +4 -4
  178. package/dist/{screenshotCapture-X6OKIXCB.js → screenshotCapture-HOW4VSV6.js} +3 -2
  179. package/dist/{sherpa-4VZWVHWZ.js → sherpa-TQIAIKTH.js} +15 -14
  180. package/dist/skills/hyperframes/SKILL.md +1 -1
  181. package/dist/skills/hyperframes/references/format.md +1 -0
  182. package/dist/skills/hyperframes-cli/references/beats.md +2 -0
  183. package/dist/skills/media-use/references/grading.md +2 -0
  184. package/dist/skills/media-use/references/local.md +1 -0
  185. package/dist/{skills-WUKR7SUE.js → skills-S6ZG5KKH.js} +7 -7
  186. package/dist/{skillsUpdateCheck-YXRBY3JC.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
  187. package/dist/{snapshot-Q7S2FTNG.js → snapshot-ERYZIM32.js} +66 -47
  188. package/dist/{src-ZOXUSGAP.js → src-6XOMREMS.js} +7 -6
  189. package/dist/{src-CLAALR5W.js → src-OL6RHPE4.js} +10 -9
  190. package/dist/{staticProjectServer-DQ7PIDPA.js → staticProjectServer-JYDDGPAH.js} +16 -16
  191. package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
  192. package/dist/studio/assets/{hyperframes-player-Cm5aBiKq.js → hyperframes-player-5dRdMVOq.js} +3 -3
  193. package/dist/studio/assets/{index-BF9YeBnC.js → index-Bu3mJUU2.js} +71 -71
  194. package/dist/studio/assets/{index-BrqAmMRt.js → index-ZqyQ91pm.js} +1 -1
  195. package/dist/studio/index.html +1 -1
  196. package/dist/{studio-api-NUE227JM.js → studio-api-GRU4SHKD.js} +9 -9
  197. package/dist/{studioServer-HVOKP4VI.js → studioServer-OYPBEI5B.js} +54 -53
  198. package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
  199. package/dist/{telemetry-2Y5JXLDB.js → telemetry-CPYINR63.js} +5 -5
  200. package/dist/{timeline-WOQGXFRV.js → timeline-RGK5BMPD.js} +23 -22
  201. package/dist/{tokens-T3OHTWUC.js → tokens-EX4BOWRW.js} +2 -2
  202. package/dist/{transcribe-4U74P5TG.js → transcribe-MK367I6A.js} +14 -13
  203. package/dist/{transcribe-JZ3BO546.js → transcribe-RI52JMVW.js} +21 -20
  204. package/dist/{updateCheck-6EUAGAM4.js → updateCheck-BIEJKQI4.js} +4 -4
  205. package/dist/{upgrade-55K6F4MP.js → upgrade-ES3UUI7O.js} +4 -4
  206. package/dist/{urlDownloader-47JMOLNN.js → urlDownloader-XAGYSTAG.js} +7 -6
  207. package/dist/{validate-QBJ3SBS4.js → validate-A6GZHNEI.js} +26 -25
  208. package/dist/{video-3ZAUNAR3.js → video-OEMGR3MN.js} +10 -8
  209. package/dist/warmCheck.js +42 -41
  210. package/package.json +1 -1
  211. package/dist/chunk-BDJIQZN2.js +0 -4830
  212. package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-VBPNCOD7.js";
11
+ } from "./chunk-XOFBXLMG.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-XULJBZ7K.js";
16
+ } from "./chunk-5HB4JM7H.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -171,7 +171,7 @@ import {
171
171
  verifyDiskDrawElementSamples,
172
172
  videoAudioId,
173
173
  writeCapturedFrame
174
- } from "./chunk-LK6KPVX2.js";
174
+ } from "./chunk-MPO25DQW.js";
175
175
  import {
176
176
  assignBundledRuntimeCompositionIds,
177
177
  emitMountedModuleScripts,
@@ -183,7 +183,7 @@ import {
183
183
  parsesAsScript,
184
184
  prepareFlattenedInnerRoot,
185
185
  stripSdrPngColourTags
186
- } from "./chunk-RPZNQV6D.js";
186
+ } from "./chunk-GHSO62LK.js";
187
187
  import {
188
188
  DISTRIBUTED_FPS,
189
189
  HF_VFX_ATTR,
@@ -199,7 +199,7 @@ import {
199
199
  parseVfxChain,
200
200
  resolveAuthoredTimingWindow,
201
201
  toFps
202
- } from "./chunk-7RWUY3BJ.js";
202
+ } from "./chunk-QWBVPWUI.js";
203
203
  import {
204
204
  COMPOSITION_SOURCE_URL,
205
205
  HF_COLOR_GRADING_ATTR,
@@ -234,7 +234,7 @@ import {
234
234
  sourceTimeAt,
235
235
  styleElementsFor,
236
236
  timeAtSourceTime
237
- } from "./chunk-BDJIQZN2.js";
237
+ } from "./chunk-BQMAPNDA.js";
238
238
  import {
239
239
  TRANSITIONS,
240
240
  convertTransfer,
@@ -246,11 +246,11 @@ import {
246
246
  } from "./chunk-634HSJ3J.js";
247
247
  import {
248
248
  chromeMajorCeiling
249
- } from "./chunk-4UMPIPCQ.js";
249
+ } from "./chunk-ERUQ3S6D.js";
250
250
  import {
251
251
  lintHyperframeHtml,
252
252
  resolveReferencedStart
253
- } from "./chunk-ZCJ5EGLU.js";
253
+ } from "./chunk-FC4WT5FX.js";
254
254
  import {
255
255
  isUnresolvedAssetPlaceholder,
256
256
  readProjectFile,
@@ -8576,10 +8576,11 @@ var VideoExtractionStageError = class extends Error {
8576
8576
  kind: failure.kind,
8577
8577
  affectedElementCount: failure.count
8578
8578
  }))
8579
- )) {
8579
+ ), ffmpegReason) {
8580
8580
  const total = failures.reduce((sum2, failure) => sum2 + failure.count, 0);
8581
8581
  const breakdown = failures.map((failure) => `${failure.kind}=${failure.count}`).join(",");
8582
- super(`Video extraction failed for ${total} source(s) [${code}; ${breakdown}]`);
8582
+ const reason = ffmpegReason ? `: ffmpeg said: ${ffmpegReason}` : "";
8583
+ super(`Video extraction failed for ${total} source(s) [${code}; ${breakdown}]${reason}`);
8583
8584
  this.code = code;
8584
8585
  this.retryable = retryable;
8585
8586
  this.failures = failures;
@@ -8626,7 +8627,8 @@ function buildVideoExtractionStageError(result) {
8626
8627
  retryable ? "VIDEO_EXTRACTION_FAILED" : "VIDEO_SOURCE_UNRENDERABLE",
8627
8628
  retryable,
8628
8629
  failures,
8629
- extractionFailureMetadataFromResult(result)
8630
+ extractionFailureMetadataFromResult(result),
8631
+ result.errors.find((failure) => failure.ffmpegReason)?.ffmpegReason
8630
8632
  );
8631
8633
  }
8632
8634
  function buildHdrProbeStageError(failures) {
@@ -9583,6 +9585,7 @@ async function runCaptureStage(input) {
9583
9585
  dedupPerfs,
9584
9586
  pageErrorLines: workerPageErrors,
9585
9587
  openAttempt: input.openAttempt,
9588
+ verifyFirstSession: input.verifyFirstSession,
9586
9589
  onProgress: (progress) => {
9587
9590
  if (progress.latestWorkerPhase) {
9588
9591
  if (progress.capturedFrames === 0) reportWorkerStartup(job, progress, onProgress);
@@ -11603,7 +11606,8 @@ async function executeDiskCaptureWithAdaptiveRetry(options) {
11603
11606
  });
11604
11607
  } : void 0,
11605
11608
  void 0,
11606
- options.cfg
11609
+ options.cfg,
11610
+ { verifyFirstSession: options.verifyFirstSession }
11607
11611
  );
11608
11612
  pushWorkerDedupPerfs(workerResults, options.dedupPerfs);
11609
11613
  if (options.pageErrorLines) pushWorkerPageErrors(workerResults, options.pageErrorLines);
@@ -16319,7 +16323,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16319
16323
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16320
16324
  if (probeResult.probeSession) {
16321
16325
  try {
16322
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ZOXUSGAP.js");
16326
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-6XOMREMS.js");
16323
16327
  await closeCaptureSession2(probeResult.probeSession);
16324
16328
  } catch (err) {
16325
16329
  log.warn("[plan] probe session close failed", {
@@ -18036,7 +18040,7 @@ function startServer(options = {}) {
18036
18040
  });
18037
18041
  async function shutdown(signal) {
18038
18042
  log.info(`Received ${signal}, shutting down`);
18039
- const { drainBrowserPool } = await import("./src-ZOXUSGAP.js");
18043
+ const { drainBrowserPool } = await import("./src-6XOMREMS.js");
18040
18044
  await drainBrowserPool().catch(() => {
18041
18045
  });
18042
18046
  const handle = await Promise.race([
@@ -19359,16 +19363,18 @@ function observedChunkCaptureMode(perfs) {
19359
19363
  }
19360
19364
  return mode;
19361
19365
  }
19366
+ var PROBE_SELECTED_SCREENSHOT = "[renderChunk] probe selected screenshot capture";
19362
19367
  function shouldRetryChunkCaptureWithScreenshot(error) {
19363
19368
  const failure = classifyCaptureFailure(error);
19364
19369
  if (failure.kind === "cancelled" || failure.kind === "memory_exhaustion") return false;
19365
- return /HeadlessExperimental\.beginFrame/i.test(failure.message) || /beginFrame probe timeout/i.test(failure.message) || /Another frame is pending|Frame still pending/i.test(failure.message);
19370
+ return /HeadlessExperimental\.beginFrame/i.test(failure.message) || /beginFrame probe timeout/i.test(failure.message) || failure.message.includes(PROBE_SELECTED_SCREENSHOT) || /Another frame is pending|Frame still pending/i.test(failure.message);
19366
19371
  }
19367
19372
  async function runCaptureWithScreenshotFallback(input) {
19368
19373
  try {
19369
19374
  return await input.run(input.forceScreenshot);
19370
19375
  } catch (error) {
19371
- if (input.forceScreenshot || !shouldRetryChunkCaptureWithScreenshot(error)) throw error;
19376
+ if (input.forceScreenshot || await input.canRetry?.() === false) throw error;
19377
+ if (!shouldRetryChunkCaptureWithScreenshot(error)) throw error;
19372
19378
  input.onFallback?.(error);
19373
19379
  await input.resetForScreenshotRetry();
19374
19380
  return await input.run(true);
@@ -19577,7 +19583,24 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19577
19583
  let extraction;
19578
19584
  const overlap = { current: null };
19579
19585
  try {
19580
- if (chunkWorkerCount === 1 || !forceScreenshotForChunk) {
19586
+ const verifyInWorker = chunkWorkerCount > 1 && !forceScreenshotForChunk;
19587
+ let boxesMeasured;
19588
+ let boxesFailed;
19589
+ const boxesReady = new Promise((resolve11, reject) => {
19590
+ boxesMeasured = resolve11;
19591
+ boxesFailed = reject;
19592
+ });
19593
+ boxesReady.catch(() => {
19594
+ });
19595
+ const measureBoxes = async (page) => {
19596
+ shownBoxes = await measureVideoShownBoxes(
19597
+ page,
19598
+ [...shownFrames.keys()],
19599
+ chunkFrameNumbers.map((frame) => frame * chunkFps.den / chunkFps.num)
19600
+ );
19601
+ boxesMeasured();
19602
+ };
19603
+ if (chunkWorkerCount === 1) {
19581
19604
  const bootStarted = Date.now();
19582
19605
  session = await createVerifiedDistributedCaptureSession(
19583
19606
  fileServer.url,
@@ -19586,11 +19609,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19586
19609
  cfg
19587
19610
  );
19588
19611
  sessionBootMs = Date.now() - bootStarted;
19589
- shownBoxes = await measureVideoShownBoxes(
19590
- session.page,
19591
- [...shownFrames.keys()],
19592
- chunkFrameNumbers.map((frame) => frame * chunkFps.den / chunkFps.num)
19593
- );
19612
+ await measureBoxes(session.page);
19594
19613
  const browserSelectedScreenshot = session.launchCaptureMode === "screenshot";
19595
19614
  const beginFrameStalled = !browserSelectedScreenshot && await beginFrameSessionNeedsScreenshotFallback(session);
19596
19615
  if (browserSelectedScreenshot) {
@@ -19599,10 +19618,6 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19599
19618
  "[renderChunk] Browser capability probe selected screenshot capture for the entire chunk",
19600
19619
  { chunkIndex }
19601
19620
  );
19602
- if (chunkWorkerCount > 1) {
19603
- await closeCaptureSession(session);
19604
- session = null;
19605
- }
19606
19621
  } else if (beginFrameStalled) {
19607
19622
  forceScreenshotForChunk = true;
19608
19623
  log.warn(
@@ -19612,41 +19627,66 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19612
19627
  await closeCaptureSession(session).catch(() => {
19613
19628
  });
19614
19629
  session = null;
19615
- if (chunkWorkerCount === 1) {
19616
- const screenshotBootStarted = Date.now();
19617
- const screenshotCfg = {
19618
- ...cfg,
19619
- forceScreenshot: true,
19620
- forceScreenshotExplicitlyOptedOut: false
19621
- };
19622
- session = await createVerifiedDistributedCaptureSession(
19623
- fileServer.url,
19624
- framesDir,
19625
- captureOptions,
19626
- screenshotCfg
19630
+ const screenshotBootStarted = Date.now();
19631
+ const screenshotCfg = {
19632
+ ...cfg,
19633
+ forceScreenshot: true,
19634
+ forceScreenshotExplicitlyOptedOut: false
19635
+ };
19636
+ session = await createVerifiedDistributedCaptureSession(
19637
+ fileServer.url,
19638
+ framesDir,
19639
+ captureOptions,
19640
+ screenshotCfg
19641
+ );
19642
+ sessionBootMs += Date.now() - screenshotBootStarted;
19643
+ }
19644
+ } else if (!verifyInWorker) {
19645
+ boxesMeasured();
19646
+ }
19647
+ let verification;
19648
+ const verifyFirstWorker = (first) => verification ??= (async () => {
19649
+ sessionBootMs = Date.now() - verifyStarted;
19650
+ try {
19651
+ await measureBoxes(first.page);
19652
+ const selectedScreenshot = first.launchCaptureMode === "screenshot";
19653
+ if (selectedScreenshot || await beginFrameSessionNeedsScreenshotFallback(first)) {
19654
+ forceScreenshotForChunk = true;
19655
+ log.warn(
19656
+ selectedScreenshot ? "[renderChunk] Browser capability probe selected screenshot capture for the entire chunk" : "[renderChunk] BeginFrame liveness probe failed; using screenshot capture for the entire chunk",
19657
+ { chunkIndex }
19627
19658
  );
19628
- sessionBootMs += Date.now() - screenshotBootStarted;
19659
+ throw new Error(PROBE_SELECTED_SCREENSHOT);
19629
19660
  }
19630
- } else if (chunkWorkerCount > 1) {
19631
- await closeCaptureSession(session);
19632
- session = null;
19661
+ } catch (error) {
19662
+ if (!forceScreenshotForChunk) {
19663
+ verifyFailure = error;
19664
+ boxesFailed(error);
19665
+ }
19666
+ throw error;
19633
19667
  }
19634
- }
19635
- const extractStarted = Date.now();
19636
- const deferredVideoFrames = planVideos ? extractDeferredVideoFramesForChunk({
19637
- planDir,
19638
- planVideos,
19639
- frames: chunkFrameNumbers,
19640
- fps: chunkFps,
19641
- outputRoot: videoFramesDir,
19642
- cfg,
19643
- remoteSources,
19644
- shownBoxes
19645
- }).then((frames) => {
19646
- videoExtractMs = Date.now() - extractStarted;
19647
- return frames;
19648
- }) : Promise.resolve([]);
19668
+ })();
19669
+ let verifyStarted = 0;
19670
+ let verifyFailure;
19671
+ const deferredVideoFrames = planVideos ? boxesReady.then(() => {
19672
+ const extractStarted = Date.now();
19673
+ return extractDeferredVideoFramesForChunk({
19674
+ planDir,
19675
+ planVideos,
19676
+ frames: chunkFrameNumbers,
19677
+ fps: chunkFps,
19678
+ outputRoot: videoFramesDir,
19679
+ cfg,
19680
+ remoteSources,
19681
+ shownBoxes
19682
+ }).then((frames) => {
19683
+ videoExtractMs = Date.now() - extractStarted;
19684
+ return frames;
19685
+ });
19686
+ }) : boxesReady.then(() => []);
19649
19687
  extraction = deferredVideoFrames;
19688
+ deferredVideoFrames.catch(() => {
19689
+ });
19650
19690
  const videoFrameLookup = planVideos && planVideos.extracted.length > 0 ? deferredVideoFrames.then(
19651
19691
  (deferred) => createFrameLookupTable(
19652
19692
  planVideos.videos,
@@ -19725,6 +19765,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19725
19765
  const captureStarted = Date.now();
19726
19766
  captureMode = await runCaptureWithScreenshotFallback({
19727
19767
  forceScreenshot: forceScreenshotForChunk,
19768
+ canRetry: () => verifyFailure === void 0,
19728
19769
  // fallow-ignore-next-line complexity
19729
19770
  run: async (forceScreenshot) => {
19730
19771
  const captureCfg = cfg.forceScreenshot === forceScreenshot ? cfg : {
@@ -19754,6 +19795,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19754
19795
  }
19755
19796
  const captureSession = session;
19756
19797
  session = null;
19798
+ verifyStarted = Date.now();
19757
19799
  overlap.current = canEncodeWhileCapturing(encodeInput, chunkWorkerCount, cpus3().length) ? encodeWhileCapturing(encodeInput, framesInChunk) : null;
19758
19800
  await observeRenderStage(
19759
19801
  new RenderObservabilityRecorder({ pipelineStartMs: start, log }),
@@ -19781,7 +19823,8 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19781
19823
  frameRange: range,
19782
19824
  onFrameLanded: (frame) => overlap.current?.onFrameLanded(frame),
19783
19825
  interleaveFrames: interleavesCapture(overlap.current !== null, options),
19784
- openAttempt
19826
+ openAttempt,
19827
+ verifyFirstSession: forceScreenshot || !verifyInWorker ? void 0 : verifyFirstWorker
19785
19828
  }),
19786
19829
  { stall: frameStallRule(job) }
19787
19830
  ).catch(async (captureError) => {
@@ -19793,6 +19836,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19793
19836
  },
19794
19837
  resetForScreenshotRetry: () => {
19795
19838
  rmSync15(workDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
19839
+ boxesMeasured();
19796
19840
  mkdirSync17(framesDir, { recursive: true });
19797
19841
  capturePerfs.length = 0;
19798
19842
  captureAttempts.length = 0;
@@ -19808,6 +19852,8 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19808
19852
  );
19809
19853
  }
19810
19854
  }).catch(async (captureError) => {
19855
+ if (verifyFailure !== void 0) throw verifyFailure;
19856
+ boxesFailed(captureError);
19811
19857
  await deferredVideoFrames;
19812
19858
  throw captureError;
19813
19859
  });
@@ -9,10 +9,13 @@ import {
9
9
  connectAuthority,
10
10
  openUpstreamTunnel
11
11
  } from "./chunk-TSYRN646.js";
12
+ import {
13
+ fetchLocalPageUrl
14
+ } from "./chunk-DROFHVQD.js";
12
15
  import {
13
16
  ensureCaptureDirSync,
14
17
  writeCaptureFileSync
15
- } from "./chunk-NWGXTUYS.js";
18
+ } from "./chunk-EQBDKYXR.js";
16
19
  import {
17
20
  loadSharp
18
21
  } from "./chunk-EXAX37XR.js";
@@ -22,7 +25,7 @@ import {
22
25
  } from "./chunk-AWDFDFI3.js";
23
26
  import {
24
27
  isBlockedNetworkHost
25
- } from "./chunk-LK6KPVX2.js";
28
+ } from "./chunk-MPO25DQW.js";
26
29
  import {
27
30
  DOMParser,
28
31
  parseHTML
@@ -1077,6 +1080,8 @@ function isPrivateUrl(url) {
1077
1080
  }
1078
1081
  var MAX_FETCH_REDIRECTS = 5;
1079
1082
  async function safeFetch(url, init) {
1083
+ const local = fetchLocalPageUrl(url, init);
1084
+ if (local) return local;
1080
1085
  let current = url;
1081
1086
  for (let hop = 0; hop <= MAX_FETCH_REDIRECTS; hop++) {
1082
1087
  if (isPrivateUrl(current)) return null;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  runCancellableProcess,
9
9
  runRenderSetupWorker
10
- } from "./chunk-EHFZEKQM.js";
10
+ } from "./chunk-Q43YUROE.js";
11
11
  import {
12
12
  getFreeDiskMb
13
13
  } from "./chunk-QSFWGZG6.js";
@@ -15,10 +15,10 @@ import {
15
15
  browserPathFromEnv,
16
16
  managedChromeVersion,
17
17
  pickSharedShell
18
- } from "./chunk-4UMPIPCQ.js";
18
+ } from "./chunk-ERUQ3S6D.js";
19
19
  import {
20
20
  normalizeErrorMessage
21
- } from "./chunk-T2EUWCJE.js";
21
+ } from "./chunk-EU7MVORF.js";
22
22
 
23
23
  // src/browser/manager.ts
24
24
  import { execSync, spawnSync } from "child_process";
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-LK6KPVX2.js";
9
+ } from "./chunk-MPO25DQW.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
13
13
  processParentPid
14
- } from "./chunk-C53ZNJDZ.js";
14
+ } from "./chunk-D2CE2J2A.js";
15
15
  import {
16
16
  processIsAlive
17
17
  } from "./chunk-KGPLIH7B.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZTZA4UWZ.js";
13
13
  import {
14
14
  normalizeErrorMessage
15
- } from "./chunk-T2EUWCJE.js";
15
+ } from "./chunk-EU7MVORF.js";
16
16
 
17
17
  // src/auth/paths.ts
18
18
  import { homedir } from "os";
@@ -7,6 +7,11 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ensureDOMParser
9
9
  } from "./chunk-ZBAF6L74.js";
10
+ import {
11
+ JsonFlagReadError,
12
+ inlineJsonHint,
13
+ readJsonFlagText
14
+ } from "./chunk-XFMO3BEN.js";
10
15
  import {
11
16
  errorBox
12
17
  } from "./chunk-K2FLNJVB.js";
@@ -19,36 +24,26 @@ import {
19
24
  import {
20
25
  formatVariableValidationIssue,
21
26
  validateVariables
22
- } from "./chunk-7RWUY3BJ.js";
27
+ } from "./chunk-QWBVPWUI.js";
23
28
  import {
24
29
  extractCompositionMetadata
25
30
  } from "./chunk-NHA4NRBE.js";
26
31
 
27
32
  // src/utils/variables.ts
28
33
  import { readFileSync } from "fs";
29
- import { resolve } from "path";
30
- function parseVariablesArg(inline, filePath, readFile = (p) => readFileSync(resolve(p), "utf8")) {
34
+ function parseVariablesArg(inline, filePath, readFile, readStdin) {
31
35
  if (inline != null && filePath != null) {
32
36
  return { ok: false, error: { kind: "conflict" } };
33
37
  }
38
+ const value = inline ?? filePath;
39
+ const source = inline != null ? "inline" : "file";
34
40
  let raw;
35
- let source;
36
- if (inline != null) {
37
- raw = inline;
38
- source = "inline";
39
- } else if (filePath != null) {
41
+ if (value != null) {
40
42
  try {
41
- raw = readFile(filePath);
42
- source = "file";
43
+ raw = readJsonFlagText(value, { readFile, readStdin });
43
44
  } catch (error) {
44
- return {
45
- ok: false,
46
- error: {
47
- kind: "read-error",
48
- path: filePath,
49
- cause: error instanceof Error ? error.message : String(error)
50
- }
51
- };
45
+ if (!(error instanceof JsonFlagReadError)) throw error;
46
+ return { ok: false, error: { kind: "read-error", path: error.path, cause: error.cause } };
52
47
  }
53
48
  }
54
49
  if (raw == null) return { ok: true, value: void 0 };
@@ -60,7 +55,7 @@ function parseVariablesArg(inline, filePath, readFile = (p) => readFileSync(reso
60
55
  ok: false,
61
56
  error: {
62
57
  kind: "parse-error",
63
- source: source ?? "inline",
58
+ source,
64
59
  cause: error instanceof Error ? error.message : String(error)
65
60
  }
66
61
  };
@@ -79,13 +74,13 @@ function variablesErrorMessage(error) {
79
74
  };
80
75
  case "read-error":
81
76
  return {
82
- title: "Could not read --variables-file",
77
+ title: "Could not read the variables JSON",
83
78
  message: `${error.path}: ${error.cause}`
84
79
  };
85
80
  case "parse-error":
86
81
  return {
87
82
  title: error.source === "file" ? "Invalid JSON in --variables-file" : "Invalid JSON in --variables",
88
- message: error.cause
83
+ message: error.source === "inline" ? `${error.cause} (${inlineJsonHint("--variables")})` : error.cause
89
84
  };
90
85
  case "shape-error":
91
86
  return {