hyperframes 0.8.172 → 0.8.174

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 (185) hide show
  1. package/dist/{add-TJNZWO7P.js → add-XANMFNIP.js} +14 -15
  2. package/dist/{animatedGifPrep-K4WFG6KK.js → animatedGifPrep-OUQ4M2T3.js} +9 -11
  3. package/dist/api.js +19 -21
  4. package/dist/{asset-QN5J2P7H.js → asset-SVONSQ67.js} +2 -2
  5. package/dist/{assetCataloger-RLFDI5YD.js → assetCataloger-AG77T6SF.js} +9 -11
  6. package/dist/{audio-QJ4C3NMN.js → audio-DMQOTXKL.js} +16 -18
  7. package/dist/{auth-K7EHUGWE.js → auth-ED7SPBS6.js} +2 -2
  8. package/dist/{autoUpdate-76QXHQRT.js → autoUpdate-4QQYZOVT.js} +2 -2
  9. package/dist/{backgroundChecks-NMYRM5LV.js → backgroundChecks-2VT46P5S.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-RENYERF5.js → batchRender-KIYAPCTG.js} +4 -4
  12. package/dist/{beats-ZOR2HBAR.js → beats-OE7M5BEE.js} +6 -7
  13. package/dist/{benchmark-CY2VFIKL.js → benchmark-2ZQP2RNF.js} +11 -12
  14. package/dist/{browser-NPCKLUT7.js → browser-CSSJ3VWW.js} +5 -6
  15. package/dist/{bundleWithLocalizedFonts-FKH55KKW.js → bundleWithLocalizedFonts-ZUC4MLSO.js} +2 -2
  16. package/dist/{capture-TMSBTUYU.js → capture-3NXAHID3.js} +2 -2
  17. package/dist/{capture-IC2QJMMQ.js → capture-APNSW4ZT.js} +22 -18
  18. package/dist/{catalog-N7OCMRPT.js → catalog-CFDBIVSC.js} +15 -16
  19. package/dist/{catch-up-2MGK5I2D.js → catch-up-OUK522JT.js} +6 -7
  20. package/dist/{check-NU4GL2WC.js → check-PUDEOXGP.js} +37 -39
  21. package/dist/{checkBrowser-HRXAL4QD.js → checkBrowser-PMRJSTFJ.js} +34 -36
  22. package/dist/chunk-2CDBTQKS.js +113 -0
  23. package/dist/{chunk-C2F37AXS.js → chunk-2XSAYE7U.js} +2 -2
  24. package/dist/{chunk-3RM2ETQT.js → chunk-32GKETR7.js} +28 -2
  25. package/dist/{chunk-UIDRXHUY.js → chunk-3MDO2Q4F.js} +1 -1
  26. package/dist/{chunk-5B57KZJX.js → chunk-4PX47Z65.js} +1 -1
  27. package/dist/{chunk-IK3SOMZ4.js → chunk-4VTUDCHM.js} +19 -22
  28. package/dist/{chunk-Z6L3W5KZ.js → chunk-4WQUBVDO.js} +3 -3
  29. package/dist/{chunk-NLEDKGZT.js → chunk-55LJK3H2.js} +3 -3
  30. package/dist/{chunk-KRMOJUVL.js → chunk-6HF2WFPV.js} +5 -5
  31. package/dist/{chunk-EDUBJPGL.js → chunk-ALCCEHX2.js} +33 -7
  32. package/dist/{chunk-FXHGO3NH.js → chunk-APMA7XXB.js} +1 -1
  33. package/dist/{chunk-CDXC2UQ7.js → chunk-AR2SEGPZ.js} +1 -1
  34. package/dist/{chunk-K6SBDWUV.js → chunk-B23GBPCW.js} +2 -2
  35. package/dist/{chunk-YHECAUDC.js → chunk-CI7ZHFSV.js} +11 -11
  36. package/dist/chunk-CIWX5UKC.js +16 -0
  37. package/dist/{chunk-FYR6GKFN.js → chunk-CSMKMVGG.js} +6 -6
  38. package/dist/{chunk-TV2N4UIJ.js → chunk-D2YN4FNH.js} +2 -2
  39. package/dist/{chunk-CUDHVUIF.js → chunk-DRR3UMIY.js} +1 -1
  40. package/dist/{chunk-6K2N6WPO.js → chunk-EAR5LFOH.js} +42 -2
  41. package/dist/{chunk-MEEETF7G.js → chunk-EJZJ5AY7.js} +1 -1
  42. package/dist/{chunk-R73GAMUQ.js → chunk-G4UUEQDT.js} +1 -1
  43. package/dist/{chunk-G47TXPYN.js → chunk-GK2FIKIQ.js} +10 -8
  44. package/dist/{chunk-7DVH2IQQ.js → chunk-GXWV4FNV.js} +1 -1
  45. package/dist/{chunk-UNALPZL6.js → chunk-H2BPHBDY.js} +1 -1
  46. package/dist/{chunk-X3SCQP2A.js → chunk-HB2UP4V7.js} +1 -1
  47. package/dist/chunk-HIP62XAW.js +36 -0
  48. package/dist/{chunk-DQRZWV3B.js → chunk-HIYAJFRH.js} +1 -1
  49. package/dist/{chunk-4UR2EQSR.js → chunk-HZZYJV7K.js} +17 -19
  50. package/dist/{chunk-A2DMF2Q6.js → chunk-HZZZ6C6Z.js} +2 -2
  51. package/dist/{chunk-QQI7R2QL.js → chunk-JKPI7VLI.js} +1 -1
  52. package/dist/{chunk-4N2YVSXH.js → chunk-JL76Y45C.js} +7 -7
  53. package/dist/{chunk-EKKROA7V.js → chunk-LR72ON5B.js} +1 -1
  54. package/dist/{chunk-QVVANKN2.js → chunk-LUKY7253.js} +491 -133
  55. package/dist/{chunk-257IUNPQ.js → chunk-MXNPYP5F.js} +1 -1
  56. package/dist/{chunk-VFCKXTBB.js → chunk-NL5F3AD4.js} +27 -38
  57. package/dist/{chunk-S6JCFZVB.js → chunk-ONXTLGJB.js} +5 -5
  58. package/dist/{chunk-KRTCHLBA.js → chunk-PLYTTPVE.js} +2 -2
  59. package/dist/{chunk-R2P2SANE.js → chunk-QJCVK7CI.js} +4 -4
  60. package/dist/{chunk-HN5WVJZB.js → chunk-QRO2UBWS.js} +1 -1
  61. package/dist/{chunk-KOMXCNZX.js → chunk-QUK2IZKI.js} +1 -1
  62. package/dist/{chunk-2VR7HIPZ.js → chunk-RLBLLBLL.js} +2 -2
  63. package/dist/{chunk-PDFMNU6D.js → chunk-RMKL5FVH.js} +4 -17
  64. package/dist/{chunk-VQSSP7XG.js → chunk-RNKNDYBN.js} +1 -1
  65. package/dist/{chunk-BQYQV6JP.js → chunk-RYR3LTZR.js} +2 -2
  66. package/dist/{chunk-NYXHZOPD.js → chunk-RZ2FMZ5U.js} +1 -1
  67. package/dist/{chunk-DOV2QOFY.js → chunk-S5D4Q74P.js} +2 -2
  68. package/dist/{chunk-Z5ENX63S.js → chunk-SEHRMJTO.js} +13 -7
  69. package/dist/{chunk-XEJUMBIC.js → chunk-SEXAKOK3.js} +3 -3
  70. package/dist/{chunk-HZWXDKYB.js → chunk-SH43VDEF.js} +11 -15
  71. package/dist/{chunk-YAA3AOBA.js → chunk-SI76MFBF.js} +2 -2
  72. package/dist/{chunk-QWQ6GQTI.js → chunk-T6AGUTZJ.js} +2 -4
  73. package/dist/{chunk-ZY43P2M7.js → chunk-TI3HKGQC.js} +3 -3
  74. package/dist/{chunk-MFWQEG2W.js → chunk-UDJHYQSZ.js} +1 -1
  75. package/dist/{chunk-V5IZAL3H.js → chunk-UKAOWORD.js} +8 -8
  76. package/dist/chunk-UKJECUDK.js +3805 -0
  77. package/dist/{chunk-M235XUHL.js → chunk-UQLXFITA.js} +241 -6
  78. package/dist/{chunk-JYVGYKXG.js → chunk-W2LGJSEN.js} +73 -1
  79. package/dist/{chunk-UFAKRR5G.js → chunk-W3YVQ6VI.js} +12 -12
  80. package/dist/{chunk-FQP7TLRF.js → chunk-W4AECR7V.js} +1 -1
  81. package/dist/{chunk-AG2O2USE.js → chunk-X3BE2HX4.js} +3 -3
  82. package/dist/{chunk-TDPVEMBS.js → chunk-XFCLWWL3.js} +1 -1
  83. package/dist/{chunk-NZ5HOUJH.js → chunk-XVIFWEPR.js} +67 -33
  84. package/dist/{clean-JDODBRVL.js → clean-6SVCU47L.js} +18 -20
  85. package/dist/cli.js +53 -53
  86. package/dist/{cloud-YHJZ72XP.js → cloud-TIISRMZV.js} +4 -4
  87. package/dist/{cloudrun-E5EOHYTG.js → cloudrun-4TMBWELQ.js} +5 -5
  88. package/dist/{compare-VQQXHSE3.js → compare-YV2XTKYX.js} +28 -30
  89. package/dist/{compiler-I4GWSEK3.js → compiler-O5R3ZZDV.js} +5 -6
  90. package/dist/{component-WOSMKPL7.js → component-7LWSMRKZ.js} +3 -3
  91. package/dist/{compositions-WLJE5752.js → compositions-5VTSC4M3.js} +14 -16
  92. package/dist/{delete-PILRKH5C.js → delete-AV2SKLZW.js} +4 -4
  93. package/dist/{deploy-4MK3Y67M.js → deploy-NKWMPAMH.js} +19 -5
  94. package/dist/{destroy-GFQLTIY3.js → destroy-UKP522AE.js} +4 -2
  95. package/dist/{dist-7TYQROOE.js → dist-2FMTAVGL.js} +3 -3
  96. package/dist/{dist-SDXOTECD.js → dist-4FY5EEH5.js} +3 -3
  97. package/dist/{doctor-FNICQNSA.js → doctor-XOCYSEAZ.js} +14 -16
  98. package/dist/{events-5WNYSVPY.js → events-6QPRKX45.js} +4 -5
  99. package/dist/{events-YXPWFV5S.js → events-MAZUZI43.js} +5 -6
  100. package/dist/{feedback-KLA5RSSN.js → feedback-MGRILBMP.js} +10 -11
  101. package/dist/{ffmpeg-7BYARPLM.js → ffmpeg-YCULCUB2.js} +24 -4
  102. package/dist/{figma-PQIZI67M.js → figma-UMBACTCG.js} +3 -3
  103. package/dist/fontLocalizeCli.js +11 -13
  104. package/dist/{get-OBOWSUA7.js → get-LWEOLWYN.js} +4 -4
  105. package/dist/{gpuPolicy-HWH4OW6H.js → gpuPolicy-MCIQK5Z7.js} +9 -11
  106. package/dist/{grade-compare-5IOHWZX6.js → grade-compare-MZQOTX3F.js} +29 -31
  107. package/dist/{help-K4IK2N36.js → help-THPG2NRP.js} +1 -1
  108. package/dist/{history-AC5ZUFOX.js → history-2IQYTDU5.js} +8 -9
  109. package/dist/hyperframe-runtime.js +55 -55
  110. package/dist/hyperframe.manifest.json +1 -1
  111. package/dist/hyperframe.runtime.iife.js +55 -55
  112. package/dist/hyperframes-player.global.js +3 -3
  113. package/dist/{info-BD6555FQ.js → info-CXMADV6K.js} +10 -11
  114. package/dist/{init-KTNJH3QB.js → init-Y5GU454D.js} +34 -34
  115. package/dist/{inspect-PF2DWLRP.js → inspect-S7JDKEMJ.js} +29 -31
  116. package/dist/{installer-72NGZ5BM.js → installer-AY23RPEZ.js} +5 -5
  117. package/dist/{keyframes-P3GRO3LL.js → keyframes-FKYT6QAJ.js} +8 -9
  118. package/dist/{lambda-XRNX7HLH.js → lambda-7WMZGRH5.js} +16 -12
  119. package/dist/{layout-KN7SX3WH.js → layout-LL4GOS6G.js} +29 -31
  120. package/dist/{lint-TXBEZUA5.js → lint-2M7FY4ZT.js} +11 -12
  121. package/dist/{lintProject-65YGC4UB.js → lintProject-ARKJXDQF.js} +3 -3
  122. package/dist/{list-4YL3BA2G.js → list-SZBMUHBW.js} +4 -4
  123. package/dist/{login-JUI7PHHJ.js → login-QRACITGK.js} +4 -4
  124. package/dist/{manager-B6MVBM2E.js → manager-W2BTPAVT.js} +25 -3
  125. package/dist/{media-treatment-6DDWZLLE.js → media-treatment-E4VJETTT.js} +30 -22
  126. package/dist/{models-CLSFYHTD.js → models-AHO3MYE7.js} +13 -15
  127. package/dist/{motionShot-WMJSRE67.js → motionShot-LMMYPGPT.js} +21 -23
  128. package/dist/{normalize-audio-YZTHI75G.js → normalize-audio-RDWIWZOO.js} +6 -7
  129. package/dist/{open-VSJ3TPAB.js → open-WOKRHFDH.js} +31 -8
  130. package/dist/{parakeetRunner-YCZT3DG2.js → parakeetRunner-RY2KIE63.js} +16 -18
  131. package/dist/{pipeline-RV64A4MZ.js → pipeline-LEA32KLW.js} +11 -13
  132. package/dist/{play-CF6TJIQL.js → play-3S46XG66.js} +21 -23
  133. package/dist/{policies-DCSIM4AB.js → policies-5NTZOHJA.js} +2 -0
  134. package/dist/preflight-MCOFNWFQ.js +52 -0
  135. package/dist/{present-5XKI26BN.js → present-GR7F4CTI.js} +17 -19
  136. package/dist/{preview-RORZIRSN.js → preview-TKEAF3KR.js} +34 -25
  137. package/dist/{producer-K2H3YFX5.js → producer-BJ5SUPVD.js} +1 -1
  138. package/dist/{progress-5AM2MZ7V.js → progress-I37JB7R4.js} +1 -0
  139. package/dist/{projectConfig-Q2ECBQUG.js → projectConfig-YJBYWSNK.js} +7 -7
  140. package/dist/{publication-2V3WX4HW.js → publication-2HXIW4LS.js} +3 -3
  141. package/dist/{publish-7COI3FRD.js → publish-LHJFEKEI.js} +11 -11
  142. package/dist/{remove-background-QSOESZXW.js → remove-background-AQUUVAPD.js} +12 -14
  143. package/dist/{render-ACRKADG6.js → render-AOHXNGIM.js} +40 -38
  144. package/dist/{render-KHDJ2P4J.js → render-AXTGGHVZ.js} +9 -4
  145. package/dist/{render-3ZLZDN64.js → render-B5S7FLLS.js} +14 -15
  146. package/dist/{render-batch-OG3JHMDF.js → render-batch-DMQG3QWK.js} +4 -4
  147. package/dist/renderSetupWorker.js +3 -3
  148. package/dist/{resolver-ALLVWDQE.js → resolver-FV54X3T2.js} +5 -5
  149. package/dist/sam-IKPEJRRO.js +21 -0
  150. package/dist/{screenshotCapture-XAYELJK7.js → screenshotCapture-HXEZ3TNJ.js} +20 -3
  151. package/dist/{sherpa-QY3NGRLC.js → sherpa-RKURBTUM.js} +15 -17
  152. package/dist/skills/hyperframes/SKILL.md +42 -0
  153. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  154. package/dist/skills/media-use/scripts/lib/recipe-store.mjs +5 -2
  155. package/dist/{skills-YIZYEARC.js → skills-YUXI4IRF.js} +11 -10
  156. package/dist/{skillsUpdateCheck-EXZOQQRS.js → skillsUpdateCheck-HK3GDYD6.js} +3 -3
  157. package/dist/{snapshot-3XMGHMRD.js → snapshot-D6Q52Z4X.js} +32 -34
  158. package/dist/{src-CGIRN4KP.js → src-DPR7JBU3.js} +10 -12
  159. package/dist/{src-RY4V2ZZT.js → src-MRYINZ62.js} +10 -10
  160. package/dist/{staticProjectServer-4E3ODA5P.js → staticProjectServer-RT7JATD2.js} +15 -16
  161. package/dist/{status-RGHSK3DJ.js → status-BV7QAUQD.js} +2 -3
  162. package/dist/studio/assets/{hyperframes-player-BDj9J28W.js → hyperframes-player-B4KfQdfl.js} +1 -1
  163. package/dist/studio/assets/{index--HWjGqrU.js → index-Bsc8xBh9.js} +1 -1
  164. package/dist/studio/assets/{index-DkQKsFxx.css → index-CESvLzz0.css} +1 -1
  165. package/dist/studio/assets/{index-CVxB8lqm.js → index-DGl_Zvb3.js} +128 -128
  166. package/dist/studio/index.html +2 -2
  167. package/dist/{studio-api-LTHBT45F.js → studio-api-NL2RMVB5.js} +9 -10
  168. package/dist/{studioServer-NDRRYB5V.js → studioServer-VL2GUVCR.js} +63 -56
  169. package/dist/{system-VRXC6S4A.js → system-7F3UEHQT.js} +2 -3
  170. package/dist/{telemetry-QBHPMHPC.js → telemetry-5PJWDFSZ.js} +5 -6
  171. package/dist/{timeline-J22LXNAI.js → timeline-OH35TN25.js} +124 -51
  172. package/dist/{tokens-EAPT2GUT.js → tokens-YISVK7W2.js} +2 -2
  173. package/dist/{transcribe-L5GHBNR6.js → transcribe-6KBSE76Q.js} +12 -14
  174. package/dist/{transcribe-6LCZK44H.js → transcribe-KRPN2FWA.js} +22 -24
  175. package/dist/{updateCheck-B3U7O3QS.js → updateCheck-QCZTFFSQ.js} +2 -2
  176. package/dist/{upgrade-UMJEDSYD.js → upgrade-DRFQISI6.js} +2 -2
  177. package/dist/{urlDownloader-SRL6J4NU.js → urlDownloader-CJDXTKMC.js} +8 -10
  178. package/dist/{validate-I3KHH5Z4.js → validate-BKY3FIJC.js} +23 -27
  179. package/dist/{video-HWLZYFUC.js → video-3UEJ57Q7.js} +9 -11
  180. package/package.json +1 -1
  181. package/dist/chunk-7KDQAD2W.js +0 -81
  182. package/dist/chunk-BXCMXMJQ.js +0 -73
  183. package/dist/chunk-KCF6GHJP.js +0 -250
  184. package/dist/chunk-Q2E3DQII.js +0 -3803
  185. package/dist/preflight-G5KP7ZKA.js +0 -32
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  formatVariableValidationIssue,
21
21
  validateVariables
