hyperframes 0.8.169 → 0.8.171

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 (181) hide show
  1. package/dist/{add-7GLP4BPM.js → add-VMMGTSGT.js} +12 -11
  2. package/dist/{animatedGifPrep-NEBEGVSO.js → animatedGifPrep-MVP5LCEM.js} +5 -5
  3. package/dist/api.js +11 -11
  4. package/dist/{asset-RORTT5HS.js → asset-ZERIT5FT.js} +2 -2
  5. package/dist/{assetCataloger-RLJ6MDGF.js → assetCataloger-RN5A2SVA.js} +5 -5
  6. package/dist/{audio-OKDGU7TY.js → audio-RQUGFWYT.js} +11 -11
  7. package/dist/{auth-QWYNCU5U.js → auth-I3FNB6N2.js} +1 -1
  8. package/dist/{autoUpdate-EDJJPWAU.js → autoUpdate-IBAS4JVK.js} +2 -2
  9. package/dist/{backgroundChecks-KQR6FGVU.js → backgroundChecks-7UQBIPQC.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-YKTTAIHH.js → batchRender-KWBVAUE3.js} +3 -3
  12. package/dist/{beats-I6AGLTLW.js → beats-F2GFGFCV.js} +4 -4
  13. package/dist/{benchmark-NBSV7PNB.js → benchmark-XPQYX3OX.js} +8 -8
  14. package/dist/{browser-FPEL5FGW.js → browser-QCV62F7R.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-TYQXMNSU.js → bundleWithLocalizedFonts-42V34HJF.js} +2 -2
  16. package/dist/{capture-FXGOI23U.js → capture-OKPMCIAC.js} +8 -8
  17. package/dist/{capture-5BRJJMZB.js → capture-WE32B5UZ.js} +2 -2
  18. package/dist/{catalog-SG3ZIS45.js → catalog-2LWFMJM3.js} +12 -11
  19. package/dist/{catch-up-ETXUT6Q5.js → catch-up-OWUGMOBS.js} +4 -4
  20. package/dist/{check-KXNNIEUR.js → check-7BK6UM3M.js} +35 -34
  21. package/dist/{checkBrowser-546UMI3N.js → checkBrowser-VG745SEX.js} +32 -31
  22. package/dist/{chunk-YZRS3COO.js → chunk-4QIJFIR5.js} +1 -1
  23. package/dist/{chunk-UCNQE52B.js → chunk-4RXJG3SY.js} +197 -26
  24. package/dist/{chunk-JPN7SVWC.js → chunk-5GQB63WX.js} +7 -7
  25. package/dist/{chunk-FSX7GTBB.js → chunk-5HLJ4JMB.js} +1 -1
  26. package/dist/{chunk-FQJDV2RI.js → chunk-6I24ZSCR.js} +1 -1
  27. package/dist/chunk-6M3IPJS6.js +3803 -0
  28. package/dist/{chunk-7635SDI5.js → chunk-77QCYRQH.js} +2 -2
  29. package/dist/{chunk-TJSTGSAW.js → chunk-7FMUTGOH.js} +2 -77
  30. package/dist/{chunk-QD5VJOQK.js → chunk-7YZSOHSC.js} +3 -3
  31. package/dist/{chunk-AP5AVVAB.js → chunk-A3SQJCPU.js} +1 -1
  32. package/dist/{chunk-XK5SZNYE.js → chunk-AAYNQ7WL.js} +9 -9
  33. package/dist/{chunk-T4HL3SZH.js → chunk-AGHHZIZN.js} +1 -1
  34. package/dist/{chunk-A6K7M46D.js → chunk-AWSVUIWG.js} +1 -1
  35. package/dist/{chunk-RUYYAL3T.js → chunk-BMPNGUYD.js} +2 -2
  36. package/dist/{chunk-BNEKKUPG.js → chunk-BYFG74OA.js} +2 -2
  37. package/dist/{chunk-VCXVZRR2.js → chunk-CO6V4KXX.js} +1 -1
  38. package/dist/{chunk-5ETJPA5Z.js → chunk-CSABTZ6S.js} +9 -9
  39. package/dist/{chunk-DCG22HKT.js → chunk-D2QELIQB.js} +72 -22
  40. package/dist/{chunk-J5Z56PU3.js → chunk-EDGJ2OMH.js} +1 -1
  41. package/dist/{chunk-SJPNVLYS.js → chunk-ERJHLFPD.js} +2 -2
  42. package/dist/{chunk-P24X6CGY.js → chunk-FAORS3UR.js} +28 -13
  43. package/dist/{chunk-EEP5Y5IE.js → chunk-FE2XTCTM.js} +18 -1
  44. package/dist/{chunk-TVDXMJ43.js → chunk-GBWSBTEE.js} +1 -1
  45. package/dist/{chunk-JGYHWVXQ.js → chunk-GMJ3ILLW.js} +34 -13
  46. package/dist/{chunk-K5PU5ISL.js → chunk-GSABLXZV.js} +1 -1
  47. package/dist/{chunk-KA4LSAD5.js → chunk-GU5FLCZV.js} +1 -1
  48. package/dist/{chunk-YT6TFGIS.js → chunk-IWLOARQZ.js} +2 -2
  49. package/dist/{chunk-EFP25BUY.js → chunk-JAERN4RH.js} +1 -1
  50. package/dist/chunk-JHOCK3DG.js +27 -0
  51. package/dist/{chunk-5SQHHBAR.js → chunk-JMJTXBVF.js} +22 -12
  52. package/dist/{chunk-NKG3LTPI.js → chunk-KQCWIE76.js} +2 -2
  53. package/dist/{chunk-S6U7YLPJ.js → chunk-KUW4LWY6.js} +1 -1
  54. package/dist/{chunk-PVTHDNDZ.js → chunk-L32QQH2K.js} +1 -1
  55. package/dist/{chunk-TEFHMDVR.js → chunk-LMMFO5UV.js} +2 -2
  56. package/dist/{chunk-CESKA6VO.js → chunk-NSJLCWLG.js} +1 -1
  57. package/dist/{chunk-MCPDZWZY.js → chunk-NYCJCQNY.js} +4 -4
  58. package/dist/{chunk-2F4HJFGW.js → chunk-PAFCKH3S.js} +2 -2
  59. package/dist/{chunk-U7P2XTRY.js → chunk-PECICVTJ.js} +2 -2
  60. package/dist/{chunk-GVX2443P.js → chunk-PH3RS5X4.js} +2 -2
  61. package/dist/{chunk-Q5K73VW3.js → chunk-PXA4S6OE.js} +2 -2
  62. package/dist/{chunk-O3J7BHBU.js → chunk-QZUVPWC4.js} +1 -1
  63. package/dist/{chunk-ZFJ5RI7A.js → chunk-RSW6LGGW.js} +3 -3
  64. package/dist/{chunk-EELTMBCC.js → chunk-RTW6WSC7.js} +4 -3
  65. package/dist/{chunk-CNP6AMFM.js → chunk-SLTUINB4.js} +2 -2
  66. package/dist/{chunk-RZKQ3G6B.js → chunk-T5LGOTQR.js} +1 -1
  67. package/dist/{chunk-WAVFNZB7.js → chunk-TZ3I23TZ.js} +21 -7
  68. package/dist/{chunk-QLHXC4E6.js → chunk-UJQQITCY.js} +1 -1
  69. package/dist/{chunk-XZNHVWDD.js → chunk-UUP4KOMD.js} +4 -4
  70. package/dist/{chunk-UISU4SYG.js → chunk-V2T7FFPB.js} +1 -1
  71. package/dist/{chunk-7FHFPHEM.js → chunk-VKFYI7AQ.js} +182 -77
  72. package/dist/{chunk-QABAVWEX.js → chunk-W47D3KOB.js} +1 -1
  73. package/dist/{chunk-YLAREDAU.js → chunk-X3U6KEID.js} +1 -1
  74. package/dist/{chunk-5FWVFCQM.js → chunk-XGFYN53T.js} +2 -2
  75. package/dist/{chunk-M4N6IHCQ.js → chunk-XRQBHOBT.js} +7 -1
  76. package/dist/{chunk-XJQ6NN2L.js → chunk-ZBUGFQ7Y.js} +51 -25
  77. package/dist/{clean-ARH23EGW.js → clean-FCBNQ3W2.js} +13 -13
  78. package/dist/cli.js +53 -53
  79. package/dist/{cloud-GBY7MRZM.js → cloud-3FZBQBOM.js} +4 -4
  80. package/dist/{cloudrun-HBVA5UZB.js → cloudrun-CDFL5JBL.js} +9 -11
  81. package/dist/{compare-Z4YNESYN.js → compare-E4332OOZ.js} +26 -25
  82. package/dist/{compiler-6WJ5SVTD.js → compiler-GU5GPO5A.js} +2 -2
  83. package/dist/{component-AR4MS4R7.js → component-VKSV3OKW.js} +3 -3
  84. package/dist/{compositions-ERZVZBYW.js → compositions-GOVXHFXC.js} +9 -9
  85. package/dist/{delete-NWSW3BET.js → delete-JYZTEBLQ.js} +2 -2
  86. package/dist/{deterministicFonts-KXVO7QEL.js → deterministicFonts-RWGQPEZU.js} +2 -2
  87. package/dist/{dist-VKLSNKRZ.js → dist-IDZRZHGE.js} +2 -2
  88. package/dist/{doctor-P4QZQRCB.js → doctor-ND3FZM6S.js} +7 -7
  89. package/dist/{events-F2UVJQIC.js → events-27JU7QRQ.js} +2 -2
  90. package/dist/{events-SV46AWMI.js → events-VL2JIO4R.js} +3 -3
  91. package/dist/{feedback-XS4IK6SW.js → feedback-PKVQWCVT.js} +6 -6
  92. package/dist/{figma-DELISEUP.js → figma-FZ4T4SE3.js} +3 -3
  93. package/dist/fontLocalizeCli.js +9 -9
  94. package/dist/{get-DNGXCEFB.js → get-HUAIHWXR.js} +2 -2
  95. package/dist/{gpuPolicy-JG5PUOJP.js → gpuPolicy-QWJYZLVJ.js} +5 -5
  96. package/dist/{grade-compare-F46JWE4O.js → grade-compare-CJ2ROYD6.js} +26 -25
  97. package/dist/{help-XVEBMX3U.js → help-OJ3QDJYS.js} +1 -1
  98. package/dist/{history-NS4PKG4S.js → history-P4LA65T5.js} +7 -7
  99. package/dist/hyperframe-runtime.js +58 -57
  100. package/dist/hyperframe.manifest.json +1 -1
  101. package/dist/hyperframe.runtime.iife.js +58 -57
  102. package/dist/hyperframes-player.global.js +3 -3
  103. package/dist/{info-DJ6VNESS.js → info-QHRJW6Y3.js} +7 -7
  104. package/dist/{init-TSRTMVRN.js → init-AG6YVVJN.js} +21 -20
  105. package/dist/{inspect-VTZXXDJ4.js → inspect-TT66DYEC.js} +27 -26
  106. package/dist/{installer-3ERHU4CD.js → installer-5ZKUQBWW.js} +4 -4
  107. package/dist/{keyframes-6DN7BOYJ.js → keyframes-CJJGCW3R.js} +6 -6
  108. package/dist/{lambda-RCOIEGL6.js → lambda-3BMEOSP7.js} +10 -12
  109. package/dist/{layout-FFGRLVK4.js → layout-BSDCTMJK.js} +27 -26
  110. package/dist/{lint-MBYIDFKS.js → lint-6CL2R2FK.js} +6 -6
  111. package/dist/{list-KEZDFW5R.js → list-5VYOLEFN.js} +2 -2
  112. package/dist/{login-7ZV374QL.js → login-PNRREAOC.js} +4 -4
  113. package/dist/{media-treatment-LGWWRXAX.js → media-treatment-KHJX73WZ.js} +8 -8
  114. package/dist/{models-TC4K6UQP.js → models-INX67ETR.js} +8 -8
  115. package/dist/{motionShot-4E3RTV5O.js → motionShot-VIUXVMTV.js} +12 -12
  116. package/dist/{normalize-audio-XCGB2IQP.js → normalize-audio-T5QMN476.js} +4 -4
  117. package/dist/{open-JNNJSNTH.js → open-T57KLGFX.js} +4 -4
  118. package/dist/{parakeetRunner-S3DG4BJB.js → parakeetRunner-PCCBODBS.js} +8 -8
  119. package/dist/{pipeline-3SIYCBLU.js → pipeline-GDC7SL5N.js} +5 -5
  120. package/dist/{play-LBPOOD3V.js → play-TQWHYMAT.js} +19 -18
  121. package/dist/{present-PWEN5SDL.js → present-U5OFT6IF.js} +14 -14
  122. package/dist/{preview-IS32RLKM.js → preview-WWTDQQSB.js} +20 -16
  123. package/dist/{producer-4UUUEPPS.js → producer-23NJEJRO.js} +1 -1
  124. package/dist/{projectConfig-K347VIO3.js → projectConfig-OXNA35QN.js} +7 -6
  125. package/dist/{publication-4CQS532O.js → publication-GY3OJ6VH.js} +2 -2
  126. package/dist/{publish-OJYF37FY.js → publish-WZD4NLWM.js} +8 -7
  127. package/dist/{remove-background-HO6YL2HU.js → remove-background-Q7CQ3PJF.js} +6 -6
  128. package/dist/{render-L76SEAMC.js → render-24JWWXMA.js} +3 -3
  129. package/dist/{render-QBQYF2NC.js → render-FTVXKXSQ.js} +24 -23
  130. package/dist/{render-Q6QAXJCN.js → render-RZUU76V5.js} +8 -8
  131. package/dist/{render-batch-JLANN5Y2.js → render-batch-FCR7RX6U.js} +7 -20
  132. package/dist/renderSetupWorker.js +9 -1
  133. package/dist/{resolver-EDUM4DHG.js → resolver-4SPHOGY7.js} +5 -4
  134. package/dist/{sherpa-QEM5XYHD.js → sherpa-VMADZBF7.js} +7 -7
  135. package/dist/skills/media-use/SKILL.md +3 -3
  136. package/dist/skills/media-use/audio/references/requirements.md +7 -7
  137. package/dist/skills/media-use/audio/references/sfx.md +19 -13
  138. package/dist/skills/media-use/audio/scripts/audio.mjs +9 -9
  139. package/dist/skills/media-use/audio/scripts/audio.test.mjs +17 -10
  140. package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +7 -3
  141. package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +22 -3
  142. package/dist/skills/media-use/audio/scripts/lib/openverse.mjs +134 -0
  143. package/dist/skills/media-use/audio/scripts/lib/sfx.mjs +120 -89
  144. package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +222 -12
  145. package/dist/skills/media-use/references/audio.md +1 -1
  146. package/dist/skills/media-use/references/resolve.md +1 -1
  147. package/dist/skills/media-use/references/setup-providers.md +13 -12
  148. package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +4 -7
  149. package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +5 -5
  150. package/dist/skills/media-use/scripts/lib/manifest.d.mts +1 -0
  151. package/dist/skills/media-use/scripts/lib/manifest.mjs +9 -6
  152. package/dist/skills/media-use/scripts/lib/openverse.mjs +134 -0
  153. package/dist/skills/media-use/scripts/lib/openverse.test.mjs +219 -0
  154. package/dist/skills/media-use/scripts/lib/registry.mjs +4 -2
  155. package/dist/skills/media-use/scripts/lib/registry.test.mjs +13 -13
  156. package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -13
  157. package/dist/skills/media-use/scripts/resolve.mjs +45 -55
  158. package/dist/{skills-FSZK6FIG.js → skills-7LBLAEH4.js} +5 -5
  159. package/dist/{skillsUpdateCheck-3354HXDJ.js → skillsUpdateCheck-AHK7CQUP.js} +3 -3
  160. package/dist/{snapshot-5VVMFEMM.js → snapshot-DOS6NQXM.js} +29 -28
  161. package/dist/{src-RYILCNU7.js → src-J6KABXGZ.js} +8 -8
  162. package/dist/{src-ZGMLMQ3B.js → src-VFTQPSQD.js} +4 -4
  163. package/dist/{staticProjectServer-PIVSGEAO.js → staticProjectServer-2YNWMUSU.js} +15 -14
  164. package/dist/studio/assets/{hyperframes-player-B04Yx96S.js → hyperframes-player-DohJxMIU.js} +2 -2
  165. package/dist/studio/assets/{index-D2e0J6kh.js → index-BOkm4Ooc.js} +101 -101
  166. package/dist/studio/assets/{index-D9CDX_Rr.js → index-DfwtrPPt.js} +1 -1
  167. package/dist/studio/index.html +1 -1
  168. package/dist/{studio-api-PHADR6VB.js → studio-api-NEBM56HH.js} +8 -8
  169. package/dist/{studioServer-5AVDKN5V.js → studioServer-LYDRHW7D.js} +45 -39
  170. package/dist/{telemetry-JCTHMPSB.js → telemetry-FAYON6XS.js} +3 -3
  171. package/dist/{timeline-QU2F6R2M.js → timeline-UKJ53XLC.js} +16 -16
  172. package/dist/{tokens-YYK4G36C.js → tokens-SO3ZXEFM.js} +2 -2
  173. package/dist/{transcribe-7ORH7R6O.js → transcribe-IM5UNBSH.js} +6 -6
  174. package/dist/{transcribe-PRG4FLLA.js → transcribe-PS5XSTXN.js} +12 -12
  175. package/dist/{updateCheck-NV7QNANK.js → updateCheck-ZV422M72.js} +2 -2
  176. package/dist/{upgrade-UZXN36J2.js → upgrade-GHG5FWZJ.js} +2 -2
  177. package/dist/{urlDownloader-AW57H722.js → urlDownloader-BOLOMGC7.js} +4 -4
  178. package/dist/{validate-QD53ABUM.js → validate-K4ZGXH2M.js} +20 -20
  179. package/dist/{video-VLVPYQQR.js → video-HUNOZDLT.js} +5 -5
  180. package/package.json +1 -1
  181. package/dist/chunk-BIV5HVTQ.js +0 -3803
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-TVDXMJ43.js";
22
+ } from "./chunk-GBWSBTEE.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -54,8 +54,9 @@ import {
54
54
  scanProjectMediaCodecMap,
