@ignix-social/editor 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/NOTICE +54 -0
- package/README.md +23 -0
- package/bin/ignix-editor.mjs +8 -0
- package/package.json +53 -0
- package/patches/index.mjs +53 -0
- package/scripts/build-ffmpeg-macos.sh +35 -0
- package/scripts/build-whisper-macos.sh +21 -0
- package/scripts/vendor.mjs +41 -0
- package/skills/ignix-editor/SKILL.md +132 -0
- package/src/audio.mjs +31 -0
- package/src/binaries.json +46 -0
- package/src/binaries.mjs +83 -0
- package/src/cli.mjs +254 -0
- package/src/prepare.mjs +74 -0
- package/src/runtime/ignix-frame.js +92 -0
- package/src/transcribe.mjs +71 -0
- package/src/validate.mjs +71 -0
- package/templates/blank/index.html +41 -0
- package/vendor/hyperframes/README.md +181 -0
- package/vendor/hyperframes/UPSTREAM.json +12 -0
- package/vendor/hyperframes/bin/hyperframes-localize-fonts.mjs +12 -0
- package/vendor/hyperframes/bin/hyperframes.mjs +11 -0
- package/vendor/hyperframes/dist/add-LR3ZR2A5.js +79 -0
- package/vendor/hyperframes/dist/agentPromptGenerator-VIIPZCJ3.js +143 -0
- package/vendor/hyperframes/dist/animatedGifPrep-P2T6YM7Z.js +34 -0
- package/vendor/hyperframes/dist/asset-BE2DOV72.js +26 -0
- package/vendor/hyperframes/dist/assetCataloger-VBLPHX24.js +340 -0
- package/vendor/hyperframes/dist/auth-RCQB2ZT7.js +60 -0
- package/vendor/hyperframes/dist/autoUpdate-RJAX3DAZ.js +268 -0
- package/vendor/hyperframes/dist/backgroundChecks-H2LCUIMJ.js +61 -0
- package/vendor/hyperframes/dist/backgroundChecksWorker.js +26 -0
- package/vendor/hyperframes/dist/batchRender-FT7AP7XH.js +355 -0
- package/vendor/hyperframes/dist/beat-analyzer.global.js +338 -0
- package/vendor/hyperframes/dist/beats-Y2EOP72P.js +309 -0
- package/vendor/hyperframes/dist/benchmark-MZ7GY3JW.js +231 -0
- package/vendor/hyperframes/dist/browser-HUTAMRQE.js +237 -0
- package/vendor/hyperframes/dist/bundleWithLocalizedFonts-5QOPOB5D.js +52 -0
- package/vendor/hyperframes/dist/capture-RLZA6EMR.js +4079 -0
- package/vendor/hyperframes/dist/capture-SZZ4IYJK.js +290 -0
- package/vendor/hyperframes/dist/captureFile-LYOJOUIE.js +15 -0
- package/vendor/hyperframes/dist/captureTimeout-PA4FYWT5.js +27 -0
- package/vendor/hyperframes/dist/catalog-KYU55EWR.js +1001 -0
- package/vendor/hyperframes/dist/check-TCG4PXLR.js +1697 -0
- package/vendor/hyperframes/dist/checkBrowser-RPMO4OW5.js +1032 -0
- package/vendor/hyperframes/dist/chunk-2EAXUCCE.js +88 -0
- package/vendor/hyperframes/dist/chunk-2EGFTPWD.js +1077 -0
- package/vendor/hyperframes/dist/chunk-2PSPARWP.js +6058 -0
- package/vendor/hyperframes/dist/chunk-2YN64IN5.js +5747 -0
- package/vendor/hyperframes/dist/chunk-3GXQPCJC.js +682 -0
- package/vendor/hyperframes/dist/chunk-3ZP5DXE7.js +15 -0
- package/vendor/hyperframes/dist/chunk-4NWOGZZS.js +1990 -0
- package/vendor/hyperframes/dist/chunk-4PFZPP2N.js +587 -0
- package/vendor/hyperframes/dist/chunk-4THIAPBL.js +128 -0
- package/vendor/hyperframes/dist/chunk-4YYJOFKS.js +28 -0
- package/vendor/hyperframes/dist/chunk-54HJ63Q2.js +29 -0
- package/vendor/hyperframes/dist/chunk-5ETJX6WM.js +89 -0
- package/vendor/hyperframes/dist/chunk-5IAKAQA7.js +389 -0
- package/vendor/hyperframes/dist/chunk-5Z63TBTX.js +37 -0
- package/vendor/hyperframes/dist/chunk-6BEFEWFB.js +25 -0
- package/vendor/hyperframes/dist/chunk-6CSYCFQV.js +68 -0
- package/vendor/hyperframes/dist/chunk-6CTIGJY7.js +154 -0
- package/vendor/hyperframes/dist/chunk-7HG4BFIN.js +93 -0
- package/vendor/hyperframes/dist/chunk-7JZ4FXP2.js +118 -0
- package/vendor/hyperframes/dist/chunk-A2Z4Z4VL.js +2961 -0
- package/vendor/hyperframes/dist/chunk-AMKC3AXA.js +25 -0
- package/vendor/hyperframes/dist/chunk-AVUUN2XD.js +4847 -0
- package/vendor/hyperframes/dist/chunk-AWDFDFI3.js +46 -0
- package/vendor/hyperframes/dist/chunk-AWNBM3MZ.js +94 -0
- package/vendor/hyperframes/dist/chunk-BXCMXMJQ.js +73 -0
- package/vendor/hyperframes/dist/chunk-BZ56MTDX.js +6 -0
- package/vendor/hyperframes/dist/chunk-CFKU7HTK.js +171 -0
- package/vendor/hyperframes/dist/chunk-CWPVM2QV.js +308 -0
- package/vendor/hyperframes/dist/chunk-DPVXBVLL.js +31292 -0
- package/vendor/hyperframes/dist/chunk-DQBY7FRR.js +397 -0
- package/vendor/hyperframes/dist/chunk-E6RPWJVC.js +213 -0
- package/vendor/hyperframes/dist/chunk-EISRN4E6.js +294 -0
- package/vendor/hyperframes/dist/chunk-EOVYQ3IG.js +143 -0
- package/vendor/hyperframes/dist/chunk-F3WZGU7C.js +479 -0
- package/vendor/hyperframes/dist/chunk-FCSIGXXP.js +366 -0
- package/vendor/hyperframes/dist/chunk-FI4I7CME.js +56 -0
- package/vendor/hyperframes/dist/chunk-FLWXXDNS.js +15 -0
- package/vendor/hyperframes/dist/chunk-GK4AIFIH.js +11171 -0
- package/vendor/hyperframes/dist/chunk-GMECXFAN.js +57 -0
- package/vendor/hyperframes/dist/chunk-GULOKZLI.js +155 -0
- package/vendor/hyperframes/dist/chunk-H4YZZ2VQ.js +68 -0
- package/vendor/hyperframes/dist/chunk-H6QMKUYA.js +477 -0
- package/vendor/hyperframes/dist/chunk-HBBJFK6I.js +273 -0
- package/vendor/hyperframes/dist/chunk-HRUGC23L.js +212 -0
- package/vendor/hyperframes/dist/chunk-HVW7ABXD.js +19 -0
- package/vendor/hyperframes/dist/chunk-HW6OYASV.js +344 -0
- package/vendor/hyperframes/dist/chunk-HWKCIWQT.js +3578 -0
- package/vendor/hyperframes/dist/chunk-I465DBM6.js +1214 -0
- package/vendor/hyperframes/dist/chunk-IGLEPPTN.js +24 -0
- package/vendor/hyperframes/dist/chunk-IGNAAHS3.js +433 -0
- package/vendor/hyperframes/dist/chunk-IHFUKJOR.js +85 -0
- package/vendor/hyperframes/dist/chunk-IQ3OUQ5Z.js +213 -0
- package/vendor/hyperframes/dist/chunk-ISN5GRYI.js +20 -0
- package/vendor/hyperframes/dist/chunk-IUZFXWSV.js +446 -0
- package/vendor/hyperframes/dist/chunk-JH556Q42.js +647 -0
- package/vendor/hyperframes/dist/chunk-JTHMTOMQ.js +601 -0
- package/vendor/hyperframes/dist/chunk-K2EQN4VU.js +405 -0
- package/vendor/hyperframes/dist/chunk-K2FTXJYH.js +16044 -0
- package/vendor/hyperframes/dist/chunk-K4WIOZFP.js +32 -0
- package/vendor/hyperframes/dist/chunk-K4WKGXRC.js +18 -0
- package/vendor/hyperframes/dist/chunk-KBJUXVOJ.js +172 -0
- package/vendor/hyperframes/dist/chunk-KC5XXX3X.js +590 -0
- package/vendor/hyperframes/dist/chunk-KNU5COPB.js +29 -0
- package/vendor/hyperframes/dist/chunk-KZI44OPA.js +185 -0
- package/vendor/hyperframes/dist/chunk-L3YOGIPG.js +48 -0
- package/vendor/hyperframes/dist/chunk-LAOCA3MQ.js +189 -0
- package/vendor/hyperframes/dist/chunk-LCSMOLGX.js +312 -0
- package/vendor/hyperframes/dist/chunk-LFGJWOVA.js +61 -0
- package/vendor/hyperframes/dist/chunk-LHSR3M4M.js +498 -0
- package/vendor/hyperframes/dist/chunk-LYNI3FOL.js +123 -0
- package/vendor/hyperframes/dist/chunk-M2WBOQ2Q.js +54 -0
- package/vendor/hyperframes/dist/chunk-MRF4AMKD.js +104 -0
- package/vendor/hyperframes/dist/chunk-MWB3ZIFM.js +852 -0
- package/vendor/hyperframes/dist/chunk-NGKM64BP.js +39 -0
- package/vendor/hyperframes/dist/chunk-NXMYHJAL.js +43 -0
- package/vendor/hyperframes/dist/chunk-OAF4XJOW.js +192 -0
- package/vendor/hyperframes/dist/chunk-OFQWTKPW.js +117 -0
- package/vendor/hyperframes/dist/chunk-P6LJ4Y32.js +4662 -0
- package/vendor/hyperframes/dist/chunk-PBN6GBJE.js +108 -0
- package/vendor/hyperframes/dist/chunk-PDAMK4Q5.js +28 -0
- package/vendor/hyperframes/dist/chunk-PFCFR3KZ.js +20 -0
- package/vendor/hyperframes/dist/chunk-PJ3HDUCY.js +108 -0
- package/vendor/hyperframes/dist/chunk-PMRBLBUP.js +152 -0
- package/vendor/hyperframes/dist/chunk-PPQUYWTW.js +240 -0
- package/vendor/hyperframes/dist/chunk-Q5X2B5WT.js +29 -0
- package/vendor/hyperframes/dist/chunk-Q7IU7MOR.js +351 -0
- package/vendor/hyperframes/dist/chunk-QC4FJVLM.js +371 -0
- package/vendor/hyperframes/dist/chunk-QNYYOUU3.js +1318 -0
- package/vendor/hyperframes/dist/chunk-RDNNAKEP.js +161 -0
- package/vendor/hyperframes/dist/chunk-RMHUQGRK.js +657 -0
- package/vendor/hyperframes/dist/chunk-RQVDTPGD.js +6 -0
- package/vendor/hyperframes/dist/chunk-RVCWIIZ7.js +68 -0
- package/vendor/hyperframes/dist/chunk-S3D6GE5W.js +72 -0
- package/vendor/hyperframes/dist/chunk-S3S4TGEH.js +424 -0
- package/vendor/hyperframes/dist/chunk-S7NPLFWV.js +11395 -0
- package/vendor/hyperframes/dist/chunk-SHB5VDMH.js +51 -0
- package/vendor/hyperframes/dist/chunk-TCLGPL65.js +860 -0
- package/vendor/hyperframes/dist/chunk-THXFSPLV.js +40 -0
- package/vendor/hyperframes/dist/chunk-TJSTGSAW.js +354 -0
- package/vendor/hyperframes/dist/chunk-TQFG7HTI.js +1024 -0
- package/vendor/hyperframes/dist/chunk-TVCRUG2S.js +265 -0
- package/vendor/hyperframes/dist/chunk-TWWSYAKJ.js +24 -0
- package/vendor/hyperframes/dist/chunk-U7CZBDMV.js +27 -0
- package/vendor/hyperframes/dist/chunk-UEZXMWG3.js +139 -0
- package/vendor/hyperframes/dist/chunk-UYEZTK4U.js +61 -0
- package/vendor/hyperframes/dist/chunk-VC76R6W2.js +27 -0
- package/vendor/hyperframes/dist/chunk-VFCKXTBB.js +159 -0
- package/vendor/hyperframes/dist/chunk-VWG7OQKU.js +22 -0
- package/vendor/hyperframes/dist/chunk-VXVRPIJA.js +105 -0
- package/vendor/hyperframes/dist/chunk-WBLXWOYK.js +15 -0
- package/vendor/hyperframes/dist/chunk-WERLJGIC.js +20 -0
- package/vendor/hyperframes/dist/chunk-WMQNIQDJ.js +2057 -0
- package/vendor/hyperframes/dist/chunk-WPHMNO44.js +4528 -0
- package/vendor/hyperframes/dist/chunk-X5HWXQPU.js +113 -0
- package/vendor/hyperframes/dist/chunk-X7MTZ4T2.js +6 -0
- package/vendor/hyperframes/dist/chunk-XH4DSOS5.js +59 -0
- package/vendor/hyperframes/dist/chunk-XS4EJSKU.js +23 -0
- package/vendor/hyperframes/dist/chunk-XT5P4QMO.js +181 -0
- package/vendor/hyperframes/dist/chunk-XT7X6QCP.js +6 -0
- package/vendor/hyperframes/dist/chunk-XUHOIDKG.js +6 -0
- package/vendor/hyperframes/dist/chunk-XUXGIA7H.js +485 -0
- package/vendor/hyperframes/dist/chunk-XZABUQTX.js +113 -0
- package/vendor/hyperframes/dist/chunk-Y6W4DVPS.js +356 -0
- package/vendor/hyperframes/dist/chunk-YEIFI443.js +44 -0
- package/vendor/hyperframes/dist/chunk-YQZNILVH.js +375 -0
- package/vendor/hyperframes/dist/chunk-Z27A7NUB.js +65 -0
- package/vendor/hyperframes/dist/chunk-Z6B37SNM.js +3081 -0
- package/vendor/hyperframes/dist/chunk-ZJUKFZ2P.js +10954 -0
- package/vendor/hyperframes/dist/chunk-ZKDMAOFU.js +32 -0
- package/vendor/hyperframes/dist/chunk-ZMXUQLI2.js +17219 -0
- package/vendor/hyperframes/dist/chunk-ZTZ7NCJT.js +58 -0
- package/vendor/hyperframes/dist/chunk-ZTZA4UWZ.js +108 -0
- package/vendor/hyperframes/dist/clean-W57E5YQ3.js +293 -0
- package/vendor/hyperframes/dist/cli.js +495 -0
- package/vendor/hyperframes/dist/cloud-FFTJGZ24.js +70 -0
- package/vendor/hyperframes/dist/cloudrun-AJUTHUEA.js +763 -0
- package/vendor/hyperframes/dist/colors-HKWSZCGK.js +15 -0
- package/vendor/hyperframes/dist/commands/contrast-audit.browser.js +459 -0
- package/vendor/hyperframes/dist/commands/layout-audit.browser.js +2102 -0
- package/vendor/hyperframes/dist/commands/motion-sample.browser.js +74 -0
- package/vendor/hyperframes/dist/commands/motion-signature.browser.js +374 -0
- package/vendor/hyperframes/dist/compare-AYCTT55F.js +421 -0
- package/vendor/hyperframes/dist/compiler-QO36EXLS.js +121 -0
- package/vendor/hyperframes/dist/component-VFFR2O7T.js +176 -0
- package/vendor/hyperframes/dist/compositions-QTVN3U2A.js +228 -0
- package/vendor/hyperframes/dist/contactSheet-27SRU7A4.js +22 -0
- package/vendor/hyperframes/dist/delete-ZAKYCB7I.js +114 -0
- package/vendor/hyperframes/dist/deploy-MX76RZ36.js +101 -0
- package/vendor/hyperframes/dist/destroy-H2TZBYHH.js +42 -0
- package/vendor/hyperframes/dist/deterministicFonts-HAEMV4TM.js +50 -0
- package/vendor/hyperframes/dist/dist-EWXJGN63.js +129 -0
- package/vendor/hyperframes/dist/dist-FNNGCKFS.js +29 -0
- package/vendor/hyperframes/dist/dist-S3PJNPXQ.js +392 -0
- package/vendor/hyperframes/dist/docker/Dockerfile.render +65 -0
- package/vendor/hyperframes/dist/docs/compositions.md +67 -0
- package/vendor/hyperframes/dist/docs/data-attributes.md +27 -0
- package/vendor/hyperframes/dist/docs/examples.md +19 -0
- package/vendor/hyperframes/dist/docs/gsap.md +26 -0
- package/vendor/hyperframes/dist/docs/rendering.md +35 -0
- package/vendor/hyperframes/dist/docs/troubleshooting.md +29 -0
- package/vendor/hyperframes/dist/docs-QAPJEGLS.js +131 -0
- package/vendor/hyperframes/dist/doctor-AI7C3FON.js +67 -0
- package/vendor/hyperframes/dist/dom-IROKGVJI.js +14 -0
- package/vendor/hyperframes/dist/dotEnv-AECLXQSO.js +14 -0
- package/vendor/hyperframes/dist/events-7LALYNKZ.js +92 -0
- package/vendor/hyperframes/dist/events-FQY3HGKZ.js +88 -0
- package/vendor/hyperframes/dist/feedback-WCMDMSTK.js +472 -0
- package/vendor/hyperframes/dist/ffmpeg-QIUFEFTY.js +35 -0
- package/vendor/hyperframes/dist/figma-64WY462P.js +63 -0
- package/vendor/hyperframes/dist/fontData.generated-NXAOI4GH.js +13 -0
- package/vendor/hyperframes/dist/fontLocalizeCli.js +132 -0
- package/vendor/hyperframes/dist/get-FPOMJMZB.js +103 -0
- package/vendor/hyperframes/dist/gpuPolicy-2ZUZE5D6.js +38 -0
- package/vendor/hyperframes/dist/grade-compare-E2CKPST4.js +647 -0
- package/vendor/hyperframes/dist/gsapParser-DIYYX6JT.js +2846 -0
- package/vendor/hyperframes/dist/gsapParserAcorn-E3GEIRZB.js +28 -0
- package/vendor/hyperframes/dist/help-YRQIDDML.js +197 -0
- package/vendor/hyperframes/dist/history-PP5NDRV3.js +571 -0
- package/vendor/hyperframes/dist/hyperframe-runtime.js +1081 -0
- package/vendor/hyperframes/dist/hyperframe.manifest.json +22 -0
- package/vendor/hyperframes/dist/hyperframe.runtime.iife.js +1081 -0
- package/vendor/hyperframes/dist/hyperframes-player.global.js +474 -0
- package/vendor/hyperframes/dist/hyperframes-slideshow.global.js +149 -0
- package/vendor/hyperframes/dist/info-SEX3B7JL.js +153 -0
- package/vendor/hyperframes/dist/init-U3AKHO5B.js +1147 -0
- package/vendor/hyperframes/dist/inspect-Q3K6EDEK.js +97 -0
- package/vendor/hyperframes/dist/installer-K6O5WF44.js +37 -0
- package/vendor/hyperframes/dist/keyframes-DC64JCI3.js +2602 -0
- package/vendor/hyperframes/dist/lambda-D7UMN4DJ.js +451 -0
- package/vendor/hyperframes/dist/layout-XSPPDHOO.js +86 -0
- package/vendor/hyperframes/dist/lib-TPG2ZMAX.js +128 -0
- package/vendor/hyperframes/dist/lint-7DQZE7L3.js +164 -0
- package/vendor/hyperframes/dist/lintProject-OHBBM3DJ.js +27 -0
- package/vendor/hyperframes/dist/list-4K5MVDQX.js +162 -0
- package/vendor/hyperframes/dist/login-NTX4OWXL.js +377 -0
- package/vendor/hyperframes/dist/logout-Q654A3SI.js +100 -0
- package/vendor/hyperframes/dist/manager-67P2XFXQ.js +34 -0
- package/vendor/hyperframes/dist/manager-CT3D67CG.js +38 -0
- package/vendor/hyperframes/dist/manager-GFN75DM4.js +30 -0
- package/vendor/hyperframes/dist/media-treatment-5FYAOPNL.js +972 -0
- package/vendor/hyperframes/dist/media-use-4XXGABIL.js +113 -0
- package/vendor/hyperframes/dist/models-C4E4IWJD.js +137 -0
- package/vendor/hyperframes/dist/motionShot-S4MIGMT5.js +614 -0
- package/vendor/hyperframes/dist/normalize-O76AC4HE.js +333 -0
- package/vendor/hyperframes/dist/normalize-audio-CSFTXLXD.js +276 -0
- package/vendor/hyperframes/dist/open-2ZD6BHZG.js +115 -0
- package/vendor/hyperframes/dist/pipeline-TNGWUZQC.js +54 -0
- package/vendor/hyperframes/dist/play-CTMUXX6E.js +349 -0
- package/vendor/hyperframes/dist/policies-FSDZVS2E.js +292 -0
- package/vendor/hyperframes/dist/preflight-SMNV6RW2.js +45 -0
- package/vendor/hyperframes/dist/present-WQVHV5CR.js +350 -0
- package/vendor/hyperframes/dist/preview-JOJXTH75.js +1820 -0
- package/vendor/hyperframes/dist/producer-ECLEN5RP.js +13 -0
- package/vendor/hyperframes/dist/progress-FBIEEB7Y.js +73 -0
- package/vendor/hyperframes/dist/projectConfig-HYJMJ5BY.js +56 -0
- package/vendor/hyperframes/dist/publication-HQ5Y3KBM.js +29 -0
- package/vendor/hyperframes/dist/publish-VHDYQASC.js +430 -0
- package/vendor/hyperframes/dist/refresh-K24ETHMA.js +53 -0
- package/vendor/hyperframes/dist/remove-background-W2YX2NVH.js +253 -0
- package/vendor/hyperframes/dist/render-AO5VX3YI.js +177 -0
- package/vendor/hyperframes/dist/render-LNO62LEL.js +2367 -0
- package/vendor/hyperframes/dist/render-TTQI7TGN.js +796 -0
- package/vendor/hyperframes/dist/render-batch-YH7CTWNY.js +284 -0
- package/vendor/hyperframes/dist/renderCancellation-JPIHE47X.js +35 -0
- package/vendor/hyperframes/dist/renderSetupWorker.js +79 -0
- package/vendor/hyperframes/dist/resolver-IZ647GBZ.js +38 -0
- package/vendor/hyperframes/dist/runtimeVersion.js +18 -0
- package/vendor/hyperframes/dist/screenshotCapture-ECBTLCU6.js +179 -0
- package/vendor/hyperframes/dist/shaderTransitionWorker.js +44 -0
- package/vendor/hyperframes/dist/sherpa-KKLNW6U2.js +314 -0
- package/vendor/hyperframes/dist/sherpaWorker.js +77 -0
- package/vendor/hyperframes/dist/sites-TNVKZS73.js +52 -0
- package/vendor/hyperframes/dist/skill-ZHVLH7KX.js +15 -0
- package/vendor/hyperframes/dist/skills/hyperframes/SKILL.md +152 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/brief-contract.md +108 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/brief-format.md +72 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/capability-menu.md +47 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/frame-worker-core.md +80 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/intent-interview.md +73 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/pitch-round.md +40 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/plugin-installation.md +43 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/production-loop.md +26 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/review-loop.md +37 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/route-briefs.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/embedded-captions.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/faceless-explainer.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/general-video.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/motion-graphics.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/music-to-video.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/pr-to-video.md +28 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/product-launch-video.md +13 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/remotion-to-hyperframes.md +9 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/slideshow.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/talking-head-recut.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/script-format.md +52 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/skill-lifecycle.md +35 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/storyboard-format.md +99 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/subagent-dispatch.md +35 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/workflow-catalog.md +10 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/lib/frame-packets-core.mjs +194 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/plugin-cli.mjs +88 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +117 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/SKILL.md +189 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/beats.md +19 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/cloud.md +163 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/cloudrun.md +62 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/compare-and-batch.md +105 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/doctor-browser.md +57 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/init-and-scaffold.md +74 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/lambda.md +185 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +132 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/preview-render.md +193 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +134 -0
- package/vendor/hyperframes/dist/skills/media-use/SKILL.md +100 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/CREDITS.md +35 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/chime.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/click-soft.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/click.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/error.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-1.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-2.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-3.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/impact-bass-1.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/impact-bass-2.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/key-press.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/manifest.json +97 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/notification.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/ping.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/pop.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/riser.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/sparkle.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/typing.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh-cinematic.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh-short.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/bgm.md +76 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/authoring.md +163 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/motion.md +87 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/transcript-handling.md +97 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/remove-background.md +143 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/requirements.md +29 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/sfx.md +42 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/transcribe.md +52 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/tts-to-captions.md +35 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/tts.md +260 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/audio.mjs +311 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/audio.test.mjs +159 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +131 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-tts.mjs +122 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +38 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-voice.mjs +98 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +233 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/audio-meta.mjs +39 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm-volume.mjs +4 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm.mjs +257 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +74 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/concurrency.mjs +14 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +41 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +43 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.py +52 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +86 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth_test.py +90 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +122 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +243 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/heygen.mjs +197 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +185 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/media-record.mjs +114 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +205 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/python.mjs +77 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/python.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/sfx.mjs +165 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +121 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.mjs +389 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +158 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +230 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lyria-recipe.py +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/wait-bgm.mjs +175 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +108 -0
- package/vendor/hyperframes/dist/skills/media-use/luts/README.md +28 -0
- package/vendor/hyperframes/dist/skills/media-use/luts/index.json +57 -0
- package/vendor/hyperframes/dist/skills/media-use/references/audio.md +20 -0
- package/vendor/hyperframes/dist/skills/media-use/references/grading.md +160 -0
- package/vendor/hyperframes/dist/skills/media-use/references/media-treatment-recipes.md +929 -0
- package/vendor/hyperframes/dist/skills/media-use/references/media-treatments.md +202 -0
- package/vendor/hyperframes/dist/skills/media-use/references/memory.md +37 -0
- package/vendor/hyperframes/dist/skills/media-use/references/meta.md +61 -0
- package/vendor/hyperframes/dist/skills/media-use/references/operations.md +327 -0
- package/vendor/hyperframes/dist/skills/media-use/references/resolve.md +150 -0
- package/vendor/hyperframes/dist/skills/media-use/references/setup-providers.md +80 -0
- package/vendor/hyperframes/dist/skills/media-use/references/telemetry-dashboard.md +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/audio-duck.mjs +113 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/compatibility.test.mjs +96 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/dither.mjs +328 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/dither.test.mjs +176 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/eval.mjs +369 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/adopt.mjs +128 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/adopt.test.mjs +95 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bgm-provider.mjs +20 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/brand-provider.mjs +59 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +119 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +139 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cache.mjs +148 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/candidates.mjs +91 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/candidates.test.mjs +155 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/codex-provider.mjs +161 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +34 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.d.mts +3 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.mjs +45 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.test.mjs +79 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/coverage.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-build.mjs +181 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-build.test.mjs +80 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-validate.mjs +198 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +125 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cutlist.mjs +184 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cutlist.test.mjs +162 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/duck.mjs +95 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/duck.test.mjs +153 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/error-diffusion.mjs +230 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +102 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ff-binaries.mjs +37 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/freeze.mjs +72 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/freeze.test.mjs +138 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/grade-analyzer.mjs +265 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +285 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-cli.mjs +191 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +301 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-search.mjs +45 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +138 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +435 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/image-provider.mjs +44 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/index-gen.mjs +63 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-media-search.mjs +32 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-models.mjs +318 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-models.test.mjs +220 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-run.mjs +78 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-run.test.mjs +121 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/logo-provider.mjs +244 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +298 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +94 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +316 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/lut-preset-provider.mjs +271 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +199 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.d.mts +19 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.mjs +279 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.test.mjs +397 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/match.mjs +47 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-fetch.mjs +85 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +197 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-home.mjs +20 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-home.test.mjs +61 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-search.d.mts +9 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-search.mjs +107 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/mflux-provider.mjs +128 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +174 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/misses.mjs +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/misses.test.mjs +89 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/npx-sync.mjs +31 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +50 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/parakeet-words.mjs +27 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +44 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/prefs-store.mjs +180 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +189 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/probe.mjs +41 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/probe.test.mjs +148 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/providers.mjs +5 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/recipe-store.mjs +367 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +367 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/registry.mjs +212 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/registry.test.mjs +262 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/search.mjs +24 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/search.test.mjs +32 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/specs.mjs +132 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/specs.test.mjs +157 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/stats.mjs +117 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/stats.test.mjs +165 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +21 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/telemetry.mjs +210 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/telemetry.test.mjs +437 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/test-home.test.mjs +10 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/transcriptCutFade.mjs +21 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +33 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +94 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +72 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/usage.mjs +57 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/usage.test.mjs +54 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/voice-provider.mjs +57 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +46 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/words.mjs +18 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/prefs.mjs +70 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/recipe.mjs +103 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/resolve-plugin.test.mjs +62 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/resolve.mjs +1369 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcribe.mjs +194 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcribe.test.mjs +112 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcript-cut.mjs +270 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcript-cut.test.mjs +117 -0
- package/vendor/hyperframes/dist/skills-MJ2J4GEM.js +808 -0
- package/vendor/hyperframes/dist/skillsUpdateCheck-TKTYQN5R.js +26 -0
- package/vendor/hyperframes/dist/slideshow-EJ4IMY6P.js +24 -0
- package/vendor/hyperframes/dist/snapshot-KIVDUUMN.js +875 -0
- package/vendor/hyperframes/dist/src-6YQBJGWR.js +202 -0
- package/vendor/hyperframes/dist/src-PVYUYV3M.js +471 -0
- package/vendor/hyperframes/dist/state-KAXGHF77.js +26 -0
- package/vendor/hyperframes/dist/staticProjectServer-7EU666GS.js +49 -0
- package/vendor/hyperframes/dist/status-YM52BQ6S.js +311 -0
- package/vendor/hyperframes/dist/studio/assets/hyperframes-player-Cp8e_Zst.js +473 -0
- package/vendor/hyperframes/dist/studio/assets/index-BX3KHhGX.js +71 -0
- package/vendor/hyperframes/dist/studio/assets/index-CASEBNy2.js +1 -0
- package/vendor/hyperframes/dist/studio/assets/index-D11atkBt.css +1 -0
- package/vendor/hyperframes/dist/studio/assets/index-DMTt9nTf.js +531 -0
- package/vendor/hyperframes/dist/studio/assets/index-oE1pOdAy.js +399 -0
- package/vendor/hyperframes/dist/studio/chunk-5VSXRGIX.js +948 -0
- package/vendor/hyperframes/dist/studio/chunk-5VSXRGIX.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-7UQWVN52.js +938 -0
- package/vendor/hyperframes/dist/studio/chunk-7UQWVN52.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-EEXSYY5F.js +190 -0
- package/vendor/hyperframes/dist/studio/chunk-EEXSYY5F.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-FOEID72M.js +1441 -0
- package/vendor/hyperframes/dist/studio/chunk-FOEID72M.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-PZ5AY32C.js +10 -0
- package/vendor/hyperframes/dist/studio/chunk-PZ5AY32C.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-TDWGXBUT.js +1103 -0
- package/vendor/hyperframes/dist/studio/chunk-TDWGXBUT.js.map +1 -0
- package/vendor/hyperframes/dist/studio/domEditingLayers-IEVLO54Z.js +47 -0
- package/vendor/hyperframes/dist/studio/domEditingLayers-IEVLO54Z.js.map +1 -0
- package/vendor/hyperframes/dist/studio/favicon.svg +14 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/audio.svg +7 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/captions.svg +5 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/composition.svg +12 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/image.svg +18 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/music.svg +10 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/text.svg +3 -0
- package/vendor/hyperframes/dist/studio/index.css +165 -0
- package/vendor/hyperframes/dist/studio/index.css.map +1 -0
- package/vendor/hyperframes/dist/studio/index.d.ts +4296 -0
- package/vendor/hyperframes/dist/studio/index.html +23 -0
- package/vendor/hyperframes/dist/studio/index.js +99693 -0
- package/vendor/hyperframes/dist/studio/index.js.map +1 -0
- package/vendor/hyperframes/dist/studio/player.d.ts +30 -0
- package/vendor/hyperframes/dist/studio/player.js +10 -0
- package/vendor/hyperframes/dist/studio/player.js.map +1 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.d.ts +39 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.js +50 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.js.map +1 -0
- package/vendor/hyperframes/dist/studio/styles.css +1 -0
- package/vendor/hyperframes/dist/studio/ui.d.ts +296 -0
- package/vendor/hyperframes/dist/studio/ui.js +66 -0
- package/vendor/hyperframes/dist/studio/ui.js.map +1 -0
- package/vendor/hyperframes/dist/studio-api-PNQZRPX5.js +136 -0
- package/vendor/hyperframes/dist/studioSelectionClient-IUUPKUHZ.js +25 -0
- package/vendor/hyperframes/dist/studioServer-UWRBPIOJ.js +1457 -0
- package/vendor/hyperframes/dist/synthesize-K62TIZWI.js +182 -0
- package/vendor/hyperframes/dist/system-EZYZNUFD.js +44 -0
- package/vendor/hyperframes/dist/telemetry-2YC4SGQU.js +144 -0
- package/vendor/hyperframes/dist/telemetry-QMYM4WME.js +95 -0
- package/vendor/hyperframes/dist/templates/_shared/AGENTS.md +107 -0
- package/vendor/hyperframes/dist/templates/_shared/CLAUDE.md +107 -0
- package/vendor/hyperframes/dist/templates/blank/index.html +55 -0
- package/vendor/hyperframes/dist/templates/from-file/index.html +75 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/captions.html +154 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/graphics.html +162 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/intro.html +87 -0
- package/vendor/hyperframes/dist/templates/warm-grain/index.html +264 -0
- package/vendor/hyperframes/dist/templates/warm-grain/registry-item.json +34 -0
- package/vendor/hyperframes/dist/timeline-77Z3BBQM.js +1377 -0
- package/vendor/hyperframes/dist/tokens-OBGTYE4Z.js +92 -0
- package/vendor/hyperframes/dist/transcribe-7NVFHCGA.js +387 -0
- package/vendor/hyperframes/dist/transcribe-BNSJRR4M.js +62 -0
- package/vendor/hyperframes/dist/tts-P3LIPIL5.js +234 -0
- package/vendor/hyperframes/dist/updateCheck-UDWIJ4ZQ.js +39 -0
- package/vendor/hyperframes/dist/upgrade-CT3CPO3E.js +231 -0
- package/vendor/hyperframes/dist/urlDownloader-H6WRI2UE.js +39 -0
- package/vendor/hyperframes/dist/usage-EC3KFUIJ.js +2139 -0
- package/vendor/hyperframes/dist/validate-65QDZJWZ.js +70 -0
- package/vendor/hyperframes/dist/video-FGSGKRSV.js +261 -0
- package/vendor/hyperframes/dist/workspaceBuildCheck-TOLGAI4T.js +133 -0
- package/vendor/hyperframes/package.json +80 -0
|
@@ -0,0 +1,176 @@
|
|
|
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
|
+
downloadRender,
|
|
9
|
+
runAssetImport
|
|
10
|
+
} from "./chunk-PPQUYWTW.js";
|
|
11
|
+
import {
|
|
12
|
+
FigmaClientError,
|
|
13
|
+
createFigmaClient,
|
|
14
|
+
nodeToHtml,
|
|
15
|
+
parseFigmaRef,
|
|
16
|
+
readBindings,
|
|
17
|
+
resolveBindings,
|
|
18
|
+
withFigmaErrors
|
|
19
|
+
} from "./chunk-QNYYOUU3.js";
|
|
20
|
+
import "./chunk-IHFUKJOR.js";
|
|
21
|
+
import "./chunk-ZTZA4UWZ.js";
|
|
22
|
+
import {
|
|
23
|
+
defineCommand
|
|
24
|
+
} from "./chunk-S3S4TGEH.js";
|
|
25
|
+
import "./chunk-PBN6GBJE.js";
|
|
26
|
+
import {
|
|
27
|
+
slugify
|
|
28
|
+
} from "./chunk-VC76R6W2.js";
|
|
29
|
+
import "./chunk-GK4AIFIH.js";
|
|
30
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
31
|
+
|
|
32
|
+
// src/commands/figma/component.ts
|
|
33
|
+
import { existsSync, mkdirSync, writeFileSync } from "fs";
|
|
34
|
+
import { join, relative } from "path";
|
|
35
|
+
function escapeAttr(value) {
|
|
36
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
37
|
+
}
|
|
38
|
+
async function runComponentImport(refInput, deps) {
|
|
39
|
+
const ref = parseFigmaRef(refInput);
|
|
40
|
+
if (!ref.nodeId) throw new Error(`ref "${refInput}" has no node id`);
|
|
41
|
+
const tree = await deps.client.nodeTree(ref);
|
|
42
|
+
const bindings = resolveBindings(tree, readBindings(deps.projectDir));
|
|
43
|
+
const mapped = nodeToHtml(tree, bindings, { rootName: deps.name });
|
|
44
|
+
const name = slugify(deps.name ?? tree.name);
|
|
45
|
+
const componentDir = join(deps.projectDir, "compositions", "components", name);
|
|
46
|
+
if (existsSync(componentDir))
|
|
47
|
+
console.warn(
|
|
48
|
+
`component dir compositions/components/${name} already exists \u2014 overwriting (rename the figma frame for a separate import)`
|
|
49
|
+
);
|
|
50
|
+
mkdirSync(componentDir, { recursive: true });
|
|
51
|
+
const { html, frozenAssets, failedRasterize } = await rasterizeFallback(
|
|
52
|
+
mapped,
|
|
53
|
+
ref.fileKey,
|
|
54
|
+
componentDir,
|
|
55
|
+
deps
|
|
56
|
+
);
|
|
57
|
+
const htmlFile = join(componentDir, `${name}.html`);
|
|
58
|
+
writeFileSync(htmlFile, html + "\n");
|
|
59
|
+
const registryItem = {
|
|
60
|
+
name,
|
|
61
|
+
type: "hyperframes:component",
|
|
62
|
+
description: `Imported from figma ${ref.fileKey}/${ref.nodeId}`,
|
|
63
|
+
files: [
|
|
64
|
+
{
|
|
65
|
+
path: `${name}.html`,
|
|
66
|
+
target: `compositions/components/${name}/${name}.html`,
|
|
67
|
+
type: "hyperframes:snippet"
|
|
68
|
+
},
|
|
69
|
+
// The paths the frozen files ACTUALLY landed at (image_NNN.svg), which
|
|
70
|
+
// is also what the emitted HTML references — not the slug names.
|
|
71
|
+
...frozenAssets.map((p) => ({
|
|
72
|
+
path: p.split("/").pop() ?? p,
|
|
73
|
+
target: p.replaceAll("\\", "/"),
|
|
74
|
+
type: "hyperframes:asset"
|
|
75
|
+
}))
|
|
76
|
+
]
|
|
77
|
+
};
|
|
78
|
+
writeFileSync(
|
|
79
|
+
join(componentDir, "registry-item.json"),
|
|
80
|
+
JSON.stringify(registryItem, null, 2) + "\n"
|
|
81
|
+
);
|
|
82
|
+
return {
|
|
83
|
+
name,
|
|
84
|
+
htmlPath: relative(deps.projectDir, htmlFile),
|
|
85
|
+
unresolved: bindings.unresolved,
|
|
86
|
+
rasterized: mapped.rasterize,
|
|
87
|
+
failedRasterize
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
async function rasterizeFallback(mapped, fileKey, componentDir, deps) {
|
|
91
|
+
let html = mapped.html;
|
|
92
|
+
const frozenAssets = [];
|
|
93
|
+
const failedRasterize = [];
|
|
94
|
+
for (const req of mapped.rasterize) {
|
|
95
|
+
const asset = await renderWithPngRetry(fileKey, req, deps);
|
|
96
|
+
if (asset === null) {
|
|
97
|
+
failedRasterize.push(req.nodeId);
|
|
98
|
+
console.warn(
|
|
99
|
+
`could not render node ${req.nodeId} ("${req.name}") as svg or png \u2014 leaving its placeholder without src`
|
|
100
|
+
);
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
frozenAssets.push(asset.record.path);
|
|
104
|
+
const srcRel = relative(componentDir, join(deps.projectDir, asset.record.path)).replaceAll(
|
|
105
|
+
"\\",
|
|
106
|
+
"/"
|
|
107
|
+
);
|
|
108
|
+
const emittedId = escapeAttr(req.nodeId);
|
|
109
|
+
html = html.replaceAll(
|
|
110
|
+
`data-figma-rasterize="${emittedId}" `,
|
|
111
|
+
`data-figma-rasterize="${emittedId}" src="${escapeAttr(srcRel)}" `
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
return { html, frozenAssets, failedRasterize };
|
|
115
|
+
}
|
|
116
|
+
async function renderWithPngRetry(fileKey, req, deps) {
|
|
117
|
+
for (const format of ["svg", "png"]) {
|
|
118
|
+
try {
|
|
119
|
+
return await runAssetImport(
|
|
120
|
+
`${fileKey}:${req.nodeId}`,
|
|
121
|
+
{ format, description: req.name },
|
|
122
|
+
{ projectDir: deps.projectDir, client: deps.client, download: deps.download }
|
|
123
|
+
);
|
|
124
|
+
} catch (err) {
|
|
125
|
+
if (!(err instanceof FigmaClientError) || err.code !== "RENDER_FAILED") throw err;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
var component_default = defineCommand({
|
|
131
|
+
meta: { name: "component", description: "Import a figma frame as an editable HTML component" },
|
|
132
|
+
args: {
|
|
133
|
+
ref: { type: "positional", description: "figma URL or fileKey:nodeId", required: true },
|
|
134
|
+
name: {
|
|
135
|
+
type: "string",
|
|
136
|
+
description: "component name override (variant frames often share a name and would collide)"
|
|
137
|
+
},
|
|
138
|
+
dir: { type: "string", description: "project directory", default: "." }
|
|
139
|
+
},
|
|
140
|
+
async run({ args }) {
|
|
141
|
+
await withFigmaErrors("figma:component", async () => {
|
|
142
|
+
const t0 = Date.now();
|
|
143
|
+
const client = createFigmaClient({ token: process.env.FIGMA_TOKEN ?? "" });
|
|
144
|
+
const result = await runComponentImport(args.ref, {
|
|
145
|
+
projectDir: args.dir,
|
|
146
|
+
client,
|
|
147
|
+
download: downloadRender,
|
|
148
|
+
name: args.name
|
|
149
|
+
});
|
|
150
|
+
console.log(`imported component "${result.name}" \u2192 ${result.htmlPath}`);
|
|
151
|
+
if (result.rasterized.length > 0) {
|
|
152
|
+
const ok = result.rasterized.length - result.failedRasterize.length;
|
|
153
|
+
console.log(
|
|
154
|
+
result.failedRasterize.length > 0 ? `rasterized ${ok}/${result.rasterized.length} node(s) via asset export \u2014 ${result.failedRasterize.length} skipped (unrenderable; placeholders have no src)` : `rasterized ${result.rasterized.length} node(s) via asset export`
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
if (result.unresolved.length > 0) {
|
|
158
|
+
console.log(
|
|
159
|
+
`${result.unresolved.length} binding(s) reference tokens not yet imported \u2014 colors baked as literals (flagged data-figma-unresolved). Run \`hyperframes figma tokens\` on the source/library file, then re-import to link them.`
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
const { trackFigmaImport } = await import("./telemetry-QMYM4WME.js");
|
|
163
|
+
trackFigmaImport({
|
|
164
|
+
phase: "component",
|
|
165
|
+
unresolvedBindings: result.unresolved.length,
|
|
166
|
+
rasterizedNodes: result.rasterized.length,
|
|
167
|
+
rasterizeFailures: result.failedRasterize.length,
|
|
168
|
+
durationMs: Date.now() - t0
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
export {
|
|
174
|
+
component_default as default,
|
|
175
|
+
runComponentImport
|
|
176
|
+
};
|
|
@@ -0,0 +1,228 @@
|
|
|
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
|
+
resolveProject
|
|
9
|
+
} from "./chunk-S3D6GE5W.js";
|
|
10
|
+
import "./chunk-IHFUKJOR.js";
|
|
11
|
+
import {
|
|
12
|
+
ensureDOMParser
|
|
13
|
+
} from "./chunk-PFCFR3KZ.js";
|
|
14
|
+
import "./chunk-JTHMTOMQ.js";
|
|
15
|
+
import "./chunk-EISRN4E6.js";
|
|
16
|
+
import "./chunk-VWG7OQKU.js";
|
|
17
|
+
import {
|
|
18
|
+
c
|
|
19
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
20
|
+
import "./chunk-IUZFXWSV.js";
|
|
21
|
+
import "./chunk-AMKC3AXA.js";
|
|
22
|
+
import {
|
|
23
|
+
defineCommand
|
|
24
|
+
} from "./chunk-S3S4TGEH.js";
|
|
25
|
+
import "./chunk-54HJ63Q2.js";
|
|
26
|
+
import "./chunk-PBN6GBJE.js";
|
|
27
|
+
import {
|
|
28
|
+
resolveReferencedStart
|
|
29
|
+
} from "./chunk-K2FTXJYH.js";
|
|
30
|
+
import "./chunk-2YN64IN5.js";
|
|
31
|
+
import "./chunk-AVUUN2XD.js";
|
|
32
|
+
import "./chunk-DPVXBVLL.js";
|
|
33
|
+
import "./chunk-Z6B37SNM.js";
|
|
34
|
+
import "./chunk-HWKCIWQT.js";
|
|
35
|
+
import "./chunk-VC76R6W2.js";
|
|
36
|
+
import "./chunk-OFQWTKPW.js";
|
|
37
|
+
import "./chunk-TWWSYAKJ.js";
|
|
38
|
+
import {
|
|
39
|
+
readProjectFile
|
|
40
|
+
} from "./chunk-ZJUKFZ2P.js";
|
|
41
|
+
import "./chunk-HBBJFK6I.js";
|
|
42
|
+
import "./chunk-PJ3HDUCY.js";
|
|
43
|
+
import "./chunk-TQFG7HTI.js";
|
|
44
|
+
import "./chunk-GK4AIFIH.js";
|
|
45
|
+
import "./chunk-2PSPARWP.js";
|
|
46
|
+
import {
|
|
47
|
+
withMeta
|
|
48
|
+
} from "./chunk-HW6OYASV.js";
|
|
49
|
+
import "./chunk-K4WIOZFP.js";
|
|
50
|
+
import "./chunk-XUXGIA7H.js";
|
|
51
|
+
import "./chunk-WERLJGIC.js";
|
|
52
|
+
import "./chunk-ISN5GRYI.js";
|
|
53
|
+
import "./chunk-FLWXXDNS.js";
|
|
54
|
+
import "./chunk-KNU5COPB.js";
|
|
55
|
+
import "./chunk-3GXQPCJC.js";
|
|
56
|
+
import "./chunk-RQVDTPGD.js";
|
|
57
|
+
import "./chunk-PMRBLBUP.js";
|
|
58
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
59
|
+
|
|
60
|
+
// src/commands/compositions.ts
|
|
61
|
+
import { readFileSync } from "fs";
|
|
62
|
+
import { resolve, dirname } from "path";
|
|
63
|
+
var examples = [
|
|
64
|
+
["List compositions in the current project", "hyperframes compositions"],
|
|
65
|
+
["Output as JSON", "hyperframes compositions --json"]
|
|
66
|
+
];
|
|
67
|
+
var NON_RENDERED_TAGS = /* @__PURE__ */ new Set(["script", "style", "link", "meta", "template"]);
|
|
68
|
+
function countRenderableDescendants(root) {
|
|
69
|
+
return Array.from(root.querySelectorAll("*")).filter(
|
|
70
|
+
(el) => !NON_RENDERED_TAGS.has(el.tagName.toLowerCase())
|
|
71
|
+
).length;
|
|
72
|
+
}
|
|
73
|
+
function estimateDurationFromScripts(root) {
|
|
74
|
+
let duration = 0;
|
|
75
|
+
for (const script of Array.from(root.querySelectorAll("script"))) {
|
|
76
|
+
const content = script.textContent ?? "";
|
|
77
|
+
const durationPattern = /\bduration\s*:\s*(\d+(?:\.\d+)?)/g;
|
|
78
|
+
let match;
|
|
79
|
+
while ((match = durationPattern.exec(content)) !== null) {
|
|
80
|
+
const value = Number.parseFloat(match[1] ?? "");
|
|
81
|
+
if (Number.isFinite(value) && value > duration) {
|
|
82
|
+
duration = value;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return duration;
|
|
87
|
+
}
|
|
88
|
+
function parseCompositions(html, baseDir) {
|
|
89
|
+
const parser = new DOMParser();
|
|
90
|
+
const doc = parser.parseFromString(html, "text/html");
|
|
91
|
+
const compositionDivs = doc.querySelectorAll("[data-composition-id]");
|
|
92
|
+
const compositions = [];
|
|
93
|
+
const startCache = /* @__PURE__ */ new Map();
|
|
94
|
+
const visiting = /* @__PURE__ */ new Set();
|
|
95
|
+
compositionDivs.forEach((div) => {
|
|
96
|
+
const id = div.getAttribute("data-composition-id") ?? "unknown";
|
|
97
|
+
const width = parseInt(div.getAttribute("data-width") ?? "1920", 10);
|
|
98
|
+
const height = parseInt(div.getAttribute("data-height") ?? "1080", 10);
|
|
99
|
+
const compositionSrc = div.getAttribute("data-composition-src");
|
|
100
|
+
if (compositionSrc) {
|
|
101
|
+
const subPath = resolve(baseDir, compositionSrc);
|
|
102
|
+
const sub = readProjectFile(subPath);
|
|
103
|
+
if (sub.kind === "file") {
|
|
104
|
+
const subInfo = parseSubComposition(sub.text, id, width, height);
|
|
105
|
+
compositions.push({ ...subInfo, source: compositionSrc });
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const timedChildren = div.querySelectorAll("[data-start]");
|
|
110
|
+
let maxEnd = 0;
|
|
111
|
+
let elementCount = 0;
|
|
112
|
+
timedChildren.forEach((el) => {
|
|
113
|
+
elementCount++;
|
|
114
|
+
const start = resolveReferencedStart(doc, el, startCache, visiting);
|
|
115
|
+
const endAttr = el.getAttribute("data-end");
|
|
116
|
+
const durationAttr = el.getAttribute("data-duration");
|
|
117
|
+
let end;
|
|
118
|
+
if (endAttr) {
|
|
119
|
+
end = parseFloat(endAttr);
|
|
120
|
+
} else if (durationAttr) {
|
|
121
|
+
end = start + parseFloat(durationAttr);
|
|
122
|
+
} else {
|
|
123
|
+
end = start + 5;
|
|
124
|
+
}
|
|
125
|
+
if (end > maxEnd) {
|
|
126
|
+
maxEnd = end;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
compositions.push({
|
|
130
|
+
id,
|
|
131
|
+
duration: maxEnd,
|
|
132
|
+
width,
|
|
133
|
+
height,
|
|
134
|
+
elementCount
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
return compositions;
|
|
138
|
+
}
|
|
139
|
+
function parseSubComposition(html, fallbackId, fallbackWidth, fallbackHeight) {
|
|
140
|
+
const parser = new DOMParser();
|
|
141
|
+
const doc = parser.parseFromString(html, "text/html");
|
|
142
|
+
const template = doc.querySelector("template");
|
|
143
|
+
const searchDocument = template?.content ?? doc;
|
|
144
|
+
const compDiv = searchDocument.querySelector("[data-composition-id]");
|
|
145
|
+
const id = compDiv?.getAttribute("data-composition-id") ?? fallbackId;
|
|
146
|
+
const width = parseInt(compDiv?.getAttribute("data-width") ?? String(fallbackWidth), 10);
|
|
147
|
+
const height = parseInt(compDiv?.getAttribute("data-height") ?? String(fallbackHeight), 10);
|
|
148
|
+
const searchRoot = compDiv ?? searchDocument;
|
|
149
|
+
const timedChildren = searchRoot.querySelectorAll("[data-start], .clip, .caption-group");
|
|
150
|
+
let elementCount = timedChildren.length;
|
|
151
|
+
if (elementCount === 0 && compDiv) {
|
|
152
|
+
elementCount = countRenderableDescendants(compDiv);
|
|
153
|
+
}
|
|
154
|
+
let duration = 0;
|
|
155
|
+
const durationAttr = compDiv?.getAttribute("data-duration");
|
|
156
|
+
if (durationAttr && !durationAttr.startsWith("__")) {
|
|
157
|
+
duration = parseFloat(durationAttr) || 0;
|
|
158
|
+
}
|
|
159
|
+
if (compDiv) {
|
|
160
|
+
const timedEls = compDiv.querySelectorAll("[data-start]");
|
|
161
|
+
const startCache = /* @__PURE__ */ new Map();
|
|
162
|
+
const visiting = /* @__PURE__ */ new Set();
|
|
163
|
+
timedEls.forEach((el) => {
|
|
164
|
+
elementCount = Math.max(elementCount, timedEls.length);
|
|
165
|
+
const start = resolveReferencedStart(doc, el, startCache, visiting);
|
|
166
|
+
const endAttr = el.getAttribute("data-end");
|
|
167
|
+
const durAttr = el.getAttribute("data-duration");
|
|
168
|
+
let end;
|
|
169
|
+
if (endAttr) {
|
|
170
|
+
end = parseFloat(endAttr);
|
|
171
|
+
} else if (durAttr) {
|
|
172
|
+
end = start + parseFloat(durAttr);
|
|
173
|
+
} else {
|
|
174
|
+
end = start + 5;
|
|
175
|
+
}
|
|
176
|
+
if (end > duration) {
|
|
177
|
+
duration = end;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
if (duration <= 0) {
|
|
182
|
+
duration = estimateDurationFromScripts(searchRoot);
|
|
183
|
+
}
|
|
184
|
+
return { id, duration, width, height, elementCount };
|
|
185
|
+
}
|
|
186
|
+
var compositions_default = defineCommand({
|
|
187
|
+
meta: { name: "compositions", description: "List all compositions in a project" },
|
|
188
|
+
args: {
|
|
189
|
+
dir: { type: "positional", description: "Project directory", required: false },
|
|
190
|
+
json: { type: "boolean", description: "Output as JSON", default: false }
|
|
191
|
+
},
|
|
192
|
+
async run({ args }) {
|
|
193
|
+
const project = resolveProject(args.dir);
|
|
194
|
+
const html = readFileSync(project.indexPath, "utf-8");
|
|
195
|
+
ensureDOMParser();
|
|
196
|
+
const compositions = parseCompositions(html, dirname(project.indexPath));
|
|
197
|
+
if (args.json) {
|
|
198
|
+
console.log(JSON.stringify(withMeta({ compositions }), null, 2));
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
if (compositions.length === 0) {
|
|
202
|
+
console.log(`${c.success("\u25C7")} ${c.accent(project.name)} \u2014 no compositions found`);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const compositionLabel = compositions.length === 1 ? "1 composition" : `${compositions.length} compositions`;
|
|
206
|
+
console.log(
|
|
207
|
+
`${c.success("\u25C7")} ${c.accent(project.name)} ${c.dim("\u2014")} ${c.dim(compositionLabel)}`
|
|
208
|
+
);
|
|
209
|
+
console.log();
|
|
210
|
+
const maxIdLen = compositions.reduce((max, comp) => Math.max(max, comp.id.length), 0);
|
|
211
|
+
for (const comp of compositions) {
|
|
212
|
+
const id = c.accent(comp.id.padEnd(maxIdLen));
|
|
213
|
+
const duration = c.bold(`${comp.duration.toFixed(1)}s`);
|
|
214
|
+
const resolution = c.dim(`${comp.width}\xD7${comp.height}`);
|
|
215
|
+
const elements = c.dim(
|
|
216
|
+
`${comp.elementCount} ${comp.elementCount === 1 ? "element" : "elements"}`
|
|
217
|
+
);
|
|
218
|
+
const source = comp.source ? c.dim(` \u2190 ${comp.source}`) : "";
|
|
219
|
+
console.log(` ${id} ${duration} ${resolution} ${elements}${source}`);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
export {
|
|
224
|
+
compositions_default as default,
|
|
225
|
+
examples,
|
|
226
|
+
parseCompositions,
|
|
227
|
+
parseSubComposition
|
|
228
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
createAssetContactSheet,
|
|
9
|
+
createContactSheet,
|
|
10
|
+
createScrollContactSheet,
|
|
11
|
+
createSnapshotContactSheet,
|
|
12
|
+
createSvgContactSheet
|
|
13
|
+
} from "./chunk-E6RPWJVC.js";
|
|
14
|
+
import "./chunk-MRF4AMKD.js";
|
|
15
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
16
|
+
export {
|
|
17
|
+
createAssetContactSheet,
|
|
18
|
+
createContactSheet,
|
|
19
|
+
createScrollContactSheet,
|
|
20
|
+
createSnapshotContactSheet,
|
|
21
|
+
createSvgContactSheet
|
|
22
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
createCloudClient,
|
|
9
|
+
reportApiError
|
|
10
|
+
} from "./chunk-Y6W4DVPS.js";
|
|
11
|
+
import "./chunk-BXCMXMJQ.js";
|
|
12
|
+
import "./chunk-SHB5VDMH.js";
|
|
13
|
+
import "./chunk-I465DBM6.js";
|
|
14
|
+
import "./chunk-EOVYQ3IG.js";
|
|
15
|
+
import {
|
|
16
|
+
errorBox
|
|
17
|
+
} from "./chunk-IHFUKJOR.js";
|
|
18
|
+
import {
|
|
19
|
+
c
|
|
20
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
21
|
+
import {
|
|
22
|
+
defineCommand
|
|
23
|
+
} from "./chunk-S3S4TGEH.js";
|
|
24
|
+
import {
|
|
25
|
+
failCommand
|
|
26
|
+
} from "./chunk-PBN6GBJE.js";
|
|
27
|
+
import "./chunk-OFQWTKPW.js";
|
|
28
|
+
import {
|
|
29
|
+
withMeta
|
|
30
|
+
} from "./chunk-HW6OYASV.js";
|
|
31
|
+
import "./chunk-K4WIOZFP.js";
|
|
32
|
+
import "./chunk-XUXGIA7H.js";
|
|
33
|
+
import "./chunk-WERLJGIC.js";
|
|
34
|
+
import "./chunk-ISN5GRYI.js";
|
|
35
|
+
import "./chunk-FLWXXDNS.js";
|
|
36
|
+
import "./chunk-KNU5COPB.js";
|
|
37
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
38
|
+
|
|
39
|
+
// src/commands/cloud/delete.ts
|
|
40
|
+
var delete_default = defineCommand({
|
|
41
|
+
meta: { name: "delete", description: "Soft-delete a cloud render" },
|
|
42
|
+
args: {
|
|
43
|
+
id: {
|
|
44
|
+
type: "positional",
|
|
45
|
+
required: true,
|
|
46
|
+
description: "Render ID to delete"
|
|
47
|
+
},
|
|
48
|
+
json: {
|
|
49
|
+
type: "boolean",
|
|
50
|
+
description: "Emit machine-readable JSON",
|
|
51
|
+
default: false
|
|
52
|
+
},
|
|
53
|
+
// Citty intercepts the `--no-` prefix as a negation of the base
|
|
54
|
+
// flag, so a flag literally named "no-confirm" gets parsed as
|
|
55
|
+
// `--confirm=false` and the `args["no-confirm"]` lookup never
|
|
56
|
+
// sees `true`. Naming the flag `confirm` with `default: true` lets
|
|
57
|
+
// citty's negation handle `--no-confirm` correctly — same
|
|
58
|
+
// user-facing flag (`--no-confirm` to skip the prompt), correct
|
|
59
|
+
// runtime semantics.
|
|
60
|
+
confirm: {
|
|
61
|
+
type: "boolean",
|
|
62
|
+
description: "Prompt before deleting (default: true). Pass `--no-confirm` to skip \u2014 required for scripts and --json.",
|
|
63
|
+
default: true
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
// fallow-ignore-next-line complexity
|
|
67
|
+
async run({ args }) {
|
|
68
|
+
if (args.confirm) {
|
|
69
|
+
if (args.json || !process.stdin.isTTY) {
|
|
70
|
+
errorBox(
|
|
71
|
+
"Confirmation required",
|
|
72
|
+
"delete cannot prompt for confirmation here \u2014 stdin isn't a TTY or --json was passed.",
|
|
73
|
+
"Re-run with --no-confirm to acknowledge the irreversible delete."
|
|
74
|
+
);
|
|
75
|
+
failCommand();
|
|
76
|
+
}
|
|
77
|
+
const ok = await confirmDelete(args.id);
|
|
78
|
+
if (!ok) {
|
|
79
|
+
console.log(c.dim("Aborted."));
|
|
80
|
+
failCommand(2);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const client = await createCloudClient();
|
|
84
|
+
try {
|
|
85
|
+
const response = await client.deleteRender({ render_id: args.id });
|
|
86
|
+
if (args.json) {
|
|
87
|
+
console.log(
|
|
88
|
+
JSON.stringify(
|
|
89
|
+
withMeta({ render: { render_id: response.render_id }, deleted: true }),
|
|
90
|
+
null,
|
|
91
|
+
2
|
|
92
|
+
)
|
|
93
|
+
);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
console.log(`${c.success("\u2713")} Deleted ${c.accent(response.render_id)}`);
|
|
97
|
+
} catch (err) {
|
|
98
|
+
reportApiError("Could not delete render", err, {
|
|
99
|
+
notFound: `No render found with id "${args.id}".`
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
async function confirmDelete(id) {
|
|
105
|
+
const clack = await import("./dist-EWXJGN63.js");
|
|
106
|
+
const answer = await clack.confirm({
|
|
107
|
+
message: `Delete render ${id}? This is irreversible.`,
|
|
108
|
+
initialValue: false
|
|
109
|
+
});
|
|
110
|
+
return answer === true;
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
delete_default as default
|
|
114
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
fetchStackOutputs,
|
|
9
|
+
locateSamTemplate,
|
|
10
|
+
repoRoot,
|
|
11
|
+
samDeploy
|
|
12
|
+
} from "./chunk-VFCKXTBB.js";
|
|
13
|
+
import {
|
|
14
|
+
DEFAULT_STACK_NAME,
|
|
15
|
+
writeStackOutputs
|
|
16
|
+
} from "./chunk-H4YZZ2VQ.js";
|
|
17
|
+
import {
|
|
18
|
+
c
|
|
19
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
20
|
+
import "./chunk-PBN6GBJE.js";
|
|
21
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
22
|
+
|
|
23
|
+
// src/commands/lambda/deploy.ts
|
|
24
|
+
import { spawnSync } from "child_process";
|
|
25
|
+
import { existsSync } from "fs";
|
|
26
|
+
import { join, resolve } from "path";
|
|
27
|
+
var DEFAULT_REGION = "us-east-1";
|
|
28
|
+
var DEFAULT_MEMORY_MB = 10240;
|
|
29
|
+
var DEFAULT_CONCURRENCY = 8;
|
|
30
|
+
async function runDeploy(args = {}) {
|
|
31
|
+
const resolved = {
|
|
32
|
+
stackName: args.stackName ?? DEFAULT_STACK_NAME,
|
|
33
|
+
region: args.region ?? process.env.AWS_REGION ?? DEFAULT_REGION,
|
|
34
|
+
awsProfile: args.awsProfile ?? process.env.AWS_PROFILE,
|
|
35
|
+
reservedConcurrency: args.reservedConcurrency ?? DEFAULT_CONCURRENCY,
|
|
36
|
+
chromeSource: args.chromeSource ?? "sparticuz",
|
|
37
|
+
lambdaMemoryMb: args.lambdaMemoryMb ?? DEFAULT_MEMORY_MB,
|
|
38
|
+
skipBuild: args.skipBuild ?? false
|
|
39
|
+
};
|
|
40
|
+
const root = repoRoot();
|
|
41
|
+
locateSamTemplate(root);
|
|
42
|
+
if (!resolved.skipBuild) {
|
|
43
|
+
console.log(c.dim("\u2192 Building handler ZIP"));
|
|
44
|
+
buildHandlerZip(root);
|
|
45
|
+
} else {
|
|
46
|
+
const zip = join(root, "packages", "aws-lambda", "dist", "handler.zip");
|
|
47
|
+
if (!existsSync(zip)) {
|
|
48
|
+
throw new Error(
|
|
49
|
+
`--skip-build set but ${zip} does not exist. Run \`bun run --cwd packages/aws-lambda build:zip\` first or drop --skip-build.`
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
console.log(c.dim(`\u2192 sam deploy (stack=${resolved.stackName} region=${resolved.region})`));
|
|
54
|
+
samDeploy({
|
|
55
|
+
repoRoot: root,
|
|
56
|
+
stackName: resolved.stackName,
|
|
57
|
+
region: resolved.region,
|
|
58
|
+
awsProfile: resolved.awsProfile,
|
|
59
|
+
reservedConcurrency: resolved.reservedConcurrency,
|
|
60
|
+
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
61
|
+
chromeSource: resolved.chromeSource
|
|
62
|
+
});
|
|
63
|
+
console.log(c.dim("\u2192 Reading stack outputs"));
|
|
64
|
+
const outputs = fetchStackOutputs({
|
|
65
|
+
stackName: resolved.stackName,
|
|
66
|
+
region: resolved.region,
|
|
67
|
+
awsProfile: resolved.awsProfile
|
|
68
|
+
});
|
|
69
|
+
const statePath = writeStackOutputs({
|
|
70
|
+
stackName: resolved.stackName,
|
|
71
|
+
region: resolved.region,
|
|
72
|
+
bucketName: outputs.bucketName,
|
|
73
|
+
stateMachineArn: outputs.stateMachineArn,
|
|
74
|
+
functionName: outputs.functionName,
|
|
75
|
+
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
76
|
+
deployedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
77
|
+
});
|
|
78
|
+
console.log();
|
|
79
|
+
console.log(c.success("Stack deployed."));
|
|
80
|
+
console.log(` ${c.dim("Bucket:")} ${outputs.bucketName}`);
|
|
81
|
+
console.log(` ${c.dim("State machine:")} ${outputs.stateMachineArn}`);
|
|
82
|
+
console.log(` ${c.dim("Function:")} ${outputs.functionName}`);
|
|
83
|
+
console.log(` ${c.dim("State file:")} ${resolve(statePath)}`);
|
|
84
|
+
console.log();
|
|
85
|
+
console.log(c.dim(`Render with: hyperframes lambda render <project-dir>`));
|
|
86
|
+
}
|
|
87
|
+
function buildHandlerZip(root) {
|
|
88
|
+
const result = spawnSync(
|
|
89
|
+
"bun",
|
|
90
|
+
["run", "--cwd", join(root, "packages", "aws-lambda"), "build:zip"],
|
|
91
|
+
{ stdio: "inherit" }
|
|
92
|
+
);
|
|
93
|
+
if (result.status !== 0) {
|
|
94
|
+
throw new Error(
|
|
95
|
+
`[lambda deploy] handler ZIP build exited with code ${result.status ?? "unknown"}`
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
runDeploy
|
|
101
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
repoRoot,
|
|
9
|
+
samDelete
|
|
10
|
+
} from "./chunk-VFCKXTBB.js";
|
|
11
|
+
import {
|
|
12
|
+
deleteStackOutputs,
|
|
13
|
+
requireStack
|
|
14
|
+
} from "./chunk-H4YZZ2VQ.js";
|
|
15
|
+
import {
|
|
16
|
+
c
|
|
17
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
18
|
+
import "./chunk-PBN6GBJE.js";
|
|
19
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
20
|
+
|
|
21
|
+
// src/commands/lambda/destroy.ts
|
|
22
|
+
async function runDestroy(args) {
|
|
23
|
+
const stack = requireStack(args.stackName);
|
|
24
|
+
console.log(c.dim(`\u2192 sam delete (stack=${stack.stackName} region=${stack.region})`));
|
|
25
|
+
samDelete({
|
|
26
|
+
repoRoot: repoRoot(),
|
|
27
|
+
stackName: stack.stackName,
|
|
28
|
+
region: stack.region,
|
|
29
|
+
awsProfile: args.awsProfile ?? process.env.AWS_PROFILE
|
|
30
|
+
});
|
|
31
|
+
deleteStackOutputs(args.stackName);
|
|
32
|
+
console.log();
|
|
33
|
+
console.log(c.success("Stack torn down."));
|
|
34
|
+
console.log(
|
|
35
|
+
c.dim(
|
|
36
|
+
`Note: the render bucket "${stack.bucketName}" was deployed with Retain \u2014 empty + delete it via the AWS console or CLI if you want to fully reclaim storage.`
|
|
37
|
+
)
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
runDestroy
|
|
42
|
+
};
|