22
- } from "./chunk-PDFMNU6D.js";
22
+ } from "./chunk-RMKL5FVH.js";
23
23
  import {
24
24
  extractCompositionMetadata
25
25
  } from "./chunk-YMS5FOMC.js";
@@ -27,8 +27,8 @@ function assertAwsCliAvailable() {
27
27
  );
28
28
  }
29
29
  }
30
- function locateSamTemplate(repoRoot2) {
31
- const candidate = join(repoRoot2, "examples", "aws-lambda", "template.yaml");
30
+ function locateSamTemplate(repoRoot) {
31
+ const candidate = join(repoRoot, "examples", "aws-lambda", "template.yaml");
32
32
  if (!existsSync(candidate)) {
33
33
  throw new Error(
34
34
  `[lambda] SAM template not found at ${candidate}. \`hyperframes lambda deploy\` needs a HyperFrames repo checkout: run it from one, or set HYPERFRAMES_REPO_ROOT to point at one.`
@@ -36,12 +36,23 @@ function locateSamTemplate(repoRoot2) {
36
36
  }
37
37
  return candidate;
38
38
  }
39
+ function parseReservedConcurrency(raw) {
40
+ if (raw === void 0 || raw === null || raw === "") return void 0;
41
+ if (raw === "none") return -1;
42
+ const n = Number(raw);
43
+ if (!Number.isInteger(n) || n < 1) {
44
+ throw new Error(
45
+ `[lambda] --concurrency must be a positive integer or "none"; got ${String(raw)}`
46
+ );
47
+ }
48
+ return n;
49
+ }
39
50
  function samDeploy(opts) {
40
51
  assertSamAvailable();
41
- const paramOverrides = [
42
- `ChromeSource=${opts.chromeSource ?? "sparticuz"}`,
43
- `ReservedConcurrency=${opts.reservedConcurrency ?? -1}`
44
- ];
52
+ const paramOverrides = [`ChromeSource=${opts.chromeSource ?? "sparticuz"}`];
53
+ if (opts.reservedConcurrency !== void 0) {
54
+ paramOverrides.push(`ReservedConcurrency=${opts.reservedConcurrency}`);
55
+ }
45
56
  if (opts.lambdaMemoryMb !== void 0) {
46
57
  paramOverrides.push(`LambdaMemoryMb=${opts.lambdaMemoryMb}`);
47
58
  }
@@ -96,7 +107,7 @@ function fetchStackOutputs(opts) {
96
107
  "--region",
97
108
  opts.region,
98
109
  "--query",
99
- "Stacks[0].Outputs",
110
+ "Stacks[0]",
100
111
  "--output",
101
112
  "json"
102
113
  ];
@@ -104,8 +115,11 @@ function fetchStackOutputs(opts) {
104
115
  args.unshift("--profile", opts.awsProfile);
105
116
  }
106
117
  const out = execFileSync("aws", args, { encoding: "utf-8" });
107
- const parsed = JSON.parse(out);
108
- const byKey = new Map(parsed.map((o) => [o.OutputKey, o.OutputValue]));
118
+ const stack = JSON.parse(out);
119
+ const byKey = new Map((stack.Outputs ?? []).map((o) => [o.OutputKey, o.OutputValue]));
120
+ const reserved = Number(
121
+ stack.Parameters?.find((p) => p.ParameterKey === "ReservedConcurrency")?.ParameterValue
122
+ );
109
123
  const bucketName = byKey.get("RenderBucketName");
110
124
  const functionName = byKey.get("RenderFunctionArn");
111
125
  const stateMachineArn = byKey.get("RenderStateMachineArn");
@@ -120,40 +134,15 @@ function fetchStackOutputs(opts) {
120
134
  // last colon-segment, which downstream `getRenderProgress` calls use
121
135
  // for cost math + CloudWatch lookups.
122
136
  functionName: functionName.split(":").pop() ?? functionName,
123
- stateMachineArn
137
+ stateMachineArn,
138
+ reservedConcurrency: reserved > 0 ? reserved : void 0
124
139
  };
125
140
  }
126
141
 
127
- // src/commands/lambda/repoRoot.ts
128
- import { existsSync as existsSync2 } from "fs";
129
- import { dirname, resolve } from "path";
130
- import { fileURLToPath } from "url";
131
- function repoRoot() {
132
- const override = process.env.HYPERFRAMES_REPO_ROOT;
133
- if (override) {
134
- if (existsSync2(resolve(override, "packages", "aws-lambda", "package.json"))) return override;
135
- throw new Error(
136
- "[hyperframes lambda] HYPERFRAMES_REPO_ROOT is not a hyperframes checkout (no packages/aws-lambda/package.json there). Point it at the repo root, or unset it."
137
- );
138
- }
139
- let dir = dirname(fileURLToPath(import.meta.url));
140
- for (let depth = 0; depth < 12; depth++) {
141
- if (existsSync2(resolve(dir, "packages", "aws-lambda", "package.json"))) {
142
- return dir;
143
- }
144
- const parent = dirname(dir);
145
- if (parent === dir) break;
146
- dir = parent;
147
- }
148
- throw new Error(
149
- "[hyperframes lambda] could not find the repo root (no packages/aws-lambda/ above this CLI's source). Run `hyperframes lambda` from within a hyperframes checkout, or set HYPERFRAMES_REPO_ROOT explicitly."
150
- );
151
- }
152
-
153
142
  export {
154
143
  locateSamTemplate,
144
+ parseReservedConcurrency,
155
145
  samDeploy,
156
146
  samDelete,
157
- fetchStackOutputs,
158
- repoRoot
147
+ fetchStackOutputs
159
148
  };
@@ -7,13 +7,13 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-TV2N4UIJ.js";
10
+ } from "./chunk-D2YN4FNH.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-K6SBDWUV.js";
13
+ } from "./chunk-B23GBPCW.js";
14
14
  import {
15
15
  detectAgentRuntime
16
- } from "./chunk-QWQ6GQTI.js";
16
+ } from "./chunk-T6AGUTZJ.js";
17
17
  import {
18
18
  c
19
19
  } from "./chunk-ZTZA4UWZ.js";
