hyperframes 0.9.12 → 0.9.14
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-NLR4EVAF.js → add-JNKCTPWJ.js} +19 -18
- package/dist/{agentPromptGenerator-S3GWYMVC.js → agentPromptGenerator-DSF7AEVE.js} +9 -9
- package/dist/{animatedGifPrep-YU7IOD5D.js → animatedGifPrep-BIEUMGB3.js} +9 -9
- package/dist/api.js +53 -30
- package/dist/{asset-7NPBAXDA.js → asset-V6JAJRCF.js} +5 -5
- package/dist/{assetCataloger-VKJIQCYP.js → assetCataloger-SCLH2WAC.js} +10 -10
- package/dist/{audio-ZNVUZH44.js → audio-JX76VDCY.js} +25 -24
- package/dist/{auth-PTVZNLE6.js → auth-TRE4ASYT.js} +6 -6
- package/dist/{autoUpdate-QJPCV7FB.js → autoUpdate-D5UUCIOR.js} +4 -4
- package/dist/avatars-26EUVWXR.js +168 -0
- package/dist/{backgroundChecks-UA6LCZAG.js → backgroundChecks-RM5GWZIW.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-W4RXBUNE.js → batchRender-5ZEQ6U4N.js} +8 -8
- package/dist/{beats-IG7C72YF.js → beats-3YW7MGZY.js} +27 -19
- package/dist/{benchmark-YUD3XIT2.js → benchmark-MYQTWUO3.js} +15 -15
- package/dist/{billing-5YSYJJ2V.js → billing-2X3JNNM4.js} +100 -23
- package/dist/{browser-TZILXH5J.js → browser-CQSY36GL.js} +8 -8
- package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
- package/dist/{capture-MICLAF6V.js → capture-IK5GIWOS.js} +29 -32
- package/dist/{capture-R77HOGLQ.js → capture-NWBNWBIX.js} +5 -5
- package/dist/{captureCompositionFrame-WBMFZHEF.js → captureCompositionFrame-KR3PELMO.js} +17 -17
- package/dist/{catalog-AMPL57XF.js → catalog-2Q73F42B.js} +20 -19
- package/dist/{catch-up-WQ7ZRRFT.js → catch-up-JP3FL3FX.js} +8 -8
- package/dist/{check-ZPBF3X5D.js → check-UIMXDUPK.js} +51 -50
- package/dist/{checkAudio-IG3BOW2G.js → checkAudio-CSX4G35O.js} +15 -15
- package/dist/{checkBrowser-AIUIKFMJ.js → checkBrowser-MTCJVJYJ.js} +43 -42
- package/dist/{chunk-B3IE7CN2.js → chunk-2BDSLTEG.js} +10 -10
- package/dist/{chunk-URJ7T6T6.js → chunk-2L4HQ5K4.js} +1 -1
- package/dist/{chunk-RFTLWXEX.js → chunk-2NHPNI42.js} +11 -11
- package/dist/{chunk-EPCVE3OX.js → chunk-2OIONPKY.js} +3 -3
- package/dist/{chunk-WTGG734B.js → chunk-2SYOEZ2Z.js} +5 -5
- package/dist/{chunk-HY64QA63.js → chunk-2YT656R2.js} +22 -10
- package/dist/{chunk-NTHJJ6JT.js → chunk-35RZMUTX.js} +7 -7
- package/dist/{chunk-LIN633KG.js → chunk-3B7TDQEW.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-BOIW3CIU.js → chunk-3BHDAXDA.js} +5 -9
- package/dist/{chunk-VWQY3A64.js → chunk-3CXUZSLE.js} +2 -2
- package/dist/{chunk-5WHGO5XU.js → chunk-4MY6FPX4.js} +1 -1
- package/dist/{chunk-V6HV2IDT.js → chunk-4NE6CBMW.js} +1 -1
- package/dist/{chunk-JS6ZTPYC.js → chunk-53UV2EUT.js} +3 -3
- package/dist/{chunk-6IFY3ZQC.js → chunk-5ENBFVPD.js} +5 -5
- package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
- package/dist/{chunk-VECINIPA.js → chunk-6FOO4QTU.js} +2 -2
- package/dist/{chunk-6R2PED3X.js → chunk-6OSVMSGV.js} +10 -10
- package/dist/{chunk-JKSASCBT.js → chunk-6UM5C4R6.js} +2 -2
- package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
- package/dist/{chunk-N6FGHJ7X.js → chunk-6ZRGEVAM.js} +97 -26
- package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
- package/dist/{chunk-6KV3CMY2.js → chunk-7LQVFIO4.js} +4 -16
- package/dist/{chunk-3IKLV3D4.js → chunk-7NPHPQH5.js} +2 -2
- package/dist/{chunk-OJTXXFYO.js → chunk-7X3UDKJK.js} +1 -1
- package/dist/{chunk-XZP5OW5V.js → chunk-AKE744C5.js} +1 -1
- package/dist/{chunk-64ZWPFAX.js → chunk-AOJBIFKU.js} +2 -2
- package/dist/{chunk-OQKAP6X4.js → chunk-AWV4F5TS.js} +2 -2
- package/dist/{chunk-X5EOH44V.js → chunk-B2RMMRJB.js} +1 -1
- package/dist/{chunk-MWHTLXG4.js → chunk-B3CSMKM7.js} +1 -1
- package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
- package/dist/{chunk-7XKWBMBL.js → chunk-BNUN7KXZ.js} +2 -2
- package/dist/{chunk-H7H7XNYY.js → chunk-BXCPOMS3.js} +11 -9
- package/dist/{chunk-TSQZ3DSC.js → chunk-BY7PZB6H.js} +1 -1
- package/dist/{chunk-BONBJJ35.js → chunk-CKEOCCMK.js} +1 -1
- package/dist/{chunk-42TYQPES.js → chunk-CMPHS5E6.js} +2 -2
- package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
- package/dist/{chunk-XX77LLFJ.js → chunk-CZ5NNJ6H.js} +120 -25
- package/dist/{chunk-C3NC67BB.js → chunk-D3FZQL5R.js} +8 -8
- package/dist/chunk-D3UCUI7G.js +68 -0
- package/dist/{chunk-VM6T3Z6B.js → chunk-DD47NQJZ.js} +1 -1
- package/dist/{chunk-2VZVMCV6.js → chunk-DSIGJUNY.js} +1 -1
- package/dist/{chunk-E2YXF2EP.js → chunk-DTU4XJNP.js} +4 -4
- package/dist/{chunk-4XGASFTP.js → chunk-DTZSKJV5.js} +3 -3
- package/dist/{chunk-7RM3TB62.js → chunk-DVJUBMS7.js} +1 -1
- package/dist/{chunk-KUXOAS4Z.js → chunk-DX4OFRBN.js} +41 -37
- package/dist/{chunk-Y3ICFPFK.js → chunk-EAO46VPT.js} +3 -3
- package/dist/{chunk-M6JFR7KF.js → chunk-EOCFNE53.js} +21 -32
- package/dist/{chunk-LTBBFLOM.js → chunk-FC2OXEBQ.js} +1 -1
- package/dist/{chunk-BW2RIJKV.js → chunk-FF3VKFCN.js} +163 -98
- package/dist/{chunk-WQ4SMZDF.js → chunk-FQFWGAON.js} +2 -2
- package/dist/{chunk-J3RXEDR2.js → chunk-FYZFURBN.js} +2 -2
- package/dist/{chunk-ZLN3AJKT.js → chunk-FZRTCVU6.js} +1 -1
- package/dist/{chunk-YEBIOQRI.js → chunk-GY7D2OEQ.js} +3 -3
- package/dist/chunk-HNZ2FZIB.js +45 -0
- package/dist/{chunk-2GICKZ3I.js → chunk-HOCC4J5C.js} +1 -1
- package/dist/{chunk-4J4EGANW.js → chunk-HVIQQCLM.js} +16 -16
- package/dist/{chunk-PKLZ5PV2.js → chunk-HZSAOL5O.js} +2 -2
- package/dist/{chunk-3DWH6Z5U.js → chunk-I5PI43EI.js} +1 -1
- package/dist/{chunk-KT4KPBI7.js → chunk-IO3BC2ZK.js} +3 -3
- package/dist/{chunk-4H4DR36N.js → chunk-IOPE4LJ2.js} +1 -1
- package/dist/{chunk-QRCORKYC.js → chunk-IPZ3QGDO.js} +2 -2
- package/dist/{chunk-LV5SL4YW.js → chunk-K5CK4G75.js} +3 -3
- package/dist/{chunk-2VYAX3ZD.js → chunk-L24GJQNZ.js} +16 -12
- package/dist/{chunk-WJD3GVAA.js → chunk-LISUH6KH.js} +1 -1
- package/dist/chunk-LSUM6RTW.js +20 -0
- package/dist/{chunk-ZD3MK4H5.js → chunk-LZYXYJMX.js} +1 -1
- package/dist/{chunk-LO3EX3YP.js → chunk-M34AOUVK.js} +7 -7
- package/dist/{chunk-5LOZWO2M.js → chunk-M3JU24AI.js} +1 -1
- package/dist/{chunk-NQYW4IYN.js → chunk-MWPPZOY5.js} +4 -4
- package/dist/{chunk-KDOJX2HU.js → chunk-MY2W7VWC.js} +15 -15
- package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
- package/dist/{chunk-73EXHUMD.js → chunk-NBUPR3ZF.js} +1 -1
- package/dist/{chunk-AHLDGEH5.js → chunk-NLEIM52W.js} +84 -22
- package/dist/{chunk-XJG65BB2.js → chunk-NWFIYKEI.js} +10 -10
- package/dist/{chunk-2P5DTXUN.js → chunk-NZTYGWRK.js} +1 -1
- package/dist/{chunk-N74N2I2K.js → chunk-O4ONYFY3.js} +1 -1
- package/dist/{chunk-QFZ3ZSXI.js → chunk-O4ZD7TVR.js} +18 -2
- package/dist/{chunk-FLXZ4GZI.js → chunk-OHN3OJQQ.js} +1 -1
- package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
- package/dist/{chunk-S2UKSI3C.js → chunk-PA27AW3Y.js} +1 -1
- package/dist/{chunk-X6XIY4JY.js → chunk-PCY67JUL.js} +303 -29
- package/dist/{chunk-SG4YBQPY.js → chunk-PYPW33ET.js} +2 -2
- package/dist/{chunk-Z2DJSEQC.js → chunk-QSEHVJFA.js} +75 -219
- package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
- package/dist/{chunk-OAFGA2FR.js → chunk-SAAJ2O7A.js} +1 -1
- package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
- package/dist/{chunk-6NKEEHFR.js → chunk-SSBAETRX.js} +6 -6
- package/dist/{chunk-AUYRWWFL.js → chunk-T32JKZX3.js} +3 -3
- package/dist/{chunk-A33GFLPY.js → chunk-T4FLVFQE.js} +1 -1
- package/dist/{chunk-P7Y2YCOF.js → chunk-TESXTEV5.js} +1 -1
- package/dist/{chunk-Q3IT7I2K.js → chunk-TRK77R5G.js} +1 -1
- package/dist/{chunk-EBUA6NWH.js → chunk-TTBCQFRY.js} +2 -2
- package/dist/{chunk-LR5NVYZT.js → chunk-U22NZEQV.js} +2 -2
- package/dist/{chunk-WWBEAKTO.js → chunk-UXS7VE75.js} +1 -1
- package/dist/{chunk-R7EKEIAK.js → chunk-VD5G4Y6U.js} +1 -1
- package/dist/{chunk-ABI256T5.js → chunk-W7ITBVJE.js} +4 -4
- package/dist/{chunk-FC4WF2VQ.js → chunk-WAH2X7FF.js} +2 -2
- package/dist/{chunk-FPR57WRR.js → chunk-WEWXIQPN.js} +1 -1
- package/dist/{chunk-SSZTRWKQ.js → chunk-WXYV47JX.js} +4 -4
- package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
- package/dist/{chunk-FFUBISTD.js → chunk-X46MRJYK.js} +1 -1
- package/dist/{chunk-UH62KSYV.js → chunk-XMOWL46H.js} +3 -3
- package/dist/{chunk-VUMGJLRB.js → chunk-YBR4L5JA.js} +1 -1
- package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
- package/dist/{chunk-QOF7XZEI.js → chunk-ZE2QZHUH.js} +2 -2
- package/dist/{chunk-ETYQYG6Q.js → chunk-ZFZXGZTX.js} +27 -18
- package/dist/{chunk-AVNF52HR.js → chunk-ZNHWAGMH.js} +1 -1
- package/dist/{chunk-Q225NLQL.js → chunk-ZSAKJRZB.js} +6 -6
- package/dist/{chunk-7W5ZDOLW.js → chunk-ZZBO3GF5.js} +15 -4
- package/dist/{clean-343XOJT3.js → clean-P3SZCIFU.js} +25 -25
- package/dist/cli.js +69 -68
- package/dist/{cloud-2YS272KD.js → cloud-G7YQIVI7.js} +6 -6
- package/dist/{cloud-B6SGMECY.js → cloud-RFM3PYTR.js} +6 -5
- package/dist/{cloudrun-N737TJRC.js → cloudrun-LXZT5UDK.js} +11 -11
- package/dist/{colors-HRL7QSVG.js → colors-CRTWLZ5S.js} +2 -2
- package/dist/{compare-KXCTMXFX.js → compare-BHQHEOMX.js} +39 -38
- package/dist/{compiler-KKIYPREA.js → compiler-V72QWKGC.js} +6 -6
- package/dist/{component-ZUDCIGGD.js → component-6GDCT3GK.js} +6 -6
- package/dist/{compositions-FNFI2QOA.js → compositions-JM6HKCRF.js} +19 -19
- package/dist/{curve-5BMBBCSZ.js → curve-Y7JRXLIJ.js} +16 -16
- package/dist/{cuts-OKUA6BWH.js → cuts-LDVDQTRL.js} +17 -17
- package/dist/{delete-FYMFNSED.js → delete-NCZIKWHU.js} +12 -11
- package/dist/{deploy-YZU2YITA.js → deploy-R4OEJEB6.js} +10 -7
- package/dist/{describeProject-E44RWBJL.js → describeProject-4GKZTYHA.js} +13 -13
- package/dist/{destroy-IQLGADZM.js → destroy-6XY4WQWY.js} +2 -2
- package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
- package/dist/{diff-5X6I6EG5.js → diff-C53GPSNU.js} +55 -36
- package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
- package/dist/{dist-PCVNVAVC.js → dist-TI44VPHO.js} +6 -4
- package/dist/{dist-PUHEYGA5.js → dist-TJZSSDR2.js} +14 -14
- package/dist/{docs-D22SOQEZ.js → docs-WYJSJGSF.js} +2 -2
- package/dist/{doctor-3DXWW63F.js → doctor-V4RICWU2.js} +16 -16
- package/dist/{energy-4HY7COXH.js → energy-S5Z7CGSB.js} +17 -17
- package/dist/{events-JAGPGK7R.js → events-6HROTYLC.js} +14 -6
- package/dist/{events-TFVE7AUR.js → events-QKJE5XRN.js} +5 -5
- package/dist/{events-ULVZ7V2C.js → events-RAJGQK7Y.js} +19 -19
- package/dist/{extract-5KTFRIH2.js → extract-RYGWEC5V.js} +17 -17
- package/dist/{face-T6D34LR7.js → face-IWRDW2QO.js} +17 -17
- package/dist/{feedback-QQQYENCU.js → feedback-HQTDLLPE.js} +17 -16
- package/dist/{ffmpeg-A2O4HSRD.js → ffmpeg-BX334YEK.js} +9 -9
- package/dist/{figma-4RODZMCT.js → figma-P6U76KGI.js} +5 -5
- package/dist/fontLocalizeCli.js +14 -14
- package/dist/{frames-L43TSSAY.js → frames-G2WYTVWV.js} +18 -18
- package/dist/{generate-7HZKBLPZ.js → generate-ZUE2AVOB.js} +42 -22
- package/dist/{get-MXKV4NUL.js → get-7C3UC46A.js} +12 -11
- package/dist/{gpuPolicy-TKHFDEH2.js → gpuPolicy-5ZVYYWXN.js} +9 -9
- package/dist/{grade-compare-KNXFKMFI.js → grade-compare-IS3OVI7R.js} +43 -42
- package/dist/{heifImagePrep-L2EY67F2.js → heifImagePrep-FBLLKI3P.js} +10 -10
- package/dist/{help-YN43ORVX.js → help-2MPB27YU.js} +3 -3
- package/dist/{history-VAMN53LT.js → history-Q5EBBFPW.js} +10 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-QKEEGK2R.js → info-TNG5QGFC.js} +13 -13
- package/dist/{init-AAA44PYH.js → init-UFPBBWC7.js} +46 -38
- package/dist/{ink-V6CEFYB6.js → ink-UTPJHGZR.js} +17 -17
- package/dist/{inspect-5JGTWCYO.js → inspect-KXKKPWKX.js} +41 -40
- package/dist/{installer-PUQYKLXZ.js → installer-UTFXM6KP.js} +7 -6
- package/dist/{keyframes-FJNUSXAF.js → keyframes-S6V36BW6.js} +10 -10
- package/dist/{lambda-RYCG67CX.js → lambda-XWHALRKM.js} +22 -22
- package/dist/{layout-DXIPVY3W.js → layout-SSVKZKCZ.js} +41 -40
- package/dist/{lint-JZADWIMR.js → lint-OQWGRKG5.js} +15 -15
- package/dist/{lintProject-EV3EEBY3.js → lintProject-Z2TEXMY4.js} +4 -4
- package/dist/{list-YRLUJMP6.js → list-FYLBMEL7.js} +13 -12
- package/dist/{localPage-KIFKMB2B.js → localPage-4GSU6N3J.js} +9 -9
- package/dist/{login-H74JDEJ2.js → login-JKFCYHRS.js} +10 -9
- package/dist/{logout-UMDA3HDE.js → logout-YACQMRZN.js} +5 -4
- package/dist/{look-WVGBBYFE.js → look-WQ2DOKXH.js} +17 -17
- package/dist/{manager-T633Z2L4.js → manager-F4F4A734.js} +10 -10
- package/dist/{measure-DWQHHY3H.js → measure-XIFLTAMC.js} +11 -11
- package/dist/{media-treatment-JHDDWRFU.js → media-treatment-S3LHQSQQ.js} +21 -21
- package/dist/{media-use-5SDC3MCE.js → media-use-NFM3ZXCF.js} +7 -5
- package/dist/{models-6SOW23N6.js → models-G4KNLV66.js} +17 -17
- package/dist/{motionShot-B4K6LEU3.js → motionShot-IJGA5CBH.js} +20 -20
- package/dist/{normalize-audio-O6STMACD.js → normalize-audio-UP54N6J4.js} +15 -15
- package/dist/{open-VRCTXBD3.js → open-TAEKCYDB.js} +19 -18
- package/dist/{parakeetRunner-MNOIBRZZ.js → parakeetRunner-WFA4K7BH.js} +14 -14
- package/dist/{pipeline-N3M6VXBC.js → pipeline-SNENB5MZ.js} +12 -12
- package/dist/{play-5WUZGJ4B.js → play-QTYMY453.js} +32 -31
- package/dist/{policies-EERREOZJ.js → policies-EV7XPSQC.js} +2 -2
- package/dist/{preflight-XZZXHV42.js → preflight-CZUKW3CW.js} +10 -10
- package/dist/{present-W7OODR7J.js → present-KVHQECWG.js} +25 -25
- package/dist/{preview-NOQSYZAD.js → preview-6U62DM4P.js} +30 -29
- package/dist/{probe-WFIYEXM5.js → probe-UCVL3JDC.js} +17 -17
- package/dist/{producer-HI6M6755.js → producer-A4RPG3XL.js} +1 -1
- package/dist/{progress-STSH2JRY.js → progress-FWJJMPIQ.js} +2 -2
- package/dist/{projectConfig-PUAOWUNS.js → projectConfig-FIW6FPZW.js} +10 -9
- package/dist/{prompts-ZEVFT7US.js → prompts-27EPTM64.js} +2 -2
- package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
- package/dist/{publish-7W46NJFT.js → publish-VKSABRA4.js} +26 -22
- package/dist/{refresh-4FQFQ2SW.js → refresh-L5C2HPMC.js} +5 -4
- package/dist/{remove-background-SYHNGASQ.js → remove-background-CJJ54SHA.js} +16 -16
- package/dist/{render-GYQZQB2O.js → render-2YY64XPU.js} +354 -71
- package/dist/{render-74JIGKTN.js → render-G54RA46B.js} +307 -76
- package/dist/{render-EF7Y6YYC.js → render-I2MWX5GH.js} +10 -10
- package/dist/{render-batch-JYYP4RXA.js → render-batch-X562GNRH.js} +13 -13
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-BKFLETMU.js → resolver-GC4ZLQPV.js} +7 -6
- package/dist/{reverse-NEC42AID.js → reverse-2KZQ65Y7.js} +1 -1
- package/dist/{run-Z6AW753F.js → run-65M6ECM2.js} +6 -5
- package/dist/{sherpa-2ROE6TLC.js → sherpa-SLRKS4SR.js} +13 -13
- package/dist/{sites-EAGXQOKI.js → sites-O7A7G3ZQ.js} +2 -2
- package/dist/skills/hyperframes/SKILL.md +3 -1
- package/dist/skills/hyperframes/references/format.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/hyperframes-cli/references/cloud.md +10 -10
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/media-use/SKILL.md +2 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +2 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +2 -2
- package/dist/skills/media-use/references/resolve.md +2 -0
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/heygen-search.mjs +4 -2
- package/dist/skills/media-use/scripts/lib/match.mjs +17 -0
- package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +20 -2
- package/dist/skills/media-use/scripts/resolve.mjs +52 -9
- package/dist/{skills-R56MSU2Y.js → skills-SOXKW42T.js} +10 -10
- package/dist/{skillsUpdateCheck-I6G3MQWO.js → skillsUpdateCheck-4RUEBT6B.js} +5 -5
- package/dist/{snapshot-J2NU7WTJ.js → snapshot-KIWJWZGW.js} +53 -52
- package/dist/{src-5XQ6A3VE.js → src-ABVBEVVK.js} +13 -13
- package/dist/{src-L7UBHHKB.js → src-DYWF24IK.js} +8 -8
- package/dist/{start-VUMSNLKC.js → start-EADJCDST.js} +55 -32
- package/dist/{staticProjectServer-2JYB7RLI.js → staticProjectServer-UCHJYCR6.js} +25 -24
- package/dist/{status-SUK4I7TS.js → status-E4OUQSHN.js} +68 -9
- package/dist/studio/assets/{hyperframes-player-Dw-0BWQW.js → hyperframes-player-CfYFgHV8.js} +1 -1
- package/dist/studio/assets/{index-BNZeN67E.js → index-COfhX0Gz.js} +4 -4
- package/dist/studio/assets/{index-NwWb1W86.js → index-Cj5x3rVD.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-MEZKFJBY.js → studio-api-RGOTUJXP.js} +14 -14
- package/dist/{studioServer-XGR4YPXX.js → studioServer-72COILB5.js} +76 -69
- package/dist/{sync-ZIMGTQEN.js → sync-5Z5OQFB3.js} +17 -17
- package/dist/{telemetry-WGNNQUSF.js → telemetry-5WZGQCKA.js} +3 -3
- package/dist/{telemetry-PT5KSL5T.js → telemetry-OQ2JM37Y.js} +6 -6
- package/dist/templates/_shared/AGENTS.md +7 -6
- package/dist/templates/_shared/CLAUDE.md +7 -6
- package/dist/{templates-7AT45DZI.js → templates-YH5CUHHN.js} +146 -27
- package/dist/{timeline-IH422KGC.js → timeline-IWU2T2BX.js} +27 -27
- package/dist/{tokens-ZVJMHDTM.js → tokens-F7IBDWGE.js} +5 -5
- package/dist/{transcribe-QIZGXMR5.js → transcribe-GL3J3JB3.js} +12 -12
- package/dist/{transcribe-FRRXA77O.js → transcribe-YXDOCF32.js} +40 -27
- package/dist/{tts-IMW74GBX.js → tts-QRQEYR3Q.js} +4 -4
- package/dist/{update-E2RIAV5T.js → update-MR5NL567.js} +15 -13
- package/dist/{updateCheck-EII7XDIR.js → updateCheck-ONT2ZVAF.js} +4 -4
- package/dist/{upgrade-BKGP2TM7.js → upgrade-BJEGLKQS.js} +7 -7
- package/dist/{urlDownloader-FOXK4FYP.js → urlDownloader-3PV5WURP.js} +8 -8
- package/dist/{validate-M4FZVBRP.js → validate-GTTWJYCS.js} +31 -31
- package/dist/{video-AVEGMBDM.js → video-VP6X6YL5.js} +12 -12
- package/dist/{voices-E5RUGLJK.js → voices-3EO2NQ5Q.js} +40 -20
- package/dist/warmCheck.js +51 -50
- package/package.json +1 -1
- package/dist/chunk-P3KBDUNS.js +0 -29
|
@@ -7,43 +7,43 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
deliveryFlagArgs,
|
|
9
9
|
parseDeliveryFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZE2QZHUH.js";
|
|
11
11
|
import {
|
|
12
12
|
hasExplicitCompositionArg,
|
|
13
13
|
resolveCompositionEntryArg
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IOPE4LJ2.js";
|
|
15
15
|
import {
|
|
16
16
|
parseEnumFlag
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WEWXIQPN.js";
|
|
18
18
|
import {
|
|
19
19
|
maybePromptRenderFeedback
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3B7TDQEW.js";
|
|
21
21
|
import {
|
|
22
22
|
reportVariableIssues,
|
|
23
23
|
resolveVariablesArg,
|
|
24
24
|
validateVariablesAgainstProject
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WXYV47JX.js";
|
|
26
26
|
import "./chunk-ZBAF6L74.js";
|
|
27
27
|
import {
|
|
28
28
|
renderJobObservabilityTelemetryPayload,
|
|
29
29
|
startRenderCpuSampler
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-X46MRJYK.js";
|
|
31
31
|
import {
|
|
32
32
|
formatLintStartupMessage
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-B2RMMRJB.js";
|
|
34
34
|
import {
|
|
35
35
|
desktopHint
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZZBO3GF5.js";
|
|
37
37
|
import {
|
|
38
38
|
runEnvironmentChecks
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4NE6CBMW.js";
|
|
40
40
|
import "./chunk-XQ26I3PL.js";
|
|
41
41
|
import {
|
|
42
42
|
makeOutputFolder
|
|
43
43
|
} from "./chunk-3S27CPV7.js";
|
|
44
44
|
import {
|
|
45
45
|
createRenderCancellationScope
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-DD47NQJZ.js";
|
|
47
47
|
import {
|
|
48
48
|
H264EncoderUnavailableError,
|
|
49
49
|
chromeLaunchRemediation,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
findFFmpeg,
|
|
52
52
|
findFFprobe,
|
|
53
53
|
getFFmpegInstallHint
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ZNHWAGMH.js";
|
|
55
55
|
import {
|
|
56
56
|
markRenderSucceeded,
|
|
57
57
|
runPostRenderStep,
|
|
@@ -60,24 +60,27 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
RenderQualityError,
|
|
62
62
|
extractSafeRenderErrorCode
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-FF3VKFCN.js";
|
|
64
|
+
import "./chunk-EOCFNE53.js";
|
|
65
|
+
import "./chunk-TTBCQFRY.js";
|
|
66
|
+
import "./chunk-CMPHS5E6.js";
|
|
67
67
|
import "./chunk-X7MTZ4T2.js";
|
|
68
68
|
import "./chunk-BZ56MTDX.js";
|
|
69
69
|
import "./chunk-FI4I7CME.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
alive,
|
|
72
|
+
captureArtifactRevision,
|
|
73
|
+
readHolder,
|
|
74
|
+
release
|
|
75
|
+
} from "./chunk-DX4OFRBN.js";
|
|
76
|
+
import "./chunk-YBR4L5JA.js";
|
|
74
77
|
import "./chunk-X7MTZ4T2.js";
|
|
75
78
|
import {
|
|
76
79
|
loadProducer
|
|
77
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-NBUPR3ZF.js";
|
|
78
81
|
import {
|
|
79
82
|
resolveProject
|
|
80
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-AOJBIFKU.js";
|
|
81
84
|
import {
|
|
82
85
|
windowsChromeCrashRemediation
|
|
83
86
|
} from "./chunk-262C25DQ.js";
|
|
@@ -86,48 +89,51 @@ import {
|
|
|
86
89
|
parseHlsSegmentSecondsArg,
|
|
87
90
|
resolveBrowserTimeoutMsArg,
|
|
88
91
|
resolveDefaultFpsArg
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-DTU4XJNP.js";
|
|
93
|
+
import "./chunk-U22NZEQV.js";
|
|
91
94
|
import "./chunk-US4BCRYB.js";
|
|
92
95
|
import {
|
|
93
96
|
recordRenderSuccess,
|
|
94
97
|
registerRenderOutput
|
|
95
98
|
} from "./chunk-XLPCBE2Q.js";
|
|
96
99
|
import "./chunk-ALVXFXUG.js";
|
|
100
|
+
import {
|
|
101
|
+
errorBox,
|
|
102
|
+
formatBytes,
|
|
103
|
+
formatRenderPipelineDetail,
|
|
104
|
+
formatRenderSummaryDetail,
|
|
105
|
+
formatScreenshotFallbackHint,
|
|
106
|
+
resolvePrintedCaptureMode
|
|
107
|
+
} from "./chunk-M3JU24AI.js";
|
|
108
|
+
import "./chunk-EHZESMRB.js";
|
|
97
109
|
import {
|
|
98
110
|
loadProjectConfig,
|
|
99
111
|
readProjectConfigWithStatus,
|
|
100
112
|
seedProjectAuthoringSkill
|
|
101
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-PA27AW3Y.js";
|
|
102
114
|
import "./chunk-XT7X6QCP.js";
|
|
103
115
|
import "./chunk-5YPMCCCA.js";
|
|
116
|
+
import {
|
|
117
|
+
createFileAtomically
|
|
118
|
+
} from "./chunk-A4ZTSQLW.js";
|
|
104
119
|
import {
|
|
105
120
|
normalizeSkillSlug
|
|
106
121
|
} from "./chunk-HVW7ABXD.js";
|
|
107
|
-
import "./chunk-
|
|
122
|
+
import "./chunk-VD5G4Y6U.js";
|
|
108
123
|
import "./chunk-JHOCK3DG.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-K5CK4G75.js";
|
|
125
|
+
import "./chunk-7LQVFIO4.js";
|
|
111
126
|
import "./chunk-AWDFDFI3.js";
|
|
112
127
|
import "./chunk-P6LJ4Y32.js";
|
|
128
|
+
import "./chunk-D3UCUI7G.js";
|
|
113
129
|
import "./chunk-T2WJO4XM.js";
|
|
114
|
-
import {
|
|
115
|
-
errorBox,
|
|
116
|
-
formatBytes,
|
|
117
|
-
formatRenderPipelineDetail,
|
|
118
|
-
formatRenderSummaryDetail,
|
|
119
|
-
formatScreenshotFallbackHint,
|
|
120
|
-
resolvePrintedCaptureMode
|
|
121
|
-
} from "./chunk-5LOZWO2M.js";
|
|
122
|
-
import "./chunk-EHZESMRB.js";
|
|
123
|
-
import "./chunk-A4ZTSQLW.js";
|
|
124
130
|
import {
|
|
125
131
|
trackRenderComplete,
|
|
126
132
|
trackRenderError,
|
|
127
133
|
trackRenderObservation,
|
|
128
134
|
trackRenderPreflightRejected
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import "./chunk-
|
|
135
|
+
} from "./chunk-O4ZD7TVR.js";
|
|
136
|
+
import "./chunk-XMOWL46H.js";
|
|
131
137
|
import "./chunk-PXVQOMKL.js";
|
|
132
138
|
import "./chunk-MCDNAIFF.js";
|
|
133
139
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -139,10 +145,10 @@ import "./chunk-TABWG4IT.js";
|
|
|
139
145
|
import "./chunk-54HJ63Q2.js";
|
|
140
146
|
import {
|
|
141
147
|
c
|
|
142
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-HOCC4J5C.js";
|
|
143
149
|
import "./chunk-VEIGTKYZ.js";
|
|
144
150
|
import "./chunk-EVMY7IPL.js";
|
|
145
|
-
import "./chunk-
|
|
151
|
+
import "./chunk-ZB2XGJSP.js";
|
|
146
152
|
import {
|
|
147
153
|
CaptureFailure,
|
|
148
154
|
EXTRACT_CACHE_DIR_DISABLED_ALIASES,
|
|
@@ -152,11 +158,11 @@ import {
|
|
|
152
158
|
audioFailureDiagnostics,
|
|
153
159
|
isVideoFrameFormat,
|
|
154
160
|
sandboxDeniedRemediation
|
|
155
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
156
162
|
import "./chunk-Z5J67X44.js";
|
|
157
163
|
import "./chunk-5S7W3TUO.js";
|
|
158
164
|
import "./chunk-D3MUHMFG.js";
|
|
159
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-53UV2EUT.js";
|
|
160
166
|
import "./chunk-YWRUQ7XZ.js";
|
|
161
167
|
import {
|
|
162
168
|
DISTRIBUTED_FPS,
|
|
@@ -165,9 +171,9 @@ import {
|
|
|
165
171
|
fpsToNumber,
|
|
166
172
|
isDistributedFps,
|
|
167
173
|
parseFps
|
|
168
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
169
175
|
import "./chunk-MEJH7VEA.js";
|
|
170
|
-
import "./chunk-
|
|
176
|
+
import "./chunk-EAO46VPT.js";
|
|
171
177
|
import "./chunk-VC76R6W2.js";
|
|
172
178
|
import "./chunk-OFQWTKPW.js";
|
|
173
179
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -176,7 +182,8 @@ import "./chunk-TK7THLRO.js";
|
|
|
176
182
|
import "./chunk-FXMKHHPO.js";
|
|
177
183
|
import "./chunk-7RFIT26L.js";
|
|
178
184
|
import {
|
|
179
|
-
killOrphanedProcessesForRender
|
|
185
|
+
killOrphanedProcessesForRender,
|
|
186
|
+
processIdentity
|
|
180
187
|
} from "./chunk-PV4XID2A.js";
|
|
181
188
|
import {
|
|
182
189
|
runRenderSetupWorker
|
|
@@ -193,21 +200,21 @@ import "./chunk-WE42NVH7.js";
|
|
|
193
200
|
import {
|
|
194
201
|
lintProject,
|
|
195
202
|
shouldBlockRender
|
|
196
|
-
} from "./chunk-
|
|
197
|
-
import "./chunk-CZGHFATT.js";
|
|
203
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
198
204
|
import {
|
|
199
205
|
collectSubCompositionSrcs
|
|
200
206
|
} from "./chunk-WVRAFHJU.js";
|
|
207
|
+
import "./chunk-CZGHFATT.js";
|
|
201
208
|
import {
|
|
202
209
|
FFMPEG_PATH_ENV
|
|
203
210
|
} from "./chunk-HYRPH6LL.js";
|
|
204
|
-
import "./chunk-
|
|
211
|
+
import "./chunk-OHQRQE7F.js";
|
|
205
212
|
import {
|
|
206
213
|
checkOutputResolutionCompatibility,
|
|
207
214
|
isAspectAgnosticResolutionAlias,
|
|
208
215
|
normalizeResolutionFlag,
|
|
209
216
|
suggestMatchingPreset
|
|
210
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-CUCP7FKH.js";
|
|
211
218
|
import "./chunk-FR7YBU3H.js";
|
|
212
219
|
import "./chunk-DPVXBVLL.js";
|
|
213
220
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -215,7 +222,9 @@ import "./chunk-2RY2LWAA.js";
|
|
|
215
222
|
import "./chunk-EPQC3FGZ.js";
|
|
216
223
|
import "./chunk-WC4MTXGN.js";
|
|
217
224
|
import "./chunk-FBN2M2HK.js";
|
|
218
|
-
import
|
|
225
|
+
import {
|
|
226
|
+
hyperframesCacheDir
|
|
227
|
+
} from "./chunk-766MOTIZ.js";
|
|
219
228
|
import "./chunk-BR2JQQC5.js";
|
|
220
229
|
import {
|
|
221
230
|
readConfigFresh,
|
|
@@ -223,7 +232,7 @@ import {
|
|
|
223
232
|
releaseDeParallelRouterLatch,
|
|
224
233
|
writeConfig,
|
|
225
234
|
writeConfigWithResult
|
|
226
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-CKEOCCMK.js";
|
|
227
236
|
import {
|
|
228
237
|
isDevMode
|
|
229
238
|
} from "./chunk-ISN5GRYI.js";
|
|
@@ -235,11 +244,11 @@ import {
|
|
|
235
244
|
scheduleCliExit,
|
|
236
245
|
setCommandExitCode
|
|
237
246
|
} from "./chunk-66W5IWLO.js";
|
|
238
|
-
import "./chunk-
|
|
247
|
+
import "./chunk-FYZFURBN.js";
|
|
239
248
|
import "./chunk-QBXDU24O.js";
|
|
240
249
|
import {
|
|
241
250
|
VERSION
|
|
242
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-FQFWGAON.js";
|
|
243
252
|
import {
|
|
244
253
|
normalizeErrorMessage
|
|
245
254
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -249,7 +258,7 @@ import "./chunk-7KDQAD2W.js";
|
|
|
249
258
|
import "./chunk-M2WBOQ2Q.js";
|
|
250
259
|
|
|
251
260
|
// src/commands/render.ts
|
|
252
|
-
import { mkdtempSync, readdirSync, readFileSync as
|
|
261
|
+
import { mkdtempSync, readdirSync as readdirSync2, readFileSync as readFileSync5, statSync as statSync2, writeFileSync as writeFileSync2, rmSync } from "fs";
|
|
253
262
|
|
|
254
263
|
// src/commands/render/plan.ts
|
|
255
264
|
import { statSync } from "fs";
|
|
@@ -690,6 +699,7 @@ function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
|
|
|
690
699
|
resumeSegments: args.resume ?? false,
|
|
691
700
|
keepSegments: args["keep-segments"] ?? false,
|
|
692
701
|
bestEffort: args["best-effort"] ?? true,
|
|
702
|
+
waitForRenderSlot: args.wait ?? true,
|
|
693
703
|
batchJson,
|
|
694
704
|
effectiveQuiet: quiet || batchJson,
|
|
695
705
|
strictAll: args["strict-all"] ?? false,
|
|
@@ -782,8 +792,259 @@ async function warnForSlideshow(plan) {
|
|
|
782
792
|
}
|
|
783
793
|
}
|
|
784
794
|
|
|
795
|
+
// src/utils/renderLock.ts
|
|
796
|
+
import { existsSync as existsSync2 } from "fs";
|
|
797
|
+
import { dirname as dirname3 } from "path";
|
|
798
|
+
|
|
799
|
+
// src/utils/renderLockClaim.ts
|
|
800
|
+
import { chmodSync, existsSync, mkdirSync, unlinkSync as unlinkSync2 } from "fs";
|
|
801
|
+
|
|
802
|
+
// src/utils/renderLockOwners.ts
|
|
803
|
+
import { randomBytes } from "crypto";
|
|
804
|
+
import { readdirSync, readFileSync as readFileSync3, unlinkSync, writeFileSync } from "fs";
|
|
805
|
+
import { basename, dirname as dirname2, join as join2 } from "path";
|
|
806
|
+
var markerPrefix = (lockPath) => `${basename(lockPath)}.owner-`;
|
|
807
|
+
var HELD_CODES = new Set(process.platform === "win32" ? ["EPERM", "EBUSY", "EACCES"] : ["EBUSY"]);
|
|
808
|
+
var UNREMOVABLE_CODES = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "EBUSY"]);
|
|
809
|
+
var errorCode = (error) => error.code ?? "";
|
|
810
|
+
function isHeldError(error) {
|
|
811
|
+
return HELD_CODES.has(errorCode(error));
|
|
812
|
+
}
|
|
813
|
+
function startToken(pid) {
|
|
814
|
+
return process.platform === "win32" ? null : processIdentity(pid);
|
|
815
|
+
}
|
|
816
|
+
function writeOwnerMarker(lockPath, owner) {
|
|
817
|
+
const name = `${markerPrefix(lockPath)}${owner.pid}-${randomBytes(6).toString("hex")}`;
|
|
818
|
+
const marker = join2(dirname2(lockPath), name);
|
|
819
|
+
writeFileSync(marker, JSON.stringify(owner), { flag: "wx" });
|
|
820
|
+
return marker;
|
|
821
|
+
}
|
|
822
|
+
function removeIfPresent(marker) {
|
|
823
|
+
try {
|
|
824
|
+
unlinkSync(marker);
|
|
825
|
+
} catch (error) {
|
|
826
|
+
if (!UNREMOVABLE_CODES.has(errorCode(error))) throw error;
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
function recordedIdentity(marker) {
|
|
830
|
+
try {
|
|
831
|
+
const owner = JSON.parse(readFileSync3(marker, "utf8"));
|
|
832
|
+
return typeof owner.identity === "string" ? owner.identity : null;
|
|
833
|
+
} catch {
|
|
834
|
+
return null;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
function sameProcess(pid, identity) {
|
|
838
|
+
if (!Number.isInteger(pid) || pid <= 0 || !alive(pid)) return false;
|
|
839
|
+
const current = identity && startToken(pid);
|
|
840
|
+
return !identity || !current || current === identity;
|
|
841
|
+
}
|
|
842
|
+
function liveOtherOwners(lockPath, own) {
|
|
843
|
+
const dir = dirname2(lockPath);
|
|
844
|
+
const prefix = markerPrefix(lockPath);
|
|
845
|
+
let live = 0;
|
|
846
|
+
for (const name of readdirSync(dir)) {
|
|
847
|
+
if (!name.startsWith(prefix)) continue;
|
|
848
|
+
const marker = join2(dir, name);
|
|
849
|
+
if (marker === own) continue;
|
|
850
|
+
if (sameProcess(Number(name.slice(prefix.length).split("-")[0]), recordedIdentity(marker))) {
|
|
851
|
+
live += 1;
|
|
852
|
+
} else removeIfPresent(marker);
|
|
853
|
+
}
|
|
854
|
+
return live;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
// src/utils/renderLockClaim.ts
|
|
858
|
+
var RenderLockStaleBreak = class extends Error {
|
|
859
|
+
constructor(breakPath) {
|
|
860
|
+
super(
|
|
861
|
+
`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.`
|
|
862
|
+
);
|
|
863
|
+
this.breakPath = breakPath;
|
|
864
|
+
this.name = "RenderLockStaleBreak";
|
|
865
|
+
}
|
|
866
|
+
breakPath;
|
|
867
|
+
};
|
|
868
|
+
var RenderLockUnwritable = class extends Error {
|
|
869
|
+
constructor(dir, cause) {
|
|
870
|
+
super(
|
|
871
|
+
`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.`,
|
|
872
|
+
{ cause }
|
|
873
|
+
);
|
|
874
|
+
this.dir = dir;
|
|
875
|
+
this.name = "RenderLockUnwritable";
|
|
876
|
+
}
|
|
877
|
+
dir;
|
|
878
|
+
};
|
|
879
|
+
function ensureLockDir(dir) {
|
|
880
|
+
if (mkdirSync(dir, { recursive: true }) !== void 0 && process.platform !== "win32") {
|
|
881
|
+
chmodSync(dir, 511);
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
var holderAlive = (holder) => sameProcess(holder.pid, holder.identity);
|
|
885
|
+
var sameRecord = (a, b) => a?.pid === b.pid && a.startedAt === b.startedAt && a.identity === b.identity;
|
|
886
|
+
function createExclusive(path, holder) {
|
|
887
|
+
try {
|
|
888
|
+
createFileAtomically(path, JSON.stringify(holder));
|
|
889
|
+
return true;
|
|
890
|
+
} catch (error) {
|
|
891
|
+
if (error.code === "EEXIST") return false;
|
|
892
|
+
throw error;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
var writerAbsent = (file, lockPath, marker) => existsSync(file) && !readHolder(file) && liveOtherOwners(lockPath, marker) === 0;
|
|
896
|
+
async function takeOver(path, holder, observed, marker, beforeReplace) {
|
|
897
|
+
const breakPath = `${path}.break`;
|
|
898
|
+
if (!createExclusive(breakPath, holder)) {
|
|
899
|
+
const breaker = readHolder(breakPath);
|
|
900
|
+
if (breaker ? holderAlive(breaker) : !writerAbsent(breakPath, path, marker)) return false;
|
|
901
|
+
throw new RenderLockStaleBreak(breakPath);
|
|
902
|
+
}
|
|
903
|
+
try {
|
|
904
|
+
await beforeReplace?.();
|
|
905
|
+
const stillStale = observed ? sameRecord(readHolder(path), observed) : writerAbsent(path, path, marker);
|
|
906
|
+
if (stillStale) removeIfPresent(path);
|
|
907
|
+
return createExclusive(path, holder);
|
|
908
|
+
} finally {
|
|
909
|
+
if (sameRecord(readHolder(breakPath), holder)) unlinkSync2(breakPath);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
async function claimSlot(path, holder, marker, beforeReplace) {
|
|
913
|
+
if (createExclusive(path, holder)) return true;
|
|
914
|
+
const current = readHolder(path);
|
|
915
|
+
if (current ? holderAlive(current) : !writerAbsent(path, path, marker)) return false;
|
|
916
|
+
return takeOver(path, holder, current, marker, beforeReplace);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
// src/utils/renderLock.ts
|
|
920
|
+
var RenderLockBusy = class extends Error {
|
|
921
|
+
constructor(holder, path) {
|
|
922
|
+
super(`Another render is running (${describeRenderLockHolder(holder, Date.now())})`);
|
|
923
|
+
this.holder = holder;
|
|
924
|
+
this.path = path;
|
|
925
|
+
this.name = "RenderLockBusy";
|
|
926
|
+
}
|
|
927
|
+
holder;
|
|
928
|
+
path;
|
|
929
|
+
};
|
|
930
|
+
var POLL_MS = 1e3;
|
|
931
|
+
var renderLockPath = () => hyperframesCacheDir("locks", "render.lock");
|
|
932
|
+
function renderLockDisabled(env = process.env) {
|
|
933
|
+
const value = env.HYPERFRAMES_RENDER_LOCK?.trim().toLowerCase();
|
|
934
|
+
return value === "off" || value === "0" || value === "false";
|
|
935
|
+
}
|
|
936
|
+
function describeRenderLockHolder(holder, now) {
|
|
937
|
+
if (!holder) return "holder unknown";
|
|
938
|
+
const seconds = Math.max(0, Math.round((now - holder.startedAt) / 1e3));
|
|
939
|
+
const running = seconds >= 60 ? `${Math.floor(seconds / 60)}m ${seconds % 60}s` : `${seconds}s`;
|
|
940
|
+
return `pid ${holder.pid}, project ${holder.project}, running ${running}`;
|
|
941
|
+
}
|
|
942
|
+
function pause(ms, signal) {
|
|
943
|
+
return new Promise((resolve4, reject) => {
|
|
944
|
+
if (signal?.aborted) return reject(signal.reason);
|
|
945
|
+
const onAbort = () => {
|
|
946
|
+
clearTimeout(timer);
|
|
947
|
+
reject(signal?.reason);
|
|
948
|
+
};
|
|
949
|
+
const timer = setTimeout(() => {
|
|
950
|
+
signal?.removeEventListener("abort", onAbort);
|
|
951
|
+
resolve4();
|
|
952
|
+
}, ms);
|
|
953
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
var sameWaitTarget = (a, b) => a?.pid === b?.pid && a?.startedAt === b?.startedAt;
|
|
957
|
+
async function acquireRenderLock(options) {
|
|
958
|
+
if (renderLockDisabled(options.env)) return () => {
|
|
959
|
+
};
|
|
960
|
+
const contender = prepareContender(options);
|
|
961
|
+
let waitingBehind;
|
|
962
|
+
let retriedVanished = false;
|
|
963
|
+
for (; ; ) {
|
|
964
|
+
options.signal?.throwIfAborted();
|
|
965
|
+
const releaseSlot = await claimOnce(contender);
|
|
966
|
+
if (releaseSlot) return releaseSlot;
|
|
967
|
+
const { path } = contender;
|
|
968
|
+
const current = readHolder(path);
|
|
969
|
+
retriedVanished = !current && !existsSync2(path) && !retriedVanished;
|
|
970
|
+
if (retriedVanished) continue;
|
|
971
|
+
if (!options.wait) throw new RenderLockBusy(current, path);
|
|
972
|
+
if (waitingBehind === void 0 || !sameWaitTarget(waitingBehind, current)) {
|
|
973
|
+
waitingBehind = current;
|
|
974
|
+
options.onWait?.(current, path);
|
|
975
|
+
}
|
|
976
|
+
await pause(options.pollMs ?? POLL_MS, options.signal);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
function prepareContender(options) {
|
|
980
|
+
const path = options.path ?? renderLockPath();
|
|
981
|
+
ensureLockDir(dirname3(path));
|
|
982
|
+
liveOtherOwners(path);
|
|
983
|
+
const pid = options.pid ?? process.pid;
|
|
984
|
+
const identity = startToken(pid);
|
|
985
|
+
return {
|
|
986
|
+
path,
|
|
987
|
+
holder: { pid, command: "render", startedAt: Date.now(), project: options.project, identity },
|
|
988
|
+
owner: { pid, identity },
|
|
989
|
+
claim: options.claim ?? ((lock, holder, marker) => claimSlot(lock, holder, marker, options.beforeReplace))
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
var notWritable = (error) => process.platform !== "win32" && ["EACCES", "EPERM"].includes(error.code ?? "");
|
|
993
|
+
async function claimOnce({ path, holder, owner, claim }) {
|
|
994
|
+
let marker;
|
|
995
|
+
try {
|
|
996
|
+
marker = writeOwnerMarker(path, owner);
|
|
997
|
+
} catch (error) {
|
|
998
|
+
throw notWritable(error) ? new RenderLockUnwritable(dirname3(path), error) : error;
|
|
999
|
+
}
|
|
1000
|
+
let held = false;
|
|
1001
|
+
try {
|
|
1002
|
+
held = await claim(path, holder, marker);
|
|
1003
|
+
} catch (error) {
|
|
1004
|
+
if (notWritable(error)) throw new RenderLockUnwritable(dirname3(path), error);
|
|
1005
|
+
if (!isHeldError(error)) throw error;
|
|
1006
|
+
} finally {
|
|
1007
|
+
if (!held) removeIfPresent(marker);
|
|
1008
|
+
}
|
|
1009
|
+
if (!held) return null;
|
|
1010
|
+
return () => {
|
|
1011
|
+
release(path, holder);
|
|
1012
|
+
removeIfPresent(marker);
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
// src/commands/render/renderSlot.ts
|
|
1017
|
+
async function acquireRenderSlot(plan, signal, lock = {}) {
|
|
1018
|
+
try {
|
|
1019
|
+
return await acquireRenderLock({
|
|
1020
|
+
project: plan.project.dir,
|
|
1021
|
+
wait: plan.waitForRenderSlot,
|
|
1022
|
+
signal,
|
|
1023
|
+
onWait: (holder, path) => console.error(
|
|
1024
|
+
c.warn(
|
|
1025
|
+
` Waiting for another render to finish (${describeRenderLockHolder(holder, Date.now())}). Renders run one at a time per user account; pass --no-wait to stop instead.`
|
|
1026
|
+
) + c.dim(`
|
|
1027
|
+
Lock: ${path}`)
|
|
1028
|
+
),
|
|
1029
|
+
...lock
|
|
1030
|
+
});
|
|
1031
|
+
} catch (error) {
|
|
1032
|
+
if (error instanceof RenderLockStaleBreak || error instanceof RenderLockUnwritable) {
|
|
1033
|
+
errorBox("The render slot cannot be taken", error.message);
|
|
1034
|
+
return failCommand(1, error);
|
|
1035
|
+
}
|
|
1036
|
+
if (!(error instanceof RenderLockBusy)) throw error;
|
|
1037
|
+
errorBox(
|
|
1038
|
+
"Another render is running for this user account",
|
|
1039
|
+
describeRenderLockHolder(error.holder, Date.now()),
|
|
1040
|
+
"Rerun without --no-wait to start when it finishes, or set HYPERFRAMES_RENDER_LOCK=off to render side by side. Set HYPERFRAMES_CACHE_DIR to a shared folder to share the slot across user accounts."
|
|
1041
|
+
);
|
|
1042
|
+
return failCommand(1, error);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
785
1046
|
// src/commands/render/execute.ts
|
|
786
|
-
import { readFileSync as
|
|
1047
|
+
import { readFileSync as readFileSync4 } from "fs";
|
|
787
1048
|
import { tmpdir } from "os";
|
|
788
1049
|
function renderLintContinuationHint(strictErrors) {
|
|
789
1050
|
return strictErrors ? " Continuing render despite lint warnings. Use --strict-all to block warnings." : " Continuing render despite lint issues. Use --strict to block errors.";
|
|
@@ -798,7 +1059,7 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
798
1059
|
let batchModule;
|
|
799
1060
|
let preparedBatch;
|
|
800
1061
|
if (plan.batchPath) {
|
|
801
|
-
batchModule = await import("./batchRender-
|
|
1062
|
+
batchModule = await import("./batchRender-5ZEQ6U4N.js");
|
|
802
1063
|
try {
|
|
803
1064
|
preparedBatch = batchModule.prepareBatchRender({
|
|
804
1065
|
batchPath: plan.batchPath,
|
|
@@ -820,6 +1081,19 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
820
1081
|
assertRenderActive(cancellation);
|
|
821
1082
|
await runResolutionPreflight(plan, dependencies.checkResolution);
|
|
822
1083
|
assertRenderActive(cancellation);
|
|
1084
|
+
const releaseSlot = await dependencies.acquireRenderSlot?.(plan, cancellation?.signal);
|
|
1085
|
+
try {
|
|
1086
|
+
assertRenderActive(cancellation);
|
|
1087
|
+
await executeHeldRender(plan, browserPath, variables, dependencies, cancellation, {
|
|
1088
|
+
batchModule,
|
|
1089
|
+
preparedBatch
|
|
1090
|
+
});
|
|
1091
|
+
} finally {
|
|
1092
|
+
releaseSlot?.();
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
async function executeHeldRender(plan, browserPath, variables, dependencies, cancellation, batch) {
|
|
1096
|
+
const { batchModule, preparedBatch } = batch;
|
|
823
1097
|
if (plan.batchPath && batchModule && preparedBatch) {
|
|
824
1098
|
await executeBatchRender(
|
|
825
1099
|
plan,
|
|
@@ -831,6 +1105,12 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
831
1105
|
);
|
|
832
1106
|
return;
|
|
833
1107
|
}
|
|
1108
|
+
reportSingleRenderNotes(plan, variables);
|
|
1109
|
+
const options = renderOptionsFromPlan(plan, browserPath, variables);
|
|
1110
|
+
const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
|
|
1111
|
+
await execute(plan.project.dir, plan.outputPath, options, cancellation);
|
|
1112
|
+
}
|
|
1113
|
+
function reportSingleRenderNotes(plan, variables) {
|
|
834
1114
|
if (variables && Object.keys(variables).length > 0) {
|
|
835
1115
|
const issues = validateVariablesAgainstProject(plan.renderTarget, variables);
|
|
836
1116
|
reportVariableIssues(issues, { strict: plan.strictVariables, quiet: plan.effectiveQuiet });
|
|
@@ -840,9 +1120,6 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
840
1120
|
c.dim(`ProRes ${plan.proresProfile} has no alpha channel: transparent areas render black.`)
|
|
841
1121
|
);
|
|
842
1122
|
}
|
|
843
|
-
const options = renderOptionsFromPlan(plan, browserPath, variables);
|
|
844
|
-
const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
|
|
845
|
-
await execute(plan.project.dir, plan.outputPath, options, cancellation);
|
|
846
1123
|
}
|
|
847
1124
|
function renderOptionsFromPlan(plan, browserPath, variables) {
|
|
848
1125
|
const options = {
|
|
@@ -899,7 +1176,7 @@ function assertRenderActive(cancellation) {
|
|
|
899
1176
|
cancellation?.signal.throwIfAborted();
|
|
900
1177
|
}
|
|
901
1178
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
902
|
-
const { checkDisk } = await import("./preflight-
|
|
1179
|
+
const { checkDisk } = await import("./preflight-CZUKW3CW.js");
|
|
903
1180
|
await (await import("./manager-SAXHANEY.js")).sweepKilledInstalls();
|
|
904
1181
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
905
1182
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
@@ -914,7 +1191,7 @@ async function ensureRenderBrowser(plan, signal) {
|
|
|
914
1191
|
if (plan.effectiveQuiet) {
|
|
915
1192
|
return (await ensureBrowser({ preferManagedChrome: true, signal })).executablePath;
|
|
916
1193
|
}
|
|
917
|
-
const clack = await import("./prompts-
|
|
1194
|
+
const clack = await import("./prompts-27EPTM64.js");
|
|
918
1195
|
browserSpinner = clack.spinner();
|
|
919
1196
|
browserSpinner.start("Checking browser...");
|
|
920
1197
|
const info = await ensureBrowser({
|
|
@@ -998,7 +1275,7 @@ async function runResolutionPreflight(plan, checkResolution) {
|
|
|
998
1275
|
if (!plan.outputResolution) return;
|
|
999
1276
|
let issue;
|
|
1000
1277
|
try {
|
|
1001
|
-
issue = await checkResolution(
|
|
1278
|
+
issue = await checkResolution(readFileSync4(plan.renderTarget, "utf8"), plan.outputResolution, {
|
|
1002
1279
|
alphaRequested: plan.format === "webm" || plan.format === "mov" || plan.format === "png-sequence",
|
|
1003
1280
|
hdrRequested: plan.hdrMode === "force-hdr",
|
|
1004
1281
|
aspectAgnostic: plan.outputResolutionAspectAgnostic
|
|
@@ -1080,7 +1357,7 @@ async function executeBatchRender(plan, browserPath, batchModule, preparedBatch,
|
|
|
1080
1357
|
|
|
1081
1358
|
// src/commands/render.ts
|
|
1082
1359
|
import { freemem, tmpdir as tmpdir2 } from "os";
|
|
1083
|
-
import { resolve as resolve3, dirname as
|
|
1360
|
+
import { resolve as resolve3, dirname as dirname4, join as join3, basename as basename2 } from "path";
|
|
1084
1361
|
import { execFileSync as execFileSync2, spawn } from "child_process";
|
|
1085
1362
|
|
|
1086
1363
|
// src/utils/webmAlphaCheck.ts
|
|
@@ -1675,6 +1952,11 @@ var render_default = defineCommand({
|
|
|
1675
1952
|
description: "Allow output with structured capture-readiness warnings (default). Use --no-best-effort to fail on missing or unready media.",
|
|
1676
1953
|
default: true
|
|
1677
1954
|
},
|
|
1955
|
+
wait: {
|
|
1956
|
+
type: "boolean",
|
|
1957
|
+
description: "Wait while another render of this user account runs, then start (default): renders side by side starve each other. Use --no-wait to fail at once instead. Env: HYPERFRAMES_RENDER_LOCK=off lets renders run side by side; HYPERFRAMES_CACHE_DIR set to a shared folder shares the slot across user accounts.",
|
|
1958
|
+
default: true
|
|
1959
|
+
},
|
|
1678
1960
|
strict: {
|
|
1679
1961
|
type: "boolean",
|
|
1680
1962
|
description: "Fail render on lint errors",
|
|
@@ -1779,7 +2061,8 @@ var render_default = defineCommand({
|
|
|
1779
2061
|
{
|
|
1780
2062
|
renderDocker,
|
|
1781
2063
|
renderLocal,
|
|
1782
|
-
checkResolution: checkRenderResolutionPreflight
|
|
2064
|
+
checkResolution: checkRenderResolutionPreflight,
|
|
2065
|
+
acquireRenderSlot
|
|
1783
2066
|
},
|
|
1784
2067
|
cancellation
|
|
1785
2068
|
);
|
|
@@ -1863,8 +2146,8 @@ function ensureDockerImage(version, platform, quiet) {
|
|
|
1863
2146
|
}
|
|
1864
2147
|
if (!quiet) console.log(c.dim(` Building Docker image: ${tag} (${platform})...`));
|
|
1865
2148
|
const dockerfilePath = resolveDockerfilePath();
|
|
1866
|
-
const tmpDir = mkdtempSync(
|
|
1867
|
-
|
|
2149
|
+
const tmpDir = mkdtempSync(join3(tmpdir2(), "hyperframes-docker-"));
|
|
2150
|
+
writeFileSync2(join3(tmpDir, "Dockerfile"), readFileSync5(dockerfilePath));
|
|
1868
2151
|
const targetArch = platform === "linux/arm64" ? "arm64" : "amd64";
|
|
1869
2152
|
try {
|
|
1870
2153
|
execFileSync2(
|
|
@@ -1935,8 +2218,8 @@ async function renderDocker(projectDir, outputPath, options) {
|
|
|
1935
2218
|
errorBox(failure.title, failure.message, failure.hint);
|
|
1936
2219
|
failCommand();
|
|
1937
2220
|
}
|
|
1938
|
-
const outputDir =
|
|
1939
|
-
const outputFilename =
|
|
2221
|
+
const outputDir = dirname4(outputPath);
|
|
2222
|
+
const outputFilename = basename2(outputPath);
|
|
1940
2223
|
const dockerArgs = buildDockerRunArgs({
|
|
1941
2224
|
imageTag,
|
|
1942
2225
|
projectDir: resolve3(projectDir),
|
|
@@ -2076,7 +2359,7 @@ async function executeLocalRender(projectDir, outputPath, options, cancellation)
|
|
|
2076
2359
|
}
|
|
2077
2360
|
const preflight = await runEnvironmentChecks({
|
|
2078
2361
|
projectDir,
|
|
2079
|
-
diskPaths: [tmpdir2(),
|
|
2362
|
+
diskPaths: [tmpdir2(), dirname4(outputPath)],
|
|
2080
2363
|
browserPath: options.browserPath,
|
|
2081
2364
|
includeBrowser: true,
|
|
2082
2365
|
includeDisk: true,
|
|
@@ -2826,10 +3109,10 @@ function readOutputFootprint(outputPath) {
|
|
|
2826
3109
|
const stat = statSync2(outputPath);
|
|
2827
3110
|
if (!stat.isDirectory()) return { fileSize: formatBytes(stat.size), isDirectory: false };
|
|
2828
3111
|
let total = 0;
|
|
2829
|
-
for (const entry of
|
|
3112
|
+
for (const entry of readdirSync2(outputPath, { withFileTypes: true })) {
|
|
2830
3113
|
if (!entry.isFile()) continue;
|
|
2831
3114
|
try {
|
|
2832
|
-
total += statSync2(
|
|
3115
|
+
total += statSync2(join3(outputPath, entry.name)).size;
|
|
2833
3116
|
} catch {
|
|
2834
3117
|
}
|
|
2835
3118
|
}
|