hyperframes 0.8.136 → 0.8.137

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 (163) hide show
  1. package/dist/{add-MD4CNRQV.js → add-RUYRFHHN.js} +14 -14
  2. package/dist/{animatedGifPrep-3AKQSXPU.js → animatedGifPrep-VMLA2P45.js} +5 -5
  3. package/dist/{asset-UPNW7262.js → asset-DHOG5RFW.js} +2 -2
  4. package/dist/{assetCataloger-KBN5LNK4.js → assetCataloger-7XIMSAPT.js} +2 -2
  5. package/dist/{auth-63PKUA76.js → auth-FUBCZVUH.js} +2 -2
  6. package/dist/{autoUpdate-CLB47L2W.js → autoUpdate-LHVP2DWF.js} +2 -2
  7. package/dist/{backgroundChecks-JW7XF7JA.js → backgroundChecks-JO3KP5QE.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-VFXGGGJG.js → batchRender-PBCQ3R2Y.js} +3 -3
  10. package/dist/{beats-3CO6EGBG.js → beats-AF7C54FH.js} +11 -11
  11. package/dist/{benchmark-CYTMATA7.js → benchmark-QST66S5G.js} +11 -11
  12. package/dist/{browser-QMLZJM2K.js → browser-NBKY3N66.js} +8 -8
  13. package/dist/{bundleWithLocalizedFonts-5ATL25BF.js → bundleWithLocalizedFonts-ZYZHO7IV.js} +2 -2
  14. package/dist/{capture-UEJG6BUX.js → capture-6GM7SIH5.js} +2 -2
  15. package/dist/{capture-DYBK5LGE.js → capture-MGC5AO5D.js} +8 -8
  16. package/dist/{catalog-G773J4K4.js → catalog-IT2TP2YE.js} +15 -15
  17. package/dist/{check-NCXITJWK.js → check-HNTSVBUV.js} +30 -30
  18. package/dist/{checkBrowser-IJQ2WCOB.js → checkBrowser-XH446M7L.js} +29 -29
  19. package/dist/{chunk-CYG3HXBE.js → chunk-2DQ356HE.js} +1 -1
  20. package/dist/{chunk-2EAXUCCE.js → chunk-2NCHQUPX.js} +1 -1
  21. package/dist/{chunk-Z3EFUXL5.js → chunk-4HWOEWMH.js} +3 -3
  22. package/dist/{chunk-P3UNVJXX.js → chunk-4LBBWEEH.js} +4 -4
  23. package/dist/{chunk-YDBQRLRI.js → chunk-5ORPW6RH.js} +3 -3
  24. package/dist/{chunk-XE6S5CE6.js → chunk-6IEDWKFR.js} +1 -1
  25. package/dist/{chunk-FTR6KLIG.js → chunk-6XCIGLRQ.js} +9 -9
  26. package/dist/{chunk-WTMA6JQD.js → chunk-7LAWNKVY.js} +1 -1
  27. package/dist/{chunk-H4UIYRZZ.js → chunk-7MF7FTFV.js} +1 -1
  28. package/dist/{chunk-BWJ27MQP.js → chunk-ADXD2HP4.js} +1 -1
  29. package/dist/{chunk-ECAXTQGU.js → chunk-BVOGEPHM.js} +2 -2
  30. package/dist/{chunk-3E3WVNVP.js → chunk-DKYXU4F4.js} +2 -2
  31. package/dist/{chunk-XLO327OK.js → chunk-DRYF6HV2.js} +9 -9
  32. package/dist/{chunk-T5LPCY6I.js → chunk-E2C5SLHT.js} +27 -41
  33. package/dist/{chunk-KZJPREW7.js → chunk-E6WZHX7J.js} +1 -1
  34. package/dist/{chunk-SXE656MT.js → chunk-FAID56IK.js} +1 -1
  35. package/dist/{chunk-BQIFI4GV.js → chunk-GR7YLWXS.js} +1 -1
  36. package/dist/{chunk-2BJCQN7K.js → chunk-GYVUR4XC.js} +1 -1
  37. package/dist/{chunk-PGFP4FLW.js → chunk-HUV6BP7O.js} +1 -1
  38. package/dist/{chunk-RVG35AL2.js → chunk-J4AOOISS.js} +1 -1
  39. package/dist/{chunk-5K573LFX.js → chunk-J6BHZVM3.js} +1 -1
  40. package/dist/{chunk-V32SGDX7.js → chunk-JVJQL42J.js} +6 -6
  41. package/dist/{chunk-XZABUQTX.js → chunk-JYYOAKHS.js} +1 -1
  42. package/dist/{chunk-GK5W3SIJ.js → chunk-LSLJIVWV.js} +2 -2
  43. package/dist/{chunk-527WRFUQ.js → chunk-MBSFY6Y5.js} +1 -1
  44. package/dist/{chunk-37EDNWLQ.js → chunk-MOBLZWAK.js} +1 -1
  45. package/dist/{chunk-ZBNFAZQB.js → chunk-N4Y4KZFV.js} +7 -7
  46. package/dist/{chunk-RTURM45Q.js → chunk-NSLSFVFN.js} +1 -1
  47. package/dist/{chunk-4AXZWUQ6.js → chunk-OEJQAXS3.js} +1 -1
  48. package/dist/{chunk-JBI43NRR.js → chunk-OUKLD6D2.js} +2 -2
  49. package/dist/{chunk-SRXQEQWZ.js → chunk-P7GAS5DG.js} +1 -1
  50. package/dist/{chunk-OAF4XJOW.js → chunk-PXSM4HPB.js} +7 -2
  51. package/dist/{chunk-LO7L5PJ3.js → chunk-R2MFCLGW.js} +5 -5
  52. package/dist/{chunk-32QEFPDS.js → chunk-RQLZL5KC.js} +1 -1
  53. package/dist/{chunk-IQ3OUQ5Z.js → chunk-S3S2LSZX.js} +22 -2
  54. package/dist/{chunk-BHOKLX4F.js → chunk-SCCJUPPX.js} +1 -1
  55. package/dist/{chunk-VNC6YQOC.js → chunk-SMGQFCBC.js} +1 -1
  56. package/dist/{chunk-N3KRRPL7.js → chunk-TTBOUHWT.js} +2 -2
  57. package/dist/{chunk-EXNGSOQG.js → chunk-VU7RRQNA.js} +9 -9
  58. package/dist/{chunk-BSU7EOWJ.js → chunk-VYGC4AJL.js} +1 -1
  59. package/dist/{chunk-X5HWXQPU.js → chunk-WCJGTLPF.js} +22 -10
  60. package/dist/{chunk-V26IB6L2.js → chunk-WFNNUWFN.js} +2 -2
  61. package/dist/{chunk-M5WGAAML.js → chunk-WTGGSKAJ.js} +3 -3
  62. package/dist/{chunk-WFZEW4AC.js → chunk-WYX6L7AV.js} +2 -2
  63. package/dist/{chunk-CG6OUDMX.js → chunk-X2GKNLHE.js} +3 -3
  64. package/dist/{chunk-5ALWCRBU.js → chunk-YDCEBBEL.js} +7 -7
  65. package/dist/{chunk-V2J2ZWPR.js → chunk-ZBAC7334.js} +2 -2
  66. package/dist/{chunk-OSSVNAI5.js → chunk-ZBKSKJ37.js} +1 -1
  67. package/dist/{clean-UCLCH4YA.js → clean-OWDWVJBN.js} +14 -14
  68. package/dist/cli.js +52 -52
  69. package/dist/{cloud-LVP33D4N.js → cloud-S3MPN5VF.js} +4 -4
  70. package/dist/{cloudrun-FA4XHPZS.js → cloudrun-TLB7DEIN.js} +3 -3
  71. package/dist/{compare-TOTN2CVX.js → compare-YRR6E22F.js} +24 -24
  72. package/dist/{compiler-XZ654ZH2.js → compiler-ENHZ73DN.js} +2 -2
  73. package/dist/{component-B5QZZJJA.js → component-EIJRLMDN.js} +3 -3
  74. package/dist/{compositions-REMCVXXP.js → compositions-5CBYWP55.js} +10 -10
  75. package/dist/{delete-H2P6PYT5.js → delete-3U5L6XFA.js} +2 -2
  76. package/dist/{dist-HVJAGLHF.js → dist-7Y5HTID7.js} +2 -2
  77. package/dist/{doctor-HCGHEJDN.js → doctor-IZQZRMWC.js} +9 -9
  78. package/dist/{events-2LS5WRYL.js → events-6BYBCUBA.js} +8 -8
  79. package/dist/{events-V5QLQAN4.js → events-BYDKYSIJ.js} +7 -7
  80. package/dist/{feedback-WBOC7SAW.js → feedback-I4YN55BC.js} +9 -9
  81. package/dist/{figma-HRUWQ5FO.js → figma-A3FAM3JT.js} +3 -3
  82. package/dist/fontLocalizeCli.js +7 -7
  83. package/dist/{get-FS5GMKBK.js → get-PIFWLOAB.js} +2 -2
  84. package/dist/{gpuPolicy-ON3RMSWD.js → gpuPolicy-26BEFD3H.js} +5 -5
  85. package/dist/{grade-compare-G7Z5DWKW.js → grade-compare-H2OKE5QQ.js} +24 -24
  86. package/dist/{help-27P7K7JZ.js → help-AXK7X72W.js} +1 -1
  87. package/dist/{history-5E46VSDM.js → history-KUS6IXSL.js} +14 -14
  88. package/dist/hyperframes-player.global.js +1 -1
  89. package/dist/{info-2ZYYJL3I.js → info-DRASLTTJ.js} +10 -10
  90. package/dist/{init-ZI75FWLJ.js → init-3BZKVTW5.js} +26 -26
  91. package/dist/{inspect-YLQN7QL6.js → inspect-ROKMT5V7.js} +25 -25
  92. package/dist/{installer-DDJVY4TO.js → installer-ERYE2UVI.js} +4 -4
  93. package/dist/{keyframes-JONXVQWD.js → keyframes-PXGT4QQ5.js} +11 -11
  94. package/dist/{lambda-LPLYOEYY.js → lambda-EQAPNZDT.js} +4 -4
  95. package/dist/{layout-ZP4WDRSA.js → layout-PMFNU7NB.js} +25 -25
  96. package/dist/{lint-XGMUBMLE.js → lint-G26WF3YE.js} +11 -11
  97. package/dist/{list-NBXJMDON.js → list-WIPSPI6M.js} +2 -2
  98. package/dist/{login-XIH4H4RH.js → login-3CPZGZKC.js} +4 -4
  99. package/dist/{manager-GFN75DM4.js → manager-524RPYO7.js} +2 -2
  100. package/dist/{manager-67P2XFXQ.js → manager-DXB7JDHU.js} +2 -2
  101. package/dist/{media-treatment-QYKJDWHD.js → media-treatment-MGAQ5DQJ.js} +11 -11
  102. package/dist/{models-54NL5PRB.js → models-QHS7P3NJ.js} +7 -7
  103. package/dist/{motionShot-Y4D7LHU4.js → motionShot-OLA4DIP7.js} +11 -11
  104. package/dist/{normalize-audio-6RR6UGAJ.js → normalize-audio-PAPIKX2Y.js} +10 -10
  105. package/dist/{open-TYFT2DQC.js → open-D5INI7M6.js} +9 -9
  106. package/dist/{pipeline-P7QRGI5H.js → pipeline-IWP6BVSS.js} +7 -7
  107. package/dist/{play-IZXA4GO3.js → play-O2WTUH6O.js} +19 -19
  108. package/dist/{preflight-X3XFRJPQ.js → preflight-EUCDEHR5.js} +6 -6
  109. package/dist/{present-JS2KNZLT.js → present-YDJZIRYD.js} +15 -15
  110. package/dist/{preview-M6PED6DU.js → preview-AS6S5EKV.js} +16 -16
  111. package/dist/{producer-KQNJKM7F.js → producer-S77FHAAG.js} +1 -1
  112. package/dist/{projectConfig-EAAQYRMP.js → projectConfig-6XCGW6KX.js} +6 -6
  113. package/dist/{publication-H3G346EX.js → publication-E46VH7XO.js} +2 -2
  114. package/dist/{publish-NEGKIS35.js → publish-GQXWU7NF.js} +7 -7
  115. package/dist/{remove-background-HU4S4HH5.js → remove-background-JPPYOSD2.js} +9 -9
  116. package/dist/{render-IZHBGVPP.js → render-HQJEYV6Q.js} +20 -20
  117. package/dist/{render-24OQFSYB.js → render-IPOSWART.js} +11 -11
  118. package/dist/{render-F3CNO2IE.js → render-XC3O77AK.js} +3 -3
  119. package/dist/{render-batch-63CBIJYR.js → render-batch-FX5TZDGW.js} +3 -3
  120. package/dist/{renderCancellation-FT3JJ7GB.js → renderCancellation-66SZW2VF.js} +5 -5
  121. package/dist/{resolver-YJJKOGQF.js → resolver-JU3VRG4K.js} +4 -4
  122. package/dist/{sherpa-3BQDMJPJ.js → sherpa-I5YSMJNV.js} +24 -10
  123. package/dist/sherpaWorker.js +1 -1
  124. package/dist/{skills-T2O7PD6Q.js → skills-SLCG4D3C.js} +10 -10
  125. package/dist/{skillsUpdateCheck-VYEGOAEI.js → skillsUpdateCheck-KJBSMNG3.js} +3 -3
  126. package/dist/{snapshot-NLTL7ZOM.js → snapshot-WOPONARS.js} +25 -25
  127. package/dist/{src-CUR36DBE.js → src-A7PS67DT.js} +4 -4
  128. package/dist/{src-ZPAJ44CP.js → src-EDXJKFXO.js} +6 -6
  129. package/dist/{staticProjectServer-WN4BSLI3.js → staticProjectServer-XUCQPVTF.js} +13 -13
  130. package/dist/{status-6CGT2PJT.js → status-Z23IJMWJ.js} +5 -5
  131. package/dist/studio/assets/{hyperframes-player-ukvUFqdg.js → hyperframes-player-D_Mh6hbx.js} +1 -1
  132. package/dist/studio/assets/{index-C-pD9_xY.js → index-B3lJsA-e.js} +108 -108
  133. package/dist/studio/assets/{index-syMK0_9C.css → index-CC_E-Cbl.css} +1 -1
  134. package/dist/studio/assets/{index-CRRgIxsS.js → index-CHEctGzc.js} +1 -1
  135. package/dist/studio/assets/{index-BY_myArg.js → index-rtccfg9b.js} +1 -1
  136. package/dist/studio/{chunk-QRLKWENQ.js → chunk-4S3AYCOG.js} +2 -2
  137. package/dist/studio/{chunk-NM7BXNZ7.js → chunk-LOVBLSMR.js} +10 -4
  138. package/dist/studio/chunk-LOVBLSMR.js.map +1 -0
  139. package/dist/studio/index.html +2 -2
  140. package/dist/studio/index.js +2831 -2822
  141. package/dist/studio/index.js.map +1 -1
  142. package/dist/studio/player.js +2 -2
  143. package/dist/studio/styles.css +1 -1
  144. package/dist/studio/ui.d.ts +2 -1
  145. package/dist/studio/ui.js +1 -1
  146. package/dist/{studio-api-KTRRONOC.js → studio-api-SAZ65ULH.js} +9 -7
  147. package/dist/{studioServer-O6P3TBDJ.js → studioServer-525NV45Z.js} +37 -37
  148. package/dist/{synthesize-K62TIZWI.js → synthesize-4RPDY46T.js} +2 -2
  149. package/dist/{system-3BTZGJNK.js → system-SXBUUXBG.js} +5 -5
  150. package/dist/{telemetry-G4QOG4OF.js → telemetry-MUWYEQ42.js} +8 -8
  151. package/dist/{timeline-JS5QNPLA.js → timeline-BUCFPNP6.js} +14 -14
  152. package/dist/{tokens-JKLDRW7A.js → tokens-OOJBPXYD.js} +2 -2
  153. package/dist/{transcribe-CP6ZCDVR.js → transcribe-GCVTFFIF.js} +79 -23
  154. package/dist/{transcribe-HC35FL6W.js → transcribe-JAADNKL7.js} +8 -8
  155. package/dist/{tts-P3LIPIL5.js → tts-XGVL5UHX.js} +3 -3
  156. package/dist/{updateCheck-L2UJCCL4.js → updateCheck-AVUIJNVC.js} +2 -2
  157. package/dist/{upgrade-NW7YFVUM.js → upgrade-DV6IVILG.js} +2 -2
  158. package/dist/{urlDownloader-A5TT3AFE.js → urlDownloader-N7LDOVHK.js} +4 -4
  159. package/dist/{validate-D3ZH3JQ7.js → validate-22IQFLYH.js} +15 -15
  160. package/dist/{video-USXMJDEZ.js → video-22M7YBQT.js} +5 -5
  161. package/package.json +1 -1
  162. package/dist/studio/chunk-NM7BXNZ7.js.map +0 -1
  163. /package/dist/studio/{chunk-QRLKWENQ.js.map → chunk-4S3AYCOG.js.map} +0 -0
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-BWJ27MQP.js";
19
+ } from "./chunk-ADXD2HP4.js";
20
20
  import {
21
21
  c
22
22
  } from "./chunk-ZTZA4UWZ.js";
