hyperframes 0.8.219 → 0.8.221

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 (196) hide show
  1. package/dist/{add-2MXC4QCY.js → add-7CVO7K6M.js} +14 -11
  2. package/dist/{agentPromptGenerator-FIT75HWJ.js → agentPromptGenerator-YFC2SJLF.js} +6 -6
  3. package/dist/{animatedGifPrep-MFUNECD3.js → animatedGifPrep-YSMY5GU2.js} +6 -6
  4. package/dist/api.js +16 -16
  5. package/dist/{asset-T6BI53SJ.js → asset-ZVKHSO3M.js} +2 -2
  6. package/dist/{assetCataloger-DP4SHXWI.js → assetCataloger-6IBSEOK7.js} +7 -7
  7. package/dist/{audio-SRQLO7BP.js → audio-JUV3TVSW.js} +14 -13
  8. package/dist/{auth-JONDB26P.js → auth-2J6FP462.js} +2 -2
  9. package/dist/{autoUpdate-YKJOOXCI.js → autoUpdate-ML6EZK6D.js} +2 -2
  10. package/dist/{backgroundChecks-GSTIIVNR.js → backgroundChecks-MAWP2REX.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-ESAPNTE3.js → batchRender-Z7MGNJZH.js} +3 -3
  13. package/dist/{beats-OOVMTM4B.js → beats-LRZOZUUQ.js} +8 -8
  14. package/dist/{benchmark-WBFYHOSI.js → benchmark-XJWLDTIL.js} +8 -8
  15. package/dist/{browser-AZZAO24H.js → browser-STEVEWWA.js} +4 -4
  16. package/dist/{bundleWithLocalizedFonts-GP4MD6DJ.js → bundleWithLocalizedFonts-WH63ZWUT.js} +2 -2
  17. package/dist/{capture-MGRV5VWE.js → capture-U3ZT3GNI.js} +12 -12
  18. package/dist/{capture-PN7GEEAB.js → capture-VB5ID7HT.js} +3 -3
  19. package/dist/{captureCompositionFrame-JYGGPKFZ.js → captureCompositionFrame-MXJ3WO2R.js} +11 -11
  20. package/dist/{catalog-D42NLFZT.js → catalog-ICGHSRPZ.js} +12 -11
  21. package/dist/{catch-up-TUL26VOB.js → catch-up-DJPQKXQB.js} +4 -4
  22. package/dist/{check-DBBH7DI3.js → check-TL7AGWPO.js} +39 -38
  23. package/dist/{checkAudio-UJ7XTDRD.js → checkAudio-GPTU6EGB.js} +9 -9
  24. package/dist/{checkBrowser-3YIZYXIR.js → checkBrowser-FG5DAW2R.js} +31 -30
  25. package/dist/{chunk-NP2QEAEW.js → chunk-2ZNURTH5.js} +9 -9
  26. package/dist/{chunk-ILCIWNPQ.js → chunk-322M35EB.js} +3 -3
  27. package/dist/{chunk-DWMI7CKI.js → chunk-3PJ3HVLG.js} +1 -1
  28. package/dist/{chunk-IGZHC55Z.js → chunk-3STL4WJ6.js} +72 -32
  29. package/dist/{chunk-3KDODK5M.js → chunk-4ZM727AO.js} +2 -2
  30. package/dist/{chunk-DMUDI5IH.js → chunk-5YT2KHPO.js} +2 -2
  31. package/dist/{chunk-473HMKSC.js → chunk-625I5VBE.js} +2 -2
  32. package/dist/{chunk-WUABYDXU.js → chunk-67CALYTU.js} +1 -1
  33. package/dist/{chunk-DOZGTBDV.js → chunk-6HKUUBAV.js} +2 -2
  34. package/dist/{chunk-LIWBGRPD.js → chunk-6YW3FEHC.js} +3 -3
  35. package/dist/{chunk-XXLG7GCA.js → chunk-74E7EHVH.js} +1 -1
  36. package/dist/{chunk-LJUFR7G5.js → chunk-7DVR3DL3.js} +7 -7
  37. package/dist/{chunk-2UT32TJS.js → chunk-AW7A27JM.js} +1 -1
  38. package/dist/{chunk-TCV7N2UY.js → chunk-AZI2T2KO.js} +1 -1
  39. package/dist/{chunk-5UIODBMI.js → chunk-AZXDEC2G.js} +1 -1
  40. package/dist/{chunk-FWWJRJB5.js → chunk-BQNTY7J5.js} +1 -1
  41. package/dist/{chunk-BT5UT4XT.js → chunk-D2RQVJLZ.js} +2 -2
  42. package/dist/{chunk-G2E2DHH2.js → chunk-DMCU2ELU.js} +3 -3
  43. package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
  44. package/dist/{chunk-GP5X7V6U.js → chunk-F6WHVEUS.js} +1 -1
  45. package/dist/{chunk-G7ZTD2KJ.js → chunk-FKPJP7KG.js} +5 -5
  46. package/dist/{chunk-BKHRAHV6.js → chunk-GSCFMG4C.js} +2 -2
  47. package/dist/{chunk-QE5JXNSW.js → chunk-H3HC6U4I.js} +10 -10
  48. package/dist/{chunk-U2EUCTYQ.js → chunk-HSHKLYDI.js} +3 -3
  49. package/dist/{chunk-XUOLKUE7.js → chunk-I45R2REQ.js} +1 -1
  50. package/dist/{chunk-FAIFPYRO.js → chunk-IDWJJ7PP.js} +1 -1
  51. package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
  52. package/dist/{chunk-KENUKJRG.js → chunk-JGZUG5V4.js} +2 -2
  53. package/dist/{chunk-BRU66Q24.js → chunk-KQPP4NIZ.js} +2 -2
  54. package/dist/{chunk-33XQUQKN.js → chunk-L63FJVSC.js} +1 -1
  55. package/dist/{chunk-MHZB6QSC.js → chunk-LYZB5CJN.js} +13 -3
  56. package/dist/{chunk-3VIICMJF.js → chunk-M2BCU4Y5.js} +1 -1
  57. package/dist/{chunk-YXZ56JUN.js → chunk-M2F6VGCP.js} +48 -15
  58. package/dist/{chunk-UGDLT4LZ.js → chunk-MEB6HWBM.js} +2 -2
  59. package/dist/{chunk-AU7VGKCP.js → chunk-MXVH6UW6.js} +1 -1
  60. package/dist/{chunk-UWV753SJ.js → chunk-MYNBV7WG.js} +9 -2
  61. package/dist/{chunk-C2G23WQQ.js → chunk-MYXFBIJO.js} +1 -1
  62. package/dist/{chunk-CBZN5JIK.js → chunk-NQOCM4KQ.js} +3 -3
  63. package/dist/{chunk-RYBFHEMZ.js → chunk-NYOQP6DO.js} +1 -1
  64. package/dist/{chunk-CPKBAMI3.js → chunk-O7WR4AHX.js} +14 -14
  65. package/dist/{chunk-K5GGTJJV.js → chunk-OMLDAF44.js} +1 -1
  66. package/dist/{chunk-64MFJSGZ.js → chunk-OOEOJPFY.js} +2 -2
  67. package/dist/{chunk-576ATOOU.js → chunk-OPKSVV4G.js} +2 -2
  68. package/dist/{chunk-KUQOUWJ4.js → chunk-P6FGS4U6.js} +2 -2
  69. package/dist/chunk-Q3PPGPEA.js +5061 -0
  70. package/dist/{chunk-KK5MZQXG.js → chunk-QLQVQQP6.js} +3 -3
  71. package/dist/{chunk-LGMRZWJS.js → chunk-QYUXDFJY.js} +1 -1
  72. package/dist/{chunk-O7YOS36L.js → chunk-ROVRC3CG.js} +2 -2
  73. package/dist/{chunk-XUTPVELE.js → chunk-RVCWVOXM.js} +3 -3
  74. package/dist/{chunk-UR6L2DXM.js → chunk-RVIMLJXC.js} +13 -13
  75. package/dist/{chunk-YATFRFNH.js → chunk-S5GOFDX5.js} +1 -1
  76. package/dist/{chunk-VTLIN7XN.js → chunk-SAKL7SZH.js} +2 -2
  77. package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
  78. package/dist/{chunk-GGDVZ7O4.js → chunk-TMK3MW7B.js} +10 -10
  79. package/dist/{chunk-UDBW6TK4.js → chunk-TNQCXU37.js} +1 -1
  80. package/dist/{chunk-4OWVRHSV.js → chunk-TVT465RJ.js} +5 -5
  81. package/dist/{chunk-VO7IEWOH.js → chunk-U6WH572X.js} +7 -7
  82. package/dist/{chunk-FC7QIE5X.js → chunk-UNQ3CVKW.js} +19 -19
  83. package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
  84. package/dist/chunk-WYKRGEDD.js +62 -0
  85. package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
  86. package/dist/{chunk-JH2AO4ZW.js → chunk-XDTCPMR3.js} +1 -1
  87. package/dist/{chunk-LJB2PF6K.js → chunk-XETZLYGW.js} +1 -1
  88. package/dist/{chunk-542VETC5.js → chunk-Y4GLFHO5.js} +1 -1
  89. package/dist/{chunk-Z537IJJH.js → chunk-YISDQ7YP.js} +4 -4
  90. package/dist/{chunk-BRYOYBO5.js → chunk-YKMFCE5B.js} +1 -1
  91. package/dist/{chunk-7ZRXSZF6.js → chunk-YSZ4VMXI.js} +1 -1
  92. package/dist/{chunk-VP5KECBU.js → chunk-YV2QQUTL.js} +2 -2
  93. package/dist/{chunk-GHWV6PIS.js → chunk-Z7YQEDA5.js} +1 -1
  94. package/dist/{chunk-QEKP7XCN.js → chunk-ZBLSSWSE.js} +1 -1
  95. package/dist/{chunk-TNQ4SSTR.js → chunk-ZKPRJPWN.js} +8 -8
  96. package/dist/{chunk-3MTNYVWM.js → chunk-ZOLKM3VZ.js} +5 -5
  97. package/dist/{clean-YERX334S.js → clean-3NMJWZXK.js} +19 -19
  98. package/dist/cli.js +62 -60
  99. package/dist/{cloud-5XFWROJK.js → cloud-CB3NYNUR.js} +4 -4
  100. package/dist/{cloudrun-5XEDIP77.js → cloudrun-2CTKCIXV.js} +4 -4
  101. package/dist/commands/layout-audit.browser.js +29 -5
  102. package/dist/commands/motion-signature.browser.js +11 -6
  103. package/dist/{compare-THYM62NL.js → compare-FVY3AMTT.js} +28 -27
  104. package/dist/{compiler-SLKHXYCO.js → compiler-SEQRWEEN.js} +3 -3
  105. package/dist/{component-N4FFNYA5.js → component-AEMJRROX.js} +3 -3
  106. package/dist/{compositions-XCM3Z65K.js → compositions-NRBSIBGZ.js} +10 -10
  107. package/dist/{delete-6PIKDOKV.js → delete-T4E53ELR.js} +2 -2
  108. package/dist/{deploy-PT77AP6G.js → deploy-PUF2DW3H.js} +1 -1
  109. package/dist/{dist-VNOJCTQR.js → dist-B6C3DU6I.js} +2 -2
  110. package/dist/{dist-XXBCSQYF.js → dist-VARV35QH.js} +1 -1
  111. package/dist/docs/motion-blur.md +28 -0
  112. package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
  113. package/dist/{doctor-KLDSXKUM.js → doctor-FVBU575B.js} +13 -13
  114. package/dist/{events-OHISH3KL.js → events-DZ5PRR6F.js} +2 -2
  115. package/dist/{events-KEJFQQDQ.js → events-RSPDI7FX.js} +3 -3
  116. package/dist/{feedback-VTLWYGLQ.js → feedback-AALA3OA7.js} +7 -7
  117. package/dist/{ffmpeg-SG3AYA6M.js → ffmpeg-YXKE5CUE.js} +6 -6
  118. package/dist/{figma-5AHFOYPG.js → figma-37R727XZ.js} +3 -3
  119. package/dist/fontLocalizeCli.js +9 -9
  120. package/dist/{get-5VTBUZIR.js → get-L3VKJ6JF.js} +2 -2
  121. package/dist/{gpuPolicy-ODODH5JV.js → gpuPolicy-6QIFFWAI.js} +6 -6
  122. package/dist/{grade-compare-25HQJORH.js → grade-compare-7IN5QDJD.js} +29 -28
  123. package/dist/{heifImagePrep-SPBGWX2L.js → heifImagePrep-AWII25PM.js} +7 -7
  124. package/dist/{help-3AZ4ZSWZ.js → help-B4MB7MWW.js} +1 -1
  125. package/dist/{history-KZFZ2MJI.js → history-TQO6AWEQ.js} +7 -7
  126. package/dist/hyperframe.manifest.json +1 -1
  127. package/dist/hyperframe.runtime.iife.js +67 -67
  128. package/dist/hyperframes-player.global.js +1 -1
  129. package/dist/{info-XNYSD2SN.js → info-7CBHVXSG.js} +7 -7
  130. package/dist/{init-C76MX2UE.js → init-D7HKPQ5A.js} +27 -26
  131. package/dist/{inspect-OWDJTC64.js → inspect-VHDQL55M.js} +29 -28
  132. package/dist/{installer-OFIDWMYR.js → installer-EJNLL6SV.js} +4 -4
  133. package/dist/{keyframes-ZBIWACNT.js → keyframes-IFLBMAJP.js} +6 -6
  134. package/dist/{lambda-XS3E4XSL.js → lambda-I7EQULHC.js} +10 -10
  135. package/dist/{layout-HLU3IVDX.js → layout-MOCEANRO.js} +29 -28
  136. package/dist/{lint-DUJ5PM56.js → lint-HFXGSQKN.js} +7 -7
  137. package/dist/{lintProject-I4XPWIQZ.js → lintProject-VCDI6A2W.js} +1 -1
  138. package/dist/{list-KRDQLHDH.js → list-OFYIXVON.js} +2 -2
  139. package/dist/{localPage-KXNSCQIQ.js → localPage-QOOQ5YA2.js} +6 -6
  140. package/dist/{login-4P7LCOB5.js → login-WAG7B4PM.js} +4 -4
  141. package/dist/{manager-USFB6SE2.js → manager-34U5CEFB.js} +7 -7
  142. package/dist/{manager-I4ROBMYK.js → manager-ENFYM32B.js} +1 -1
  143. package/dist/{media-treatment-JOZB3MTT.js → media-treatment-2TLX6NKS.js} +12 -12
  144. package/dist/{models-RZRXHIER.js → models-M2F4WTAR.js} +10 -10
  145. package/dist/{motionShot-3SHLRT3L.js → motionShot-6WCTCV4W.js} +15 -15
  146. package/dist/{normalize-audio-SL2ATLJM.js → normalize-audio-T6PIPWOT.js} +8 -8
  147. package/dist/{open-TCGY4NB2.js → open-BC5METIY.js} +12 -11
  148. package/dist/{parakeetRunner-ZBO4LR7M.js → parakeetRunner-UXVY7PV2.js} +11 -11
  149. package/dist/{pipeline-7D36B3FW.js → pipeline-GJAJPWPB.js} +9 -9
  150. package/dist/{play-CTBPJFBX.js → play-UCIRUHCU.js} +20 -19
  151. package/dist/{preflight-GFWIOUO3.js → preflight-GVRYYIH5.js} +8 -8
  152. package/dist/{present-GXOHUNFP.js → present-46QLZOK4.js} +15 -15
  153. package/dist/{preview-BWCEXEII.js → preview-HWXMP7WL.js} +23 -21
  154. package/dist/{producer-UME4Q4HH.js → producer-2PBHUE5O.js} +1 -1
  155. package/dist/{projectConfig-I6QNMRVV.js → projectConfig-C4S3LBBX.js} +7 -6
  156. package/dist/{publication-JET7ZBWG.js → publication-GESNVVMS.js} +2 -2
  157. package/dist/{publish-ZGW46SKV.js → publish-IBY26S3T.js} +11 -10
  158. package/dist/{remove-background-YSJ7XFPQ.js → remove-background-3OBWOHVZ.js} +10 -10
  159. package/dist/{render-QFIWTDK3.js → render-3F6GQ5WW.js} +14 -14
  160. package/dist/{render-33TSTTN7.js → render-LSI5WXS7.js} +5 -5
  161. package/dist/{render-Q2VLJGFV.js → render-SR5RISLU.js} +36 -35
  162. package/dist/{render-batch-SDDZ3LM7.js → render-batch-HV4W3PZM.js} +5 -5
  163. package/dist/renderSetupWorker.js +2 -2
  164. package/dist/{resolver-VLOUQ7I6.js → resolver-R5X3HAPE.js} +5 -4
  165. package/dist/{sherpa-YKK3LRSI.js → sherpa-2Q6U4ZFY.js} +10 -10
  166. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
  167. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
  168. package/dist/{skills-5ENIWSB2.js → skills-FSGXQSHA.js} +5 -5
  169. package/dist/{skillsUpdateCheck-7GDJNW5A.js → skillsUpdateCheck-UW6643XX.js} +3 -3
  170. package/dist/{snapshot-O3JXB3VM.js → snapshot-HFPB34Y7.js} +62 -39
  171. package/dist/{src-6T5KES5G.js → src-ROWFWCEN.js} +5 -5
  172. package/dist/{src-MT7UQJT5.js → src-VMTQQUUP.js} +8 -8
  173. package/dist/{staticProjectServer-UP22EGMU.js → staticProjectServer-4TGZJIWN.js} +18 -17
  174. package/dist/{status-63BKLDVW.js → status-4AAPTTRW.js} +2 -2
  175. package/dist/studio/assets/{hyperframes-player-B83GGznX.js → hyperframes-player-B_wvwarc.js} +1 -1
  176. package/dist/studio/assets/{index-B9gVTopE.js → index-BDE7dwov.js} +6 -6
  177. package/dist/studio/assets/{index-Ca_tSAqR.js → index-D0jGq2dS.js} +1 -1
  178. package/dist/studio/index.html +1 -1
  179. package/dist/{studio-api-Q6KSNU77.js → studio-api-TSHXVZ6R.js} +9 -9
  180. package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
  181. package/dist/{studioServer-44OR56TK.js → studioServer-74ZBLNP2.js} +52 -57
  182. package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
  183. package/dist/{telemetry-2N7DLYCQ.js → telemetry-3NDLZOPR.js} +3 -3
  184. package/dist/{timeline-MT56A3HB.js → timeline-5IFZJU7M.js} +20 -19
  185. package/dist/{tokens-V6O4I5IX.js → tokens-UFNPQVLS.js} +2 -2
  186. package/dist/{transcribe-GGV4YEF3.js → transcribe-7KQAUHEN.js} +9 -9
  187. package/dist/{transcribe-ZCJ6WB6R.js → transcribe-NAXKBIPW.js} +15 -15
  188. package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
  189. package/dist/{updateCheck-ZBBUGX3A.js → updateCheck-KDSFL3XX.js} +2 -2
  190. package/dist/{upgrade-L7SM3TPB.js → upgrade-EXX4C35N.js} +2 -2
  191. package/dist/{urlDownloader-HTBT6K5N.js → urlDownloader-4UFCIAPH.js} +5 -5
  192. package/dist/{validate-WXKYRV2E.js → validate-QYOHY3N6.js} +22 -22
  193. package/dist/{video-JH5WQC2I.js → video-HRL3V2R5.js} +7 -7
  194. package/dist/warmCheck.js +39 -38
  195. package/package.json +1 -1
  196. package/dist/chunk-4I7KQWZS.js +0 -5061
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-TNQ4SSTR.js";
9
+ } from "./chunk-ZKPRJPWN.js";
10
10
  import {
11
11
  stripSdrPngColourTags
12
- } from "./chunk-3KDODK5M.js";
12
+ } from "./chunk-4ZM727AO.js";
13
13
  import {
14
14
  injectTagsAtHeadStart
15
- } from "./chunk-4I7KQWZS.js";
15
+ } from "./chunk-Q3PPGPEA.js";
16
16
 
