hyperframes 0.9.28-alpha.0 → 0.9.28-alpha.1

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 (194) hide show
  1. package/dist/{add-WSGJ42KQ.js → add-YDZMFKR3.js} +5 -5
  2. package/dist/{agentPromptGenerator-JTMVHRZN.js → agentPromptGenerator-AUXZZCIG.js} +2 -2
  3. package/dist/{animatedGifPrep-V3FJENRD.js → animatedGifPrep-2DYVIBA4.js} +2 -2
  4. package/dist/api.js +19 -19
  5. package/dist/{asset-6LZTBFS7.js → asset-JHM3VF72.js} +2 -2
  6. package/dist/{assetCataloger-GRGAUHXL.js → assetCataloger-2OB46SVM.js} +3 -3
  7. package/dist/{audio-QCMSKGKQ.js → audio-T6YSLT2D.js} +7 -7
  8. package/dist/{auth-TB7AUPRE.js → auth-YSTRUKED.js} +2 -2
  9. package/dist/{autoUpdate-G3G7WBJF.js → autoUpdate-VYRYBZG6.js} +2 -2
  10. package/dist/{avatars-6ILGXRFF.js → avatars-UU53IDAK.js} +6 -6
  11. package/dist/{backgroundChecks-E3VZ7KZN.js → backgroundChecks-FNACAOZD.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{beats-OBIGBNZA.js → beats-X2LCSMYD.js} +4 -4
  14. package/dist/{benchmark-64IXFBPC.js → benchmark-4OB6M2FR.js} +6 -6
  15. package/dist/{billing-3X5BWBTI.js → billing-DC6ODLSG.js} +4 -4
  16. package/dist/{browser-DZ3XIEFA.js → browser-PUJD4WCC.js} +3 -3
  17. package/dist/{bundleWithLocalizedFonts-PKQN5CMM.js → bundleWithLocalizedFonts-7HQEKW2H.js} +1 -1
  18. package/dist/{capture-NTN7O6RZ.js → capture-IGQR6HTG.js} +8 -8
  19. package/dist/{capture-V7RAUBMG.js → capture-PUB5WBLQ.js} +3 -3
  20. package/dist/{captureCompositionFrame-KMMB3FVD.js → captureCompositionFrame-JT6HGVU7.js} +5 -5
  21. package/dist/{catalog-YIGPXM7Q.js → catalog-5NC5EV6Z.js} +5 -5
  22. package/dist/{catch-up-LOGK3VIS.js → catch-up-6RJNWB5I.js} +4 -4
  23. package/dist/{check-FVXJBA5U.js → check-FXZOPV3Y.js} +20 -20
  24. package/dist/{checkAudio-FSIRCDM6.js → checkAudio-VSHZXO4J.js} +4 -4
  25. package/dist/{checkBrowser-NXRXF73I.js → checkBrowser-EOSAXIHJ.js} +14 -14
  26. package/dist/{chunk-A5CTI6RW.js → chunk-2BSPL7YE.js} +2 -2
  27. package/dist/{chunk-5RETZFNG.js → chunk-2Q3Y7CI3.js} +7 -7
  28. package/dist/{chunk-PWW2DKGL.js → chunk-36G3XDN6.js} +1 -1
  29. package/dist/{chunk-U2NESB4H.js → chunk-37RCPDCR.js} +1 -1
  30. package/dist/{chunk-7ZKUPLMN.js → chunk-3BWFZFJK.js} +9 -9
  31. package/dist/{chunk-RSZWWTQN.js → chunk-3OKVZXTH.js} +2 -2
  32. package/dist/{chunk-VNKPEYMW.js → chunk-44LVKFXU.js} +1 -1
  33. package/dist/{chunk-DPAC75N5.js → chunk-4J2J57RS.js} +1 -1
  34. package/dist/{chunk-UGX3IARM.js → chunk-4TU5M4WX.js} +18 -18
  35. package/dist/{chunk-DDCFX533.js → chunk-4UBGQTAT.js} +4 -4
  36. package/dist/{chunk-RGINHOAX.js → chunk-4XGKXBYH.js} +1 -1
  37. package/dist/{chunk-RNUIFYO6.js → chunk-5ROYFGQT.js} +1 -1
  38. package/dist/{chunk-C7ME7Y45.js → chunk-5YDJTVOQ.js} +2 -2
  39. package/dist/{chunk-CJC6U3E7.js → chunk-63PVDQ6R.js} +2 -2
  40. package/dist/{chunk-E7YPIP42.js → chunk-6RHKGQRA.js} +2 -2
  41. package/dist/{chunk-M7U6JTXF.js → chunk-6UJOLK4G.js} +2 -2
  42. package/dist/{chunk-ZEKQATYP.js → chunk-7D4PARGG.js} +2 -2
  43. package/dist/{chunk-UO6DALBR.js → chunk-7GZ4E5ID.js} +4 -4
  44. package/dist/{chunk-MBRBEXMF.js → chunk-ALCP5OEW.js} +1 -1
  45. package/dist/{chunk-NKWJNDKO.js → chunk-C6S2NYQ4.js} +2 -2
  46. package/dist/{chunk-RO74CZMK.js → chunk-CE765XG3.js} +1 -1
  47. package/dist/{chunk-KFU75UXA.js → chunk-CG65CRMP.js} +2 -2
  48. package/dist/{chunk-UVZDPGZR.js → chunk-COAB2OXQ.js} +1 -1
  49. package/dist/{chunk-XMHYE6XY.js → chunk-DFKD43CD.js} +2 -2
  50. package/dist/{chunk-VHXIMBTF.js → chunk-DGXKMYIX.js} +5 -5
  51. package/dist/{chunk-6NG6PATW.js → chunk-FF25S7ZC.js} +1 -1
  52. package/dist/{chunk-Z2N7XOOB.js → chunk-FZUIGBYD.js} +3 -3
  53. package/dist/{chunk-UDEFHX4Z.js → chunk-GNG7XNUY.js} +8 -8
  54. package/dist/{chunk-ASMDPTT3.js → chunk-GTZVTATR.js} +1 -1
  55. package/dist/{chunk-UF6C3CCP.js → chunk-GVBAVADJ.js} +1 -1
  56. package/dist/{chunk-3DVDIXOZ.js → chunk-HPR2BPFS.js} +2 -2
  57. package/dist/{chunk-RPMPHUOS.js → chunk-IADGTP5X.js} +3 -3
  58. package/dist/{chunk-5BIHQCC2.js → chunk-J5CDV66Q.js} +4 -4
  59. package/dist/{chunk-WUOMBLQL.js → chunk-JHSHEJU7.js} +2 -2
  60. package/dist/{chunk-HYXSD2UA.js → chunk-KCRVZA7B.js} +1 -1
  61. package/dist/{chunk-BFDNZ2JT.js → chunk-L666J5OJ.js} +1 -1
  62. package/dist/{chunk-HP6IDD33.js → chunk-LSSUDIEM.js} +5 -5
  63. package/dist/{chunk-GN3CCXVU.js → chunk-MPC3L6A3.js} +1 -1
  64. package/dist/{chunk-QMGFXL43.js → chunk-N5TVFPYQ.js} +1 -1
  65. package/dist/{chunk-JEVWAGQP.js → chunk-NHRLZESZ.js} +1 -1
  66. package/dist/{chunk-N6NB2WZ4.js → chunk-NVNKKVDH.js} +1 -1
  67. package/dist/{chunk-WRN3ZY5P.js → chunk-O2JZ6C3S.js} +1 -1
  68. package/dist/{chunk-BI33G4XD.js → chunk-OJ5HAKL6.js} +2 -2
  69. package/dist/{chunk-C756HYL7.js → chunk-OPGYOHU6.js} +2 -2
  70. package/dist/{chunk-EKT2P27A.js → chunk-OUOZGJJF.js} +4 -4
  71. package/dist/{chunk-FW7MDSCQ.js → chunk-PSGS27VB.js} +2 -2
  72. package/dist/{chunk-USTPTY7P.js → chunk-Q5JJDC2L.js} +1 -1
  73. package/dist/{chunk-F2FRUMWN.js → chunk-QABQKJPY.js} +111 -49
  74. package/dist/{chunk-HWQ6SNLY.js → chunk-QB2USW3R.js} +1 -1
  75. package/dist/{chunk-VVGNWH2J.js → chunk-QKAXPYTV.js} +5 -5
  76. package/dist/{chunk-3YP3OQVH.js → chunk-R6PUBUA4.js} +1 -1
  77. package/dist/{chunk-5EYQ222G.js → chunk-SCPMSSQW.js} +1 -1
  78. package/dist/{chunk-H3MJLPAC.js → chunk-STTUDVAI.js} +1 -1
  79. package/dist/{chunk-O5G2LEUB.js → chunk-SXGLW3OW.js} +1 -1
  80. package/dist/{chunk-PG26KCBX.js → chunk-TLVXCOMV.js} +2 -2
  81. package/dist/{chunk-E3EIKMUU.js → chunk-TYPFNWE6.js} +1 -1
  82. package/dist/{chunk-IEB4IKXF.js → chunk-UYVQDKGC.js} +1 -1
  83. package/dist/{chunk-YPPJJ5ZH.js → chunk-VYEPG2N6.js} +1 -1
  84. package/dist/{chunk-MFSQZ2PR.js → chunk-W3XARNFW.js} +1 -1
  85. package/dist/{chunk-KBF2DIZX.js → chunk-WCPH2JRB.js} +4 -4
  86. package/dist/{chunk-YOUHA4KP.js → chunk-WFO2PDZD.js} +2 -2
  87. package/dist/{chunk-VCNPBW4L.js → chunk-XFE4R6I4.js} +1 -1
  88. package/dist/{chunk-Q5J4OO7N.js → chunk-XHP3V4WH.js} +6 -2
  89. package/dist/{chunk-6EZ76UBP.js → chunk-XLX7TDCI.js} +9 -9
  90. package/dist/{chunk-G6CN5UWR.js → chunk-XOON4QRF.js} +1 -1
  91. package/dist/{chunk-ZQLJLORI.js → chunk-YFDCU6X5.js} +1 -1
  92. package/dist/{chunk-K2OQYSDS.js → chunk-YSIDK3VE.js} +8 -8
  93. package/dist/{chunk-5FI52L2T.js → chunk-ZMQYQHZU.js} +1 -1
  94. package/dist/{clean-6YCVFT7D.js → clean-5WXYKIWX.js} +7 -7
  95. package/dist/cli.js +64 -63
  96. package/dist/{cloud-BPWS4GJS.js → cloud-X2ZPQOFN.js} +4 -4
  97. package/dist/{compare-HELNXJLM.js → compare-URG6E3VF.js} +10 -10
  98. package/dist/{component-WEC4QGT3.js → component-BE2ZLBPY.js} +3 -3
  99. package/dist/{compositions-RSUPWPK6.js → compositions-DJPSPCYI.js} +6 -6
  100. package/dist/{curve-OK5TBGXV.js → curve-I6CGCMG5.js} +6 -6
  101. package/dist/{cuts-S5WHYQZZ.js → cuts-TRTRMTCZ.js} +7 -7
  102. package/dist/{delete-5NHJKNWL.js → delete-UMO7XCW3.js} +2 -2
  103. package/dist/{deploy-7PLBBXNB.js → deploy-T2CETGFF.js} +1 -1
  104. package/dist/{describeProject-WVLTYWPG.js → describeProject-AJ2SFRCN.js} +2 -2
  105. package/dist/{diff-W4EXKV5Q.js → diff-KCVI66ZW.js} +19 -19
  106. package/dist/{doctor-7Y75ZXTU.js → doctor-UTIGHYSY.js} +6 -6
  107. package/dist/{energy-Y4KYLWLZ.js → energy-PJUDIY2I.js} +7 -7
  108. package/dist/{events-67Q5DIRC.js → events-HI2WDYGV.js} +2 -2
  109. package/dist/{events-3LAHSBBF.js → events-P6Q6GB6K.js} +3 -3
  110. package/dist/{events-TQD3L5FS.js → events-ZMFIRGW4.js} +8 -8
  111. package/dist/{execute-GFHAD3L6.js → execute-AUPUAYPW.js} +12 -12
  112. package/dist/{extract-6KGIEC76.js → extract-4RYOD7LZ.js} +7 -7
  113. package/dist/{face-OBEAPOZR.js → face-X3DR3L7V.js} +7 -7
  114. package/dist/{feedback-QTB2UH3Q.js → feedback-WOE25OSG.js} +4 -4
  115. package/dist/{ffmpeg-4CMA6M2L.js → ffmpeg-N3LZ7XBX.js} +2 -2
  116. package/dist/{figma-4ZKDJA4R.js → figma-VPG54R3O.js} +3 -3
  117. package/dist/fontLocalizeCli.js +5 -5
  118. package/dist/{frames-OFLJT4D5.js → frames-VNQ5P43E.js} +8 -8
  119. package/dist/{generate-LHRF4A3Z.js → generate-ZCTFKNNW.js} +12 -12
  120. package/dist/{get-56RYQ7KG.js → get-K374EYQS.js} +2 -2
  121. package/dist/{gpuPolicy-35XK273G.js → gpuPolicy-SAEOR4QY.js} +2 -2
  122. package/dist/{grade-compare-GQVODT4T.js → grade-compare-UHNGFSNR.js} +11 -11
  123. package/dist/{heifImagePrep-7WN2QNQM.js → heifImagePrep-R7NDS5FP.js} +3 -3
  124. package/dist/{help-E2TKPNJJ.js → help-6DADTB2R.js} +1 -1
  125. package/dist/{history-AJ2MSBW6.js → history-2K4FPC4P.js} +6 -6
  126. package/dist/hyperframes-player.global.js +1 -1
  127. package/dist/{info-HV43ZADN.js → info-7NZB6ZUO.js} +8 -8
  128. package/dist/{init-OHVVGDSF.js → init-UVGSTDBD.js} +18 -18
  129. package/dist/{ink-IESBIGOE.js → ink-3GBOCKAV.js} +7 -7
  130. package/dist/{inspect-Y7YS3ILY.js → inspect-XWAQWM2Y.js} +12 -12
  131. package/dist/{keyframes-XSL7JGAF.js → keyframes-7C6LAP5V.js} +6 -6
  132. package/dist/{lambda-KU65SSVE.js → lambda-Y2BEBCDQ.js} +3 -3
  133. package/dist/{layout-ORX7QBGL.js → layout-Z35EOSYQ.js} +12 -12
  134. package/dist/{lint-KUGT5YHK.js → lint-QU5JDQX3.js} +6 -6
  135. package/dist/{list-EB3WYTHH.js → list-6KUDG4X7.js} +2 -2
  136. package/dist/{localPage-QLGKJQ6X.js → localPage-SM5JBV4M.js} +2 -2
  137. package/dist/{login-O5HWEYI4.js → login-XCR35XUC.js} +4 -4
  138. package/dist/{look-BPSKQDST.js → look-O452Y7XO.js} +7 -7
  139. package/dist/{manager-MNOR566P.js → manager-GCFCVNYS.js} +3 -3
  140. package/dist/{measure-USYFR5EK.js → measure-D54QYN6X.js} +11 -11
  141. package/dist/{media-treatment-5YATQA5D.js → media-treatment-LPL2SZ7W.js} +7 -7
  142. package/dist/{media-use-BA245HF5.js → media-use-VL2EL53W.js} +3 -3
  143. package/dist/{models-ST3IIAN2.js → models-YFFUQ757.js} +6 -6
  144. package/dist/{motionShot-DOIU74HO.js → motionShot-QHWXLUJM.js} +7 -7
  145. package/dist/{normalize-audio-PPSCFVKC.js → normalize-audio-72PTXCD7.js} +4 -4
  146. package/dist/{open-R2EPWLS6.js → open-BLPP4OPX.js} +4 -4
  147. package/dist/{parakeetRunner-Q2SYZVYV.js → parakeetRunner-3A66RNGS.js} +7 -7
  148. package/dist/{pipeline-NQ4BI2D7.js → pipeline-BFMEIMNZ.js} +5 -5
  149. package/dist/{plan-CN2TTIAA.js → plan-2MKSJEUW.js} +8 -8
  150. package/dist/{play-J3DJBBXW.js → play-KG2B7KMX.js} +4 -4
  151. package/dist/{preflight-DLO6LHGO.js → preflight-YNGNNHZC.js} +3 -3
  152. package/dist/{present-MIWYYTIE.js → present-WGQEDRXJ.js} +4 -4
  153. package/dist/{preview-DEGHLTT6.js → preview-JM6GYVIL.js} +8 -8
  154. package/dist/{probe-63RJNPIB.js → probe-B5H6PBIG.js} +7 -7
  155. package/dist/{producer-H7L5TBE4.js → producer-QIHOQ53I.js} +1 -1
  156. package/dist/{remove-background-KX574FQY.js → remove-background-MHKW4EBR.js} +6 -6
  157. package/dist/{render-N7PKCVEP.js → render-F35USXZA.js} +11 -11
  158. package/dist/{render-SHUBWBK4.js → render-RTPE3OBI.js} +20 -20
  159. package/dist/{reverse-D2XWX6FV.js → reverse-BEQHRYSZ.js} +1 -1
  160. package/dist/{screenshotCapture-4JLD2OQZ.js → screenshotCapture-4NDEWYCU.js} +2 -2
  161. package/dist/{service-L3K45WOD.js → service-XCT7W4PQ.js} +6 -6
  162. package/dist/{share-7G44HDSY.js → share-KRKP6VYV.js} +28 -13
  163. package/dist/{sherpa-LU5AOQHV.js → sherpa-MNU3ORFR.js} +6 -6
  164. package/dist/{skills-KVQ2G6P5.js → skills-3R6EC5PV.js} +6 -6
  165. package/dist/{skillsUpdateCheck-EB54PRMT.js → skillsUpdateCheck-TRRXLL46.js} +3 -3
  166. package/dist/{snapshot-QWO6OXG3.js → snapshot-BYNK523M.js} +18 -18
  167. package/dist/{src-WMZX5C4A.js → src-EZMBCQBY.js} +4 -4
  168. package/dist/{src-I3B7LYZM.js → src-FZ4EJHOK.js} +1 -1
  169. package/dist/{start-ACVZUBZX.js → start-FRPRXMEN.js} +10 -10
  170. package/dist/{staticProjectServer-C6KEOAYY.js → staticProjectServer-FF6IBUD6.js} +2 -2
  171. package/dist/{status-RYI42XDB.js → status-QZ7PKGAJ.js} +4 -4
  172. package/dist/studio/assets/{codec-D6qbrtZY.js → codec-DqodFzhT.js} +1 -1
  173. package/dist/studio/assets/{hyperframes-player-BVe9IO80.js → hyperframes-player-D03oERxc.js} +1 -1
  174. package/dist/studio/assets/{index-BZu8x7Q5.js → index-9kcxLnm3.js} +1 -1
  175. package/dist/studio/assets/{index-Cl9fSd9I.js → index-DuOvEv27.js} +5 -5
  176. package/dist/studio/assets/{pausedVideoDecoder-DfnHfnL7.js → pausedVideoDecoder-pYFINB0c.js} +1 -1
  177. package/dist/studio/index.html +1 -1
  178. package/dist/{studioServer-J5DYNR6R.js → studioServer-YZDNK3AO.js} +26 -26
  179. package/dist/{sync-MUKE7NSP.js → sync-6MHJVU4M.js} +7 -7
  180. package/dist/{telemetry-6MDOWNLT.js → telemetry-CLB2O4ZK.js} +3 -3
  181. package/dist/{templates-LWPXN7M2.js → templates-HFQXIAO2.js} +4 -4
  182. package/dist/{timeline-WTBC3J7O.js → timeline-ORRCS7NO.js} +7 -7
  183. package/dist/{tokens-4NPCCANL.js → tokens-OTBA5VQ3.js} +2 -2
  184. package/dist/{transcribe-RL7LGXU6.js → transcribe-EMXH7CGF.js} +5 -5
  185. package/dist/{transcribe-NZJPYTM7.js → transcribe-PJIFWND6.js} +14 -14
  186. package/dist/{update-DZCGNNOU.js → update-RT6R53XR.js} +7 -7
  187. package/dist/{updateCheck-N3C56RNJ.js → updateCheck-LSLLTUFX.js} +2 -2
  188. package/dist/{upgrade-RCV7ZF5Z.js → upgrade-SSPKJYOW.js} +3 -3
  189. package/dist/{urlDownloader-SSPDDS4Y.js → urlDownloader-FTYUJP2D.js} +1 -1
  190. package/dist/{validate-HQDRN6T3.js → validate-SN2JDYNN.js} +11 -11
  191. package/dist/{video-FPDBQAXL.js → video-Z522PCEM.js} +3 -3
  192. package/dist/{voices-PMLIXQT4.js → voices-AQWUK6GK.js} +10 -10
  193. package/dist/warmCheck.js +20 -20
  194. package/package.json +1 -1
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  resetTelemetryPostureCache,
17
17
  trackEvent
18
- } from "./chunk-PWW2DKGL.js";
18
+ } from "./chunk-36G3XDN6.js";
19
19
  import {
20
20
  AuthError,
21
21
  ErrLoginChanged,
@@ -994,7 +994,7 @@ var SAID = {
994
994
  export_too_long: "This video is over 30 minutes, the most a review page takes. Export a shorter one.",
995
995
  export_daily_limit: (error) => `You've added the most versions for today. Try again ${laterIn(error.retryAfterMs)}.`,
996
996
  content_rejected: "This video can't be shared.",
997
- export_blocked: "Adding videos to review pages isn't available for this account.",
997
+ export_blocked: "Sharing new videos is blocked because of recent content moderation strikes in this workspace. Rendering again will not lift the block. For appeal instructions, visit https://help.heygen.com/en/articles/7842567-the-ethical-use-of-synthetic-media",
998
998
  feature_unavailable: "Review pages aren't available for your account yet.",
999
999
  permission_denied: "This account can't add videos to this review page yet.",
1000
1000
  upload_expired: "The upload took too long. Try again.",
@@ -1428,9 +1428,17 @@ async function sendVersion(r, report, source, id, state) {
1428
1428
  const done = await watch(r, id, uploaded, size, report, clock);
1429
1429
  return finishRun(r, state, pending, id, done, first);
1430
1430
  } catch (error) {
1431
- if (spent(error, state.pending)) await writeState(r.projectPath, { ...state, pending: null });
1432
- console.error("[review] version failed:", error);
1433
- return said(error);
1431
+ const failure = said(error);
1432
+ await writeState(r.projectPath, {
1433
+ ...state,
1434
+ pending: spent(error, state.pending) ? null : state.pending,
1435
+ failure: {
1436
+ ...failure,
1437
+ projectId: id,
1438
+ exportKey: await failedExportKey(r.projectPath, pending)
1439
+ }
1440
+ });
1441
+ return failure;
1434
1442
  }
1435
1443
  }
1436
1444
  function pendingSourceConflict(r, pending, fresh) {
@@ -1487,7 +1495,6 @@ async function addVersion(request) {
1487
1495
  if (kept) failures.set(key, { ...failure, exportKey: exportKeyOf(r.projectPath) });
1488
1496
  return failure?.sentence ?? null;
1489
1497
  } catch (error) {
1490
- console.error("[review] version failed:", error);
1491
1498
  const sentence = error instanceof SharingStateError ? error.message : "Couldn't add this version. Try again.";
1492
1499
  failures.set(key, {
1493
1500
  sentence,
@@ -1560,9 +1567,58 @@ import { createHash as createHash2, randomUUID as randomUUID6 } from "crypto";
1560
1567
  var journal = projectLine();
1561
1568
  var inTurn = journal.inTurn;
1562
1569
 
1570
+ // ../share/src/sourceIgnore.mjs
1571
+ import { constants } from "fs";
1572
+ import { lstat as lstat2, open as open2 } from "fs/promises";
1573
+ import { join as join3 } from "path";
1574
+ async function readSourceIgnore(root) {
1575
+ const file = join3(root, ".hyperframesignore");
1576
+ const invalid = () => new Error(".hyperframesignore must be a regular file inside the project, smaller than 64 KiB.");
1577
+ const handle = await open2(
1578
+ file,
1579
+ constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0)
1580
+ ).catch(async (error) => {
1581
+ if (error.code !== "ENOENT") throw invalid();
1582
+ const named = await lstat2(file).catch((missing) => {
1583
+ if (missing.code === "ENOENT") return null;
1584
+ throw invalid();
1585
+ });
1586
+ if (named) throw invalid();
1587
+ return null;
1588
+ });
1589
+ if (!handle) return () => false;
1590
+ let text;
1591
+ try {
1592
+ const [stat2, named] = await Promise.all([handle.stat(), lstat2(file)]);
1593
+ if (!stat2.isFile() || stat2.size >= 65536 || !named.isFile() || stat2.ino !== named.ino || stat2.dev !== named.dev)
1594
+ throw invalid();
1595
+ const buffer = Buffer.alloc(65536);
1596
+ let length = 0;
1597
+ while (length < buffer.length) {
1598
+ const { bytesRead } = await handle.read(buffer, length, buffer.length - length, length);
1599
+ if (!bytesRead) break;
1600
+ length += bytesRead;
1601
+ }
1602
+ if (length === buffer.length) throw invalid();
1603
+ text = buffer.subarray(0, length).toString("utf8");
1604
+ } finally {
1605
+ await handle.close();
1606
+ }
1607
+ const paths = text.split(/\r?\n/).map((line) => line.trim()).filter((line) => line && !line.startsWith("#"));
1608
+ const entries = paths.map((entry) => {
1609
+ const path4 = entry.replace(/\/$/, "");
1610
+ if (path4 === "index.html" || /[\\*?![\]:]/.test(path4) || path4.includes("\0") || path4.split("/").some((part) => !part || part === "." || part === ".."))
1611
+ throw new Error(
1612
+ ".hyperframesignore accepts literal project-relative file or folder paths, one per line. Wildcards and excluding index.html are not supported."
1613
+ );
1614
+ return path4;
1615
+ });
1616
+ return (path4) => entries.some((entry) => path4 === entry || path4.startsWith(`${entry}/`));
1617
+ }
1618
+
1563
1619
  // ../share/src/projectSnapshot.mjs
1564
1620
  import fs2 from "fs/promises";
1565
- import { constants } from "fs";
1621
+ import { constants as constants2 } from "fs";
1566
1622
  import path3 from "path";
1567
1623
  import { createHash as createHash3 } from "crypto";
1568
1624
 
@@ -1594,7 +1650,7 @@ function contentKey(html) {
1594
1650
  async function snapshotKey(full, byContent) {
1595
1651
  const resolved = await fs2.realpath(full).catch(() => null);
1596
1652
  if (!resolved) return void 0;
1597
- const handle = await fs2.open(resolved, constants.O_RDONLY | constants.O_NOFOLLOW).catch(() => null);
1653
+ const handle = await fs2.open(resolved, constants2.O_RDONLY | constants2.O_NOFOLLOW).catch(() => null);
1598
1654
  if (!handle) return void 0;
1599
1655
  try {
1600
1656
  const stat2 = await handle.stat();
@@ -1619,6 +1675,7 @@ async function entryKind(entry, full, followSymlinks) {
1619
1675
  }
1620
1676
  async function snapshotProject(dir, { byContent = false, followSymlinks = false } = {}) {
1621
1677
  const result = /* @__PURE__ */ new Map();
1678
+ const ignored = await readSourceIgnore(dir);
1622
1679
  async function walk(current, ancestors) {
1623
1680
  const real = await fs2.realpath(current).catch(() => null);
1624
1681
  if (!real || ancestors.has(real)) return;
@@ -1631,7 +1688,7 @@ async function snapshotProject(dir, { byContent = false, followSymlinks = false
1631
1688
  }
1632
1689
  for (const entry of entries) {
1633
1690
  const full = path3.join(current, entry.name);
1634
- if (isOutsideFilm(path3.relative(dir, full))) continue;
1691
+ if (excludedFromSnapshot(dir, full, ignored)) continue;
1635
1692
  const kind = await entryKind(entry, full, followSymlinks);
1636
1693
  if (kind?.isDirectory()) await walk(full, parents);
1637
1694
  else if (kind?.isFile()) {
@@ -1648,6 +1705,10 @@ function snapshotFingerprint(snapshot) {
1648
1705
  return createHash3("sha256").update(JSON.stringify(files)).digest("hex");
1649
1706
  }
1650
1707
  var projectFingerprint2 = async (projectPath, options) => snapshotFingerprint(await snapshotProject(projectPath, { ...options, followSymlinks: true }));
1708
+ function excludedFromSnapshot(dir, full, ignored) {
1709
+ const relative = path3.relative(dir, full);
1710
+ return isOutsideFilm(relative) || ignored(relative.split(path3.sep).join("/"));
1711
+ }
1651
1712
 
1652
1713
  // ../share/src/shareSources.mjs
1653
1714
  import { realpath as realpath4 } from "fs/promises";
@@ -1656,9 +1717,9 @@ import { basename as basename2 } from "path";
1656
1717
 
1657
1718
  // ../share/src/sources/capture.mjs
1658
1719
  import { createHash as createHash5 } from "crypto";
1659
- import { constants as constants2 } from "fs";
1660
- import { lstat as lstat2, open as open2, readdir, realpath as realpath2 } from "fs/promises";
1661
- import { dirname, join as join4 } from "path";
1720
+ import { constants as constants3 } from "fs";
1721
+ import { lstat as lstat3, open as open3, readdir, realpath as realpath2 } from "fs/promises";
1722
+ import { dirname, join as join5 } from "path";
1662
1723
 
1663
1724
  // ../share/src/sources/manifest.mjs
1664
1725
  import { createHash as createHash4 } from "crypto";
@@ -2073,9 +2134,9 @@ function overLimit(files, manifestBytes2, limits = V1_LIMITS) {
2073
2134
 
2074
2135
  // ../share/src/sources/projectState.mjs
2075
2136
  import { readFile as readFile3 } from "fs/promises";
2076
- import { join as join3 } from "path";
2137
+ import { join as join4 } from "path";
2077
2138
  async function readRenderOutputs(root) {
2078
- const raw = await readFile3(join3(root, ".hyperframes", "render-outputs.json"), "utf8").catch(
2139
+ const raw = await readFile3(join4(root, ".hyperframes", "render-outputs.json"), "utf8").catch(
2079
2140
  () => null
2080
2141
  );
2081
2142
  let record = null;
@@ -2100,12 +2161,12 @@ function alive(pid) {
2100
2161
  }
2101
2162
  }
2102
2163
  async function settledState(root) {
2103
- const dir = join3(root, ".hyperframes");
2104
- const turn = await readFile3(join3(dir, "history-turn.json")).then(
2164
+ const dir = join4(root, ".hyperframes");
2165
+ const turn = await readFile3(join4(dir, "history-turn.json")).then(
2105
2166
  () => true,
2106
2167
  () => false
2107
2168
  );
2108
- const lock = await readFile3(join3(dir, "project.lock"), "utf8").catch(() => null);
2169
+ const lock = await readFile3(join4(dir, "project.lock"), "utf8").catch(() => null);
2109
2170
  let holder = null;
2110
2171
  try {
2111
2172
  holder = lock === null ? null : JSON.parse(lock);
@@ -2142,9 +2203,9 @@ async function visitFile(root, rel, walk) {
2142
2203
  if (!(error instanceof PathViolation)) throw error;
2143
2204
  return void walk.problems.push({ path: rel, problem: "invalid-name", code: error.code });
2144
2205
  }
2145
- const full = join4(root, rel);
2206
+ const full = join5(root, rel);
2146
2207
  try {
2147
- const { size, mtimeMs, ino, dev } = await lstat2(full);
2208
+ const { size, mtimeMs, ino, dev } = await lstat3(full);
2148
2209
  walk.files.push({ path: rel, full, size, mtimeMs, ino, dev });
2149
2210
  } catch {
2150
2211
  walk.problems.push({ path: rel, problem: "unreadable" });
@@ -2153,17 +2214,18 @@ async function visitFile(root, rel, walk) {
2153
2214
  var FolderMoved = class extends Error {
2154
2215
  };
2155
2216
  async function listFolder(root, dir) {
2156
- const full = join4(root, dir);
2157
- const before = await lstat2(full);
2217
+ const full = join5(root, dir);
2218
+ const before = await lstat3(full);
2158
2219
  if (!before.isDirectory()) throw new FolderMoved();
2159
2220
  const entries = await readdir(full, { withFileTypes: true });
2160
- const after = await lstat2(full);
2221
+ const after = await lstat3(full);
2161
2222
  if (!after.isDirectory() || after.ino !== before.ino || after.dev !== before.dev)
2162
2223
  throw new FolderMoved();
2163
2224
  return entries;
2164
2225
  }
2165
2226
  async function walkProject(root, renderOutput) {
2166
2227
  const walk = { files: [], problems: [], waiting: [], skippedLinks: [] };
2228
+ const ignored = await readSourceIgnore(root);
2167
2229
  const dirs = [""];
2168
2230
  for (let dir = dirs.pop(); dir !== void 0; dir = dirs.pop()) {
2169
2231
  let entries;
@@ -2176,7 +2238,7 @@ async function walkProject(root, renderOutput) {
2176
2238
  }
2177
2239
  for (const entry of entries) {
2178
2240
  const rel = dir ? `${dir}/${entry.name}` : entry.name;
2179
- if (prefiltered(entry.name) || renderOutput(rel)) continue;
2241
+ if (prefiltered(entry.name) || renderOutput(rel) || ignored(rel)) continue;
2180
2242
  await visit(root, rel, entry, walk, dirs);
2181
2243
  }
2182
2244
  }
@@ -2204,7 +2266,7 @@ function hashMemo(now = Date.now) {
2204
2266
  };
2205
2267
  }
2206
2268
  async function openListed(root, file, resolve = realpath2) {
2207
- const handle = await open2(file.full, constants2.O_RDONLY | (constants2.O_NOFOLLOW ?? 0)).catch(
2269
+ const handle = await open3(file.full, constants3.O_RDONLY | (constants3.O_NOFOLLOW ?? 0)).catch(
2208
2270
  (error) => {
2209
2271
  if (error.code === "ELOOP" || error.code === "EMLINK") return null;
2210
2272
  throw error;
@@ -2213,7 +2275,7 @@ async function openListed(root, file, resolve = realpath2) {
2213
2275
  if (!handle) return null;
2214
2276
  try {
2215
2277
  const opened = await handle.stat();
2216
- const same = opened.isFile() && opened.ino === file.ino && opened.dev === file.dev && opened.size === file.size && await resolve(dirname(file.full)) === join4(root, dirname(file.path));
2278
+ const same = opened.isFile() && opened.ino === file.ino && opened.dev === file.dev && opened.size === file.size && await resolve(dirname(file.full)) === join5(root, dirname(file.path));
2217
2279
  if (same) return handle;
2218
2280
  } catch (error) {
2219
2281
  await handle.close();
@@ -2634,9 +2696,9 @@ function sourceApi({ access, fetchImpl = fetch }) {
2634
2696
 
2635
2697
  // ../share/src/sources/store.mjs
2636
2698
  import { createHash as createHash6 } from "crypto";
2637
- import { constants as constants3 } from "fs";
2638
- import { lstat as lstat3, open as open3 } from "fs/promises";
2639
- import { join as join5 } from "path";
2699
+ import { constants as constants4 } from "fs";
2700
+ import { lstat as lstat4, open as open4 } from "fs/promises";
2701
+ import { join as join6 } from "path";
2640
2702
  var object = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
2641
2703
  function bindingOf(raw, key) {
2642
2704
  if (!object(raw) || raw.version !== 1 || raw.backend !== key.backend || raw.account !== key.account || raw.projectPath !== key.projectPath || typeof raw.compositionId !== "string" || typeof raw.ownerSpaceId !== "string")
@@ -2660,12 +2722,12 @@ function createProjectShareSourceStore() {
2660
2722
  const location = async (key) => {
2661
2723
  const dir = await mkdirInside(key.projectPath, ".hyperframes");
2662
2724
  const environment = createHash6("sha256").update(key.backend).digest("hex").slice(0, 16);
2663
- return join5(dir, `share-sync.${environment}.json`);
2725
+ return join6(dir, `share-sync.${environment}.json`);
2664
2726
  };
2665
2727
  return {
2666
2728
  read: async (key) => {
2667
2729
  const file = await location(key);
2668
- const handle = await open3(file, constants3.O_RDONLY | constants3.O_NOFOLLOW).catch((error) => {
2730
+ const handle = await open4(file, constants4.O_RDONLY | constants4.O_NOFOLLOW).catch((error) => {
2669
2731
  if (errorCode(error) === "ENOENT") return null;
2670
2732
  throw error;
2671
2733
  });
@@ -2680,7 +2742,7 @@ function createProjectShareSourceStore() {
2680
2742
  },
2681
2743
  write: async (binding) => {
2682
2744
  const file = await location(binding);
2683
- const held = await lstat3(file).catch((error) => {
2745
+ const held = await lstat4(file).catch((error) => {
2684
2746
  if (errorCode(error) === "ENOENT") return null;
2685
2747
  throw error;
2686
2748
  });
@@ -2692,8 +2754,8 @@ function createProjectShareSourceStore() {
2692
2754
 
2693
2755
  // ../share/src/sources/transfer.mjs
2694
2756
  import { createHash as createHash7 } from "crypto";
2695
- import { constants as constants4, createReadStream as createReadStream2 } from "fs";
2696
- import { open as open4, realpath as realpath3 } from "fs/promises";
2757
+ import { constants as constants5, createReadStream as createReadStream2 } from "fs";
2758
+ import { open as open5, realpath as realpath3 } from "fs/promises";
2697
2759
  import { dirname as dirname2 } from "path";
2698
2760
  import { setTimeout as sleep } from "timers/promises";
2699
2761
  var TransferError = class extends Error {
@@ -2716,7 +2778,7 @@ function refusalOf2(status) {
2716
2778
  return new TransferError("refused", { status });
2717
2779
  }
2718
2780
  async function openSource(file) {
2719
- const handle = await open4(file, constants4.O_RDONLY | constants4.O_NOFOLLOW);
2781
+ const handle = await open5(file, constants5.O_RDONLY | constants5.O_NOFOLLOW);
2720
2782
  try {
2721
2783
  const stat2 = await handle.stat();
2722
2784
  if (!stat2.isFile() || await realpath3(dirname2(file)) !== dirname2(file))
@@ -2856,10 +2918,10 @@ var backoffMs = (attempt, askedMs = null, baseMs = 1e3, maxMs = 3e4) => askedMs
2856
2918
 
2857
2919
  // ../share/src/sources/upload.mjs
2858
2920
  import { randomUUID as randomUUID7 } from "crypto";
2859
- import { join as join6 } from "path";
2921
+ import { join as join7 } from "path";
2860
2922
 
2861
2923
  // ../share/src/sources/uploadFiles.mjs
2862
- import { lstat as lstat4 } from "fs/promises";
2924
+ import { lstat as lstat5 } from "fs/promises";
2863
2925
  var PART_BYTES = 64 * 1024 * 1024;
2864
2926
  var GRANT_FILES = 100;
2865
2927
  var PARTS_PER_GRANT = 8;
@@ -3002,7 +3064,7 @@ async function partsToSend(job, blob) {
3002
3064
  }
3003
3065
  async function sendLarge(job, blob) {
3004
3066
  const file = localFile(job, blob.sha256);
3005
- const before = await lstat4(file.full);
3067
+ const before = await lstat5(file.full);
3006
3068
  const parts = await partsToSend(job, blob);
3007
3069
  job.onBytes(blob.size - parts.reduce((sum, part) => sum + part.length, 0));
3008
3070
  for (let at = 0; at < parts.length; at += PARTS_PER_GRANT) {
@@ -3023,7 +3085,7 @@ async function sendLarge(job, blob) {
3023
3085
  job.persist();
3024
3086
  });
3025
3087
  }
3026
- const after = await lstat4(file.full).catch(() => null);
3088
+ const after = await lstat5(file.full).catch(() => null);
3027
3089
  if (!after || after.size !== before.size || after.mtimeMs !== before.mtimeMs)
3028
3090
  throw new TransferError("changed", { path: file.path });
3029
3091
  (job.inflight.sent ??= []).push(blob.sha256);
@@ -3086,7 +3148,7 @@ async function sendFiles(run2, receipt) {
3086
3148
  const local2 = new Map(
3087
3149
  manifest.document.files.map((file) => [
3088
3150
  file.sha256,
3089
- { path: file.path, full: join6(binding.projectPath, file.path) }
3151
+ { path: file.path, full: join7(binding.projectPath, file.path) }
3090
3152
  ])
3091
3153
  );
3092
3154
  const known = new Map(manifest.document.files.map((file) => [file.sha256, file.size]));
@@ -3399,18 +3461,18 @@ async function stillMatches(root, rendered, digest, fingerprint) {
3399
3461
  import { randomUUID as randomUUID9 } from "crypto";
3400
3462
  import { existsSync as existsSync2, readFileSync as readFileSync2, realpathSync } from "fs";
3401
3463
  import { mkdir as mkdir2, writeFile as writeFile3, rename as rename2, rm as rm2 } from "fs/promises";
3402
- import { join as join7 } from "path";
3464
+ import { join as join8 } from "path";
3403
3465
  var shareContentFingerprint = shareSourceFingerprint;
3404
3466
  function latestShareRender(dir) {
3405
3467
  try {
3406
3468
  const value = JSON.parse(
3407
- readFileSync2(join7(dir, ".hyperframes", "share-render.json"), "utf8")
3469
+ readFileSync2(join8(dir, ".hyperframes", "share-render.json"), "utf8")
3408
3470
  );
3409
3471
  if (!value || typeof value !== "object" || !("path" in value) || !("id" in value) || !("fingerprint" in value))
3410
3472
  return null;
3411
3473
  if (typeof value.path !== "string" || typeof value.id !== "string" || typeof value.fingerprint !== "string" || !/^[a-f0-9-]{36}$/.test(value.id))
3412
3474
  return null;
3413
- const expected = join7(realpathSync(dir), ".hyperframes", "share-renders", `${value.id}.mp4`);
3475
+ const expected = join8(realpathSync(dir), ".hyperframes", "share-renders", `${value.id}.mp4`);
3414
3476
  if (value.path !== expected || !existsSync2(expected) || realpathSync(expected) !== expected)
3415
3477
  return null;
3416
3478
  const contentFingerprint = "contentFingerprint" in value && typeof value.contentFingerprint === "string" ? value.contentFingerprint : void 0;
@@ -3432,24 +3494,24 @@ async function prepareShareRender(dir) {
3432
3494
  const previous = latestShareRender(dir);
3433
3495
  if (content && previous?.fingerprint === before && previous.contentFingerprint === content)
3434
3496
  return;
3435
- const stateFolder = join7(dir, ".hyperframes");
3497
+ const stateFolder = join8(dir, ".hyperframes");
3436
3498
  if (existsSync2(stateFolder) && realpathSync(stateFolder) !== stateFolder)
3437
3499
  throw new Error("Sharing state must stay inside this project, without symlinks.");
3438
3500
  await mkdir2(stateFolder, { recursive: true });
3439
- const folder = join7(stateFolder, "share-renders");
3501
+ const folder = join8(stateFolder, "share-renders");
3440
3502
  if (existsSync2(folder) && realpathSync(folder) !== folder)
3441
3503
  throw new Error("Sharing state must stay inside this project, without symlinks.");
3442
3504
  await mkdir2(folder, { recursive: true });
3443
3505
  if (realpathSync(folder) !== folder)
3444
3506
  throw new Error("Sharing state must stay inside this project, without symlinks.");
3445
3507
  const id = randomUUID9();
3446
- const output = join7(folder, `${id}.mp4`);
3508
+ const output = join8(folder, `${id}.mp4`);
3447
3509
  const [{ createRenderPlan }, { executeRenderPlan }, render] = await Promise.all([
3448
- import("./plan-CN2TTIAA.js"),
3449
- import("./execute-GFHAD3L6.js"),
3450
- import("./render-SHUBWBK4.js")
3510
+ import("./plan-2MKSJEUW.js"),
3511
+ import("./execute-AUPUAYPW.js"),
3512
+ import("./render-RTPE3OBI.js")
3451
3513
  ]);
3452
- const target = join7(stateFolder, "share-render.json");
3514
+ const target = join8(stateFolder, "share-render.json");
3453
3515
  const temporary = `${target}.${id}.tmp`;
3454
3516
  try {
3455
3517
  const plan = createRenderPlan({ dir, output, format: "mp4", quiet: true, strict: true });
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-WMZX5C4A.js");
10
+ return await import("./src-EZMBCQBY.js");
11
11
  }
12
12
 
13
13
  export {
@@ -16,12 +16,12 @@ import {
16
16
  Semaphore,
17
17
  prepareHeifImageInputs,
18
18
  withMediaProbeSlot
19
- } from "./chunk-C756HYL7.js";
19
+ } from "./chunk-OPGYOHU6.js";
20
20
  import {
21
21
  EncoderInterruptedError,
22
22
  encoderFailureError,
23
23
  prepareAnimatedGifInputs
24
- } from "./chunk-N6NB2WZ4.js";
24
+ } from "./chunk-NVNKKVDH.js";
25
25
  import {
26
26
  openRangeEnd,
27
27
  parseEncoderOptions
@@ -186,7 +186,7 @@ import {
186
186
  videoAudioId,
187
187
  videoStartOnMediaTimeline,
188
188
  writeCapturedFrame
189
- } from "./chunk-Q5J4OO7N.js";
189
+ } from "./chunk-XHP3V4WH.js";
190
190
  import {
191
191
  assignBundledRuntimeCompositionIds,
192
192
  emitMountedModuleScripts,
@@ -17603,7 +17603,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
17603
17603
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
17604
17604
  if (probeResult.probeSession) {
17605
17605
  try {
17606
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-I3B7LYZM.js");
17606
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-FZ4EJHOK.js");
17607
17607
  await closeCaptureSession2(probeResult.probeSession);
17608
17608
  } catch (err) {
17609
17609
  log.warn("[plan] probe session close failed", {
@@ -21018,7 +21018,7 @@ function startServer(options = {}) {
21018
21018
  });
21019
21019
  async function shutdown(signal) {
21020
21020
  log.info(`Received ${signal}, shutting down`);
21021
- const { drainBrowserPool } = await import("./src-I3B7LYZM.js");
21021
+ const { drainBrowserPool } = await import("./src-FZ4EJHOK.js");
21022
21022
  await drainBrowserPool().catch(() => {
21023
21023
  });
21024
21024
  const handle = await Promise.race([
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-MFSQZ2PR.js";
14
+ } from "./chunk-W3XARNFW.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-ASMDPTT3.js";
9
+ } from "./chunk-GTZVTATR.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-Q5J4OO7N.js";
9
+ } from "./chunk-XHP3V4WH.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-RGINHOAX.js";
19
+ } from "./chunk-4XGKXBYH.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-RNUIFYO6.js";
9
+ } from "./chunk-5ROYFGQT.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-MFSQZ2PR.js";
16
+ } from "./chunk-W3XARNFW.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-PQYICV7O.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-E7YPIP42.js";
28
+ } from "./chunk-6RHKGQRA.js";
29
29
 
30
30
  // src/utils/updateCheck.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-FGFVUKPP.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-RGINHOAX.js";
12
+ } from "./chunk-4XGKXBYH.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-MFSQZ2PR.js";
13
+ } from "./chunk-W3XARNFW.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-H3MJLPAC.js";
11
+ } from "./chunk-STTUDVAI.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts,
9
9
  signatures
10
- } from "./chunk-RNUIFYO6.js";
10
+ } from "./chunk-5ROYFGQT.js";
11
11
  import {
12
12
  jsonArg,
13
13
  num,
14
14
  runMeasure
15
- } from "./chunk-CJC6U3E7.js";
15
+ } from "./chunk-63PVDQ6R.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  keepVoice,
@@ -20,7 +20,7 @@ import {
20
20
  publicVoices,
21
21
  runJob,
22
22
  senderScope
23
- } from "./chunk-YOUHA4KP.js";
23
+ } from "./chunk-WFO2PDZD.js";
24
24
  import {
25
25
  Fix,
26
26
  probeSeconds,
@@ -29,7 +29,7 @@ import {
29
29
  round,
30
30
  runFfmpeg,
31
31
  videoClip
32
- } from "./chunk-MFSQZ2PR.js";
32
+ } from "./chunk-W3XARNFW.js";
33
33
  import {
34
34
  loadSharp
35
35
  } from "./chunk-NL4RCLQF.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-O5G2LEUB.js";
10
+ } from "./chunk-SXGLW3OW.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-MFSQZ2PR.js";
13
+ } from "./chunk-W3XARNFW.js";
14
14
  import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
@@ -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-3LAHSBBF.js");
1281
+ const { trackCommandFailure } = await import("./events-P6Q6GB6K.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -6225,7 +6225,10 @@ async function finalizeDrawElementInit(session, page, logInitPhase, opts) {
6225
6225
  async function completeDeferredDrawElementInit(session) {
6226
6226
  if (!session.deInitDeferred || !session.onBeforeCapture) return;
6227
6227
  const page = session.page;
6228
- const logInitPhase = (phase) => console.error(`[initSession:${session.captureMode}] ${phase} (deferred drawElement init)`);
6228
+ const logInitPhase = (phase) => {
6229
+ if (process.env.HF_DEBUG_RENDER === "1")
6230
+ console.error(`[initSession:${session.captureMode}] ${phase} (deferred drawElement init)`);
6231
+ };
6229
6232
  await finalizeDrawElementInit(session, page, logInitPhase, {
6230
6233
  transparent: capturesAlpha(session.options),
6231
6234
  forceDE: process.env.HF_FORCE_DRAWELEMENT === "1"
@@ -7300,7 +7303,8 @@ async function initializeSession(session) {
7300
7303
  const pageNavigationTimeout = session.config?.pageNavigationTimeout ?? DEFAULT_CONFIG.pageNavigationTimeout;
7301
7304
  const initStart = Date.now();
7302
7305
  const logInitPhase = (phase) => {
7303
- console.error(`[initSession:${session.captureMode}] ${phase} (${Date.now() - initStart}ms)`);
7306
+ if (process.env.HF_DEBUG_RENDER === "1")
7307
+ console.error(`[initSession:${session.captureMode}] ${phase} (${Date.now() - initStart}ms)`);
7304
7308
  };
7305
7309
  const gotoEntryPage = async () => {
7306
7310
  appendBrowserDiagnostic(