hyperframes 0.8.111 → 0.8.113
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/dist/{add-M5WN2AM2.js → add-ILIGSLV4.js} +15 -15
- package/dist/{agentPromptGenerator-QL2KAWEP.js → agentPromptGenerator-VIIPZCJ3.js} +1 -1
- package/dist/{animatedGifPrep-NMGFOSIL.js → animatedGifPrep-U7FMC7DB.js} +6 -6
- package/dist/{asset-GUASPIKN.js → asset-OFDEIAGM.js} +2 -2
- package/dist/{assetCataloger-FXEHOUA3.js → assetCataloger-5LCGR5XU.js} +2 -2
- package/dist/{auth-3YMEVUKJ.js → auth-5JDDEX2M.js} +2 -2
- package/dist/{autoUpdate-FYCGHBPC.js → autoUpdate-JXVZVJCV.js} +2 -2
- package/dist/{backgroundChecks-ZLYIRMTS.js → backgroundChecks-BBWGY3V6.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZTHFMHZY.js → batchRender-QVJ7NEUH.js} +3 -3
- package/dist/{beats-GXY5ZBPB.js → beats-YEYVQMX6.js} +11 -11
- package/dist/{benchmark-MJFVBVNW.js → benchmark-J2V46VWI.js} +12 -12
- package/dist/{browser-ZDI7IX6H.js → browser-XBWASLD2.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-4Q3ETTHW.js → bundleWithLocalizedFonts-4CVITCYK.js} +2 -2
- package/dist/{capture-4OPH4PMK.js → capture-F2Y7TIHU.js} +41 -43
- package/dist/{capture-OG6532RA.js → capture-GLHK4ST7.js} +3 -3
- package/dist/{captureFile-JOPOCRU7.js → captureFile-LYOJOUIE.js} +3 -1
- package/dist/{catalog-23DP7KCW.js → catalog-3QDMTDK2.js} +15 -15
- package/dist/{check-5X6BJA2P.js → check-O3RR4NWI.js} +52 -40
- package/dist/{checkBrowser-3QHBTMYM.js → checkBrowser-K36DAG4S.js} +32 -31
- package/dist/{chunk-NIGUNLOO.js → chunk-2DBYGR4N.js} +10 -9
- package/dist/{chunk-TIZQC44K.js → chunk-3IUSKIZW.js} +1 -1
- package/dist/{chunk-YLOSZHA2.js → chunk-3XPZJUKM.js} +2 -2
- package/dist/{chunk-32P7FTFC.js → chunk-4KGMIOMY.js} +9 -8
- package/dist/{chunk-N34BYX3E.js → chunk-4PFZPP2N.js} +54 -30
- package/dist/{chunk-JTTAS7N6.js → chunk-7543YIMQ.js} +1 -1
- package/dist/{chunk-AMSBTN6L.js → chunk-7CGIICLA.js} +3 -3
- package/dist/{chunk-LAQEZHOH.js → chunk-BOUDTDBQ.js} +1 -1
- package/dist/chunk-C6AIZOQN.js +3541 -0
- package/dist/{chunk-EE6SV6KW.js → chunk-DDK22K3I.js} +3 -3
- package/dist/{chunk-QXERSWXX.js → chunk-DQBY7FRR.js} +123 -3
- package/dist/{chunk-HQGJLZB6.js → chunk-DR7QW6C5.js} +2 -2
- package/dist/{chunk-E4AYSXMS.js → chunk-E52XEEAA.js} +3 -3
- package/dist/{chunk-J4RPT4QW.js → chunk-E6RPWJVC.js} +1 -1
- package/dist/{chunk-QMAXDSCH.js → chunk-EMZF2TPA.js} +2 -2
- package/dist/{chunk-XYVFPDNU.js → chunk-ENHAGQEP.js} +1 -1
- package/dist/{chunk-B25H4M4V.js → chunk-FCEFKWPM.js} +1 -1
- package/dist/{chunk-BQYGGX3B.js → chunk-FW7K32YT.js} +1 -1
- package/dist/{chunk-6CI65KCP.js → chunk-FXHVADV6.js} +1 -1
- package/dist/{chunk-OF3RKOPU.js → chunk-G2T2X6FZ.js} +189 -111
- package/dist/{chunk-5ON5GH3X.js → chunk-GDJ74GHW.js} +4 -3
- package/dist/{chunk-I5WWEBDG.js → chunk-HTQR7SUZ.js} +1 -1
- package/dist/{chunk-TQKKC4MB.js → chunk-HYXL3VJA.js} +5 -5
- package/dist/{chunk-AWUZ3AUD.js → chunk-IP3XINRB.js} +1 -1
- package/dist/{chunk-HPEHQUJX.js → chunk-IRJBTYJF.js} +1 -1
- package/dist/chunk-K4WKGXRC.js +18 -0
- package/dist/{chunk-CQRF7VU3.js → chunk-L5QASNBN.js} +1 -1
- package/dist/{chunk-ITBEN3QD.js → chunk-L5SYYW2P.js} +2 -2
- package/dist/{chunk-MGFVNTIB.js → chunk-LMC46FK5.js} +2 -2
- package/dist/chunk-MRF4AMKD.js +104 -0
- package/dist/{chunk-U4TDAJZE.js → chunk-OCNCK5FQ.js} +2 -2
- package/dist/{chunk-JWPSBANO.js → chunk-OEA2J2TF.js} +3 -3
- package/dist/{chunk-N32ITJ7L.js → chunk-P3FGUSFK.js} +15 -12
- package/dist/{chunk-2JXJ5SGK.js → chunk-QPR4N2D4.js} +6 -6
- package/dist/{chunk-LFUXJBYA.js → chunk-R4NWAW35.js} +7 -7
- package/dist/{chunk-C4TZBEHY.js → chunk-SIN32SJB.js} +2 -2
- package/dist/{chunk-M224DAMG.js → chunk-T3NMEYGM.js} +1 -1
- package/dist/{chunk-Q2QNAFQV.js → chunk-U4VSY56O.js} +1 -1
- package/dist/{chunk-NH75EKOP.js → chunk-VFCKXTBB.js} +6 -3
- package/dist/{chunk-V4HKT2LV.js → chunk-VIJ35BJ6.js} +10 -10
- package/dist/{chunk-5ER3PYYP.js → chunk-VLC7JS4K.js} +1 -1
- package/dist/{chunk-MR2LOG32.js → chunk-VTP4VSRP.js} +8 -8
- package/dist/{chunk-ZU54D6MI.js → chunk-XFJXFNJF.js} +3 -3
- package/dist/{chunk-YIXEH4TF.js → chunk-XXKBPGPJ.js} +2 -2
- package/dist/{chunk-JUP65S7D.js → chunk-XZM2I47O.js} +3 -3
- package/dist/{chunk-BAVM2XBR.js → chunk-YJEGT5L6.js} +209 -33
- package/dist/{chunk-CFC3EEDQ.js → chunk-ZMMSMDCA.js} +1 -1
- package/dist/{chunk-PFEKMIN5.js → chunk-ZYSS3JED.js} +1 -1
- package/dist/{chunk-ZXSNGIYS.js → chunk-ZZIXIOK2.js} +4 -4
- package/dist/{clean-ATMEGSGP.js → clean-RPB34TT6.js} +16 -16
- package/dist/cli.js +122 -54
- package/dist/{cloud-ZFGUHACY.js → cloud-QECFFPKC.js} +4 -4
- package/dist/{cloudrun-LVZ4OPPC.js → cloudrun-BML6ZG7K.js} +3 -3
- package/dist/commands/layout-audit.browser.js +178 -202
- package/dist/commands/motion-sample.browser.js +24 -71
- package/dist/commands/motion-signature.browser.js +374 -0
- package/dist/{compare-55LEUY7M.js → compare-PF6WHQ4T.js} +26 -26
- package/dist/{compiler-C32VXLE2.js → compiler-ZHVIEP26.js} +3 -3
- package/dist/{component-3EDFANIC.js → component-4ENCNLED.js} +3 -3
- package/dist/{compositions-OPU6U6GM.js → compositions-5UA33RSG.js} +11 -11
- package/dist/{contactSheet-54AJDSR5.js → contactSheet-27SRU7A4.js} +2 -2
- package/dist/{delete-PJE4P3HH.js → delete-SARS5LIK.js} +2 -2
- package/dist/{deploy-4T3RMA5G.js → deploy-MX76RZ36.js} +1 -1
- package/dist/{destroy-EYDBVHGF.js → destroy-H2TZBYHH.js} +1 -1
- package/dist/{dist-FMHQMEMX.js → dist-HRBNHR4M.js} +1 -1
- package/dist/{dist-YUIPB7OX.js → dist-OKRUIHYU.js} +2 -2
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/{doctor-EIVBJJAF.js → doctor-TSAQGYP4.js} +11 -11
- package/dist/{events-NP666TF4.js → events-3HUO73ZE.js} +9 -9
- package/dist/{events-ISMT4RDW.js → events-SZ5NWYWD.js} +8 -8
- package/dist/{feedback-4OSLMKBW.js → feedback-42OTOFC6.js} +10 -10
- package/dist/{figma-Y7ZHFCOU.js → figma-RYNFCYXB.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-E4GBRHQK.js → get-IRHLG5OQ.js} +2 -2
- package/dist/{gpuPolicy-CA6KRFQQ.js → gpuPolicy-LRMOZXFU.js} +6 -6
- package/dist/{grade-compare-B2EHEOLR.js → grade-compare-KGJP5HV7.js} +24 -24
- package/dist/{help-ISGUWGOR.js → help-C5HS56RZ.js} +1 -1
- package/dist/{history-FNRU3TL4.js → history-DFJNDM2T.js} +16 -17
- package/dist/hyperframe-runtime.js +54 -54
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +54 -54
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-FO7VR5NC.js → info-26GTDTKN.js} +11 -11
- package/dist/{init-IGW4DTVC.js → init-RXA6NI73.js} +25 -24
- package/dist/{inspect-D4GUGDW7.js → inspect-2S5GAZYC.js} +25 -25
- package/dist/{installer-NBEN3ZIP.js → installer-DGYYDGWJ.js} +4 -4
- package/dist/{keyframes-CXZLEC3R.js → keyframes-WBMAX7XZ.js} +12 -12
- package/dist/{lambda-BFHJMMCG.js → lambda-OQBFCEFA.js} +6 -6
- package/dist/{layout-XEDEOLAH.js → layout-ZRU7PXBG.js} +25 -25
- package/dist/{lint-LLGMCVZ5.js → lint-ATVNZ6FG.js} +12 -12
- package/dist/{lintProject-X7L7EZWZ.js → lintProject-TOLC6HDS.js} +1 -1
- package/dist/{list-LUCWSLK6.js → list-E2GHYPCQ.js} +2 -2
- package/dist/{login-SMWYXJWJ.js → login-LOC4KA7H.js} +4 -4
- package/dist/{manager-NEVLEZK3.js → manager-CT3D67CG.js} +1 -1
- package/dist/{media-treatment-OYTNU6PX.js → media-treatment-L43MVH2V.js} +15 -14
- package/dist/{models-RILNQV3Z.js → models-JF5OOZ5A.js} +7 -7
- package/dist/{motionShot-5F4DCMWC.js → motionShot-BJ5CLYMN.js} +12 -12
- package/dist/{normalize-audio-4LHYKFON.js → normalize-audio-K33FKGAF.js} +11 -11
- package/dist/{pipeline-5UY45ELH.js → pipeline-IWPF5ZMK.js} +6 -6
- package/dist/{play-D4AHRZQD.js → play-PHHXYCQI.js} +20 -20
- package/dist/{preflight-3V5IHGWQ.js → preflight-2GH2Z4GZ.js} +8 -8
- package/dist/{present-VUH7PLOO.js → present-KBFK2YVB.js} +16 -16
- package/dist/{preview-NCFC65VR.js → preview-T3E5TFDC.js} +159 -87
- package/dist/{producer-7JGAPEAF.js → producer-SL66UNEP.js} +1 -1
- package/dist/{projectConfig-JHEWPAA5.js → projectConfig-7AKXZNNR.js} +6 -6
- package/dist/{publication-7XA2H7UB.js → publication-B2OERUY7.js} +2 -2
- package/dist/{publish-257VZMWI.js → publish-ZGKT7KED.js} +8 -8
- package/dist/{remove-background-EV6XVADN.js → remove-background-4LRTT6YL.js} +7 -7
- package/dist/{render-DHCMWKFV.js → render-H6RSJF2V.js} +12 -12
- package/dist/{render-DKXGFQVW.js → render-OKNPNMFS.js} +23 -23
- package/dist/{render-4C3YKVZI.js → render-TGCDBKMP.js} +3 -3
- package/dist/{render-batch-AFDBPDMM.js → render-batch-WRQFW4UC.js} +3 -3
- package/dist/{renderCancellation-VIZELWDD.js → renderCancellation-BFCQYGVV.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-S72XBTEQ.js → resolver-37UOGAMT.js} +4 -4
- package/dist/{screenshotCapture-FA5HPN7Q.js → screenshotCapture-ECBTLCU6.js} +3 -3
- package/dist/{sherpa-BAADWCHB.js → sherpa-SDVKYXCX.js} +7 -7
- package/dist/skills/hyperframes/references/frame-worker-core.md +2 -2
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +19 -5
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +69 -1
- package/dist/{skills-2BGFBUR6.js → skills-O25ZTFTO.js} +40 -14
- package/dist/{skillsUpdateCheck-5LYFYHUF.js → skillsUpdateCheck-Y2V4OMMT.js} +3 -3
- package/dist/{snapshot-Z37DZL4T.js → snapshot-KGM2HZIC.js} +52 -31
- package/dist/{src-GD7RGV5U.js → src-PJJ6NISA.js} +5 -5
- package/dist/{src-GRC63B6L.js → src-PLWCT745.js} +7 -7
- package/dist/{staticProjectServer-SFINO3DE.js → staticProjectServer-OCE7GU5S.js} +14 -14
- package/dist/{status-LXQL3L3H.js → status-LENRPQS5.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DvJeHBHi.js → hyperframes-player-DzJbtQVO.js} +1 -1
- package/dist/studio/assets/{index-SFktf7O1.js → index-DRhF3v4Z.js} +194 -194
- package/dist/studio/assets/{index-C7apTvpr.css → index-DbfKVTId.css} +1 -1
- package/dist/studio/assets/{index--G6c4Q_x.js → index-DgwDQK5G.js} +1 -1
- package/dist/studio/assets/{index-Bt4vDkfw.js → index-n5FUn1xv.js} +1 -1
- package/dist/studio/{chunk-PQFEBX32.js → chunk-BIUXP3PG.js} +2 -2
- package/dist/studio/{chunk-6LUNLTHR.js → chunk-K47E2ZJA.js} +13 -8
- package/dist/studio/chunk-K47E2ZJA.js.map +1 -0
- package/dist/studio/{chunk-QUXZVHOJ.js → chunk-VWT7STY3.js} +2 -2
- package/dist/studio/{domEditingLayers-JQPQGGT7.js → domEditingLayers-V67MS4WP.js} +3 -3
- package/dist/studio/index.d.ts +80 -46
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +7294 -6844
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/studio/styles.css +1 -1
- package/dist/{studio-api-WRSCXPWS.js → studio-api-IEQ5BIHT.js} +8 -8
- package/dist/{studioSelectionClient-A6JCWRRW.js → studioSelectionClient-IUUPKUHZ.js} +1 -2
- package/dist/{studioServer-HTLRGC5G.js → studioServer-LXJ34MGN.js} +43 -43
- package/dist/{system-EEWYEHYX.js → system-4KRSV2B7.js} +6 -6
- package/dist/{telemetry-NLEEMXO2.js → telemetry-R3BPD6VK.js} +9 -9
- package/dist/{timeline-7C4KM3KD.js → timeline-N5UKVS2S.js} +15 -15
- package/dist/{tokens-QQLJXW4G.js → tokens-774UBF2R.js} +2 -2
- package/dist/{transcribe-GCKJF5A6.js → transcribe-3UXXEDXX.js} +7 -7
- package/dist/{transcribe-TGR5CTA7.js → transcribe-IP74EZLM.js} +12 -12
- package/dist/{tts-DO2W6NLB.js → tts-P3LIPIL5.js} +13 -6
- package/dist/{updateCheck-73JM5QR3.js → updateCheck-EXHNAPKI.js} +2 -2
- package/dist/{upgrade-V6E5P53C.js → upgrade-A4M3O2F2.js} +2 -2
- package/dist/{urlDownloader-NYXPEBUN.js → urlDownloader-4KNER64L.js} +5 -5
- package/dist/{validate-INP7WJAK.js → validate-DV75GM6J.js} +15 -15
- package/dist/{video-KWQ5TSVD.js → video-GINAMW5I.js} +17 -9
- package/package.json +1 -1
- package/dist/chunk-5GQAJ43Q.js +0 -31
- package/dist/chunk-VWA4HODG.js +0 -129
- package/dist/chunk-YLVI7VL5.js +0 -3541
- package/dist/studio/chunk-6LUNLTHR.js.map +0 -1
- /package/dist/studio/{chunk-PQFEBX32.js.map → chunk-BIUXP3PG.js.map} +0 -0
- /package/dist/studio/{chunk-QUXZVHOJ.js.map → chunk-VWT7STY3.js.map} +0 -0
- /package/dist/studio/{domEditingLayers-JQPQGGT7.js.map → domEditingLayers-V67MS4WP.js.map} +0 -0
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
rewritePinnedHyperframesText,
|
|
29
29
|
rewriteProjectPinnedScripts,
|
|
30
30
|
withMeta
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U4VSY56O.js";
|
|
32
32
|
import "./chunk-K4WIOZFP.js";
|
|
33
33
|
import "./chunk-XUXGIA7H.js";
|
|
34
34
|
import "./chunk-WERLJGIC.js";
|
|
35
35
|
import "./chunk-ISN5GRYI.js";
|
|
36
36
|
import {
|
|
37
37
|
VERSION
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3XPZJUKM.js";
|
|
39
39
|
import "./chunk-KNU5COPB.js";
|
|
40
40
|
import "./chunk-M2WBOQ2Q.js";
|
|
41
41
|
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
isHttpUrl,
|
|
12
12
|
safeDownloadUrlIdentity,
|
|
13
13
|
writeUrlDownloadTelemetry
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-G2T2X6FZ.js";
|
|
15
|
+
import "./chunk-FCEFKWPM.js";
|
|
16
16
|
import "./chunk-UUDQD62L.js";
|
|
17
17
|
import "./chunk-DPVXBVLL.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OCNCK5FQ.js";
|
|
19
|
+
import "./chunk-C6AIZOQN.js";
|
|
20
20
|
import "./chunk-VC76R6W2.js";
|
|
21
21
|
import "./chunk-OFQWTKPW.js";
|
|
22
22
|
import "./chunk-TWWSYAKJ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-YJEGT5L6.js";
|
|
24
24
|
import "./chunk-HBBJFK6I.js";
|
|
25
25
|
import "./chunk-PJ3HDUCY.js";
|
|
26
26
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -13,46 +13,46 @@ import {
|
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure,
|
|
15
15
|
validate_default
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VIJ35BJ6.js";
|
|
17
|
+
import "./chunk-4KGMIOMY.js";
|
|
18
18
|
import "./chunk-5Z63TBTX.js";
|
|
19
19
|
import "./chunk-262C25DQ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-3IUSKIZW.js";
|
|
21
21
|
import "./chunk-YEIFI443.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-IRJBTYJF.js";
|
|
23
23
|
import "./chunk-IHFUKJOR.js";
|
|
24
|
+
import "./chunk-T3NMEYGM.js";
|
|
24
25
|
import "./chunk-PFCFR3KZ.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-EE6SV6KW.js";
|
|
26
|
+
import "./chunk-7CGIICLA.js";
|
|
27
|
+
import "./chunk-DDK22K3I.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import "./chunk-ZTZA4UWZ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-L5QASNBN.js";
|
|
31
31
|
import "./chunk-AMKC3AXA.js";
|
|
32
32
|
import "./chunk-S3S4TGEH.js";
|
|
33
33
|
import "./chunk-54HJ63Q2.js";
|
|
34
34
|
import "./chunk-PBN6GBJE.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-G2T2X6FZ.js";
|
|
36
|
+
import "./chunk-FCEFKWPM.js";
|
|
37
37
|
import "./chunk-UUDQD62L.js";
|
|
38
38
|
import "./chunk-DPVXBVLL.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-OCNCK5FQ.js";
|
|
40
|
+
import "./chunk-C6AIZOQN.js";
|
|
41
41
|
import "./chunk-VC76R6W2.js";
|
|
42
42
|
import "./chunk-OFQWTKPW.js";
|
|
43
43
|
import "./chunk-TWWSYAKJ.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-YJEGT5L6.js";
|
|
45
45
|
import "./chunk-HBBJFK6I.js";
|
|
46
46
|
import "./chunk-PJ3HDUCY.js";
|
|
47
47
|
import "./chunk-TQFG7HTI.js";
|
|
48
48
|
import "./chunk-GK4AIFIH.js";
|
|
49
49
|
import "./chunk-2PSPARWP.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-U4VSY56O.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-
|
|
55
|
+
import "./chunk-3XPZJUKM.js";
|
|
56
56
|
import "./chunk-KNU5COPB.js";
|
|
57
57
|
import "./chunk-3GXQPCJC.js";
|
|
58
58
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -7,8 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
CAPTURE_USER_AGENT,
|
|
9
9
|
safeFetch
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import
|
|
10
|
+
} from "./chunk-QPR4N2D4.js";
|
|
11
|
+
import {
|
|
12
|
+
ensureCaptureDirSync
|
|
13
|
+
} from "./chunk-MRF4AMKD.js";
|
|
12
14
|
import "./chunk-AWDFDFI3.js";
|
|
13
15
|
import {
|
|
14
16
|
c
|
|
@@ -16,16 +18,16 @@ import {
|
|
|
16
18
|
import {
|
|
17
19
|
setCommandExitCode
|
|
18
20
|
} from "./chunk-PBN6GBJE.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-G2T2X6FZ.js";
|
|
22
|
+
import "./chunk-FCEFKWPM.js";
|
|
21
23
|
import "./chunk-UUDQD62L.js";
|
|
22
24
|
import "./chunk-DPVXBVLL.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-OCNCK5FQ.js";
|
|
26
|
+
import "./chunk-C6AIZOQN.js";
|
|
25
27
|
import "./chunk-VC76R6W2.js";
|
|
26
28
|
import "./chunk-OFQWTKPW.js";
|
|
27
29
|
import "./chunk-TWWSYAKJ.js";
|
|
28
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-YJEGT5L6.js";
|
|
29
31
|
import "./chunk-HBBJFK6I.js";
|
|
30
32
|
import "./chunk-PJ3HDUCY.js";
|
|
31
33
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -37,7 +39,7 @@ import "./chunk-PMRBLBUP.js";
|
|
|
37
39
|
import "./chunk-M2WBOQ2Q.js";
|
|
38
40
|
|
|
39
41
|
// src/commands/capture/video.ts
|
|
40
|
-
import { createWriteStream, existsSync,
|
|
42
|
+
import { createWriteStream, existsSync, readFileSync, unlinkSync } from "fs";
|
|
41
43
|
import { resolve, join, basename } from "path";
|
|
42
44
|
var MAX_VIDEO_BYTES = 250 * 1024 * 1024;
|
|
43
45
|
var VIDEO_CONTENT_TYPE_RE = /^(video\/|application\/(mp4|octet-stream|x-mpegurl))/i;
|
|
@@ -215,7 +217,13 @@ async function runVideoMode(args) {
|
|
|
215
217
|
return;
|
|
216
218
|
}
|
|
217
219
|
const outDir = isW2hLayout ? join(projectDir, "capture", "assets", "videos") : join(projectDir, "assets", "videos");
|
|
218
|
-
|
|
220
|
+
try {
|
|
221
|
+
ensureCaptureDirSync(projectDir, outDir);
|
|
222
|
+
} catch (e) {
|
|
223
|
+
console.error(`${c.error("\u2717")} ${e.message}`);
|
|
224
|
+
setCommandExitCode(1);
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
219
227
|
const fname = safeFilename(entry.filename || basename(entry.url));
|
|
220
228
|
const outPath = join(outDir, fname);
|
|
221
229
|
const relPath = isW2hLayout ? `capture/assets/videos/${fname}` : `assets/videos/${fname}`;
|
package/package.json
CHANGED
package/dist/chunk-5GQAJ43Q.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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/capture/captureFile.ts
|
|
9
|
-
import { mkdtempSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
10
|
-
import { basename, dirname, join } from "path";
|
|
11
|
-
function publishCaptureFileSync(path, data, options) {
|
|
12
|
-
const stagingDir = mkdtempSync(join(dirname(path), ".capture-"));
|
|
13
|
-
try {
|
|
14
|
-
const staged = join(stagingDir, basename(path));
|
|
15
|
-
writeCaptureFileSync(staged, data, { ...options, flag: "wx" });
|
|
16
|
-
renameSync(staged, path);
|
|
17
|
-
} finally {
|
|
18
|
-
rmSync(stagingDir, { recursive: true, force: true });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function writeCaptureFileSync(path, data, options) {
|
|
22
|
-
const normalized = typeof options === "string" ? { encoding: options } : options;
|
|
23
|
-
if (normalized?.flag === void 0 || normalized.flag === "w") {
|
|
24
|
-
return publishCaptureFileSync(path, data, normalized);
|
|
25
|
-
}
|
|
26
|
-
writeFileSync(path, data, { ...normalized, mode: 384 });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
writeCaptureFileSync
|
|
31
|
-
};
|
package/dist/chunk-VWA4HODG.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
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
|
-
import {
|
|
8
|
-
scanActiveServers
|
|
9
|
-
} from "./chunk-QXERSWXX.js";
|
|
10
|
-
|
|
11
|
-
// src/utils/studioSelectionClient.ts
|
|
12
|
-
import { existsSync, realpathSync } from "fs";
|
|
13
|
-
import { resolve } from "path";
|
|
14
|
-
var VITE_STUDIO_DISCOVERY_PORTS = [5190];
|
|
15
|
-
var AmbiguousPreviewServerError = class extends Error {
|
|
16
|
-
ports;
|
|
17
|
-
constructor(servers) {
|
|
18
|
-
const ports = servers.map((server) => server.port).sort((a, b) => a - b);
|
|
19
|
-
super(
|
|
20
|
-
`Multiple Studio preview servers match this project (${ports.join(", ")}). Pass --port <port> to choose one.`
|
|
21
|
-
);
|
|
22
|
-
this.name = "AmbiguousPreviewServerError";
|
|
23
|
-
this.ports = ports;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var PreviewServerPortMismatchError = class extends Error {
|
|
27
|
-
requestedPort;
|
|
28
|
-
ports;
|
|
29
|
-
constructor(requestedPort, servers) {
|
|
30
|
-
const ports = servers.map((server) => server.port).sort((a, b) => a - b);
|
|
31
|
-
super(
|
|
32
|
-
`No Studio preview server for this project is running on port ${requestedPort}. Matching server port${ports.length === 1 ? "" : "s"}: ${ports.join(", ")}. Rerun with --port ${ports[0]}${ports.length > 1 ? " or omit --port to see all candidates" : ""}.`
|
|
33
|
-
);
|
|
34
|
-
this.name = "PreviewServerPortMismatchError";
|
|
35
|
-
this.requestedPort = requestedPort;
|
|
36
|
-
this.ports = ports;
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
function normalizePath(path) {
|
|
40
|
-
const resolved = resolve(path);
|
|
41
|
-
try {
|
|
42
|
-
if (existsSync(resolved)) {
|
|
43
|
-
return realpathSync(resolved).replace(/\\/g, "/").toLowerCase();
|
|
44
|
-
}
|
|
45
|
-
} catch {
|
|
46
|
-
}
|
|
47
|
-
return resolved.replace(/\\/g, "/").toLowerCase();
|
|
48
|
-
}
|
|
49
|
-
async function findPreviewServerForProject(projectDir, startPort = 3002, scan = scanActiveServers, fetchImpl = fetch, options = {}) {
|
|
50
|
-
const normalizedProjectDir = normalizePath(projectDir);
|
|
51
|
-
const servers = await scan(startPort);
|
|
52
|
-
const embeddedServers = servers.filter(
|
|
53
|
-
(server) => normalizePath(server.projectDir) === normalizedProjectDir
|
|
54
|
-
);
|
|
55
|
-
if (options.preferredPort !== void 0) {
|
|
56
|
-
const preferred = embeddedServers.find((server) => server.port === options.preferredPort);
|
|
57
|
-
if (preferred) return preferred;
|
|
58
|
-
const viteServer = await findViteStudioServerForProject(normalizedProjectDir, fetchImpl, [
|
|
59
|
-
options.preferredPort
|
|
60
|
-
]);
|
|
61
|
-
if (viteServer) return viteServer;
|
|
62
|
-
if (embeddedServers.length > 0) {
|
|
63
|
-
throw new PreviewServerPortMismatchError(options.preferredPort, embeddedServers);
|
|
64
|
-
}
|
|
65
|
-
return null;
|
|
66
|
-
}
|
|
67
|
-
if (embeddedServers.length === 1) return embeddedServers[0];
|
|
68
|
-
if (embeddedServers.length > 1) throw new AmbiguousPreviewServerError(embeddedServers);
|
|
69
|
-
return findViteStudioServerForProject(normalizedProjectDir, fetchImpl);
|
|
70
|
-
}
|
|
71
|
-
function studioSelectionUrl(server) {
|
|
72
|
-
return studioApiUrl(server, "selection");
|
|
73
|
-
}
|
|
74
|
-
function studioApiUrl(server, route) {
|
|
75
|
-
const host = server.host ?? "127.0.0.1";
|
|
76
|
-
return `http://${host}:${server.port}/api/projects/${encodeURIComponent(server.projectName)}/${route}`;
|
|
77
|
-
}
|
|
78
|
-
var LOOPBACK_HOSTS = ["127.0.0.1", "[::1]"];
|
|
79
|
-
async function findViteStudioServerForProject(normalizedProjectDir, fetchImpl, ports = VITE_STUDIO_DISCOVERY_PORTS) {
|
|
80
|
-
for (const port of ports) {
|
|
81
|
-
for (const host of LOOPBACK_HOSTS) {
|
|
82
|
-
try {
|
|
83
|
-
const response = await fetchImpl(`http://${host}:${port}/api/projects`);
|
|
84
|
-
if (!response.ok) continue;
|
|
85
|
-
const payload = await response.json();
|
|
86
|
-
const project = payload.projects?.find(
|
|
87
|
-
(candidate) => normalizePath(candidate.dir) === normalizedProjectDir
|
|
88
|
-
);
|
|
89
|
-
if (!project) continue;
|
|
90
|
-
return {
|
|
91
|
-
port,
|
|
92
|
-
host,
|
|
93
|
-
projectName: project.id,
|
|
94
|
-
projectDir: project.dir,
|
|
95
|
-
version: "studio-dev",
|
|
96
|
-
pid: null
|
|
97
|
-
};
|
|
98
|
-
} catch {
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
return null;
|
|
103
|
-
}
|
|
104
|
-
async function fetchStudioSelection(server, fetchImpl = fetch) {
|
|
105
|
-
const url = studioSelectionUrl(server);
|
|
106
|
-
const response = await fetchImpl(url);
|
|
107
|
-
if (!response.ok) {
|
|
108
|
-
throw new Error(`selection endpoint returned ${response.status}`);
|
|
109
|
-
}
|
|
110
|
-
return await response.json();
|
|
111
|
-
}
|
|
112
|
-
async function fetchStudioLint(server, fetchImpl = fetch) {
|
|
113
|
-
const url = studioApiUrl(server, "lint");
|
|
114
|
-
const response = await fetchImpl(url);
|
|
115
|
-
if (!response.ok) {
|
|
116
|
-
throw new Error(`lint endpoint returned ${response.status}`);
|
|
117
|
-
}
|
|
118
|
-
return await response.json();
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export {
|
|
122
|
-
AmbiguousPreviewServerError,
|
|
123
|
-
PreviewServerPortMismatchError,
|
|
124
|
-
findPreviewServerForProject,
|
|
125
|
-
studioSelectionUrl,
|
|
126
|
-
studioApiUrl,
|
|
127
|
-
fetchStudioSelection,
|
|
128
|
-
fetchStudioLint
|
|
129
|
-
};
|