@@ -25,24 +25,24 @@ import {
25
25
  getFreeDiskMb,
26
26
  getShmSizeMb,
27
27
  getSystemMeta
28
- } from "./chunk-4AXZWUQ6.js";
28
+ } from "./chunk-OEJQAXS3.js";
29
29
  import {
30
30
  defineCommand
31
31
  } from "./chunk-S3S4TGEH.js";
32
32
  import {
33
33
  resolveExtractCacheDir
34
- } from "./chunk-N3KRRPL7.js";
34
+ } from "./chunk-TTBOUHWT.js";
35
35
  import {
36
36
  getUpdateMeta,
37
37
  withMeta
38
- } from "./chunk-CYG3HXBE.js";
38
+ } from "./chunk-2DQ356HE.js";
39
39
  import {
40
40
  CONFIG_PATH,
41
41
  withFileLock
42
42
  } from "./chunk-XUXGIA7H.js";
43
43
  import {
44
44
  VERSION
45
- } from "./chunk-WFZEW4AC.js";
45
+ } from "./chunk-WYX6L7AV.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-KNU5COPB.js";
@@ -232,7 +232,7 @@ function checkEnvironment() {
232
232
  return { ok: true, detail: parts.join(" \xB7 ") };
233
233
  }
234
234
  async function checkWhisper() {
235
- const { findWhisper, getInstallInstructions } = await import("./manager-67P2XFXQ.js");
235
+ const { findWhisper, getInstallInstructions } = await import("./manager-DXB7JDHU.js");
236
236
  const result = findWhisper();
237
237
  if (result) {
238
238
  return { ok: true, detail: result.executablePath };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadFile
9
- } from "./chunk-X5HWXQPU.js";
9
+ } from "./chunk-WCJGTLPF.js";
10
10
 
