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
|
@@ -0,0 +1,168 @@
|
|
|
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
|
+
jsonArg,
|
|
9
|
+
num,
|
|
10
|
+
runMeasure
|
|
11
|
+
} from "./chunk-GY7D2OEQ.js";
|
|
12
|
+
import {
|
|
13
|
+
Fix
|
|
14
|
+
} from "./chunk-T4FLVFQE.js";
|
|
15
|
+
import {
|
|
16
|
+
resolveCloudAuthHeaders,
|
|
17
|
+
resolveCloudBaseUrl
|
|
18
|
+
} from "./chunk-BY7PZB6H.js";
|
|
19
|
+
import "./chunk-ZFZXGZTX.js";
|
|
20
|
+
import "./chunk-ZNHWAGMH.js";
|
|
21
|
+
import {
|
|
22
|
+
NetworkFailure,
|
|
23
|
+
fetchExplained
|
|
24
|
+
} from "./chunk-D3UCUI7G.js";
|
|
25
|
+
import "./chunk-BVAPHHMQ.js";
|
|
26
|
+
import {
|
|
27
|
+
defineCommand
|
|
28
|
+
} from "./chunk-DL4OD7IA.js";
|
|
29
|
+
import "./chunk-S3S4TGEH.js";
|
|
30
|
+
import "./chunk-HOCC4J5C.js";
|
|
31
|
+
import "./chunk-6ZRGEVAM.js";
|
|
32
|
+
import "./chunk-Z5J67X44.js";
|
|
33
|
+
import "./chunk-5S7W3TUO.js";
|
|
34
|
+
import "./chunk-D3MUHMFG.js";
|
|
35
|
+
import "./chunk-53UV2EUT.js";
|
|
36
|
+
import "./chunk-YWRUQ7XZ.js";
|
|
37
|
+
import "./chunk-N7ZKI2CE.js";
|
|
38
|
+
import "./chunk-MEJH7VEA.js";
|
|
39
|
+
import "./chunk-EAO46VPT.js";
|
|
40
|
+
import "./chunk-VC76R6W2.js";
|
|
41
|
+
import "./chunk-OFQWTKPW.js";
|
|
42
|
+
import "./chunk-RQVDTPGD.js";
|
|
43
|
+
import "./chunk-3GXQPCJC.js";
|
|
44
|
+
import "./chunk-TK7THLRO.js";
|
|
45
|
+
import "./chunk-FXMKHHPO.js";
|
|
46
|
+
import "./chunk-X6JUUQCM.js";
|
|
47
|
+
import "./chunk-KGPLIH7B.js";
|
|
48
|
+
import "./chunk-K4MJX7SR.js";
|
|
49
|
+
import "./chunk-WE42NVH7.js";
|
|
50
|
+
import "./chunk-CZ5NNJ6H.js";
|
|
51
|
+
import "./chunk-WVRAFHJU.js";
|
|
52
|
+
import "./chunk-CZGHFATT.js";
|
|
53
|
+
import "./chunk-HYRPH6LL.js";
|
|
54
|
+
import "./chunk-OHQRQE7F.js";
|
|
55
|
+
import "./chunk-CUCP7FKH.js";
|
|
56
|
+
import "./chunk-FR7YBU3H.js";
|
|
57
|
+
import "./chunk-DPVXBVLL.js";
|
|
58
|
+
import "./chunk-GWTIFRF5.js";
|
|
59
|
+
import "./chunk-2RY2LWAA.js";
|
|
60
|
+
import "./chunk-EPQC3FGZ.js";
|
|
61
|
+
import "./chunk-WC4MTXGN.js";
|
|
62
|
+
import "./chunk-FBN2M2HK.js";
|
|
63
|
+
import "./chunk-766MOTIZ.js";
|
|
64
|
+
import "./chunk-IO3BC2ZK.js";
|
|
65
|
+
import "./chunk-BR2JQQC5.js";
|
|
66
|
+
import "./chunk-CKEOCCMK.js";
|
|
67
|
+
import "./chunk-ISN5GRYI.js";
|
|
68
|
+
import "./chunk-ADVVQX4I.js";
|
|
69
|
+
import "./chunk-66W5IWLO.js";
|
|
70
|
+
import "./chunk-FYZFURBN.js";
|
|
71
|
+
import "./chunk-QBXDU24O.js";
|
|
72
|
+
import "./chunk-FQFWGAON.js";
|
|
73
|
+
import "./chunk-E63BDV4Z.js";
|
|
74
|
+
import "./chunk-G7VEYUZ2.js";
|
|
75
|
+
import "./chunk-XT6MXC7A.js";
|
|
76
|
+
import "./chunk-7KDQAD2W.js";
|
|
77
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
78
|
+
|
|
79
|
+
// src/heygen/avatars.ts
|
|
80
|
+
var PAGE_LIMIT = 50;
|
|
81
|
+
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
82
|
+
var text = (v) => typeof v === "string" && v ? v : void 0;
|
|
83
|
+
function toLook(item) {
|
|
84
|
+
if (!isRecord(item) || typeof item.id !== "string" || typeof item.name !== "string") return null;
|
|
85
|
+
const look = { avatar_id: item.id, name: item.name };
|
|
86
|
+
const optional = {
|
|
87
|
+
avatar_type: text(item.avatar_type),
|
|
88
|
+
group_id: text(item.group_id),
|
|
89
|
+
gender: text(item.gender),
|
|
90
|
+
status: text(item.status),
|
|
91
|
+
default_voice_id: text(item.default_voice_id),
|
|
92
|
+
preview_image_url: text(item.preview_image_url)
|
|
93
|
+
};
|
|
94
|
+
for (const [key, value] of Object.entries(optional))
|
|
95
|
+
if (value) Object.assign(look, { [key]: value });
|
|
96
|
+
return look;
|
|
97
|
+
}
|
|
98
|
+
function pageOf(body) {
|
|
99
|
+
const page = isRecord(body) && isRecord(body.data) && !("has_more" in body) ? body.data : body;
|
|
100
|
+
if (!isRecord(page) || !Array.isArray(page.data)) return null;
|
|
101
|
+
return { items: page.data, next: page.has_more === true ? text(page.next_token) : void 0 };
|
|
102
|
+
}
|
|
103
|
+
async function fetchPage(auth, limit, token) {
|
|
104
|
+
const url = new URL("/v3/avatars/looks", resolveCloudBaseUrl());
|
|
105
|
+
url.searchParams.set("ownership", "private");
|
|
106
|
+
url.searchParams.set("limit", String(limit));
|
|
107
|
+
if (token) url.searchParams.set("token", token);
|
|
108
|
+
const res = await fetchExplained(url.toString(), {
|
|
109
|
+
headers: { ...auth, accept: "application/json" },
|
|
110
|
+
signal: AbortSignal.timeout(3e4)
|
|
111
|
+
}).catch((err) => {
|
|
112
|
+
if (err instanceof NetworkFailure) throw new Fix(err.message, err.hint);
|
|
113
|
+
throw new Fix(
|
|
114
|
+
`no answer from HeyGen for its avatars (${err instanceof Error ? err.message : String(err)})`,
|
|
115
|
+
"run the same command again"
|
|
116
|
+
);
|
|
117
|
+
});
|
|
118
|
+
if (!res.ok)
|
|
119
|
+
throw new Fix(
|
|
120
|
+
`HeyGen ${res.status} listing its avatars`,
|
|
121
|
+
res.status === 401 || res.status === 403 ? "npx hyperframes auth login" : "run the same command again"
|
|
122
|
+
);
|
|
123
|
+
const page = pageOf(await res.json().catch(() => null));
|
|
124
|
+
if (!page)
|
|
125
|
+
throw new Fix("HeyGen answered its avatars with no list", "run the same command again");
|
|
126
|
+
return page;
|
|
127
|
+
}
|
|
128
|
+
async function ownAvatarLooks(limit) {
|
|
129
|
+
const auth = await resolveCloudAuthHeaders().catch((err) => {
|
|
130
|
+
if (err instanceof NetworkFailure) throw new Fix(err.message, err.hint);
|
|
131
|
+
throw new Fix("no HeyGen sign-in on this machine", "npx hyperframes auth login");
|
|
132
|
+
});
|
|
133
|
+
const looks = [];
|
|
134
|
+
let token;
|
|
135
|
+
do {
|
|
136
|
+
const page = await fetchPage(auth, Math.min(PAGE_LIMIT, limit - looks.length), token);
|
|
137
|
+
for (const item of page.items) {
|
|
138
|
+
const look = toLook(item);
|
|
139
|
+
if (look && looks.length < limit) looks.push(look);
|
|
140
|
+
}
|
|
141
|
+
token = page.next;
|
|
142
|
+
} while (token && looks.length < limit);
|
|
143
|
+
return looks;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// src/commands/media-use/avatars.ts
|
|
147
|
+
var examples = [
|
|
148
|
+
["The avatar looks the film's own account can present with", "hyperframes media-use avatars"]
|
|
149
|
+
];
|
|
150
|
+
var avatars_default = defineCommand({
|
|
151
|
+
meta: {
|
|
152
|
+
name: "avatars",
|
|
153
|
+
description: "List the avatar looks on the HyperFrames account that makes the film, for --avatar in `generate --type avatar`. Never use `heygen avatar list` for this: that is a separate sign-in and can be another account"
|
|
154
|
+
},
|
|
155
|
+
args: {
|
|
156
|
+
limit: { type: "string", description: "How many to list (default 20)" },
|
|
157
|
+
json: jsonArg
|
|
158
|
+
},
|
|
159
|
+
async run({ args }) {
|
|
160
|
+
await runMeasure(async () => ({
|
|
161
|
+
avatars: await ownAvatarLooks(num(args.limit, "--limit", 20))
|
|
162
|
+
}));
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
export {
|
|
166
|
+
avatars_default as default,
|
|
167
|
+
examples
|
|
168
|
+
};
|
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
skillsCheckDue
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2SYOEZ2Z.js";
|
|
10
10
|
import {
|
|
11
11
|
updateCheckDue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
13
13
|
import "./chunk-BR2JQQC5.js";
|
|
14
14
|
import {
|
|
15
15
|
readConfig,
|
|
16
16
|
readConfigFresh,
|
|
17
17
|
writeConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CKEOCCMK.js";
|
|
19
19
|
import "./chunk-ISN5GRYI.js";
|
|
20
20
|
import "./chunk-ADVVQX4I.js";
|
|
21
21
|
import "./chunk-66W5IWLO.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-FYZFURBN.js";
|
|
23
23
|
import "./chunk-QBXDU24O.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-FQFWGAON.js";
|
|
25
25
|
import "./chunk-E63BDV4Z.js";
|
|
26
26
|
import "./chunk-G7VEYUZ2.js";
|
|
27
27
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshSkillsCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2SYOEZ2Z.js";
|
|
10
10
|
import {
|
|
11
11
|
checkForUpdate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
13
13
|
import "./chunk-BR2JQQC5.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CKEOCCMK.js";
|
|
15
15
|
import "./chunk-ISN5GRYI.js";
|
|
16
16
|
import "./chunk-ADVVQX4I.js";
|
|
17
17
|
import "./chunk-66W5IWLO.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FYZFURBN.js";
|
|
19
19
|
import "./chunk-QBXDU24O.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-FQFWGAON.js";
|
|
21
21
|
import "./chunk-E63BDV4Z.js";
|
|
22
22
|
import "./chunk-G7VEYUZ2.js";
|
|
23
23
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -8,30 +8,30 @@ import {
|
|
|
8
8
|
loadProjectVariableSchema,
|
|
9
9
|
reportVariableIssues,
|
|
10
10
|
validateVariablesAgainstSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WXYV47JX.js";
|
|
12
12
|
import "./chunk-ZBAF6L74.js";
|
|
13
13
|
import {
|
|
14
14
|
makeOutputFolder
|
|
15
15
|
} from "./chunk-3S27CPV7.js";
|
|
16
16
|
import {
|
|
17
17
|
errorBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-M3JU24AI.js";
|
|
19
19
|
import {
|
|
20
20
|
readJsonFileText
|
|
21
21
|
} from "./chunk-EHZESMRB.js";
|
|
22
22
|
import {
|
|
23
23
|
c
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-HOCC4J5C.js";
|
|
25
|
+
import "./chunk-N7ZKI2CE.js";
|
|
26
26
|
import "./chunk-MEJH7VEA.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EAO46VPT.js";
|
|
28
28
|
import "./chunk-VC76R6W2.js";
|
|
29
29
|
import "./chunk-OFQWTKPW.js";
|
|
30
30
|
import "./chunk-RQVDTPGD.js";
|
|
31
31
|
import "./chunk-TK7THLRO.js";
|
|
32
32
|
import "./chunk-FXMKHHPO.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-OHQRQE7F.js";
|
|
34
|
+
import "./chunk-CUCP7FKH.js";
|
|
35
35
|
import "./chunk-FR7YBU3H.js";
|
|
36
36
|
import "./chunk-DPVXBVLL.js";
|
|
37
37
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -42,7 +42,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
42
42
|
import {
|
|
43
43
|
failCommand
|
|
44
44
|
} from "./chunk-66W5IWLO.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-FYZFURBN.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
48
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-SWC3QIEH.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveProject
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AOJBIFKU.js";
|
|
19
|
+
import "./chunk-M3JU24AI.js";
|
|
20
|
+
import "./chunk-O4ZD7TVR.js";
|
|
21
|
+
import "./chunk-XMOWL46H.js";
|
|
22
22
|
import "./chunk-PXVQOMKL.js";
|
|
23
23
|
import "./chunk-MCDNAIFF.js";
|
|
24
24
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -29,14 +29,14 @@ import "./chunk-S3S4TGEH.js";
|
|
|
29
29
|
import "./chunk-54HJ63Q2.js";
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HOCC4J5C.js";
|
|
33
33
|
import "./chunk-D3MUHMFG.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-53UV2EUT.js";
|
|
35
|
+
import "./chunk-N7ZKI2CE.js";
|
|
36
36
|
import "./chunk-MEJH7VEA.js";
|
|
37
37
|
import {
|
|
38
38
|
parseHTMLContent
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EAO46VPT.js";
|
|
40
40
|
import "./chunk-VC76R6W2.js";
|
|
41
41
|
import {
|
|
42
42
|
isSafePath,
|
|
@@ -46,17 +46,17 @@ import "./chunk-RQVDTPGD.js";
|
|
|
46
46
|
import "./chunk-TK7THLRO.js";
|
|
47
47
|
import "./chunk-FXMKHHPO.js";
|
|
48
48
|
import "./chunk-LAGZGKKN.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-CZGHFATT.js";
|
|
49
|
+
import "./chunk-CZ5NNJ6H.js";
|
|
51
50
|
import "./chunk-WVRAFHJU.js";
|
|
51
|
+
import "./chunk-CZGHFATT.js";
|
|
52
52
|
import "./chunk-HYRPH6LL.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-OHQRQE7F.js";
|
|
54
54
|
import {
|
|
55
55
|
decodeAuthoredAttribute,
|
|
56
56
|
decodedUrlPath,
|
|
57
57
|
scanHtmlOpeningTags,
|
|
58
58
|
walkCompositionDescendants
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CUCP7FKH.js";
|
|
60
60
|
import "./chunk-FR7YBU3H.js";
|
|
61
61
|
import "./chunk-DPVXBVLL.js";
|
|
62
62
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -65,15 +65,15 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
65
65
|
import "./chunk-WC4MTXGN.js";
|
|
66
66
|
import "./chunk-FBN2M2HK.js";
|
|
67
67
|
import "./chunk-BR2JQQC5.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-CKEOCCMK.js";
|
|
69
69
|
import "./chunk-ISN5GRYI.js";
|
|
70
70
|
import "./chunk-ADVVQX4I.js";
|
|
71
71
|
import {
|
|
72
72
|
failCommand
|
|
73
73
|
} from "./chunk-66W5IWLO.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-FYZFURBN.js";
|
|
75
75
|
import "./chunk-QBXDU24O.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-FQFWGAON.js";
|
|
77
77
|
import "./chunk-E63BDV4Z.js";
|
|
78
78
|
import "./chunk-G7VEYUZ2.js";
|
|
79
79
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -269,9 +269,15 @@ function report(file, result, json) {
|
|
|
269
269
|
)
|
|
270
270
|
);
|
|
271
271
|
}
|
|
272
|
+
function answerNoBeats(rel, json) {
|
|
273
|
+
if (json) {
|
|
274
|
+
console.log(JSON.stringify({ ok: true, track: rel, file: null, count: 0, bpm: null }, null, 2));
|
|
275
|
+
} else {
|
|
276
|
+
console.log(c.dim(`No beats in ${rel}; nothing written.`));
|
|
277
|
+
}
|
|
278
|
+
}
|
|
272
279
|
async function analyzeFile(audioPath, json) {
|
|
273
280
|
const result = await analyzeMusicFromSignal(await decode(audioPath));
|
|
274
|
-
if (result.beatTimes.length === 0) fail(`No beats detected in ${audioPath}.`);
|
|
275
281
|
if (json) {
|
|
276
282
|
console.log(
|
|
277
283
|
JSON.stringify(
|
|
@@ -288,6 +294,10 @@ async function analyzeFile(audioPath, json) {
|
|
|
288
294
|
);
|
|
289
295
|
return;
|
|
290
296
|
}
|
|
297
|
+
if (result.beatTimes.length === 0) {
|
|
298
|
+
console.log(c.dim(`No beats in ${audioPath}.`));
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
291
301
|
console.log(
|
|
292
302
|
c.success(
|
|
293
303
|
`\u2713 ${result.beatTimes.length} beats in ${audioPath} (bpm ${result.bpm ?? "?"}, ${result.bpmConfidence})`
|
|
@@ -322,9 +332,7 @@ var beats_default = defineCommand({
|
|
|
322
332
|
const { rel, audioPath } = target;
|
|
323
333
|
if (!args.json) console.log(c.dim(`Analyzing ${rel}\u2026`));
|
|
324
334
|
const result = await analyzeMusicFromSignal(await decode(audioPath));
|
|
325
|
-
if (result.beatTimes.length === 0)
|
|
326
|
-
fail(`No beats detected in ${rel} \u2014 nothing written. (Track may be silent/ambient.)`);
|
|
327
|
-
}
|
|
335
|
+
if (result.beatTimes.length === 0) return answerNoBeats(rel, Boolean(args.json));
|
|
328
336
|
const outPath = join(project.dir, "beats", `${rel}.json`);
|
|
329
337
|
if (!isSafePath(project.dir, outPath))
|
|
330
338
|
fail(`Beat file path resolves outside the project: ${rel}`);
|
|
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
spinner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LISUH6KH.js";
|
|
10
10
|
import {
|
|
11
11
|
loadProducer
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NBUPR3ZF.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProject
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AOJBIFKU.js";
|
|
16
16
|
import {
|
|
17
17
|
errorBox,
|
|
18
18
|
formatBytes,
|
|
19
19
|
formatDuration
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-M3JU24AI.js";
|
|
21
|
+
import "./chunk-O4ZD7TVR.js";
|
|
22
|
+
import "./chunk-XMOWL46H.js";
|
|
23
23
|
import "./chunk-PXVQOMKL.js";
|
|
24
24
|
import "./chunk-MCDNAIFF.js";
|
|
25
25
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -30,20 +30,20 @@ import "./chunk-S3S4TGEH.js";
|
|
|
30
30
|
import "./chunk-54HJ63Q2.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HOCC4J5C.js";
|
|
34
34
|
import {
|
|
35
35
|
fpsToFfmpegArg
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
37
37
|
import "./chunk-MEJH7VEA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-EAO46VPT.js";
|
|
39
39
|
import "./chunk-VC76R6W2.js";
|
|
40
40
|
import "./chunk-OFQWTKPW.js";
|
|
41
41
|
import "./chunk-RQVDTPGD.js";
|
|
42
42
|
import "./chunk-TK7THLRO.js";
|
|
43
43
|
import "./chunk-FXMKHHPO.js";
|
|
44
44
|
import "./chunk-LAGZGKKN.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-OHQRQE7F.js";
|
|
46
|
+
import "./chunk-CUCP7FKH.js";
|
|
47
47
|
import "./chunk-FR7YBU3H.js";
|
|
48
48
|
import "./chunk-DPVXBVLL.js";
|
|
49
49
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -53,9 +53,9 @@ import "./chunk-WC4MTXGN.js";
|
|
|
53
53
|
import "./chunk-FBN2M2HK.js";
|
|
54
54
|
import {
|
|
55
55
|
withMeta
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
57
57
|
import "./chunk-BR2JQQC5.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-CKEOCCMK.js";
|
|
59
59
|
import "./chunk-ISN5GRYI.js";
|
|
60
60
|
import "./chunk-ADVVQX4I.js";
|
|
61
61
|
import {
|
|
@@ -63,9 +63,9 @@ import {
|
|
|
63
63
|
failUsage,
|
|
64
64
|
setCommandExitCode
|
|
65
65
|
} from "./chunk-66W5IWLO.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-FYZFURBN.js";
|
|
67
67
|
import "./chunk-QBXDU24O.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-FQFWGAON.js";
|
|
69
69
|
import "./chunk-E63BDV4Z.js";
|
|
70
70
|
import "./chunk-G7VEYUZ2.js";
|
|
71
71
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -5,31 +5,81 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
CheckoutError,
|
|
8
9
|
addonBlocks,
|
|
10
|
+
checkoutSkill,
|
|
9
11
|
createCheckout,
|
|
10
12
|
money,
|
|
11
13
|
pageUrl,
|
|
12
14
|
readOffer,
|
|
13
15
|
readPlan
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-NLEIM52W.js";
|
|
17
|
+
import "./chunk-BY7PZB6H.js";
|
|
16
18
|
import {
|
|
17
19
|
openBrowser
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZFZXGZTX.js";
|
|
21
|
+
import "./chunk-PA27AW3Y.js";
|
|
22
|
+
import "./chunk-XT7X6QCP.js";
|
|
23
|
+
import "./chunk-5YPMCCCA.js";
|
|
24
|
+
import "./chunk-A4ZTSQLW.js";
|
|
25
|
+
import "./chunk-HVW7ABXD.js";
|
|
26
|
+
import "./chunk-VD5G4Y6U.js";
|
|
27
|
+
import "./chunk-JHOCK3DG.js";
|
|
28
|
+
import "./chunk-K5CK4G75.js";
|
|
29
|
+
import "./chunk-7LQVFIO4.js";
|
|
30
|
+
import "./chunk-AWDFDFI3.js";
|
|
31
|
+
import "./chunk-P6LJ4Y32.js";
|
|
32
|
+
import "./chunk-D3UCUI7G.js";
|
|
33
|
+
import "./chunk-T2WJO4XM.js";
|
|
34
|
+
import {
|
|
35
|
+
trackBillingCheckoutFailed,
|
|
36
|
+
trackBillingWaitTimeout
|
|
37
|
+
} from "./chunk-O4ZD7TVR.js";
|
|
38
|
+
import "./chunk-XMOWL46H.js";
|
|
39
|
+
import "./chunk-PXVQOMKL.js";
|
|
40
|
+
import "./chunk-MCDNAIFF.js";
|
|
19
41
|
import "./chunk-BVAPHHMQ.js";
|
|
20
42
|
import {
|
|
21
43
|
defineCommand
|
|
22
44
|
} from "./chunk-DL4OD7IA.js";
|
|
23
45
|
import "./chunk-S3S4TGEH.js";
|
|
46
|
+
import "./chunk-TABWG4IT.js";
|
|
47
|
+
import "./chunk-54HJ63Q2.js";
|
|
24
48
|
import {
|
|
25
49
|
c
|
|
26
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-HOCC4J5C.js";
|
|
51
|
+
import "./chunk-YWRUQ7XZ.js";
|
|
52
|
+
import "./chunk-N7ZKI2CE.js";
|
|
53
|
+
import "./chunk-MEJH7VEA.js";
|
|
54
|
+
import "./chunk-EAO46VPT.js";
|
|
55
|
+
import "./chunk-VC76R6W2.js";
|
|
56
|
+
import "./chunk-OFQWTKPW.js";
|
|
57
|
+
import "./chunk-RQVDTPGD.js";
|
|
58
|
+
import "./chunk-TK7THLRO.js";
|
|
59
|
+
import "./chunk-FXMKHHPO.js";
|
|
60
|
+
import "./chunk-LAGZGKKN.js";
|
|
61
|
+
import "./chunk-OHQRQE7F.js";
|
|
62
|
+
import "./chunk-CUCP7FKH.js";
|
|
63
|
+
import "./chunk-FR7YBU3H.js";
|
|
64
|
+
import "./chunk-DPVXBVLL.js";
|
|
65
|
+
import "./chunk-GWTIFRF5.js";
|
|
66
|
+
import "./chunk-2RY2LWAA.js";
|
|
67
|
+
import "./chunk-EPQC3FGZ.js";
|
|
68
|
+
import "./chunk-WC4MTXGN.js";
|
|
69
|
+
import "./chunk-FBN2M2HK.js";
|
|
70
|
+
import "./chunk-BR2JQQC5.js";
|
|
71
|
+
import "./chunk-CKEOCCMK.js";
|
|
72
|
+
import "./chunk-ISN5GRYI.js";
|
|
73
|
+
import "./chunk-ADVVQX4I.js";
|
|
27
74
|
import {
|
|
28
|
-
failCommand
|
|
75
|
+
failCommand,
|
|
76
|
+
setCommandExitCode
|
|
29
77
|
} from "./chunk-66W5IWLO.js";
|
|
30
78
|
import {
|
|
31
79
|
isUnattended
|
|
32
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-FYZFURBN.js";
|
|
81
|
+
import "./chunk-QBXDU24O.js";
|
|
82
|
+
import "./chunk-FQFWGAON.js";
|
|
33
83
|
import "./chunk-E63BDV4Z.js";
|
|
34
84
|
import "./chunk-G7VEYUZ2.js";
|
|
35
85
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -49,26 +99,34 @@ function priceLine(kind, offer, missing, needed) {
|
|
|
49
99
|
const price = money(blocks * a.unitAmount, a.currency);
|
|
50
100
|
return `${needed ? `This run needs ${needed.toLocaleString("en-US")} credits. ` : ""}${credits} add-on credits: ${price}`;
|
|
51
101
|
}
|
|
52
|
-
|
|
102
|
+
var WAIT_TIMEOUT_EXIT = 124;
|
|
103
|
+
async function openCheckout(kind, offer, missing, signal, source) {
|
|
104
|
+
if (isUnattended()) {
|
|
105
|
+
console.log(`Checkout link: ${c.accent(await createCheckout(kind, offer, missing, source))}`);
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
109
|
+
try {
|
|
110
|
+
await rl.question("Press Enter to pay ", { signal });
|
|
111
|
+
} finally {
|
|
112
|
+
rl.close();
|
|
113
|
+
}
|
|
114
|
+
await openBrowser(await createCheckout(kind, offer, missing, source));
|
|
115
|
+
}
|
|
116
|
+
async function offerCheckout(kind, before, signal, needed, source) {
|
|
53
117
|
const offer = await readOffer();
|
|
54
118
|
const missing = needed ? needed - (before?.credits ?? 0) : void 0;
|
|
55
119
|
const line = priceLine(kind, offer, missing, needed);
|
|
56
120
|
if (line) console.log(line);
|
|
57
121
|
try {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
63
|
-
try {
|
|
64
|
-
await rl.question("Press Enter to pay ", { signal });
|
|
65
|
-
} finally {
|
|
66
|
-
rl.close();
|
|
67
|
-
}
|
|
68
|
-
await openBrowser(await createCheckout(kind, offer, missing));
|
|
122
|
+
await openCheckout(kind, offer, missing, signal, source);
|
|
123
|
+
return null;
|
|
69
124
|
} catch (error) {
|
|
70
|
-
if (signal.aborted) return;
|
|
125
|
+
if (signal.aborted) return null;
|
|
71
126
|
console.error(c.error(error instanceof Error ? error.message : String(error)));
|
|
127
|
+
if (!(error instanceof CheckoutError)) return null;
|
|
128
|
+
trackBillingCheckoutFailed({ reason: error.reason });
|
|
129
|
+
return error;
|
|
72
130
|
}
|
|
73
131
|
}
|
|
74
132
|
var billing_default = defineCommand({
|
|
@@ -88,6 +146,10 @@ var billing_default = defineCommand({
|
|
|
88
146
|
description: "The feature that sent the person here, so a purchase is credited to it"
|
|
89
147
|
},
|
|
90
148
|
session: { type: "string", description: "The run to credit the purchase to (with --feature)" },
|
|
149
|
+
skill: {
|
|
150
|
+
type: "string",
|
|
151
|
+
description: "The skill that sent the person here, sent with the pricing link (default: the project's own skill)"
|
|
152
|
+
},
|
|
91
153
|
timeout: { type: "string", description: "Seconds to wait (default 600)" }
|
|
92
154
|
},
|
|
93
155
|
// fallow-ignore-next-line complexity
|
|
@@ -98,6 +160,7 @@ var billing_default = defineCommand({
|
|
|
98
160
|
failCommand();
|
|
99
161
|
}
|
|
100
162
|
const needed = Number(args.needed) || void 0;
|
|
163
|
+
const skill = checkoutSkill(args.skill);
|
|
101
164
|
const before = await readPlan();
|
|
102
165
|
const done = (p) => action === "subscribe" ? !!p && p.plan !== "none" : !!p && p.plan !== "none" && p.credits >= (needed ?? (before?.credits ?? 0) + 1);
|
|
103
166
|
if (done(before) && (action === "subscribe" || needed)) {
|
|
@@ -108,21 +171,33 @@ var billing_default = defineCommand({
|
|
|
108
171
|
needed,
|
|
109
172
|
tool: args.tool,
|
|
110
173
|
feature: args.feature,
|
|
111
|
-
rs: args.session
|
|
174
|
+
rs: args.session,
|
|
175
|
+
skill
|
|
112
176
|
});
|
|
113
177
|
console.log(`${action === "subscribe" ? "Plans" : "Credits"} page: ${c.accent(url)}`);
|
|
114
178
|
await openBrowser(url);
|
|
115
179
|
const deadline = Date.now() + (Number(args.timeout) || 600) * 1e3;
|
|
116
180
|
const stop = new AbortController();
|
|
181
|
+
const giveUp = new AbortController();
|
|
117
182
|
const waiting = (async () => {
|
|
118
|
-
while (Date.now() < deadline) {
|
|
183
|
+
while (Date.now() < deadline && !giveUp.signal.aborted) {
|
|
119
184
|
await new Promise((r) => setTimeout(r, 2e3));
|
|
120
185
|
const now2 = await readPlan();
|
|
121
186
|
if (done(now2)) return now2;
|
|
122
187
|
}
|
|
123
188
|
return null;
|
|
124
189
|
})().finally(() => stop.abort());
|
|
125
|
-
await offerCheckout(
|
|
190
|
+
const checkoutFailure = await offerCheckout(
|
|
191
|
+
action === "subscribe" ? "plans" : "credits",
|
|
192
|
+
before,
|
|
193
|
+
stop.signal,
|
|
194
|
+
needed,
|
|
195
|
+
{ skill, baseline: before?.credits }
|
|
196
|
+
);
|
|
197
|
+
if (checkoutFailure?.reason === "checkout_unavailable") {
|
|
198
|
+
giveUp.abort();
|
|
199
|
+
failCommand();
|
|
200
|
+
}
|
|
126
201
|
console.log("Waiting for the person to finish ...");
|
|
127
202
|
const now = await waiting;
|
|
128
203
|
if (now) {
|
|
@@ -134,7 +209,9 @@ var billing_default = defineCommand({
|
|
|
134
209
|
`Still waiting on the ${action === "subscribe" ? "plans" : "credits"} page; run this again once it is done.`
|
|
135
210
|
)
|
|
136
211
|
);
|
|
137
|
-
failCommand();
|
|
212
|
+
if (checkoutFailure) failCommand();
|
|
213
|
+
trackBillingWaitTimeout({ action });
|
|
214
|
+
setCommandExitCode(WAIT_TIMEOUT_EXIT);
|
|
138
215
|
}
|
|
139
216
|
});
|
|
140
217
|
export {
|