@@ -83,8 +83,8 @@ async function maybePromptRenderFeedback(opts) {
83
83
  async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
- import("./system-VRXC6S4A.js"),
87
- import("./ffmpeg-7BYARPLM.js")
86
+ import("./system-7F3UEHQT.js"),
87
+ import("./ffmpeg-YCULCUB2.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-YHECAUDC.js";
9
+ } from "./chunk-CI7ZHFSV.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-Q2E3DQII.js";
12
+ } from "./chunk-UKJECUDK.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -12,23 +12,23 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-KCF6GHJP.js";
15
+ } from "./chunk-UQLXFITA.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-PDFMNU6D.js";
20
+ } from "./chunk-RMKL5FVH.js";
21
21
  import {
22
22
  decodedUrlPath,
23
23
  removeElementWithGsapCascade
24
24
  } from "./chunk-YMS5FOMC.js";
25
25
  import {
26
26
  require_dist
27
- } from "./chunk-G47TXPYN.js";
27
+ } from "./chunk-GK2FIKIQ.js";
28
28
  import {
29
29
  readClipTiming,
30
30
  writeClipTiming
31
- } from "./chunk-3RM2ETQT.js";
31
+ } from "./chunk-32GKETR7.js";
32
32
  import {
33
33
  readMediaOffsetSeconds,
34
34
  readPlaybackRate
@@ -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-YXPWFV5S.js");
1281
+ const { trackCommandFailure } = await import("./events-MAZUZI43.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -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-CGIRN4KP.js");
10
+ return await import("./src-DPR7JBU3.js");
11
11
  }