11
11
  // src/tts/manager.ts
12
12
  import { existsSync, mkdirSync } from "fs";
@@ -8,7 +8,7 @@ import {
8
8
  isAllowedHtmlAttribute,
9
9
  isSafeAttributeValue,
10
10
  sanitizeRichTextChildren
11
- } from "./chunk-BHOKLX4F.js";
11
+ } from "./chunk-SCCJUPPX.js";
12
12
  import {
13
13
  removeElementWithGsapCascade
14
14
  } from "./chunk-OZUQF4NB.js";
@@ -17,7 +17,7 @@ import {
17
17
  ensureHfIds,
18
18
  mintHfId,
19
19
  walkCompositionDescendants
20
- } from "./chunk-PGFP4FLW.js";
20
+ } from "./chunk-HUV6BP7O.js";
21
21
  import {
22
22
  require_dist
23
23
  } from "./chunk-VDQCNWQI.js";
@@ -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-ZPAJ44CP.js");
10
+ return await import("./src-EDXJKFXO.js");
11
11
  }
12
12
 
13
13
  export {
@@ -8,7 +8,7 @@ import {
8
8
  MAX_AUDIO_GAIN_DB,
9
9
  formatAudioGain,
10
10
  isAudibleVideoElement
11
- } from "./chunk-SRXQEQWZ.js";
11
+ } from "./chunk-P7GAS5DG.js";
12
12
  import {
13
13
  findFfBinary
14
14
  } from "./chunk-PJ3HDUCY.js";
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-BQIFI4GV.js";
10
+ } from "./chunk-GR7YLWXS.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-VNC6YQOC.js";
17
+ } from "./chunk-SMGQFCBC.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-32QEFPDS.js";
21
+ } from "./chunk-RQLZL5KC.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-V2J2ZWPR.js";
26
+ } from "./chunk-ZBAC7334.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-RTURM45Q.js";
29
+ } from "./chunk-NSLSFVFN.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-M5WGAAML.js";
32
+ } from "./chunk-WTGGSKAJ.js";
33
33
  import {
34
34
  c
35
35
  } from "./chunk-ZTZA4UWZ.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-PBN6GBJE.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-BHOKLX4F.js";