17
17
  // src/utils/compositionServer.ts
18
18
  import { createHash } from "crypto";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-YXZ56JUN.js";
9
+ } from "./chunk-M2F6VGCP.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-JH2AO4ZW.js";
9
+ } from "./chunk-XDTCPMR3.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-4I7KQWZS.js";
17
+ } from "./chunk-Q3PPGPEA.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-BIROA7JM.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-GP5X7V6U.js";
10
+ } from "./chunk-F6WHVEUS.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-QEKP7XCN.js";
13
+ } from "./chunk-ZBLSSWSE.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-MHZB6QSC.js";
17
+ } from "./chunk-LYZB5CJN.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-QE5JXNSW.js";
10
+ } from "./chunk-H3HC6U4I.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-CPKBAMI3.js";
15
+ } from "./chunk-O7WR4AHX.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-LJUFR7G5.js";
18
+ } from "./chunk-7DVR3DL3.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-TNQ4SSTR.js";
22
+ } from "./chunk-ZKPRJPWN.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-KUQOUWJ4.js";
34
+ } from "./chunk-P6FGS4U6.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,21 +45,21 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-GGDVZ7O4.js";
48
+ } from "./chunk-TMK3MW7B.js";
49
49
  import {
50
50
  findStageProxyBox
51
- } from "./chunk-RYBFHEMZ.js";
51
+ } from "./chunk-NYOQP6DO.js";
52
52
  import {
53
53
  resolveAutoProxy
54
- } from "./chunk-BRYOYBO5.js";
54
+ } from "./chunk-YKMFCE5B.js";
55
55
  import {
56
56
  BrowserCleanupError,
57
57
  closeManagedBrowser,
58
58
  onStopSignal
59
- } from "./chunk-KENUKJRG.js";
59
+ } from "./chunk-JGZUG5V4.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-4I7KQWZS.js";
62
+ } from "./chunk-Q3PPGPEA.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-E63BDV4Z.js";
@@ -578,7 +578,7 @@ function proxyFailedDraft(message) {
578
578
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
579
579
  }
