hyperframes 0.8.214 → 0.8.217
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-U2N4ZWNB.js → add-AXTSRFNT.js} +19 -16
- package/dist/{agentPromptGenerator-EK7NEFV6.js → agentPromptGenerator-52346WSZ.js} +8 -7
- package/dist/{animatedGifPrep-X3FLFGCC.js → animatedGifPrep-WZHO7ZUA.js} +8 -7
- package/dist/api.js +19 -18
- package/dist/{asset-3CSXQ7JI.js → asset-T2CE34TV.js} +2 -2
- package/dist/{assetCataloger-FG2VTSSR.js → assetCataloger-2KABZLU3.js} +9 -8
- package/dist/{audio-US7IUDFM.js → audio-6I2AK3TZ.js} +179 -63
- package/dist/{auth-IMXNGPGR.js → auth-B3LLOMAG.js} +4 -4
- package/dist/{autoUpdate-IGZP5HIX.js → autoUpdate-TTY4BTMM.js} +5 -4
- package/dist/{backgroundChecks-UGU6SRCU.js → backgroundChecks-WKW5CTCV.js} +6 -5
- package/dist/backgroundChecksWorker.js +7 -6
- package/dist/{batchRender-5JS4SAGR.js → batchRender-ESAPNTE3.js} +4 -4
- package/dist/{beats-2F7ZW7QB.js → beats-5WAAC5HT.js} +25 -19
- package/dist/{benchmark-Y25FBDO7.js → benchmark-KFYDNWZ7.js} +16 -13
- package/dist/{browser-43AS35ZL.js → browser-LK4FYQXO.js} +12 -9
- package/dist/{bundleWithLocalizedFonts-6VHTVRO3.js → bundleWithLocalizedFonts-NRY45OIW.js} +2 -2
- package/dist/{capture-CMP4DHPY.js → capture-DXRZI2WW.js} +19 -18
- package/dist/{capture-N5AMWY4S.js → capture-SCXKM2WO.js} +3 -3
- package/dist/{captureCompositionFrame-PQT4GNR2.js → captureCompositionFrame-NDQEZBHR.js} +14 -13
- package/dist/{catalog-SZPWUZ75.js → catalog-7WRGMHVI.js} +20 -17
- package/dist/{catch-up-OYYHR2UB.js → catch-up-6QEJHTFF.js} +12 -9
- package/dist/{check-MBW4AYV6.js → check-HNONMHQD.js} +45 -42
- package/dist/{checkAudio-DIJNBWAF.js → checkAudio-OLNSZWWX.js} +12 -11
- package/dist/{checkBrowser-NYBDUAT2.js → checkBrowser-L2L2EEJD.js} +38 -35
- package/dist/{chunk-LBS4AS7G.js → chunk-2JUNPJUM.js} +2 -2
- package/dist/{chunk-4HMG5CQJ.js → chunk-2Q4CL6AB.js} +1 -1
- package/dist/{chunk-CATLCEDQ.js → chunk-3C6O5HV2.js} +13 -13
- package/dist/{chunk-6LDHXB4Z.js → chunk-3F2DTPBD.js} +3 -2
- package/dist/{chunk-DFQM3XMK.js → chunk-3MUFCWGK.js} +5 -5
- package/dist/{chunk-VC6GEQ7P.js → chunk-3YCAGPZK.js} +72 -31
- package/dist/{chunk-MZHYAXUV.js → chunk-42K4JLQO.js} +1 -1
- package/dist/chunk-4I7KQWZS.js +5061 -0
- package/dist/{chunk-ZMKRQ4HE.js → chunk-4JHZBIBW.js} +3 -3
- package/dist/chunk-4WEWHZZO.js +24 -0
- package/dist/{chunk-53ERMOK2.js → chunk-5CXGDO74.js} +2 -2
- package/dist/{chunk-245CC6JT.js → chunk-5HGUY24Y.js} +1 -1
- package/dist/{chunk-LRYNDYAE.js → chunk-5SZ2HRCW.js} +1 -1
- package/dist/{chunk-GRCS7WRH.js → chunk-5XDKFCEI.js} +9 -9
- package/dist/{chunk-3AAAA3KH.js → chunk-62ER6HGC.js} +3 -3
- package/dist/{chunk-ZXQNWUDY.js → chunk-64TWYU4M.js} +8 -8
- package/dist/{chunk-BRTWBGFE.js → chunk-6YGTOBXW.js} +1 -1
- package/dist/{chunk-GFA5ZCVI.js → chunk-AU7VGKCP.js} +7 -3
- package/dist/{chunk-ZCHULPJZ.js → chunk-BLBMPEBX.js} +6 -0
- package/dist/{chunk-K4WIOZFP.js → chunk-BR2JQQC5.js} +3 -5
- package/dist/{chunk-VEWR5HXT.js → chunk-BRYOYBO5.js} +1 -1
- package/dist/{chunk-G6HUXX3L.js → chunk-CBCZBHGK.js} +4 -2
- package/dist/{chunk-TNKPBI63.js → chunk-CH4RRRGC.js} +5 -5
- package/dist/{chunk-GSYZG4E7.js → chunk-DEWCAOOL.js} +2 -2
- package/dist/{chunk-YLEEVMBV.js → chunk-DOZGTBDV.js} +2 -2
- package/dist/{chunk-GHROWWUN.js → chunk-DWTFLQ3P.js} +33 -6
- package/dist/{chunk-HVQDDVN4.js → chunk-EAUUGY4R.js} +2 -2
- package/dist/{chunk-FQO3RV6O.js → chunk-ESZ6YPQM.js} +2 -2
- package/dist/{chunk-32NEJ553.js → chunk-FBN2M2HK.js} +28 -0
- package/dist/{chunk-MGUA3DUS.js → chunk-G35NVFZF.js} +3 -3
- package/dist/{chunk-L72RQ45A.js → chunk-G3AG7A42.js} +1 -1
- package/dist/{chunk-6UUPTWUG.js → chunk-GHWV6PIS.js} +1 -1
- package/dist/{chunk-FKFGGAXN.js → chunk-GLC5XHN5.js} +13 -0
- package/dist/{chunk-XWMY7FIW.js → chunk-H47FQDFU.js} +3 -3
- package/dist/{chunk-PT47MVXR.js → chunk-HPRR3WD7.js} +23 -17
- package/dist/{chunk-TYMD647L.js → chunk-JMGMOK4Z.js} +2 -2
- package/dist/{chunk-YQCDSSIK.js → chunk-JY27IRDR.js} +1 -1
- package/dist/{chunk-VW57BBGU.js → chunk-K2666FKT.js} +1 -1
- package/dist/{chunk-S6WDNIUG.js → chunk-K5GGTJJV.js} +1 -1
- package/dist/{chunk-XESW4XN7.js → chunk-KH5XMMSM.js} +2 -2
- package/dist/{chunk-FI3JWR34.js → chunk-KLGJ2R4V.js} +49 -10
- package/dist/{chunk-KSV2PMFA.js → chunk-L4BRJVGC.js} +7 -7
- package/dist/{chunk-5766TK7Q.js → chunk-LAGZGKKN.js} +1 -1
- package/dist/{chunk-I5LDGNYX.js → chunk-LJB2PF6K.js} +1 -1
- package/dist/{chunk-ISTUBRV3.js → chunk-LPJMACTI.js} +5 -5
- package/dist/{chunk-T6SMQ4L7.js → chunk-MGZKDR6R.js} +1 -1
- package/dist/{chunk-G7CFMNRO.js → chunk-MK4R3APQ.js} +2 -2
- package/dist/{chunk-6CGYINE7.js → chunk-NOH32H42.js} +25 -0
- package/dist/{chunk-VILE6GFD.js → chunk-NWD2KKM5.js} +1 -1
- package/dist/{chunk-QCCPXMKP.js → chunk-O44FYXH5.js} +2 -2
- package/dist/{chunk-HNYTTRLR.js → chunk-OQRO2MEK.js} +4 -4
- package/dist/{chunk-A3ZRV44X.js → chunk-OV6MUGZI.js} +2 -2
- package/dist/{chunk-LWWTOBZ6.js → chunk-P42DLWIY.js} +3 -3
- package/dist/{chunk-MP7DZH5M.js → chunk-PNBH4ZY7.js} +2 -2
- package/dist/{chunk-VVDHSRKD.js → chunk-PPMLF76Z.js} +1 -1
- package/dist/chunk-PXVQOMKL.js +39 -0
- package/dist/chunk-QBXDU24O.js +20 -0
- package/dist/{chunk-ZE57TSS6.js → chunk-QRIC4WOO.js} +1 -1
- package/dist/{chunk-4NJ57TSE.js → chunk-QY7RG6K3.js} +11 -6
- package/dist/{chunk-FJ646TIT.js → chunk-R4EWRIDL.js} +161 -21
- package/dist/{chunk-FC6BAQV5.js → chunk-R7EB4M5P.js} +12 -11
- package/dist/{chunk-WJRYQYOM.js → chunk-RLT45AWC.js} +1 -1
- package/dist/{chunk-XM3NMXLX.js → chunk-RYBFHEMZ.js} +1 -1
- package/dist/{chunk-7J6LQ3SQ.js → chunk-SGTEKMJW.js} +19 -4
- package/dist/{chunk-HQRI2NT3.js → chunk-ST5EBZTO.js} +1 -1
- package/dist/{chunk-URD4QIQS.js → chunk-TCVI4ZGS.js} +1 -1
- package/dist/{chunk-LIOE46OG.js → chunk-TDNZIFJ2.js} +130 -38
- package/dist/{chunk-634HSJ3J.js → chunk-TK7THLRO.js} +10 -3
- package/dist/{chunk-Q55JNFDV.js → chunk-UGQFQDSV.js} +1 -1
- package/dist/{chunk-7Y4TTOLE.js → chunk-UQSBVZ3H.js} +7 -5
- package/dist/{chunk-VAOROEWU.js → chunk-URKDBFZV.js} +2 -2
- package/dist/{chunk-7TWX4Y7I.js → chunk-UVXIJYZY.js} +3 -15
- package/dist/{chunk-JMSS47CW.js → chunk-UWV753SJ.js} +1 -1
- package/dist/{chunk-A7UJGIMA.js → chunk-UZPWLXO6.js} +1 -1
- package/dist/{chunk-QL7ITOPE.js → chunk-V4AS2BNU.js} +3 -3
- package/dist/{chunk-YDHXPY23.js → chunk-VS7G457O.js} +1 -1
- package/dist/{chunk-MYDM4PQL.js → chunk-VTLIN7XN.js} +2 -2
- package/dist/{chunk-7W4DJKZA.js → chunk-W2LKSBX5.js} +11 -11
- package/dist/{chunk-ENV35BSH.js → chunk-WGHUHNXI.js} +125 -53
- package/dist/{chunk-EJCCJTUH.js → chunk-WKNWKORX.js} +3 -3
- package/dist/{chunk-DW35FX4I.js → chunk-X5EOH44V.js} +1 -1
- package/dist/{chunk-7YUYG6S6.js → chunk-XN22HGE7.js} +1 -1
- package/dist/{chunk-UR6QODTY.js → chunk-YATFRFNH.js} +1 -1
- package/dist/{chunk-3ZNAP65U.js → chunk-YQY4KVP4.js} +13 -17
- package/dist/{chunk-GVHEOOGM.js → chunk-Z3HHAFEP.js} +7 -7
- package/dist/{clean-RDKZTFDC.js → clean-2CK4S5ES.js} +22 -21
- package/dist/cli.js +63 -70
- package/dist/{cloud-2MGM3NSJ.js → cloud-QRSJMVGW.js} +4 -4
- package/dist/{cloudrun-YQONSO6B.js → cloudrun-5XEDIP77.js} +5 -5
- package/dist/commands/layout-audit.browser.js +44 -1
- package/dist/{compare-HAMCTSXR.js → compare-ASV5QBD2.js} +35 -32
- package/dist/{compiler-YUM2ODOP.js → compiler-CG2EXM75.js} +2 -2
- package/dist/{component-2MDTLX6B.js → component-24XLTKUQ.js} +3 -3
- package/dist/{compositions-EEXADRKF.js → compositions-AN7ETEKG.js} +17 -14
- package/dist/{delete-X4I63WKN.js → delete-OMKQ3XTL.js} +9 -7
- package/dist/{deploy-BBGSS4I3.js → deploy-3M6QRT2H.js} +2 -2
- package/dist/{dist-ZE5X6MWG.js → dist-VNOJCTQR.js} +3 -3
- package/dist/{doctor-BNZ6D33R.js → doctor-ABYFP2LY.js} +16 -15
- package/dist/{dotEnv-RPHCAUBZ.js → dotEnv-BGFXSQOA.js} +7 -5
- package/dist/{events-6DI3CND6.js → events-64QVWKTU.js} +10 -7
- package/dist/{events-BYOF33UK.js → events-P5AFL2VZ.js} +11 -8
- package/dist/{feedback-Z3JOC7TX.js → feedback-LQ2TT4XL.js} +31 -16
- package/dist/{ffmpeg-S44OTBCI.js → ffmpeg-Y6NMFQ5J.js} +8 -7
- package/dist/{figma-TVX2H5B3.js → figma-R75KTFW4.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -11
- package/dist/{get-DWKTDVP7.js → get-KB67C2T7.js} +9 -7
- package/dist/{gpuPolicy-GTBFSUHB.js → gpuPolicy-4ERRTA5U.js} +8 -7
- package/dist/{grade-compare-S4P6Z265.js → grade-compare-NPVETP7T.js} +36 -33
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-RKQP2Y73.js → heifImagePrep-ABLYQMTO.js} +9 -8
- package/dist/{help-WIC6DHOF.js → help-ZNJG5OJO.js} +3 -3
- package/dist/{history-UBRUPAHH.js → history-HUBQPMLX.js} +14 -11
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +71 -71
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-F5LTDQ6I.js → info-KDSQGWE5.js} +15 -12
- package/dist/{init-6L4WQKOD.js → init-QEPNUQB2.js} +35 -32
- package/dist/{inspect-DUIBB263.js → inspect-27GJ5ZUI.js} +36 -33
- package/dist/{installer-JKZ5N47B.js → installer-OFIDWMYR.js} +5 -5
- package/dist/{keyframes-5FQNFJFE.js → keyframes-E2NNHMNK.js} +14 -11
- package/dist/{lambda-YTO6N2QH.js → lambda-QQ2VVPRQ.js} +12 -11
- package/dist/{layout-H3F2LW62.js → layout-NQQZ5KR7.js} +36 -33
- package/dist/{lint-WUWLVCJQ.js → lint-DUYKX36O.js} +15 -12
- package/dist/{list-3EFECRWU.js → list-HIZY6RSP.js} +9 -7
- package/dist/{localPage-C3267GRQ.js → localPage-U2RMKIMN.js} +8 -7
- package/dist/{login-W5L64YRM.js → login-CLP2ZTEW.js} +19 -18
- package/dist/{logout-C6P6ERZ3.js → logout-CXGSSQ4Q.js} +6 -4
- package/dist/{manager-46MZB3HK.js → manager-CXRLWAKH.js} +10 -9
- package/dist/{manager-IZIK7BHN.js → manager-LXWVBDLM.js} +3 -3
- package/dist/{media-treatment-XBQWOU5U.js → media-treatment-GSWIAGS4.js} +29 -17
- package/dist/{models-ZHNV44XV.js → models-TPHYQXOL.js} +12 -11
- package/dist/{motionShot-DO4EQ2U3.js → motionShot-7UX4TKHZ.js} +18 -17
- package/dist/{normalize-audio-2EXTDNBF.js → normalize-audio-WBTJDFS7.js} +16 -13
- package/dist/{open-7ZOY3KI6.js → open-P7Z2PIPR.js} +19 -16
- package/dist/{parakeetRunner-H3B4QP6W.js → parakeetRunner-F2OX525D.js} +14 -13
- package/dist/{pipeline-7OKHNKGP.js → pipeline-2ZDZGL4J.js} +12 -11
- package/dist/{play-B5NNOJN7.js → play-YCH7MRNX.js} +26 -23
- package/dist/{preflight-R26JZQJU.js → preflight-MTMSPVCR.js} +11 -10
- package/dist/{present-Y2SEWKGO.js → present-L4HNZ2HU.js} +22 -19
- package/dist/{preview-7CZX4A5T.js → preview-RWX74O5J.js} +25 -22
- package/dist/{producer-WTO6XYGU.js → producer-UI4FXLPQ.js} +1 -1
- package/dist/{projectConfig-SJ5NIYUO.js → projectConfig-I6QNMRVV.js} +7 -7
- package/dist/{publication-47KNSXP7.js → publication-JET7ZBWG.js} +3 -3
- package/dist/{publish-4J4EKKQN.js → publish-T56AYTZU.js} +16 -14
- package/dist/{refresh-IYRGLHG5.js → refresh-VJ4FQVH2.js} +3 -2
- package/dist/{remove-background-UKC6NKDH.js → remove-background-4Y56FLXV.js} +13 -12
- package/dist/{render-S2FJRE3H.js → render-33TSTTN7.js} +6 -6
- package/dist/{render-TABKCTMF.js → render-IJ7L24RF.js} +169 -72
- package/dist/{render-DBELH4AC.js → render-UBDIHGEG.js} +25 -22
- package/dist/{render-batch-6YJMWHZ4.js → render-batch-SDDZ3LM7.js} +6 -6
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-EDI3JND5.js → resolver-VLOUQ7I6.js} +5 -5
- package/dist/{screenshotCapture-HDRHY4NN.js → screenshotCapture-U3IYWTDB.js} +1 -1
- package/dist/{sherpa-R6HDRJCA.js → sherpa-6GOUBSP2.js} +13 -12
- package/dist/sherpaWorker.js +1 -1
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +9 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +2 -2
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -2
- package/dist/skills/media-use/references/meta.md +6 -5
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +49 -15
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +19 -5
- package/dist/{skills-2QIW3EOJ.js → skills-MAJGGJKJ.js} +13 -10
- package/dist/{skillsUpdateCheck-XG5FPCU5.js → skillsUpdateCheck-X6AIBUUG.js} +6 -5
- package/dist/{snapshot-C5XBKYEF.js → snapshot-JKKWQSMQ.js} +62 -45
- package/dist/{src-E467QUBK.js → src-LAO5IGRI.js} +11 -6
- package/dist/{src-CT2X45TD.js → src-RIL5PHI6.js} +12 -9
- package/dist/{staticProjectServer-G54Z4BH7.js → staticProjectServer-YF5AZXGR.js} +19 -18
- package/dist/{status-SLILCDBZ.js → status-TJFZFDGS.js} +5 -4
- package/dist/studio/assets/{hyperframes-player-H1DIJsJZ.js → hyperframes-player-Cf9gtxqa.js} +3 -3
- package/dist/studio/assets/{index-v_hWj6Kv.js → index-CW5fPxU8.js} +1 -1
- package/dist/studio/assets/{index-BftVE_0y.js → index-zVoFhoyD.js} +120 -120
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-O52RPXZC.js → studio-api-Q2U6752S.js} +9 -9
- package/dist/{studioServer-WDTS6ZDI.js → studioServer-SPU4MINT.js} +56 -53
- package/dist/{synthesize-FQML2LN2.js → synthesize-IKSZPKFJ.js} +2 -2
- package/dist/{system-MVRF5UM2.js → system-FDPS57FU.js} +2 -2
- package/dist/{telemetry-NTO4FJFN.js → telemetry-QHYJJAJU.js} +7 -6
- package/dist/{telemetry-GEHWCV7C.js → telemetry-W7CBBWIN.js} +11 -8
- package/dist/{timeline-IVQDNGWZ.js → timeline-L26OBLW2.js} +25 -22
- package/dist/{tokens-EN5PVV3Y.js → tokens-PNNCTOYV.js} +2 -2
- package/dist/{transcribe-HKS3PZAF.js → transcribe-PPZFOWMB.js} +12 -11
- package/dist/{transcribe-NXMIBNLX.js → transcribe-XZCZTOPU.js} +23 -20
- package/dist/{tts-K5HRN6NQ.js → tts-MQNOBHLH.js} +3 -3
- package/dist/{updateCheck-35TT5GRF.js → updateCheck-SNRZKRO2.js} +5 -4
- package/dist/{upgrade-G6EOHGUS.js → upgrade-WEU5MYWF.js} +5 -4
- package/dist/{urlDownloader-X7V63HCF.js → urlDownloader-55NQFDIH.js} +7 -6
- package/dist/{validate-4JUCRS64.js → validate-4QEMOBFD.js} +30 -27
- package/dist/{video-SWQXDG7J.js → video-VYOWJDYM.js} +9 -8
- package/dist/warmCheck.js +46 -43
- package/dist/warmCheckClient.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-FBQVRYMD.js +0 -5061
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
Semaphore,
|
|
9
9
|
prepareHeifImageInputs,
|
|
10
10
|
withMediaProbeSlot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2JUNPJUM.js";
|
|
12
12
|
import {
|
|
13
13
|
EncoderInterruptedError,
|
|
14
14
|
encoderFailureError,
|
|
15
15
|
prepareAnimatedGifInputs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MK4R3APQ.js";
|
|
17
17
|
import {
|
|
18
18
|
GENERIC_FAMILIES,
|
|
19
19
|
collectFontFamilyCustomProperties,
|
|
@@ -109,6 +109,7 @@ import {
|
|
|
109
109
|
frameSequencePath,
|
|
110
110
|
getCapturePerfSummary,
|
|
111
111
|
getCompositionDuration,
|
|
112
|
+
getCompositionLengthSource,
|
|
112
113
|
getDrawElementVerificationDetails,
|
|
113
114
|
getEncoderPreset,
|
|
114
115
|
getFfmpegBinary,
|
|
@@ -173,7 +174,7 @@ import {
|
|
|
173
174
|
videoAudioId,
|
|
174
175
|
videoStartOnMediaTimeline,
|
|
175
176
|
writeCapturedFrame
|
|
176
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-TDNZIFJ2.js";
|
|
177
178
|
import {
|
|
178
179
|
assignBundledRuntimeCompositionIds,
|
|
179
180
|
emitMountedModuleScripts,
|
|
@@ -185,7 +186,7 @@ import {
|
|
|
185
186
|
parsesAsScript,
|
|
186
187
|
prepareFlattenedInnerRoot,
|
|
187
188
|
stripSdrPngColourTags
|
|
188
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-2Q4CL6AB.js";
|
|
189
190
|
import {
|
|
190
191
|
collectScratchLeftovers,
|
|
191
192
|
removeScratch,
|
|
@@ -206,7 +207,7 @@ import {
|
|
|
206
207
|
parseVfxChain,
|
|
207
208
|
resolveAuthoredTimingWindow,
|
|
208
209
|
toFps
|
|
209
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-AU7VGKCP.js";
|
|
210
211
|
import {
|
|
211
212
|
COMPOSITION_SOURCE_URL,
|
|
212
213
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -241,7 +242,7 @@ import {
|
|
|
241
242
|
sourceTimeAt,
|
|
242
243
|
styleElementsFor,
|
|
243
244
|
timeAtSourceTime
|
|
244
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-4I7KQWZS.js";
|
|
245
246
|
import {
|
|
246
247
|
TRANSITIONS,
|
|
247
248
|
convertTransfer,
|
|
@@ -250,7 +251,7 @@ import {
|
|
|
250
251
|
import {
|
|
251
252
|
redactKnownPaths,
|
|
252
253
|
redactTelemetryString
|
|
253
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-TK7THLRO.js";
|
|
254
255
|
import {
|
|
255
256
|
chromeMajorCeiling
|
|
256
257
|
} from "./chunk-WE42NVH7.js";
|
|
@@ -298,7 +299,7 @@ import {
|
|
|
298
299
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
299
300
|
getCgroupMemoryLimitMb,
|
|
300
301
|
getSystemTotalMb
|
|
301
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-FBN2M2HK.js";
|
|
302
303
|
|
|
303
304
|
// ../producer/src/services/renderOrchestrator.ts
|
|
304
305
|
import {
|
|
@@ -3827,6 +3828,10 @@ function resolveCaptureStallTimeoutMs() {
|
|
|
3827
3828
|
const parsed = raw ? Number(raw) : Number.NaN;
|
|
3828
3829
|
return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_CAPTURE_STALL_MS;
|
|
3829
3830
|
}
|
|
3831
|
+
function stallBudgetMs(stallTimeoutMs, framesDone, beginFrame, cfg) {
|
|
3832
|
+
const deadline = cfg.beginFrameFirstFrameDeadlineMs;
|
|
3833
|
+
return beginFrame && framesDone === 0 && deadline ? Math.min(stallTimeoutMs, deadline) : stallTimeoutMs;
|
|
3834
|
+
}
|
|
3830
3835
|
function captureModeLabel(mode) {
|
|
3831
3836
|
if (mode === "drawelement") return "drawElement";
|
|
3832
3837
|
if (mode === "beginframe") return "BeginFrame";
|
|
@@ -4199,14 +4204,20 @@ async function runCaptureStreamingStage(input) {
|
|
|
4199
4204
|
const phaseDetail = (phase) => `phase=${phase.phase} frame=${phase.frameIndex ?? "n/a"} step=${phase.readStep?.() ?? "n/a"} browser=${phase.browserExecutable} version=${phase.browserVersion} CanvasDrawElement=${phase.canvasDrawElement} gpu=${phase.gpuBackend}`;
|
|
4200
4205
|
const phaseSummary = () => [...workerPhases.entries()].sort(([left], [right]) => left - right).map(([workerId, detail]) => `worker=${workerId} ${detail}`).join("; ");
|
|
4201
4206
|
let stalled = false;
|
|
4207
|
+
const budget = () => stallBudgetMs(
|
|
4208
|
+
stallTimeoutMs,
|
|
4209
|
+
resumeFrom + lastCapturedFrames,
|
|
4210
|
+
captureLabel === "BeginFrame",
|
|
4211
|
+
cfg
|
|
4212
|
+
);
|
|
4202
4213
|
const stallTimer = setInterval(
|
|
4203
4214
|
() => {
|
|
4204
|
-
if (!watchdogArmed || Date.now() - lastProgressAt <=
|
|
4215
|
+
if (!watchdogArmed || Date.now() - lastProgressAt <= budget()) return;
|
|
4205
4216
|
stalled = true;
|
|
4206
4217
|
const stallErr = new ParallelCaptureStallError({
|
|
4207
4218
|
variant: "drain",
|
|
4208
4219
|
captureLabel,
|
|
4209
|
-
stallTimeoutMs,
|
|
4220
|
+
stallTimeoutMs: budget(),
|
|
4210
4221
|
lastCapturedFrames: resumeFrom + lastCapturedFrames,
|
|
4211
4222
|
totalFrames,
|
|
4212
4223
|
phaseSummary: phaseSummary()
|
|
@@ -4214,7 +4225,7 @@ async function runCaptureStreamingStage(input) {
|
|
|
4214
4225
|
parallelReorder.abort(stallErr);
|
|
4215
4226
|
stallController.abort();
|
|
4216
4227
|
},
|
|
4217
|
-
Math.min(
|
|
4228
|
+
Math.min(budget(), DE_STALL_POLL_MS)
|
|
4218
4229
|
);
|
|
4219
4230
|
try {
|
|
4220
4231
|
workerResults = await executeParallelCapture(
|
|
@@ -4295,7 +4306,7 @@ async function runCaptureStreamingStage(input) {
|
|
|
4295
4306
|
throw new ParallelCaptureStallError({
|
|
4296
4307
|
variant: "pool",
|
|
4297
4308
|
captureLabel,
|
|
4298
|
-
stallTimeoutMs,
|
|
4309
|
+
stallTimeoutMs: budget(),
|
|
4299
4310
|
lastCapturedFrames: resumeFrom + lastCapturedFrames,
|
|
4300
4311
|
totalFrames,
|
|
4301
4312
|
phaseSummary: phaseSummary()
|
|
@@ -4396,10 +4407,16 @@ async function runCaptureStreamingStage(input) {
|
|
|
4396
4407
|
for (let i = 0; i < totalFrames; i++) {
|
|
4397
4408
|
assertNotAborted();
|
|
4398
4409
|
const time = i * job.config.fps.den / job.config.fps.num;
|
|
4410
|
+
const budget = stallBudgetMs(
|
|
4411
|
+
stallTimeoutMs,
|
|
4412
|
+
i,
|
|
4413
|
+
session.captureMode === "beginframe",
|
|
4414
|
+
cfg
|
|
4415
|
+
);
|
|
4399
4416
|
const { buffer } = await raceAgainstStall(
|
|
4400
4417
|
captureFrameToBuffer(session, i, time),
|
|
4401
|
-
|
|
4402
|
-
{ session, frameIndex: i, totalFrames, stallTimeoutMs },
|
|
4418
|
+
budget - (Date.now() - lastProgressAt),
|
|
4419
|
+
{ session, frameIndex: i, totalFrames, stallTimeoutMs: budget },
|
|
4403
4420
|
abortSignal
|
|
4404
4421
|
);
|
|
4405
4422
|
await reorderBuffer.waitForFrame(i);
|
|
@@ -5598,6 +5615,7 @@ function watchStall(phase, rule) {
|
|
|
5598
5615
|
let lastChangeAt = Date.now();
|
|
5599
5616
|
let attempt;
|
|
5600
5617
|
let timer;
|
|
5618
|
+
let inTail = false;
|
|
5601
5619
|
const restartWindow = (ms) => {
|
|
5602
5620
|
last = rule.progress();
|
|
5603
5621
|
budgetMs = ms;
|
|
@@ -5607,6 +5625,10 @@ function watchStall(phase, rule) {
|
|
|
5607
5625
|
timer = setInterval(
|
|
5608
5626
|
() => {
|
|
5609
5627
|
const current = rule.progress();
|
|
5628
|
+
if (rule.complete?.() && !inTail) {
|
|
5629
|
+
inTail = true;
|
|
5630
|
+
return restartWindow(rule.tailMs ?? rule.noProgressMs);
|
|
5631
|
+
}
|
|
5610
5632
|
if (current !== last) return restartWindow(rule.noProgressMs);
|
|
5611
5633
|
if (Date.now() - lastChangeAt < budgetMs) return;
|
|
5612
5634
|
const error = new RenderStageStalledError(phase, budgetMs, current);
|
|
@@ -5622,6 +5644,7 @@ function watchStall(phase, rule) {
|
|
|
5622
5644
|
});
|
|
5623
5645
|
const openAttempt = (parent) => {
|
|
5624
5646
|
attempt = new AbortController();
|
|
5647
|
+
inTail = false;
|
|
5625
5648
|
restartWindow(rule.firstProgressMs);
|
|
5626
5649
|
return parent ? AbortSignal.any([parent, attempt.signal]) : attempt.signal;
|
|
5627
5650
|
};
|
|
@@ -7863,7 +7886,8 @@ async function runCompileStage(input) {
|
|
|
7863
7886
|
}
|
|
7864
7887
|
|
|
7865
7888
|
// ../producer/src/services/render/stages/probeStage.ts
|
|
7866
|
-
import {
|
|
7889
|
+
import { createHash as createHash5 } from "crypto";
|
|
7890
|
+
import { basename as basename5, join as join15 } from "path";
|
|
7867
7891
|
|
|
7868
7892
|
// ../producer/src/services/render/stages/probeFailures.ts
|
|
7869
7893
|
var NETWORK_FAILURE_PATTERN = /404|ERR_NAME_NOT_RESOLVED|ERR_CONNECTION_REFUSED|net::ERR_/i;
|
|
@@ -7986,6 +8010,13 @@ function hasRuntimeMediaChanges(html) {
|
|
|
7986
8010
|
function probeRequiresBrowser(args) {
|
|
7987
8011
|
return args.durationSeconds <= 0 || args.unresolvedCompositionCount > 0 || args.hasAutoStart || args.hasScriptedAudio || args.hasVariableMedia || args.hasInsertedMedia;
|
|
7988
8012
|
}
|
|
8013
|
+
function reportedLengthSource(source) {
|
|
8014
|
+
if (!source) return null;
|
|
8015
|
+
if (source.from !== "media") return { from: source.from };
|
|
8016
|
+
const name = basename5(source.src.split(/[?#]/, 1)[0] ?? "");
|
|
8017
|
+
const srcHash = createHash5("sha256").update(name).digest("hex").slice(0, 12);
|
|
8018
|
+
return { from: "media", tag: source.tag, trimmed: source.trimmed, srcHash };
|
|
8019
|
+
}
|
|
7989
8020
|
async function runProbeStage(input) {
|
|
7990
8021
|
const {
|
|
7991
8022
|
projectDir,
|
|
@@ -8007,6 +8038,7 @@ async function runProbeStage(input) {
|
|
|
8007
8038
|
const probeCfg = cfg.forceScreenshot === forceScreenshot ? cfg : { ...cfg, forceScreenshot };
|
|
8008
8039
|
let fileServer = null;
|
|
8009
8040
|
let probeSession = null;
|
|
8041
|
+
let lengthSource = input.composition.duration > 0 ? { from: "declared" } : null;
|
|
8010
8042
|
let beginFrameStalled = false;
|
|
8011
8043
|
let lastBrowserConsole = [];
|
|
8012
8044
|
const probeStart = Date.now();
|
|
@@ -8168,10 +8200,12 @@ async function runProbeStage(input) {
|
|
|
8168
8200
|
if (composition.duration <= 0) {
|
|
8169
8201
|
log.info("Discovering composition duration...");
|
|
8170
8202
|
const discoveredDuration = await getCompositionDuration(session);
|
|
8203
|
+
lengthSource = reportedLengthSource(await getCompositionLengthSource(session));
|
|
8171
8204
|
assertNotAborted();
|
|
8172
8205
|
log.info("Probed composition duration from browser", {
|
|
8173
8206
|
discoveredDuration,
|
|
8174
|
-
staticDuration: compiled.staticDuration
|
|
8207
|
+
staticDuration: compiled.staticDuration,
|
|
8208
|
+
lengthSource
|
|
8175
8209
|
});
|
|
8176
8210
|
composition.duration = discoveredDuration;
|
|
8177
8211
|
} else {
|
|
@@ -8460,6 +8494,7 @@ async function runProbeStage(input) {
|
|
|
8460
8494
|
probeSession,
|
|
8461
8495
|
lastBrowserConsole,
|
|
8462
8496
|
duration,
|
|
8497
|
+
lengthSource,
|
|
8463
8498
|
totalFrames,
|
|
8464
8499
|
browserProbeMs,
|
|
8465
8500
|
beginFrameStalled
|
|
@@ -8932,7 +8967,7 @@ function checkedDbfs(value) {
|
|
|
8932
8967
|
}
|
|
8933
8968
|
return value;
|
|
8934
8969
|
}
|
|
8935
|
-
async function scanTruePeak(audioPath, trim, timeoutMs, signal) {
|
|
8970
|
+
async function scanTruePeak(audioPath, trim, timeoutMs, signal, seekSeconds = 0) {
|
|
8936
8971
|
let firstBlock;
|
|
8937
8972
|
let laterBlocks = Number.NEGATIVE_INFINITY;
|
|
8938
8973
|
let partialLine = "";
|
|
@@ -8948,7 +8983,21 @@ async function scanTruePeak(audioPath, trim, timeoutMs, signal) {
|
|
|
8948
8983
|
}
|
|
8949
8984
|
};
|
|
8950
8985
|
const result = await runFfmpeg(
|
|
8951
|
-
[
|
|
8986
|
+
[
|
|
8987
|
+
...seekSeconds > 0 ? ["-ss", String(seekSeconds)] : [],
|
|
8988
|
+
...[
|
|
8989
|
+
"-i",
|
|
8990
|
+
audioPath,
|
|
8991
|
+
"-map",
|
|
8992
|
+
"0:a:0",
|
|
8993
|
+
"-vn",
|
|
8994
|
+
"-af",
|
|
8995
|
+
`${trim}ebur128=peak=true`,
|
|
8996
|
+
"-f",
|
|
8997
|
+
"null",
|
|
8998
|
+
"-"
|
|
8999
|
+
]
|
|
9000
|
+
],
|
|
8952
9001
|
{ signal, timeout: timeoutMs, onStderr: readLines }
|
|
8953
9002
|
);
|
|
8954
9003
|
if (!result.success) {
|
|
@@ -8974,12 +9023,15 @@ async function measureTruePeakDbfs(audioPath, options) {
|
|
|
8974
9023
|
const scans = await Promise.all(
|
|
8975
9024
|
Array.from({ length: count }, (_, k) => {
|
|
8976
9025
|
const start = k === 0 ? 0 : cut(k) - block;
|
|
8977
|
-
const
|
|
9026
|
+
const seekSeconds = Math.max(0, Math.floor(start / sampleRate) - 1);
|
|
9027
|
+
const skipped = seekSeconds * sampleRate;
|
|
9028
|
+
const end = k === count - 1 ? "" : `:end_sample=${cut(k + 1) - skipped}`;
|
|
8978
9029
|
return scanTruePeak(
|
|
8979
9030
|
audioPath,
|
|
8980
|
-
`atrim=start_sample=${start}${end},`,
|
|
9031
|
+
`atrim=start_sample=${start - skipped}${end},`,
|
|
8981
9032
|
timeoutMs,
|
|
8982
|
-
segmentSignal
|
|
9033
|
+
segmentSignal,
|
|
9034
|
+
seekSeconds
|
|
8983
9035
|
);
|
|
8984
9036
|
})
|
|
8985
9037
|
).catch((error) => {
|
|
@@ -11555,12 +11607,15 @@ function resetCaptureAttemptProgress(job) {
|
|
|
11555
11607
|
job.framesRendered = 0;
|
|
11556
11608
|
}
|
|
11557
11609
|
var FIRST_FRAME_STALL_MS = 3e5;
|
|
11558
|
-
|
|
11610
|
+
var TAIL_STALL_MS = FIRST_FRAME_STALL_MS;
|
|
11611
|
+
function frameStallRule(job, totalFrames) {
|
|
11559
11612
|
const noProgressMs = resolveCaptureStallTimeoutMs();
|
|
11560
11613
|
return {
|
|
11561
11614
|
progress: () => job.framesRendered ?? 0,
|
|
11562
11615
|
noProgressMs,
|
|
11563
|
-
firstProgressMs: Math.max(FIRST_FRAME_STALL_MS, noProgressMs)
|
|
11616
|
+
firstProgressMs: Math.max(FIRST_FRAME_STALL_MS, noProgressMs),
|
|
11617
|
+
complete: () => (job.framesRendered ?? 0) >= totalFrames,
|
|
11618
|
+
tailMs: Math.max(TAIL_STALL_MS, noProgressMs)
|
|
11564
11619
|
};
|
|
11565
11620
|
}
|
|
11566
11621
|
function isRecoverableParallelCaptureError(error) {
|
|
@@ -12577,6 +12632,12 @@ async function executeRenderPipeline(input) {
|
|
|
12577
12632
|
}
|
|
12578
12633
|
observability.checkpoint("browser_probe", "duration resolved", {
|
|
12579
12634
|
durationSeconds: probeResult.duration,
|
|
12635
|
+
lengthFrom: probeResult.lengthSource?.from ?? null,
|
|
12636
|
+
...probeResult.lengthSource?.from === "media" ? {
|
|
12637
|
+
lengthTag: probeResult.lengthSource.tag,
|
|
12638
|
+
lengthTrimmed: probeResult.lengthSource.trimmed,
|
|
12639
|
+
lengthSrcHash: probeResult.lengthSource.srcHash
|
|
12640
|
+
} : {},
|
|
12580
12641
|
totalFrames,
|
|
12581
12642
|
compositionHash,
|
|
12582
12643
|
beginFrameStalled: probeResult.beginFrameStalled
|
|
@@ -12762,6 +12823,14 @@ async function executeRenderPipeline(input) {
|
|
|
12762
12823
|
// sample frame indices from this so they land inside the drained range.
|
|
12763
12824
|
compositionDurationSeconds: job.duration,
|
|
12764
12825
|
deFrameFallback: true,
|
|
12826
|
+
// A line per scanned chunk, so a long effect scan reads as preparing, not as a stall.
|
|
12827
|
+
onEffectScanProgress: (scanned, total) => updateJobStatus(
|
|
12828
|
+
job,
|
|
12829
|
+
"rendering",
|
|
12830
|
+
`Checking effects, ${scanned} of ${total} frames`,
|
|
12831
|
+
25,
|
|
12832
|
+
onProgress
|
|
12833
|
+
),
|
|
12765
12834
|
requiresWebGpu: compositionRequiresWebGpu(compiled.html),
|
|
12766
12835
|
// Live route for Chrome memory (spec §5 Phase −1). The aggregate route
|
|
12767
12836
|
// through CapturePerfSummary only exists on success; a mid-capture
|
|
@@ -13446,7 +13515,7 @@ async function executeRenderPipeline(input) {
|
|
|
13446
13515
|
onProgress
|
|
13447
13516
|
});
|
|
13448
13517
|
},
|
|
13449
|
-
{ stall: frameStallRule(job) }
|
|
13518
|
+
{ stall: frameStallRule(job, totalFrames) }
|
|
13450
13519
|
);
|
|
13451
13520
|
lastBrowserConsole = hdrRes.lastBrowserConsole;
|
|
13452
13521
|
layeredCaptureWarnings.push(...hdrRes.warnings);
|
|
@@ -13891,7 +13960,7 @@ async function executeRenderPipeline(input) {
|
|
|
13891
13960
|
interleaveFrames: overlap !== null,
|
|
13892
13961
|
openAttempt
|
|
13893
13962
|
}),
|
|
13894
|
-
{ stall: frameStallRule(job) }
|
|
13963
|
+
{ stall: frameStallRule(job, totalFrames) }
|
|
13895
13964
|
);
|
|
13896
13965
|
let captureRes;
|
|
13897
13966
|
try {
|
|
@@ -14206,6 +14275,25 @@ async function executeRenderPipeline(input) {
|
|
|
14206
14275
|
}
|
|
14207
14276
|
}
|
|
14208
14277
|
|
|
14278
|
+
// ../producer/src/services/safeRenderErrorCode.ts
|
|
14279
|
+
var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
14280
|
+
"ASSET_MEDIA_TYPE_MISMATCH",
|
|
14281
|
+
"HEIF_IMAGE_CONVERSION_FAILED",
|
|
14282
|
+
"HEIF_TOOL_UNAVAILABLE",
|
|
14283
|
+
"NOT_MEDIA_PAYLOAD",
|
|
14284
|
+
"INVALID_VIDEO_METADATA",
|
|
14285
|
+
"VIDEO_SOURCE_UNRENDERABLE",
|
|
14286
|
+
"VIDEO_EXTRACTION_FAILED",
|
|
14287
|
+
"ENCODER_INTERRUPTED",
|
|
14288
|
+
"RENDER_TOO_SLOW",
|
|
14289
|
+
"RENDER_STAGE_STALLED"
|
|
14290
|
+
]);
|
|
14291
|
+
function extractSafeRenderErrorCode(error) {
|
|
14292
|
+
if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
|
|
14293
|
+
const code = error.code;
|
|
14294
|
+
return typeof code === "string" && SAFE_RENDER_ERROR_CODES.has(code) ? code : void 0;
|
|
14295
|
+
}
|
|
14296
|
+
|
|
14209
14297
|
// ../producer/src/services/distributed/plan.ts
|
|
14210
14298
|
import {
|
|
14211
14299
|
copyFileSync as copyFileSync4,
|
|
@@ -14931,12 +15019,12 @@ function readPlanProtocolV1(planJson, capabilities = DISTRIBUTED_RENDER_CAPABILI
|
|
|
14931
15019
|
}
|
|
14932
15020
|
|
|
14933
15021
|
// ../producer/src/services/render/stages/planHash.ts
|
|
14934
|
-
import { createHash as
|
|
15022
|
+
import { createHash as createHash6 } from "crypto";
|
|
14935
15023
|
import { closeSync as closeSync4, createReadStream as createReadStream3, openSync as openSync4, readSync as readSync3 } from "fs";
|
|
14936
15024
|
var PLAN_HASH_SCHEMA_PREFIX = "hyperframes-plan-hash-v1\0";
|
|
14937
15025
|
var FIELD_DELIMITER = Buffer.from([0]);
|
|
14938
15026
|
function computePlanHash(input) {
|
|
14939
|
-
const hash =
|
|
15027
|
+
const hash = createHash6("sha256");
|
|
14940
15028
|
hash.update(PLAN_HASH_SCHEMA_PREFIX, "utf8");
|
|
14941
15029
|
hash.update(input.compositionHtml);
|
|
14942
15030
|
hash.update(FIELD_DELIMITER);
|
|
@@ -14983,12 +15071,12 @@ function canonicalJsonStringify(value) {
|
|
|
14983
15071
|
throw new TypeError(`canonicalJsonStringify: unsupported value type ${typeof value}`);
|
|
14984
15072
|
}
|
|
14985
15073
|
function sha256Hex(bytes) {
|
|
14986
|
-
const h =
|
|
15074
|
+
const h = createHash6("sha256");
|
|
14987
15075
|
h.update(bytes);
|
|
14988
15076
|
return h.digest("hex");
|
|
14989
15077
|
}
|
|
14990
15078
|
function sha256File(path) {
|
|
14991
|
-
const hash =
|
|
15079
|
+
const hash = createHash6("sha256");
|
|
14992
15080
|
const buffer = Buffer.allocUnsafe(1024 * 1024);
|
|
14993
15081
|
const fd = openSync4(path, "r");
|
|
14994
15082
|
try {
|
|
@@ -15003,7 +15091,7 @@ function sha256File(path) {
|
|
|
15003
15091
|
return hash.digest("hex");
|
|
15004
15092
|
}
|
|
15005
15093
|
async function sha256FileAsync(path) {
|
|
15006
|
-
const hash =
|
|
15094
|
+
const hash = createHash6("sha256");
|
|
15007
15095
|
for await (const chunk of createReadStream3(path, { highWaterMark: 1024 * 1024 })) {
|
|
15008
15096
|
hash.update(chunk);
|
|
15009
15097
|
}
|
|
@@ -15772,7 +15860,7 @@ async function muxChunkWithAudio(input) {
|
|
|
15772
15860
|
}
|
|
15773
15861
|
|
|
15774
15862
|
// ../producer/src/services/distributed/planSize.ts
|
|
15775
|
-
import { createHash as
|
|
15863
|
+
import { createHash as createHash7 } from "crypto";
|
|
15776
15864
|
import { lstatSync as lstatSync2, readdirSync as readdirSync8 } from "fs";
|
|
15777
15865
|
import { extname as extname5, join as join32, relative as relative4 } from "path";
|
|
15778
15866
|
var MAX_TOP_COMPONENTS = 10;
|
|
@@ -15802,7 +15890,7 @@ var PLAN_ROOT_CATEGORY = {
|
|
|
15802
15890
|
"plan.json": "metadata"
|
|
15803
15891
|
};
|
|
15804
15892
|
function hashComponent(value) {
|
|
15805
|
-
return
|
|
15893
|
+
return createHash7("sha256").update(value).digest("hex").slice(0, 12);
|
|
15806
15894
|
}
|
|
15807
15895
|
function classifyFile(segments, rootKind) {
|
|
15808
15896
|
const rootName = segments[0] ?? "";
|
|
@@ -16423,7 +16511,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16423
16511
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16424
16512
|
if (probeResult.probeSession) {
|
|
16425
16513
|
try {
|
|
16426
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16514
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-LAO5IGRI.js");
|
|
16427
16515
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16428
16516
|
} catch (err) {
|
|
16429
16517
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17523,23 +17611,6 @@ function resolveWorkerEntry2() {
|
|
|
17523
17611
|
// ../producer/src/server.ts
|
|
17524
17612
|
var DEFAULT_SERVER_FPS = { num: 30, den: 1 };
|
|
17525
17613
|
var SSE_KEEPALIVE_MS = 3e4;
|
|
17526
|
-
var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
17527
|
-
"ASSET_MEDIA_TYPE_MISMATCH",
|
|
17528
|
-
"HEIF_IMAGE_CONVERSION_FAILED",
|
|
17529
|
-
"HEIF_TOOL_UNAVAILABLE",
|
|
17530
|
-
"NOT_MEDIA_PAYLOAD",
|
|
17531
|
-
"INVALID_VIDEO_METADATA",
|
|
17532
|
-
"VIDEO_SOURCE_UNRENDERABLE",
|
|
17533
|
-
"VIDEO_EXTRACTION_FAILED",
|
|
17534
|
-
"ENCODER_INTERRUPTED",
|
|
17535
|
-
"RENDER_TOO_SLOW",
|
|
17536
|
-
"RENDER_STAGE_STALLED"
|
|
17537
|
-
]);
|
|
17538
|
-
function extractSafeRenderErrorCode(error) {
|
|
17539
|
-
if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
|
|
17540
|
-
const code = error.code;
|
|
17541
|
-
return typeof code === "string" && SAFE_RENDER_ERROR_CODES.has(code) ? code : void 0;
|
|
17542
|
-
}
|
|
17543
17614
|
function extractSafeRenderErrorMetadata(error) {
|
|
17544
17615
|
const errorCode = extractSafeRenderErrorCode(error);
|
|
17545
17616
|
if (!errorCode || typeof error !== "object" || error === null) return void 0;
|
|
@@ -18155,7 +18226,7 @@ function startServer(options = {}) {
|
|
|
18155
18226
|
});
|
|
18156
18227
|
async function shutdown(signal) {
|
|
18157
18228
|
log.info(`Received ${signal}, shutting down`);
|
|
18158
|
-
const { drainBrowserPool } = await import("./src-
|
|
18229
|
+
const { drainBrowserPool } = await import("./src-LAO5IGRI.js");
|
|
18159
18230
|
await drainBrowserPool().catch(() => {
|
|
18160
18231
|
});
|
|
18161
18232
|
const handle = await Promise.race([
|
|
@@ -19946,7 +20017,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
|
|
|
19946
20017
|
openAttempt,
|
|
19947
20018
|
verifyFirstSession: forceScreenshot || !verifyInWorker ? void 0 : verifyFirstWorker
|
|
19948
20019
|
}),
|
|
19949
|
-
{ stall: frameStallRule(job) }
|
|
20020
|
+
{ stall: frameStallRule(job, framesInChunk) }
|
|
19950
20021
|
).catch(async (captureError) => {
|
|
19951
20022
|
await overlap.current?.abort();
|
|
19952
20023
|
overlap.current = null;
|
|
@@ -20114,7 +20185,7 @@ async function assembleV2(planV2Dir, chunkPaths, outputPath, options) {
|
|
|
20114
20185
|
|
|
20115
20186
|
// ../producer/src/services/distributed/projectHash.ts
|
|
20116
20187
|
import { closeSync as closeSync7, openSync as openSync7, readdirSync as readdirSync12, readSync as readSync5, realpathSync as realpathSync2, statSync as statSync12 } from "fs";
|
|
20117
|
-
import { createHash as
|
|
20188
|
+
import { createHash as createHash8 } from "crypto";
|
|
20118
20189
|
import { join as join43 } from "path";
|
|
20119
20190
|
var READ_CHUNK_BYTES = 256 * 1024;
|
|
20120
20191
|
|
|
@@ -20146,6 +20217,7 @@ export {
|
|
|
20146
20217
|
createRenderJob,
|
|
20147
20218
|
resolveRenderDebugDir,
|
|
20148
20219
|
executeRenderJob,
|
|
20220
|
+
extractSafeRenderErrorCode,
|
|
20149
20221
|
PLAN_SCHEMA_VERSION,
|
|
20150
20222
|
PLAN_ARTIFACT_LAYOUT,
|
|
20151
20223
|
PLAN_HASH_SCHEMA,
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G35NVFZF.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5HGUY24Y.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YQY4KVP4.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -53,7 +53,7 @@ function formatLintCounts(totalErrors, totalWarnings, totalInfos, verbose) {
|
|
|
53
53
|
function formatLintStartupMessage(lintResult, mode) {
|
|
54
54
|
if (mode.kind === "verbose") return formatLintFindings(lintResult, mode.options);
|
|
55
55
|
const counts = formatLintCounts(lintResult.totalErrors, lintResult.totalWarnings, 0, false);
|
|
56
|
-
const hint = mode.pointer === "studio" ? "see the Lint badge in Studio, or run `hyperframes lint` for full output" : "run
|
|
56
|
+
const hint = mode.pointer === "studio" ? "see the Lint badge in Studio, or run `hyperframes lint` for full output" : "run `hyperframes lint` for full output";
|
|
57
57
|
return [` Lint: ${counts} \u2014 ${hint}.`];
|
|
58
58
|
}
|
|
59
59
|
function findingFileLabel(file, finding, multiFile) {
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
downloadFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R4EWRIDL.js";
|
|
10
10
|
import {
|
|
11
11
|
findFFmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ST5EBZTO.js";
|
|
13
13
|
import {
|
|
14
14
|
stoppableExecFile
|
|
15
15
|
} from "./chunk-HU2SPFNG.js";
|
|
16
16
|
|
|
17
17
|
// src/whisper/manager.ts
|
|
18
18
|
import { execFileSync } from "child_process";
|
|
19
|
-
import { existsSync, mkdirSync, readdirSync,
|
|
19
|
+
import { existsSync, mkdirSync, readdirSync, rmSync, statSync as statSync2 } from "fs";
|
|
20
20
|
import { homedir, platform } from "os";
|
|
21
21
|
import { join } from "path";
|
|
22
22
|
|
|
@@ -266,21 +266,17 @@ async function ensureModel(model = DEFAULT_MODEL, options) {
|
|
|
266
266
|
options?.onProgress?.(
|
|
267
267
|
cachedBytes === void 0 ? `Downloading model ${model}...` : `Model ${model} is incomplete; downloading it again...`
|
|
268
268
|
);
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
);
|
|
269
|
+
await downloadFile(getModelUrl(model), modelPath, {
|
|
270
|
+
signal: options?.signal,
|
|
271
|
+
onProgress: options?.onDownloadProgress,
|
|
272
|
+
verify: async (path) => {
|
|
273
|
+
if (pin && !await verifies(path, pin)) {
|
|
274
|
+
throw new Error(
|
|
275
|
+
`${pin.name} did not match its pinned size and sha256, so it was discarded. Re-run to retry.`
|
|
276
|
+
);
|
|
277
|
+
}
|
|
279
278
|
}
|
|
280
|
-
|
|
281
|
-
} finally {
|
|
282
|
-
rmSync(downloaded, { force: true });
|
|
283
|
-
}
|
|
279
|
+
});
|
|
284
280
|
return modelPath;
|
|
285
281
|
}
|
|
286
282
|
function hasFFmpeg() {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5XDKFCEI.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-URKDBFZV.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RYBFHEMZ.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BRYOYBO5.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TDNZIFJ2.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2Q4CL6AB.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AU7VGKCP.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeWellFormedEscapes
|
|
40
40
|
} from "./chunk-KSC4O2RY.js";
|