hyperframes 0.8.211 → 0.8.212
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-WERDY37C.js → add-JSM7YBQX.js} +14 -13
- package/dist/{agentPromptGenerator-SEAPWYY5.js → agentPromptGenerator-NTPYCKOI.js} +5 -5
- package/dist/{animatedGifPrep-LC43PROA.js → animatedGifPrep-XTK7UWXF.js} +5 -5
- package/dist/api.js +17 -17
- package/dist/{asset-IVDQNYHP.js → asset-SMY2EGPH.js} +5 -4
- package/dist/{assetCataloger-PPE7M2WM.js → assetCataloger-CVPWY34W.js} +6 -6
- package/dist/{audio-IJ22GXO6.js → audio-Y4OYLTWN.js} +20 -19
- package/dist/{auth-FZMDHX2H.js → auth-MDEHZR7R.js} +4 -4
- package/dist/{autoUpdate-EO6SFALF.js → autoUpdate-3FL6EDPM.js} +4 -2
- package/dist/{backgroundChecks-YW5VIAYF.js → backgroundChecks-A6TG2BT3.js} +5 -3
- package/dist/backgroundChecksWorker.js +5 -3
- package/dist/{batchRender-OOXYNZOT.js → batchRender-K2PBRRTQ.js} +8 -7
- package/dist/{beats-X7GRQA4J.js → beats-RA6XK6J5.js} +13 -12
- package/dist/{benchmark-JGGBMRZO.js → benchmark-EHU5O4PP.js} +19 -17
- package/dist/{browser-FQ5JPTME.js → browser-7RUIZT2H.js} +12 -10
- package/dist/{bundleWithLocalizedFonts-XA73ZJ4S.js → bundleWithLocalizedFonts-O2U2FYY2.js} +2 -2
- package/dist/{capture-GUVCA5JQ.js → capture-77KDKKNK.js} +13 -12
- package/dist/{capture-KKVB3MKM.js → capture-JGYBORAG.js} +12 -9
- package/dist/{captureCompositionFrame-LNKWWCXE.js → captureCompositionFrame-DZ7EHPZV.js} +13 -12
- package/dist/{catalog-LKJEMEOC.js → catalog-CUP3SYAI.js} +18 -17
- package/dist/{catch-up-FA6KWX4S.js → catch-up-ZGUCWH5Q.js} +8 -7
- package/dist/{check-6GIDKL6S.js → check-ITGFVBT6.js} +41 -40
- package/dist/{checkAudio-H3AUFC4M.js → checkAudio-CTLPD6YT.js} +8 -8
- package/dist/{checkBrowser-YWWF63S6.js → checkBrowser-G2N4JI6N.js} +34 -33
- package/dist/{chunk-Q52ISCT4.js → chunk-25MKZTRT.js} +1 -1
- package/dist/{chunk-KSNIYQRB.js → chunk-26AQTUU4.js} +5 -7
- package/dist/{chunk-3LACB6HG.js → chunk-2YDIEZSF.js} +3 -3
- package/dist/{chunk-QVHC77IF.js → chunk-3JQ2YOKL.js} +2 -2
- package/dist/{chunk-FI7SSV73.js → chunk-3YBXKWAF.js} +1 -1
- package/dist/{chunk-5KOZRJR7.js → chunk-45JN2GIZ.js} +1 -1
- package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
- package/dist/{chunk-ZNSKOXFW.js → chunk-5TQ4AEPF.js} +3 -3
- package/dist/{chunk-J2JG4XGP.js → chunk-5ZBMHUY2.js} +4 -0
- package/dist/{chunk-KZBBY72Q.js → chunk-64XQS7AP.js} +1 -1
- package/dist/{chunk-ABBVDJMG.js → chunk-6SG3RRAQ.js} +2 -2
- package/dist/{chunk-JMD5HDPB.js → chunk-6ZLDIMPL.js} +2 -2
- package/dist/{chunk-CJ5QZRY7.js → chunk-7KBS6ZLB.js} +2 -2
- package/dist/{chunk-OOA6C4AG.js → chunk-7Q5TBUC2.js} +2 -2
- package/dist/{chunk-FBN5AQJL.js → chunk-7TWX4Y7I.js} +3 -3
- package/dist/{chunk-BGC5S3OZ.js → chunk-7W7ANGR4.js} +48 -35
- package/dist/{chunk-DJ3H6EW3.js → chunk-7ZAVTGGT.js} +10 -9
- package/dist/{chunk-3NIESDKN.js → chunk-A2WPZE2R.js} +1 -1
- package/dist/{chunk-CNU65QE2.js → chunk-AJAXP4HF.js} +9 -5
- package/dist/{chunk-2QAR7ZNY.js → chunk-BLVHVXRU.js} +2 -2
- package/dist/{chunk-472C35EW.js → chunk-BYRXSKIY.js} +1 -1
- package/dist/{chunk-5AKWJHRJ.js → chunk-CODPTVC2.js} +1 -1
- package/dist/{chunk-LALLQUSK.js → chunk-DP5LF7GF.js} +2 -0
- package/dist/{chunk-AIY2Y5UY.js → chunk-DS7ANFBV.js} +5 -5
- package/dist/{chunk-6J2G57BB.js → chunk-DVVTBVKA.js} +7 -7
- package/dist/{chunk-CGAUUUDL.js → chunk-DXPC7Z6L.js} +3 -3
- package/dist/{chunk-3R5MYOJN.js → chunk-EC77ZBCP.js} +2 -2
- package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
- package/dist/{chunk-CZCRSS3U.js → chunk-F5XADOGC.js} +1 -1
- package/dist/chunk-FJ646TIT.js +201 -0
- package/dist/{chunk-77KGX4A3.js → chunk-FKFGGAXN.js} +50 -8
- package/dist/{chunk-PICG2XRD.js → chunk-FW6CYA5D.js} +2 -2
- package/dist/{chunk-VUEWZXZG.js → chunk-G6HUXX3L.js} +1 -1
- package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
- package/dist/{chunk-DPYI2HRJ.js → chunk-GQ724553.js} +5 -5
- package/dist/{chunk-SXJJTFV4.js → chunk-GVE6I5EL.js} +4 -4
- package/dist/{chunk-NEQIJUV2.js → chunk-HXZNCXQX.js} +1 -1
- package/dist/{chunk-LAR5VTCN.js → chunk-J7GPSY5N.js} +4 -4
- package/dist/{chunk-4JWKC3GH.js → chunk-JZNQQI5M.js} +5 -5
- package/dist/{chunk-IEVU4FXB.js → chunk-KZZWYIEB.js} +3 -3
- package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
- package/dist/{chunk-4D46TX6Q.js → chunk-MJCIAZSK.js} +1 -1
- package/dist/{chunk-5LITFBMY.js → chunk-MX2GMAAW.js} +9 -9
- package/dist/{chunk-B2B4MN3R.js → chunk-N3J2MLXC.js} +2 -2
- package/dist/{chunk-JZVUSRZ5.js → chunk-N7XJHZ35.js} +1 -1
- package/dist/{chunk-RQNFW6YC.js → chunk-NGSENR4J.js} +8 -3
- package/dist/{chunk-VGKQFZCC.js → chunk-NXDKBFEO.js} +14 -14
- package/dist/{chunk-UI7X4L4M.js → chunk-OL5E4Y4L.js} +2074 -2060
- package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
- package/dist/{chunk-PKWZG642.js → chunk-ORJY6Z6G.js} +3 -3
- package/dist/{chunk-YWPCMOX4.js → chunk-OSCWTA2O.js} +5 -5
- package/dist/{chunk-SJK64HHG.js → chunk-OWV36OJP.js} +5 -2
- package/dist/{chunk-DAXKGMJL.js → chunk-P2VGMOX7.js} +5 -5
- package/dist/{chunk-OE5EHGDG.js → chunk-PW7FCVHR.js} +1 -1
- package/dist/{chunk-K43XLAQV.js → chunk-Q55JNFDV.js} +3 -3
- package/dist/{chunk-VBC3DQFS.js → chunk-QUXWS5UG.js} +1 -1
- package/dist/{chunk-DMIFCIG6.js → chunk-R5B6GXQM.js} +1 -1
- package/dist/{chunk-5MCR5DA5.js → chunk-RDZKBIEB.js} +5 -5
- package/dist/{chunk-B4KGJHTE.js → chunk-RJILJ4OR.js} +2 -2
- package/dist/{chunk-6EN2LWOM.js → chunk-RQC4PHO3.js} +1 -1
- package/dist/{chunk-ORXLO64X.js → chunk-S2HWGG5O.js} +1 -1
- package/dist/chunk-SJGE5I5F.js +131 -0
- package/dist/{chunk-ZPXXWUQ3.js → chunk-SPDSRBIN.js} +30 -4
- package/dist/{chunk-WNDTMINP.js → chunk-SXTWQ7CH.js} +2 -2
- package/dist/{chunk-22OGII5H.js → chunk-T7KNW7PE.js} +1 -1
- package/dist/{chunk-2RQZQJHV.js → chunk-TPO32Z65.js} +1 -1
- package/dist/{chunk-66KMYUNO.js → chunk-UBUKKTNW.js} +2 -2
- package/dist/{chunk-T2L2GJ4C.js → chunk-UE4CXHMF.js} +7 -7
- package/dist/{chunk-K3LLHG6I.js → chunk-UULZKCBI.js} +1 -1
- package/dist/{chunk-DDRCX7P2.js → chunk-UXH6E5HC.js} +2 -2
- package/dist/{chunk-AQMGYRX6.js → chunk-V6OSE6VT.js} +1 -1
- package/dist/{chunk-67JTGRNM.js → chunk-VKD23SIO.js} +1 -1
- package/dist/{chunk-3JYKWNFR.js → chunk-VVDHSRKD.js} +1 -1
- package/dist/{chunk-KF6I5WA7.js → chunk-W2VJTKIW.js} +15 -18
- package/dist/{chunk-FIC3E7IM.js → chunk-W55BW7KA.js} +9 -9
- package/dist/{chunk-FWKZ3O52.js → chunk-W5OBRMZ6.js} +1 -1
- package/dist/{chunk-YPNBEBQ6.js → chunk-WVIH5BBZ.js} +25 -18
- package/dist/{chunk-Z2UZAY2Q.js → chunk-XEWMJWNW.js} +2 -2
- package/dist/{chunk-DWIMUPFK.js → chunk-XGXTZNES.js} +2 -2
- package/dist/{chunk-GSXA4YLV.js → chunk-Y3U7ECBH.js} +1 -1
- package/dist/{chunk-KDDO3UYI.js → chunk-YACECUHX.js} +3 -3
- package/dist/{chunk-3WL7WU6K.js → chunk-YVT5IU6J.js} +19 -20
- package/dist/{chunk-4EO7DNRJ.js → chunk-YX5ELTKV.js} +2 -2
- package/dist/{chunk-FVY2XRX4.js → chunk-ZCYSQ3NQ.js} +2 -2
- package/dist/{clean-SVEOBRPM.js → clean-FBZ7GHRY.js} +21 -20
- package/dist/cli.js +143 -77
- package/dist/{cloud-ADFJGIEH.js → cloud-VYSWJ7UO.js} +4 -4
- package/dist/{cloudrun-BNY7Q5RK.js → cloudrun-U6LI7KLV.js} +23 -20
- package/dist/{compare-QC3T22KV.js → compare-YR7BMEHJ.js} +44 -45
- package/dist/{compiler-4ITKK4XI.js → compiler-6YCAUK7Z.js} +2 -2
- package/dist/{component-CNZCB3RY.js → component-HVSM6FJV.js} +6 -5
- package/dist/{compositions-UO32IP6Z.js → compositions-QTFL2VNL.js} +13 -12
- package/dist/{delete-RWTOSI24.js → delete-2FHCQ72T.js} +13 -11
- package/dist/{deploy-OKWS53NP.js → deploy-6S45QWG6.js} +5 -5
- package/dist/{destroy-4RL5VOXQ.js → destroy-BQ5R7LUF.js} +3 -3
- package/dist/{dist-AEE3QTRB.js → dist-B4KLCLZ5.js} +2 -2
- package/dist/{docs-UMIA66EZ.js → docs-6EM6FDNI.js} +5 -4
- package/dist/{doctor-SIF72ESZ.js → doctor-4MRS6RED.js} +11 -9
- package/dist/{events-S3VUTFEG.js → events-4VBBY7PP.js} +5 -3
- package/dist/{events-34PIVLZQ.js → events-FN45HVPM.js} +6 -5
- package/dist/{feedback-VS4LRXHW.js → feedback-T67P2CDA.js} +20 -19
- package/dist/{ffmpeg-YVQOKNV6.js → ffmpeg-ED7ZK6XH.js} +5 -5
- package/dist/{figma-AF4JKDBA.js → figma-UXAWKPOY.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-UQGCS6Q4.js → get-EFH3PPJA.js} +8 -7
- package/dist/{gpuPolicy-Q4B3D6PW.js → gpuPolicy-ZADQMXQT.js} +5 -5
- package/dist/{grade-compare-G34673XC.js → grade-compare-425BFHSF.js} +46 -44
- package/dist/{heifImagePrep-XD4DGOUS.js → heifImagePrep-ZJM7N2XY.js} +6 -6
- package/dist/{help-3QSD26IC.js → help-23PPB2BD.js} +11 -7
- package/dist/{history-6DC24UCF.js → history-CHJV33M5.js} +15 -12
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +63 -63
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6JUHWWJK.js → info-36YPISVA.js} +11 -10
- package/dist/{init-2DPX6U3J.js → init-U6EE2EIU.js} +37 -36
- package/dist/{inspect-Z55YUSXC.js → inspect-NI2RMUFR.js} +32 -31
- package/dist/{installer-XVKYJU7S.js → installer-K3HIZ5CF.js} +4 -4
- package/dist/{keyframes-YHF4AQIL.js → keyframes-I6T2IT6I.js} +10 -9
- package/dist/{lambda-JITTS37E.js → lambda-WL64Z2F3.js} +31 -29
- package/dist/{layout-V5NYJXIX.js → layout-R2YZ4N6P.js} +32 -31
- package/dist/{lint-V4WMO7YL.js → lint-IAAG6Z65.js} +17 -14
- package/dist/{list-W7UCIYKA.js → list-3O6743DJ.js} +11 -10
- package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
- package/dist/{localPage-BLQFFIDF.js → localPage-L5FRBCNP.js} +5 -5
- package/dist/{login-IX3MOREU.js → login-27TRFTYB.js} +11 -11
- package/dist/{logout-46NLNY2K.js → logout-C6P6ERZ3.js} +5 -5
- package/dist/{manager-WJOWZNHM.js → manager-D6TE4ENP.js} +7 -7
- package/dist/{media-treatment-XBO6EXL4.js → media-treatment-E3YLZVXC.js} +43 -33
- package/dist/{media-use-3RFKY7XJ.js → media-use-ZRHFRO46.js} +1 -1
- package/dist/{models-P3NSHDQS.js → models-2Q3TGNH5.js} +26 -19
- package/dist/{motionShot-D4QMLTQP.js → motionShot-XYW2HMVI.js} +16 -15
- package/dist/{normalize-audio-Q4VUR3QJ.js → normalize-audio-D5WNUNDM.js} +30 -19
- package/dist/{open-LGKX534P.js → open-3KO7UUPC.js} +17 -16
- package/dist/{parakeetRunner-FAOQMPS6.js → parakeetRunner-WX6L6MW5.js} +11 -11
- package/dist/{pipeline-2YONKZYC.js → pipeline-WYIO4KGN.js} +10 -10
- package/dist/{play-PJOUIY55.js → play-ZM3ZUJSZ.js} +31 -33
- package/dist/{policies-UPNRQ7IW.js → policies-J5BWAZHM.js} +11 -10
- package/dist/{preflight-3PPM7QBU.js → preflight-7OMCIXNM.js} +6 -6
- package/dist/{present-323D6OE2.js → present-E2PLH2GJ.js} +27 -29
- package/dist/{preview-E42QP2KX.js → preview-TVRM75FN.js} +24 -23
- package/dist/{producer-MTMNLJSC.js → producer-M5F6KZEF.js} +1 -1
- package/dist/{progress-LMQ2DXM4.js → progress-X3QFO3FE.js} +4 -4
- package/dist/{projectConfig-5QRVB5KY.js → projectConfig-VFKGY3XE.js} +6 -6
- package/dist/{prompts-P3IT5H36.js → prompts-VAO7RDKX.js} +2 -2
- package/dist/{publication-AUZLFOG5.js → publication-AF33R7LF.js} +2 -2
- package/dist/{publish-H5P7UHRV.js → publish-Z7HGDQ5R.js} +17 -17
- package/dist/{refresh-4XRQS3N6.js → refresh-IYRGLHG5.js} +5 -5
- package/dist/{remove-background-T2RV476S.js → remove-background-PN3KCBT4.js} +21 -17
- package/dist/{render-4XEB3XWI.js → render-I3HBIJX3.js} +59 -57
- package/dist/{render-GJH7446R.js → render-IZNPEXMU.js} +11 -10
- package/dist/{render-3FRGIWES.js → render-SEODWRRR.js} +27 -26
- package/dist/{render-batch-77X5453X.js → render-batch-MQSORY55.js} +12 -11
- package/dist/{resolver-DIUNK525.js → resolver-HXE4F2G4.js} +4 -4
- package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
- package/dist/{sherpa-SUS3YSEP.js → sherpa-NPT6S3RP.js} +10 -10
- package/dist/{sites-V42IFVTK.js → sites-MTLVMYJ6.js} +2 -2
- package/dist/{skills-YCGSIOCE.js → skills-P3BI55YP.js} +17 -13
- package/dist/{skillsUpdateCheck-VCQIZGOL.js → skillsUpdateCheck-43Q4ZHWN.js} +5 -3
- package/dist/{snapshot-H6R5PWNS.js → snapshot-YLT64YQS.js} +71 -53
- package/dist/{src-ED5VCIRC.js → src-7S7K4QUN.js} +8 -8
- package/dist/{src-HHDLJV4L.js → src-OHJ7USRX.js} +6 -4
- package/dist/{state-D5SYQFCB.js → state-6QHNNHDA.js} +2 -2
- package/dist/{staticProjectServer-VY7QG5XH.js → staticProjectServer-RP3MW2EW.js} +17 -17
- package/dist/{status-GEZNVPII.js → status-SLILCDBZ.js} +12 -7
- package/dist/studio/assets/{hyperframes-player-CzrqgMUX.js → hyperframes-player-DHfuW7Lt.js} +1 -1
- package/dist/studio/assets/{index-k4nVfS2D.js → index-CWgIsKzV.js} +4 -4
- package/dist/studio/assets/{index-B3SPHPi1.js → index-CkjUY33q.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TR5RPX57.js → studio-api-BZPZCJL6.js} +9 -9
- package/dist/{studioServer-4SZLLQOV.js → studioServer-QLRIXNYM.js} +50 -49
- package/dist/{synthesize-QALK5SQR.js → synthesize-FQML2LN2.js} +2 -2
- package/dist/{telemetry-KGY7G3UR.js → telemetry-NTO4FJFN.js} +5 -4
- package/dist/{telemetry-7HUKOQ6X.js → telemetry-QOBPRUWF.js} +6 -5
- package/dist/{timeline-CGIKWCQI.js → timeline-OLQFVWVU.js} +30 -26
- package/dist/{tokens-AZALDJEK.js → tokens-BAHLVGEC.js} +5 -4
- package/dist/{transcribe-CTF5EIXJ.js → transcribe-3NHUWW4J.js} +27 -24
- package/dist/{transcribe-V6K5547L.js → transcribe-HR6BFDUR.js} +9 -9
- package/dist/{tts-C2HBLFKK.js → tts-K5HRN6NQ.js} +17 -13
- package/dist/{updateCheck-5I563YLB.js → updateCheck-BGHPCA7J.js} +4 -2
- package/dist/{upgrade-GRPVQE7Z.js → upgrade-NFI6JOME.js} +7 -6
- package/dist/{urlDownloader-EP6Q4WES.js → urlDownloader-P35K74RS.js} +4 -4
- package/dist/{validate-TVCDSQS3.js → validate-Q57ZCI4Q.js} +26 -25
- package/dist/{video-CFEIRKAE.js → video-OO2M2AKD.js} +9 -9
- package/dist/warmCheck.js +43 -42
- package/package.json +1 -1
- package/dist/chunk-WQ6ZXHFQ.js +0 -133
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W55BW7KA.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FW6CYA5D.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A2WPZE2R.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F5XADOGC.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OL5E4Y4L.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QUXWS5UG.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BYRXSKIY.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeWellFormedEscapes
|
|
40
40
|
} from "./chunk-X4SBDDLS.js";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VVDHSRKD.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7TWX4Y7I.js";
|
|
17
17
|
import {
|
|
18
18
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-W5OBRMZ6.js";
|
|
20
20
|
import {
|
|
21
21
|
CSS_URL_RE,
|
|
22
22
|
isNonRelativeUrl,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
diag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EQGKUPBJ.js";
|
|
10
10
|
import {
|
|
11
11
|
getInvocationId
|
|
12
12
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-ZCHULPJZ.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UXH6E5HC.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -4,12 +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
|
+
asNotice
|
|
9
|
+
} from "./chunk-SJGE5I5F.js";
|
|
7
10
|
|
|
8
11
|
// src/ui/diagnostics.ts
|
|
9
12
|
var diag = {
|
|
10
13
|
/** A user-facing notice or progress line (e.g. "Installing … skills…"). */
|
|
11
14
|
notice(...args) {
|
|
12
|
-
console.error(...args);
|
|
15
|
+
asNotice(() => console.error(...args));
|
|
13
16
|
},
|
|
14
17
|
/** A warning the user should see but that isn't fatal. */
|
|
15
18
|
warn(...args) {
|
|
@@ -0,0 +1,201 @@
|
|
|
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/download.ts
|
|
9
|
+
import { randomUUID } from "crypto";
|
|
10
|
+
import { createWriteStream, renameSync, statSync, unlinkSync } from "fs";
|
|
11
|
+
import { get as httpsGet } from "https";
|
|
12
|
+
import { once } from "events";
|
|
13
|
+
import { Transform } from "stream";
|
|
14
|
+
import { pipeline } from "stream/promises";
|
|
15
|
+
var DEFAULT_DOWNLOAD_TIMEOUT_MS = 3e4;
|
|
16
|
+
var REDIRECT_CODES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
17
|
+
function redirectTarget(location, from) {
|
|
18
|
+
return new URL(location, from).toString();
|
|
19
|
+
}
|
|
20
|
+
var MAX_REDIRECTS = 10;
|
|
21
|
+
function removePartialFile(path) {
|
|
22
|
+
try {
|
|
23
|
+
unlinkSync(path);
|
|
24
|
+
} catch {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function measureDownload(options, startBytes, totalBytes) {
|
|
28
|
+
let receivedBytes = startBytes;
|
|
29
|
+
let reportedAt = Date.now();
|
|
30
|
+
options.onProgress?.(receivedBytes, totalBytes);
|
|
31
|
+
const stream = new Transform({
|
|
32
|
+
transform(chunk, _encoding, callback) {
|
|
33
|
+
receivedBytes += chunk.byteLength;
|
|
34
|
+
if (options.maxBytes !== void 0 && receivedBytes > options.maxBytes) {
|
|
35
|
+
callback(new Error(`Download exceeded ${options.maxBytes} bytes`));
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const now = Date.now();
|
|
39
|
+
if (now - reportedAt >= 100) {
|
|
40
|
+
options.onProgress?.(receivedBytes, totalBytes);
|
|
41
|
+
reportedAt = now;
|
|
42
|
+
}
|
|
43
|
+
callback(null, chunk);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
stream,
|
|
48
|
+
received: () => receivedBytes,
|
|
49
|
+
complete: () => options.onProgress?.(receivedBytes, totalBytes)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function getUrl(url, signal, offset, onResponse) {
|
|
53
|
+
const headers = offset > 0 ? { Range: `bytes=${offset}-` } : void 0;
|
|
54
|
+
if (!signal && !headers) return httpsGet(url, onResponse);
|
|
55
|
+
return httpsGet(
|
|
56
|
+
url,
|
|
57
|
+
{ ...signal ? { signal } : {}, ...headers ? { headers } : {} },
|
|
58
|
+
onResponse
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function fileSize(path) {
|
|
62
|
+
try {
|
|
63
|
+
return statSync(path).size;
|
|
64
|
+
} catch {
|
|
65
|
+
return 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function byteCount(value) {
|
|
69
|
+
const n = Number(value);
|
|
70
|
+
return value !== void 0 && Number.isSafeInteger(n) && n >= 0 ? n : null;
|
|
71
|
+
}
|
|
72
|
+
function contentRange(header) {
|
|
73
|
+
const match = /^bytes (\d+)-\d+\/(\d+|\*)$/.exec(header ?? "");
|
|
74
|
+
return match ? { start: Number(match[1]), total: match[2] === "*" ? null : Number(match[2]) } : null;
|
|
75
|
+
}
|
|
76
|
+
function planResponse(res, offset) {
|
|
77
|
+
const status = res.statusCode;
|
|
78
|
+
const location = res.headers.location;
|
|
79
|
+
if (status && REDIRECT_CODES.has(status) && location) return { kind: "redirect", location };
|
|
80
|
+
const range = status === 206 ? contentRange(res.headers["content-range"]) : null;
|
|
81
|
+
if (offset > 0 && range?.start === offset) {
|
|
82
|
+
return { kind: "body", start: offset, total: range.total, append: true };
|
|
83
|
+
}
|
|
84
|
+
if (status === 200) {
|
|
85
|
+
return {
|
|
86
|
+
kind: "body",
|
|
87
|
+
start: 0,
|
|
88
|
+
total: byteCount(res.headers["content-length"]),
|
|
89
|
+
append: false
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
return { kind: "refuse", status };
|
|
93
|
+
}
|
|
94
|
+
async function writeBody(res, tmp, plan, state, options) {
|
|
95
|
+
state.received = plan.start;
|
|
96
|
+
state.total = plan.total;
|
|
97
|
+
const meter = measureDownload(options, plan.start, plan.total);
|
|
98
|
+
const file = createWriteStream(tmp, { flags: plan.append ? "a" : "w" });
|
|
99
|
+
try {
|
|
100
|
+
await pipeline(res, meter.stream, file);
|
|
101
|
+
} catch (error) {
|
|
102
|
+
if (!file.closed) await once(file, "close").catch(() => {
|
|
103
|
+
});
|
|
104
|
+
state.received = fileSize(tmp);
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
107
|
+
state.received = meter.received();
|
|
108
|
+
meter.complete();
|
|
109
|
+
}
|
|
110
|
+
function downloadAttempt(url, tmp, state, options) {
|
|
111
|
+
const timeoutMs = options.timeoutMs ?? DEFAULT_DOWNLOAD_TIMEOUT_MS;
|
|
112
|
+
const offset = state.received;
|
|
113
|
+
return new Promise((resolve, reject) => {
|
|
114
|
+
const follow = (u, hops = 0) => {
|
|
115
|
+
let activeResponse;
|
|
116
|
+
let responseDiscarded = false;
|
|
117
|
+
let responsePipelineStarted = false;
|
|
118
|
+
let requestError;
|
|
119
|
+
const discard = (res) => {
|
|
120
|
+
responseDiscarded = true;
|
|
121
|
+
res.destroy();
|
|
122
|
+
};
|
|
123
|
+
const onResponse = (res) => {
|
|
124
|
+
activeResponse = res;
|
|
125
|
+
const plan = planResponse(res, offset);
|
|
126
|
+
if (plan.kind === "refuse") {
|
|
127
|
+
discard(res);
|
|
128
|
+
reject(new Error(`Download failed: HTTP ${plan.status}`));
|
|
129
|
+
} else if (plan.kind === "redirect") {
|
|
130
|
+
discard(res);
|
|
131
|
+
if (hops >= MAX_REDIRECTS) {
|
|
132
|
+
reject(
|
|
133
|
+
new Error(
|
|
134
|
+
`Download failed: more than ${MAX_REDIRECTS} redirects from ${url.split("?")[0]}`
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
} else {
|
|
138
|
+
try {
|
|
139
|
+
follow(redirectTarget(plan.location, u), hops + 1);
|
|
140
|
+
} catch (error) {
|
|
141
|
+
reject(error);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
} else {
|
|
145
|
+
responsePipelineStarted = true;
|
|
146
|
+
writeBody(res, tmp, plan, state, options).then(
|
|
147
|
+
resolve,
|
|
148
|
+
(err) => reject(requestError ?? err)
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
let request;
|
|
153
|
+
try {
|
|
154
|
+
request = getUrl(u, options.signal, offset, onResponse);
|
|
155
|
+
} catch (error) {
|
|
156
|
+
reject(error);
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
request.setTimeout(timeoutMs, () => {
|
|
160
|
+
request.destroy(new Error(`Download timed out after ${timeoutMs}ms`));
|
|
161
|
+
});
|
|
162
|
+
request.on("error", (err) => {
|
|
163
|
+
if (responseDiscarded) return;
|
|
164
|
+
if (responsePipelineStarted) {
|
|
165
|
+
requestError = err;
|
|
166
|
+
activeResponse?.destroy(err);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
reject(err);
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
follow(url);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
async function downloadFile(url, dest, options = {}) {
|
|
176
|
+
const tmp = `${dest}.${process.pid}.${randomUUID()}.tmp`;
|
|
177
|
+
const state = { received: 0, total: null };
|
|
178
|
+
for (; ; ) {
|
|
179
|
+
const before = state.received;
|
|
180
|
+
try {
|
|
181
|
+
await downloadAttempt(url, tmp, state, options);
|
|
182
|
+
const size = fileSize(tmp);
|
|
183
|
+
if (state.total !== null && size !== state.total) {
|
|
184
|
+
state.received = size;
|
|
185
|
+
throw new Error(`Download incomplete: ${size} of ${state.total} bytes`);
|
|
186
|
+
}
|
|
187
|
+
renameSync(tmp, dest);
|
|
188
|
+
return;
|
|
189
|
+
} catch (error) {
|
|
190
|
+
const overLimit = error instanceof Error && error.message.startsWith("Download exceeded");
|
|
191
|
+
if (options.signal?.aborted || overLimit || state.received <= before) {
|
|
192
|
+
removePartialFile(tmp);
|
|
193
|
+
throw error;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export {
|
|
200
|
+
downloadFile
|
|
201
|
+
};
|
|
@@ -4,15 +4,45 @@ 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
|
-
CliUsageError
|
|
9
|
-
} from "./chunk-LALLQUSK.js";
|
|
10
7
|
import {
|
|
11
8
|
c
|
|
12
9
|
} from "./chunk-2GICKZ3I.js";
|
|
10
|
+
import {
|
|
11
|
+
CliUsageError
|
|
12
|
+
} from "./chunk-DP5LF7GF.js";
|
|
13
|
+
|
|
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
|
+
}
|
|
13
43
|
|
|
14
44
|
// src/utils/reject-unknown-flags.ts
|
|
15
|
-
var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"
|
|
45
|
+
var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
|
|
16
46
|
function nameVariants(name) {
|
|
17
47
|
const kebab = name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
|
|
18
48
|
const camel = name.replace(/-([a-z])/g, (_, c2) => c2.toUpperCase());
|
|
@@ -52,6 +82,20 @@ function unknownFlagIn(tok, known) {
|
|
|
52
82
|
}
|
|
53
83
|
return null;
|
|
54
84
|
}
|
|
85
|
+
function unknownFlagError(flag, known, path) {
|
|
86
|
+
const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
|
|
87
|
+
if (flag === "--json") {
|
|
88
|
+
return new CliUsageError(`${command} has no JSON output.`, {
|
|
89
|
+
code: "json_unsupported",
|
|
90
|
+
hint: "Run it without --json."
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
const longNames = [...known].filter((name) => name.length > 1);
|
|
94
|
+
const match = flag.startsWith("--") ? closestMatch(flag.slice(2), longNames) : void 0;
|
|
95
|
+
const help = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
|
|
96
|
+
const hint = match ? `Did you mean --${match}? ${help}` : help;
|
|
97
|
+
return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
|
|
98
|
+
}
|
|
55
99
|
function assertKnownFlags(cmd, rawArgs, path = "") {
|
|
56
100
|
if (!Array.isArray(rawArgs)) return;
|
|
57
101
|
const rawDef = cmd.args;
|
|
@@ -60,10 +104,7 @@ function assertKnownFlags(cmd, rawArgs, path = "") {
|
|
|
60
104
|
for (const tok of rawArgs) {
|
|
61
105
|
if (tok === "--") break;
|
|
62
106
|
const bad = unknownFlagIn(tok, known);
|
|
63
|
-
if (bad)
|
|
64
|
-
const hint = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
|
|
65
|
-
throw new CliUsageError(`Unknown flag: ${bad}`, { hint });
|
|
66
|
-
}
|
|
107
|
+
if (bad) throw unknownFlagError(bad, known, path);
|
|
67
108
|
}
|
|
68
109
|
}
|
|
69
110
|
function stringValueFlagOwners(args, ignore) {
|
|
@@ -139,6 +180,7 @@ function guardSwallowedFlagValues(cmd, path, rawArgs) {
|
|
|
139
180
|
}
|
|
140
181
|
|
|
141
182
|
export {
|
|
183
|
+
closestMatch,
|
|
142
184
|
assertKnownFlags,
|
|
143
185
|
swallowedFlagUsageError,
|
|
144
186
|
guardSwallowedFlagValues
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R5B6GXQM.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BYRXSKIY.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -5,11 +5,12 @@ 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-H5AB5322.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"];
|
|
12
12
|
var HDR_MODES = ["auto", "force-hdr", "force-sdr"];
|
|
13
|
+
var PRORES_PROFILES = ["4444", "hq", "422", "lt", "proxy"];
|
|
13
14
|
var isSet = (value) => value !== void 0 && value !== null;
|
|
14
15
|
function oneOf(value, allowed) {
|
|
15
16
|
return typeof value === "string" && allowed.includes(value);
|
|
@@ -70,12 +71,21 @@ function parseDelivery(body, format) {
|
|
|
70
71
|
}
|
|
71
72
|
return { ok: true, options };
|
|
72
73
|
}
|
|
74
|
+
function parseProres(value, format) {
|
|
75
|
+
if (!isSet(value)) return { ok: true, options: {} };
|
|
76
|
+
if (!oneOf(value, PRORES_PROFILES)) {
|
|
77
|
+
return { ok: false, error: `proresProfile must be one of ${PRORES_PROFILES.join(", ")}` };
|
|
78
|
+
}
|
|
79
|
+
return { ok: true, options: format === "mov" ? { proresProfile: value } : {} };
|
|
80
|
+
}
|
|
73
81
|
function parseEncoderOptions(body, format) {
|
|
74
82
|
const rate = parseRateControl(body, format);
|
|
75
83
|
if (!rate.ok) return rate;
|
|
76
84
|
const delivery = parseDelivery(body, format);
|
|
77
85
|
if (!delivery.ok) return delivery;
|
|
78
|
-
const
|
|
86
|
+
const prores = parseProres(body.proresProfile, format);
|
|
87
|
+
if (!prores.ok) return prores;
|
|
88
|
+
const options = { ...rate.options, ...delivery.options, ...prores.options };
|
|
79
89
|
if (isSet(body.gifLoop)) {
|
|
80
90
|
if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
|
|
81
91
|
return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
} from "./chunk-Y65ZU7XY.js";
|
|
11
11
|
import {
|
|
12
12
|
downloadFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJ646TIT.js";
|
|
14
14
|
import {
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T7KNW7PE.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RDZKBIEB.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OL5E4Y4L.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-OHJ7USRX.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -8,10 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
CliRuntimeError
|
|
14
|
-
} from "./chunk-LALLQUSK.js";
|
|
11
|
+
} from "./chunk-EC77ZBCP.js";
|
|
15
12
|
import {
|
|
16
13
|
redactTelemetryString
|
|
17
14
|
} from "./chunk-634HSJ3J.js";
|
|
@@ -21,6 +18,9 @@ import {
|
|
|
21
18
|
import {
|
|
22
19
|
readConfig
|
|
23
20
|
} from "./chunk-ZCHULPJZ.js";
|
|
21
|
+
import {
|
|
22
|
+
CliRuntimeError
|
|
23
|
+
} from "./chunk-DP5LF7GF.js";
|
|
24
24
|
|
|
25
25
|
// src/utils/feedbackRating.ts
|
|
26
26
|
var FEEDBACK_RATING_SCALE = 10;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
sanitizeSuccessfulExitCode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DP5LF7GF.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/render-success-state.ts
|
|
12
12
|
var renderSucceeded = false;
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-CTZJSMGU.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V6OSE6VT.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OL5E4Y4L.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BYRXSKIY.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-W5OBRMZ6.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-PW7FCVHR.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2YDIEZSF.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ORJY6Z6G.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VKD23SIO.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3JQ2YOKL.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ZBMHUY2.js";
|
|
10
10
|
import {
|
|
11
11
|
trackCommandFailure
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GVE6I5EL.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DP5LF7GF.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/project.ts
|
|
18
18
|
import { existsSync, statSync } from "fs";
|