44
+ } from "./chunk-SCCJUPPX.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-BHOKLX4F.js";
30
+ } from "./chunk-SCCJUPPX.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-AMKC3AXA.js";
10
10
  import {
11
11
  getSystemTotalMb
12
- } from "./chunk-N3KRRPL7.js";
12
+ } from "./chunk-TTBOUHWT.js";
13
13
 
14
14
  // src/telemetry/system.ts
15
15
  import { cpus, freemem, platform as platform2, release as release2 } from "os";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-M5WGAAML.js";
10
+ } from "./chunk-WTGGSKAJ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-CG6OUDMX.js";
13
+ } from "./chunk-X2GKNLHE.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -1782,7 +1782,7 @@ function parseHTMLContent(html) {
1782
1782
  return parseHTML(`<!DOCTYPE html><html><head></head><body>${html}</body></html>`).document;
1783
1783
  }
1784
1784
  function lowerAscii(text) {
1785
- return text.replace(/[A-Z]+/g, (letters) => letters.toLowerCase());
1785
+ return text.replace(/[A-Z][\s\S]{0,65535}/g, (chunk) => chunk.replace(/[A-Z]+/g, (letters) => letters.toLowerCase()));
1786
1786
  }
1787
1787
  function stripEmbeddedRuntimeScripts(html) {
1788
1788
  if (!html)
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadFile
9
- } from "./chunk-X5HWXQPU.js";
9
+ } from "./chunk-WCJGTLPF.js";
10
10
  import {
11
11
  findFFmpeg
12
12
  } from "./chunk-TVCRUG2S.js";