580
580
  async function loadCheckHtmlWithDeferredMedia(dir) {
581
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GP4MD6DJ.js");
581
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WH63ZWUT.js");
582
582
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
583
583
  }
584
584
  function withCapturePreviewMark(html) {
@@ -640,7 +640,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
640
640
  ).map((draft) => runtimeFinding(draft, rootAnchor))
641
641
  }));
642
642
  const launchSettleMs = Date.now() - launchSettleStart;
643
- const { analyzeClipMediaFit } = await import("./src-6T5KES5G.js");
643
+ const { analyzeClipMediaFit } = await import("./src-ROWFWCEN.js");
644
644
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
645
645
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
646
646
  }
@@ -777,7 +777,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
777
777
  async function captureFindingFrames(project, options, requests, deadline) {
778
778
  if (requests.length === 0) return { written: [], inspected: [] };
779
779
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
780
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GP4MD6DJ.js");
780
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WH63ZWUT.js");
781
781
  return withCapturePreviewMark(
782
782
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
783
783
  );
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-T2WJO4XM.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-AU7VGKCP.js";
30
+ } from "./chunk-MXVH6UW6.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-YATFRFNH.js";
11
+ } from "./chunk-S5GOFDX5.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-T2WJO4XM.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-AU7VGKCP.js";
18
+ } from "./chunk-MXVH6UW6.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  hasPythonModules
9
- } from "./chunk-5ETJX6WM.js";
9
+ } from "./chunk-J3OVTOVC.js";
10
10
 
