hyperframes 0.8.205 → 0.8.207
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.
- package/bin/hyperframes.mjs +1 -0
- package/dist/{add-BA4AU262.js → add-LXFWHBE3.js} +19 -18
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-D2E62ZP5.js} +1 -1
- package/dist/{animatedGifPrep-UNUCFGLQ.js → animatedGifPrep-VBPJZKFT.js} +21 -15
- package/dist/api.js +31 -31
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-KCDVTNC3.js → asset-JX4RW3GO.js} +2 -2
- package/dist/{assetCataloger-5FCVQ3N6.js → assetCataloger-JKKOPBCF.js} +15 -14
- package/dist/{audio-KDBPEHRS.js → audio-OXQ3L6DW.js} +24 -24
- package/dist/{auth-IMPBZZXJ.js → auth-JAL7P7ZA.js} +1 -1
- package/dist/{autoUpdate-YE2RKCAG.js → autoUpdate-MRI2AICE.js} +2 -2
- package/dist/{backgroundChecks-OWY2UFSR.js → backgroundChecks-ORR46PBY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-AN4HWKET.js → batchRender-IFZYPGIW.js} +9 -9
- package/dist/{beats-VTQJ4JH6.js → beats-UDLOEW6U.js} +21 -21
- package/dist/{benchmark-PBEWHJ5K.js → benchmark-VTVDNKSO.js} +14 -14
- package/dist/{browser-E7ANEHNU.js → browser-QJC4BL2Y.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-I3BWMRSP.js → bundleWithLocalizedFonts-Z2JTBNDS.js} +2 -2
- package/dist/{capture-MP7R72WU.js → capture-2P4JERSX.js} +14 -3
- package/dist/{capture-XODFC4S4.js → capture-GLM2ACPM.js} +81 -41
- package/dist/{captureCompositionFrame-2OYGVDI3.js → captureCompositionFrame-A2A5MGQB.js} +19 -19
- package/dist/{captureFile-LYOJOUIE.js → captureFile-RPUEOZO6.js} +1 -1
- package/dist/{catalog-ORVCCEQR.js → catalog-5ZLVUQVJ.js} +25 -24
- package/dist/{catch-up-SYAQOXTT.js → catch-up-FRMVYJHZ.js} +5 -5
- package/dist/{check-6SQR6SSA.js → check-WVY7SM7C.js} +50 -48
- package/dist/checkAudio-PLEQY3SZ.js +201 -0
- package/dist/{checkBrowser-HOTD3CDE.js → checkBrowser-XSZUA2DQ.js} +42 -41
- package/dist/{chunk-JFNB4CMI.js → chunk-526VSRZ4.js} +20 -8
- package/dist/{chunk-DQBY7FRR.js → chunk-543U46OR.js} +4 -1
- package/dist/{chunk-CUGADCIV.js → chunk-5KBMYSF2.js} +54 -15
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-TZ7MTRVJ.js → chunk-5PYRU5DT.js} +13 -13
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-KBZSMKKD.js → chunk-63DP5CB2.js} +29 -3
- package/dist/{chunk-GLBEBBS2.js → chunk-6IYIS2U7.js} +2 -2
- package/dist/{chunk-GSTFETKE.js → chunk-6KCFVLO6.js} +5 -5
- package/dist/{chunk-EXRHI43B.js → chunk-6KOHY5EP.js} +10 -9
- package/dist/{chunk-CU76YDPX.js → chunk-6Z7XDUUJ.js} +1 -1
- package/dist/{chunk-XNAIYEKD.js → chunk-7PJ3AJB2.js} +1 -1
- package/dist/{chunk-6GAYBX5C.js → chunk-7RWUY3BJ.js} +64 -62
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/chunk-BDJIQZN2.js +4830 -0
- package/dist/{chunk-75WNFDRU.js → chunk-C53ZNJDZ.js} +4 -4
- package/dist/{chunk-GBQCTZON.js → chunk-CVZO6TFE.js} +13 -43
- package/dist/{chunk-RQDVTUVD.js → chunk-DJQZ7DEH.js} +15 -15
- package/dist/{chunk-KAIQPYCM.js → chunk-DML6BD4K.js} +2 -2
- package/dist/{chunk-BTYT3RT3.js → chunk-EG3B2VWK.js} +2 -2
- package/dist/{chunk-OB7QARSN.js → chunk-EGRIVMCQ.js} +1 -1
- package/dist/{chunk-V4K4BSCM.js → chunk-EHFZEKQM.js} +57 -5
- package/dist/{chunk-H4MSJ2NZ.js → chunk-FEO7YW7V.js} +8 -8
- package/dist/{chunk-FNBEYIZH.js → chunk-FVAI7AHF.js} +13 -12
- package/dist/{chunk-PLGGKTCB.js → chunk-GXUONASF.js} +13 -20
- package/dist/{chunk-L6N2TLXR.js → chunk-H3LQ5X6Q.js} +84 -79
- package/dist/{chunk-MVXOY5RC.js → chunk-HA3V4XAF.js} +6 -6
- package/dist/{chunk-WB55EQNJ.js → chunk-HM7SUIQD.js} +38 -9
- package/dist/{chunk-G445Y3YG.js → chunk-HVOTYAS4.js} +15 -7
- package/dist/{chunk-IKYXXIMP.js → chunk-I2TDHVFV.js} +3 -3
- package/dist/{chunk-3N4T6I3O.js → chunk-I3TYUQLB.js} +1 -1
- package/dist/{chunk-AECL3B23.js → chunk-IBZHSU2J.js} +1 -1
- package/dist/{chunk-2FEOM3ZT.js → chunk-ID766OZB.js} +12 -12
- package/dist/{chunk-4UIEQIF4.js → chunk-IK4JY2LI.js} +2 -2
- package/dist/{chunk-C4LV6L4Q.js → chunk-IW5P4KK7.js} +3 -3
- package/dist/{chunk-N7VQD4WB.js → chunk-IYZT62UR.js} +1 -1
- package/dist/chunk-JKE24AG7.js +62 -0
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-EUFBE5BW.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-6NC4KBS2.js → chunk-JQ32262N.js} +1 -1
- package/dist/{chunk-J2E3VVOS.js → chunk-KDHHPJOG.js} +4 -4
- package/dist/{chunk-A42PDANH.js → chunk-LCCYYTEK.js} +1 -1
- package/dist/{chunk-T2UR3T4L.js → chunk-LK6KPVX2.js} +263 -74
- package/dist/{chunk-RWOWD3PW.js → chunk-LPI7HX4G.js} +2 -2
- package/dist/{chunk-UR6BAPOD.js → chunk-LXP6XWJL.js} +2 -2
- package/dist/{chunk-4RPCYGZG.js → chunk-MAUGXKSI.js} +4 -4
- package/dist/{chunk-AII6P2TC.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-LFGJWOVA.js → chunk-MNNK7RV5.js} +11 -8
- package/dist/{chunk-26OI2B2X.js → chunk-MSHL6CF2.js} +1 -1
- package/dist/{chunk-SVVAUJPL.js → chunk-NHA4NRBE.js} +136 -25
- package/dist/{chunk-5F6B6KMK.js → chunk-NHL5CMO2.js} +18 -3
- package/dist/{chunk-NF6KI46X.js → chunk-NJNC2DQV.js} +31 -28
- package/dist/{chunk-I7IXUCKL.js → chunk-NSC5A4IR.js} +1 -1
- package/dist/{chunk-MRF4AMKD.js → chunk-NWGXTUYS.js} +32 -10
- package/dist/{chunk-57I5KNTL.js → chunk-PL36HK3U.js} +3 -3
- package/dist/{chunk-TOEIJ4WF.js → chunk-PUIG6DHT.js} +5 -5
- package/dist/{chunk-BA7MQJXG.js → chunk-QE4WRS3N.js} +3 -3
- package/dist/{chunk-7V7OUKTU.js → chunk-QTWXVOZI.js} +1 -1
- package/dist/{chunk-V2XXV2EH.js → chunk-QZ2JQ6O4.js} +6 -6
- package/dist/{chunk-BHOGXIBO.js → chunk-RPZNQV6D.js} +58 -826
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-HADQPG7O.js → chunk-SXOD5J7T.js} +2 -2
- package/dist/{chunk-32R2AFZ3.js → chunk-T4JGFCXU.js} +3 -3
- package/dist/chunk-TQBQYO4L.js +55 -0
- package/dist/{chunk-ZSUWGNIT.js → chunk-TSTONNOD.js} +2 -2
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-BZ727KLT.js → chunk-U32PA6DI.js} +1 -1
- package/dist/{chunk-5PVPGWMH.js → chunk-UAT2UMTP.js} +1 -1
- package/dist/{chunk-TGS33LDU.js → chunk-UKM3JYNB.js} +5 -71
- package/dist/{chunk-UEOGIZ3Q.js → chunk-UUOIH4RW.js} +3 -3
- package/dist/{chunk-MASFRPCB.js → chunk-UYPWH7PH.js} +10 -10
- package/dist/{chunk-LSQM3NBR.js → chunk-VAVDAOUA.js} +1 -1
- package/dist/chunk-VBPNCOD7.js +355 -0
- package/dist/{chunk-HQ3CFNHL.js → chunk-VH4PNYOS.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-F2ASNL2K.js → chunk-WL263XM2.js} +1 -1
- package/dist/{chunk-ZB6SCA4J.js → chunk-XAGBSYIQ.js} +9 -2
- package/dist/{chunk-LQUMMPGK.js → chunk-XKW4Z7BU.js} +1 -1
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-6YYFNGCS.js → chunk-XULJBZ7K.js} +7 -4
- package/dist/chunk-YJK6HOL5.js +29 -0
- package/dist/{chunk-KVNXEAVT.js → chunk-ZCJ5EGLU.js} +30 -10
- package/dist/{chunk-ERUINDRT.js → chunk-ZF3R2IPC.js} +184 -183
- package/dist/{chunk-AECSY5LT.js → chunk-ZYGIDXAK.js} +569 -378
- package/dist/{clean-BW7NHQS5.js → clean-TL3IPJDN.js} +28 -28
- package/dist/cli.js +55 -55
- package/dist/{cloud-TZVXTWZO.js → cloud-EYMRPJNY.js} +4 -4
- package/dist/{cloudrun-KRIETALO.js → cloudrun-TOJ36NLX.js} +11 -11
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-WYWHJ4CR.js → compare-MP5EOW4D.js} +40 -40
- package/dist/{compiler-ANIPXLJ7.js → compiler-NOPVLJ2S.js} +15 -15
- package/dist/{component-CY7DCX56.js → component-ASACDCZK.js} +3 -3
- package/dist/{compositions-5YEB24E3.js → compositions-WKNZJY34.js} +19 -19
- package/dist/{contactSheet-5APX35L3.js → contactSheet-YOBPATEM.js} +2 -2
- package/dist/{delete-6642PDON.js → delete-DQTFHP3G.js} +2 -2
- package/dist/{deploy-NZP6TZLS.js → deploy-HHCFOUFM.js} +4 -4
- package/dist/{deterministicFonts-HQYCUUAL.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-V2BGP46S.js → dist-L4Z4ZEYW.js} +7 -4
- package/dist/{dist-DGFC75NC.js → dist-NQEYA4ZX.js} +44 -36
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-ZW4A2FS3.js → doctor-JDM65CP7.js} +20 -20
- package/dist/{events-NJU4VFDA.js → events-MBRNA3UF.js} +3 -3
- package/dist/{events-XRCHY2F6.js → events-RKRHRLJD.js} +2 -2
- package/dist/{feedback-NQLSZMES.js → feedback-LZWIWV5J.js} +17 -17
- package/dist/{ffmpeg-RYDQLG3G.js → ffmpeg-4PZKSIGE.js} +15 -15
- package/dist/{figma-TJAMP2CI.js → figma-QFNYUT3F.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -18
- package/dist/{get-RRZ3O26X.js → get-2B5ENJOH.js} +2 -2
- package/dist/{gpuPolicy-4WLHUUS3.js → gpuPolicy-E5FB2GFR.js} +13 -13
- package/dist/{grade-compare-P7PE3NAA.js → grade-compare-4GUAPJHE.js} +40 -40
- package/dist/{gsapParser-IEUSLYDJ.js → gsapParser-3H7ON3DO.js} +1 -1
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/heifImagePrep-C2RYIEER.js +53 -0
- package/dist/{help-6RELRVIW.js → help-XGDAXV67.js} +1 -1
- package/dist/{history-GIIDYND3.js → history-WNFF6HGU.js} +108 -60
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +75 -68
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +16 -16
- package/dist/{info-LBUA2DXE.js → info-BR2LKGJD.js} +16 -16
- package/dist/{init-QUPXBONY.js → init-P6UWPUY3.js} +59 -58
- package/dist/{inspect-CL42DJZ4.js → inspect-MSRPF7ZO.js} +40 -39
- package/dist/inspection.js +4 -4
- package/dist/{installer-VR7XDLR3.js → installer-MPUQS3ZX.js} +10 -10
- package/dist/{keyframes-LELLROMA.js → keyframes-J6K66QTO.js} +11 -11
- package/dist/{lambda-I6KFXWOO.js → lambda-LJ2OSWFJ.js} +32 -13
- package/dist/{layout-NR6SNRZE.js → layout-CDY65XGA.js} +40 -39
- package/dist/{lint-DYEMSEQR.js → lint-CAUNBGPX.js} +13 -10
- package/dist/{lintProject-EA4NPL2X.js → lintProject-ZTSX3AWT.js} +7 -4
- package/dist/{list-RDURYO5U.js → list-33BYQNRZ.js} +2 -2
- package/dist/{login-VKLET5OL.js → login-5QMRKOHK.js} +4 -4
- package/dist/{manager-IYT3THJN.js → manager-3JOHHPVR.js} +17 -17
- package/dist/{manager-7TSUZKXU.js → manager-RMYSZ3KI.js} +7 -3
- package/dist/{media-treatment-I4AFEQZ3.js → media-treatment-4WP22CFN.js} +23 -23
- package/dist/{models-LLPVGC2E.js → models-HPWCHAZX.js} +28 -28
- package/dist/{motionShot-6A6HH6IK.js → motionShot-I7GDIROQ.js} +23 -23
- package/dist/{normalize-audio-KVQJBYLT.js → normalize-audio-VTMXPSC7.js} +14 -14
- package/dist/{open-J4ZT4X3C.js → open-SAO7OQTT.js} +19 -19
- package/dist/{parakeetRunner-FLUCIDIZ.js → parakeetRunner-ZYPBIA73.js} +25 -25
- package/dist/{pipeline-RRVLGALQ.js → pipeline-VNBMR6QU.js} +16 -16
- package/dist/{play-QGJSXUVM.js → play-7VI6A7KN.js} +42 -32
- package/dist/{preflight-SP2ZERBE.js → preflight-VWV7L45J.js} +17 -17
- package/dist/{present-UR4YBHMX.js → present-CSJGYOFF.js} +37 -27
- package/dist/{preview-6ENCRU4C.js → preview-B246ZTVO.js} +60 -45
- package/dist/{producer-OMHZRY6A.js → producer-WJLFDVQJ.js} +1 -1
- package/dist/{projectConfig-NGS7GJ47.js → projectConfig-OMR46ZWQ.js} +14 -13
- package/dist/{publication-6NYQA22Y.js → publication-AA7NNYET.js} +8 -8
- package/dist/{publish-E6RE5VHB.js → publish-TJ4QVVSP.js} +18 -17
- package/dist/{remove-background-66PQRA7R.js → remove-background-LQ2V7W7N.js} +20 -20
- package/dist/{render-ZLRJUFMX.js → render-AWEEPG3F.js} +39 -37
- package/dist/{render-SBAZWXPO.js → render-E5QJG74D.js} +14 -11
- package/dist/{render-IMSGS6BD.js → render-JLTNZ36U.js} +83 -51
- package/dist/{render-batch-MO7LYZSP.js → render-batch-U4T4VSCM.js} +14 -11
- package/dist/renderSetupWorker.js +11 -8
- package/dist/{resolver-QMBVTAKT.js → resolver-GXCTUKPV.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-X6OKIXCB.js} +1 -1
- package/dist/{sherpa-JZRDL3OE.js → sherpa-4VZWVHWZ.js} +24 -24
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
- package/dist/{skills-YBTEWFYS.js → skills-WUKR7SUE.js} +8 -8
- package/dist/{skillsUpdateCheck-Z4HTDZJN.js → skillsUpdateCheck-YXRBY3JC.js} +3 -3
- package/dist/{snapshot-5F5UV6H5.js → snapshot-Q7S2FTNG.js} +143 -77
- package/dist/{src-WWXYV2TS.js → src-CLAALR5W.js} +26 -19
- package/dist/{src-UTW3F2PM.js → src-ZOXUSGAP.js} +24 -12
- package/dist/{staticProjectServer-UHZ63C5O.js → staticProjectServer-DQ7PIDPA.js} +26 -26
- package/dist/studio/assets/hyperframes-player-Cm5aBiKq.js +478 -0
- package/dist/studio/assets/{index-dy6GQJn4.js → index-BF9YeBnC.js} +142 -142
- package/dist/studio/assets/{index-C8hp9Y7c.js → index-BrqAmMRt.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BHZ3PHL2.js → studio-api-NUE227JM.js} +18 -18
- package/dist/{studioSelectionClient-IUUPKUHZ.js → studioSelectionClient-D6VMGTKQ.js} +1 -1
- package/dist/{studioServer-AFUXWRB5.js → studioServer-HVOKP4VI.js} +81 -70
- package/dist/{synthesize-PKTB5ATG.js → synthesize-QZHRXGRY.js} +30 -8
- package/dist/{telemetry-UYKOT4OJ.js → telemetry-2Y5JXLDB.js} +3 -3
- package/dist/{timeline-K5NLEMH4.js → timeline-WOQGXFRV.js} +28 -28
- package/dist/{tokens-FCOSWE2O.js → tokens-T3OHTWUC.js} +2 -2
- package/dist/{transcribe-SIFMTW5W.js → transcribe-4U74P5TG.js} +22 -22
- package/dist/{transcribe-K2QTXDQR.js → transcribe-JZ3BO546.js} +32 -32
- package/dist/{tts-5I2AJNLM.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-JZ6TBZVE.js → updateCheck-6EUAGAM4.js} +2 -2
- package/dist/{upgrade-TUPAJXQQ.js → upgrade-55K6F4MP.js} +2 -2
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-L4775QID.js → urlDownloader-47JMOLNN.js} +12 -12
- package/dist/{validate-4HVVMEBV.js → validate-QBJ3SBS4.js} +32 -32
- package/dist/{video-4OGPF3IE.js → video-3ZAUNAR3.js} +17 -15
- package/dist/warmCheck.js +50 -48
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-ZUQZP6QD.js +0 -3986
- package/dist/studio/assets/hyperframes-player-DzdSmJdB.js +0 -478
|
@@ -4,10 +4,15 @@ 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
|
+
captureUpstreamProxy,
|
|
9
|
+
connectAuthority,
|
|
10
|
+
openUpstreamTunnel
|
|
11
|
+
} from "./chunk-TSYRN646.js";
|
|
7
12
|
import {
|
|
8
13
|
ensureCaptureDirSync,
|
|
9
14
|
writeCaptureFileSync
|
|
10
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NWGXTUYS.js";
|
|
11
16
|
import {
|
|
12
17
|
loadSharp
|
|
13
18
|
} from "./chunk-EXAX37XR.js";
|
|
@@ -17,7 +22,7 @@ import {
|
|
|
17
22
|
} from "./chunk-AWDFDFI3.js";
|
|
18
23
|
import {
|
|
19
24
|
isBlockedNetworkHost
|
|
20
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LK6KPVX2.js";
|
|
21
26
|
import {
|
|
22
27
|
DOMParser,
|
|
23
28
|
parseHTML
|
|
@@ -33,6 +38,7 @@ import { readFile } from "fs/promises";
|
|
|
33
38
|
import { isIP } from "net";
|
|
34
39
|
import { request as httpRequest } from "http";
|
|
35
40
|
import { request as httpsRequest } from "https";
|
|
41
|
+
import { connect as tlsConnect } from "tls";
|
|
36
42
|
var DNS_TIMEOUT_MS = 1e4;
|
|
37
43
|
var CARES_TIMEOUT_MS = 5e3;
|
|
38
44
|
function ipv4Number(address) {
|
|
@@ -62,7 +68,7 @@ function isPublicIPv4(address) {
|
|
|
62
68
|
const value = ipv4Number(address);
|
|
63
69
|
return !NON_PUBLIC_RANGES.some(({ start, end }) => value >= start && value < end);
|
|
64
70
|
}
|
|
65
|
-
|
|
71
|
+
function assertPublicHostname(hostname) {
|
|
66
72
|
const host = hostname.toLowerCase().replace(/\.$/, "");
|
|
67
73
|
if (isIP(host) === 4) {
|
|
68
74
|
if (!isPublicIPv4(host)) throw new Error("Capture requires a public IPv4 address");
|
|
@@ -71,6 +77,11 @@ async function resolvePublicAddress(hostname) {
|
|
|
71
77
|
if (!host.includes(".") || !/^[a-z0-9.-]+$/.test(host) || /(?:^|\.)(?:localhost|local|internal|home|lan|test|invalid|example)$/.test(host) || host.split(".").some((label) => !label || label.startsWith("-") || label.endsWith("-"))) {
|
|
72
78
|
throw new Error("Capture requires a public hostname");
|
|
73
79
|
}
|
|
80
|
+
return host;
|
|
81
|
+
}
|
|
82
|
+
async function resolvePublicAddress(hostname) {
|
|
83
|
+
const host = assertPublicHostname(hostname);
|
|
84
|
+
if (isIP(host) === 4) return host;
|
|
74
85
|
const answers = await resolveIPv4(host);
|
|
75
86
|
const first = answers[0];
|
|
76
87
|
if (!first || !answers.every(isPublicIPv4)) {
|
|
@@ -163,6 +174,38 @@ function systemLookupInKillableChild(host, timeoutMs) {
|
|
|
163
174
|
function killLiveLookups() {
|
|
164
175
|
for (const child of liveLookups) child.kill("SIGKILL");
|
|
165
176
|
}
|
|
177
|
+
async function pinnedRoute(target, signal) {
|
|
178
|
+
const address = await new Promise((resolve, reject) => {
|
|
179
|
+
const onAbort = () => reject(signal.reason);
|
|
180
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
181
|
+
resolvePublicAddress(target.hostname).then(resolve, reject).finally(() => signal.removeEventListener("abort", onAbort));
|
|
182
|
+
});
|
|
183
|
+
signal.throwIfAborted();
|
|
184
|
+
return {
|
|
185
|
+
options: {
|
|
186
|
+
hostname: address,
|
|
187
|
+
port: target.port || void 0,
|
|
188
|
+
agent: false,
|
|
189
|
+
servername: target.hostname,
|
|
190
|
+
rejectUnauthorized: true
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
async function upstreamRoute(target, proxy, headers, signal) {
|
|
195
|
+
assertPublicHostname(target.hostname);
|
|
196
|
+
if (target.protocol === "http:") {
|
|
197
|
+
if (proxy.authorization) headers.set("proxy-authorization", proxy.authorization);
|
|
198
|
+
const path = `${target.origin}${target.pathname}${target.search}`;
|
|
199
|
+
return { options: { hostname: proxy.host, port: proxy.port, agent: false, path } };
|
|
200
|
+
}
|
|
201
|
+
const tunnel = await openUpstreamTunnel(proxy, connectAuthority(target), { signal });
|
|
202
|
+
return {
|
|
203
|
+
tunnel,
|
|
204
|
+
options: {
|
|
205
|
+
createConnection: () => tlsConnect({ socket: tunnel, servername: target.hostname, rejectUnauthorized: true })
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
166
209
|
async function publicRequest(url, init = {}) {
|
|
167
210
|
const target = new URL(url);
|
|
168
211
|
if (!["http:", "https:"].includes(target.protocol) || target.username || target.password) {
|
|
@@ -174,12 +217,6 @@ async function publicRequest(url, init = {}) {
|
|
|
174
217
|
}
|
|
175
218
|
const signal = init.signal ?? AbortSignal.timeout(3e4);
|
|
176
219
|
signal.throwIfAborted();
|
|
177
|
-
const address = await new Promise((resolve, reject) => {
|
|
178
|
-
const onAbort = () => reject(signal.reason);
|
|
179
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
180
|
-
resolvePublicAddress(target.hostname).then(resolve, reject).finally(() => signal.removeEventListener("abort", onAbort));
|
|
181
|
-
});
|
|
182
|
-
signal.throwIfAborted();
|
|
183
220
|
const headers = new Headers(init.headers);
|
|
184
221
|
for (const name of [
|
|
185
222
|
"connection",
|
|
@@ -192,19 +229,17 @@ async function publicRequest(url, init = {}) {
|
|
|
192
229
|
headers.delete(name);
|
|
193
230
|
headers.set("host", target.host);
|
|
194
231
|
headers.set("accept-encoding", "identity");
|
|
232
|
+
const proxy = captureUpstreamProxy();
|
|
233
|
+
const { options, tunnel } = proxy ? await upstreamRoute(target, proxy, headers, signal) : await pinnedRoute(target, signal);
|
|
195
234
|
return new Promise((resolve, reject) => {
|
|
196
235
|
const request = target.protocol === "https:" ? httpsRequest : httpRequest;
|
|
197
236
|
const req = request(
|
|
198
237
|
{
|
|
199
238
|
protocol: target.protocol,
|
|
200
|
-
hostname: address,
|
|
201
|
-
port: target.port || void 0,
|
|
202
239
|
path: `${target.pathname}${target.search}`,
|
|
240
|
+
...options,
|
|
203
241
|
method,
|
|
204
242
|
headers: Object.fromEntries(headers),
|
|
205
|
-
agent: false,
|
|
206
|
-
servername: target.hostname,
|
|
207
|
-
rejectUnauthorized: true,
|
|
208
243
|
signal
|
|
209
244
|
},
|
|
210
245
|
(incoming) => {
|
|
@@ -216,7 +251,10 @@ async function publicRequest(url, init = {}) {
|
|
|
216
251
|
}
|
|
217
252
|
}
|
|
218
253
|
);
|
|
219
|
-
req.once("error",
|
|
254
|
+
req.once("error", (error) => {
|
|
255
|
+
tunnel?.destroy();
|
|
256
|
+
reject(error);
|
|
257
|
+
});
|
|
220
258
|
req.end();
|
|
221
259
|
});
|
|
222
260
|
}
|
|
@@ -1115,6 +1153,7 @@ function deriveAssetName(parsedUrl, catalog, isPoster, idx, usedNames) {
|
|
|
1115
1153
|
}
|
|
1116
1154
|
|
|
1117
1155
|
export {
|
|
1156
|
+
assertPublicHostname,
|
|
1118
1157
|
resolvePublicAddress,
|
|
1119
1158
|
CAPTURE_USER_AGENT,
|
|
1120
1159
|
noDrops,
|
|
@@ -17,6 +17,11 @@ import { lstatSync as lstatSync2, mkdirSync as mkdirSync2, readdirSync } from "f
|
|
|
17
17
|
import { homedir } from "os";
|
|
18
18
|
import { dirname, join as join2, relative, resolve, sep } from "path";
|
|
19
19
|
|
|
20
|
+
// src/utils/windowsAppData.ts
|
|
21
|
+
function windowsLocalAppData() {
|
|
22
|
+
return process.platform === "win32" ? process.env["LOCALAPPDATA"]?.trim() || void 0 : void 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
20
25
|
// src/utils/projectRecords.ts
|
|
21
26
|
import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readSync } from "fs";
|
|
22
27
|
import { join } from "path";
|
|
@@ -115,7 +120,12 @@ function seenPath(dir) {
|
|
|
115
120
|
real = resolve(dir);
|
|
116
121
|
}
|
|
117
122
|
const key = createHash("sha256").update(real).digest("hex").slice(0, 32);
|
|
118
|
-
|
|
123
|
+
const base = windowsLocalAppData();
|
|
124
|
+
return join2(
|
|
125
|
+
base ? join2(base, "hyperframes") : join2(homedir(), ".hyperframes"),
|
|
126
|
+
"catch-up",
|
|
127
|
+
`${key}.json`
|
|
128
|
+
);
|
|
119
129
|
}
|
|
120
130
|
function readSeen(dir) {
|
|
121
131
|
try {
|
|
@@ -213,9 +223,11 @@ ${CATCH_UP_NOTE}
|
|
|
213
223
|
}
|
|
214
224
|
|
|
215
225
|
export {
|
|
226
|
+
windowsLocalAppData,
|
|
216
227
|
writeRecord,
|
|
217
228
|
APP_HISTORY,
|
|
218
229
|
readAppTurns,
|
|
230
|
+
seenPath,
|
|
219
231
|
readSeen,
|
|
220
232
|
markSeen,
|
|
221
233
|
unseenTurns,
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CVZO6TFE.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DJQZ7DEH.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-526VSRZ4.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NJNC2DQV.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-
|
|
34
|
+
} from "./chunk-HA3V4XAF.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-
|
|
48
|
+
} from "./chunk-UYPWH7PH.js";
|
|
49
49
|
import {
|
|
50
50
|
BrowserCleanupError,
|
|
51
51
|
closeManagedBrowser,
|
|
52
52
|
onStopSignal
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-MAUGXKSI.js";
|
|
54
54
|
import {
|
|
55
55
|
findStageProxyBox
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IBZHSU2J.js";
|
|
57
57
|
import {
|
|
58
58
|
resolveAutoProxy
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-LXP6XWJL.js";
|
|
60
60
|
import {
|
|
61
61
|
injectTagsAtHeadStart
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BDJIQZN2.js";
|
|
63
63
|
import {
|
|
64
64
|
normalizeErrorMessage
|
|
65
65
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -573,7 +573,7 @@ function proxyFailedDraft(message) {
|
|
|
573
573
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
574
574
|
}
|
|
575
575
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
576
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
576
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z2JTBNDS.js");
|
|
577
577
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
578
578
|
}
|
|
579
579
|
function withCapturePreviewMark(html) {
|
|
@@ -635,7 +635,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
635
635
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
636
636
|
}));
|
|
637
637
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
638
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
638
|
+
const { analyzeClipMediaFit } = await import("./src-ZOXUSGAP.js");
|
|
639
639
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
640
640
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
641
641
|
}
|
|
@@ -771,7 +771,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
771
771
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
772
772
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
773
773
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
774
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
774
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z2JTBNDS.js");
|
|
775
775
|
return withCapturePreviewMark(
|
|
776
776
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
777
777
|
);
|
|
@@ -5,7 +5,7 @@ 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
|
|
|
8
|
-
// ../studio-server/dist/chunk-
|
|
8
|
+
// ../studio-server/dist/chunk-ZR3T4TKU.js
|
|
9
9
|
var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
|
|
10
10
|
var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
|
|
11
11
|
var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
|
|
@@ -36,10 +36,46 @@ function parseRateControl(body, format) {
|
|
|
36
36
|
if (isSet(body.videoBitrate)) return parseVideoBitrate(body.videoBitrate);
|
|
37
37
|
return { ok: true, options: {} };
|
|
38
38
|
}
|
|
39
|
+
function parseKeyframeInterval(value) {
|
|
40
|
+
if (typeof value !== "number" || !(value > 0)) {
|
|
41
|
+
return { ok: false, error: "keyframeIntervalSeconds must be a positive number of seconds" };
|
|
42
|
+
}
|
|
43
|
+
return { ok: true, options: { keyframeIntervalSeconds: value } };
|
|
44
|
+
}
|
|
45
|
+
function parseBitrateField(name, value) {
|
|
46
|
+
if (typeof value !== "string" || !VIDEO_BITRATE.test(value)) {
|
|
47
|
+
return { ok: false, error: `${name} must look like "8M", "5000k" or "8000000"` };
|
|
48
|
+
}
|
|
49
|
+
return { ok: true, options: { [name]: value } };
|
|
50
|
+
}
|
|
51
|
+
var DELIVERY_FIELDS = [
|
|
52
|
+
["keyframeIntervalSeconds", parseKeyframeInterval],
|
|
53
|
+
["maxBitrate", (value) => parseBitrateField("maxBitrate", value)],
|
|
54
|
+
["bufferSize", (value) => parseBitrateField("bufferSize", value)]
|
|
55
|
+
];
|
|
56
|
+
function parseDelivery(body, format) {
|
|
57
|
+
const present = DELIVERY_FIELDS.filter(([name]) => isSet(body[name]));
|
|
58
|
+
if (present.length === 0) return { ok: true, options: {} };
|
|
59
|
+
if (format !== "mp4") {
|
|
60
|
+
return { ok: false, error: "keyframeIntervalSeconds and maxBitrate apply to mp4 renders" };
|
|
61
|
+
}
|
|
62
|
+
if (isSet(body.bufferSize) && !isSet(body.maxBitrate)) {
|
|
63
|
+
return { ok: false, error: "bufferSize requires maxBitrate" };
|
|
64
|
+
}
|
|
65
|
+
const options = {};
|
|
66
|
+
for (const [name, parse] of present) {
|
|
67
|
+
const parsed = parse(body[name]);
|
|
68
|
+
if (!parsed.ok) return parsed;
|
|
69
|
+
Object.assign(options, parsed.options);
|
|
70
|
+
}
|
|
71
|
+
return { ok: true, options };
|
|
72
|
+
}
|
|
39
73
|
function parseEncoderOptions(body, format) {
|
|
40
74
|
const rate = parseRateControl(body, format);
|
|
41
75
|
if (!rate.ok) return rate;
|
|
42
|
-
const
|
|
76
|
+
const delivery = parseDelivery(body, format);
|
|
77
|
+
if (!delivery.ok) return delivery;
|
|
78
|
+
const options = { ...rate.options, ...delivery.options };
|
|
43
79
|
if (isSet(body.gifLoop)) {
|
|
44
80
|
if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
|
|
45
81
|
return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
|
|
@@ -63,7 +99,20 @@ function parseEncoderOptions(body, format) {
|
|
|
63
99
|
}
|
|
64
100
|
return { ok: true, options };
|
|
65
101
|
}
|
|
102
|
+
function encoderJobOptions(opts) {
|
|
103
|
+
const { crf, videoBitrate, keyframeIntervalSeconds, maxBitrate, bufferSize } = opts;
|
|
104
|
+
return {
|
|
105
|
+
...crf !== void 0 ? { crf } : {},
|
|
106
|
+
...videoBitrate ? { videoBitrate } : {},
|
|
107
|
+
...keyframeIntervalSeconds !== void 0 ? { keyframeIntervalSeconds } : {},
|
|
108
|
+
...maxBitrate ? { maxBitrate } : {},
|
|
109
|
+
...bufferSize ? { bufferSize } : {},
|
|
110
|
+
...opts.videoFrameFormat ? { videoFrameFormat: opts.videoFrameFormat } : {},
|
|
111
|
+
...opts.hdrMode ? { hdrMode: opts.hdrMode } : {}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
66
114
|
|
|
67
115
|
export {
|
|
68
|
-
parseEncoderOptions
|
|
116
|
+
parseEncoderOptions,
|
|
117
|
+
encoderJobOptions
|
|
69
118
|
};
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IK4JY2LI.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HM7SUIQD.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EHFZEKQM.js";
|
|
22
22
|
import {
|
|
23
23
|
getFreeDiskMb
|
|
24
24
|
} from "./chunk-QSFWGZG6.js";
|
|
@@ -209,9 +209,35 @@ function chromeLaunchFailureDetails(error) {
|
|
|
209
209
|
typeof code === "string" ? code : ""
|
|
210
210
|
].filter(Boolean).join(", ");
|
|
211
211
|
}
|
|
212
|
+
async function windowsChromeVersionMajor(executablePath, signal) {
|
|
213
|
+
try {
|
|
214
|
+
const { stdout } = await runCancellableProcess(
|
|
215
|
+
"powershell.exe",
|
|
216
|
+
[
|
|
217
|
+
"-NoProfile",
|
|
218
|
+
"-NonInteractive",
|
|
219
|
+
"-Command",
|
|
220
|
+
"(Get-Item -LiteralPath $env:HF_CHROME).VersionInfo.ProductVersion"
|
|
221
|
+
],
|
|
222
|
+
{
|
|
223
|
+
signal,
|
|
224
|
+
timeoutMs: 1e4,
|
|
225
|
+
maxBufferBytes: 4 * 1024,
|
|
226
|
+
env: { ...process.env, HF_CHROME: executablePath }
|
|
227
|
+
}
|
|
228
|
+
);
|
|
229
|
+
return extractMajorVersion(stdout);
|
|
230
|
+
} catch {
|
|
231
|
+
if (signal?.aborted) signal.throwIfAborted();
|
|
232
|
+
return void 0;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
212
235
|
async function chromeLaunchOutcome(executablePath, found, signal) {
|
|
213
236
|
const libraries = await chromeSharedLibOutcome(executablePath, found, signal);
|
|
214
237
|
if (!libraries.ok) return libraries;
|
|
238
|
+
if (process.platform === "win32") {
|
|
239
|
+
return { ...found, versionMajor: await windowsChromeVersionMajor(executablePath, signal) };
|
|
240
|
+
}
|
|
215
241
|
try {
|
|
216
242
|
const { stdout } = await runCancellableProcess(executablePath, ["--version"], {
|
|
217
243
|
signal,
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setHostHandlesSigint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LK6KPVX2.js";
|
|
10
10
|
import {
|
|
11
11
|
processAncestorSnapshot,
|
|
12
12
|
processIdentity,
|
|
13
13
|
processParentPid
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C53ZNJDZ.js";
|
|
15
15
|
import {
|
|
16
16
|
processIsAlive
|
|
17
17
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
MAX_AUDIO_GAIN_DB,
|
|
12
12
|
formatAudioGain,
|
|
13
13
|
isAudibleVideoElement
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
decodeAuthoredAttribute
|
|
17
|
-
} from "./chunk-SVVAUJPL.js";
|
|
14
|
+
} from "./chunk-BDJIQZN2.js";
|
|
18
15
|
import {
|
|
19
16
|
findFfBinary
|
|
20
17
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -22,7 +19,10 @@ import {
|
|
|
22
19
|
decodeWellFormedEscapes,
|
|
23
20
|
decodedUrlPath,
|
|
24
21
|
readMediaOffsetSeconds
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SE2MXV2N.js";
|
|
23
|
+
import {
|
|
24
|
+
decodeAuthoredAttribute
|
|
25
|
+
} from "./chunk-NHA4NRBE.js";
|
|
26
26
|
|
|
27
27
|
// ../studio-server/dist/chunk-QZWVJKLI.js
|
|
28
28
|
import { execFile } from "child_process";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6Z7XDUUJ.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LXP6XWJL.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VAVDAOUA.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UUOIH4RW.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XKW4Z7BU.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NSC5A4IR.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7RWUY3BJ.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -74,7 +74,7 @@ function detectProvider() {
|
|
|
74
74
|
];
|
|
75
75
|
const cmd = process.platform === "win32" ? "where" : "which";
|
|
76
76
|
for (const p of candidates) {
|
|
77
|
-
const result = spawnSync(cmd, [p.cmd], { stdio: "ignore" });
|
|
77
|
+
const result = spawnSync(cmd, [p.cmd], { stdio: "ignore", windowsHide: true });
|
|
78
78
|
if (result.status === 0) return p;
|
|
79
79
|
}
|
|
80
80
|
return void 0;
|
|
@@ -89,7 +89,8 @@ function copyToClipboard(text) {
|
|
|
89
89
|
input: text,
|
|
90
90
|
encoding: "utf-8",
|
|
91
91
|
stdio: ["pipe", "ignore", "ignore"],
|
|
92
|
-
timeout: COPY_TIMEOUT_MS
|
|
92
|
+
timeout: COPY_TIMEOUT_MS,
|
|
93
|
+
windowsHide: true
|
|
93
94
|
});
|
|
94
95
|
return res.status === 0;
|
|
95
96
|
} catch {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DML6BD4K.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|