hyperframes 0.9.13 → 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-PXF5OGLI.js → add-JNKCTPWJ.js} +16 -16
- package/dist/{agentPromptGenerator-DWNK722M.js → agentPromptGenerator-DSF7AEVE.js} +8 -8
- package/dist/{animatedGifPrep-FFBCFFIY.js → animatedGifPrep-BIEUMGB3.js} +8 -8
- package/dist/api.js +45 -23
- package/dist/{asset-FZVMLDSY.js → asset-V6JAJRCF.js} +2 -2
- package/dist/{assetCataloger-FXBZK55R.js → assetCataloger-SCLH2WAC.js} +9 -9
- package/dist/{audio-QYNPBNZQ.js → audio-JX76VDCY.js} +15 -15
- package/dist/{auth-2FBS4QC4.js → auth-TRE4ASYT.js} +2 -2
- package/dist/{autoUpdate-VFGRGQTO.js → autoUpdate-D5UUCIOR.js} +2 -2
- package/dist/{avatars-UVZFK2JR.js → avatars-26EUVWXR.js} +12 -12
- package/dist/{backgroundChecks-FN53YXTW.js → backgroundChecks-RM5GWZIW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JB3D6X7U.js → batchRender-5ZEQ6U4N.js} +5 -5
- package/dist/{beats-5BJMEGGA.js → beats-3YW7MGZY.js} +22 -14
- package/dist/{benchmark-MP4JGPYM.js → benchmark-MYQTWUO3.js} +10 -10
- package/dist/{billing-XSPWEAYT.js → billing-2X3JNNM4.js} +95 -19
- package/dist/{browser-V4EB7UNU.js → browser-CQSY36GL.js} +3 -3
- package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
- package/dist/{capture-L5TGT4SW.js → capture-IK5GIWOS.js} +20 -23
- package/dist/{capture-SQHH4HBC.js → capture-NWBNWBIX.js} +3 -3
- package/dist/{captureCompositionFrame-BAYKFJMM.js → captureCompositionFrame-KR3PELMO.js} +13 -13
- package/dist/{catalog-OLP2O5W6.js → catalog-2Q73F42B.js} +16 -16
- package/dist/{catch-up-LJWHENVV.js → catch-up-JP3FL3FX.js} +4 -4
- package/dist/{check-KGAKP3H5.js → check-UIMXDUPK.js} +46 -46
- package/dist/{checkAudio-QWBAUBJ2.js → checkAudio-CSX4G35O.js} +12 -12
- package/dist/{checkBrowser-J5UUWIPK.js → checkBrowser-MTCJVJYJ.js} +39 -39
- package/dist/{chunk-5Z7YSZRF.js → chunk-2BDSLTEG.js} +9 -9
- package/dist/{chunk-NXQMN7YC.js → chunk-2L4HQ5K4.js} +1 -1
- package/dist/{chunk-SGLX72IQ.js → chunk-2NHPNI42.js} +10 -10
- package/dist/{chunk-2WGAXAM7.js → chunk-2OIONPKY.js} +3 -3
- package/dist/{chunk-MJEE2WSS.js → chunk-2SYOEZ2Z.js} +2 -2
- package/dist/{chunk-O4Q44I77.js → chunk-2YT656R2.js} +6 -6
- package/dist/{chunk-VIEMTLSI.js → chunk-35RZMUTX.js} +7 -7
- package/dist/{chunk-U7AB4D6T.js → chunk-3B7TDQEW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-Z23O7MZ3.js → chunk-3BHDAXDA.js} +4 -8
- package/dist/{chunk-BYWQQMTB.js → chunk-3CXUZSLE.js} +2 -2
- package/dist/{chunk-EP6GCDZ6.js → chunk-4MY6FPX4.js} +1 -1
- package/dist/{chunk-6U6KMYIV.js → chunk-4NE6CBMW.js} +1 -1
- package/dist/{chunk-N2SXD5EG.js → chunk-53UV2EUT.js} +3 -3
- package/dist/{chunk-AR6IO4RY.js → chunk-5ENBFVPD.js} +2 -2
- package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
- package/dist/{chunk-NW5QHUZO.js → chunk-6FOO4QTU.js} +1 -1
- package/dist/{chunk-WCNUB6WU.js → chunk-6OSVMSGV.js} +9 -9
- package/dist/{chunk-XHY36WZF.js → chunk-6UM5C4R6.js} +2 -2
- package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
- package/dist/{chunk-AB6DKVKC.js → chunk-6ZRGEVAM.js} +85 -25
- package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
- package/dist/{chunk-3BLPPIJA.js → chunk-7LQVFIO4.js} +4 -4
- package/dist/{chunk-4HGTJHKB.js → chunk-7NPHPQH5.js} +2 -2
- package/dist/{chunk-CLT3CJKG.js → chunk-AOJBIFKU.js} +1 -1
- package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
- package/dist/{chunk-QVW57TUW.js → chunk-BNUN7KXZ.js} +2 -2
- package/dist/{chunk-2YVIA2BX.js → chunk-BXCPOMS3.js} +9 -7
- package/dist/{chunk-H6FRRSHM.js → chunk-CMPHS5E6.js} +2 -2
- package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
- package/dist/{chunk-CKZVLS3K.js → chunk-CZ5NNJ6H.js} +50 -20
- package/dist/{chunk-F6PFZMQU.js → chunk-D3FZQL5R.js} +8 -8
- package/dist/{chunk-TX3JT67F.js → chunk-DD47NQJZ.js} +1 -1
- package/dist/{chunk-EQSUX64Q.js → chunk-DSIGJUNY.js} +1 -1
- package/dist/{chunk-ZPJVKYDL.js → chunk-DTU4XJNP.js} +3 -3
- package/dist/{chunk-BE7Y3PJZ.js → chunk-DTZSKJV5.js} +3 -3
- package/dist/{chunk-6PGTJG3M.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-N43XGFAZ.js → chunk-FF3VKFCN.js} +126 -66
- package/dist/{chunk-WSZWPYRG.js → chunk-FQFWGAON.js} +2 -2
- package/dist/{chunk-OPOYDJEW.js → chunk-FZRTCVU6.js} +1 -1
- package/dist/{chunk-FJIN5OWZ.js → chunk-GY7D2OEQ.js} +2 -2
- package/dist/chunk-HNZ2FZIB.js +45 -0
- package/dist/{chunk-7S2LS53F.js → chunk-HVIQQCLM.js} +13 -13
- package/dist/{chunk-7WSL3PT3.js → chunk-HZSAOL5O.js} +2 -2
- package/dist/{chunk-UPI2MZ5L.js → chunk-I5PI43EI.js} +1 -1
- package/dist/{chunk-MGAGDEBC.js → chunk-IO3BC2ZK.js} +1 -1
- package/dist/{chunk-JGTJEQ5X.js → chunk-IPZ3QGDO.js} +2 -2
- package/dist/{chunk-GPHY5R35.js → chunk-K5CK4G75.js} +3 -3
- package/dist/{chunk-RBF3AF7R.js → chunk-L24GJQNZ.js} +16 -12
- package/dist/chunk-LSUM6RTW.js +20 -0
- package/dist/{chunk-KHF5WT6E.js → chunk-LZYXYJMX.js} +1 -1
- package/dist/{chunk-H4VII7WN.js → chunk-M34AOUVK.js} +5 -5
- package/dist/{chunk-ITDHT7AO.js → chunk-MWPPZOY5.js} +4 -4
- package/dist/{chunk-2IB3XVAR.js → chunk-MY2W7VWC.js} +14 -14
- package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
- package/dist/{chunk-3SZZLHHM.js → chunk-NBUPR3ZF.js} +1 -1
- package/dist/{chunk-YHID4CM3.js → chunk-NLEIM52W.js} +83 -21
- package/dist/{chunk-TBXV7O3Z.js → chunk-NWFIYKEI.js} +4 -4
- package/dist/{chunk-N7EA7GWU.js → chunk-O4ONYFY3.js} +1 -1
- package/dist/{chunk-AIK4ETUZ.js → chunk-O4ZD7TVR.js} +17 -1
- package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
- package/dist/{chunk-ZMRRTWKP.js → chunk-PA27AW3Y.js} +1 -1
- package/dist/{chunk-YMP5FTA3.js → chunk-PCY67JUL.js} +303 -29
- package/dist/{chunk-RADODJYB.js → chunk-PYPW33ET.js} +2 -2
- package/dist/{chunk-C5VZTKW2.js → chunk-QSEHVJFA.js} +67 -211
- package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
- package/dist/{chunk-MBX3BHW3.js → chunk-SAAJ2O7A.js} +1 -1
- package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
- package/dist/{chunk-WGQW65DO.js → chunk-SSBAETRX.js} +5 -5
- package/dist/{chunk-LGVUQ4GC.js → chunk-T32JKZX3.js} +3 -3
- package/dist/{chunk-NR2W7HUH.js → chunk-T4FLVFQE.js} +1 -1
- package/dist/{chunk-KWGOABKQ.js → chunk-TESXTEV5.js} +1 -1
- package/dist/{chunk-2IATDUYU.js → chunk-TRK77R5G.js} +1 -1
- package/dist/{chunk-T5ZEMZ3K.js → chunk-TTBCQFRY.js} +2 -2
- package/dist/{chunk-7AMCGJDM.js → chunk-U22NZEQV.js} +1 -1
- package/dist/{chunk-2ASPXS4U.js → chunk-VD5G4Y6U.js} +1 -1
- package/dist/{chunk-RL52TNCM.js → chunk-W7ITBVJE.js} +2 -2
- package/dist/{chunk-SXAZR7M4.js → chunk-WAH2X7FF.js} +2 -2
- package/dist/{chunk-HTSVFS4G.js → chunk-WXYV47JX.js} +2 -2
- package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
- package/dist/{chunk-SM4F4H3T.js → chunk-X46MRJYK.js} +1 -1
- package/dist/{chunk-EZCMP7NJ.js → chunk-XMOWL46H.js} +1 -1
- package/dist/{chunk-SFO4FLUG.js → chunk-YBR4L5JA.js} +1 -1
- package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
- package/dist/{chunk-7Z7SREEU.js → chunk-ZE2QZHUH.js} +1 -1
- package/dist/{chunk-RWQEWEOV.js → chunk-ZNHWAGMH.js} +1 -1
- package/dist/{chunk-NMYRVKIL.js → chunk-ZSAKJRZB.js} +5 -5
- package/dist/{chunk-472XCBCV.js → chunk-ZZBO3GF5.js} +2 -2
- package/dist/{clean-NNYMY7FD.js → clean-P3SZCIFU.js} +20 -20
- package/dist/cli.js +60 -60
- package/dist/{cloud-6FBCPI3B.js → cloud-G7YQIVI7.js} +4 -4
- package/dist/{cloudrun-D4V4TV6S.js → cloudrun-LXZT5UDK.js} +7 -7
- package/dist/{compare-J3JV4AZ3.js → compare-BHQHEOMX.js} +35 -35
- package/dist/{compiler-5ANBCHB7.js → compiler-V72QWKGC.js} +5 -5
- package/dist/{component-QFREWBT5.js → component-6GDCT3GK.js} +3 -3
- package/dist/{compositions-NUTRZGAZ.js → compositions-JM6HKCRF.js} +12 -12
- package/dist/{curve-LR4THVRF.js → curve-Y7JRXLIJ.js} +12 -12
- package/dist/{cuts-5WPLSRM2.js → cuts-LDVDQTRL.js} +13 -13
- package/dist/{delete-KLIVMSTG.js → delete-NCZIKWHU.js} +2 -2
- package/dist/{deploy-CDWKRTWY.js → deploy-R4OEJEB6.js} +5 -2
- package/dist/{describeProject-YJEOPIW7.js → describeProject-4GKZTYHA.js} +10 -10
- package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
- package/dist/{diff-KY6T2E32.js → diff-C53GPSNU.js} +42 -24
- package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
- package/dist/{dist-TQKOMXXI.js → dist-TI44VPHO.js} +3 -3
- package/dist/{dist-GVCHAZJU.js → dist-TJZSSDR2.js} +13 -13
- package/dist/{doctor-HLG4AP3Q.js → doctor-V4RICWU2.js} +12 -12
- package/dist/{energy-3T3DDIEN.js → energy-S5Z7CGSB.js} +13 -13
- package/dist/{events-LB2RDZX3.js → events-6HROTYLC.js} +11 -3
- package/dist/{events-HZG5BWCQ.js → events-QKJE5XRN.js} +2 -2
- package/dist/{events-ZZNUYUCY.js → events-RAJGQK7Y.js} +14 -14
- package/dist/{extract-7STXIEDI.js → extract-RYGWEC5V.js} +13 -13
- package/dist/{face-3DWRLSWO.js → face-IWRDW2QO.js} +13 -13
- package/dist/{feedback-4V2HGHTZ.js → feedback-HQTDLLPE.js} +9 -9
- package/dist/{ffmpeg-5BWHEWVW.js → ffmpeg-BX334YEK.js} +8 -8
- package/dist/{figma-4SSCW6YU.js → figma-P6U76KGI.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-V3OUCXX6.js → frames-G2WYTVWV.js} +14 -14
- package/dist/{generate-W4HW4MJQ.js → generate-ZUE2AVOB.js} +35 -16
- package/dist/{get-FXFV3VDQ.js → get-7C3UC46A.js} +2 -2
- package/dist/{gpuPolicy-X4BOE2HD.js → gpuPolicy-5ZVYYWXN.js} +8 -8
- package/dist/{grade-compare-PV62LISL.js → grade-compare-IS3OVI7R.js} +39 -39
- package/dist/{heifImagePrep-2K2I4SCP.js → heifImagePrep-FBLLKI3P.js} +9 -9
- package/dist/{help-R2ASMVJB.js → help-2MPB27YU.js} +1 -1
- package/dist/{history-X24EZSOO.js → history-Q5EBBFPW.js} +6 -6
- 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-DJ6TZSEF.js → info-TNG5QGFC.js} +9 -9
- package/dist/{init-GQ2GRVQS.js → init-UFPBBWC7.js} +37 -32
- package/dist/{ink-L4VRIFJ7.js → ink-UTPJHGZR.js} +13 -13
- package/dist/{inspect-5IXDDOJN.js → inspect-KXKKPWKX.js} +37 -37
- package/dist/{installer-ZIBXFENP.js → installer-UTFXM6KP.js} +7 -7
- package/dist/{keyframes-ASFH5XYJ.js → keyframes-S6V36BW6.js} +6 -6
- package/dist/{lambda-ELYE5XIZ.js → lambda-XWHALRKM.js} +13 -13
- package/dist/{layout-NNGVQWY4.js → layout-SSVKZKCZ.js} +37 -37
- package/dist/{lint-GYJFRDI2.js → lint-OQWGRKG5.js} +9 -9
- package/dist/{lintProject-NGMRZDNT.js → lintProject-Z2TEXMY4.js} +3 -3
- package/dist/{list-UBFDCTVO.js → list-FYLBMEL7.js} +2 -2
- package/dist/{localPage-DHAVU3EM.js → localPage-4GSU6N3J.js} +8 -8
- package/dist/{login-OKJT7QWG.js → login-JKFCYHRS.js} +4 -4
- package/dist/{look-4GINLBBO.js → look-WQ2DOKXH.js} +13 -13
- package/dist/{manager-Q5X74T5D.js → manager-F4F4A734.js} +9 -9
- package/dist/{measure-LICRA4FH.js → measure-XIFLTAMC.js} +11 -11
- package/dist/{media-treatment-PM3WLJZ4.js → media-treatment-S3LHQSQQ.js} +16 -16
- package/dist/{media-use-NUORYIBQ.js → media-use-NFM3ZXCF.js} +3 -3
- package/dist/{models-V2XJYFY5.js → models-G4KNLV66.js} +12 -12
- package/dist/{motionShot-YBJB6L3C.js → motionShot-IJGA5CBH.js} +16 -16
- package/dist/{normalize-audio-LUAEDEUM.js → normalize-audio-UP54N6J4.js} +11 -11
- package/dist/{open-RTL2AU5C.js → open-TAEKCYDB.js} +16 -16
- package/dist/{parakeetRunner-FBEL64JM.js → parakeetRunner-WFA4K7BH.js} +13 -13
- package/dist/{pipeline-2VN2FDAL.js → pipeline-SNENB5MZ.js} +11 -11
- package/dist/{play-U3EXVEC7.js → play-QTYMY453.js} +27 -27
- package/dist/{preflight-Z3U5OGW3.js → preflight-CZUKW3CW.js} +9 -9
- package/dist/{present-NXEDFMC4.js → present-KVHQECWG.js} +19 -19
- package/dist/{preview-AUDJW3KE.js → preview-6U62DM4P.js} +24 -24
- package/dist/{probe-QQXAWDZG.js → probe-UCVL3JDC.js} +13 -13
- package/dist/{producer-DNWWPGFA.js → producer-A4RPG3XL.js} +1 -1
- package/dist/{projectConfig-FMXOJBJY.js → projectConfig-FIW6FPZW.js} +10 -10
- package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
- package/dist/{publish-7HSXMQEF.js → publish-VKSABRA4.js} +18 -15
- package/dist/{remove-background-AIYMKXZW.js → remove-background-CJJ54SHA.js} +12 -12
- package/dist/{render-RMPWJTY4.js → render-2YY64XPU.js} +346 -64
- package/dist/{render-SAAQKFHE.js → render-G54RA46B.js} +202 -35
- package/dist/{render-FD7LHCCC.js → render-I2MWX5GH.js} +7 -7
- package/dist/{render-batch-WPHP27VT.js → render-batch-X562GNRH.js} +10 -10
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-E7IHSWCQ.js → resolver-GC4ZLQPV.js} +7 -7
- package/dist/{reverse-GHX5LUSV.js → reverse-2KZQ65Y7.js} +1 -1
- package/dist/{sherpa-QQZMXXO5.js → sherpa-SLRKS4SR.js} +12 -12
- 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/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-WCXVUM6C.js → skills-SOXKW42T.js} +6 -6
- package/dist/{skillsUpdateCheck-PEVW2JO6.js → skillsUpdateCheck-4RUEBT6B.js} +3 -3
- package/dist/{snapshot-2ACZXDLZ.js → snapshot-KIWJWZGW.js} +48 -48
- package/dist/{src-WISBTYBV.js → src-ABVBEVVK.js} +12 -12
- package/dist/{src-DA2HOM3K.js → src-DYWF24IK.js} +7 -7
- package/dist/{start-DDOWW7K5.js → start-EADJCDST.js} +49 -27
- package/dist/{staticProjectServer-MQ7H4MGQ.js → staticProjectServer-UCHJYCR6.js} +24 -24
- package/dist/{status-74IZXJKQ.js → status-E4OUQSHN.js} +45 -2
- package/dist/studio/assets/{hyperframes-player-B2_9tPTr.js → hyperframes-player-CfYFgHV8.js} +1 -1
- package/dist/studio/assets/{index-DToBQdGg.js → index-COfhX0Gz.js} +4 -4
- package/dist/studio/assets/{index-BHe_y2lu.js → index-Cj5x3rVD.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-UABUZ3PZ.js → studio-api-RGOTUJXP.js} +13 -13
- package/dist/{studioServer-FGXZA75B.js → studioServer-72COILB5.js} +61 -61
- package/dist/{sync-AVGYYG4D.js → sync-5Z5OQFB3.js} +13 -13
- package/dist/{telemetry-7IM2NV22.js → telemetry-OQ2JM37Y.js} +3 -3
- package/dist/{templates-5CWKOSBX.js → templates-YH5CUHHN.js} +45 -2
- package/dist/{timeline-A7R54T7C.js → timeline-IWU2T2BX.js} +21 -21
- package/dist/{tokens-W6RQVKWV.js → tokens-F7IBDWGE.js} +2 -2
- package/dist/{transcribe-N2C2MYCG.js → transcribe-GL3J3JB3.js} +11 -11
- package/dist/{transcribe-GPOMREHS.js → transcribe-YXDOCF32.js} +32 -20
- package/dist/{update-X643YOPS.js → update-MR5NL567.js} +7 -7
- package/dist/{updateCheck-O7IUSOXN.js → updateCheck-ONT2ZVAF.js} +2 -2
- package/dist/{upgrade-6NWYJUFT.js → upgrade-BJEGLKQS.js} +3 -3
- package/dist/{urlDownloader-PFHIVGDF.js → urlDownloader-3PV5WURP.js} +7 -7
- package/dist/{validate-IIFU6OEG.js → validate-GTTWJYCS.js} +26 -26
- package/dist/{video-R6TSXZMN.js → video-VP6X6YL5.js} +9 -9
- package/dist/{voices-Y572PKNN.js → voices-3EO2NQ5Q.js} +33 -14
- package/dist/warmCheck.js +46 -46
- package/package.json +1 -1
- package/dist/chunk-TSCUYZ4B.js +0 -29
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
reportApiError
|
|
12
12
|
} from "./chunk-AKE744C5.js";
|
|
13
|
+
import {
|
|
14
|
+
bundleWithLocalizedFonts
|
|
15
|
+
} from "./chunk-3BHDAXDA.js";
|
|
13
16
|
import {
|
|
14
17
|
compositionEntryErrorMessage,
|
|
15
18
|
parseCompositionEntryArg
|
|
@@ -23,7 +26,7 @@ import {
|
|
|
23
26
|
reportVariableIssues,
|
|
24
27
|
resolveVariablesArg,
|
|
25
28
|
validateVariablesAgainstProject
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WXYV47JX.js";
|
|
27
30
|
import "./chunk-ZBAF6L74.js";
|
|
28
31
|
import {
|
|
29
32
|
DEFAULT_MAX_WAIT_MS,
|
|
@@ -39,13 +42,13 @@ import {
|
|
|
39
42
|
import {
|
|
40
43
|
OFFLOAD_MIN_BYTES,
|
|
41
44
|
offloadHeavyMedia
|
|
42
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZSAKJRZB.js";
|
|
43
46
|
import {
|
|
44
47
|
readStaged,
|
|
45
48
|
stagePublishFiles,
|
|
46
49
|
stagedSize,
|
|
47
50
|
zipPublishFileMap
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-W7ITBVJE.js";
|
|
49
52
|
import "./chunk-7X3UDKJK.js";
|
|
50
53
|
import {
|
|
51
54
|
downloadToFile
|
|
@@ -57,37 +60,40 @@ import {
|
|
|
57
60
|
import "./chunk-ZFZXGZTX.js";
|
|
58
61
|
import "./chunk-3XJM7XZN.js";
|
|
59
62
|
import "./chunk-SWC3QIEH.js";
|
|
60
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-ZNHWAGMH.js";
|
|
64
|
+
import {
|
|
65
|
+
loadProducer
|
|
66
|
+
} from "./chunk-NBUPR3ZF.js";
|
|
61
67
|
import {
|
|
62
68
|
resolveProject
|
|
63
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-AOJBIFKU.js";
|
|
64
70
|
import {
|
|
65
71
|
resolveDefaultFpsArg
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-DTU4XJNP.js";
|
|
73
|
+
import "./chunk-U22NZEQV.js";
|
|
74
|
+
import {
|
|
75
|
+
errorBox,
|
|
76
|
+
formatBytes,
|
|
77
|
+
formatDuration
|
|
78
|
+
} from "./chunk-M3JU24AI.js";
|
|
79
|
+
import "./chunk-EHZESMRB.js";
|
|
68
80
|
import {
|
|
69
81
|
readProjectConfig
|
|
70
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-PA27AW3Y.js";
|
|
71
83
|
import "./chunk-XT7X6QCP.js";
|
|
72
84
|
import "./chunk-5YPMCCCA.js";
|
|
85
|
+
import "./chunk-A4ZTSQLW.js";
|
|
73
86
|
import "./chunk-HVW7ABXD.js";
|
|
74
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-VD5G4Y6U.js";
|
|
75
88
|
import "./chunk-JHOCK3DG.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-K5CK4G75.js";
|
|
90
|
+
import "./chunk-7LQVFIO4.js";
|
|
78
91
|
import "./chunk-AWDFDFI3.js";
|
|
79
92
|
import "./chunk-P6LJ4Y32.js";
|
|
80
|
-
import "./chunk-T2WJO4XM.js";
|
|
81
|
-
import {
|
|
82
|
-
errorBox,
|
|
83
|
-
formatBytes,
|
|
84
|
-
formatDuration
|
|
85
|
-
} from "./chunk-M3JU24AI.js";
|
|
86
|
-
import "./chunk-EHZESMRB.js";
|
|
87
|
-
import "./chunk-A4ZTSQLW.js";
|
|
88
93
|
import "./chunk-D3UCUI7G.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-T2WJO4XM.js";
|
|
95
|
+
import "./chunk-O4ZD7TVR.js";
|
|
96
|
+
import "./chunk-XMOWL46H.js";
|
|
91
97
|
import "./chunk-PXVQOMKL.js";
|
|
92
98
|
import "./chunk-MCDNAIFF.js";
|
|
93
99
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -100,15 +106,15 @@ import "./chunk-54HJ63Q2.js";
|
|
|
100
106
|
import {
|
|
101
107
|
c
|
|
102
108
|
} from "./chunk-HOCC4J5C.js";
|
|
103
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-6ZRGEVAM.js";
|
|
104
110
|
import "./chunk-Z5J67X44.js";
|
|
105
111
|
import "./chunk-5S7W3TUO.js";
|
|
106
112
|
import "./chunk-D3MUHMFG.js";
|
|
107
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-53UV2EUT.js";
|
|
108
114
|
import "./chunk-YWRUQ7XZ.js";
|
|
109
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-N7ZKI2CE.js";
|
|
110
116
|
import "./chunk-MEJH7VEA.js";
|
|
111
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-EAO46VPT.js";
|
|
112
118
|
import "./chunk-VC76R6W2.js";
|
|
113
119
|
import "./chunk-OFQWTKPW.js";
|
|
114
120
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -120,15 +126,15 @@ import "./chunk-KGPLIH7B.js";
|
|
|
120
126
|
import "./chunk-LAGZGKKN.js";
|
|
121
127
|
import "./chunk-K4MJX7SR.js";
|
|
122
128
|
import "./chunk-WE42NVH7.js";
|
|
123
|
-
import "./chunk-
|
|
129
|
+
import "./chunk-CZ5NNJ6H.js";
|
|
124
130
|
import "./chunk-WVRAFHJU.js";
|
|
125
131
|
import "./chunk-CZGHFATT.js";
|
|
126
132
|
import "./chunk-HYRPH6LL.js";
|
|
127
|
-
import "./chunk-
|
|
133
|
+
import "./chunk-OHQRQE7F.js";
|
|
128
134
|
import {
|
|
129
135
|
CANVAS_DIMENSIONS,
|
|
130
136
|
checkOutputResolutionCompatibility
|
|
131
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-CUCP7FKH.js";
|
|
132
138
|
import "./chunk-FR7YBU3H.js";
|
|
133
139
|
import "./chunk-DPVXBVLL.js";
|
|
134
140
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -139,7 +145,7 @@ import "./chunk-FBN2M2HK.js";
|
|
|
139
145
|
import "./chunk-766MOTIZ.js";
|
|
140
146
|
import {
|
|
141
147
|
withMeta
|
|
142
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
143
149
|
import "./chunk-BR2JQQC5.js";
|
|
144
150
|
import "./chunk-CKEOCCMK.js";
|
|
145
151
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -150,7 +156,7 @@ import {
|
|
|
150
156
|
} from "./chunk-66W5IWLO.js";
|
|
151
157
|
import "./chunk-FYZFURBN.js";
|
|
152
158
|
import "./chunk-QBXDU24O.js";
|
|
153
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-FQFWGAON.js";
|
|
154
160
|
import {
|
|
155
161
|
normalizeErrorMessage
|
|
156
162
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -205,8 +211,158 @@ function detectAspectRatioFromHtmlString(html) {
|
|
|
205
211
|
}
|
|
206
212
|
var ASPECT_RATIO_MATCH_TOLERANCE = RATIO_TOLERANCE;
|
|
207
213
|
|
|
214
|
+
// src/cloud/fontFailure.ts
|
|
215
|
+
import { readdirSync, readFileSync as readFileSync2 } from "fs";
|
|
216
|
+
import { extname, join, relative } from "path";
|
|
217
|
+
var UNRESOLVED_FONTS = /(?:fonts? that could not be resolved|unresolved font famil(?:y|ies)|unresolved fonts[^:\n]*):\s*([^\n]+)/i;
|
|
218
|
+
var SKIPPED_DIRS = /* @__PURE__ */ new Set(["node_modules", "renders", "dist"]);
|
|
219
|
+
var MAX_FILES = 2e3;
|
|
220
|
+
function unresolvedFontFamilies(message) {
|
|
221
|
+
const listed = UNRESOLVED_FONTS.exec(message)?.[1];
|
|
222
|
+
if (!listed) return [];
|
|
223
|
+
const families = listed.replace(/\(\+\d+ more\)/g, "").replace(/\.\s.*$|\.$/, "").split(",").map(
|
|
224
|
+
(family) => family.trim().replace(/^["']|["']$/g, "").trim()
|
|
225
|
+
).filter(Boolean);
|
|
226
|
+
return [...new Set(families)];
|
|
227
|
+
}
|
|
228
|
+
function styleSources(dir, found = []) {
|
|
229
|
+
let entries;
|
|
230
|
+
try {
|
|
231
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
232
|
+
} catch {
|
|
233
|
+
return found;
|
|
234
|
+
}
|
|
235
|
+
for (const entry of entries) {
|
|
236
|
+
if (found.length >= MAX_FILES) break;
|
|
237
|
+
if (entry.name.startsWith(".") || SKIPPED_DIRS.has(entry.name)) continue;
|
|
238
|
+
const path = join(dir, entry.name);
|
|
239
|
+
if (entry.isDirectory()) styleSources(path, found);
|
|
240
|
+
else if ([".html", ".htm", ".css"].includes(extname(entry.name).toLowerCase())) {
|
|
241
|
+
found.push(path);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return found;
|
|
245
|
+
}
|
|
246
|
+
var escapeRegExp = (text) => text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
247
|
+
function filesNamingFonts(projectDir, families) {
|
|
248
|
+
const named = /* @__PURE__ */ new Map();
|
|
249
|
+
const patterns = families.map(
|
|
250
|
+
(family) => [family, new RegExp(`(^|[^\\w-])${escapeRegExp(family)}(?![\\w-])`, "i")]
|
|
251
|
+
);
|
|
252
|
+
for (const path of styleSources(projectDir)) {
|
|
253
|
+
let text;
|
|
254
|
+
try {
|
|
255
|
+
text = readFileSync2(path, "utf8");
|
|
256
|
+
} catch {
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
for (const [family, pattern] of patterns) {
|
|
260
|
+
if (!pattern.test(text)) continue;
|
|
261
|
+
named.set(family, [...named.get(family) ?? [], relative(projectDir, path)]);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return named;
|
|
265
|
+
}
|
|
266
|
+
function describeUnresolvedFontUse(failureMessage, projectDir) {
|
|
267
|
+
const families = unresolvedFontFamilies(failureMessage);
|
|
268
|
+
if (families.length === 0) return void 0;
|
|
269
|
+
const named = filesNamingFonts(projectDir, families);
|
|
270
|
+
const lines = families.map((family) => {
|
|
271
|
+
const files = named.get(family);
|
|
272
|
+
return files?.length ? `${family}: used in ${files.join(", ")}` : `${family}: not found in the project files`;
|
|
273
|
+
});
|
|
274
|
+
return `${lines.join("\n")}
|
|
275
|
+
Cloud renders cannot use fonts installed on your machine. Ship the font file with an @font-face url() source, or switch to a Google Fonts family. \`hyperframes lint\` flags these.`;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// src/cloud/fontPreflight.ts
|
|
279
|
+
var LOOK_ALIKES = {
|
|
280
|
+
"pingfang sc": "Noto Sans SC",
|
|
281
|
+
"pingfang tc": "Noto Sans TC",
|
|
282
|
+
"pingfang hk": "Noto Sans HK",
|
|
283
|
+
"hiragino sans": "Noto Sans JP",
|
|
284
|
+
"hiragino kaku gothic pro": "Noto Sans JP",
|
|
285
|
+
"yu gothic": "Noto Sans JP",
|
|
286
|
+
"apple sd gothic neo": "Noto Sans KR",
|
|
287
|
+
"malgun gothic": "Noto Sans KR",
|
|
288
|
+
"microsoft yahei": "Noto Sans SC",
|
|
289
|
+
"microsoft jhenghei": "Noto Sans TC",
|
|
290
|
+
"sf pro": "Inter",
|
|
291
|
+
"sf pro display": "Inter",
|
|
292
|
+
"sf pro text": "Inter",
|
|
293
|
+
"helvetica neue": "Inter",
|
|
294
|
+
helvetica: "Inter",
|
|
295
|
+
arial: "Inter",
|
|
296
|
+
"segoe ui": "Inter",
|
|
297
|
+
georgia: "Lora",
|
|
298
|
+
"times new roman": "Tinos",
|
|
299
|
+
menlo: "JetBrains Mono",
|
|
300
|
+
consolas: "JetBrains Mono"
|
|
301
|
+
};
|
|
302
|
+
function lookAlikeFor(family) {
|
|
303
|
+
return LOOK_ALIKES[family.trim().toLowerCase()];
|
|
304
|
+
}
|
|
305
|
+
var QUIET = { warn() {
|
|
306
|
+
}, info() {
|
|
307
|
+
} };
|
|
308
|
+
async function injectorOr(inject) {
|
|
309
|
+
return inject ?? (await loadProducer()).injectDeterministicFontFaces;
|
|
310
|
+
}
|
|
311
|
+
function namedFamilies(err) {
|
|
312
|
+
const e = err;
|
|
313
|
+
if (e.code !== "FONT_FETCH_FAILED" || !Array.isArray(e.unresolvedFamilies)) return null;
|
|
314
|
+
return e.unresolvedFamilies.filter((f) => typeof f === "string");
|
|
315
|
+
}
|
|
316
|
+
async function unresolvedCloudFonts(dir, entryFile, run) {
|
|
317
|
+
try {
|
|
318
|
+
await bundleWithLocalizedFonts(
|
|
319
|
+
dir,
|
|
320
|
+
(html) => run(html, { failClosedFontFetch: true, allowSystemFontCapture: false, logger: QUIET }),
|
|
321
|
+
{ entryFile }
|
|
322
|
+
);
|
|
323
|
+
return [];
|
|
324
|
+
} catch (err) {
|
|
325
|
+
return namedFamilies(err) ?? [];
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
async function embedSystemFonts(opts, inject) {
|
|
329
|
+
const run = await injectorOr(inject);
|
|
330
|
+
const wanted = await unresolvedCloudFonts(opts.dir, opts.entryFile, run);
|
|
331
|
+
if (wanted.length === 0) return [];
|
|
332
|
+
const css = wanted.map((f, i) => `.f${i}{font-family:"${f}"}`).join("");
|
|
333
|
+
const probe = `<!doctype html><html><head><style>${css}</style></head><body></body></html>`;
|
|
334
|
+
let out;
|
|
335
|
+
try {
|
|
336
|
+
out = await run(probe, {
|
|
337
|
+
failClosedFontFetch: true,
|
|
338
|
+
allowSystemFontCapture: true,
|
|
339
|
+
systemFontsByInnerName: true,
|
|
340
|
+
logger: QUIET
|
|
341
|
+
});
|
|
342
|
+
} catch (err) {
|
|
343
|
+
return namedFamilies(err) ?? wanted;
|
|
344
|
+
}
|
|
345
|
+
const faces = [...out.matchAll(/<style[^>]*>([\s\S]*?)<\/style>/g)].map((m) => m[1] ?? "").filter((css2) => css2.includes("@font-face")).join("\n");
|
|
346
|
+
const entry = opts.fileMap.get(opts.entryPath);
|
|
347
|
+
if (!faces || !entry) return wanted;
|
|
348
|
+
const html = readStaged(entry).toString("utf-8");
|
|
349
|
+
const tag = `<style data-hf-system-fonts>${faces}</style>`;
|
|
350
|
+
const at = html.search(/<\/head>/i);
|
|
351
|
+
opts.fileMap.set(
|
|
352
|
+
opts.entryPath,
|
|
353
|
+
Buffer.from(at < 0 ? tag + html : html.slice(0, at) + tag + html.slice(at), "utf-8")
|
|
354
|
+
);
|
|
355
|
+
return [];
|
|
356
|
+
}
|
|
357
|
+
function describeUnresolvedFonts(families) {
|
|
358
|
+
return families.map((family) => {
|
|
359
|
+
const swap = lookAlikeFor(family);
|
|
360
|
+
return `HyperFrames couldn't find a font file for ${family} on this computer, so the cloud can't have it: ${swap ? `use ${swap}, ` : ""}switch to a font in your project or render on this computer.`;
|
|
361
|
+
}).join("\n");
|
|
362
|
+
}
|
|
363
|
+
|
|
208
364
|
// src/commands/cloud/render.ts
|
|
209
|
-
import { isAbsolute, relative, resolve as resolvePath } from "path";
|
|
365
|
+
import { isAbsolute, relative as relative2, resolve as resolvePath } from "path";
|
|
210
366
|
import { statSync } from "fs";
|
|
211
367
|
var VALID_QUALITY = ["draft", "standard", "high"];
|
|
212
368
|
var VALID_FORMAT = ["mp4", "webm", "mov"];
|
|
@@ -427,7 +583,7 @@ var render_default = defineCommand({
|
|
|
427
583
|
maxWaitMs
|
|
428
584
|
});
|
|
429
585
|
if (detail.status === "failed") {
|
|
430
|
-
handleFailedRender(detail, asJson);
|
|
586
|
+
handleFailedRender(detail, asJson, project.kind === "dir" ? project.dir ?? "." : void 0);
|
|
431
587
|
}
|
|
432
588
|
if (!detail.video_url) {
|
|
433
589
|
errorBox(
|
|
@@ -626,6 +782,16 @@ async function prepareLocalArchive(source, composition, asJson, upload, variable
|
|
|
626
782
|
console.log(`${c.accent("\u25C6")} Zipping ${c.accent(project.name)}`);
|
|
627
783
|
}
|
|
628
784
|
const { fileMap, entryPath } = stageProjectFiles(project, composition);
|
|
785
|
+
const missingFonts = await embedSystemFonts({
|
|
786
|
+
dir: project.dir,
|
|
787
|
+
entryFile: composition,
|
|
788
|
+
entryPath,
|
|
789
|
+
fileMap
|
|
790
|
+
});
|
|
791
|
+
if (missingFonts.length > 0) {
|
|
792
|
+
errorBox("Fonts not on this computer", describeUnresolvedFonts(missingFonts));
|
|
793
|
+
failCommand();
|
|
794
|
+
}
|
|
629
795
|
const offloaded = await offloadMedia(project, fileMap, entryPath, asJson, upload, variablesText);
|
|
630
796
|
const onDiskBytes = [...fileMap.values()].filter((file) => !Buffer.isBuffer(file)).reduce((sum, file) => sum + stagedSize(file), 0);
|
|
631
797
|
const archive = onDiskBytes > DIRECT_UPLOAD_LIMIT_BYTES ? void 0 : zipPublishFileMap(new Map([...fileMap].map(([path, file]) => [path, readStaged(file)])));
|
|
@@ -651,7 +817,7 @@ async function prepareLocalArchive(source, composition, asJson, upload, variable
|
|
|
651
817
|
function stageProjectFiles(project, composition) {
|
|
652
818
|
try {
|
|
653
819
|
const fileMap = stagePublishFiles(project.dir, OFFLOAD_MIN_BYTES);
|
|
654
|
-
const entryPath =
|
|
820
|
+
const entryPath = relative2(
|
|
655
821
|
project.dir,
|
|
656
822
|
resolvePath(project.dir, composition ?? "index.html")
|
|
657
823
|
).replaceAll("\\", "/");
|
|
@@ -862,14 +1028,15 @@ function formatTickLine(detail, elapsedMs) {
|
|
|
862
1028
|
const status = colorStatus(detail.status);
|
|
863
1029
|
return `${status} ${c.dim(formatDuration(elapsedMs))}`;
|
|
864
1030
|
}
|
|
865
|
-
function handleFailedRender(detail, asJson) {
|
|
1031
|
+
function handleFailedRender(detail, asJson, projectDir) {
|
|
866
1032
|
if (asJson) {
|
|
867
1033
|
console.log(JSON.stringify(withMeta({ render: detail }), null, 2));
|
|
868
1034
|
failCommand();
|
|
869
1035
|
}
|
|
1036
|
+
const fontUse = projectDir && detail.failure_message ? describeUnresolvedFontUse(detail.failure_message, projectDir) : void 0;
|
|
870
1037
|
errorBox(
|
|
871
1038
|
"Render failed",
|
|
872
|
-
detail.failure_message ?? "(no failure_message returned)",
|
|
1039
|
+
[detail.failure_message ?? "(no failure_message returned)", fontUse].filter(Boolean).join("\n"),
|
|
873
1040
|
`Inspect: hyperframes cloud get ${detail.render_id}`
|
|
874
1041
|
);
|
|
875
1042
|
failCommand();
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveOutputResolutionFromSize
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SQC4CTD2.js";
|
|
10
10
|
import {
|
|
11
11
|
requireStack,
|
|
12
12
|
stateFilePath,
|
|
@@ -16,24 +16,24 @@ import {
|
|
|
16
16
|
reportVariableIssues,
|
|
17
17
|
resolveVariablesArg,
|
|
18
18
|
validateVariablesAgainstProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WXYV47JX.js";
|
|
20
20
|
import "./chunk-ZBAF6L74.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FC2OXEBQ.js";
|
|
22
22
|
import "./chunk-M3JU24AI.js";
|
|
23
23
|
import "./chunk-EHZESMRB.js";
|
|
24
24
|
import {
|
|
25
25
|
c
|
|
26
26
|
} from "./chunk-HOCC4J5C.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-N7ZKI2CE.js";
|
|
28
28
|
import "./chunk-MEJH7VEA.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-EAO46VPT.js";
|
|
30
30
|
import "./chunk-VC76R6W2.js";
|
|
31
31
|
import "./chunk-OFQWTKPW.js";
|
|
32
32
|
import "./chunk-RQVDTPGD.js";
|
|
33
33
|
import "./chunk-TK7THLRO.js";
|
|
34
34
|
import "./chunk-FXMKHHPO.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-OHQRQE7F.js";
|
|
36
|
+
import "./chunk-CUCP7FKH.js";
|
|
37
37
|
import "./chunk-FR7YBU3H.js";
|
|
38
38
|
import "./chunk-DPVXBVLL.js";
|
|
39
39
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveOutputResolutionFromSize
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SQC4CTD2.js";
|
|
10
10
|
import {
|
|
11
11
|
requireStack
|
|
12
12
|
} from "./chunk-JHOPRAJN.js";
|
|
@@ -14,29 +14,29 @@ import {
|
|
|
14
14
|
loadProjectVariableSchema,
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
validateVariablesAgainstSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WXYV47JX.js";
|
|
18
18
|
import "./chunk-ZBAF6L74.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runWithConcurrencyLimit
|
|
22
|
-
} from "./chunk-JHOCK3DG.js";
|
|
19
|
+
import "./chunk-FC2OXEBQ.js";
|
|
23
20
|
import {
|
|
24
21
|
errorBox
|
|
25
22
|
} from "./chunk-M3JU24AI.js";
|
|
26
23
|
import "./chunk-EHZESMRB.js";
|
|
24
|
+
import {
|
|
25
|
+
runWithConcurrencyLimit
|
|
26
|
+
} from "./chunk-JHOCK3DG.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-HOCC4J5C.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-N7ZKI2CE.js";
|
|
31
31
|
import "./chunk-MEJH7VEA.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-EAO46VPT.js";
|
|
33
33
|
import "./chunk-VC76R6W2.js";
|
|
34
34
|
import "./chunk-OFQWTKPW.js";
|
|
35
35
|
import "./chunk-RQVDTPGD.js";
|
|
36
36
|
import "./chunk-TK7THLRO.js";
|
|
37
37
|
import "./chunk-FXMKHHPO.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-OHQRQE7F.js";
|
|
39
|
+
import "./chunk-CUCP7FKH.js";
|
|
40
40
|
import "./chunk-FR7YBU3H.js";
|
|
41
41
|
import "./chunk-DPVXBVLL.js";
|
|
42
42
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -25,12 +25,12 @@ import "./chunk-K4MJX7SR.js";
|
|
|
25
25
|
import "./chunk-WE42NVH7.js";
|
|
26
26
|
import {
|
|
27
27
|
lintProject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
29
29
|
import "./chunk-WVRAFHJU.js";
|
|
30
30
|
import "./chunk-CZGHFATT.js";
|
|
31
31
|
import "./chunk-HYRPH6LL.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-OHQRQE7F.js";
|
|
33
|
+
import "./chunk-CUCP7FKH.js";
|
|
34
34
|
import "./chunk-FR7YBU3H.js";
|
|
35
35
|
import "./chunk-DPVXBVLL.js";
|
|
36
36
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -11,25 +11,25 @@ import {
|
|
|
11
11
|
resolveItemWithDependencies,
|
|
12
12
|
resolveItemsByTag,
|
|
13
13
|
unreachableRegistryMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VD5G4Y6U.js";
|
|
15
15
|
import "./chunk-JHOCK3DG.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-7LQVFIO4.js";
|
|
17
17
|
import "./chunk-AWDFDFI3.js";
|
|
18
18
|
import "./chunk-P6LJ4Y32.js";
|
|
19
|
-
import "./chunk-T2WJO4XM.js";
|
|
20
19
|
import "./chunk-D3UCUI7G.js";
|
|
20
|
+
import "./chunk-T2WJO4XM.js";
|
|
21
21
|
import "./chunk-TABWG4IT.js";
|
|
22
22
|
import "./chunk-YWRUQ7XZ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-N7ZKI2CE.js";
|
|
24
24
|
import "./chunk-MEJH7VEA.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-EAO46VPT.js";
|
|
26
26
|
import "./chunk-VC76R6W2.js";
|
|
27
27
|
import "./chunk-OFQWTKPW.js";
|
|
28
28
|
import "./chunk-RQVDTPGD.js";
|
|
29
29
|
import "./chunk-TK7THLRO.js";
|
|
30
30
|
import "./chunk-FXMKHHPO.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-OHQRQE7F.js";
|
|
32
|
+
import "./chunk-CUCP7FKH.js";
|
|
33
33
|
import "./chunk-FR7YBU3H.js";
|
|
34
34
|
import "./chunk-DPVXBVLL.js";
|
|
35
35
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -23,7 +23,7 @@ var reverse_default = defineCommand({
|
|
|
23
23
|
description: "Open a reverse-any-video run (start)"
|
|
24
24
|
},
|
|
25
25
|
subCommands: {
|
|
26
|
-
start: () => import("./start-
|
|
26
|
+
start: () => import("./start-EADJCDST.js").then((m) => m.default)
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
export {
|
|
@@ -17,32 +17,32 @@ import {
|
|
|
17
17
|
sherpaRuntimeLoadError,
|
|
18
18
|
sherpaUnsupportedReason,
|
|
19
19
|
transcribeWithSherpa
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7NPHPQH5.js";
|
|
21
21
|
import "./chunk-Z4GE5BXC.js";
|
|
22
22
|
import "./chunk-3S27CPV7.js";
|
|
23
23
|
import "./chunk-5UT3R43E.js";
|
|
24
24
|
import "./chunk-6BEFEWFB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-T32JKZX3.js";
|
|
26
26
|
import "./chunk-SWC3QIEH.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-DD47NQJZ.js";
|
|
28
|
+
import "./chunk-FZRTCVU6.js";
|
|
29
29
|
import "./chunk-RZ6CXJ56.js";
|
|
30
30
|
import "./chunk-R4EWRIDL.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-ZNHWAGMH.js";
|
|
32
32
|
import "./chunk-JZIEZCQM.js";
|
|
33
33
|
import "./chunk-UOFAE5RF.js";
|
|
34
34
|
import "./chunk-IR35BCLK.js";
|
|
35
35
|
import "./chunk-HU2SPFNG.js";
|
|
36
36
|
import "./chunk-A4ZTSQLW.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-6ZRGEVAM.js";
|
|
38
38
|
import "./chunk-Z5J67X44.js";
|
|
39
39
|
import "./chunk-5S7W3TUO.js";
|
|
40
40
|
import "./chunk-D3MUHMFG.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-53UV2EUT.js";
|
|
42
42
|
import "./chunk-YWRUQ7XZ.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-N7ZKI2CE.js";
|
|
44
44
|
import "./chunk-MEJH7VEA.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-EAO46VPT.js";
|
|
46
46
|
import "./chunk-VC76R6W2.js";
|
|
47
47
|
import "./chunk-OFQWTKPW.js";
|
|
48
48
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -54,12 +54,12 @@ import "./chunk-X6JUUQCM.js";
|
|
|
54
54
|
import "./chunk-KGPLIH7B.js";
|
|
55
55
|
import "./chunk-K4MJX7SR.js";
|
|
56
56
|
import "./chunk-WE42NVH7.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-CZ5NNJ6H.js";
|
|
58
58
|
import "./chunk-WVRAFHJU.js";
|
|
59
59
|
import "./chunk-CZGHFATT.js";
|
|
60
60
|
import "./chunk-HYRPH6LL.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-OHQRQE7F.js";
|
|
62
|
+
import "./chunk-CUCP7FKH.js";
|
|
63
63
|
import "./chunk-FR7YBU3H.js";
|
|
64
64
|
import "./chunk-DPVXBVLL.js";
|
|
65
65
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -5,11 +5,13 @@ description: Read first to make, edit, animate or render any video with HyperFra
|
|
|
5
5
|
|
|
6
6
|
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](references/plugin-installation.md).
|
|
7
7
|
|
|
8
|
+
**Usage beacon:** run `npx hyperframes events --skill=hyperframes` once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.
|
|
9
|
+
|
|
8
10
|
# HyperFrames
|
|
9
11
|
|
|
10
12
|
HyperFrames renders HTML to video by seeking a paused timeline frame by frame, so every render is identical; the person edits the same files in the Studio preview. Use it unless another framework or a plain browser recording is asked for. Run the CLI as `npx hyperframes <command>` (`/hyperframes-cli`); at the start of a new video, `npx hyperframes usage --json` reports the person's remaining plan usage (say "unknown" when it is).
|
|
11
13
|
|
|
12
|
-
`index.html` is the root composition: it declares the video's variables and mounts one scene per sub-composition from `compositions/`. Media and fonts live in `assets/`. A new project: `npx hyperframes init <dir> --skip-skills`. A website as the subject: `npx hyperframes capture <url> --json`.
|
|
14
|
+
`index.html` is the root composition: it declares the video's variables and mounts one scene per sub-composition from `compositions/`. Media and fonts live in `assets/`. A new project: `npx hyperframes init <dir> --skip-skills --skill=hyperframes`. A website as the subject: `npx hyperframes capture <url> --json`.
|
|
13
15
|
|
|
14
16
|
Build what was asked: no voiceover or captions and no new aspect ratio unless the request or the source calls for them; a film over ~15 s that tells something gets music and sound on its visible actions unless the person asked for silence (`references/sound.md`). A new video is 1920×1080 at 30 fps. A question, a hold or a loose idea gets an answer or a proposal, not an edit. Before hand-writing a named effect, transition, caption style, chart or card, search the registry (`/hyperframes-registry`). Any media (a presenter or avatar, footage, voice, music): `/media-use`, which says when HeyGen is needed and what is free. Show real things from their source (the product's screens, the brand's logo, a real place's imagery); draw only what has none.
|
|
15
17
|
|
|
@@ -95,7 +95,7 @@ The detail behind the contract in `SKILL.md`. Full references: `npx hyperframes
|
|
|
95
95
|
|
|
96
96
|
- Bundled, so they resolve by name: Inter, Montserrat, Outfit, Nunito, Oswald, League Gothic, Archivo Black, Space Mono, IBM Plex Mono, JetBrains Mono, EB Garamond, Playfair Display, Source Code Pro, Noto Sans JP, Roboto, Open Sans, Lato, Poppins. Common system fonts (Helvetica, Arial, Times, Menlo and the like) are swapped for the nearest of these.
|
|
97
97
|
- The bundle only has Latin text at a few weights per family (Inter: 400, 700, 900). The compiler still fetches each of these families from Google Fonts for the other weights and scripts, and caches the result in `~/.cache/hyperframes/fonts`.
|
|
98
|
-
- Any other family needs `@font-face` in the file that uses it, or lint fails `font_family_without_font_face`: `src: url('assets/fonts/x.woff2')` for a file in the project (a capture's own fonts, or one you download there),
|
|
98
|
+
- Any other family needs `@font-face` in the file that uses it, or lint fails `font_family_without_font_face`: `src: url('assets/fonts/x.woff2')` for a file in the project (a capture's own fonts, or one you download there), A `local('Exact Name')`-only face draws the font installed on this machine; a cloud render has no copy of it (lint warns `font_face_local_only`), so ship the file instead when the video may render in the cloud.
|
|
99
99
|
|
|
100
100
|
## Timing and the timeline
|
|
101
101
|
|
|
@@ -5,6 +5,8 @@ description: The HyperFrames CLI by job - scaffold, check, look at frames, edit
|
|
|
5
5
|
|
|
6
6
|
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).
|
|
7
7
|
|
|
8
|
+
**Usage beacon:** run `npx hyperframes events --skill=hyperframes-cli` once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.
|
|
9
|
+
|
|
8
10
|
# HyperFrames CLI
|
|
9
11
|
|
|
10
12
|
Run `npx hyperframes <command>` unless the project gives a wrapper; then use the wrapper. It needs Node.js 22+ and FFmpeg. Every command has `--help`; most take `--json`, and a failure prints `✗ …`, a `Fix:` line and exits non-zero.
|
|
@@ -5,6 +5,8 @@ description: Get or make any media for a HyperFrames video - music, sound effect
|
|
|
5
5
|
|
|
6
6
|
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).
|
|
7
7
|
|
|
8
|
+
**Usage beacon:** run `npx hyperframes events --skill=media-use` once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.
|
|
9
|
+
|
|
8
10
|
# Media in HyperFrames
|
|
9
11
|
|
|
10
12
|
Media lands as a local file in the project's `assets/` with a ledger record; renders never fetch. One verb finds or makes it:
|
|
@@ -228,9 +228,9 @@ function errorCode(body) {
|
|
|
228
228
|
export function billingRefusal(e) {
|
|
229
229
|
const code = e?.body ? errorCode(e.body) : null;
|
|
230
230
|
if (code === "hf_subscription_required")
|
|
231
|
-
return "This needs a HyperFrames plan. Run `npx hyperframes billing subscribe`: it opens the page and waits.";
|
|
231
|
+
return "This needs a HyperFrames plan. Run `npx hyperframes billing subscribe --skill media-use`: it opens the page and waits.";
|
|
232
232
|
if (code === "hf_usage_exhausted")
|
|
233
|
-
return "Out of HyperFrames credits. Run `npx hyperframes billing add-credits`: it opens the page and waits.";
|
|
233
|
+
return "Out of HyperFrames credits. Run `npx hyperframes billing add-credits --skill media-use`: it opens the page and waits.";
|
|
234
234
|
if (code === "api_key_required")
|
|
235
235
|
return "This HeyGen feature isn't available with this sign-in yet. Nothing was charged. Use a HeyGen API key, or wait for HyperFrames billing in the CLI.";
|
|
236
236
|
return null;
|
|
@@ -392,11 +392,11 @@ test("a refused HyperFrames-plan call becomes one line with the billing command"
|
|
|
392
392
|
});
|
|
393
393
|
assert.equal(
|
|
394
394
|
heygenMessage(refused("hf_subscription_required")),
|
|
395
|
-
"This needs a HyperFrames plan. Run `npx hyperframes billing subscribe`: it opens the page and waits.",
|
|
395
|
+
"This needs a HyperFrames plan. Run `npx hyperframes billing subscribe --skill media-use`: it opens the page and waits.",
|
|
396
396
|
);
|
|
397
397
|
assert.equal(
|
|
398
398
|
heygenMessage(refused("hf_usage_exhausted")),
|
|
399
|
-
"Out of HyperFrames credits. Run `npx hyperframes billing add-credits`: it opens the page and waits.",
|
|
399
|
+
"Out of HyperFrames credits. Run `npx hyperframes billing add-credits --skill media-use`: it opens the page and waits.",
|
|
400
400
|
);
|
|
401
401
|
assert.match(
|
|
402
402
|
heygenMessage({ status: 403, body: JSON.stringify({ error: { code: "api_key_required" } }) }),
|