11
11
  // src/audio/providers.ts
12
12
  var KOKORO_MODULES = ["kokoro_onnx", "soundfile"];
@@ -10,19 +10,19 @@ import {
10
10
  import {
11
11
  pageNavigationTimeoutMs,
12
12
  windowsChromeCrashRemediation
13
- } from "./chunk-ILCIWNPQ.js";
13
+ } from "./chunk-322M35EB.js";
14
14
  import {
15
15
  resolveCompositionViewportFromHtml
16
- } from "./chunk-RYBFHEMZ.js";
16
+ } from "./chunk-NYOQP6DO.js";
17
17
  import {
18
18
  launchManagedBrowser,
19
19
  resolveManagedGpuMode,
20
20
  rethrowAfterBrowserCleanup
21
- } from "./chunk-KENUKJRG.js";
21
+ } from "./chunk-JGZUG5V4.js";
22
22
  import {
23
23
  resolveLocalBrowserGpuMode,
24
24
  resolveLocalWebGpu
25
- } from "./chunk-473HMKSC.js";
25
+ } from "./chunk-625I5VBE.js";
26
26
  import {
27
27
  c
28
28
  } from "./chunk-2GICKZ3I.js";
@@ -30,7 +30,7 @@ import {
30
30
  assertWebGpuAdapterAvailable,
31
31
  compositionRequiresWebGpu,
32
32
  oneProcessOverPipe
33
- } from "./chunk-YXZ56JUN.js";
33
+ } from "./chunk-M2F6VGCP.js";
34
34
  import {
35
35
  normalizeErrorMessage
36
36
  } from "./chunk-E63BDV4Z.js";
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
138
138
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
139
139
  });
