hyperframes 0.9.27 → 0.9.28-alpha.0
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-K5J5XWLL.js → add-WSGJ42KQ.js} +14 -14
- package/dist/{agentPromptGenerator-PGIEEJLJ.js → agentPromptGenerator-JTMVHRZN.js} +7 -7
- package/dist/{animatedGifPrep-MLZOHCTS.js → animatedGifPrep-V3FJENRD.js} +7 -7
- package/dist/api.js +39 -38
- package/dist/{asset-OS5AB3SQ.js → asset-6LZTBFS7.js} +2 -2
- package/dist/{assetCataloger-DMVL5X2P.js → assetCataloger-GRGAUHXL.js} +8 -8
- package/dist/{audio-23FMLVOJ.js → audio-QCMSKGKQ.js} +25 -24
- package/dist/{auth-2DIXO5OO.js → auth-TB7AUPRE.js} +4 -4
- package/dist/{autoUpdate-NP2CBKFP.js → autoUpdate-G3G7WBJF.js} +3 -3
- package/dist/{avatars-LULUZMLI.js → avatars-6ILGXRFF.js} +16 -15
- package/dist/{backgroundChecks-3MXY6FNF.js → backgroundChecks-E3VZ7KZN.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-AL6DO5IA.js → batchRender-KWIPFU5Q.js} +4 -4
- package/dist/{beats-U4Q76QWK.js → beats-OBIGBNZA.js} +11 -11
- package/dist/{benchmark-QANZ2IRX.js → benchmark-64IXFBPC.js} +11 -11
- package/dist/{billing-PX54B6T7.js → billing-3X5BWBTI.js} +16 -15
- package/dist/{browser-P36XPIWA.js → browser-DZ3XIEFA.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-QY6JAKLF.js → bundleWithLocalizedFonts-PKQN5CMM.js} +1 -1
- package/dist/{capture-ZZWXDUH2.js → capture-NTN7O6RZ.js} +22 -22
- package/dist/{capture-S5DURUCT.js → capture-V7RAUBMG.js} +3 -3
- package/dist/{captureCompositionFrame-VTN6VB5N.js → captureCompositionFrame-KMMB3FVD.js} +14 -14
- package/dist/{catalog-TTBH4Y6Z.js → catalog-YIGPXM7Q.js} +14 -14
- package/dist/{catch-up-M3CF57PU.js → catch-up-LOGK3VIS.js} +9 -9
- package/dist/{check-K7ZBDKBZ.js → check-FVXJBA5U.js} +43 -44
- package/dist/{checkAudio-HZ3Z5BTZ.js → checkAudio-FSIRCDM6.js} +15 -15
- package/dist/{checkBrowser-TO5M2QL2.js → checkBrowser-NXRXF73I.js} +37 -37
- package/dist/{chunk-DC5ZRTHD.js → chunk-3DVDIXOZ.js} +2 -2
- package/dist/{chunk-NFUXYBOR.js → chunk-3MYEF34S.js} +1 -1
- package/dist/{chunk-ZUXES5HA.js → chunk-3Q7LAXFJ.js} +2 -2
- package/dist/{chunk-F24B2PLD.js → chunk-3T6BFAKZ.js} +1 -1
- package/dist/{chunk-SODLRBNC.js → chunk-3YP3OQVH.js} +1 -1
- package/dist/{chunk-JLUOG6S2.js → chunk-4OZVFZCO.js} +1 -1
- package/dist/{chunk-GQTNVE7U.js → chunk-5BIHQCC2.js} +4 -4
- package/dist/{chunk-GGDJLN5I.js → chunk-5EYQ222G.js} +20 -0
- package/dist/{chunk-INVBU7DY.js → chunk-5FI52L2T.js} +1 -1
- package/dist/{chunk-5FWOWZAB.js → chunk-5RETZFNG.js} +7 -7
- package/dist/{chunk-Q73OZV2V.js → chunk-6EZ76UBP.js} +17 -17
- package/dist/{chunk-Y67RJDEB.js → chunk-6NG6PATW.js} +1 -1
- package/dist/{chunk-L2GOO2UY.js → chunk-6ODX6SHY.js} +2 -2
- package/dist/{chunk-MVJ7AX6W.js → chunk-7U2B7OF6.js} +1 -1
- package/dist/{chunk-V4Z37HFN.js → chunk-7XHVHBFV.js} +3 -3
- package/dist/{chunk-FKSUSFRT.js → chunk-7ZKUPLMN.js} +18 -18
- package/dist/{chunk-K6UG4VWT.js → chunk-A5CTI6RW.js} +3 -3
- package/dist/{chunk-IOPIOX5K.js → chunk-AAENGP3S.js} +16 -66
- package/dist/{chunk-LMCFILEY.js → chunk-AHRX3FHF.js} +3 -3
- package/dist/{chunk-U5RXCKWJ.js → chunk-AJVYQVDB.js} +1 -1
- package/dist/{chunk-7VHSPFBH.js → chunk-ASMDPTT3.js} +1 -1
- package/dist/{chunk-RVXE24LQ.js → chunk-BFDNZ2JT.js} +2 -2
- package/dist/{chunk-WZTOPKVO.js → chunk-BI33G4XD.js} +7 -7
- package/dist/{chunk-6LCIO2YY.js → chunk-BP75ZLZ5.js} +2 -2
- package/dist/{chunk-5AULMCSV.js → chunk-C756HYL7.js} +2 -2
- package/dist/{chunk-W5QBSRPF.js → chunk-C7ME7Y45.js} +2 -2
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-YNIADMNZ.js → chunk-CJC6U3E7.js} +2 -2
- package/dist/chunk-DDCFX533.js +387 -0
- package/dist/{chunk-M3UU4QRH.js → chunk-DPAC75N5.js} +3 -3
- package/dist/{chunk-Z5THPTQ2.js → chunk-E3EIKMUU.js} +1 -1
- package/dist/{chunk-2WKG7HXZ.js → chunk-E7YPIP42.js} +2 -2
- package/dist/chunk-EKT2P27A.js +538 -0
- package/dist/chunk-F2FRUMWN.js +3699 -0
- package/dist/{chunk-LP7B3JLC.js → chunk-FID757D3.js} +1 -0
- package/dist/{chunk-V6EVV3XC.js → chunk-FW7MDSCQ.js} +2 -2
- package/dist/{chunk-YPRU66CC.js → chunk-G6CN5UWR.js} +1 -1
- package/dist/{chunk-D5QT3ORV.js → chunk-GN3CCXVU.js} +1 -1
- package/dist/{chunk-CZ43ZZFS.js → chunk-H3MJLPAC.js} +1 -1
- package/dist/{chunk-6NVZYXDT.js → chunk-HP6IDD33.js} +5 -5
- package/dist/{chunk-IX3K55NA.js → chunk-HW325JBH.js} +4 -4
- package/dist/{chunk-RSNZEWNW.js → chunk-HWQ6SNLY.js} +1 -1
- package/dist/{chunk-BZFVS36G.js → chunk-HYXSD2UA.js} +1 -1
- package/dist/{chunk-ZNTYIJ5K.js → chunk-IEB4IKXF.js} +1 -1
- package/dist/{chunk-OSDNRYQJ.js → chunk-IMSLXLUI.js} +1 -1
- package/dist/chunk-JE2YBPC5.js +152 -0
- package/dist/{chunk-5TD7HBR3.js → chunk-JEVWAGQP.js} +1 -1
- package/dist/{chunk-J237HI2F.js → chunk-JX4BEVC3.js} +29 -41
- package/dist/{chunk-OT2KF34N.js → chunk-K2OQYSDS.js} +12 -12
- package/dist/{chunk-ZDQNMNFE.js → chunk-KBF2DIZX.js} +9 -9
- package/dist/{chunk-PBDBD4BY.js → chunk-KFU75UXA.js} +2 -2
- package/dist/{chunk-NURN5W6M.js → chunk-KJ5QBEMN.js} +8 -6
- package/dist/{chunk-STQGPDO4.js → chunk-M7U6JTXF.js} +2 -2
- package/dist/{chunk-TRXIWZTM.js → chunk-MBRBEXMF.js} +1 -1
- package/dist/{chunk-6FHIR4KD.js → chunk-ME6L6GUF.js} +1 -1
- package/dist/{chunk-BJYCLZBQ.js → chunk-MEVLYDL2.js} +1 -1
- package/dist/{chunk-UPG4MMIA.js → chunk-MFSQZ2PR.js} +1 -1
- package/dist/{chunk-TMYY4DV4.js → chunk-MWBRY5HN.js} +3 -3
- package/dist/{chunk-IIS57Z3R.js → chunk-N6NB2WZ4.js} +2 -2
- package/dist/{chunk-5ZEBQO7Y.js → chunk-NKWJNDKO.js} +4 -4
- package/dist/{chunk-QYPS3UYP.js → chunk-O5G2LEUB.js} +3 -3
- package/dist/{chunk-NMOWXTCB.js → chunk-PG26KCBX.js} +2 -2
- package/dist/{chunk-7JK2YE2G.js → chunk-PWW2DKGL.js} +2 -2
- package/dist/{chunk-V7Q4XKRJ.js → chunk-Q5J4OO7N.js} +3 -3
- package/dist/{chunk-RYT22J4V.js → chunk-Q6TVZY36.js} +2 -2
- package/dist/{chunk-QTBRVJ6N.js → chunk-QMGFXL43.js} +1 -1
- package/dist/{chunk-4N3UVDIJ.js → chunk-QTDTCTGB.js} +6 -4
- package/dist/{chunk-NHJ5YUBZ.js → chunk-RERVXE6J.js} +2 -2
- package/dist/{chunk-LI2TX7SN.js → chunk-RGINHOAX.js} +2 -2
- package/dist/{chunk-XZ2MQF7V.js → chunk-RNUIFYO6.js} +1 -1
- package/dist/{chunk-TM6HH2VV.js → chunk-RO74CZMK.js} +1 -1
- package/dist/{chunk-HGHBQDM5.js → chunk-RPMPHUOS.js} +3 -3
- package/dist/{chunk-YU5QNJMA.js → chunk-RSZWWTQN.js} +2 -2
- package/dist/{chunk-TCQKCUDA.js → chunk-TF7VWCJM.js} +1 -1
- package/dist/chunk-U2NESB4H.js +173 -0
- package/dist/{chunk-CGUAZCPL.js → chunk-UDEFHX4Z.js} +15 -15
- package/dist/{chunk-ZGIPMCML.js → chunk-UF6C3CCP.js} +1 -1
- package/dist/{chunk-KUBXGMHI.js → chunk-UGX3IARM.js} +28 -30
- package/dist/{chunk-6PHVIKCJ.js → chunk-UO6DALBR.js} +4 -4
- package/dist/chunk-USTPTY7P.js +51 -0
- package/dist/{chunk-LLLNVEUF.js → chunk-UVZDPGZR.js} +1 -1
- package/dist/{chunk-UXJAMAZK.js → chunk-VCNPBW4L.js} +1 -1
- package/dist/chunk-VHXIMBTF.js +343 -0
- package/dist/{chunk-FNSWA4FK.js → chunk-VNKPEYMW.js} +1 -1
- package/dist/{chunk-DJVSNDF3.js → chunk-VSQ5NWCF.js} +3 -3
- package/dist/{chunk-5PL4LZYF.js → chunk-VVGNWH2J.js} +12 -12
- package/dist/{chunk-BZULWFMJ.js → chunk-W4DMQZL5.js} +2 -11
- package/dist/{chunk-IYYZMZD2.js → chunk-WIJGRX5X.js} +1 -1
- package/dist/{chunk-SCNC7YPB.js → chunk-WOSVLHQH.js} +1 -1
- package/dist/{chunk-QISOTHEQ.js → chunk-WRN3ZY5P.js} +7 -7
- package/dist/{chunk-YSJKA52M.js → chunk-WUOMBLQL.js} +2 -2
- package/dist/{chunk-M457GQGR.js → chunk-WXEXQLVV.js} +216 -344
- package/dist/{chunk-IQKMIYLG.js → chunk-WYA575QX.js} +7 -5
- package/dist/{chunk-3JFV42QB.js → chunk-XGRXNWDK.js} +3 -3
- package/dist/{chunk-5WI3VKQW.js → chunk-XMHYE6XY.js} +3 -3
- package/dist/{chunk-VXWASGGT.js → chunk-YJBGA3W6.js} +2 -2
- package/dist/{chunk-QBNHYXV3.js → chunk-YOUHA4KP.js} +11 -9
- package/dist/{chunk-6IMVGVA4.js → chunk-YPPJJ5ZH.js} +1 -1
- package/dist/{chunk-F4ROYQPH.js → chunk-Z2N7XOOB.js} +3 -3
- package/dist/{chunk-TKFKOWRI.js → chunk-ZEKQATYP.js} +6 -6
- package/dist/{chunk-2SX2EOPM.js → chunk-ZQLJLORI.js} +6 -6
- package/dist/{clean-LCQH4HFU.js → clean-6YCVFT7D.js} +22 -22
- package/dist/cli.js +65 -64
- package/dist/{cloud-34YHQNNB.js → cloud-BPWS4GJS.js} +4 -4
- package/dist/{cloud-QJMPTQ3N.js → cloud-TEJ6UVBU.js} +6 -5
- package/dist/{cloudrun-T7VVPRDG.js → cloudrun-A7DU7DQE.js} +7 -7
- package/dist/{compare-5EBDE5ZT.js → compare-HELNXJLM.js} +35 -35
- package/dist/{compiler-ZSIKBZBR.js → compiler-J43BE6LC.js} +4 -4
- package/dist/{component-7TIFLFYC.js → component-WEC4QGT3.js} +3 -3
- package/dist/{compositions-TLCEVGBC.js → compositions-RSUPWPK6.js} +13 -13
- package/dist/contract/LICENSE-Unicode.txt +39 -0
- package/dist/contract/path-policy.json +311 -0
- package/dist/contract/unicode-15.1.0.json +6179 -0
- package/dist/{curve-YABHYRHK.js → curve-OK5TBGXV.js} +12 -12
- package/dist/{cuts-UFRBSLDQ.js → cuts-S5WHYQZZ.js} +13 -13
- package/dist/{delete-5OABQGPL.js → delete-5NHJKNWL.js} +9 -8
- package/dist/{deploy-2OYZWP74.js → deploy-7PLBBXNB.js} +6 -6
- package/dist/{describeProject-TX2WQLQ5.js → describeProject-WVLTYWPG.js} +8 -8
- package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-UZIF5XZW.js} +2 -2
- package/dist/{diff-2CKZ2QR7.js → diff-W4EXKV5Q.js} +40 -39
- package/dist/{dist-EFXKPJJT.js → dist-4JHP47NU.js} +2 -2
- package/dist/{dist-O45G7NET.js → dist-AUYCAQMA.js} +14 -14
- package/dist/{dist-QRXJMFI7.js → dist-F3Y2XHZL.js} +3 -3
- package/dist/{doctor-Y436MAQR.js → doctor-7Y75ZXTU.js} +12 -12
- package/dist/{energy-UKLKTH7A.js → energy-Y4KYLWLZ.js} +13 -13
- package/dist/{events-MC5XLD2Z.js → events-3LAHSBBF.js} +8 -8
- package/dist/{events-NKRFVAY3.js → events-67Q5DIRC.js} +4 -4
- package/dist/{events-73W2IO3W.js → events-TQD3L5FS.js} +15 -15
- package/dist/execute-GFHAD3L6.js +109 -0
- package/dist/{extract-ZG3MHNYX.js → extract-6KGIEC76.js} +16 -16
- package/dist/{face-CFBT42SW.js → face-OBEAPOZR.js} +14 -14
- package/dist/{feedback-QGDEE3RB.js → feedback-QTB2UH3Q.js} +15 -14
- package/dist/{ffmpeg-UXHRG3MW.js → ffmpeg-4CMA6M2L.js} +7 -7
- package/dist/{figma-BD7RROGK.js → figma-4ZKDJA4R.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-ZF756HF3.js → frames-OFLJT4D5.js} +14 -14
- package/dist/{generate-LEUO4VVQ.js → generate-LHRF4A3Z.js} +27 -26
- package/dist/{get-4BL6VXKX.js → get-56RYQ7KG.js} +9 -8
- package/dist/{gpuPolicy-K2JHXORZ.js → gpuPolicy-35XK273G.js} +7 -7
- package/dist/{grade-compare-4UBZJQ7F.js → grade-compare-GQVODT4T.js} +37 -37
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-5YD4N6HQ.js} +1 -1
- package/dist/{heifImagePrep-O2WGVMAP.js → heifImagePrep-7WN2QNQM.js} +8 -8
- package/dist/{help-M55BSV4I.js → help-E2TKPNJJ.js} +1 -1
- package/dist/{history-UIQBTMXZ.js → history-AJ2MSBW6.js} +11 -11
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-X4VTZ7PT.js → info-HV43ZADN.js} +15 -15
- package/dist/{init-3Y5XMH6I.js → init-OHVVGDSF.js} +29 -29
- package/dist/{ink-QKIGMWUR.js → ink-IESBIGOE.js} +13 -13
- package/dist/{inspect-BUKYJF6N.js → inspect-Y7YS3ILY.js} +34 -34
- package/dist/{installer-VPGNKCEU.js → installer-AJESSC5Y.js} +5 -5
- package/dist/{keyframes-6HO56WZG.js → keyframes-XSL7JGAF.js} +12 -15
- package/dist/{lambda-XDVNHACQ.js → lambda-KU65SSVE.js} +13 -13
- package/dist/{layout-WELYAXO3.js → layout-ORX7QBGL.js} +34 -34
- package/dist/{lint-6R3E6Q5V.js → lint-KUGT5YHK.js} +12 -12
- package/dist/{lintProject-5CBL7VFV.js → lintProject-Z6TG3Z34.js} +2 -2
- package/dist/{list-SIL4TALK.js → list-EB3WYTHH.js} +11 -10
- package/dist/{localPage-6VW25RGJ.js → localPage-QLGKJQ6X.js} +7 -7
- package/dist/{login-3AFKZLIK.js → login-O5HWEYI4.js} +8 -7
- package/dist/{logout-FJ444652.js → logout-AHGR3X5U.js} +6 -4
- package/dist/{look-RYLQYXNN.js → look-BPSKQDST.js} +13 -13
- package/dist/{manager-T4ZHIMMY.js → manager-MNOR566P.js} +8 -8
- package/dist/{measure-XUK4GNAC.js → measure-USYFR5EK.js} +11 -11
- package/dist/{media-treatment-SR5TX7CH.js → media-treatment-5YATQA5D.js} +15 -15
- package/dist/{media-use-3LOSIEZM.js → media-use-BA245HF5.js} +9 -7
- package/dist/{models-5SPPZN2E.js → models-ST3IIAN2.js} +11 -11
- package/dist/{motionShot-IFAFFPZF.js → motionShot-DOIU74HO.js} +19 -19
- package/dist/{normalize-audio-LQDUTXFM.js → normalize-audio-PPSCFVKC.js} +11 -11
- package/dist/oauth-KUPQUH6E.js +40 -0
- package/dist/{open-XX2L2YSZ.js → open-R2EPWLS6.js} +14 -14
- package/dist/{parakeetRunner-R5WK6AJN.js → parakeetRunner-Q2SYZVYV.js} +13 -13
- package/dist/{pipeline-NMCWG5AA.js → pipeline-NQ4BI2D7.js} +10 -10
- package/dist/plan-CN2TTIAA.js +88 -0
- package/dist/{play-Q2AYSHPW.js → play-J3DJBBXW.js} +26 -26
- package/dist/{preflight-WG2O5KUQ.js → preflight-DLO6LHGO.js} +8 -8
- package/dist/{present-AOU7HG3N.js → present-MIWYYTIE.js} +21 -21
- package/dist/{preview-PMGF6AQB.js → preview-DEGHLTT6.js} +23 -23
- package/dist/{probe-SESDMQ4Q.js → probe-63RJNPIB.js} +13 -13
- package/dist/{producer-TGF2N7GF.js → producer-H7L5TBE4.js} +1 -1
- package/dist/{projectConfig-UHYPGWD5.js → projectConfig-GJL2ZGOU.js} +7 -7
- package/dist/{publication-5KOANEHK.js → publication-BLLVTVD6.js} +3 -3
- package/dist/{publish-C3ARXH6D.js → publish-CYPJA7T7.js} +83 -23
- package/dist/{refresh-YY4K2RWR.js → refresh-TB4TNH7R.js} +4 -3
- package/dist/{remove-background-ZHAYTN7D.js → remove-background-KX574FQY.js} +11 -11
- package/dist/{render-UNWC5ZIO.js → render-N7PKCVEP.js} +45 -44
- package/dist/{render-TSV3XTQV.js → render-RUEXLOWE.js} +6 -6
- package/dist/{render-XYWARHW5.js → render-SHUBWBK4.js} +316 -934
- package/dist/{render-batch-ISMXAG7F.js → render-batch-QFGQD5FM.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-ZWNLOG6O.js → resolver-HQIDF3TF.js} +5 -5
- package/dist/{reverse-Q76RJRN5.js → reverse-D2XWX6FV.js} +1 -1
- package/dist/{run-UPKPPRV7.js → run-EVZGKUEX.js} +5 -4
- package/dist/{screenshotCapture-N6BXDAMK.js → screenshotCapture-4JLD2OQZ.js} +8 -8
- package/dist/service-L3K45WOD.js +68 -0
- package/dist/share-7G44HDSY.js +226 -0
- package/dist/{sherpa-5YE5FIOR.js → sherpa-LU5AOQHV.js} +12 -12
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
- package/dist/{skills-U4NHFYH4.js → skills-KVQ2G6P5.js} +11 -11
- package/dist/{skillsUpdateCheck-XJA6VEZZ.js → skillsUpdateCheck-EB54PRMT.js} +4 -4
- package/dist/{snapshot-V4BSRUXI.js → snapshot-QWO6OXG3.js} +48 -50
- package/dist/{src-FNXCLKWN.js → src-I3B7LYZM.js} +6 -6
- package/dist/{src-JVYKW7RE.js → src-WMZX5C4A.js} +12 -12
- package/dist/{start-TSIACBUA.js → start-ACVZUBZX.js} +25 -24
- package/dist/{staticProjectServer-NTSNYFWQ.js → staticProjectServer-C6KEOAYY.js} +19 -19
- package/dist/{status-53Z4YLQ7.js → status-RYI42XDB.js} +20 -18
- package/dist/studio/assets/{codec-YP1ZxmPt.js → codec-D6qbrtZY.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-Cy3KqtCh.js → hyperframes-player-BVe9IO80.js} +1 -1
- package/dist/studio/assets/{index-C4B6p8IF.js → index-BZu8x7Q5.js} +1 -1
- package/dist/studio/assets/{index-BNTUBT5h.js → index-Cl9fSd9I.js} +184 -184
- package/dist/studio/assets/{index-dsfjBidg.css → index-Cq2w6U13.css} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-52lsHc7p.js → pausedVideoDecoder-DfnHfnL7.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-2I44WB4P.js → studio-api-RBURPKYX.js} +14 -14
- package/dist/{studioServer-HSYYGQU3.js → studioServer-J5DYNR6R.js} +434 -83
- package/dist/{sync-B2HPDX37.js → sync-MUKE7NSP.js} +13 -13
- package/dist/{telemetry-L4KX6ADA.js → telemetry-6MDOWNLT.js} +8 -8
- package/dist/{templates-MKR4FTPR.js → templates-LWPXN7M2.js} +19 -18
- package/dist/{timeline-VDFI4ABH.js → timeline-WTBC3J7O.js} +21 -21
- package/dist/{tokens-XYVGSKDY.js → tokens-4NPCCANL.js} +2 -2
- package/dist/{transcribe-A7QZYVNX.js → transcribe-NZJPYTM7.js} +29 -28
- package/dist/{transcribe-3QGLLMEQ.js → transcribe-RL7LGXU6.js} +10 -10
- package/dist/{tts-HOZ6X3MD.js → tts-NANTORLP.js} +1 -1
- package/dist/{update-AWSCA73T.js → update-DZCGNNOU.js} +12 -12
- package/dist/{updateCheck-ATDIIE24.js → updateCheck-N3C56RNJ.js} +3 -3
- package/dist/{upgrade-RJNDUCWP.js → upgrade-RCV7ZF5Z.js} +4 -4
- package/dist/{urlDownloader-RE6IIDWK.js → urlDownloader-SSPDDS4Y.js} +6 -6
- package/dist/{validate-YWO6GA5Q.js → validate-HQDRN6T3.js} +28 -28
- package/dist/{video-RKEUBWJI.js → video-FPDBQAXL.js} +8 -8
- package/dist/{voices-GESP52KZ.js → voices-PMLIXQT4.js} +24 -23
- package/dist/warmCheck.js +43 -44
- package/package.json +2 -1
- package/dist/chunk-63HHKYU2.js +0 -413
- package/dist/chunk-XDKEKXV4.js +0 -29
- package/dist/{destroy-YAMTVR2W.js → destroy-IWHFUGJL.js} +4 -4
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-NJKCIPKW.js} +5 -5
package/dist/chunk-63HHKYU2.js
DELETED
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
-
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
-
var require = __hf_createRequire(import.meta.url);
|
|
5
|
-
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
alive,
|
|
9
|
-
readHolder,
|
|
10
|
-
release
|
|
11
|
-
} from "./chunk-GGDJLN5I.js";
|
|
12
|
-
import {
|
|
13
|
-
shouldTrack
|
|
14
|
-
} from "./chunk-7JK2YE2G.js";
|
|
15
|
-
import {
|
|
16
|
-
createFileAtomically
|
|
17
|
-
} from "./chunk-IEXRKKHC.js";
|
|
18
|
-
import {
|
|
19
|
-
processIdentity
|
|
20
|
-
} from "./chunk-PV4XID2A.js";
|
|
21
|
-
import {
|
|
22
|
-
hyperframesCacheDir
|
|
23
|
-
} from "./chunk-JOQR4AP6.js";
|
|
24
|
-
|
|
25
|
-
// src/telemetry/renderObservability.ts
|
|
26
|
-
function renderObservabilityTelemetryPayload(observability) {
|
|
27
|
-
if (!observability) return {};
|
|
28
|
-
const diagnostics = observability.browserDiagnostics;
|
|
29
|
-
const capture = observability.capture;
|
|
30
|
-
const extraction = observability.extraction;
|
|
31
|
-
const init = observability.init;
|
|
32
|
-
return {
|
|
33
|
-
observabilityRenderJobId: observability.renderJobId,
|
|
34
|
-
observabilityCompositionHash: observability.compositionHash,
|
|
35
|
-
observabilityEventCount: observability.eventCount,
|
|
36
|
-
observabilityLastPhase: observability.lastEvent?.phase,
|
|
37
|
-
observabilityLastStatus: observability.lastEvent?.status,
|
|
38
|
-
observabilityFailedPhase: observability.failedPhase,
|
|
39
|
-
browserDiagnosticCount: diagnostics.total,
|
|
40
|
-
browserDiagnosticErrors: diagnostics.errors,
|
|
41
|
-
browserDiagnosticPageErrors: diagnostics.pageErrors,
|
|
42
|
-
browserDiagnosticRequestFailed: diagnostics.requestFailed,
|
|
43
|
-
browserDiagnosticHttpErrors: diagnostics.httpErrors,
|
|
44
|
-
browserDiagnosticNavigationStarts: diagnostics.navigationStarts,
|
|
45
|
-
browserDiagnosticNavigationFailures: diagnostics.navigationFailures,
|
|
46
|
-
browserDiagnosticConsoleErrors: diagnostics.consoleErrors,
|
|
47
|
-
browserDiagnosticConsoleWarnings: diagnostics.consoleWarnings,
|
|
48
|
-
captureMode: capture.captureMode,
|
|
49
|
-
captureForceScreenshot: capture.forceScreenshot,
|
|
50
|
-
captureWorkerCount: capture.workerCount,
|
|
51
|
-
captureUseStreamingEncode: capture.useStreamingEncode,
|
|
52
|
-
captureUseLayeredComposite: capture.useLayeredComposite,
|
|
53
|
-
captureUsePageSideCompositing: capture.usePageSideCompositing,
|
|
54
|
-
captureHasHdrContent: capture.hasHdrContent,
|
|
55
|
-
captureBrowserGpuMode: capture.browserGpuMode,
|
|
56
|
-
captureProtocolTimeoutMs: capture.protocolTimeoutMs,
|
|
57
|
-
capturePageNavigationTimeoutMs: capture.pageNavigationTimeoutMs,
|
|
58
|
-
capturePlayerReadyTimeoutMs: capture.playerReadyTimeoutMs,
|
|
59
|
-
captureTransientRetries: capture.transientRetries,
|
|
60
|
-
captureMemoryExhaustionDetected: capture.memoryExhaustionDetected,
|
|
61
|
-
captureDeWorkerInversion: capture.deWorkerInversion,
|
|
62
|
-
captureDePreInversionWorkers: capture.dePreInversionWorkers,
|
|
63
|
-
captureCompositionElementCount: capture.compositionElementCount,
|
|
64
|
-
captureCompositionElementCountSource: capture.compositionElementCountSource,
|
|
65
|
-
captureCompositionElementTags: capture.compositionElementTags,
|
|
66
|
-
captureArollVideoCount: capture.arollVideoCount,
|
|
67
|
-
captureHeygenVideoCount: capture.heygenVideoCount,
|
|
68
|
-
captureAdaptersUsed: capture.adaptersUsed,
|
|
69
|
-
captureAudioCount: capture.audioCount,
|
|
70
|
-
captureImageCount: capture.imageCount,
|
|
71
|
-
captureSubCompositionCount: capture.subCompositionCount,
|
|
72
|
-
captureAudioGroupCount: capture.audioGroupCount,
|
|
73
|
-
captureColorGradingCount: capture.colorGradingCount,
|
|
74
|
-
captureHasLut: capture.hasLut,
|
|
75
|
-
captureRootBodyMismatch: capture.rootBodyMismatch,
|
|
76
|
-
captureRootBodyDeltaPxBucket: capture.rootBodyDeltaPxBucket,
|
|
77
|
-
captureDeShortBand: capture.deShortBand,
|
|
78
|
-
captureDeParallelRouter: capture.deParallelRouter,
|
|
79
|
-
captureDeGpuRenderer: capture.deGpuRenderer,
|
|
80
|
-
captureDePreRouterWorkers: capture.dePreRouterWorkers,
|
|
81
|
-
captureDeSelfVerifyFallback: capture.deSelfVerifyFallback,
|
|
82
|
-
captureDeFallbackReason: capture.deFallbackReason,
|
|
83
|
-
captureDeFallbackFailedDb: capture.deFallbackFailedDb,
|
|
84
|
-
captureDeFallbackFrameIndex: capture.deFallbackFrameIndex,
|
|
85
|
-
captureDeFallbackThresholdDb: capture.deFallbackThresholdDb,
|
|
86
|
-
captureParallelStream: capture.captureParallelStream,
|
|
87
|
-
captureChromeBrowserRssPeakMb: capture.chromeBrowserRssPeakMb,
|
|
88
|
-
captureChromeRendererRssPeakMb: capture.chromeRendererRssPeakMb,
|
|
89
|
-
captureChromeRssLastMb: capture.chromeRssLastMb,
|
|
90
|
-
captureChromeGpuProcessSeenLastSample: capture.chromeGpuProcessSeenLastSample,
|
|
91
|
-
captureChromeMemorySamples: capture.chromeMemorySamples,
|
|
92
|
-
captureCapturePath: capture.capturePath,
|
|
93
|
-
captureSegmentIndex: capture.segmentIndex,
|
|
94
|
-
captureSegmentRetries: capture.segmentRetries,
|
|
95
|
-
observabilityExtractVideoCount: extraction?.videoCount,
|
|
96
|
-
observabilityExtractedVideoCount: extraction?.extractedVideoCount,
|
|
97
|
-
observabilityExtractTotalFrames: extraction?.totalFramesExtracted,
|
|
98
|
-
observabilityExtractMaxFramesPerVideo: extraction?.maxFramesPerVideo,
|
|
99
|
-
observabilityExtractAvgFramesPerVideo: extraction?.avgFramesPerExtractedVideo,
|
|
100
|
-
observabilityExtractVfrProbeMs: extraction?.vfrProbeMs,
|
|
101
|
-
observabilityExtractVfrPreflightMs: extraction?.vfrPreflightMs,
|
|
102
|
-
observabilityExtractVfrPreflightCount: extraction?.vfrPreflightCount,
|
|
103
|
-
observabilityExtractCacheHits: extraction?.cacheHits,
|
|
104
|
-
observabilityExtractCacheMisses: extraction?.cacheMisses,
|
|
105
|
-
observabilityInitDurationMs: init?.initDurationMs,
|
|
106
|
-
observabilityInitTweenCount: init?.tweenCount,
|
|
107
|
-
observabilityInitElementCount: init?.elementCount
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
function renderJobObservabilityTelemetryPayload(job) {
|
|
111
|
-
return {
|
|
112
|
-
...renderObservabilityTelemetryPayload(
|
|
113
|
-
job?.errorDetails?.observability ?? job?.perfSummary?.observability
|
|
114
|
-
),
|
|
115
|
-
subTimelineWait: job?.errorDetails?.subTimelineWait ?? job?.perfSummary?.subTimelineWait
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// src/telemetry/renderCpu.ts
|
|
120
|
-
import { cpus, loadavg, platform } from "os";
|
|
121
|
-
var SAMPLE_INTERVAL_MS = 2e3;
|
|
122
|
-
var BUSY_CORE_PCT = 80;
|
|
123
|
-
function readCoreTimes() {
|
|
124
|
-
return cpus().map(({ times }) => {
|
|
125
|
-
const total = times.user + times.nice + times.sys + times.idle + times.irq;
|
|
126
|
-
return { busy: total - times.idle, total };
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function busyBetween(from, to) {
|
|
130
|
-
let busy = 0;
|
|
131
|
-
let total = 0;
|
|
132
|
-
let coresBusy = 0;
|
|
133
|
-
to.forEach((core, i) => {
|
|
134
|
-
const before = from[i];
|
|
135
|
-
if (!before) return;
|
|
136
|
-
const dBusy = core.busy - before.busy;
|
|
137
|
-
const dTotal = core.total - before.total;
|
|
138
|
-
if (dTotal <= 0) return;
|
|
139
|
-
busy += dBusy;
|
|
140
|
-
total += dTotal;
|
|
141
|
-
if (dBusy / dTotal * 100 >= BUSY_CORE_PCT) coresBusy++;
|
|
142
|
-
});
|
|
143
|
-
return total > 0 ? { pct: Math.round(busy / total * 100), coresBusy } : null;
|
|
144
|
-
}
|
|
145
|
-
function readLoadAvg() {
|
|
146
|
-
if (platform() === "win32") return void 0;
|
|
147
|
-
return Math.round((loadavg()[0] ?? 0) * 100) / 100;
|
|
148
|
-
}
|
|
149
|
-
var DISABLED = { stop: () => ({}) };
|
|
150
|
-
function startRenderCpuSampler(requesterOptedIn = true) {
|
|
151
|
-
if (!requesterOptedIn || !shouldTrack()) return DISABLED;
|
|
152
|
-
const start = readCoreTimes();
|
|
153
|
-
const loadAvgStart = readLoadAvg();
|
|
154
|
-
let last = start;
|
|
155
|
-
let peak = null;
|
|
156
|
-
const sample = () => {
|
|
157
|
-
const now = readCoreTimes();
|
|
158
|
-
const window = busyBetween(last, now);
|
|
159
|
-
if (window && (!peak || window.pct > peak.pct)) peak = window;
|
|
160
|
-
last = now;
|
|
161
|
-
};
|
|
162
|
-
const timer = setInterval(sample, SAMPLE_INTERVAL_MS);
|
|
163
|
-
timer.unref?.();
|
|
164
|
-
let result;
|
|
165
|
-
return {
|
|
166
|
-
stop() {
|
|
167
|
-
if (result) return result;
|
|
168
|
-
clearInterval(timer);
|
|
169
|
-
sample();
|
|
170
|
-
const avg = busyBetween(start, last);
|
|
171
|
-
result = {
|
|
172
|
-
cpuBusyAvgPct: avg?.pct,
|
|
173
|
-
cpuBusyPeakPct: peak?.pct,
|
|
174
|
-
cpuCoresBusyPeak: peak?.coresBusy,
|
|
175
|
-
loadAvgStart,
|
|
176
|
-
loadAvgEnd: readLoadAvg()
|
|
177
|
-
};
|
|
178
|
-
return result;
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// src/utils/renderLock.ts
|
|
184
|
-
import { existsSync as existsSync2 } from "fs";
|
|
185
|
-
import { dirname as dirname2 } from "path";
|
|
186
|
-
|
|
187
|
-
// src/utils/renderLockClaim.ts
|
|
188
|
-
import { chmodSync, existsSync, mkdirSync, unlinkSync as unlinkSync2 } from "fs";
|
|
189
|
-
|
|
190
|
-
// src/utils/renderLockOwners.ts
|
|
191
|
-
import { randomBytes } from "crypto";
|
|
192
|
-
import { readdirSync, readFileSync, unlinkSync, writeFileSync } from "fs";
|
|
193
|
-
import { basename, dirname, join } from "path";
|
|
194
|
-
var markerPrefix = (lockPath) => `${basename(lockPath)}.owner-`;
|
|
195
|
-
var HELD_CODES = new Set(process.platform === "win32" ? ["EPERM", "EBUSY", "EACCES"] : ["EBUSY"]);
|
|
196
|
-
var UNREMOVABLE_CODES = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "EBUSY"]);
|
|
197
|
-
var errorCode = (error) => error.code ?? "";
|
|
198
|
-
function isHeldError(error) {
|
|
199
|
-
return HELD_CODES.has(errorCode(error));
|
|
200
|
-
}
|
|
201
|
-
function startToken(pid) {
|
|
202
|
-
return process.platform === "win32" ? null : processIdentity(pid);
|
|
203
|
-
}
|
|
204
|
-
function writeOwnerMarker(lockPath, owner) {
|
|
205
|
-
const name = `${markerPrefix(lockPath)}${owner.pid}-${randomBytes(6).toString("hex")}`;
|
|
206
|
-
const marker = join(dirname(lockPath), name);
|
|
207
|
-
writeFileSync(marker, JSON.stringify(owner), { flag: "wx" });
|
|
208
|
-
return marker;
|
|
209
|
-
}
|
|
210
|
-
function removeIfPresent(marker) {
|
|
211
|
-
try {
|
|
212
|
-
unlinkSync(marker);
|
|
213
|
-
} catch (error) {
|
|
214
|
-
if (!UNREMOVABLE_CODES.has(errorCode(error))) throw error;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
function recordedIdentity(marker) {
|
|
218
|
-
try {
|
|
219
|
-
const owner = JSON.parse(readFileSync(marker, "utf8"));
|
|
220
|
-
return typeof owner.identity === "string" ? owner.identity : null;
|
|
221
|
-
} catch {
|
|
222
|
-
return null;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
function sameProcess(pid, identity) {
|
|
226
|
-
if (!Number.isInteger(pid) || pid <= 0 || !alive(pid)) return false;
|
|
227
|
-
const current = identity && startToken(pid);
|
|
228
|
-
return !identity || !current || current === identity;
|
|
229
|
-
}
|
|
230
|
-
function liveOtherOwners(lockPath, own) {
|
|
231
|
-
const dir = dirname(lockPath);
|
|
232
|
-
const prefix = markerPrefix(lockPath);
|
|
233
|
-
let live = 0;
|
|
234
|
-
for (const name of readdirSync(dir)) {
|
|
235
|
-
if (!name.startsWith(prefix)) continue;
|
|
236
|
-
const marker = join(dir, name);
|
|
237
|
-
if (marker === own) continue;
|
|
238
|
-
if (sameProcess(Number(name.slice(prefix.length).split("-")[0]), recordedIdentity(marker))) {
|
|
239
|
-
live += 1;
|
|
240
|
-
} else removeIfPresent(marker);
|
|
241
|
-
}
|
|
242
|
-
return live;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// src/utils/renderLockClaim.ts
|
|
246
|
-
var RenderLockStaleBreak = class extends Error {
|
|
247
|
-
constructor(breakPath) {
|
|
248
|
-
super(
|
|
249
|
-
`A render that was reclaiming the render slot stopped part way and left ${breakPath}. No render is using it: delete that file, then run the render again.`
|
|
250
|
-
);
|
|
251
|
-
this.breakPath = breakPath;
|
|
252
|
-
this.name = "RenderLockStaleBreak";
|
|
253
|
-
}
|
|
254
|
-
breakPath;
|
|
255
|
-
};
|
|
256
|
-
var RenderLockUnwritable = class extends Error {
|
|
257
|
-
constructor(dir, cause) {
|
|
258
|
-
super(
|
|
259
|
-
`This account cannot write to ${dir}, where renders take their turn. If accounts share HYPERFRAMES_CACHE_DIR, make the folder writable for all of them (chmod 777 ${dir}); otherwise unset HYPERFRAMES_CACHE_DIR.`,
|
|
260
|
-
{ cause }
|
|
261
|
-
);
|
|
262
|
-
this.dir = dir;
|
|
263
|
-
this.name = "RenderLockUnwritable";
|
|
264
|
-
}
|
|
265
|
-
dir;
|
|
266
|
-
};
|
|
267
|
-
function ensureLockDir(dir) {
|
|
268
|
-
if (mkdirSync(dir, { recursive: true }) !== void 0 && process.platform !== "win32") {
|
|
269
|
-
chmodSync(dir, 511);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
var holderAlive = (holder) => sameProcess(holder.pid, holder.identity);
|
|
273
|
-
var sameRecord = (a, b) => a?.pid === b.pid && a.startedAt === b.startedAt && a.identity === b.identity;
|
|
274
|
-
function createExclusive(path, holder) {
|
|
275
|
-
try {
|
|
276
|
-
createFileAtomically(path, JSON.stringify(holder));
|
|
277
|
-
return true;
|
|
278
|
-
} catch (error) {
|
|
279
|
-
if (error.code === "EEXIST") return false;
|
|
280
|
-
throw error;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
var writerAbsent = (file, lockPath, marker) => existsSync(file) && !readHolder(file) && liveOtherOwners(lockPath, marker) === 0;
|
|
284
|
-
async function takeOver(path, holder, observed, marker, beforeReplace) {
|
|
285
|
-
const breakPath = `${path}.break`;
|
|
286
|
-
if (!createExclusive(breakPath, holder)) {
|
|
287
|
-
const breaker = readHolder(breakPath);
|
|
288
|
-
if (breaker ? holderAlive(breaker) : !writerAbsent(breakPath, path, marker)) return false;
|
|
289
|
-
throw new RenderLockStaleBreak(breakPath);
|
|
290
|
-
}
|
|
291
|
-
try {
|
|
292
|
-
await beforeReplace?.();
|
|
293
|
-
const stillStale = observed ? sameRecord(readHolder(path), observed) : writerAbsent(path, path, marker);
|
|
294
|
-
if (stillStale) removeIfPresent(path);
|
|
295
|
-
return createExclusive(path, holder);
|
|
296
|
-
} finally {
|
|
297
|
-
if (sameRecord(readHolder(breakPath), holder)) unlinkSync2(breakPath);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
async function claimSlot(path, holder, marker, beforeReplace) {
|
|
301
|
-
if (createExclusive(path, holder)) return true;
|
|
302
|
-
const current = readHolder(path);
|
|
303
|
-
if (current ? holderAlive(current) : !writerAbsent(path, path, marker)) return false;
|
|
304
|
-
return takeOver(path, holder, current, marker, beforeReplace);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
// src/utils/renderLock.ts
|
|
308
|
-
var RenderLockBusy = class extends Error {
|
|
309
|
-
constructor(holder, path) {
|
|
310
|
-
super(`Another render is running (${describeRenderLockHolder(holder, Date.now())})`);
|
|
311
|
-
this.holder = holder;
|
|
312
|
-
this.path = path;
|
|
313
|
-
this.name = "RenderLockBusy";
|
|
314
|
-
}
|
|
315
|
-
holder;
|
|
316
|
-
path;
|
|
317
|
-
};
|
|
318
|
-
var POLL_MS = 1e3;
|
|
319
|
-
var renderLockPath = () => hyperframesCacheDir("locks", "render.lock");
|
|
320
|
-
function renderLockDisabled(env = process.env) {
|
|
321
|
-
const value = env.HYPERFRAMES_RENDER_LOCK?.trim().toLowerCase();
|
|
322
|
-
return value === "off" || value === "0" || value === "false";
|
|
323
|
-
}
|
|
324
|
-
function describeRenderLockHolder(holder, now) {
|
|
325
|
-
if (!holder) return "holder unknown";
|
|
326
|
-
const seconds = Math.max(0, Math.round((now - holder.startedAt) / 1e3));
|
|
327
|
-
const running = seconds >= 60 ? `${Math.floor(seconds / 60)}m ${seconds % 60}s` : `${seconds}s`;
|
|
328
|
-
return `pid ${holder.pid}, project ${holder.project}, running ${running}`;
|
|
329
|
-
}
|
|
330
|
-
function pause(ms, signal) {
|
|
331
|
-
return new Promise((resolve, reject) => {
|
|
332
|
-
if (signal?.aborted) return reject(signal.reason);
|
|
333
|
-
const onAbort = () => {
|
|
334
|
-
clearTimeout(timer);
|
|
335
|
-
reject(signal?.reason);
|
|
336
|
-
};
|
|
337
|
-
const timer = setTimeout(() => {
|
|
338
|
-
signal?.removeEventListener("abort", onAbort);
|
|
339
|
-
resolve();
|
|
340
|
-
}, ms);
|
|
341
|
-
signal?.addEventListener("abort", onAbort, { once: true });
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
var sameWaitTarget = (a, b) => a?.pid === b?.pid && a?.startedAt === b?.startedAt;
|
|
345
|
-
async function acquireRenderLock(options) {
|
|
346
|
-
if (renderLockDisabled(options.env)) return () => {
|
|
347
|
-
};
|
|
348
|
-
const contender = prepareContender(options);
|
|
349
|
-
let waitingBehind;
|
|
350
|
-
let retriedVanished = false;
|
|
351
|
-
for (; ; ) {
|
|
352
|
-
options.signal?.throwIfAborted();
|
|
353
|
-
const releaseSlot = await claimOnce(contender);
|
|
354
|
-
if (releaseSlot) return releaseSlot;
|
|
355
|
-
const { path } = contender;
|
|
356
|
-
const current = readHolder(path);
|
|
357
|
-
retriedVanished = !current && !existsSync2(path) && !retriedVanished;
|
|
358
|
-
if (retriedVanished) continue;
|
|
359
|
-
if (!options.wait) throw new RenderLockBusy(current, path);
|
|
360
|
-
if (waitingBehind === void 0 || !sameWaitTarget(waitingBehind, current)) {
|
|
361
|
-
waitingBehind = current;
|
|
362
|
-
options.onWait?.(current, path);
|
|
363
|
-
}
|
|
364
|
-
await pause(options.pollMs ?? POLL_MS, options.signal);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
function prepareContender(options) {
|
|
368
|
-
const path = options.path ?? renderLockPath();
|
|
369
|
-
ensureLockDir(dirname2(path));
|
|
370
|
-
liveOtherOwners(path);
|
|
371
|
-
const pid = options.pid ?? process.pid;
|
|
372
|
-
const identity = startToken(pid);
|
|
373
|
-
return {
|
|
374
|
-
path,
|
|
375
|
-
holder: { pid, command: "render", startedAt: Date.now(), project: options.project, identity },
|
|
376
|
-
owner: { pid, identity },
|
|
377
|
-
claim: options.claim ?? ((lock, holder, marker) => claimSlot(lock, holder, marker, options.beforeReplace))
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
var notWritable = (error) => process.platform !== "win32" && ["EACCES", "EPERM"].includes(error.code ?? "");
|
|
381
|
-
async function claimOnce({ path, holder, owner, claim }) {
|
|
382
|
-
let marker;
|
|
383
|
-
try {
|
|
384
|
-
marker = writeOwnerMarker(path, owner);
|
|
385
|
-
} catch (error) {
|
|
386
|
-
throw notWritable(error) ? new RenderLockUnwritable(dirname2(path), error) : error;
|
|
387
|
-
}
|
|
388
|
-
let held = false;
|
|
389
|
-
try {
|
|
390
|
-
held = await claim(path, holder, marker);
|
|
391
|
-
} catch (error) {
|
|
392
|
-
if (notWritable(error)) throw new RenderLockUnwritable(dirname2(path), error);
|
|
393
|
-
if (!isHeldError(error)) throw error;
|
|
394
|
-
} finally {
|
|
395
|
-
if (!held) removeIfPresent(marker);
|
|
396
|
-
}
|
|
397
|
-
if (!held) return null;
|
|
398
|
-
return () => {
|
|
399
|
-
release(path, holder);
|
|
400
|
-
removeIfPresent(marker);
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export {
|
|
405
|
-
renderObservabilityTelemetryPayload,
|
|
406
|
-
renderJobObservabilityTelemetryPayload,
|
|
407
|
-
startRenderCpuSampler,
|
|
408
|
-
RenderLockStaleBreak,
|
|
409
|
-
RenderLockUnwritable,
|
|
410
|
-
RenderLockBusy,
|
|
411
|
-
describeRenderLockHolder,
|
|
412
|
-
acquireRenderLock
|
|
413
|
-
};
|
package/dist/chunk-XDKEKXV4.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
-
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
-
var require = __hf_createRequire(import.meta.url);
|
|
5
|
-
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
withOwner
|
|
9
|
-
} from "./chunk-7VHSPFBH.js";
|
|
10
|
-
import {
|
|
11
|
-
HistoryBusyError,
|
|
12
|
-
beginArtifactCapture
|
|
13
|
-
} from "./chunk-BF6RWOUF.js";
|
|
14
|
-
|
|
15
|
-
// src/utils/artifactCapture.ts
|
|
16
|
-
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
17
|
-
function unlessAnotherProcessKeepsTheHistory(error) {
|
|
18
|
-
if (!(error instanceof HistoryBusyError)) throw error;
|
|
19
|
-
}
|
|
20
|
-
async function captureArtifactRevision(projectDir) {
|
|
21
|
-
await withOwner(projectDir, (owner) => owner.checkpoint(), SKIP_BUSY_HISTORY).catch(
|
|
22
|
-
unlessAnotherProcessKeepsTheHistory
|
|
23
|
-
);
|
|
24
|
-
return beginArtifactCapture(projectDir);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
captureArtifactRevision
|
|
29
|
-
};
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
repoRoot
|
|
9
9
|
} from "./chunk-2X4PQEYM.js";
|
|
10
|
-
import {
|
|
11
|
-
deleteEcrRepository,
|
|
12
|
-
samDelete
|
|
13
|
-
} from "./chunk-RXJUMVCA.js";
|
|
14
10
|
import {
|
|
15
11
|
deleteStackOutputs,
|
|
16
12
|
requireStack
|
|
17
13
|
} from "./chunk-JHOPRAJN.js";
|
|
14
|
+
import {
|
|
15
|
+
deleteEcrRepository,
|
|
16
|
+
samDelete
|
|
17
|
+
} from "./chunk-RXJUMVCA.js";
|
|
18
18
|
import {
|
|
19
19
|
c
|
|
20
20
|
} from "./chunk-VU4EPKFI.js";
|
|
@@ -4,17 +4,17 @@ 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
|
+
findPython,
|
|
9
|
+
hasPythonPackage,
|
|
10
|
+
workingPythonEnv
|
|
11
|
+
} from "./chunk-J3OVTOVC.js";
|
|
7
12
|
import {
|
|
8
13
|
DEFAULT_VOICE,
|
|
9
14
|
ensureModel,
|
|
10
15
|
ensureVoices,
|
|
11
16
|
inferLangFromVoiceId
|
|
12
17
|
} from "./chunk-6RPKPL22.js";
|
|
13
|
-
import {
|
|
14
|
-
findPython,
|
|
15
|
-
hasPythonPackage,
|
|
16
|
-
workingPythonEnv
|
|
17
|
-
} from "./chunk-J3OVTOVC.js";
|
|
18
18
|
import {
|
|
19
19
|
makeOutputFolder
|
|
20
20
|
} from "./chunk-3S27CPV7.js";
|