@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,292 @@
|
|
|
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
|
+
c
|
|
9
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
10
|
+
import {
|
|
11
|
+
setCommandExitCode
|
|
12
|
+
} from "./chunk-PBN6GBJE.js";
|
|
13
|
+
import {
|
|
14
|
+
normalizeErrorMessage
|
|
15
|
+
} from "./chunk-KNU5COPB.js";
|
|
16
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
17
|
+
|
|
18
|
+
// src/commands/lambda/policies.ts
|
|
19
|
+
import { readFileSync } from "fs";
|
|
20
|
+
var REQUIRED_ACTIONS = {
|
|
21
|
+
cloudformation: [
|
|
22
|
+
"cloudformation:CreateChangeSet",
|
|
23
|
+
"cloudformation:CreateStack",
|
|
24
|
+
"cloudformation:DeleteChangeSet",
|
|
25
|
+
"cloudformation:DeleteStack",
|
|
26
|
+
"cloudformation:DescribeChangeSet",
|
|
27
|
+
"cloudformation:DescribeStackEvents",
|
|
28
|
+
"cloudformation:DescribeStackResource",
|
|
29
|
+
"cloudformation:DescribeStackResources",
|
|
30
|
+
"cloudformation:DescribeStacks",
|
|
31
|
+
"cloudformation:ExecuteChangeSet",
|
|
32
|
+
"cloudformation:GetTemplate",
|
|
33
|
+
"cloudformation:GetTemplateSummary",
|
|
34
|
+
"cloudformation:ListStacks",
|
|
35
|
+
"cloudformation:UpdateStack",
|
|
36
|
+
"cloudformation:ValidateTemplate"
|
|
37
|
+
],
|
|
38
|
+
cloudwatchAlarms: [
|
|
39
|
+
"cloudwatch:DeleteAlarms",
|
|
40
|
+
"cloudwatch:DescribeAlarms",
|
|
41
|
+
"cloudwatch:PutMetricAlarm"
|
|
42
|
+
],
|
|
43
|
+
iam: [
|
|
44
|
+
"iam:AttachRolePolicy",
|
|
45
|
+
"iam:CreateRole",
|
|
46
|
+
"iam:DeleteRole",
|
|
47
|
+
"iam:DeleteRolePolicy",
|
|
48
|
+
"iam:DetachRolePolicy",
|
|
49
|
+
"iam:GetRole",
|
|
50
|
+
"iam:GetRolePolicy",
|
|
51
|
+
"iam:PassRole",
|
|
52
|
+
"iam:PutRolePolicy",
|
|
53
|
+
"iam:TagRole",
|
|
54
|
+
"iam:UntagRole"
|
|
55
|
+
],
|
|
56
|
+
lambda: [
|
|
57
|
+
"lambda:AddPermission",
|
|
58
|
+
"lambda:CreateFunction",
|
|
59
|
+
"lambda:DeleteFunction",
|
|
60
|
+
"lambda:GetFunction",
|
|
61
|
+
"lambda:GetFunctionConfiguration",
|
|
62
|
+
"lambda:InvokeFunction",
|
|
63
|
+
"lambda:ListFunctions",
|
|
64
|
+
"lambda:PutFunctionConcurrency",
|
|
65
|
+
"lambda:RemovePermission",
|
|
66
|
+
"lambda:TagResource",
|
|
67
|
+
"lambda:UntagResource",
|
|
68
|
+
"lambda:UpdateFunctionCode",
|
|
69
|
+
"lambda:UpdateFunctionConfiguration"
|
|
70
|
+
],
|
|
71
|
+
logs: [
|
|
72
|
+
"logs:CreateLogGroup",
|
|
73
|
+
"logs:DeleteLogGroup",
|
|
74
|
+
"logs:DescribeLogGroups",
|
|
75
|
+
"logs:PutRetentionPolicy",
|
|
76
|
+
"logs:TagResource"
|
|
77
|
+
],
|
|
78
|
+
s3Bucket: [
|
|
79
|
+
"s3:CreateBucket",
|
|
80
|
+
"s3:DeleteBucket",
|
|
81
|
+
"s3:DeleteBucketPolicy",
|
|
82
|
+
"s3:GetBucketLocation",
|
|
83
|
+
"s3:GetBucketPolicy",
|
|
84
|
+
"s3:GetBucketTagging",
|
|
85
|
+
"s3:GetBucketVersioning",
|
|
86
|
+
// SAM's `--resolve-s3` managed bucket (aws-sam-cli-managed-default) sets
|
|
87
|
+
// default SSE encryption; CloudFormation reads it on update/drift. Without
|
|
88
|
+
// Get/PutEncryptionConfiguration the first `lambda deploy` 403s creating
|
|
89
|
+
// that bucket and the managed stack rolls back.
|
|
90
|
+
"s3:GetEncryptionConfiguration",
|
|
91
|
+
"s3:GetLifecycleConfiguration",
|
|
92
|
+
"s3:ListAllMyBuckets",
|
|
93
|
+
"s3:ListBucket",
|
|
94
|
+
"s3:PutBucketPolicy",
|
|
95
|
+
"s3:PutBucketTagging",
|
|
96
|
+
"s3:PutBucketVersioning",
|
|
97
|
+
"s3:PutEncryptionConfiguration",
|
|
98
|
+
"s3:PutLifecycleConfiguration",
|
|
99
|
+
"s3:PutPublicAccessBlock"
|
|
100
|
+
],
|
|
101
|
+
s3Object: ["s3:DeleteObject", "s3:GetObject", "s3:PutObject"],
|
|
102
|
+
states: [
|
|
103
|
+
"states:CreateStateMachine",
|
|
104
|
+
"states:DeleteStateMachine",
|
|
105
|
+
"states:DescribeExecution",
|
|
106
|
+
"states:DescribeStateMachine",
|
|
107
|
+
"states:GetExecutionHistory",
|
|
108
|
+
"states:ListExecutions",
|
|
109
|
+
"states:ListStateMachines",
|
|
110
|
+
"states:StartExecution",
|
|
111
|
+
"states:StopExecution",
|
|
112
|
+
"states:TagResource",
|
|
113
|
+
"states:UntagResource",
|
|
114
|
+
"states:UpdateStateMachine"
|
|
115
|
+
]
|
|
116
|
+
};
|
|
117
|
+
function allRequiredActions() {
|
|
118
|
+
const set = /* @__PURE__ */ new Set();
|
|
119
|
+
for (const group of Object.values(REQUIRED_ACTIONS)) {
|
|
120
|
+
for (const action of group) set.add(action);
|
|
121
|
+
}
|
|
122
|
+
return [...set].sort();
|
|
123
|
+
}
|
|
124
|
+
function buildPolicyDocument() {
|
|
125
|
+
return {
|
|
126
|
+
Version: "2012-10-17",
|
|
127
|
+
Statement: [
|
|
128
|
+
{
|
|
129
|
+
Effect: "Allow",
|
|
130
|
+
Action: allRequiredActions(),
|
|
131
|
+
Resource: "*"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function buildRoleTrustPolicy() {
|
|
137
|
+
return {
|
|
138
|
+
Version: "2012-10-17",
|
|
139
|
+
Statement: [
|
|
140
|
+
{
|
|
141
|
+
Effect: "Allow",
|
|
142
|
+
Principal: { Service: "cloudformation.amazonaws.com" },
|
|
143
|
+
Action: "sts:AssumeRole"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
async function runPolicies(args) {
|
|
149
|
+
switch (args.verb) {
|
|
150
|
+
case "user": {
|
|
151
|
+
const doc = buildPolicyDocument();
|
|
152
|
+
console.log(JSON.stringify(doc, null, 2));
|
|
153
|
+
if (!args.json) {
|
|
154
|
+
console.error(
|
|
155
|
+
c.dim(
|
|
156
|
+
"\n# Attach the above as an inline policy to the IAM user/role that runs `hyperframes lambda *`.\n# Scope `Resource` to your stack's ARNs after the first successful deploy."
|
|
157
|
+
)
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
case "role": {
|
|
163
|
+
const trust = buildRoleTrustPolicy();
|
|
164
|
+
const inline = buildPolicyDocument();
|
|
165
|
+
const wrapped = {
|
|
166
|
+
TrustRelationship: trust,
|
|
167
|
+
InlinePolicy: inline
|
|
168
|
+
};
|
|
169
|
+
console.log(JSON.stringify(wrapped, null, 2));
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
case "validate": {
|
|
173
|
+
if (!args.inputPath) {
|
|
174
|
+
const msg = "[lambda policies validate] usage: hyperframes lambda policies validate <policy.json>";
|
|
175
|
+
if (args.json) {
|
|
176
|
+
console.log(JSON.stringify({ ok: false, error: msg }, null, 2));
|
|
177
|
+
setCommandExitCode(1);
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
throw new Error(msg);
|
|
181
|
+
}
|
|
182
|
+
let result;
|
|
183
|
+
try {
|
|
184
|
+
result = validatePolicy(args.inputPath);
|
|
185
|
+
} catch (err) {
|
|
186
|
+
const msg = normalizeErrorMessage(err);
|
|
187
|
+
if (args.json) {
|
|
188
|
+
console.log(JSON.stringify({ ok: false, error: msg }, null, 2));
|
|
189
|
+
setCommandExitCode(1);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
console.error(c.error(`Failed to validate ${args.inputPath}: ${msg}`));
|
|
193
|
+
setCommandExitCode(1);
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
if (args.json) {
|
|
197
|
+
console.log(JSON.stringify({ ok: result.missing.length === 0, ...result }, null, 2));
|
|
198
|
+
if (result.missing.length > 0) setCommandExitCode(1);
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
for (const warning of result.warnings) {
|
|
202
|
+
console.warn(c.dim(`Warning: ${warning}`));
|
|
203
|
+
}
|
|
204
|
+
if (result.missing.length === 0) {
|
|
205
|
+
console.log(c.success(`Policy covers all ${result.required.length} required actions.`));
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
console.log(c.error(`Policy is missing ${result.missing.length} required action(s):`));
|
|
209
|
+
for (const action of result.missing) {
|
|
210
|
+
console.log(` \u2022 ${action}`);
|
|
211
|
+
}
|
|
212
|
+
console.log();
|
|
213
|
+
console.log(
|
|
214
|
+
c.dim("Run `hyperframes lambda policies user` to print the full required policy.")
|
|
215
|
+
);
|
|
216
|
+
setCommandExitCode(1);
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function validatePolicy(policyPath) {
|
|
222
|
+
const raw = readFileSync(policyPath, "utf-8");
|
|
223
|
+
const parsed = JSON.parse(raw);
|
|
224
|
+
const statements = Array.isArray(parsed.Statement) ? parsed.Statement : parsed.Statement ? [
|
|
225
|
+
parsed.Statement
|
|
226
|
+
] : [];
|
|
227
|
+
const grantedPatterns = [];
|
|
228
|
+
const warnings = [];
|
|
229
|
+
for (const stmt of statements) {
|
|
230
|
+
if (stmt.Effect !== "Allow") continue;
|
|
231
|
+
if (stmt.NotAction !== void 0) {
|
|
232
|
+
warnings.push(
|
|
233
|
+
"Allow statement uses NotAction; the validator only checks positive Action grants, so this statement is being ignored. Convert to an explicit Action list to validate it."
|
|
234
|
+
);
|
|
235
|
+
continue;
|
|
236
|
+
}
|
|
237
|
+
if (stmt.NotResource !== void 0) {
|
|
238
|
+
warnings.push(
|
|
239
|
+
"Allow statement uses NotResource; resource-scoping is not modelled by this validator. Treating the statement as fully granted on its Action set."
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
const actions = stmt.Action;
|
|
243
|
+
if (typeof actions === "string") {
|
|
244
|
+
grantedPatterns.push(actions);
|
|
245
|
+
} else if (Array.isArray(actions)) {
|
|
246
|
+
for (const a of actions) if (typeof a === "string") grantedPatterns.push(a);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
for (const pattern of grantedPatterns) {
|
|
250
|
+
if (hasMidStringWildcard(pattern)) {
|
|
251
|
+
warnings.push(
|
|
252
|
+
`Action pattern ${JSON.stringify(pattern)} contains a mid-string wildcard the validator can't expand; only end-anchored wildcards (\`*\`, \`service:*\`, \`prefix*\`) are honoured.`
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
const required = allRequiredActions();
|
|
257
|
+
const granted = [];
|
|
258
|
+
const missing = [];
|
|
259
|
+
for (const action of required) {
|
|
260
|
+
if (grantedPatterns.some((pattern) => actionMatches(pattern, action))) {
|
|
261
|
+
granted.push(action);
|
|
262
|
+
} else {
|
|
263
|
+
missing.push(action);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return { required, granted, missing, warnings };
|
|
267
|
+
}
|
|
268
|
+
function hasMidStringWildcard(pattern) {
|
|
269
|
+
if (pattern === "*") return false;
|
|
270
|
+
if (pattern.endsWith(":*")) return false;
|
|
271
|
+
if (pattern.endsWith("*") && !pattern.slice(0, -1).includes("*")) return false;
|
|
272
|
+
return pattern.includes("*") || pattern.includes("?");
|
|
273
|
+
}
|
|
274
|
+
function actionMatches(pattern, action) {
|
|
275
|
+
if (pattern === "*") return true;
|
|
276
|
+
if (pattern === action) return true;
|
|
277
|
+
if (pattern.endsWith(":*")) {
|
|
278
|
+
const service = pattern.slice(0, -2);
|
|
279
|
+
return action.startsWith(`${service}:`);
|
|
280
|
+
}
|
|
281
|
+
if (pattern.endsWith("*")) {
|
|
282
|
+
return action.startsWith(pattern.slice(0, -1));
|
|
283
|
+
}
|
|
284
|
+
return false;
|
|
285
|
+
}
|
|
286
|
+
export {
|
|
287
|
+
allRequiredActions,
|
|
288
|
+
buildPolicyDocument,
|
|
289
|
+
buildRoleTrustPolicy,
|
|
290
|
+
runPolicies,
|
|
291
|
+
validatePolicy
|
|
292
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
checkDisk,
|
|
9
|
+
extractMajorVersion,
|
|
10
|
+
parseToolVersion,
|
|
11
|
+
resolveRenderBrowser,
|
|
12
|
+
runEnvironmentChecks
|
|
13
|
+
} from "./chunk-FCSIGXXP.js";
|
|
14
|
+
import "./chunk-TVCRUG2S.js";
|
|
15
|
+
import "./chunk-IUZFXWSV.js";
|
|
16
|
+
import "./chunk-AMKC3AXA.js";
|
|
17
|
+
import "./chunk-K2FTXJYH.js";
|
|
18
|
+
import "./chunk-2YN64IN5.js";
|
|
19
|
+
import "./chunk-AVUUN2XD.js";
|
|
20
|
+
import "./chunk-DPVXBVLL.js";
|
|
21
|
+
import "./chunk-Z6B37SNM.js";
|
|
22
|
+
import "./chunk-HWKCIWQT.js";
|
|
23
|
+
import "./chunk-VC76R6W2.js";
|
|
24
|
+
import "./chunk-OFQWTKPW.js";
|
|
25
|
+
import "./chunk-4PFZPP2N.js";
|
|
26
|
+
import "./chunk-LCSMOLGX.js";
|
|
27
|
+
import "./chunk-TWWSYAKJ.js";
|
|
28
|
+
import "./chunk-ZJUKFZ2P.js";
|
|
29
|
+
import "./chunk-HBBJFK6I.js";
|
|
30
|
+
import "./chunk-PJ3HDUCY.js";
|
|
31
|
+
import "./chunk-TQFG7HTI.js";
|
|
32
|
+
import "./chunk-GK4AIFIH.js";
|
|
33
|
+
import "./chunk-2PSPARWP.js";
|
|
34
|
+
import "./chunk-KNU5COPB.js";
|
|
35
|
+
import "./chunk-3GXQPCJC.js";
|
|
36
|
+
import "./chunk-RQVDTPGD.js";
|
|
37
|
+
import "./chunk-PMRBLBUP.js";
|
|
38
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
39
|
+
export {
|
|
40
|
+
checkDisk,
|
|
41
|
+
extractMajorVersion,
|
|
42
|
+
parseToolVersion,
|
|
43
|
+
resolveRenderBrowser,
|
|
44
|
+
runEnvironmentChecks
|
|
45
|
+
};
|
|
@@ -0,0 +1,350 @@
|
|
|
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
|
+
assetContentType,
|
|
9
|
+
listenOnFreePort,
|
|
10
|
+
resolvePlayerPath,
|
|
11
|
+
resolveSlideshowPath
|
|
12
|
+
} from "./chunk-UEZXMWG3.js";
|
|
13
|
+
import {
|
|
14
|
+
requestSubPath
|
|
15
|
+
} from "./chunk-S7NPLFWV.js";
|
|
16
|
+
import "./chunk-RMHUQGRK.js";
|
|
17
|
+
import "./chunk-EOVYQ3IG.js";
|
|
18
|
+
import "./chunk-QC4FJVLM.js";
|
|
19
|
+
import "./chunk-TCLGPL65.js";
|
|
20
|
+
import {
|
|
21
|
+
openBrowser,
|
|
22
|
+
parseRemoteDebuggingPort,
|
|
23
|
+
validateRemoteDebuggingPortDeps
|
|
24
|
+
} from "./chunk-LFGJWOVA.js";
|
|
25
|
+
import {
|
|
26
|
+
resolveProject
|
|
27
|
+
} from "./chunk-S3D6GE5W.js";
|
|
28
|
+
import "./chunk-IHFUKJOR.js";
|
|
29
|
+
import {
|
|
30
|
+
R,
|
|
31
|
+
ft,
|
|
32
|
+
ge
|
|
33
|
+
} from "./chunk-WMQNIQDJ.js";
|
|
34
|
+
import "./chunk-4NWOGZZS.js";
|
|
35
|
+
import "./chunk-JTHMTOMQ.js";
|
|
36
|
+
import "./chunk-EISRN4E6.js";
|
|
37
|
+
import "./chunk-VWG7OQKU.js";
|
|
38
|
+
import {
|
|
39
|
+
c
|
|
40
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
41
|
+
import "./chunk-IUZFXWSV.js";
|
|
42
|
+
import "./chunk-AMKC3AXA.js";
|
|
43
|
+
import {
|
|
44
|
+
defineCommand
|
|
45
|
+
} from "./chunk-S3S4TGEH.js";
|
|
46
|
+
import "./chunk-54HJ63Q2.js";
|
|
47
|
+
import {
|
|
48
|
+
setCommandExitCode
|
|
49
|
+
} from "./chunk-PBN6GBJE.js";
|
|
50
|
+
import "./chunk-KC5XXX3X.js";
|
|
51
|
+
import "./chunk-TJSTGSAW.js";
|
|
52
|
+
import "./chunk-K2FTXJYH.js";
|
|
53
|
+
import "./chunk-2YN64IN5.js";
|
|
54
|
+
import "./chunk-AVUUN2XD.js";
|
|
55
|
+
import "./chunk-DPVXBVLL.js";
|
|
56
|
+
import "./chunk-Z6B37SNM.js";
|
|
57
|
+
import "./chunk-HWKCIWQT.js";
|
|
58
|
+
import "./chunk-VC76R6W2.js";
|
|
59
|
+
import "./chunk-OFQWTKPW.js";
|
|
60
|
+
import "./chunk-TWWSYAKJ.js";
|
|
61
|
+
import "./chunk-ZJUKFZ2P.js";
|
|
62
|
+
import "./chunk-HBBJFK6I.js";
|
|
63
|
+
import "./chunk-PJ3HDUCY.js";
|
|
64
|
+
import "./chunk-TQFG7HTI.js";
|
|
65
|
+
import "./chunk-GK4AIFIH.js";
|
|
66
|
+
import "./chunk-2PSPARWP.js";
|
|
67
|
+
import "./chunk-K4WIOZFP.js";
|
|
68
|
+
import "./chunk-XUXGIA7H.js";
|
|
69
|
+
import "./chunk-WERLJGIC.js";
|
|
70
|
+
import "./chunk-ISN5GRYI.js";
|
|
71
|
+
import "./chunk-FLWXXDNS.js";
|
|
72
|
+
import "./chunk-KNU5COPB.js";
|
|
73
|
+
import "./chunk-3GXQPCJC.js";
|
|
74
|
+
import "./chunk-RQVDTPGD.js";
|
|
75
|
+
import "./chunk-PMRBLBUP.js";
|
|
76
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
77
|
+
|
|
78
|
+
// src/commands/present.ts
|
|
79
|
+
import { existsSync, readFileSync } from "fs";
|
|
80
|
+
import { resolve } from "path";
|
|
81
|
+
var examples = [
|
|
82
|
+
["Present the current deck", "hyperframes present"],
|
|
83
|
+
["Present a specific project directory", "hyperframes present ./my-deck"],
|
|
84
|
+
["Use a custom port", "hyperframes present --port 8080"],
|
|
85
|
+
["Start without opening the browser", "hyperframes present --no-open"],
|
|
86
|
+
["Open with a specific browser", "hyperframes present --browser-path /usr/bin/chromium"]
|
|
87
|
+
];
|
|
88
|
+
var present_default = defineCommand({
|
|
89
|
+
meta: {
|
|
90
|
+
name: "present",
|
|
91
|
+
description: "Serve a slideshow deck and open it in presenter mode (with audience sync)"
|
|
92
|
+
},
|
|
93
|
+
args: {
|
|
94
|
+
dir: { type: "positional", description: "Project directory", required: false },
|
|
95
|
+
port: { type: "string", description: "Port to run the present server on", default: "3004" },
|
|
96
|
+
open: { type: "boolean", default: true, description: "Open browser automatically" },
|
|
97
|
+
"browser-path": { type: "string", description: "Path to the browser executable to open" },
|
|
98
|
+
"user-data-dir": {
|
|
99
|
+
type: "string",
|
|
100
|
+
description: "Chromium-compatible user data directory (requires --browser-path)"
|
|
101
|
+
},
|
|
102
|
+
"remote-debugging-port": {
|
|
103
|
+
type: "string",
|
|
104
|
+
description: "Chromium remote debugging port (requires --browser-path and --user-data-dir)"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
async run({ args }) {
|
|
108
|
+
const project = resolveProject(args.dir);
|
|
109
|
+
const startPort = parseInt(args.port ?? "3004", 10);
|
|
110
|
+
if (args["user-data-dir"] && !args["browser-path"]) {
|
|
111
|
+
R.error("--user-data-dir requires --browser-path");
|
|
112
|
+
setCommandExitCode(1);
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
const depsError = validateRemoteDebuggingPortDeps({
|
|
116
|
+
browserPath: args["browser-path"],
|
|
117
|
+
userDataDir: args["user-data-dir"],
|
|
118
|
+
remoteDebuggingPort: args["remote-debugging-port"]
|
|
119
|
+
});
|
|
120
|
+
if (depsError) {
|
|
121
|
+
R.error(depsError);
|
|
122
|
+
setCommandExitCode(1);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
let remoteDebuggingPort;
|
|
126
|
+
try {
|
|
127
|
+
remoteDebuggingPort = parseRemoteDebuggingPort(
|
|
128
|
+
args["remote-debugging-port"]
|
|
129
|
+
);
|
|
130
|
+
} catch (err) {
|
|
131
|
+
R.error(err.message);
|
|
132
|
+
setCommandExitCode(1);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
const playerPath = resolvePlayerPath();
|
|
136
|
+
const slideshowPath = resolveSlideshowPath();
|
|
137
|
+
if (!playerPath || !slideshowPath) {
|
|
138
|
+
R.error(
|
|
139
|
+
"@hyperframes/player not found. Run `bun run --cwd packages/player build` first."
|
|
140
|
+
);
|
|
141
|
+
setCommandExitCode(1);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
const indexHtml = readFileSync(project.indexPath, "utf-8");
|
|
145
|
+
const { slideshowIslandRegex } = await import("./slideshow-EJ4IMY6P.js");
|
|
146
|
+
const islandMatch = slideshowIslandRegex("i").exec(indexHtml);
|
|
147
|
+
if (!islandMatch?.[1]) {
|
|
148
|
+
R.error(
|
|
149
|
+
`No slideshow island found in ${project.indexPath}. Add a <script type="application/hyperframes-slideshow+json"> block \u2014 see /hyperframes (slideshow).`
|
|
150
|
+
);
|
|
151
|
+
setCommandExitCode(1);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
const islandJson = islandMatch[1].trim();
|
|
155
|
+
try {
|
|
156
|
+
JSON.parse(islandJson);
|
|
157
|
+
} catch (err) {
|
|
158
|
+
R.error(
|
|
159
|
+
`Slideshow island in ${project.indexPath} is not valid JSON: ${err.message}`
|
|
160
|
+
);
|
|
161
|
+
setCommandExitCode(1);
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const { Hono } = await import("hono");
|
|
165
|
+
const { createAdaptorServer } = await import("@hono/node-server");
|
|
166
|
+
const app = new Hono();
|
|
167
|
+
app.get(
|
|
168
|
+
"/player.js",
|
|
169
|
+
(ctx) => ctx.body(readFileSync(playerPath, "utf-8"), 200, {
|
|
170
|
+
"Content-Type": "application/javascript",
|
|
171
|
+
"Cache-Control": "no-cache"
|
|
172
|
+
})
|
|
173
|
+
);
|
|
174
|
+
app.get(
|
|
175
|
+
"/slideshow.js",
|
|
176
|
+
(ctx) => ctx.body(readFileSync(slideshowPath, "utf-8"), 200, {
|
|
177
|
+
"Content-Type": "application/javascript",
|
|
178
|
+
"Cache-Control": "no-cache"
|
|
179
|
+
})
|
|
180
|
+
);
|
|
181
|
+
await registerPresentCompositionRoute(app, project);
|
|
182
|
+
app.get("/", (ctx) => ctx.html(buildPresentPage(project.name, islandJson)));
|
|
183
|
+
ge(c.bold("hyperframes present"));
|
|
184
|
+
const s = ft();
|
|
185
|
+
s.start("Starting presenter server...");
|
|
186
|
+
const server = createAdaptorServer({ fetch: app.fetch });
|
|
187
|
+
const actualPort = await listenOnFreePort(server, startPort);
|
|
188
|
+
const url = `http://localhost:${actualPort}`;
|
|
189
|
+
s.stop(c.success("Presenter server running"));
|
|
190
|
+
console.log();
|
|
191
|
+
if (actualPort !== startPort) {
|
|
192
|
+
console.log(` ${c.warn(`Port ${startPort} is in use, using ${actualPort} instead`)}`);
|
|
193
|
+
}
|
|
194
|
+
console.log(` ${c.dim("Deck")} ${c.accent(project.name)}`);
|
|
195
|
+
console.log(` ${c.dim("Present")} ${c.accent(url)}`);
|
|
196
|
+
console.log();
|
|
197
|
+
console.log(
|
|
198
|
+
` ${c.dim("Click the Present control (or press P) to open the audience display.")}`
|
|
199
|
+
);
|
|
200
|
+
console.log(
|
|
201
|
+
` ${c.dim('Google Meet: share the AUDIENCE tab ("Share screen \u2192 A tab"), not a window or your whole screen.')}`
|
|
202
|
+
);
|
|
203
|
+
console.log(
|
|
204
|
+
` ${c.dim("Zoom desktop: drag the audience tab into its own window and share that window (keep it at least partly visible).")}`
|
|
205
|
+
);
|
|
206
|
+
console.log(` ${c.dim("Press Ctrl+C to stop")}`);
|
|
207
|
+
console.log();
|
|
208
|
+
if (args.open) {
|
|
209
|
+
void openBrowser(url, {
|
|
210
|
+
browserPath: args["browser-path"],
|
|
211
|
+
userDataDir: args["user-data-dir"],
|
|
212
|
+
remoteDebuggingPort
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
return new Promise(() => {
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
function buildPresentPage(projectName, islandJson) {
|
|
220
|
+
return `<!doctype html>
|
|
221
|
+
<html lang="en">
|
|
222
|
+
<head>
|
|
223
|
+
<meta charset="UTF-8" />
|
|
224
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
225
|
+
<title>${escHtml(projectName)} \u2014 Presenter</title>
|
|
226
|
+
<script>
|
|
227
|
+
// Retitle the audience tab so the two tabs are distinguishable in the
|
|
228
|
+
// browser tab strip and in Meet's "Share a tab" picker.
|
|
229
|
+
if (new URLSearchParams(location.search).get("mode") === "audience") {
|
|
230
|
+
document.title = ${JSON.stringify(projectName).replace(/</g, "\\u003c")} + " \u2014 Audience";
|
|
231
|
+
}
|
|
232
|
+
</script>
|
|
233
|
+
<style>
|
|
234
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
235
|
+
html, body { height: 100%; background: #0a0a0a; overflow: hidden; }
|
|
236
|
+
hyperframes-slideshow { display: block; position: relative; width: 100vw; height: 100vh; }
|
|
237
|
+
hyperframes-player { position: absolute; inset: 0; }
|
|
238
|
+
</style>
|
|
239
|
+
<script src="/player.js"></script>
|
|
240
|
+
<script src="/slideshow.js"></script>
|
|
241
|
+
</head>
|
|
242
|
+
<body>
|
|
243
|
+
<hyperframes-slideshow tabindex="0" sound>
|
|
244
|
+
<hyperframes-player interactive src="/composition/index.html"></hyperframes-player>
|
|
245
|
+
<script type="application/hyperframes-slideshow+json">
|
|
246
|
+
${islandJson}
|
|
247
|
+
</script>
|
|
248
|
+
</hyperframes-slideshow>
|
|
249
|
+
<!-- Present CTA lives in the component's nav cluster (data-hf-present, plus
|
|
250
|
+
the P key) \u2014 no page-level button, or we'd render two Present CTAs. -->
|
|
251
|
+
<script>
|
|
252
|
+
// Sound effects play HERE, in the parent document. The composition runs in the
|
|
253
|
+
// player's iframe, which is autoplay-blocked without its own user gesture; the
|
|
254
|
+
// slideshow posts { type: "hf-sfx", name } to the parent on nav, and we play the
|
|
255
|
+
// matching clip from the deck's sfx/ folder (served under /composition/sfx/).
|
|
256
|
+
// Runs in both presenter and audience windows. Missing clips fail silently.
|
|
257
|
+
(function () {
|
|
258
|
+
var clips = {
|
|
259
|
+
advance: new Audio("/composition/sfx/advance.mp3"),
|
|
260
|
+
fragment: new Audio("/composition/sfx/fragment.mp3"),
|
|
261
|
+
"branch-enter": new Audio("/composition/sfx/branch-enter.mp3"),
|
|
262
|
+
back: new Audio("/composition/sfx/back.mp3"),
|
|
263
|
+
};
|
|
264
|
+
clips.advance.volume = 0.45;
|
|
265
|
+
clips.fragment.volume = 0.4;
|
|
266
|
+
clips["branch-enter"].volume = 0.4;
|
|
267
|
+
clips.back.volume = 0.4;
|
|
268
|
+
for (var k in clips) clips[k].preload = "auto";
|
|
269
|
+
|
|
270
|
+
// Mute state is owned by <hyperframes-slideshow sound>; mirror it.
|
|
271
|
+
var muted = false;
|
|
272
|
+
function setClipsMuted(nextMuted) {
|
|
273
|
+
Object.keys(clips).forEach(function (name) {
|
|
274
|
+
clips[name].muted = nextMuted;
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
var ss = document.querySelector("hyperframes-slideshow");
|
|
278
|
+
if (ss) {
|
|
279
|
+
ss.addEventListener("hf-sound", function (e) {
|
|
280
|
+
muted = e.detail && e.detail.muted === true;
|
|
281
|
+
setClipsMuted(muted);
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// Autoplay needs a user gesture \u2014 prime each clip (play muted, reset) on the
|
|
286
|
+
// first interaction so later plays are instant and allowed.
|
|
287
|
+
var unlocked = false;
|
|
288
|
+
function unlock() {
|
|
289
|
+
if (unlocked) return;
|
|
290
|
+
unlocked = true;
|
|
291
|
+
Object.keys(clips).forEach(function (name) {
|
|
292
|
+
var el = clips[name];
|
|
293
|
+
var v = el.volume;
|
|
294
|
+
el.volume = 0;
|
|
295
|
+
el.play()
|
|
296
|
+
.then(function () {
|
|
297
|
+
el.pause();
|
|
298
|
+
el.currentTime = 0;
|
|
299
|
+
el.volume = v;
|
|
300
|
+
})
|
|
301
|
+
.catch(function () {
|
|
302
|
+
el.volume = v;
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
window.addEventListener("keydown", unlock, true);
|
|
307
|
+
window.addEventListener("pointerdown", unlock, true);
|
|
308
|
+
window.addEventListener("click", unlock, true);
|
|
309
|
+
|
|
310
|
+
window.addEventListener("message", function (e) {
|
|
311
|
+
// Only accept cues from this origin (the composition iframe is same-origin).
|
|
312
|
+
if (e.origin !== location.origin) return;
|
|
313
|
+
var d = e.data;
|
|
314
|
+
if (!d || d.type !== "hf-sfx" || muted) return;
|
|
315
|
+
// Own-property guard: a malicious name like "__proto__" must not resolve to
|
|
316
|
+
// a prototype object (which would be truthy and then get mutated below).
|
|
317
|
+
if (!Object.prototype.hasOwnProperty.call(clips, d.name)) return;
|
|
318
|
+
var el = clips[d.name];
|
|
319
|
+
if (!el || !unlocked) return;
|
|
320
|
+
try {
|
|
321
|
+
el.currentTime = 0;
|
|
322
|
+
el.play().catch(function () {});
|
|
323
|
+
} catch (err) {
|
|
324
|
+
/* ignore */
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
})();
|
|
328
|
+
</script>
|
|
329
|
+
</body>
|
|
330
|
+
</html>`;
|
|
331
|
+
}
|
|
332
|
+
function escHtml(value) {
|
|
333
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
334
|
+
}
|
|
335
|
+
async function registerPresentCompositionRoute(app, project) {
|
|
336
|
+
const { isSafePath } = await import("./studio-api-PNQZRPX5.js");
|
|
337
|
+
app.get("/composition/*", (ctx) => {
|
|
338
|
+
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
339
|
+
const filePath = resolve(project.dir, reqPath);
|
|
340
|
+
if (!isSafePath(project.dir, filePath)) return ctx.text("Forbidden", 403);
|
|
341
|
+
if (!existsSync(filePath)) return ctx.text("Not found", 404);
|
|
342
|
+
if (filePath.endsWith(".html")) return ctx.html(readFileSync(filePath, "utf-8"));
|
|
343
|
+
return ctx.body(readFileSync(filePath), 200, { "Content-Type": assetContentType(filePath) });
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
export {
|
|
347
|
+
present_default as default,
|
|
348
|
+
examples,
|
|
349
|
+
registerPresentCompositionRoute
|
|
350
|
+
};
|