140
140
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
141
- const { resolveConfig, waitForImagesReady } = await import("./src-6T5KES5G.js");
141
+ const { resolveConfig, waitForImagesReady } = await import("./src-ROWFWCEN.js");
142
142
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
143
143
  await waitForImagesReady(
144
144
  page,
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
187
187
  async function openSettledCompositionPage(html, url, options) {
188
188
  const viewport = resolveCompositionViewportFromHtml(html);
189
189
  const requiresWebGpu = compositionRequiresWebGpu(html);
190
- const answer = (await import("./staticProjectServer-UP22EGMU.js")).inProcessAnswer(url);
190
+ const answer = (await import("./staticProjectServer-4TGZJIWN.js")).inProcessAnswer(url);
191
191
  const noListen = answer !== void 0;
192
192
  let chromeBrowser;
193
193
  try {
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
198
198
  options.onBrowserReady?.();
199
199
  const page = await chromeBrowser.newPage();
200
200
  await installPageFunctionGuard(page);
201
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-6T5KES5G.js");
201
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-ROWFWCEN.js");
202
202
  await installMediaRenderIdBridge(page);
203
203
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
204
204
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -216,10 +216,10 @@ async function openSettledCompositionPage(html, url, options) {
216
216
  }
217
217
  async function launchCompositionBrowser(html, noListen, options) {
218
218
  const viewport = resolveCompositionViewportFromHtml(html);
219
- const { ensureBrowser, findSystemBrowser } = await import("./manager-I4ROBMYK.js");
219
+ const { ensureBrowser, findSystemBrowser } = await import("./manager-ENFYM32B.js");
220
220
  const browser = await ensureBrowser({ signal: options.signal });
221
221
  const puppeteer = await import("puppeteer-core");
222
- const { buildChromeArgs } = await import("./src-6T5KES5G.js");
222
+ const { buildChromeArgs } = await import("./src-ROWFWCEN.js");
223
223
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
224
224
  const requiresWebGpu = compositionRequiresWebGpu(html);
225
225
  let softwareWebGpu = false;
@@ -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-KEJFQQDQ.js");
1281
+ const { trackCommandFailure } = await import("./events-RSPDI7FX.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-TCV7N2UY.js";
9
+ } from "./chunk-AZI2T2KO.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-G2E2DHH2.js";
15
+ } from "./chunk-DMCU2ELU.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-U2EUCTYQ.js";
19
+ } from "./chunk-HSHKLYDI.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-DWMI7CKI.js";
23
+ } from "./chunk-3PJ3HVLG.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-3VIICMJF.js";
28
+ } from "./chunk-M2BCU4Y5.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -9,14 +9,14 @@ import {
9
9
  KOKORO_PIP,