@@ -144,6 +144,11 @@ function hasCmake() {
144
144
  async function ensureWhisper(options) {
145
145
  const existing = findWhisper();
146
146
  if (existing) return existing;
147
+ if (options?.installRuntime === false) {
148
+ throw new WhisperUnavailableError(
149
+ "whisper-cpp not found; runtime installation is disabled by --no-runtime-install."
150
+ );
151
+ }
147
152
  if (platform() === "darwin" && hasBrew()) {
148
153
  options?.onProgress?.("Installing whisper-cpp via Homebrew...");
149
154
  try {
@@ -169,7 +174,7 @@ async function ensureModel(model = DEFAULT_MODEL, options) {
169
174
  if (existsSync(modelPath)) return modelPath;
170
175
  mkdirSync(MODELS_DIR, { recursive: true });
171
176
  options?.onProgress?.(`Downloading model ${model}...`);
172
- await downloadFile(getModelUrl(model), modelPath);
177
+ await downloadFile(getModelUrl(model), modelPath, { onProgress: options?.onDownloadProgress });
173
178
  if (!existsSync(modelPath)) {
174
179
  throw new Error(`Model download failed: ${model}`);
175
180
  }
@@ -10,21 +10,21 @@ import {
10
10
  import {
11
11
  launchManagedBrowser,
12
12
  resolveManagedGpuMode
13
- } from "./chunk-XE6S5CE6.js";
13
+ } from "./chunk-6IEDWKFR.js";
14
14
  import {
15
15
  resolveDiagnosticNavigationTimeoutMs,
16
16
  windowsChromeCrashRemediation
17
- } from "./chunk-BSU7EOWJ.js";
17
+ } from "./chunk-VYGC4AJL.js";
18
18
  import {
19
19
  resolveLocalBrowserGpuMode
20
- } from "./chunk-OSSVNAI5.js";
20
+ } from "./chunk-ZBKSKJ37.js";
21
21
  import {
22
22
  c
23
23
  } from "./chunk-ZTZA4UWZ.js";
24
24
  import {
25
25
  assertWebGpuAdapterAvailable,
26
26
  compositionRequiresWebGpu
27
- } from "./chunk-N3KRRPL7.js";
27
+ } from "./chunk-TTBOUHWT.js";
28
28
  import {
29
29
  normalizeErrorMessage
30
30
  } from "./chunk-KNU5COPB.js";
@@ -103,7 +103,7 @@ async function openSettledCompositionPage(html, url, options) {
103
103
  const { ensureBrowser, findSystemBrowser } = await import("./manager-CT3D67CG.js");
104
104
  const browser = await ensureBrowser();
105
105
  const puppeteer = await import("puppeteer-core");
106
- const { buildChromeArgs } = await import("./src-CUR36DBE.js");
106
+ const { buildChromeArgs } = await import("./src-A7PS67DT.js");
107
107
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
108
108
  const requiresWebGpu = compositionRequiresWebGpu(html);
109
109
  const launch = async (executablePath) => {
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemManifest,
10
10
  fetchRegistryManifest
11
- } from "./chunk-RTURM45Q.js";
11
+ } from "./chunk-NSLSFVFN.js";
12
12
 
13
13
  // src/registry/resolver.ts
14
14
  function defaultWarn(message) {
@@ -178,13 +178,26 @@ function transcribeWithParakeet(inputPath, dir, options) {
178
178
  try {
179
179
  const argv = [inputPath, "--model", model, "--output-format", "json", "--output-dir", workDir];
180
180
  if (options?.language) argv.push("--language", options.language);
181
+ options?.onEvent?.({
182
+ type: "progress",
183
+ phase: "transcription",
184
+ model: PARAKEET_MODEL_LABEL,
185
+ status: "started"
186
+ });
181
187
  execFileSync(runner, argv, { stdio: ["ignore", "pipe", "pipe"], timeout: 18e5 });
182
188
  const produced = join(workDir, `${basename(inputPath, extname(inputPath))}.json`);
183
189
  if (!existsSync(produced)) throw new Error("Parakeet did not produce output.");
184
- return writeParakeetTranscript(
190
+ const result = writeParakeetTranscript(
185
191
  dir,
186
192
  mergeTokensToWords(JSON.parse(readFileSync(produced, "utf-8")))
187
193
  );
194
+ options?.onEvent?.({
195
+ type: "progress",
196
+ phase: "transcription",
197
+ model: result.model,
198
+ status: "completed"
199
+ });
200
+ return result;
188
201
  } finally {
189
202
  rmSync(workDir, { recursive: true, force: true });
190
203
  }
@@ -194,7 +207,14 @@ function writeParakeetTranscript(dir, words) {
194
207
  const transcriptPath = join(dir, "transcript.json");
195
208
  writeFileSync(transcriptPath, JSON.stringify(words, null, 2));
196
209
  const durationSeconds = words.length > 0 ? words[words.length - 1].end : 0;
197
- return { transcriptPath, wordCount: words.length, durationSeconds, speechOnsetSeconds: null };
210
+ return {
211
+ model: PARAKEET_MODEL_LABEL,
212
+ detectedLanguage: null,
213
+ transcriptPath,
214
+ wordCount: words.length,
215
+ durationSeconds,
216
+ speechOnsetSeconds: null
217
+ };
198
218
  }
199
219
 
200
220
  export {
@@ -17,7 +17,7 @@ import {
17
17
  parseStrictFiniteTimingNumber,
18
18
  resolveNaturalMediaTimelineDuration,
19
19
  resolveTimedImageDurationSeconds
20
- } from "./chunk-SRXQEQWZ.js";
20
+ } from "./chunk-P7GAS5DG.js";
21
21
  import {
22
22
  COMPOSITION_ATTRIBUTES,
23
23
  parseStartExpression
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-RTURM45Q.js";
15
+ } from "./chunk-NSLSFVFN.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -22,7 +22,7 @@ import {
22
22
  renderFrameIdForRenderId,
23
23
  resolveAuthoredTimingWindow,
24
24
  toFps
25
- } from "./chunk-BHOKLX4F.js";
25
+ } from "./chunk-SCCJUPPX.js";
26
26
  import {
27
27
  AUDIO_GROUP_RENDER_ID_ATTR,
28
28
  COLOR_GRADING_SOURCE_HIDDEN_ATTR,
@@ -53,7 +53,7 @@ import {
53
53
  shiftRateLane,
54
54
  sourceTimeAt,
55
55
  timeAtSourceTime
56
- } from "./chunk-SRXQEQWZ.js";
56
+ } from "./chunk-P7GAS5DG.js";
57
57
  import {
58
58
  chromeMajorCeiling,
59
59
  exceedsChromeCeiling
@@ -9,17 +9,17 @@ import {
9
9
  resolveCliChromeGpuMode,
10
10
  seekCompositionTimeline,
11
11
  waitForRuntimeReady
12
- } from "./chunk-LO7L5PJ3.js";
12
+ } from "./chunk-R2MFCLGW.js";
13
13
  import {
14
14
  resolveCompositionViewportFromHtml
15
15
  } from "./chunk-5Z63TBTX.js";
16
16
  import {
17
17
  launchManagedBrowser,
18
18
  resolveManagedGpuMode
19
- } from "./chunk-XE6S5CE6.js";
19
+ } from "./chunk-6IEDWKFR.js";
20
20
  import {
21
21
  resolveProject
22
- } from "./chunk-5K573LFX.js";
22
+ } from "./chunk-J6BHZVM3.js";
23
23
  import {
24
24
  c
25
25
  } from "./chunk-ZTZA4UWZ.js";
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  printDeprecationNotice,
35
35
  withMeta
36
- } from "./chunk-CYG3HXBE.js";
36
+ } from "./chunk-2DQ356HE.js";
37
37
  import {
38
38
  normalizeErrorMessage
39
39
  } from "./chunk-KNU5COPB.js";