55
55
  shouldPrewarmProxy,
56
56
  waitForProxy
57
- } from "./chunk-T4HL3SZH.js";
57
+ } from "./chunk-AGHHZIZN.js";
58
58
  import {
59
+ HistoryBusyError,
59
60
  MAX_WINDOW_IDLE_MS,
60
61
  STUDIO_SIGNATURE_MANIFEST_PATHS,
61
62
  UNDO_MODES,
@@ -67,7 +68,7 @@ import {
67
68
  resolveProjectAndSignature,
68
69
  resolveProjectSignature,
69
70
  settledFileTag
70
- } from "./chunk-JGYHWVXQ.js";
71
+ } from "./chunk-GMJ3ILLW.js";
71
72
  import {
72
73
  STUDIO_MOTION_PATH,
73
74
  createStudioMotionRenderBodyScript,
@@ -93,9 +94,8 @@ import {
93
94
  SYSTEM_FONT_SIZE_LIMIT,
94
95
  collectFontFileEntries,
95
96
  fontDirectories,
96
- getSystemProfilerFamilies,
97
97
  locateSystemFont
98
- } from "./chunk-TJSTGSAW.js";
98
+ } from "./chunk-7FMUTGOH.js";
99
99
  import {
100
100
  atomicTempPath,
101
101
  createFileAtomically,
@@ -103,7 +103,7 @@ import {
103
103
  } from "./chunk-EOVYQ3IG.js";
104
104
  import {
105
105
  addScenePartsManifest
106
- } from "./chunk-P24X6CGY.js";
106
+ } from "./chunk-FAORS3UR.js";
107
107
  import {
108
108
  ensureHfIds,
109
109
  stampHfIdsInPlace
@@ -117,7 +117,7 @@ import {
117
117
  parseFps,
118
118
  parsePreviewProxyBox,
119
119
  sameInstant
120
- } from "./chunk-O3J7BHBU.js";
120
+ } from "./chunk-QZUVPWC4.js";
121
121
  import {
122
122
  AFTER_FONTS_SCRIPT_TYPE,
123
123
  RUNTIME_BOOTSTRAP_ATTR,
@@ -131,7 +131,7 @@ import {
131
131
  resolveRateSpec,
132
132
  sourceTimeAt,
133
133
  stripEmbeddedRuntimeScripts
134
- } from "./chunk-BIV5HVTQ.js";
134
+ } from "./chunk-6M3IPJS6.js";
135
135
  import {
136
136
  HTML_ATTRIBUTE_ENTITIES,
137
137
  MagicString,
@@ -5497,7 +5497,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5497
5497
  let block = extractGsapScriptBlock(html);
5498
5498
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5499
5499
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5500
- const { GSAP_CDN } = await import("./dist-VKLSNKRZ.js");
5500
+ const { GSAP_CDN } = await import("./dist-IDZRZHGE.js");
5501
5501
  const bootstrap = [
5502
5502
  `<script src="${GSAP_CDN}"></script>`,
5503
5503
  "<script>",
@@ -9183,10 +9183,6 @@ function collectFontsFromDir(dir) {
9183
9183
  function listInstalledFontFamilies() {
9184
9184
  if (cachedFonts) return cachedFonts;
9185
9185
  const families = /* @__PURE__ */ new Set();
9186
- for (const family of getSystemProfilerFamilies()) {
9187
- families.add(family);
9188
- if (families.size >= MAX_FONT_RESULTS) break;
9189
- }
9190
9186
  for (const dir of fontDirectories()) {
9191
9187
  for (const family of collectFontsFromDir(dir)) {
9192
9188
  families.add(family);
@@ -9684,13 +9680,43 @@ function nextStep(history, direction) {
9684
9680
  const paths = target.files.map((file) => file.path);
9685
9681
  return { id: target.id, label: target.label, endedAt: target.endedAt, paths };
9686
9682
  }
9683
+ var LOOPBACK = /* @__PURE__ */ new Set(["127.0.0.1", "localhost", "[::1]"]);
9684
+ var FORWARD_DEADLINE_MS = 5e3;
9685
+ function ownerRoute(c, error) {
9686
+ if (!(error instanceof HistoryBusyError) || !error.url || !URL.canParse(error.url)) return null;
9687
+ const owner = new URL(error.url);
9688
+ if (owner.protocol !== "http:" || !LOOPBACK.has(owner.hostname)) return null;
9689
+ const rest = c.req.path.replace(/^.*?\/projects\/[^/]+\/history/, "");
9690
+ return `${owner.href.replace(/\/$/, "")}${rest}${new URL(c.req.url).search}`;
9691
+ }
9692
+ async function forward(c, target) {
9693
+ const token = c.req.header("X-Hyperframes-Write-Token");
9694
+ const reads = c.req.method === "GET" || c.req.method === "HEAD";
9695
+ const reply = await fetch(target, {
9696
+ method: c.req.method,
9697
+ headers: {
9698
+ "content-type": c.req.header("content-type") ?? "application/json",
9699
+ ...token && { "X-Hyperframes-Write-Token": token }
9700
+ },
9701
+ ...!reads && { body: await c.req.arrayBuffer() },
9702
+ signal: AbortSignal.timeout(FORWARD_DEADLINE_MS)
9703
+ });
9704
+ const type = reply.headers.get("content-type") ?? "application/json";
9705
+ return new Response(await reply.arrayBuffer(), {
9706
+ status: reply.status,
9707
+ headers: { "content-type": type }
9708
+ });
9709
+ }
9687
9710
  async function withHistory(adapter, c, task) {
9688
- const history = await historyOf(adapter, c);
9689
- if (!history) return c.json({ error: "This project has no history here." }, 404);
9690
9711
  try {
9691
- return c.json(await task(history, await bodyOf(c)) ?? null);
9712
+ const history = await historyOf(adapter, c);
9713
+ if (!history) return c.json({ error: "This project has no history here." }, 404);
9714
+ const result = await task(history, await bodyOf(c));
9715
+ return result instanceof Response ? result : c.json(result ?? null);
9692
9716
  } catch (error) {
9693
- return c.json({ error: error instanceof Error ? error.message : String(error) }, 409);
9717
+ const target = ownerRoute(c, error);
9718
+ const forwarded = target && await forward(c, target).catch(() => null);
9719
+ return forwarded || c.json({ error: error instanceof Error ? error.message : String(error) }, 409);
9694
9720
  }
9695
9721
  }
9696
9722
  function registerHistoryRoutes(api, adapter) {
@@ -9744,14 +9770,14 @@ function registerHistoryRoutes(api, adapter) {
9744
9770
  return { ok: true };
9745
9771
  })
9746
9772
  );
9747
- api.get(`${base}/blob/:hash`, async (c) => {
9748
- const history = await historyOf(adapter, c);
9749
- const hash = c.req.param("hash") ?? "";
9750
- const missing = () => c.json({ error: "That file is not kept in this project's history." }, 404);
9751
- if (!history || !/^[0-9a-f]{64}$/.test(hash)) return missing();
9752
- const bytes = await history.readBlob(hash).catch(() => null);
9753
- return bytes ? c.body(new Uint8Array(bytes)) : missing();
9754
- });
9773
+ api.get(
9774
+ `${base}/blob/:hash`,
9775
+ (c) => withHistory(adapter, c, async (history) => {
9776
+ const hash = c.req.param("hash") ?? "";
9777
+ const bytes = /^[0-9a-f]{64}$/.test(hash) ? await history.readBlob(hash).catch(() => null) : null;
9778
+ return bytes ? c.body(new Uint8Array(bytes)) : c.json({ error: "That file is not kept in this project's history." }, 404);
9779
+ })
9780
+ );
9755
9781
  api.post(
9756
9782
  `${base}/claim`,
9757
9783
  (c) => withHistory(adapter, c, async (history, body) => {
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-ZFJ5RI7A.js";
9
+ } from "./chunk-RSW6LGGW.js";
10
10
  import "./chunk-Z27A7NUB.js";
11
11
  import "./chunk-5ETJX6WM.js";
12
12
  import {
13
13
  loadProducer
14
- } from "./chunk-CESKA6VO.js";
14
+ } from "./chunk-NSJLCWLG.js";
15
15
  import {
16
16
  formatBytes
17
17
  } from "./chunk-K2FLNJVB.js";
18
- import "./chunk-XJQ6NN2L.js";
19
- import "./chunk-TVDXMJ43.js";
18
+ import "./chunk-ZBUGFQ7Y.js";
19
+ import "./chunk-GBWSBTEE.js";
20
20
  import "./chunk-6JR2XUEE.js";
21
21
  import "./chunk-C6TPGUWD.js";
22
22
  import {
23
23
  CACHE_DIR_NAME,
24
24
  cleanupProxyCache
25
- } from "./chunk-T4HL3SZH.js";
25
+ } from "./chunk-AGHHZIZN.js";
26
26
  import {
27
27
  DEFAULT_HISTORY_ROOT,
28
28
  listProjectHistories,
29
29
  pruneGoneProjectHistories
30
- } from "./chunk-JGYHWVXQ.js";
30
+ } from "./chunk-GMJ3ILLW.js";
31
31
  import "./chunk-FFDC5OWV.js";
32
32
  import "./chunk-A2DMF2Q6.js";
33
33
  import "./chunk-5CS4T6C6.js";
@@ -43,16 +43,16 @@ import {
43
43
  } from "./chunk-ZTZA4UWZ.js";
44
44
  import "./chunk-KLIKCX6Q.js";
45
45
  import "./chunk-EOOEC32M.js";
46
- import "./chunk-TJSTGSAW.js";
46
+ import "./chunk-7FMUTGOH.js";
47
47
  import "./chunk-XRKMITSS.js";
48
48
  import {
49
49
  withMeta
50
- } from "./chunk-K5PU5ISL.js";
50
+ } from "./chunk-GSABLXZV.js";
51
51
  import "./chunk-K4WIOZFP.js";
52
52
  import "./chunk-XUXGIA7H.js";
53
53
  import "./chunk-WERLJGIC.js";
54
54
  import "./chunk-ISN5GRYI.js";
55
- import "./chunk-BNEKKUPG.js";
55
+ import "./chunk-BYFG74OA.js";
56
56
  import "./chunk-3DKN5WKL.js";
57
57
  import "./chunk-EOVYQ3IG.js";
58
58
  import "./chunk-6BEFEWFB.js";
@@ -63,13 +63,13 @@ import {
63
63
  directorySizeBytes,
64
64
  gcExtractionCache,
65
65
  resolveExtractCacheDir
66
- } from "./chunk-7FHFPHEM.js";
67
- import "./chunk-P24X6CGY.js";
66
+ } from "./chunk-VKFYI7AQ.js";
67
+ import "./chunk-FAORS3UR.js";
68
68
  import "./chunk-KCF6GHJP.js";
69
69
  import "./chunk-JYVGYKXG.js";
70
70
  import "./chunk-7KDQAD2W.js";
71
- import "./chunk-O3J7BHBU.js";
72
- import "./chunk-BIV5HVTQ.js";
71
+ import "./chunk-QZUVPWC4.js";
72
+ import "./chunk-6M3IPJS6.js";
73
73
  import "./chunk-VC76R6W2.js";
74
74
  import "./chunk-UJKQWGFF.js";
75
75
  import "./chunk-YMS5FOMC.js";
package/dist/cli.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-ISN5GRYI.js";
42
42
  import {
43
43
  VERSION
44
- } from "./chunk-BNEKKUPG.js";
44
+ } from "./chunk-BYFG74OA.js";
45
45
  import "./chunk-M2WBOQ2Q.js";
46
46
 
47
47
  // src/cli.ts
@@ -91,7 +91,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
91
91
  }