10
10
  MUSICGEN_MODULES,
11
11
  MUSICGEN_PIP
12
- } from "./chunk-Z27A7NUB.js";
12
+ } from "./chunk-SHOE3UR6.js";
13
13
  import {
14
14
  describeRejectedPythonOverride,
15
15
  hasPythonModules
16
- } from "./chunk-5ETJX6WM.js";
16
+ } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-UGDLT4LZ.js";
19
+ } from "./chunk-MEB6HWBM.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-2GICKZ3I.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-YXZ56JUN.js";
32
+ } from "./chunk-M2F6VGCP.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -41,14 +41,14 @@ import {
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-7ZRXSZF6.js";
44
+ } from "./chunk-YSZ4VMXI.js";
45
45
  import {
46
46
  CONFIG_PATH,
47
47
  withFileLock
48
48
  } from "./chunk-BLBMPEBX.js";
49
49
  import {
50
50
  VERSION
51
- } from "./chunk-DMUDI5IH.js";
51
+ } from "./chunk-5YT2KHPO.js";
52
52
  import {
53
53
  normalizeErrorMessage
54
54
  } from "./chunk-E63BDV4Z.js";
@@ -240,7 +240,7 @@ function checkEnvironment() {
240
240
  return { ok: true, detail: parts.join(" \xB7 ") };
241
241
  }
242
242
  async function checkWhisper() {
243
- const { findWhisper, getInstallInstructions } = await import("./manager-USFB6SE2.js");
243
+ const { findWhisper, getInstallInstructions } = await import("./manager-34U5CEFB.js");
244
244
  const result = findWhisper();
245
245
  if (result) {
246
246
  return { ok: true, detail: result.executablePath };
@@ -17,17 +17,17 @@ import {
17
17
  finishCheckSnapshots,
18
18
  preResolveHostileMediaProxies,
19
19
  rectToBbox
20
- } from "./chunk-UR6L2DXM.js";
20
+ } from "./chunk-RVIMLJXC.js";
21
21
  import {
22
22
  collectProjectMedia,
23
23
  mediaPath
24
- } from "./chunk-BKHRAHV6.js";
24
+ } from "./chunk-GSCFMG4C.js";
25
25
  import {
26
26
  captureArtifactRevision
27
- } from "./chunk-FAIFPYRO.js";
27
+ } from "./chunk-IDWJJ7PP.js";
28
28
  import {
29
29
  trackLintRun
30
- } from "./chunk-XUTPVELE.js";
30
+ } from "./chunk-RVCWVOXM.js";
31
31
  import {
32
32
  CONTENT_OVERLAP_HELD_ERROR_MS,
33
33
  DEFAULT_MAX_STATIC_SEC,
@@ -48,7 +48,7 @@ import {
48
48
  mergeSampleTimes,
49
49
  parseAt,
50
50
  readMotionSpec
51
- } from "./chunk-QE5JXNSW.js";
51
+ } from "./chunk-H3HC6U4I.js";
52
52
  import {
53
53
  findingAtRoot,
54
54
  findingElementKey,
@@ -57,7 +57,7 @@ import {
57
57
  } from "./chunk-TQBQYO4L.js";
58
58
  import {
59
59
  resolveProject
60
- } from "./chunk-FWWJRJB5.js";
60
+ } from "./chunk-BQNTY7J5.js";
61
61
  import {
62
62
  recordArtifacts
63
63
  } from "./chunk-24F7TOW2.js";