12
12
 
13
13
  export {
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-HN5WVJZB.js";
23
+ } from "./chunk-QRO2UBWS.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-QBHPMHPC.js");
232
+ const { trackFigmaImport } = await import("./telemetry-5PJWDFSZ.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-Q2E3DQII.js";
12
+ } from "./chunk-UKJECUDK.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -20,8 +20,9 @@ import {
20
20
  } from "./chunk-YMS5FOMC.js";
21
21
  import {
22
22
  COMPOSITION_ATTRIBUTES,
23
- parseStartExpression
24
- } from "./chunk-3RM2ETQT.js";
23
+ parseStartExpression,
24
+ sameInstant
25
+ } from "./chunk-32GKETR7.js";
25
26
  import {
26
27
  readMediaOffsetSeconds
27
28
  } from "./chunk-BSQ7XANM.js";
@@ -4583,17 +4584,6 @@ function createRuntimeStartTimeResolver(params) {
4583
4584
 
4584
4585
  // ../core/dist/clipFacts.js
4585
4586
  var byStart = (a, b) => a.start - b.start || a.trackIndex - b.trackIndex;
4586
- var instantTolerance = (time) => 4 * Number.EPSILON * Math.max(1, Math.abs(time));
4587
- function sameInstant(a, b) {
4588
- if (!Number.isFinite(a) || !Number.isFinite(b))
4589
- return a === b;
4590
- return Math.abs(a - b) <= instantTolerance(Math.max(Math.abs(a), Math.abs(b)));
4591
- }
4592
- var isBefore = (a, b) => a < b && !sameInstant(a, b);
4593
- function spansShareTime(aStart, aEnd, bStart, bEnd) {
4594
- return isBefore(Math.max(aStart, bStart), Math.min(aEnd, bEnd));
4595
- }
4596
- var isInsideSpan = (time, start, end) => isBefore(start, time) && isBefore(time, end);
4597
4587
 
4598
4588
  // ../core/dist/runtime/clipWindow.js
4599
4589
  var hasClipStarted = (time, start) => time >= start || sameInstant(time, start);
@@ -5614,9 +5604,6 @@ export {
5614
5604
  cutToHostSlots,
5615
5605
  createRuntimeStartTimeResolver,
5616
5606
  byStart,
5617
- sameInstant,
5618
- spansShareTime,
5619
- isInsideSpan,
5620
5607
  hasClipStarted,
5621
5608
  isInClipWindow,
5622
5609
  isClipVisibleAt,
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-Z6L3W5KZ.js";
13
+ } from "./chunk-4WQUBVDO.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-NZ5HOUJH.js";
11
+ } from "./chunk-XVIFWEPR.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-PDFMNU6D.js";
14
+ } from "./chunk-RMKL5FVH.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-SDYDNHEE.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-UNALPZL6.js";
14
+ } from "./chunk-H2BPHBDY.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-UNALPZL6.js";
11
+ } from "./chunk-H2BPHBDY.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-PDFMNU6D.js";
18
+ } from "./chunk-RMKL5FVH.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -6,16 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-7DVH2IQQ.js";
9
+ } from "./chunk-GXWV4FNV.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
13
13
  import {
14
14
  failUsage
15
15
  } from "./chunk-PBN6GBJE.js";