92
92
  async function reportCommandFailure(command2, err) {
93
93
  try {
94
- const { trackCommandFailure } = await import("./events-SV46AWMI.js");
94
+ const { trackCommandFailure } = await import("./events-VL2JIO4R.js");
95
95
  trackCommandFailure(command2, err);
96
96
  } catch {
97
97
  }
@@ -171,55 +171,55 @@ async function assertStudioWorkspaceBuilt() {
171
171
  });
172
172
  }
173
173
  var commandLoaders = {
174
- init: () => import("./init-TSRTMVRN.js").then((m) => m.default),
175
- add: () => import("./add-7GLP4BPM.js").then((m) => m.default),
176
- catalog: () => import("./catalog-SG3ZIS45.js").then((m) => m.default),
174
+ init: () => import("./init-AG6YVVJN.js").then((m) => m.default),
175
+ add: () => import("./add-VMMGTSGT.js").then((m) => m.default),
176
+ catalog: () => import("./catalog-2LWFMJM3.js").then((m) => m.default),
177
177
  "media-use": () => import("./media-use-4XXGABIL.js").then((m) => m.default),
178
- play: () => import("./play-LBPOOD3V.js").then((m) => m.default),
179
- present: () => import("./present-PWEN5SDL.js").then((m) => m.default),
180
- preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-IS32RLKM.js").then((m) => m.default)),
181
- publish: () => import("./publish-OJYF37FY.js").then((m) => m.default),
182
- open: () => import("./open-JNNJSNTH.js").then((m) => m.default),
183
- "catch-up": () => import("./catch-up-ETXUT6Q5.js").then((m) => m.default),
184
- render: () => import("./render-QBQYF2NC.js").then((m) => m.default),
185
- lint: () => import("./lint-MBYIDFKS.js").then((m) => m.default),
186
- check: () => import("./check-KXNNIEUR.js").then((m) => m.default),
187
- beats: () => import("./beats-I6AGLTLW.js").then((m) => m.default),
188
- audio: () => import("./audio-OKDGU7TY.js").then((m) => m.default),
189
- "normalize-audio": () => import("./normalize-audio-XCGB2IQP.js").then((m) => m.default),
190
- inspect: () => import("./inspect-VTZXXDJ4.js").then((m) => m.default),
191
- keyframes: () => import("./keyframes-6DN7BOYJ.js").then((m) => m.default),
192
- layout: () => import("./layout-FFGRLVK4.js").then((m) => m.default),
193
- info: () => import("./info-DJ6VNESS.js").then((m) => m.default),
194
- compositions: () => import("./compositions-ERZVZBYW.js").then((m) => m.default),
195
- timeline: () => import("./timeline-QU2F6R2M.js").then((m) => m.default),
196
- history: () => import("./history-NS4PKG4S.js").then((m) => m.default),
197
- benchmark: () => import("./benchmark-NBSV7PNB.js").then((m) => m.default),
198
- browser: () => import("./browser-FPEL5FGW.js").then((m) => m.default),
199
- "remove-background": () => import("./remove-background-HO6YL2HU.js").then((m) => m.default),
200
- transcribe: () => import("./transcribe-PRG4FLLA.js").then((m) => m.default),
178
+ play: () => import("./play-TQWHYMAT.js").then((m) => m.default),
179
+ present: () => import("./present-U5OFT6IF.js").then((m) => m.default),
180
+ preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-WWTDQQSB.js").then((m) => m.default)),
181
+ publish: () => import("./publish-WZD4NLWM.js").then((m) => m.default),
182
+ open: () => import("./open-T57KLGFX.js").then((m) => m.default),
183
+ "catch-up": () => import("./catch-up-OWUGMOBS.js").then((m) => m.default),
184
+ render: () => import("./render-FTVXKXSQ.js").then((m) => m.default),
185
+ lint: () => import("./lint-6CL2R2FK.js").then((m) => m.default),
186
+ check: () => import("./check-7BK6UM3M.js").then((m) => m.default),
187
+ beats: () => import("./beats-F2GFGFCV.js").then((m) => m.default),
188
+ audio: () => import("./audio-RQUGFWYT.js").then((m) => m.default),
189
+ "normalize-audio": () => import("./normalize-audio-T5QMN476.js").then((m) => m.default),
190
+ inspect: () => import("./inspect-TT66DYEC.js").then((m) => m.default),
191
+ keyframes: () => import("./keyframes-CJJGCW3R.js").then((m) => m.default),
192
+ layout: () => import("./layout-BSDCTMJK.js").then((m) => m.default),
193
+ info: () => import("./info-QHRJW6Y3.js").then((m) => m.default),
194
+ compositions: () => import("./compositions-GOVXHFXC.js").then((m) => m.default),
195
+ timeline: () => import("./timeline-UKJ53XLC.js").then((m) => m.default),
196
+ history: () => import("./history-P4LA65T5.js").then((m) => m.default),
197
+ benchmark: () => import("./benchmark-XPQYX3OX.js").then((m) => m.default),
198
+ browser: () => import("./browser-QCV62F7R.js").then((m) => m.default),
199
+ "remove-background": () => import("./remove-background-Q7CQ3PJF.js").then((m) => m.default),
200
+ transcribe: () => import("./transcribe-PS5XSTXN.js").then((m) => m.default),
201
201
  usage: () => import("./usage-HG4WMM7A.js").then((m) => m.default),
202
- models: () => import("./models-TC4K6UQP.js").then((m) => m.default),
202
+ models: () => import("./models-INX67ETR.js").then((m) => m.default),
203
203
  tts: () => import("./tts-RE227GFP.js").then((m) => m.default),
204
204
  docs: () => import("./docs-MPOM3PHH.js").then((m) => m.default),
205
- doctor: () => import("./doctor-P4QZQRCB.js").then((m) => m.default),
206
- clean: () => import("./clean-ARH23EGW.js").then((m) => m.default),
207
- upgrade: () => import("./upgrade-UZXN36J2.js").then((m) => m.default),
208
- skills: () => import("./skills-FSZK6FIG.js").then((m) => m.default),
209
- feedback: () => import("./feedback-XS4IK6SW.js").then((m) => m.default),
205
+ doctor: () => import("./doctor-ND3FZM6S.js").then((m) => m.default),
206
+ clean: () => import("./clean-FCBNQ3W2.js").then((m) => m.default),
207
+ upgrade: () => import("./upgrade-GHG5FWZJ.js").then((m) => m.default),
208
+ skills: () => import("./skills-7LBLAEH4.js").then((m) => m.default),
209
+ feedback: () => import("./feedback-PKVQWCVT.js").then((m) => m.default),
210
210
  telemetry: () => import("./telemetry-CQYHCCPL.js").then((m) => m.default),
211
- events: () => import("./events-F2UVJQIC.js").then((m) => m.default),
212
- validate: () => import("./validate-QD53ABUM.js").then((m) => m.default),
213
- snapshot: () => import("./snapshot-5VVMFEMM.js").then((m) => m.default),
214
- "media-treatment": () => import("./media-treatment-LGWWRXAX.js").then((m) => m.mediaTreatmentCommand),
215
- "grade-compare": () => import("./grade-compare-F46JWE4O.js").then((m) => m.default),
216
- compare: () => import("./compare-Z4YNESYN.js").then((m) => m.default),
217
- capture: () => import("./capture-5BRJJMZB.js").then((m) => m.default),
218
- lambda: () => import("./lambda-RCOIEGL6.js").then((m) => m.default),
219
- cloudrun: () => import("./cloudrun-HBVA5UZB.js").then((m) => m.default),
220
- cloud: () => import("./cloud-GBY7MRZM.js").then((m) => m.default),
221
- auth: () => import("./auth-QWYNCU5U.js").then((m) => m.default),
222
- figma: () => import("./figma-DELISEUP.js").then((m) => m.default)
211
+ events: () => import("./events-27JU7QRQ.js").then((m) => m.default),
212
+ validate: () => import("./validate-K4ZGXH2M.js").then((m) => m.default),
213
+ snapshot: () => import("./snapshot-DOS6NQXM.js").then((m) => m.default),
214
+ "media-treatment": () => import("./media-treatment-KHJX73WZ.js").then((m) => m.mediaTreatmentCommand),
215
+ "grade-compare": () => import("./grade-compare-CJ2ROYD6.js").then((m) => m.default),
216
+ compare: () => import("./compare-E4332OOZ.js").then((m) => m.default),
217
+ capture: () => import("./capture-WE32B5UZ.js").then((m) => m.default),
218
+ lambda: () => import("./lambda-3BMEOSP7.js").then((m) => m.default),
219
+ cloudrun: () => import("./cloudrun-CDFL5JBL.js").then((m) => m.default),
220
+ cloud: () => import("./cloud-3FZBQBOM.js").then((m) => m.default),
221
+ auth: () => import("./auth-I3FNB6N2.js").then((m) => m.default),
222
+ figma: () => import("./figma-FZ4T4SE3.js").then((m) => m.default)
223
223
  };