@@ -69,17 +69,17 @@ import {
69
69
  closeManagedBrowser,
70
70
  onStopSignal,
71
71
  registerBrowserSessionCleanup
72
- } from "./chunk-KENUKJRG.js";
72
+ } from "./chunk-JGZUG5V4.js";
73
73
  import {
74
74
  resolveLocalBrowserGpuMode
75
- } from "./chunk-473HMKSC.js";
75
+ } from "./chunk-625I5VBE.js";
76
76
  import {
77
77
  trackCheckReport,
78
78
  trackCommandFailure
79
- } from "./chunk-GP5X7V6U.js";
79
+ } from "./chunk-F6WHVEUS.js";
80
80
  import {
81
81
  swallowedFlagUsageError
82
- } from "./chunk-GLC5XHN5.js";
82
+ } from "./chunk-XC3BGWCJ.js";
83
83
  import {
84
84
  defineCommand
85
85
  } from "./chunk-DL4OD7IA.js";
@@ -95,14 +95,14 @@ import {
95
95
  import {
96
96
  extractMediaMetadata,
97
97
  findHdrAutoPromotion
98
- } from "./chunk-YXZ56JUN.js";
98
+ } from "./chunk-M2F6VGCP.js";
99
99
  import {
100
100
  lintProject,
101
101
  shouldBlockRender
102
- } from "./chunk-MHZB6QSC.js";
102
+ } from "./chunk-LYZB5CJN.js";
103
103
  import {
104
104
  withMeta
105
- } from "./chunk-7ZRXSZF6.js";
105
+ } from "./chunk-YSZ4VMXI.js";
106
106
  import {
107
107
  recordLastCheck
108
108
  } from "./chunk-BLBMPEBX.js";
@@ -2361,7 +2361,7 @@ function resolveMotionSpec(projectDir) {
2361
2361
  };
2362
2362
  }
2363
2363
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2364
- const module = await import("./checkBrowser-3YIZYXIR.js");
2364
+ const module = await import("./checkBrowser-FG5DAW2R.js");
2365
2365
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2366
2366
  }
2367
2367
  var adoptedBrowser;
@@ -2375,7 +2375,7 @@ async function prelaunchBrowser(project, options) {
2375
2375
  if (adopted) return adopted;
2376
2376
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2377
2377
  if (html === void 0) return void 0;
2378
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JYGGPKFZ.js");
2378
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-MXJ3WO2R.js");
2379
2379
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2380
2380
  }
2381
2381
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2387,11 +2387,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2387
2387
  return relative(projectDir, path);
2388
2388
  }
2389
2389
  async function captureFindingFrames(project, options, requests, deadline) {
2390
- const module = await import("./checkBrowser-3YIZYXIR.js");
2390
+ const module = await import("./checkBrowser-FG5DAW2R.js");
2391
2391
  return module.captureFindingFrames(project, options, requests, deadline);
2392
2392
  }
2393
2393
  async function captureFindingCrops(project, options, requests, deadline) {
2394
- const module = await import("./checkBrowser-3YIZYXIR.js");
2394
+ const module = await import("./checkBrowser-FG5DAW2R.js");
2395
2395
  return module.captureFindingCrops(project, options, requests, deadline);
2396
2396
  }
2397
2397
  async function inspectProjectMedia(project, dependencies) {
@@ -2413,7 +2413,7 @@ function collectMedia(project) {
2413
2413
  return collectProjectMedia(project.dir);
2414
2414
  }
2415
2415
  async function inspectAudio(project, media) {
2416
- const module = await import("./checkAudio-UJ7XTDRD.js");
2416
+ const module = await import("./checkAudio-GPTU6EGB.js");
2417
2417
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2418
2418
  }
2419
2419
  function audioCheckFailure(project, error) {
@@ -2487,7 +2487,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2487
2487
  }
2488
2488
  },
2489
2489
  async prepareMedia(project, options) {
2490
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GP4MD6DJ.js");
2490
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WH63ZWUT.js");
2491
2491
  const html = await bundleWithLocalizedFonts(project.dir);
2492
2492
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2493
2493
  },
@@ -224,6 +224,10 @@ async function killActiveServers(startPort = 3002) {
224
224
  }
225
225
  return { killed, unverified };
226
226
  }