16
+ import {
17
+ DEFAULT_CONFIG,
18
+ resolvePageNavigationTimeout
19
+ } from "./chunk-XVIFWEPR.js";
16
20
  import {
17
21
  parseFps
18
- } from "./chunk-PDFMNU6D.js";
22
+ } from "./chunk-RMKL5FVH.js";
19
23
 
20
24
  // src/browser/windowsCrash.ts
21
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -95,10 +99,12 @@ function resolveBrowserTimeoutMsArg(raw) {
95
99
  }
96
100
  return result.value;
97
101
  }
98
- function resolveDiagnosticNavigationTimeoutMs(env = process.env, minimumTimeoutMs = 0) {
99
- const parsed = Number(env.PRODUCER_PAGE_NAVIGATION_TIMEOUT_MS);
100
- const configured = Number.isFinite(parsed) && parsed > 0 ? parsed : 1e4;
101
- return Math.max(configured, minimumTimeoutMs);
102
+ function pageNavigationTimeoutMs(minimumTimeoutMs = 0) {
103
+ const configured = resolvePageNavigationTimeout();
104
+ return Math.max(
105
+ configured > 0 ? configured : DEFAULT_CONFIG.pageNavigationTimeout,
106
+ minimumTimeoutMs
107
+ );
102
108
  }
103
109
  function normalizeCompositionEntryArg(raw) {
104
110
  const trimmed = raw?.trim().replace(/^\.\//, "") || void 0;
@@ -203,7 +209,7 @@ function parseHlsSegmentSecondsArg(raw) {
203
209
  export {
204
210
  windowsChromeCrashRemediation,
205
211
  resolveBrowserTimeoutMsArg,
206
- resolveDiagnosticNavigationTimeoutMs,
212
+ pageNavigationTimeoutMs,
207
213
  hasExplicitCompositionArg,
208
214
  resolveCompositionEntryArg,
209
215
  resolveDefaultFpsArg,
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-TV2N4UIJ.js";
10
+ } from "./chunk-D2YN4FNH.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-K6SBDWUV.js";
13
+ } from "./chunk-B23GBPCW.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-G47TXPYN.js";
17
+ } from "./chunk-GK2FIKIQ.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -4,33 +4,33 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ resolveCompositionViewportFromHtml
9
+ } from "./chunk-FH7WODJH.js";
7
10
  import {
8
11
  gotoWhenSent,
9
12
  launchManagedBrowser,
10
13
  resolveManagedGpuMode,
11
14
  rethrowAfterBrowserCleanup
12
- } from "./chunk-6K2N6WPO.js";
15
+ } from "./chunk-EAR5LFOH.js";
13
16
  import {
14
- resolveCompositionViewportFromHtml
15
- } from "./chunk-FH7WODJH.js";
16
- import {
17
- resolveDiagnosticNavigationTimeoutMs,
17
+ pageNavigationTimeoutMs,
18
18
  windowsChromeCrashRemediation
19
- } from "./chunk-Z5ENX63S.js";
19
+ } from "./chunk-SEHRMJTO.js";
20
20
  import {
21
21
  oneProcessOverPipe
22
22
  } from "./chunk-BRHI7EIA.js";