224
224
  var subCommands = Object.fromEntries(
225
225
  Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
@@ -243,7 +243,7 @@ var _printStalePinNotice;
243
243
  var _printSkillsUpdateNotice;
244
244
  var telemetryReady = Promise.resolve();
245
245
  if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
246
- telemetryReady = import("./telemetry-JCTHMPSB.js").then((mod) => {
246
+ telemetryReady = import("./telemetry-FAYON6XS.js").then((mod) => {
247
247
  _flushSync = mod.flushSync;
248
248
  _trackCliError = mod.trackCliError;
249
249
  _trackCommandResult = mod.trackCommandResult;
@@ -253,23 +253,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
253
253
  });
254
254
  }
255
255
  if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
256
- import("./autoUpdate-EDJJPWAU.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
256
+ import("./autoUpdate-IBAS4JVK.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
257
257
  });
258
- import("./updateCheck-NV7QNANK.js").then(async (mod) => {
258
+ import("./updateCheck-ZV422M72.js").then(async (mod) => {
259
259
  _printUpdateNotice = mod.printUpdateNotice;
260
260
  _printStalePinNotice = mod.printStalePinNotice;
261
261
  const result = mod.cachedUpdateCheck();
262
262
  if (result.updateAvailable) {
263
- const auto = await import("./autoUpdate-EDJJPWAU.js").catch(() => null);
263
+ const auto = await import("./autoUpdate-IBAS4JVK.js").catch(() => null);
264
264
  auto?.scheduleBackgroundInstall(result.latest, result.current);
265
265
  }
266
266
  }).catch(() => {
267
267
  });
268
- import("./skillsUpdateCheck-3354HXDJ.js").then((mod) => {
268
+ import("./skillsUpdateCheck-AHK7CQUP.js").then((mod) => {
269
269
  _printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
270
270
  }).catch(() => {
271
271
  });
272
- import("./backgroundChecks-KQR6FGVU.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
272
+ import("./backgroundChecks-7UQBIPQC.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
273
273
  });
274
274
  }
275
275
  var _appHistoryNotice = null;
@@ -387,7 +387,7 @@ process.on("unhandledRejection", (reason) => {
387
387
  emitCliErrorEvent("unhandled_rejection", error);
388
388
  });
389
389
  async function showUsage(cmd, parent) {
390
- const { showUsage: impl } = await import("./help-XVEBMX3U.js");
390
+ const { showUsage: impl } = await import("./help-OJ3QDJYS.js");
391
391
  return impl(cmd, parent);
392
392
  }
393
393
  async function showRequestedUsage() {
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
55
55
  var cloud_default = defineCommand({
56
56
  meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
57
57
  subCommands: {
58
- render: () => import("./render-Q6QAXJCN.js").then((m) => m.default),
59
- list: () => import("./list-KEZDFW5R.js").then((m) => m.default),
60
- get: () => import("./get-DNGXCEFB.js").then((m) => m.default),
61
- delete: () => import("./delete-NWSW3BET.js").then((m) => m.default)
58
+ render: () => import("./render-RZUU76V5.js").then((m) => m.default),
59
+ list: () => import("./list-5VYOLEFN.js").then((m) => m.default),
60
+ get: () => import("./get-HUAIHWXR.js").then((m) => m.default),
61
+ delete: () => import("./delete-JYZTEBLQ.js").then((m) => m.default)
62
62
  },
63
63
  async run({ args }) {
64
64
  if (!args._?.[0]) console.log(HELP);
@@ -5,16 +5,18 @@ 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
+ isMissingPackageError,
9
+ missingPackageMessage,
8
10
  parseOutputResolutionFlag
9
- } from "./chunk-EEP5Y5IE.js";
11
+ } from "./chunk-FE2XTCTM.js";
10
12
  import {
11
13
  reportVariableIssues,
12
14
  resolveVariablesArg,
13
15
  validateVariablesAgainstProject
14
- } from "./chunk-RZKQ3G6B.js";
16
+ } from "./chunk-T5LGOTQR.js";
15
17
  import {
16
18
  defaultCloudFps
17
- } from "./chunk-EFP25BUY.js";
19
+ } from "./chunk-JAERN4RH.js";
18
20
  import "./chunk-K2FLNJVB.js";
19
21
  import "./chunk-442JNXRM.js";
20
22
  import {
@@ -29,8 +31,8 @@ import {
29
31
  import {
30
32
  DISTRIBUTED_FPS,
31
33
  isDistributedFps
32
- } from "./chunk-O3J7BHBU.js";
33
- import "./chunk-BIV5HVTQ.js";
34
+ } from "./chunk-QZUVPWC4.js";
35
+ import "./chunk-6M3IPJS6.js";
34
36
  import "./chunk-VC76R6W2.js";
35
37
  import "./chunk-UJKQWGFF.js";
36
38
  import "./chunk-YMS5FOMC.js";
@@ -109,14 +111,10 @@ function loadCloudRunAdapter() {
109
111
  return cloudRunAdapterPromise;
110
112
  }
111
113
  function isMissingCloudRunAdapterError(error) {
112
- return error?.code === "ERR_MODULE_NOT_FOUND" && normalizeErrorMessage(error).includes("@hyperframes/gcp-cloud-run");
114
+ return isMissingPackageError(error, "@hyperframes/gcp-cloud-run");
113
115
  }
114
116
  function missingCloudRunAdapterMessage(subcommand) {
115
- return `${c.error("@hyperframes/gcp-cloud-run is not installed.")} The ${c.accent(`hyperframes cloudrun ${subcommand}`)} command needs it at runtime.
116
- Install it alongside the CLI:
117
- ${c.accent("npm install -g @hyperframes/gcp-cloud-run")}
118
- Or, for an opt-in project setup:
119
- ${c.accent("npm install @hyperframes/gcp-cloud-run")}`;
117
+ return missingPackageMessage("@hyperframes/gcp-cloud-run", `hyperframes cloudrun ${subcommand}`);
120
118
  }
121
119
  var cloudrun_default = defineCommand({
122
120
  meta: { name: "cloudrun", description: "Deploy and drive renders on Google Cloud Run" },
@@ -16,44 +16,45 @@ import "./chunk-MRF4AMKD.js";
16
16
  import {
17
17
  openSettledCompositionPage,
18
18
  seekCompositionTimeline
19
- } from "./chunk-DCG22HKT.js";
20
- import "./chunk-WAVFNZB7.js";
19
+ } from "./chunk-D2QELIQB.js";
20
+ import "./chunk-TZ3I23TZ.js";
21
21
  import "./chunk-FH7WODJH.js";
22
- import "./chunk-TEFHMDVR.js";
22
+ import "./chunk-LMMFO5UV.js";
23
23
  import "./chunk-WICIV6R3.js";
24
- import "./chunk-EFP25BUY.js";
24
+ import "./chunk-JAERN4RH.js";
25
25
  import "./chunk-K2FLNJVB.js";
26
26
  import {
27
27
  serveStaticProjectHtml
28
- } from "./chunk-QD5VJOQK.js";
28
+ } from "./chunk-7YZSOHSC.js";
29
29
  import "./chunk-X7MTZ4T2.js";
30
- import "./chunk-CNP6AMFM.js";
30
+ import "./chunk-SLTUINB4.js";
31
31
  import "./chunk-XUHOIDKG.js";
32
- import "./chunk-XJQ6NN2L.js";
33
- import "./chunk-TVDXMJ43.js";
32
+ import "./chunk-ZBUGFQ7Y.js";
33
+ import "./chunk-GBWSBTEE.js";
34
34
  import "./chunk-6JR2XUEE.js";
35
35
  import "./chunk-C6TPGUWD.js";
36
- import "./chunk-T4HL3SZH.js";
37
- import "./chunk-JGYHWVXQ.js";
36
+ import "./chunk-AGHHZIZN.js";
37
+ import "./chunk-GMJ3ILLW.js";
38
38
  import "./chunk-FFDC5OWV.js";
39
- import "./chunk-Q5K73VW3.js";
39
+ import "./chunk-PXA4S6OE.js";
40
40
  import "./chunk-442JNXRM.js";
41
41
  import "./chunk-RGHQID2E.js";
42
- import "./chunk-J5Z56PU3.js";
42
+ import "./chunk-EDGJ2OMH.js";
43
43
  import "./chunk-XT7X6QCP.js";
44
44
  import "./chunk-4YYJOFKS.js";
45
45
  import "./chunk-HVW7ABXD.js";
46
- import "./chunk-5SQHHBAR.js";
47
- import "./chunk-5FWVFCQM.js";
48
- import "./chunk-EELTMBCC.js";
46
+ import "./chunk-JMJTXBVF.js";
47
+ import "./chunk-JHOCK3DG.js";
48
+ import "./chunk-XGFYN53T.js";
49
+ import "./chunk-RTW6WSC7.js";
49
50
  import "./chunk-AWDFDFI3.js";
50
51
  import "./chunk-P6LJ4Y32.js";
51
52
  import "./chunk-GMECXFAN.js";
52
53
  import "./chunk-5CS4T6C6.js";
53
54
  import {
54
55
  trackCompareSheet
55
- } from "./chunk-FQJDV2RI.js";
56
- import "./chunk-FSX7GTBB.js";
56
+ } from "./chunk-6I24ZSCR.js";
57
+ import "./chunk-5HLJ4JMB.js";
57
58
  import "./chunk-VWG7OQKU.js";
58
59
  import "./chunk-QWQ6GQTI.js";
59
60
  import {
@@ -68,24 +69,24 @@ import {
68
69
  } from "./chunk-ZTZA4UWZ.js";
69
70
  import "./chunk-KLIKCX6Q.js";
70
71
  import "./chunk-EOOEC32M.js";
71
- import "./chunk-TJSTGSAW.js";
72
+ import "./chunk-7FMUTGOH.js";
72
73
  import {
73
74
  withMeta
74
- } from "./chunk-K5PU5ISL.js";
75
+ } from "./chunk-GSABLXZV.js";
75
76
  import "./chunk-K4WIOZFP.js";
76
77
  import "./chunk-XUXGIA7H.js";
77
78
  import "./chunk-WERLJGIC.js";
78
79
  import "./chunk-ISN5GRYI.js";
79
- import "./chunk-BNEKKUPG.js";
80
+ import "./chunk-BYFG74OA.js";
80
81
  import "./chunk-EOVYQ3IG.js";
81
82
  import "./chunk-XT6MXC7A.js";
82
- import "./chunk-7FHFPHEM.js";
83
- import "./chunk-P24X6CGY.js";
83
+ import "./chunk-VKFYI7AQ.js";
84
+ import "./chunk-FAORS3UR.js";
84
85
  import "./chunk-KCF6GHJP.js";
85
86
  import "./chunk-JYVGYKXG.js";
86
87
  import "./chunk-7KDQAD2W.js";
87
- import "./chunk-O3J7BHBU.js";
88
- import "./chunk-BIV5HVTQ.js";
88
+ import "./chunk-QZUVPWC4.js";
89
+ import "./chunk-6M3IPJS6.js";
89
90
  import "./chunk-VC76R6W2.js";
90
91
  import "./chunk-UJKQWGFF.js";
91
92
  import "./chunk-YMS5FOMC.js";
@@ -289,7 +290,7 @@ function cleanupPreparedCompareVariants(variants) {
289
290
  }
290
291
  async function renderCompareVariant(variant, opts) {
291
292
  try {
292
- const { bundleToSingleHtml } = await import("./compiler-6WJ5SVTD.js");
293
+ const { bundleToSingleHtml } = await import("./compiler-GU5GPO5A.js");
293
294
  const html = await bundleToSingleHtml(variant.projectDir);
294
295
  const server = await serveStaticProjectHtml(variant.projectDir, html);
295
296
  try {
@@ -24,7 +24,7 @@ import {
24
24
  scopeCssToComposition,
25
25
  validateHyperframeHtmlContract,
26
26
  wrapScopedCompositionScript
27
- } from "./chunk-P24X6CGY.js";
27
+ } from "./chunk-FAORS3UR.js";
28
28
  import "./chunk-KCF6GHJP.js";
29
29
  import {
30
30
  AFTER_FONTS_SCRIPT_TYPE,
@@ -56,7 +56,7 @@ import {
56
56
  shouldClampResolvedMediaDuration,
57
57
  stripEmbeddedRuntimeScripts,
58
58
  styleElementsFor
59
- } from "./chunk-BIV5HVTQ.js";
59
+ } from "./chunk-6M3IPJS6.js";
60
60
  import "./chunk-VC76R6W2.js";
61
61
  import "./chunk-UJKQWGFF.js";
62
62
  import "./chunk-YMS5FOMC.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadRender,
9
9
  runAssetImport
10
- } from "./chunk-7635SDI5.js";
10
+ } from "./chunk-77QCYRQH.js";
11
11
  import {
12
12
  FigmaClientError,
13
13
  createFigmaClient,
@@ -16,7 +16,7 @@ import {
16
16
  readBindings,
17
17
  resolveBindings,
18
18
  withFigmaErrors
19
- } from "./chunk-PVTHDNDZ.js";
19
+ } from "./chunk-L32QQH2K.js";
20
20
  import "./chunk-K2FLNJVB.js";
21
21
  import {
22
22
  defineCommand
@@ -159,7 +159,7 @@ var component_default = defineCommand({
159
159
  `${result.unresolved.length} binding(s) reference tokens not yet imported \u2014 colors baked as literals (flagged data-figma-unresolved). Run \`hyperframes figma tokens\` on the source/library file, then re-import to link them.`
160
160
  );
161
161
  }
162
- const { trackFigmaImport } = await import("./telemetry-JCTHMPSB.js");
162
+ const { trackFigmaImport } = await import("./telemetry-FAYON6XS.js");
163
163
  trackFigmaImport({
164
164
  phase: "component",
165
165
  unresolvedBindings: result.unresolved.length,