227
+ function closeServer(server) {
228
+ if ("closeAllConnections" in server) server.closeAllConnections();
229
+ return new Promise((resolve3) => server.close(() => resolve3()));
230
+ }
227
231
  async function findPortAndServe(fetch2, startPort, projectDir, forceNew, expectedServerBuildSignature = null, bindHost, expectedBrowserGpuMode) {
228
232
  const { createAdaptorServer } = await import("@hono/node-server");
229
233
  const host = bindHost ?? (process.env.HYPERFRAMES_PREVIEW_HOST?.trim() || "127.0.0.1");
@@ -389,6 +393,7 @@ export {
389
393
  scanActiveServers,
390
394
  activeServerOnPort,
391
395
  killActiveServers,
396
+ closeServer,
392
397
  findPortAndServe,
393
398
  AmbiguousPreviewServerError,
394
399
  PreviewServerPortMismatchError,
@@ -0,0 +1,62 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/utils/didYouMean.ts
9
+ function editDistance(a, b) {
10
+ let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
11
+ for (let i = 1; i <= a.length; i++) {
12
+ const current = [i];
13
+ for (let j = 1; j <= b.length; j++) {
14
+ const substitution = previous[j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1);
15
+ current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, substitution);
16
+ }
17
+ previous = current;
18
+ }
19
+ return previous[b.length];
20
+ }
21
+ function closestMatch(input, candidates) {
22
+ const names = [...candidates];
23
+ const prefixed = input.length >= 2 ? names.find((name) => name.startsWith(input)) : void 0;
24
+ if (prefixed) return prefixed;
25
+ const limit = input.length <= 3 ? 1 : Math.max(2, Math.floor(input.length / 3));
26
+ let best;
27
+ let bestDistance = limit + 1;
28
+ for (const name of names) {
29
+ const distance = editDistance(input, name);
30
+ if (distance < bestDistance) {
31
+ best = name;
32
+ bestDistance = distance;
33
+ }
34
+ }
35
+ return best;
36
+ }
37
+ function closestNames(input, candidates, limit = 5) {
38
+ const words = new Set(input.split("-"));
39
+ return [...candidates].map((name) => ({
40
+ name,
41
+ shared: name.split("-").filter((word) => words.has(word)).length,
42
+ distance: editDistance(input, name)
43
+ })).filter(({ shared }) => shared > 0).sort((a, b) => b.shared - a.shared || a.distance - b.distance || a.name.localeCompare(b.name)).slice(0, limit).map(({ name }) => name);
44
+ }
45
+ var COMMAND_SYNONYMS = {
46
+ search: "catalog",
47
+ find: "catalog",
48
+ browse: "catalog",
49
+ registry: "catalog",
50
+ list: "catalog",
51
+ install: "add"
52
+ };
53
+ function synonymMatch(input, candidates) {
54
+ const target = COMMAND_SYNONYMS[input];
55
+ return target !== void 0 && [...candidates].includes(target) ? target : void 0;
56
+ }
57
+
58
+ export {
59
+ closestMatch,
60
+ closestNames,
61
+ synonymMatch
62
+ };
@@ -4,6 +4,9 @@ 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
+ closestMatch
9
+ } from "./chunk-WYKRGEDD.js";
7
10
  import {
8
11
  c
9
12
  } from "./chunk-2GICKZ3I.js";
@@ -11,48 +14,6 @@ import {
11
14
  CliUsageError
12
15
  } from "./chunk-DP5LF7GF.js";
13
16
 
14
- // src/utils/didYouMean.ts
15
- function editDistance(a, b) {
16
- let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
17
- for (let i = 1; i <= a.length; i++) {
18
- const current = [i];
19
- for (let j = 1; j <= b.length; j++) {
20
- const substitution = previous[j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1);
21
- current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, substitution);
22
- }
23
- previous = current;
24
- }
25
- return previous[b.length];
26
- }
27
- function closestMatch(input, candidates) {
28
- const names = [...candidates];
29
- const prefixed = input.length >= 2 ? names.find((name) => name.startsWith(input)) : void 0;
30
- if (prefixed) return prefixed;
31
- const limit = input.length <= 3 ? 1 : Math.max(2, Math.floor(input.length / 3));
32
- let best;
33
- let bestDistance = limit + 1;
34
- for (const name of names) {
35
- const distance = editDistance(input, name);
36
- if (distance < bestDistance) {
37
- best = name;
38
- bestDistance = distance;
39
- }
40
- }
41
- return best;
42
- }
43
- var COMMAND_SYNONYMS = {
44
- search: "catalog",
45
- find: "catalog",
46
- browse: "catalog",
47
- registry: "catalog",
48
- list: "catalog",
49
- install: "add"
50
- };
51
- function synonymMatch(input, candidates) {
52
- const target = COMMAND_SYNONYMS[input];
53
- return target !== void 0 && [...candidates].includes(target) ? target : void 0;
54
- }
55
-
56
17
  // src/utils/reject-unknown-flags.ts
57
18
  var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
58
19
  function nameVariants(name) {
@@ -192,8 +153,6 @@ function guardSwallowedFlagValues(cmd, path, rawArgs) {
192
153
  }
193
154
 
194
155
  export {
195
- closestMatch,
196
- synonymMatch,
197
156
  assertKnownFlags,
198
157
  swallowedFlagUsageError,
199
158
  guardSwallowedFlagValues
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  firstFrameColourArgs,
15
15
  parseFirstFrameColour
16
- } from "./chunk-AU7VGKCP.js";
16
+ } from "./chunk-MXVH6UW6.js";
17
17
  import {
18
18
  findFfBinary
19
19
  } from "./chunk-BIROA7JM.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-RYBFHEMZ.js";
9
+ } from "./chunk-NYOQP6DO.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.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-MT7UQJT5.js");
10
+ return await import("./src-VMTQQUUP.js");
11
11
  }
12
12
 
13
13
  export {