23
23
  import {
24
24
  resolveLocalBrowserGpuMode,
25
25
  resolveLocalWebGpu
26
- } from "./chunk-C2F37AXS.js";
26
+ } from "./chunk-2XSAYE7U.js";
27
27
  import {
28
28
  c
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  assertWebGpuAdapterAvailable,
32
32
  compositionRequiresWebGpu
33
- } from "./chunk-NZ5HOUJH.js";
33
+ } from "./chunk-XVIFWEPR.js";
34
34
  import {
35
35
  normalizeErrorMessage
36
36
  } from "./chunk-KNU5COPB.js";
@@ -114,9 +114,9 @@ async function openSettledCompositionPage(html, url, options) {
114
114
  const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
115
115
  const browser = await ensureBrowser({ signal: options.signal });
116
116
  const puppeteer = await import("puppeteer-core");
117
- const { buildChromeArgs } = await import("./src-RY4V2ZZT.js");
117
+ const { buildChromeArgs } = await import("./src-MRYINZ62.js");
118
118
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
119
- const answer = (await import("./staticProjectServer-4E3ODA5P.js")).inProcessAnswer(url);
119
+ const answer = (await import("./staticProjectServer-RT7JATD2.js")).inProcessAnswer(url);
120
120
  const requiresWebGpu = compositionRequiresWebGpu(html);
121
121
  let softwareWebGpu = false;
122
122
  const launch = async (executablePath) => {
@@ -175,11 +175,7 @@ ${remediation}`,
175
175
  await page.setViewport(viewport);
176
176
  if (answer) await answerPageInProcess(page, url, answer);
177
177
  await options.beforeNavigate?.(page);
178
- await gotoWhenSent(
179
- page,
180
- url,
181
- resolveDiagnosticNavigationTimeoutMs(process.env, options.navigationTimeoutMs)
182
- );
178
+ await gotoWhenSent(page, url, pageNavigationTimeoutMs(options.navigationTimeoutMs));
183
179
  await assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu);
184
180
  const renderReadyTimedOut = !await waitForCompositionSettle(page, options);
185
181
  return { browser: chromeBrowser, page, renderReadyTimedOut };
@@ -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.172" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.172" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.174" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.174" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -5,11 +5,9 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
+ detectWsl,
8
9
  getSystemTotalMb
9
- } from "./chunk-JYVGYKXG.js";
10
- import {
11
- detectWsl
12
- } from "./chunk-7KDQAD2W.js";
10
+ } from "./chunk-W2LGJSEN.js";
13
11
 
14
12
  // src/telemetry/system.ts
15
13
  import { cpus, freemem, platform as platform2, release as release2 } from "os";
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  stoppedByCancelSignal
9
- } from "./chunk-CDXC2UQ7.js";
9
+ } from "./chunk-AR2SEGPZ.js";
10
10
  import {
11
11
  DEFAULT_MODEL,
12
12
  ensureModel,
13
13
  ensureWhisper,
14
14
  hasFFmpeg
15
- } from "./chunk-X3SCQP2A.js";
15
+ } from "./chunk-HB2UP4V7.js";
16
16
  import {
17
17
  findFFmpeg,
18
18
  findFFprobe,
19
19
  getFFmpegInstallHint
20
- } from "./chunk-IK3SOMZ4.js";
20
+ } from "./chunk-4VTUDCHM.js";
21
21
  import {
22
22
  findWavChunk
23
23
  } from "./chunk-UOFAE5RF.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-UNALPZL6.js";
15
+ } from "./chunk-H2BPHBDY.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-EKKROA7V.js";
9
+ } from "./chunk-LR72ON5B.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-NLEDKGZT.js";
15
+ } from "./chunk-55LJK3H2.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-ZY43P2M7.js";
19
+ } from "./chunk-TI3HKGQC.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-CDXC2UQ7.js";
23
+ } from "./chunk-AR2SEGPZ.js";
24
+ import {
25
+ DEFAULT_MODEL,
26
+ isWhisperUnavailable
27
+ } from "./chunk-HB2UP4V7.js";
24
28
  import {
25
29
  formatSrt,
26
30
  formatVtt,
27
31
  loadTranscript,
28
32
  patchCaptionHtml
29
33
  } from "./chunk-VHZ6DL3M.js";
30
- import {
31
- DEFAULT_MODEL,
32
- isWhisperUnavailable
33
- } from "./chunk-X3SCQP2A.js";
34
34
  import {
35
35
  normalizeErrorMessage
36
36
  } from "./chunk-KNU5COPB.js";