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
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BY7PZB6H.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isTokenExpired,
|
|
14
14
|
tryResolveCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZFZXGZTX.js";
|
|
16
16
|
import {
|
|
17
17
|
isAuthError
|
|
18
18
|
} from "./chunk-BVAPHHMQ.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
isNonRelativeUrl,
|
|
22
22
|
isPathInside,
|
|
23
23
|
rewriteSrcsetUrls
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OHQRQE7F.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeUrlPathVariants,
|
|
27
27
|
encodeUrlPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCP7FKH.js";
|
|
29
29
|
import {
|
|
30
30
|
parseHTML
|
|
31
31
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-DYWF24IK.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
JsonFlagReadError,
|
|
15
15
|
inlineJsonHint,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
} from "./chunk-EHZESMRB.js";
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HOCC4J5C.js";
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCP7FKH.js";
|
|
29
29
|
import {
|
|
30
30
|
failCommand,
|
|
31
31
|
failUsage
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XMOWL46H.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HOCC4J5C.js";
|
|
22
22
|
import {
|
|
23
23
|
CANARIES,
|
|
24
24
|
canaryEnvVar,
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
readConfig,
|
|
41
41
|
telemetryRuntimeOverride,
|
|
42
42
|
writeConfig
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CKEOCCMK.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FQFWGAON.js";
|
|
47
47
|
|
|
48
48
|
// src/telemetry/transport.ts
|
|
49
49
|
import { spawn } from "child_process";
|
|
@@ -5,6 +5,114 @@ 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
|
|
|
8
|
+
// ../core/dist/fonts/sfntNames.js
|
|
9
|
+
import { closeSync, openSync, readFileSync, readSync } from "fs";
|
|
10
|
+
var NAME_FAMILY_IDS = /* @__PURE__ */ new Set([1, 16, 21]);
|
|
11
|
+
var MAX_FACES = 64;
|
|
12
|
+
function readAt(fd, position, length) {
|
|
13
|
+
const buf = Buffer.alloc(length);
|
|
14
|
+
const read = readSync(fd, buf, 0, length, position);
|
|
15
|
+
return read === length ? buf : buf.subarray(0, read);
|
|
16
|
+
}
|
|
17
|
+
function tableDirectory(fd, faceOffset) {
|
|
18
|
+
const header = readAt(fd, faceOffset, 12);
|
|
19
|
+
const count = header.length === 12 ? header.readUInt16BE(4) : 0;
|
|
20
|
+
const dir = readAt(fd, faceOffset + 12, count * 16);
|
|
21
|
+
const tables = /* @__PURE__ */ new Map();
|
|
22
|
+
for (let i = 0; i + 16 <= dir.length; i += 16) {
|
|
23
|
+
tables.set(dir.toString("latin1", i, i + 4), {
|
|
24
|
+
offset: dir.readUInt32BE(i + 8),
|
|
25
|
+
length: dir.readUInt32BE(i + 12)
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
return tables;
|
|
29
|
+
}
|
|
30
|
+
function familiesIn(name) {
|
|
31
|
+
if (name.length < 6)
|
|
32
|
+
return [];
|
|
33
|
+
const count = name.readUInt16BE(2);
|
|
34
|
+
const strings = name.readUInt16BE(4);
|
|
35
|
+
const found = /* @__PURE__ */ new Set();
|
|
36
|
+
for (let i = 0; i < count && 6 + i * 12 + 12 <= name.length; i++) {
|
|
37
|
+
const at = 6 + i * 12;
|
|
38
|
+
const platform2 = name.readUInt16BE(at);
|
|
39
|
+
const nameId = name.readUInt16BE(at + 6);
|
|
40
|
+
if (!NAME_FAMILY_IDS.has(nameId))
|
|
41
|
+
continue;
|
|
42
|
+
const length = name.readUInt16BE(at + 8);
|
|
43
|
+
const raw = name.subarray(strings + name.readUInt16BE(at + 10), strings + name.readUInt16BE(at + 10) + length);
|
|
44
|
+
const text = platform2 === 1 ? raw.toString("latin1") : Buffer.from(raw).swap16().toString("utf16le");
|
|
45
|
+
if (text.trim())
|
|
46
|
+
found.add(text.trim());
|
|
47
|
+
}
|
|
48
|
+
return [...found];
|
|
49
|
+
}
|
|
50
|
+
function readFace(fd, offset) {
|
|
51
|
+
const tables = tableDirectory(fd, offset);
|
|
52
|
+
const nameTable = tables.get("name");
|
|
53
|
+
if (!nameTable)
|
|
54
|
+
return null;
|
|
55
|
+
const families = familiesIn(readAt(fd, nameTable.offset, Math.min(nameTable.length, 1 << 20)));
|
|
56
|
+
const os2Table = tables.get("OS/2");
|
|
57
|
+
const os2 = os2Table ? readAt(fd, os2Table.offset, Math.min(os2Table.length, 64)) : Buffer.alloc(0);
|
|
58
|
+
const weightClass = os2.length >= 6 ? os2.readUInt16BE(4) : 400;
|
|
59
|
+
const italic = os2.length >= 64 && (os2.readUInt16BE(62) & 1) === 1;
|
|
60
|
+
return {
|
|
61
|
+
offset,
|
|
62
|
+
families,
|
|
63
|
+
weight: String(weightClass >= 100 && weightClass <= 900 ? weightClass : 400),
|
|
64
|
+
style: italic ? "italic" : "normal"
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function readSfntFaces(path) {
|
|
68
|
+
let fd;
|
|
69
|
+
try {
|
|
70
|
+
fd = openSync(path, "r");
|
|
71
|
+
const head = readAt(fd, 0, 12);
|
|
72
|
+
if (head.length < 12)
|
|
73
|
+
return [];
|
|
74
|
+
const collection = head.toString("latin1", 0, 4) === "ttcf";
|
|
75
|
+
const table = collection ? readAt(fd, 12, Math.min(head.readUInt32BE(8), MAX_FACES) * 4) : head;
|
|
76
|
+
const offsets = collection ? Array.from({ length: Math.floor(table.length / 4) }, (_, i) => table.readUInt32BE(i * 4)) : [0];
|
|
77
|
+
return offsets.map((offset) => readFace(fd, offset)).filter((f) => f !== null);
|
|
78
|
+
} catch {
|
|
79
|
+
return [];
|
|
80
|
+
} finally {
|
|
81
|
+
if (fd !== void 0)
|
|
82
|
+
closeSync(fd);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function extractSfntFace(path, faceOffset) {
|
|
86
|
+
const file = readFileSync(path);
|
|
87
|
+
const count = file.readUInt16BE(faceOffset + 4);
|
|
88
|
+
const records = Array.from({ length: count }, (_, i) => {
|
|
89
|
+
const at = faceOffset + 12 + i * 16;
|
|
90
|
+
return {
|
|
91
|
+
tag: file.subarray(at, at + 4),
|
|
92
|
+
checksum: file.readUInt32BE(at + 4),
|
|
93
|
+
data: file.subarray(file.readUInt32BE(at + 8), file.readUInt32BE(at + 8) + file.readUInt32BE(at + 12))
|
|
94
|
+
};
|
|
95
|
+
});
|
|
96
|
+
const dirEnd = 12 + count * 16;
|
|
97
|
+
const parts = [Buffer.alloc(dirEnd)];
|
|
98
|
+
let next = dirEnd;
|
|
99
|
+
const out = parts[0];
|
|
100
|
+
file.copy(out, 0, faceOffset, faceOffset + 12);
|
|
101
|
+
records.forEach((record, i) => {
|
|
102
|
+
const at = 12 + i * 16;
|
|
103
|
+
record.tag.copy(out, at);
|
|
104
|
+
out.writeUInt32BE(record.checksum, at + 4);
|
|
105
|
+
out.writeUInt32BE(next, at + 8);
|
|
106
|
+
out.writeUInt32BE(record.data.length, at + 12);
|
|
107
|
+
const padded = Buffer.alloc(record.data.length + 3 & ~3);
|
|
108
|
+
record.data.copy(padded);
|
|
109
|
+
parts.push(padded);
|
|
110
|
+
next += padded.length;
|
|
111
|
+
});
|
|
112
|
+
const bytes = Buffer.concat(parts);
|
|
113
|
+
return { bytes, format: bytes.toString("latin1", 0, 4) === "OTTO" ? "otf" : "ttf" };
|
|
114
|
+
}
|
|
115
|
+
|
|
8
116
|
// ../core/dist/fonts/systemFontLocator.js
|
|
9
117
|
import { execFileSync } from "child_process";
|
|
10
118
|
import { existsSync, lstatSync, readdirSync, realpathSync } from "fs";
|
|
@@ -117,7 +225,8 @@ function fontDirectories() {
|
|
|
117
225
|
join(home, "Library", "Fonts"),
|
|
118
226
|
"/Library/Fonts",
|
|
119
227
|
"/System/Library/Fonts",
|
|
120
|
-
"/System/Library/Fonts/Supplemental"
|
|
228
|
+
"/System/Library/Fonts/Supplemental",
|
|
229
|
+
"/System/Library/AssetsV2"
|
|
121
230
|
];
|
|
122
231
|
}
|
|
123
232
|
if (platform() === "win32") {
|
|
@@ -133,15 +242,15 @@ function fontDirectories() {
|
|
|
133
242
|
"/usr/share/fonts"
|
|
134
243
|
];
|
|
135
244
|
}
|
|
136
|
-
function collectFontFileEntries(dir, depth = 0) {
|
|
137
|
-
if (!existsSync(dir) || depth >
|
|
245
|
+
function collectFontFileEntries(dir, depth = 0, maxDepth = 2) {
|
|
246
|
+
if (!existsSync(dir) || depth > maxDepth)
|
|
138
247
|
return [];
|
|
139
248
|
const entries = [];
|
|
140
249
|
try {
|
|
141
250
|
for (const entry of readdirSync(dir, { withFileTypes: true })) {
|
|
142
251
|
const fullPath = join(dir, entry.name);
|
|
143
252
|
if (entry.isDirectory()) {
|
|
144
|
-
entries.push(...collectFontFileEntries(fullPath, depth + 1));
|
|
253
|
+
entries.push(...collectFontFileEntries(fullPath, depth + 1, maxDepth));
|
|
145
254
|
continue;
|
|
146
255
|
}
|
|
147
256
|
if (!FONT_EXT_RE.test(entry.name))
|
|
@@ -245,7 +354,7 @@ function inferWeightAndStyle(fileName) {
|
|
|
245
354
|
}
|
|
246
355
|
return { weight: "400", style };
|
|
247
356
|
}
|
|
248
|
-
function locateSystemFontVariants(family) {
|
|
357
|
+
function locateSystemFontVariants(family, options = {}) {
|
|
249
358
|
const normalized = normalizeName(family);
|
|
250
359
|
if (!normalized)
|
|
251
360
|
return [];
|
|
@@ -258,8 +367,45 @@ function locateSystemFontVariants(family) {
|
|
|
258
367
|
const { weight, style } = inferWeightAndStyle(c.path);
|
|
259
368
|
variants.push({ path: c.path, format: c.format, weight, style });
|
|
260
369
|
}
|
|
370
|
+
if (variants.length === 0 && options.byInnerName) {
|
|
371
|
+
return regularAndBold(dedupeVariants(variantsByInnerName(normalized)));
|
|
372
|
+
}
|
|
261
373
|
return dedupeVariants(variants);
|
|
262
374
|
}
|
|
375
|
+
var INNER_NAME_MAX_DEPTH = 4;
|
|
376
|
+
var innerNameIndex = null;
|
|
377
|
+
function innerNameVariants(entry) {
|
|
378
|
+
const ext = entry.fileName.match(FONT_EXT_RE)?.[1]?.toLowerCase() ?? "";
|
|
379
|
+
if (ext !== "ttf" && ext !== "otf" && ext !== "ttc")
|
|
380
|
+
return [];
|
|
381
|
+
const collection = ext === "ttc";
|
|
382
|
+
return readSfntFaces(entry.path).flatMap((face) => face.families.map((family) => [
|
|
383
|
+
normalizeName(family),
|
|
384
|
+
{
|
|
385
|
+
path: entry.path,
|
|
386
|
+
format: collection ? "ttc" : extensionToFormat(ext),
|
|
387
|
+
weight: face.weight,
|
|
388
|
+
style: face.style,
|
|
389
|
+
...collection && { face: face.offset }
|
|
390
|
+
}
|
|
391
|
+
]));
|
|
392
|
+
}
|
|
393
|
+
function buildInnerNameIndex() {
|
|
394
|
+
const index = /* @__PURE__ */ new Map();
|
|
395
|
+
const entries = fontDirectories().flatMap((dir) => collectFontFileEntries(dir, 0, INNER_NAME_MAX_DEPTH));
|
|
396
|
+
for (const [family, variant] of entries.flatMap(innerNameVariants)) {
|
|
397
|
+
index.set(family, [...index.get(family) ?? [], variant]);
|
|
398
|
+
}
|
|
399
|
+
return index;
|
|
400
|
+
}
|
|
401
|
+
function regularAndBold(variants) {
|
|
402
|
+
const nearest = (target) => variants.reduce((best, v) => !best || Math.abs(Number(v.weight) - target) < Math.abs(Number(best.weight) - target) ? v : best, void 0);
|
|
403
|
+
return [.../* @__PURE__ */ new Set([nearest(400), nearest(700)])].filter((v) => !!v);
|
|
404
|
+
}
|
|
405
|
+
function variantsByInnerName(normalized) {
|
|
406
|
+
innerNameIndex ??= buildInnerNameIndex();
|
|
407
|
+
return innerNameIndex.get(normalized) ?? [];
|
|
408
|
+
}
|
|
263
409
|
function dedupeVariants(variants) {
|
|
264
410
|
const seen = /* @__PURE__ */ new Map();
|
|
265
411
|
for (const v of variants) {
|
|
@@ -271,6 +417,7 @@ function dedupeVariants(variants) {
|
|
|
271
417
|
}
|
|
272
418
|
|
|
273
419
|
export {
|
|
420
|
+
extractSfntFace,
|
|
274
421
|
SYSTEM_FONT_SIZE_LIMIT,
|
|
275
422
|
fontDirectories,
|
|
276
423
|
collectFontFileEntries,
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M3JU24AI.js";
|
|
10
10
|
import {
|
|
11
11
|
PRORES_PROFILE_NAMES,
|
|
12
12
|
appendRateCapArgs,
|
|
13
13
|
isProresProfile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
15
15
|
import {
|
|
16
16
|
failUsage
|
|
17
17
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -4,6 +4,9 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
explainNetworkFailure
|
|
9
|
+
} from "./chunk-D3UCUI7G.js";
|
|
7
10
|
import {
|
|
8
11
|
ErrApi,
|
|
9
12
|
ErrDeviceAuthFailed,
|
|
@@ -25,7 +28,7 @@ import {
|
|
|
25
28
|
} from "./chunk-BVAPHHMQ.js";
|
|
26
29
|
import {
|
|
27
30
|
c
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HOCC4J5C.js";
|
|
29
32
|
import {
|
|
30
33
|
failCommand
|
|
31
34
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -57,6 +60,7 @@ var HEYGEN_CLI_SOURCE_HEADER = "X-HeyGen-Source";
|
|
|
57
60
|
var HEYGEN_CLI_SOURCE = "cli";
|
|
58
61
|
var HEYGEN_CLIENT_SOURCE_HEADER = "X-HeyGen-Client-Source";
|
|
59
62
|
var HEYGEN_CLIENT_SOURCE = "hyperframes";
|
|
63
|
+
var ACCOUNT_REQUEST_TIMEOUT_MS = 15e3;
|
|
60
64
|
function apiBaseUrl() {
|
|
61
65
|
const override = process.env["HEYGEN_API_URL"];
|
|
62
66
|
return override && override.length > 0 ? override.replace(/\/+$/, "") : "https://api.heygen.com";
|
|
@@ -87,7 +91,13 @@ var AuthClient = class {
|
|
|
87
91
|
// fallow-ignore-next-line complexity
|
|
88
92
|
async fetchUser(url, credential, allowRefresh) {
|
|
89
93
|
const headers = buildAuthHeaders(credential);
|
|
90
|
-
const res = await this.fetchImpl(url, {
|
|
94
|
+
const res = await this.fetchImpl(url, {
|
|
95
|
+
method: "GET",
|
|
96
|
+
headers,
|
|
97
|
+
signal: AbortSignal.timeout(ACCOUNT_REQUEST_TIMEOUT_MS)
|
|
98
|
+
}).catch((error) => {
|
|
99
|
+
throw explainNetworkFailure(error, url);
|
|
100
|
+
});
|
|
91
101
|
if (res.status === 401) {
|
|
92
102
|
if (allowRefresh && credential.type === "oauth" && credential.refresh_token && this.onRefresh) {
|
|
93
103
|
const refreshed = await this.tryRefresh(credential.refresh_token);
|
|
@@ -758,6 +768,19 @@ function refreshTokens(refresh_token, opts = {}) {
|
|
|
758
768
|
refreshing.set(refresh_token, request);
|
|
759
769
|
return request;
|
|
760
770
|
}
|
|
771
|
+
async function postToTokenEndpoint(fetchImpl, body) {
|
|
772
|
+
return await fetchImpl(tokenEndpoint(), {
|
|
773
|
+
method: "POST",
|
|
774
|
+
headers: {
|
|
775
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
776
|
+
accept: "application/json"
|
|
777
|
+
},
|
|
778
|
+
body: body.toString(),
|
|
779
|
+
signal: AbortSignal.timeout(ACCOUNT_REQUEST_TIMEOUT_MS)
|
|
780
|
+
}).catch((error) => {
|
|
781
|
+
throw explainNetworkFailure(error, tokenEndpoint());
|
|
782
|
+
});
|
|
783
|
+
}
|
|
761
784
|
async function refreshOnce(refresh_token, opts) {
|
|
762
785
|
const { credentials } = await readStore();
|
|
763
786
|
if (credentials.oauth?.refresh_token !== refresh_token) throw ErrLoginChanged();
|
|
@@ -769,14 +792,7 @@ async function refreshOnce(refresh_token, opts) {
|
|
|
769
792
|
refresh_token,
|
|
770
793
|
client_id: clientId
|
|
771
794
|
});
|
|
772
|
-
const res = await fetchImpl
|
|
773
|
-
method: "POST",
|
|
774
|
-
headers: {
|
|
775
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
776
|
-
accept: "application/json"
|
|
777
|
-
},
|
|
778
|
-
body: body.toString()
|
|
779
|
-
});
|
|
795
|
+
const res = await postToTokenEndpoint(fetchImpl, body);
|
|
780
796
|
if (res.status === 400 || res.status === 401) {
|
|
781
797
|
throw ErrRefreshFailed(await safeText2(res), { refused: true });
|
|
782
798
|
}
|
|
@@ -853,14 +869,7 @@ async function exchangeCodeForTokens(args) {
|
|
|
853
869
|
client_id: args.clientId,
|
|
854
870
|
code_verifier: args.verifier
|
|
855
871
|
});
|
|
856
|
-
const res = await fetchImpl
|
|
857
|
-
method: "POST",
|
|
858
|
-
headers: {
|
|
859
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
860
|
-
accept: "application/json"
|
|
861
|
-
},
|
|
862
|
-
body: body.toString()
|
|
863
|
-
});
|
|
872
|
+
const res = await postToTokenEndpoint(fetchImpl, body);
|
|
864
873
|
if (res.status === 400 || res.status === 401) {
|
|
865
874
|
const detail = await safeText2(res) || res.statusText;
|
|
866
875
|
throw ErrRefreshFailed(
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
rewriteHtmlAttributes,
|
|
13
13
|
rewriteStyleBlocks,
|
|
14
14
|
stagedSize
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W7ITBVJE.js";
|
|
16
16
|
import {
|
|
17
17
|
probeAudio
|
|
18
18
|
} from "./chunk-SWC3QIEH.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
findFFmpeg,
|
|
21
21
|
findFFprobe,
|
|
22
22
|
getFFmpegInstallHint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZNHWAGMH.js";
|
|
24
24
|
import {
|
|
25
25
|
formatBytes
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-M3JU24AI.js";
|
|
27
27
|
import {
|
|
28
28
|
parseAnimatedGifMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
30
30
|
import {
|
|
31
31
|
cleanAssetUrl,
|
|
32
32
|
isRemoteOrInlineUrl,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
readMediaOffsetSeconds,
|
|
38
38
|
readPlaybackRate,
|
|
39
39
|
rewriteAssetPath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OHQRQE7F.js";
|
|
41
41
|
import {
|
|
42
42
|
parseHTML
|
|
43
43
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -621,7 +621,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
621
621
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
622
622
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
623
623
|
if (!sourceAssets) return;
|
|
624
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
624
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-ABVBEVVK.js")).prepareAnimatedGifInputs;
|
|
625
625
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
626
626
|
ctx.tempFiles.push(outputDir);
|
|
627
627
|
const result = await prep(html, {
|
|
@@ -13,10 +13,16 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PA27AW3Y.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
20
|
+
import {
|
|
21
|
+
isCI
|
|
22
|
+
} from "./chunk-FYZFURBN.js";
|
|
23
|
+
import {
|
|
24
|
+
isAgentDriven
|
|
25
|
+
} from "./chunk-G7VEYUZ2.js";
|
|
20
26
|
|
|
21
27
|
// src/utils/desktopApp.ts
|
|
22
28
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -175,13 +181,18 @@ function desktopInstalled({
|
|
|
175
181
|
function insideHostApp(env = process.env) {
|
|
176
182
|
return Boolean(env.HYPERFRAMES_DESKTOP_PROJECT);
|
|
177
183
|
}
|
|
184
|
+
function someoneToTell(env, tty) {
|
|
185
|
+
if (isCI(env)) return false;
|
|
186
|
+
return tty || env["HYPERFRAMES_AGENT"] === "1" || isAgentDriven(env);
|
|
187
|
+
}
|
|
178
188
|
function desktopHint(dir, {
|
|
179
189
|
env = process.env,
|
|
180
190
|
ready = HANDOFF_READY,
|
|
181
191
|
installed,
|
|
182
|
-
platform = process.platform
|
|
192
|
+
platform = process.platform,
|
|
193
|
+
tty = process.stdout.isTTY === true
|
|
183
194
|
} = {}) {
|
|
184
|
-
if (insideHostApp(env)) return null;
|
|
195
|
+
if (insideHostApp(env) || !someoneToTell(env, tty)) return null;
|
|
185
196
|
if (ready && (installed ?? desktopInstalled({ platform, env })))
|
|
186
197
|
return `Keep editing by chatting with Framey in the desktop app: ${openCommandFor(dir)}`;
|
|
187
198
|
const url = desktopDownloadUrl(platform);
|