hyperframes 0.8.221 → 0.8.222
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-7CVO7K6M.js → add-6MPLIWVP.js} +16 -15
- package/dist/{agentPromptGenerator-YFC2SJLF.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
- package/dist/{animatedGifPrep-YSMY5GU2.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
- package/dist/api.js +23 -22
- package/dist/{asset-ZVKHSO3M.js → asset-Y735VQV6.js} +2 -2
- package/dist/{assetCataloger-6IBSEOK7.js → assetCataloger-AOJAUEZW.js} +13 -12
- package/dist/{audio-JUV3TVSW.js → audio-VMMCGPOV.js} +20 -19
- package/dist/{auth-2J6FP462.js → auth-BD5NHYRA.js} +1 -1
- package/dist/{autoUpdate-ML6EZK6D.js → autoUpdate-VTMNHOAJ.js} +2 -2
- package/dist/{backgroundChecks-MAWP2REX.js → backgroundChecks-SUDYQZSW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Z7MGNJZH.js → batchRender-4NR7RMT7.js} +11 -8
- package/dist/{beats-LRZOZUUQ.js → beats-PKEHQHBY.js} +53 -21
- package/dist/{benchmark-XJWLDTIL.js → benchmark-K55DDFHG.js} +12 -11
- package/dist/{browser-STEVEWWA.js → browser-G2WFWJJ3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WH63ZWUT.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
- package/dist/{capture-U3ZT3GNI.js → capture-24PIC3TZ.js} +67 -25
- package/dist/{capture-VB5ID7HT.js → capture-U3EEAPI6.js} +3 -3
- package/dist/{captureCompositionFrame-MXJ3WO2R.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
- package/dist/{catalog-ICGHSRPZ.js → catalog-J3BU4TFW.js} +16 -15
- package/dist/{catch-up-DJPQKXQB.js → catch-up-LDGNMEGL.js} +4 -4
- package/dist/{check-TL7AGWPO.js → check-J6HG6EKE.js} +45 -44
- package/dist/{checkAudio-GPTU6EGB.js → checkAudio-MAX7JUYG.js} +17 -16
- package/dist/{checkBrowser-FG5DAW2R.js → checkBrowser-3W74WJ26.js} +43 -38
- package/dist/{chunk-4ZM727AO.js → chunk-3RXZZIDQ.js} +5 -5
- package/dist/{chunk-ZOLKM3VZ.js → chunk-42Q3VX34.js} +9 -9
- package/dist/{chunk-OOEOJPFY.js → chunk-4VEXJTUT.js} +2 -2
- package/dist/{chunk-NYOQP6DO.js → chunk-52VXA3SC.js} +1 -1
- package/dist/{chunk-AZI2T2KO.js → chunk-537WSYHU.js} +1 -1
- package/dist/{chunk-QYUXDFJY.js → chunk-5GSEM63G.js} +12 -10
- package/dist/{chunk-MYNBV7WG.js → chunk-6CFBFWLF.js} +1 -1
- package/dist/{chunk-5YT2KHPO.js → chunk-6W3DY5BP.js} +2 -2
- package/dist/{chunk-TNQCXU37.js → chunk-7D2LTSNV.js} +1 -1
- package/dist/{chunk-3STL4WJ6.js → chunk-7IH3RSSG.js} +17 -8
- package/dist/{chunk-M2F6VGCP.js → chunk-AIXH3V5A.js} +85 -50
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-F6WHVEUS.js → chunk-AN4USOFT.js} +5 -1
- package/dist/{chunk-OMLDAF44.js → chunk-AOHG22HQ.js} +6 -5
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/{chunk-P6FGS4U6.js → chunk-AXVTL7B6.js} +6 -6
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-MXVH6UW6.js → chunk-BDZSH6P3.js} +6 -57
- package/dist/{chunk-6YW3FEHC.js → chunk-BPIY5LB3.js} +9 -8
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-YISDQ7YP.js → chunk-CVY6OIKN.js} +4 -4
- package/dist/{chunk-I45R2REQ.js → chunk-CZOC7WY7.js} +1 -1
- package/dist/{chunk-HSHKLYDI.js → chunk-D6LGD472.js} +4 -4
- package/dist/{chunk-Z7YQEDA5.js → chunk-DC26QLB7.js} +1 -1
- package/dist/{chunk-DMCU2ELU.js → chunk-DIXTEVWQ.js} +3 -3
- package/dist/{chunk-322M35EB.js → chunk-DNTPNSH5.js} +3 -3
- package/dist/{chunk-GSCFMG4C.js → chunk-DSHFKKSZ.js} +3 -3
- package/dist/{chunk-3PJ3HVLG.js → chunk-E5IIR67Q.js} +1 -1
- package/dist/{chunk-D2RQVJLZ.js → chunk-EE7YWKDY.js} +3 -27
- package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
- package/dist/{chunk-MYXFBIJO.js → chunk-EOUKB53E.js} +1 -1
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-625I5VBE.js → chunk-F6QV5N3A.js} +2 -2
- package/dist/{chunk-6HKUUBAV.js → chunk-FMKI7ZLM.js} +2 -2
- package/dist/{chunk-TVT465RJ.js → chunk-FT3CNACL.js} +5 -5
- package/dist/{chunk-L63FJVSC.js → chunk-G2EY3MVW.js} +1 -1
- package/dist/{chunk-UNQ3CVKW.js → chunk-G675S644.js} +20 -21
- package/dist/{chunk-XETZLYGW.js → chunk-GHEYGMKD.js} +2 -2
- package/dist/{chunk-RVCWVOXM.js → chunk-GODT7QDZ.js} +3 -3
- package/dist/{chunk-74E7EHVH.js → chunk-GOWU3NCE.js} +1 -1
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-AW7A27JM.js → chunk-HQDHMAUI.js} +1 -1
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-TMK3MW7B.js → chunk-IB7UYGXR.js} +10 -10
- package/dist/{chunk-SAKL7SZH.js → chunk-IGBOFU2Y.js} +3 -3
- package/dist/{chunk-KQPP4NIZ.js → chunk-JQWITWVC.js} +2 -2
- package/dist/{chunk-AZXDEC2G.js → chunk-K5UCRKUK.js} +4 -6
- package/dist/{chunk-M2BCU4Y5.js → chunk-KEY2VA65.js} +1 -1
- package/dist/{chunk-JGZUG5V4.js → chunk-L37AZWB2.js} +2 -2
- package/dist/{chunk-YSZ4VMXI.js → chunk-L55LAERP.js} +1 -1
- package/dist/chunk-LL3VMDAC.js +5013 -0
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-ZBLSSWSE.js → chunk-NUE44RN2.js} +1 -1
- package/dist/{chunk-MEB6HWBM.js → chunk-OAXWHPNS.js} +2 -2
- package/dist/{chunk-Y4GLFHO5.js → chunk-OQLYKDL5.js} +1 -1
- package/dist/{chunk-7DVR3DL3.js → chunk-OROHGC7W.js} +8 -8
- package/dist/{chunk-YKMFCE5B.js → chunk-P5M3AXEP.js} +1 -1
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-H3HC6U4I.js → chunk-QOZPWIYV.js} +10 -10
- package/dist/{chunk-XDTCPMR3.js → chunk-QYRMR45H.js} +2 -2
- package/dist/{chunk-RVIMLJXC.js → chunk-RIGSGNDQ.js} +54 -18
- package/dist/{chunk-U6WH572X.js → chunk-RRPO44PE.js} +5 -5
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-2ZNURTH5.js → chunk-SKCS4SUZ.js} +4455 -4312
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-S5GOFDX5.js → chunk-VJVVWYP6.js} +1 -1
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/{chunk-LYZB5CJN.js → chunk-VQMHDS2V.js} +110 -9
- package/dist/{chunk-NQOCM4KQ.js → chunk-WJYFJGYT.js} +3 -3
- package/dist/{chunk-ZKPRJPWN.js → chunk-WWT6ETQA.js} +43 -43
- package/dist/{chunk-IDWJJ7PP.js → chunk-XHD7RKEZ.js} +2 -2
- package/dist/{chunk-OPKSVV4G.js → chunk-Y7IV5MAK.js} +2 -2
- package/dist/{chunk-67CALYTU.js → chunk-YEKJOA47.js} +1 -1
- package/dist/{chunk-O7WR4AHX.js → chunk-YHL4CVTF.js} +14 -14
- package/dist/{chunk-BQNTY7J5.js → chunk-Z5VQBRU2.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
- package/dist/{chunk-ROVRC3CG.js → chunk-ZBNK6X5O.js} +5 -5
- package/dist/{chunk-QLQVQQP6.js → chunk-ZLXWRYOO.js} +3 -3
- package/dist/{chunk-YV2QQUTL.js → chunk-ZPTNLDOB.js} +2 -2
- package/dist/{clean-3NMJWZXK.js → clean-K6IM3LC4.js} +24 -23
- package/dist/cli.js +54 -54
- package/dist/{cloud-CB3NYNUR.js → cloud-OV7EA4BJ.js} +4 -4
- package/dist/{cloudrun-2CTKCIXV.js → cloudrun-ZEMODIOP.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +8 -4
- package/dist/{compare-FVY3AMTT.js → compare-MJZ3D3HA.js} +36 -35
- package/dist/{compiler-SEQRWEEN.js → compiler-6KKETX77.js} +8 -8
- package/dist/{component-AEMJRROX.js → component-EVXMYIP3.js} +3 -3
- package/dist/{compositions-NRBSIBGZ.js → compositions-PZ7FQ7WN.js} +16 -15
- package/dist/{delete-T4E53ELR.js → delete-DL3XA4QV.js} +2 -2
- package/dist/{deploy-PUF2DW3H.js → deploy-VEYP3IP5.js} +1 -1
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/{dist-B6C3DU6I.js → dist-M77KFAYW.js} +7 -6
- package/dist/{dist-VARV35QH.js → dist-SHMQOKMF.js} +6 -6
- package/dist/{doctor-FVBU575B.js → doctor-JM2WHH7Y.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/{events-DZ5PRR6F.js → events-GW5I5RCG.js} +2 -2
- package/dist/{events-RSPDI7FX.js → events-S7KVBRSL.js} +3 -3
- package/dist/{feedback-AALA3OA7.js → feedback-7OR5FVTX.js} +11 -10
- package/dist/{ffmpeg-YXKE5CUE.js → ffmpeg-A7CSIX3U.js} +12 -11
- package/dist/{figma-37R727XZ.js → figma-444HKFX5.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/{get-L3VKJ6JF.js → get-6UTF3225.js} +2 -2
- package/dist/{gpuPolicy-6QIFFWAI.js → gpuPolicy-ORPUS5Z2.js} +12 -11
- package/dist/{grade-compare-7IN5QDJD.js → grade-compare-UCTAYN3B.js} +37 -36
- package/dist/{heifImagePrep-AWII25PM.js → heifImagePrep-ED6V6RFN.js} +13 -12
- package/dist/{help-B4MB7MWW.js → help-HZR32XWP.js} +1 -1
- package/dist/{history-TQO6AWEQ.js → history-TQ56MZIA.js} +17 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/{info-7CBHVXSG.js → info-RPIIP7RN.js} +11 -10
- package/dist/{init-D7HKPQ5A.js → init-ONAWKHFW.js} +33 -32
- package/dist/{inspect-VHDQL55M.js → inspect-A75PYOWJ.js} +37 -36
- package/dist/{installer-EJNLL6SV.js → installer-ISMCCFBZ.js} +8 -7
- package/dist/{keyframes-IFLBMAJP.js → keyframes-2I75DP3O.js} +7 -7
- package/dist/{lambda-I7EQULHC.js → lambda-4QIHGPGJ.js} +17 -16
- package/dist/{layout-MOCEANRO.js → layout-GW7WE7RT.js} +37 -36
- package/dist/{lint-HFXGSQKN.js → lint-OWP72OZQ.js} +12 -12
- package/dist/{lintProject-VCDI6A2W.js → lintProject-XYQ5L7RQ.js} +6 -6
- package/dist/{list-OFYIXVON.js → list-WVK7ZCPW.js} +2 -2
- package/dist/{localPage-QOOQ5YA2.js → localPage-IQWHN7BH.js} +12 -11
- package/dist/{login-WAG7B4PM.js → login-Q5CNHYWU.js} +4 -4
- package/dist/{manager-34U5CEFB.js → manager-JCYVNEWH.js} +13 -12
- package/dist/{media-treatment-2TLX6NKS.js → media-treatment-M5IUP7H4.js} +21 -20
- package/dist/{models-M2F4WTAR.js → models-CFXKDYZ3.js} +16 -15
- package/dist/{motionShot-6WCTCV4W.js → motionShot-CWUEI4ZM.js} +21 -20
- package/dist/{normalize-audio-T6PIPWOT.js → normalize-audio-FASY33LR.js} +15 -14
- package/dist/{open-BC5METIY.js → open-KOVVESYN.js} +15 -14
- package/dist/{parakeetRunner-UXVY7PV2.js → parakeetRunner-E4IP5SL4.js} +18 -17
- package/dist/{pipeline-GJAJPWPB.js → pipeline-C6EZVV43.js} +15 -14
- package/dist/{play-UCIRUHCU.js → play-MZJI6SMH.js} +27 -26
- package/dist/{preflight-GVRYYIH5.js → preflight-K4SPUWXP.js} +13 -12
- package/dist/{present-46QLZOK4.js → present-7L7ZTG7F.js} +24 -23
- package/dist/{preview-HWXMP7WL.js → preview-QGDVMR3X.js} +23 -22
- package/dist/{producer-2PBHUE5O.js → producer-EJPNNY3E.js} +1 -1
- package/dist/{projectConfig-C4S3LBBX.js → projectConfig-EEF6OPXO.js} +10 -9
- package/dist/{publication-GESNVVMS.js → publication-5KF44AKQ.js} +6 -5
- package/dist/{publish-IBY26S3T.js → publish-SSKWZ5TE.js} +16 -15
- package/dist/{remove-background-3OBWOHVZ.js → remove-background-PCL6I5SZ.js} +16 -15
- package/dist/{render-LSI5WXS7.js → render-DH4UA7KW.js} +10 -9
- package/dist/{render-3F6GQ5WW.js → render-DRWQ6F37.js} +22 -21
- package/dist/{render-SR5RISLU.js → render-UPRWOGLS.js} +156 -42
- package/dist/{render-batch-HV4W3PZM.js → render-batch-EBW5WHB5.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-R5X3HAPE.js → resolver-ZSZXNRFP.js} +8 -7
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-2Q6U4ZFY.js → sherpa-IKVUCBOW.js} +17 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- package/dist/{skills-FSGXQSHA.js → skills-ZREHX3TU.js} +5 -5
- package/dist/{skillsUpdateCheck-UW6643XX.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-HFPB34Y7.js → snapshot-KPFLZNEL.js} +57 -45
- package/dist/{src-ROWFWCEN.js → src-EPOGDJTT.js} +11 -10
- package/dist/{src-VMTQQUUP.js → src-QRV3466B.js} +21 -14
- package/dist/{staticProjectServer-4TGZJIWN.js → staticProjectServer-ERKLMZVM.js} +25 -24
- package/dist/studio/assets/{hyperframes-player-B_wvwarc.js → hyperframes-player-Dka6e1BG.js} +1 -1
- package/dist/studio/assets/{index-BDE7dwov.js → index-C8VIUiGz.js} +117 -117
- package/dist/studio/assets/{index-D0jGq2dS.js → index-CVPNbydK.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TSHXVZ6R.js → studio-api-7WFZIIPL.js} +21 -16
- package/dist/{studioServer-74ZBLNP2.js → studioServer-3XZTLI26.js} +76 -113
- package/dist/{telemetry-3NDLZOPR.js → telemetry-BMLI4TMC.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-5IFZJU7M.js → timeline-EDCDO2ZR.js} +25 -24
- package/dist/{tokens-UFNPQVLS.js → tokens-2ZFLFO3K.js} +2 -2
- package/dist/{transcribe-7KQAUHEN.js → transcribe-3WMH62HH.js} +16 -15
- package/dist/{transcribe-NAXKBIPW.js → transcribe-Y2LPBT7I.js} +22 -21
- package/dist/{updateCheck-KDSFL3XX.js → updateCheck-5LFZGC3P.js} +2 -2
- package/dist/{upgrade-EXX4C35N.js → upgrade-X7QVSEKP.js} +2 -2
- package/dist/{urlDownloader-4UFCIAPH.js → urlDownloader-TYD6ROKL.js} +11 -10
- package/dist/{validate-QYOHY3N6.js → validate-26KQ5VX7.js} +31 -30
- package/dist/{video-HRL3V2R5.js → video-BPKLZIJK.js} +13 -12
- package/dist/warmCheck.js +45 -44
- package/package.json +1 -1
- package/dist/chunk-Q3PPGPEA.js +0 -5061
- /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
|
@@ -14,34 +14,34 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
deliveryFlagArgs,
|
|
16
16
|
parseDeliveryFlags
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YEKJOA47.js";
|
|
18
18
|
import {
|
|
19
19
|
maybePromptRenderFeedback
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WJYFJGYT.js";
|
|
21
21
|
import {
|
|
22
22
|
reportVariableIssues,
|
|
23
23
|
resolveVariablesArg,
|
|
24
24
|
validateVariablesAgainstProject
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AOHG22HQ.js";
|
|
26
26
|
import "./chunk-ZBAF6L74.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EGJ4UECR.js";
|
|
28
28
|
import {
|
|
29
29
|
renderJobObservabilityTelemetryPayload,
|
|
30
30
|
startRenderCpuSampler
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GOWU3NCE.js";
|
|
32
32
|
import {
|
|
33
33
|
formatLintStartupMessage
|
|
34
34
|
} from "./chunk-X5EOH44V.js";
|
|
35
35
|
import {
|
|
36
36
|
desktopHint
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FMKI7ZLM.js";
|
|
38
38
|
import {
|
|
39
39
|
runEnvironmentChecks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OAXWHPNS.js";
|
|
41
41
|
import "./chunk-XQ26I3PL.js";
|
|
42
42
|
import {
|
|
43
43
|
createRenderCancellationScope
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E5IIR67Q.js";
|
|
45
45
|
import {
|
|
46
46
|
H264EncoderUnavailableError,
|
|
47
47
|
chromeLaunchRemediation,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
findFFmpeg,
|
|
50
50
|
findFFprobe,
|
|
51
51
|
getFFmpegInstallHint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5GSEM63G.js";
|
|
53
53
|
import {
|
|
54
54
|
markRenderSucceeded,
|
|
55
55
|
runPostRenderStep,
|
|
@@ -58,28 +58,28 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
RenderQualityError,
|
|
60
60
|
extractSafeRenderErrorCode
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-SKCS4SUZ.js";
|
|
62
|
+
import "./chunk-Y7IV5MAK.js";
|
|
63
|
+
import "./chunk-ZPTNLDOB.js";
|
|
64
64
|
import "./chunk-X7MTZ4T2.js";
|
|
65
65
|
import "./chunk-BZ56MTDX.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-QNW43LWB.js";
|
|
67
67
|
import "./chunk-FI4I7CME.js";
|
|
68
68
|
import {
|
|
69
69
|
captureArtifactRevision
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-XHD7RKEZ.js";
|
|
71
|
+
import "./chunk-4VEXJTUT.js";
|
|
72
72
|
import "./chunk-X7MTZ4T2.js";
|
|
73
73
|
import {
|
|
74
74
|
loadProducer
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-OQLYKDL5.js";
|
|
76
76
|
import {
|
|
77
77
|
resolveProject
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Z5VQBRU2.js";
|
|
79
79
|
import {
|
|
80
80
|
recordRenderSuccess,
|
|
81
81
|
registerRenderOutput
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
83
83
|
import "./chunk-ALVXFXUG.js";
|
|
84
84
|
import {
|
|
85
85
|
parseGifLoopArg,
|
|
@@ -87,8 +87,8 @@ import {
|
|
|
87
87
|
resolveBrowserTimeoutMsArg,
|
|
88
88
|
resolveDefaultFpsArg,
|
|
89
89
|
windowsChromeCrashRemediation
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-DNTPNSH5.js";
|
|
91
|
+
import "./chunk-DC26QLB7.js";
|
|
92
92
|
import {
|
|
93
93
|
errorBox,
|
|
94
94
|
formatBytes,
|
|
@@ -102,16 +102,16 @@ import {
|
|
|
102
102
|
loadProjectConfig,
|
|
103
103
|
readProjectConfigWithStatus,
|
|
104
104
|
seedProjectAuthoringSkill
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-P5M3AXEP.js";
|
|
106
106
|
import "./chunk-XT7X6QCP.js";
|
|
107
107
|
import "./chunk-5YPMCCCA.js";
|
|
108
108
|
import {
|
|
109
109
|
normalizeSkillSlug
|
|
110
110
|
} from "./chunk-HVW7ABXD.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-6CFBFWLF.js";
|
|
112
112
|
import "./chunk-JHOCK3DG.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-IGBOFU2Y.js";
|
|
114
|
+
import "./chunk-VJVVWYP6.js";
|
|
115
115
|
import "./chunk-AWDFDFI3.js";
|
|
116
116
|
import "./chunk-P6LJ4Y32.js";
|
|
117
117
|
import "./chunk-T2WJO4XM.js";
|
|
@@ -121,8 +121,8 @@ import {
|
|
|
121
121
|
trackRenderError,
|
|
122
122
|
trackRenderObservation,
|
|
123
123
|
trackRenderPreflightRejected
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-
|
|
124
|
+
} from "./chunk-AN4USOFT.js";
|
|
125
|
+
import "./chunk-NUE44RN2.js";
|
|
126
126
|
import "./chunk-PXVQOMKL.js";
|
|
127
127
|
import "./chunk-EQGKUPBJ.js";
|
|
128
128
|
import "./chunk-VLA6UJGH.js";
|
|
@@ -147,19 +147,22 @@ import {
|
|
|
147
147
|
audioFailureDiagnostics,
|
|
148
148
|
isVideoFrameFormat,
|
|
149
149
|
sandboxDeniedRemediation
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-AIXH3V5A.js";
|
|
151
151
|
import "./chunk-Z5J67X44.js";
|
|
152
152
|
import "./chunk-5S7W3TUO.js";
|
|
153
153
|
import "./chunk-D3MUHMFG.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-3RXZZIDQ.js";
|
|
155
155
|
import "./chunk-YWRUQ7XZ.js";
|
|
156
156
|
import {
|
|
157
|
+
DISTRIBUTED_FPS,
|
|
157
158
|
formatRenderOutputTimestamp,
|
|
158
159
|
fpsToFfmpegArg,
|
|
159
160
|
fpsToNumber,
|
|
161
|
+
isDistributedFps,
|
|
160
162
|
parseFps
|
|
161
|
-
} from "./chunk-
|
|
162
|
-
import "./chunk-
|
|
163
|
+
} from "./chunk-BDZSH6P3.js";
|
|
164
|
+
import "./chunk-MEJH7VEA.js";
|
|
165
|
+
import "./chunk-LL3VMDAC.js";
|
|
163
166
|
import "./chunk-VC76R6W2.js";
|
|
164
167
|
import "./chunk-OFQWTKPW.js";
|
|
165
168
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -185,24 +188,26 @@ import "./chunk-WE42NVH7.js";
|
|
|
185
188
|
import {
|
|
186
189
|
lintProject,
|
|
187
190
|
shouldBlockRender
|
|
188
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-VQMHDS2V.js";
|
|
189
192
|
import "./chunk-CZGHFATT.js";
|
|
190
|
-
import
|
|
193
|
+
import {
|
|
194
|
+
FFMPEG_PATH_ENV
|
|
195
|
+
} from "./chunk-HYRPH6LL.js";
|
|
191
196
|
import {
|
|
192
197
|
collectSubCompositionSrcs
|
|
193
|
-
} from "./chunk-
|
|
194
|
-
import "./chunk-
|
|
198
|
+
} from "./chunk-AKMY4QVI.js";
|
|
199
|
+
import "./chunk-C2KEGBR3.js";
|
|
195
200
|
import {
|
|
196
201
|
checkOutputResolutionCompatibility,
|
|
197
202
|
isAspectAgnosticResolutionAlias,
|
|
198
203
|
normalizeResolutionFlag,
|
|
199
204
|
suggestMatchingPreset
|
|
200
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-T5ELONXY.js";
|
|
201
206
|
import "./chunk-FR7YBU3H.js";
|
|
202
207
|
import "./chunk-DPVXBVLL.js";
|
|
203
208
|
import "./chunk-GWTIFRF5.js";
|
|
204
209
|
import "./chunk-2RY2LWAA.js";
|
|
205
|
-
import "./chunk-
|
|
210
|
+
import "./chunk-EPQC3FGZ.js";
|
|
206
211
|
import "./chunk-WC4MTXGN.js";
|
|
207
212
|
import "./chunk-FBN2M2HK.js";
|
|
208
213
|
import "./chunk-BR2JQQC5.js";
|
|
@@ -228,7 +233,7 @@ import "./chunk-J3RXEDR2.js";
|
|
|
228
233
|
import "./chunk-QBXDU24O.js";
|
|
229
234
|
import {
|
|
230
235
|
VERSION
|
|
231
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-6W3DY5BP.js";
|
|
232
237
|
import {
|
|
233
238
|
normalizeErrorMessage
|
|
234
239
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -346,6 +351,41 @@ function parseRenderFormat(input) {
|
|
|
346
351
|
if (!VALID_FORMAT.has(input)) return void 0;
|
|
347
352
|
return RENDER_FORMATS.find((format) => format === input);
|
|
348
353
|
}
|
|
354
|
+
function parseRenderRange(args, format, fps, hdr) {
|
|
355
|
+
if (args.start === void 0 && args.end === void 0) return void 0;
|
|
356
|
+
const seconds = (flag, raw) => {
|
|
357
|
+
const parsed = raw.trim() === "" ? Number.NaN : Number(raw);
|
|
358
|
+
if (!Number.isFinite(parsed) || parsed < 0) {
|
|
359
|
+
errorBox(`Invalid ${flag}`, `Got "${raw}". Must be a number of seconds, 0 or more.`);
|
|
360
|
+
failUsage();
|
|
361
|
+
}
|
|
362
|
+
return parsed;
|
|
363
|
+
};
|
|
364
|
+
const startSeconds = args.start === void 0 ? 0 : seconds("--start", args.start);
|
|
365
|
+
const endSeconds = args.end === void 0 ? void 0 : seconds("--end", args.end);
|
|
366
|
+
if (endSeconds !== void 0 && endSeconds <= startSeconds) {
|
|
367
|
+
errorBox("Invalid range", `--end (${endSeconds}) must be after --start (${startSeconds}).`);
|
|
368
|
+
failUsage();
|
|
369
|
+
}
|
|
370
|
+
const limit = rangeLimit(format, fps, hdr);
|
|
371
|
+
if (limit) {
|
|
372
|
+
errorBox(
|
|
373
|
+
"A range renders what chunked renders can",
|
|
374
|
+
limit,
|
|
375
|
+
"Remove --start/--end to render the whole film."
|
|
376
|
+
);
|
|
377
|
+
failUsage();
|
|
378
|
+
}
|
|
379
|
+
return { startSeconds, endSeconds };
|
|
380
|
+
}
|
|
381
|
+
function rangeLimit(format, fps, hdr) {
|
|
382
|
+
if (format !== "mp4") return `--start/--end render MP4 only, not ${format}.`;
|
|
383
|
+
if (fps.den !== 1 || !isDistributedFps(fps.num)) {
|
|
384
|
+
return `--start/--end need a whole frame rate in ${DISTRIBUTED_FPS.join(", ")}, not ${fps.num}/${fps.den}.`;
|
|
385
|
+
}
|
|
386
|
+
if (hdr) return "--start/--end render SDR only, not --hdr.";
|
|
387
|
+
return void 0;
|
|
388
|
+
}
|
|
349
389
|
function positiveInteger(raw, title, message, min = 1) {
|
|
350
390
|
const parsed = Number(raw);
|
|
351
391
|
if (!Number.isInteger(parsed) || parsed < min) {
|
|
@@ -604,6 +644,7 @@ function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
|
|
|
604
644
|
);
|
|
605
645
|
failUsage();
|
|
606
646
|
}
|
|
647
|
+
const range = parseRenderRange(args, format, fps, args.hdr);
|
|
607
648
|
const quiet = args.quiet ?? false;
|
|
608
649
|
const batchJson = args.json ?? false;
|
|
609
650
|
return Object.freeze({
|
|
@@ -651,6 +692,7 @@ function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
|
|
|
651
692
|
vp9CpuUsed,
|
|
652
693
|
videoBitrate,
|
|
653
694
|
...delivery,
|
|
695
|
+
range,
|
|
654
696
|
hdrMode: args.sdr ? "force-sdr" : args.hdr ? "force-hdr" : "auto",
|
|
655
697
|
pageSideCompositing: args["page-side-compositing"] !== false,
|
|
656
698
|
experimentalFastCapture: args["experimental-fast-capture"] === true,
|
|
@@ -724,7 +766,7 @@ function formatGpuModes(plan) {
|
|
|
724
766
|
}
|
|
725
767
|
async function warnForSlideshow(plan) {
|
|
726
768
|
try {
|
|
727
|
-
const { slideshowIslandRegex } = await import("./slideshow-
|
|
769
|
+
const { slideshowIslandRegex } = await import("./slideshow-ARJR22W4.js");
|
|
728
770
|
if (!slideshowIslandRegex("i").test(readFileSync2(plan.renderTarget, "utf8"))) return;
|
|
729
771
|
console.log(
|
|
730
772
|
c.warn("\u26A0") + " This composition carries a slideshow island \u2014 `render` captures only the first scene, so the MP4 will be truncated to slide 1. Use " + c.accent("hyperframes present") + " for the deck; a linear main-line MP4 export is not yet available."
|
|
@@ -750,7 +792,7 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
750
792
|
let batchModule;
|
|
751
793
|
let preparedBatch;
|
|
752
794
|
if (plan.batchPath) {
|
|
753
|
-
batchModule = await import("./batchRender-
|
|
795
|
+
batchModule = await import("./batchRender-4NR7RMT7.js");
|
|
754
796
|
try {
|
|
755
797
|
preparedBatch = batchModule.prepareBatchRender({
|
|
756
798
|
batchPath: plan.batchPath,
|
|
@@ -817,6 +859,7 @@ function renderOptionsFromPlan(plan, browserPath, variables) {
|
|
|
817
859
|
vp9CpuUsed: plan.vp9CpuUsed,
|
|
818
860
|
videoBitrate: plan.videoBitrate,
|
|
819
861
|
keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
|
|
862
|
+
range: plan.range,
|
|
820
863
|
proresProfile: plan.proresProfile,
|
|
821
864
|
maxBitrate: plan.maxBitrate,
|
|
822
865
|
bufferSize: plan.bufferSize,
|
|
@@ -850,7 +893,7 @@ function assertRenderActive(cancellation) {
|
|
|
850
893
|
cancellation?.signal.throwIfAborted();
|
|
851
894
|
}
|
|
852
895
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
853
|
-
const { checkDisk } = await import("./preflight-
|
|
896
|
+
const { checkDisk } = await import("./preflight-K4SPUWXP.js");
|
|
854
897
|
await (await import("./manager-ENFYM32B.js")).sweepKilledInstalls();
|
|
855
898
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
856
899
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
@@ -983,6 +1026,7 @@ function batchRowRenderOptions(plan, browserPath) {
|
|
|
983
1026
|
vp9CpuUsed: plan.vp9CpuUsed,
|
|
984
1027
|
videoBitrate: plan.videoBitrate,
|
|
985
1028
|
keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
|
|
1029
|
+
range: plan.range,
|
|
986
1030
|
proresProfile: plan.proresProfile,
|
|
987
1031
|
maxBitrate: plan.maxBitrate,
|
|
988
1032
|
bufferSize: plan.bufferSize,
|
|
@@ -1327,6 +1371,11 @@ function buildDockerRunArgs(input) {
|
|
|
1327
1371
|
...options.vp9CpuUsed != null ? ["--vp9-cpu-used", String(options.vp9CpuUsed)] : [],
|
|
1328
1372
|
...options.videoBitrate ? ["--video-bitrate", options.videoBitrate] : [],
|
|
1329
1373
|
...options.proresProfile ? ["--prores-profile", options.proresProfile] : [],
|
|
1374
|
+
...options.range ? [
|
|
1375
|
+
"--start",
|
|
1376
|
+
String(options.range.startSeconds),
|
|
1377
|
+
...options.range.endSeconds != null ? ["--end", String(options.range.endSeconds)] : []
|
|
1378
|
+
] : [],
|
|
1330
1379
|
...options.keyframeIntervalSeconds != null ? ["--keyframe-interval", String(options.keyframeIntervalSeconds)] : [],
|
|
1331
1380
|
...options.maxBitrate ? ["--max-bitrate", options.maxBitrate] : [],
|
|
1332
1381
|
...options.bufferSize ? ["--buffer-size", options.bufferSize] : [],
|
|
@@ -1569,6 +1618,14 @@ var render_default = defineCommand({
|
|
|
1569
1618
|
type: "string",
|
|
1570
1619
|
description: "Override MP4/WebM encoder CRF. Mutually exclusive with --video-bitrate; unsupported for MOV."
|
|
1571
1620
|
},
|
|
1621
|
+
start: {
|
|
1622
|
+
type: "string",
|
|
1623
|
+
description: "Render from this second of the film (MP4). The clip starts at 0 and carries the audio of the span."
|
|
1624
|
+
},
|
|
1625
|
+
end: {
|
|
1626
|
+
type: "string",
|
|
1627
|
+
description: "Render up to this second of the film (default: the end). Needs MP4, a whole frame rate of 24, 25, 30 or 60, and SDR."
|
|
1628
|
+
},
|
|
1572
1629
|
"video-bitrate": {
|
|
1573
1630
|
type: "string",
|
|
1574
1631
|
description: "Target MP4/WebM video bitrate such as 10M. Mutually exclusive with --crf; unsupported for MOV."
|
|
@@ -1886,6 +1943,7 @@ async function renderDocker(projectDir, outputPath, options) {
|
|
|
1886
1943
|
vp9CpuUsed: options.vp9CpuUsed,
|
|
1887
1944
|
videoBitrate: options.videoBitrate,
|
|
1888
1945
|
keyframeIntervalSeconds: options.keyframeIntervalSeconds,
|
|
1946
|
+
range: options.range,
|
|
1889
1947
|
proresProfile: options.proresProfile,
|
|
1890
1948
|
maxBitrate: options.maxBitrate,
|
|
1891
1949
|
bufferSize: options.bufferSize,
|
|
@@ -2054,7 +2112,7 @@ async function executeLocalRender(projectDir, outputPath, options, cancellation)
|
|
|
2054
2112
|
errorBox(
|
|
2055
2113
|
`${isHls ? "HLS" : "MP4"} H.264 encoder unavailable`,
|
|
2056
2114
|
error.message,
|
|
2057
|
-
`Install an FFmpeg build with libx264 support (${getFFmpegInstallHint()})` + (isHls ? "." : ", or render WebM instead: hyperframes render --format webm --output output.webm")
|
|
2115
|
+
`Install an FFmpeg build with libx264 support (${getFFmpegInstallHint()}), or point ${FFMPEG_PATH_ENV} at one` + (isHls ? "." : ", or render WebM instead: hyperframes render --format webm --output output.webm")
|
|
2058
2116
|
);
|
|
2059
2117
|
failCommand();
|
|
2060
2118
|
}
|
|
@@ -2135,9 +2193,25 @@ async function executeLocalRender(projectDir, outputPath, options, cancellation)
|
|
|
2135
2193
|
debug: options.debug,
|
|
2136
2194
|
resumeSegments: options.resumeSegments,
|
|
2137
2195
|
keepSegments: options.keepSegments,
|
|
2138
|
-
strictness: options.bestEffort === false ? "strict" : "best-effort"
|
|
2196
|
+
strictness: options.bestEffort === false ? "strict" : "best-effort",
|
|
2197
|
+
// plan() takes the film's own size; these only satisfy the request shape.
|
|
2198
|
+
distributed: options.range ? { width: 1920, height: 1080 } : void 0
|
|
2139
2199
|
}
|
|
2140
2200
|
});
|
|
2201
|
+
if (options.range) {
|
|
2202
|
+
return renderRange({
|
|
2203
|
+
producer,
|
|
2204
|
+
request,
|
|
2205
|
+
range: options.range,
|
|
2206
|
+
projectDir,
|
|
2207
|
+
outputPath,
|
|
2208
|
+
options,
|
|
2209
|
+
logger,
|
|
2210
|
+
startTime,
|
|
2211
|
+
cpu,
|
|
2212
|
+
signal: cancellation.signal
|
|
2213
|
+
});
|
|
2214
|
+
}
|
|
2141
2215
|
const job = producer.createRenderJob(producer.renderConfigFromRequest(request, { logger }));
|
|
2142
2216
|
const onProgress = options.quiet ? void 0 : (progressJob, message) => {
|
|
2143
2217
|
renderProgress(progressJob.progress, message);
|
|
@@ -2226,6 +2300,42 @@ async function executeLocalRender(projectDir, outputPath, options, cancellation)
|
|
|
2226
2300
|
warnings: job.warnings.map((warning) => ({ code: warning.code, message: warning.message }))
|
|
2227
2301
|
};
|
|
2228
2302
|
}
|
|
2303
|
+
async function renderRange(input) {
|
|
2304
|
+
const { producer, options } = input;
|
|
2305
|
+
let framesEncoded = 0;
|
|
2306
|
+
try {
|
|
2307
|
+
const config = producer.distributedConfigFromRequest(input.request, {
|
|
2308
|
+
logger: input.logger,
|
|
2309
|
+
abortSignal: input.signal
|
|
2310
|
+
});
|
|
2311
|
+
({ framesEncoded } = await producer.renderSpan(
|
|
2312
|
+
input.projectDir,
|
|
2313
|
+
config,
|
|
2314
|
+
input.range,
|
|
2315
|
+
input.outputPath
|
|
2316
|
+
));
|
|
2317
|
+
} catch (error) {
|
|
2318
|
+
handleRenderError(error, options, input.startTime, input.cpu, false, "");
|
|
2319
|
+
}
|
|
2320
|
+
markRenderSucceeded();
|
|
2321
|
+
const elapsed = Date.now() - input.startTime;
|
|
2322
|
+
input.cpu.stop();
|
|
2323
|
+
printRenderComplete({
|
|
2324
|
+
outputPath: input.outputPath,
|
|
2325
|
+
projectDir: input.projectDir,
|
|
2326
|
+
desktopHint: wantsDesktopHint(options),
|
|
2327
|
+
elapsedMs: elapsed,
|
|
2328
|
+
quiet: options.quiet,
|
|
2329
|
+
format: options.format
|
|
2330
|
+
});
|
|
2331
|
+
if (options.exitAfterComplete) scheduleCliExit();
|
|
2332
|
+
return {
|
|
2333
|
+
renderTimeMs: elapsed,
|
|
2334
|
+
durationMs: Math.round(framesEncoded / fpsToNumber(options.fps) * 1e3),
|
|
2335
|
+
outcome: "completed",
|
|
2336
|
+
warnings: []
|
|
2337
|
+
};
|
|
2338
|
+
}
|
|
2229
2339
|
function getMemorySnapshot() {
|
|
2230
2340
|
return {
|
|
2231
2341
|
peakMemoryMb: bytesToMb(process.memoryUsage.rss()),
|
|
@@ -2655,6 +2765,10 @@ function trackRenderMetrics(job, elapsedMs, options, docker, cpuUsage) {
|
|
|
2655
2765
|
speedRatio,
|
|
2656
2766
|
captureAvgMs: perf?.captureAvgMs,
|
|
2657
2767
|
captureP50Ms: perf?.captureP50Ms,
|
|
2768
|
+
captureSeekAvgMs: perf?.captureSeekAvgMs,
|
|
2769
|
+
captureBeforeCaptureAvgMs: perf?.captureBeforeCaptureAvgMs,
|
|
2770
|
+
captureScreenshotAvgMs: perf?.captureScreenshotAvgMs,
|
|
2771
|
+
encoderWaitAvgMs: perf?.encoderWaitAvgMs,
|
|
2658
2772
|
subTimelineWait: perf?.subTimelineWait,
|
|
2659
2773
|
videoCount: perf?.videoCount,
|
|
2660
2774
|
capturePeakMs: perf?.capturePeakMs,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveOutputResolutionFromSize
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GHEYGMKD.js";
|
|
10
10
|
import {
|
|
11
11
|
requireStack
|
|
12
12
|
} from "./chunk-S2HWGG5O.js";
|
|
@@ -14,33 +14,34 @@ import {
|
|
|
14
14
|
loadProjectVariableSchema,
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
validateVariablesAgainstSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AOHG22HQ.js";
|
|
18
18
|
import "./chunk-ZBAF6L74.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-EGJ4UECR.js";
|
|
20
20
|
import {
|
|
21
21
|
errorBox
|
|
22
22
|
} from "./chunk-5ZBMHUY2.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-52VXA3SC.js";
|
|
24
24
|
import {
|
|
25
25
|
runWithConcurrencyLimit
|
|
26
26
|
} from "./chunk-JHOCK3DG.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-2GICKZ3I.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BDZSH6P3.js";
|
|
31
|
+
import "./chunk-MEJH7VEA.js";
|
|
32
|
+
import "./chunk-LL3VMDAC.js";
|
|
32
33
|
import "./chunk-VC76R6W2.js";
|
|
33
34
|
import "./chunk-OFQWTKPW.js";
|
|
34
35
|
import "./chunk-RQVDTPGD.js";
|
|
35
36
|
import "./chunk-TK7THLRO.js";
|
|
36
37
|
import "./chunk-FXMKHHPO.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-C2KEGBR3.js";
|
|
39
|
+
import "./chunk-T5ELONXY.js";
|
|
39
40
|
import "./chunk-FR7YBU3H.js";
|
|
40
41
|
import "./chunk-DPVXBVLL.js";
|
|
41
42
|
import "./chunk-GWTIFRF5.js";
|
|
42
43
|
import "./chunk-2RY2LWAA.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EPQC3FGZ.js";
|
|
44
45
|
import "./chunk-WC4MTXGN.js";
|
|
45
46
|
import "./chunk-SJGE5I5F.js";
|
|
46
47
|
import {
|
|
@@ -25,17 +25,17 @@ import "./chunk-K4MJX7SR.js";
|
|
|
25
25
|
import "./chunk-WE42NVH7.js";
|
|
26
26
|
import {
|
|
27
27
|
lintProject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VQMHDS2V.js";
|
|
29
29
|
import "./chunk-CZGHFATT.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HYRPH6LL.js";
|
|
31
|
+
import "./chunk-AKMY4QVI.js";
|
|
32
|
+
import "./chunk-C2KEGBR3.js";
|
|
33
|
+
import "./chunk-T5ELONXY.js";
|
|
34
34
|
import "./chunk-FR7YBU3H.js";
|
|
35
35
|
import "./chunk-DPVXBVLL.js";
|
|
36
36
|
import "./chunk-GWTIFRF5.js";
|
|
37
37
|
import "./chunk-2RY2LWAA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-EPQC3FGZ.js";
|
|
39
39
|
import "./chunk-WC4MTXGN.js";
|
|
40
40
|
import "./chunk-FBN2M2HK.js";
|
|
41
41
|
import "./chunk-E63BDV4Z.js";
|
|
@@ -11,28 +11,29 @@ import {
|
|
|
11
11
|
resolveItemWithDependencies,
|
|
12
12
|
resolveItemsByTag,
|
|
13
13
|
unreachableRegistryMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6CFBFWLF.js";
|
|
15
15
|
import "./chunk-JHOCK3DG.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-VJVVWYP6.js";
|
|
17
17
|
import "./chunk-AWDFDFI3.js";
|
|
18
18
|
import "./chunk-P6LJ4Y32.js";
|
|
19
19
|
import "./chunk-T2WJO4XM.js";
|
|
20
20
|
import "./chunk-WYKRGEDD.js";
|
|
21
21
|
import "./chunk-YWRUQ7XZ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-BDZSH6P3.js";
|
|
23
|
+
import "./chunk-MEJH7VEA.js";
|
|
24
|
+
import "./chunk-LL3VMDAC.js";
|
|
24
25
|
import "./chunk-VC76R6W2.js";
|
|
25
26
|
import "./chunk-OFQWTKPW.js";
|
|
26
27
|
import "./chunk-RQVDTPGD.js";
|
|
27
28
|
import "./chunk-TK7THLRO.js";
|
|
28
29
|
import "./chunk-FXMKHHPO.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-C2KEGBR3.js";
|
|
31
|
+
import "./chunk-T5ELONXY.js";
|
|
31
32
|
import "./chunk-FR7YBU3H.js";
|
|
32
33
|
import "./chunk-DPVXBVLL.js";
|
|
33
34
|
import "./chunk-GWTIFRF5.js";
|
|
34
35
|
import "./chunk-2RY2LWAA.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-EPQC3FGZ.js";
|
|
36
37
|
import "./chunk-WC4MTXGN.js";
|
|
37
38
|
import "./chunk-M2WBOQ2Q.js";
|
|
38
39
|
export {
|
|
@@ -14,11 +14,12 @@ import {
|
|
|
14
14
|
} from "./chunk-EQBDKYXR.js";
|
|
15
15
|
import {
|
|
16
16
|
waitForPageReady
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HOTXWVVP.js";
|
|
18
18
|
import {
|
|
19
19
|
isDegradableEvaluateTimeoutError
|
|
20
20
|
} from "./chunk-EHSBBBR2.js";
|
|
21
21
|
import "./chunk-Z5J67X44.js";
|
|
22
|
+
import "./chunk-MEJH7VEA.js";
|
|
22
23
|
import {
|
|
23
24
|
normalizeErrorMessage
|
|
24
25
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -17,29 +17,30 @@ import {
|
|
|
17
17
|
sherpaRuntimeLoadError,
|
|
18
18
|
sherpaUnsupportedReason,
|
|
19
19
|
transcribeWithSherpa
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DIXTEVWQ.js";
|
|
21
21
|
import "./chunk-NO6F7CLR.js";
|
|
22
22
|
import "./chunk-Y65ZU7XY.js";
|
|
23
23
|
import "./chunk-6BEFEWFB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-D6LGD472.js";
|
|
25
|
+
import "./chunk-SWC3QIEH.js";
|
|
26
|
+
import "./chunk-E5IIR67Q.js";
|
|
27
|
+
import "./chunk-KEY2VA65.js";
|
|
28
28
|
import "./chunk-R4EWRIDL.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-5GSEM63G.js";
|
|
30
30
|
import "./chunk-JZIEZCQM.js";
|
|
31
31
|
import "./chunk-UOFAE5RF.js";
|
|
32
32
|
import "./chunk-IR35BCLK.js";
|
|
33
33
|
import "./chunk-HU2SPFNG.js";
|
|
34
34
|
import "./chunk-A4ZTSQLW.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-AIXH3V5A.js";
|
|
36
36
|
import "./chunk-Z5J67X44.js";
|
|
37
37
|
import "./chunk-5S7W3TUO.js";
|
|
38
38
|
import "./chunk-D3MUHMFG.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-3RXZZIDQ.js";
|
|
40
40
|
import "./chunk-YWRUQ7XZ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-BDZSH6P3.js";
|
|
42
|
+
import "./chunk-MEJH7VEA.js";
|
|
43
|
+
import "./chunk-LL3VMDAC.js";
|
|
43
44
|
import "./chunk-VC76R6W2.js";
|
|
44
45
|
import "./chunk-OFQWTKPW.js";
|
|
45
46
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -51,17 +52,17 @@ import "./chunk-X6JUUQCM.js";
|
|
|
51
52
|
import "./chunk-KGPLIH7B.js";
|
|
52
53
|
import "./chunk-K4MJX7SR.js";
|
|
53
54
|
import "./chunk-WE42NVH7.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-VQMHDS2V.js";
|
|
55
56
|
import "./chunk-CZGHFATT.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-HYRPH6LL.js";
|
|
58
|
+
import "./chunk-AKMY4QVI.js";
|
|
59
|
+
import "./chunk-C2KEGBR3.js";
|
|
60
|
+
import "./chunk-T5ELONXY.js";
|
|
60
61
|
import "./chunk-FR7YBU3H.js";
|
|
61
62
|
import "./chunk-DPVXBVLL.js";
|
|
62
63
|
import "./chunk-GWTIFRF5.js";
|
|
63
64
|
import "./chunk-2RY2LWAA.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-EPQC3FGZ.js";
|
|
65
66
|
import "./chunk-WC4MTXGN.js";
|
|
66
67
|
import "./chunk-FBN2M2HK.js";
|
|
67
68
|
import "./chunk-QBXDU24O.js";
|
|
@@ -8,7 +8,7 @@ npx hyperframes beats ./my-video
|
|
|
8
8
|
npx hyperframes beats ./my-video --json
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Given an audio or video file instead of a folder (`npx hyperframes beats music.mp3 --json`), `beats` analyses that file and prints `{ ok, file, count, bpm, beatTimes }`; it writes nothing.
|
|
12
12
|
|
|
13
13
|
The project must contain a local music `<audio>` source. Mark it with `data-timeline-role="music"`; an id containing `music`, `bgm`, or `soundtrack` is also recognized. The command decodes that file with ffmpeg, tracks its beats, and writes `beats/<audio-relative-path>.json`.
|
|
14
14
|
|
|
@@ -86,7 +86,7 @@ export async function synthesizeGemini(
|
|
|
86
86
|
return { ok: true, words: null };
|
|
87
87
|
} catch (error) {
|
|
88
88
|
// Error responses must never echo the credential into logs or metadata.
|
|
89
|
-
const message =
|
|
89
|
+
const message = withCause(error);
|
|
90
90
|
return {
|
|
91
91
|
ok: false,
|
|
92
92
|
words: null,
|
|
@@ -95,6 +95,18 @@ export async function synthesizeGemini(
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
// undici reports "fetch failed" and keeps the real reason (e.g. UND_ERR_SOCKET,
|
|
99
|
+
// "other side closed") in `error.cause`.
|
|
100
|
+
function withCause(error) {
|
|
101
|
+
const message = String(error?.message ?? error);
|
|
102
|
+
const cause = error?.cause;
|
|
103
|
+
if (!cause) return message;
|
|
104
|
+
const detail = [cause.code, cause.message ?? (typeof cause === "string" ? cause : "")]
|
|
105
|
+
.filter(Boolean)
|
|
106
|
+
.join(": ");
|
|
107
|
+
return detail ? `${message} (${detail})` : message;
|
|
108
|
+
}
|
|
109
|
+
|
|
98
110
|
function pcmToWav(pcm, mime) {
|
|
99
111
|
const rate = Number(/(?:^|;)\s*rate=(\d+)(?:;|$)/i.exec(mime)?.[1]);
|
|
100
112
|
const channels = /(?:^|;)\s*channels=([^;]+)/i.exec(mime)?.[1];
|
|
@@ -123,6 +123,16 @@ test("HTTP and network failures stay actionable without leaking the key", async
|
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
assert.match(timeout.error, /timed out/);
|
|
126
|
+
const socket = await synthesizeGemini(args, {
|
|
127
|
+
fetchImpl: async () => {
|
|
128
|
+
const cause = Object.assign(new Error("other side closed test-gemini-key"), {
|
|
129
|
+
code: "UND_ERR_SOCKET",
|
|
130
|
+
});
|
|
131
|
+
throw new TypeError("fetch failed", { cause });
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
assert.match(socket.error, /fetch failed \(UND_ERR_SOCKET: other side closed/);
|
|
135
|
+
assert.ok(!socket.error.includes("test-gemini-key"));
|
|
126
136
|
assert.equal(existsSync(args.wavAbs), false);
|
|
127
137
|
});
|
|
128
138
|
|