@@ -222,7 +222,7 @@ function extractCompositionErrorsFromLint(lintResult) {
222
222
  async function localizeRemoteAssets(html) {
223
223
  let dir;
224
224
  try {
225
- const { loadProducer } = await import("./producer-KQNJKM7F.js");
225
+ const { loadProducer } = await import("./producer-S77FHAAG.js");
226
226
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
227
227
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
228
228
  const assetDir = dir;
@@ -243,9 +243,9 @@ async function localizeRemoteAssets(html) {
243
243
  }
244
244
  async function validateInBrowser(project, opts) {
245
245
  const projectDir = project.dir;
246
- const { bundleToSingleHtml } = await import("./compiler-XZ654ZH2.js");
246
+ const { bundleToSingleHtml } = await import("./compiler-ENHZ73DN.js");
247
247
  const { ensureBrowser } = await import("./manager-CT3D67CG.js");
248
- const { serveStaticProjectHtml } = await import("./staticProjectServer-WN4BSLI3.js");
248
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-XUCQPVTF.js");
249
249
  const { lintProject } = await import("./lintProject-EPVG2EFE.js");
250
250
  const lintResult = await lintProject(projectDir);
251
251
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
@@ -267,9 +267,9 @@ async function validateInBrowser(project, opts) {
267
267
  try {
268
268
  const browser = await ensureBrowser();
269
269
  const puppeteer = await import("puppeteer-core");
270
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-CUR36DBE.js");
270
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-A7PS67DT.js");
271
271
  const requestedGpuMode = resolveCliChromeGpuMode();
272
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-ON3RMSWD.js");
272
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-26BEFD3H.js");
273
273
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
274
274
  const requiresWebGpu = compositionRequiresWebGpu(html);
275
275
  const chromeBrowser = await launchManagedBrowser(puppeteer.default, {
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PBN6GBJE.js";
16
16
  import {
17
17
  parseFps
18
- } from "./chunk-BHOKLX4F.js";
18
+ } from "./chunk-SCCJUPPX.js";
19
19
 
20
20
  // src/browser/windowsCrash.ts
21
21
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -23,22 +23,32 @@ function removePartialFile(path) {
23
23
  } catch {
24
24
  }
25
25
  }
26
- function enforceByteLimit(maxBytes) {
27
- let received = 0;
28
- return new Transform({
26
+ function measureDownload(options, contentLength) {
27
+ const length = Number(contentLength);
28
+ const totalBytes = Number.isSafeInteger(length) && length >= 0 ? length : null;
29
+ let receivedBytes = 0;
30
+ let reportedAt = Date.now();
31
+ options.onProgress?.(0, totalBytes);
32
+ const stream = new Transform({
29
33
  transform(chunk, _encoding, callback) {
30
- received += chunk.byteLength;
31
- callback(
32
- received > maxBytes ? new Error(`Download exceeded ${maxBytes} bytes`) : null,
33
- chunk
34
- );
34
+ receivedBytes += chunk.byteLength;
35
+ if (options.maxBytes !== void 0 && receivedBytes > options.maxBytes) {
36
+ callback(new Error(`Download exceeded ${options.maxBytes} bytes`));
37
+ return;
38
+ }
39
+ const now = Date.now();
40
+ if (now - reportedAt >= 100) {
41
+ options.onProgress?.(receivedBytes, totalBytes);
42
+ reportedAt = now;
43
+ }
44
+ callback(null, chunk);
35
45
  }
36
46
  });
47
+ return { stream, complete: () => options.onProgress?.(receivedBytes, totalBytes) };
37
48
  }
38
49
  function downloadFile(url, dest, options = {}) {
39
50
  const tmp = `${dest}.${process.pid}.${randomUUID()}.tmp`;
40
51
  const timeoutMs = options.timeoutMs ?? DEFAULT_DOWNLOAD_TIMEOUT_MS;
41
- const maxBytes = options.maxBytes;
42
52
  return new Promise((resolve, reject) => {
43
53
  const follow = (u, hops = 0) => {
44
54
  let activeResponse;
@@ -75,11 +85,13 @@ function downloadFile(url, dest, options = {}) {
75
85
  reject(new Error(`Download failed: HTTP ${res.statusCode}`));
76
86
  return;
77
87
  }
88
+ const meter = measureDownload(options, res.headers["content-length"]);
78
89
  const file = createWriteStream(tmp);
79
90
  responsePipelineStarted = true;
80
- const transfer = maxBytes === void 0 ? pipeline(res, file) : pipeline(res, enforceByteLimit(maxBytes), file);
91
+ const transfer = pipeline(res, meter.stream, file);
81
92
  transfer.then(() => {
82
93
  renameSync(tmp, dest);
94
+ meter.complete();
83
95
  resolve();
84
96
  }).catch((err) => {
85
97
  removePartialFile(tmp);
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-N3KRRPL7.js";
11
+ } from "./chunk-TTBOUHWT.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-BHOKLX4F.js";
14
+ } from "./chunk-SCCJUPPX.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-GK4AIFIH.js";
@@ -8,16 +8,16 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-CG6OUDMX.js";
11
+ } from "./chunk-X2GKNLHE.js";
12
12
  import {
13
13
  getPowerState
14
- } from "./chunk-4AXZWUQ6.js";
14
+ } from "./chunk-OEJQAXS3.js";
15
15
  import {
16
16
  CliRuntimeError
17
17
  } from "./chunk-PBN6GBJE.js";
18
18
  import {
19
19
  redactTelemetryString
20
- } from "./chunk-BHOKLX4F.js";
20
+ } from "./chunk-SCCJUPPX.js";
21
21
  import {
22
22
  readConfig
23
23
  } from "./chunk-XUXGIA7H.js";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.8.136" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.136" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.137" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.137" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZTZA4UWZ.js";
13
13
  import {
14
14
  getSystemMeta
15
- } from "./chunk-4AXZWUQ6.js";
15
+ } from "./chunk-OEJQAXS3.js";
16
16
  import {
17
17
  getInvocationId
18
18
  } from "./chunk-54HJ63Q2.js";
@@ -23,7 +23,7 @@ import {
23
23
  evaluateCanary,
24
24
  findCanary,
25
25
  parseCanaryOverride
26
- } from "./chunk-BHOKLX4F.js";
26
+ } from "./chunk-SCCJUPPX.js";
27
27
  import {
28
28
  hostAnswers
29
29
  } from "./chunk-K4WIOZFP.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-XUXGIA7H.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-WFZEW4AC.js";
40
+ } from "./chunk-WYX6L7AV.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -16,7 +16,7 @@ import {
16
16
  EncoderInterruptedError,
17
17
  encoderFailureError,
18
18
  prepareAnimatedGifInputs
19
- } from "./chunk-V26IB6L2.js";
19
+ } from "./chunk-WFNNUWFN.js";
20
20
  import {
21
21
  createStudioPositionSeekReapplyScript
22
22
  } from "./chunk-KC5XXX3X.js";
@@ -144,7 +144,7 @@ import {
144
144
  validateEngineConfigSnapshot,
145
145
  verifyDiskDrawElementSamples,
146
146
  writeCapturedFrame
147
- } from "./chunk-N3KRRPL7.js";
147
+ } from "./chunk-TTBOUHWT.js";
148
148
  import {
149
149
  HF_VFX_ATTR,
150
150
  MEDIA_START_BASIS_ATTR,
@@ -162,7 +162,7 @@ import {
162
162
  resolveAbsoluteMediaStartSeconds,
163
163
  resolveAuthoredTimingWindow,
164
164
  toFps
165
- } from "./chunk-BHOKLX4F.js";
165
+ } from "./chunk-SCCJUPPX.js";
166
166
  import {
167
167
  CANVAS_DIMENSIONS,
168
168
  HTML_BODY_CSS_HEIGHT_FIRST_RE,
@@ -183,7 +183,7 @@ import {
183
183
  ensureExternalScriptTag,
184
184
  inlineSubCompositions,
185
185
  prepareFlattenedInnerRoot
186
- } from "./chunk-PGFP4FLW.js";
186
+ } from "./chunk-HUV6BP7O.js";
187
187
  import {
188
188
  COMPOSITION_SOURCE_URL,
189
189
  HF_COLOR_GRADING_ATTR,
@@ -211,7 +211,7 @@ import {
211
211
  shouldClampResolvedMediaDuration,
212
212
  sourceTimeAt,
213
213
  styleElementsFor
214
- } from "./chunk-SRXQEQWZ.js";
214
+ } from "./chunk-P7GAS5DG.js";
215
215
  import {
216
216
  chromeMajorCeiling
217
217
  } from "./chunk-TWWSYAKJ.js";
@@ -14213,7 +14213,7 @@ function startServer(options = {}) {
14213
14213
  });
14214
14214
  async function shutdown(signal) {
14215
14215
  log.info(`Received ${signal}, shutting down`);
14216
- const { drainBrowserPool } = await import("./src-CUR36DBE.js");
14216
+ const { drainBrowserPool } = await import("./src-A7PS67DT.js");
14217
14217
  await drainBrowserPool().catch(() => {
14218
14218
  });
14219
14219
  const handle = await Promise.race([
@@ -15336,7 +15336,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
15336
15336
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15337
15337
  if (probeResult.probeSession) {
15338
15338
  try {
15339
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-CUR36DBE.js");
15339
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-A7PS67DT.js");
15340
15340
  await closeCaptureSession2(probeResult.probeSession);
15341
15341
  } catch (err) {
15342
15342
  log.warn("[plan] probe session close failed", {
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-RTURM45Q.js";
11
+ } from "./chunk-NSLSFVFN.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-GMECXFAN.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-BHOKLX4F.js";
18
+ } from "./chunk-SCCJUPPX.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -13,7 +13,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
13
13
  return "auto";
14
14
  }
15
15
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath) {
16
- const { resolveBrowserGpuMode } = await import("./src-CUR36DBE.js");
16
+ const { resolveBrowserGpuMode } = await import("./src-A7PS67DT.js");
17
17
  return resolveBrowserGpuMode(requestedMode, { chromePath });
18
18
  }
19
19