@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,647 @@
|
|
|
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
|
+
displayPathFromBase,
|
|
9
|
+
readOptionalString,
|
|
10
|
+
resolveFromBase
|
|
11
|
+
} from "./chunk-ZKDMAOFU.js";
|
|
12
|
+
import {
|
|
13
|
+
serveStaticProjectHtml
|
|
14
|
+
} from "./chunk-KBJUXVOJ.js";
|
|
15
|
+
import "./chunk-XUHOIDKG.js";
|
|
16
|
+
import "./chunk-UEZXMWG3.js";
|
|
17
|
+
import "./chunk-X7MTZ4T2.js";
|
|
18
|
+
import {
|
|
19
|
+
openSettledCompositionPage,
|
|
20
|
+
runFfmpegOnce
|
|
21
|
+
} from "./chunk-YQZNILVH.js";
|
|
22
|
+
import "./chunk-5Z63TBTX.js";
|
|
23
|
+
import "./chunk-7HG4BFIN.js";
|
|
24
|
+
import "./chunk-HRUGC23L.js";
|
|
25
|
+
import "./chunk-YEIFI443.js";
|
|
26
|
+
import "./chunk-S7NPLFWV.js";
|
|
27
|
+
import "./chunk-RMHUQGRK.js";
|
|
28
|
+
import "./chunk-EOVYQ3IG.js";
|
|
29
|
+
import "./chunk-QC4FJVLM.js";
|
|
30
|
+
import "./chunk-TCLGPL65.js";
|
|
31
|
+
import "./chunk-IHFUKJOR.js";
|
|
32
|
+
import "./chunk-XS4EJSKU.js";
|
|
33
|
+
import "./chunk-PFCFR3KZ.js";
|
|
34
|
+
import "./chunk-CFKU7HTK.js";
|
|
35
|
+
import "./chunk-XT7X6QCP.js";
|
|
36
|
+
import "./chunk-4YYJOFKS.js";
|
|
37
|
+
import "./chunk-HVW7ABXD.js";
|
|
38
|
+
import "./chunk-LYNI3FOL.js";
|
|
39
|
+
import "./chunk-CWPVM2QV.js";
|
|
40
|
+
import "./chunk-A2Z4Z4VL.js";
|
|
41
|
+
import "./chunk-AWDFDFI3.js";
|
|
42
|
+
import "./chunk-P6LJ4Y32.js";
|
|
43
|
+
import "./chunk-GMECXFAN.js";
|
|
44
|
+
import {
|
|
45
|
+
findFFmpeg
|
|
46
|
+
} from "./chunk-TVCRUG2S.js";
|
|
47
|
+
import "./chunk-4NWOGZZS.js";
|
|
48
|
+
import {
|
|
49
|
+
trackCompareSheet
|
|
50
|
+
} from "./chunk-JTHMTOMQ.js";
|
|
51
|
+
import "./chunk-EISRN4E6.js";
|
|
52
|
+
import "./chunk-VWG7OQKU.js";
|
|
53
|
+
import {
|
|
54
|
+
c
|
|
55
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
56
|
+
import "./chunk-IUZFXWSV.js";
|
|
57
|
+
import "./chunk-AMKC3AXA.js";
|
|
58
|
+
import {
|
|
59
|
+
defineCommand
|
|
60
|
+
} from "./chunk-S3S4TGEH.js";
|
|
61
|
+
import "./chunk-54HJ63Q2.js";
|
|
62
|
+
import {
|
|
63
|
+
failCommand
|
|
64
|
+
} from "./chunk-PBN6GBJE.js";
|
|
65
|
+
import "./chunk-KC5XXX3X.js";
|
|
66
|
+
import "./chunk-TJSTGSAW.js";
|
|
67
|
+
import "./chunk-K2FTXJYH.js";
|
|
68
|
+
import {
|
|
69
|
+
gsapCdnDist
|
|
70
|
+
} from "./chunk-2YN64IN5.js";
|
|
71
|
+
import "./chunk-AVUUN2XD.js";
|
|
72
|
+
import "./chunk-DPVXBVLL.js";
|
|
73
|
+
import "./chunk-Z6B37SNM.js";
|
|
74
|
+
import {
|
|
75
|
+
HF_COLOR_GRADING_ATTR,
|
|
76
|
+
isHfColorGradingActive,
|
|
77
|
+
normalizeHfColorGrading,
|
|
78
|
+
parseCubeLut,
|
|
79
|
+
serializeHfColorGrading
|
|
80
|
+
} from "./chunk-HWKCIWQT.js";
|
|
81
|
+
import "./chunk-VC76R6W2.js";
|
|
82
|
+
import "./chunk-OFQWTKPW.js";
|
|
83
|
+
import "./chunk-LCSMOLGX.js";
|
|
84
|
+
import "./chunk-TWWSYAKJ.js";
|
|
85
|
+
import "./chunk-ZJUKFZ2P.js";
|
|
86
|
+
import "./chunk-HBBJFK6I.js";
|
|
87
|
+
import "./chunk-PJ3HDUCY.js";
|
|
88
|
+
import "./chunk-TQFG7HTI.js";
|
|
89
|
+
import "./chunk-GK4AIFIH.js";
|
|
90
|
+
import "./chunk-2PSPARWP.js";
|
|
91
|
+
import {
|
|
92
|
+
withMeta
|
|
93
|
+
} from "./chunk-HW6OYASV.js";
|
|
94
|
+
import "./chunk-K4WIOZFP.js";
|
|
95
|
+
import "./chunk-XUXGIA7H.js";
|
|
96
|
+
import "./chunk-WERLJGIC.js";
|
|
97
|
+
import "./chunk-ISN5GRYI.js";
|
|
98
|
+
import "./chunk-FLWXXDNS.js";
|
|
99
|
+
import {
|
|
100
|
+
normalizeErrorMessage
|
|
101
|
+
} from "./chunk-KNU5COPB.js";
|
|
102
|
+
import "./chunk-3GXQPCJC.js";
|
|
103
|
+
import "./chunk-RQVDTPGD.js";
|
|
104
|
+
import "./chunk-PMRBLBUP.js";
|
|
105
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
106
|
+
|
|
107
|
+
// src/commands/grade-compare.ts
|
|
108
|
+
import {
|
|
109
|
+
copyFileSync,
|
|
110
|
+
existsSync,
|
|
111
|
+
mkdirSync,
|
|
112
|
+
mkdtempSync,
|
|
113
|
+
readFileSync,
|
|
114
|
+
rmSync,
|
|
115
|
+
writeFileSync
|
|
116
|
+
} from "fs";
|
|
117
|
+
import { tmpdir } from "os";
|
|
118
|
+
import { basename, dirname, extname, join, resolve } from "path";
|
|
119
|
+
import sharp from "sharp";
|
|
120
|
+
var COMPOSITION_ID = "grade-compare";
|
|
121
|
+
var COMPOSITION_DURATION = "1";
|
|
122
|
+
var DEFAULT_CELL_WIDTH = 560;
|
|
123
|
+
var MAX_CANDIDATE_CELLS = 16;
|
|
124
|
+
var MAX_COLUMNS = 4;
|
|
125
|
+
var GRID_PADDING = 16;
|
|
126
|
+
var LABEL_HEIGHT = 32;
|
|
127
|
+
var FFMPEG_EXTRACT_TIMEOUT_MS = 3e4;
|
|
128
|
+
var examples = [
|
|
129
|
+
[
|
|
130
|
+
"Compare grade presets on one reference frame",
|
|
131
|
+
"hyperframes grade-compare --for frame.png --grades grades.json"
|
|
132
|
+
],
|
|
133
|
+
[
|
|
134
|
+
"Compare LUT files and print agent-friendly JSON",
|
|
135
|
+
"hyperframes grade-compare --for frame.png --luts looks/a.cube,looks/b.cube --json"
|
|
136
|
+
]
|
|
137
|
+
];
|
|
138
|
+
function isRecord(value) {
|
|
139
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
140
|
+
}
|
|
141
|
+
function hasOwn(record, key) {
|
|
142
|
+
return Object.prototype.hasOwnProperty.call(record, key);
|
|
143
|
+
}
|
|
144
|
+
function cloneRecord(record) {
|
|
145
|
+
const next = {};
|
|
146
|
+
for (const [key, value] of Object.entries(record)) {
|
|
147
|
+
next[key] = value;
|
|
148
|
+
}
|
|
149
|
+
return next;
|
|
150
|
+
}
|
|
151
|
+
function escapeXml(value) {
|
|
152
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
153
|
+
}
|
|
154
|
+
function escapeSingleQuotedAttr(value) {
|
|
155
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/'/g, "'");
|
|
156
|
+
}
|
|
157
|
+
function validateCell(label, grading) {
|
|
158
|
+
if (!normalizeHfColorGrading(grading)) {
|
|
159
|
+
throw new Error(`Invalid color grading for cell "${label}"`);
|
|
160
|
+
}
|
|
161
|
+
return { label, grading };
|
|
162
|
+
}
|
|
163
|
+
function warnInactiveGradingCells(cells) {
|
|
164
|
+
for (const cell of cells) {
|
|
165
|
+
const normalized = normalizeHfColorGrading(cell.grading);
|
|
166
|
+
if (!isHfColorGradingActive(normalized)) {
|
|
167
|
+
console.error(
|
|
168
|
+
c.warn(`Warning: grading for "${cell.label}" is inactive/no-op \u2014 it will render ungraded`)
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function capCandidateCells(cells) {
|
|
174
|
+
const total = cells.length;
|
|
175
|
+
if (total <= MAX_CANDIDATE_CELLS) {
|
|
176
|
+
return { cells: [...cells], truncated: false, total };
|
|
177
|
+
}
|
|
178
|
+
console.error(
|
|
179
|
+
c.warn(
|
|
180
|
+
`Warning: ${total} candidate grades exceed the ${MAX_CANDIDATE_CELLS}-cell cap \u2014 rendering the first ${MAX_CANDIDATE_CELLS} of ${total}; re-run with fewer grades or split into multiple runs.`
|
|
181
|
+
)
|
|
182
|
+
);
|
|
183
|
+
return { cells: cells.slice(0, MAX_CANDIDATE_CELLS), truncated: true, total };
|
|
184
|
+
}
|
|
185
|
+
function buildGradeCompareSuccessPayload(sheet, cells, capResult) {
|
|
186
|
+
if (!capResult.truncated) {
|
|
187
|
+
return { ok: true, sheet, cells };
|
|
188
|
+
}
|
|
189
|
+
return { ok: true, sheet, cells, truncated: true, total: capResult.total };
|
|
190
|
+
}
|
|
191
|
+
function serializedGradingForCell(cell) {
|
|
192
|
+
const normalized = normalizeHfColorGrading(cell.grading);
|
|
193
|
+
if (!normalized) {
|
|
194
|
+
throw new Error(`Invalid color grading for cell "${cell.label}"`);
|
|
195
|
+
}
|
|
196
|
+
return serializeHfColorGrading(normalized);
|
|
197
|
+
}
|
|
198
|
+
function lutSrcFromGrading(grading) {
|
|
199
|
+
if (!isRecord(grading) || !hasOwn(grading, "lut")) return null;
|
|
200
|
+
const lut = grading.lut;
|
|
201
|
+
if (typeof lut === "string" && lut.trim()) return lut.trim();
|
|
202
|
+
if (!isRecord(lut)) return null;
|
|
203
|
+
const src = lut.src;
|
|
204
|
+
return typeof src === "string" && src.trim() ? src.trim() : null;
|
|
205
|
+
}
|
|
206
|
+
function rewriteGradingLutSrc(grading, src) {
|
|
207
|
+
if (!isRecord(grading) || !hasOwn(grading, "lut")) return grading;
|
|
208
|
+
const lut = grading.lut;
|
|
209
|
+
const next = cloneRecord(grading);
|
|
210
|
+
if (typeof lut === "string") {
|
|
211
|
+
next.lut = { src };
|
|
212
|
+
return next;
|
|
213
|
+
}
|
|
214
|
+
if (isRecord(lut)) {
|
|
215
|
+
const nextLut = cloneRecord(lut);
|
|
216
|
+
nextLut.src = src;
|
|
217
|
+
next.lut = nextLut;
|
|
218
|
+
}
|
|
219
|
+
return next;
|
|
220
|
+
}
|
|
221
|
+
function parseGradesFile(filePath) {
|
|
222
|
+
if (!existsSync(filePath)) {
|
|
223
|
+
throw new Error(`Grades file not found: ${filePath}`);
|
|
224
|
+
}
|
|
225
|
+
let parsed;
|
|
226
|
+
try {
|
|
227
|
+
parsed = JSON.parse(readFileSync(filePath, "utf-8"));
|
|
228
|
+
} catch (err) {
|
|
229
|
+
throw new Error(`Could not parse grades JSON: ${normalizeErrorMessage(err)}`);
|
|
230
|
+
}
|
|
231
|
+
if (!Array.isArray(parsed)) {
|
|
232
|
+
throw new Error("Grades file must be a JSON array of { label, grading } objects");
|
|
233
|
+
}
|
|
234
|
+
return parsed.map((entry, index) => {
|
|
235
|
+
if (!isRecord(entry)) {
|
|
236
|
+
throw new Error(`Grade entry ${index + 1} must be an object with label and grading`);
|
|
237
|
+
}
|
|
238
|
+
const label = entry.label;
|
|
239
|
+
if (typeof label !== "string" || !label.trim()) {
|
|
240
|
+
throw new Error(`Grade entry ${index + 1} must have a non-empty string label`);
|
|
241
|
+
}
|
|
242
|
+
if (!hasOwn(entry, "grading")) {
|
|
243
|
+
throw new Error(`Grade entry "${label}" must include a grading value`);
|
|
244
|
+
}
|
|
245
|
+
return validateCell(label, entry.grading);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function resolveLutCells(luts) {
|
|
249
|
+
const paths = luts.split(",").map((part) => part.trim()).filter(Boolean);
|
|
250
|
+
if (paths.length === 0) {
|
|
251
|
+
throw new Error("--luts must include at least one LUT path");
|
|
252
|
+
}
|
|
253
|
+
return paths.map(
|
|
254
|
+
(lutPath) => validateCell(basename(lutPath, extname(lutPath)), { lut: { src: lutPath } })
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
function prependBaselineCell(cells) {
|
|
258
|
+
return [validateCell("original", {}), ...cells];
|
|
259
|
+
}
|
|
260
|
+
function parseGradeCompareArgs(args) {
|
|
261
|
+
const frameArg = readOptionalString(args.for);
|
|
262
|
+
if (!frameArg) throw new Error("--for <path> is required");
|
|
263
|
+
const gradesArg = readOptionalString(args.grades);
|
|
264
|
+
const lutsArg = readOptionalString(args.luts);
|
|
265
|
+
if (Boolean(gradesArg) === Boolean(lutsArg)) {
|
|
266
|
+
throw new Error("Exactly one of --grades or --luts is required");
|
|
267
|
+
}
|
|
268
|
+
const projectDir = resolve(readOptionalString(args.project) ?? process.cwd());
|
|
269
|
+
const framePath = resolveFromBase(projectDir, frameArg);
|
|
270
|
+
const outPath = resolveFromBase(projectDir, readOptionalString(args.out) ?? "grade-compare.png");
|
|
271
|
+
return {
|
|
272
|
+
framePath,
|
|
273
|
+
projectDir,
|
|
274
|
+
outPath,
|
|
275
|
+
source: gradesArg ? { kind: "grades", path: resolveFromBase(projectDir, gradesArg) } : { kind: "luts", value: lutsArg ?? "" },
|
|
276
|
+
json: args.json === true,
|
|
277
|
+
timeoutMs: Number.parseInt(readOptionalString(args.timeout) ?? "", 10) || 5e3
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
function gridMetrics(cellCount, frameWidth, frameHeight) {
|
|
281
|
+
const columns = Math.max(1, Math.min(MAX_COLUMNS, Math.ceil(Math.sqrt(cellCount))));
|
|
282
|
+
const rows = Math.ceil(cellCount / columns);
|
|
283
|
+
const cellImageWidth = DEFAULT_CELL_WIDTH;
|
|
284
|
+
const aspect = frameHeight > 0 && frameWidth > 0 ? frameHeight / frameWidth : 9 / 16;
|
|
285
|
+
const cellImageHeight = Math.max(1, Math.round(cellImageWidth * aspect));
|
|
286
|
+
return {
|
|
287
|
+
columns,
|
|
288
|
+
rows,
|
|
289
|
+
cellImageWidth,
|
|
290
|
+
cellImageHeight,
|
|
291
|
+
width: columns * cellImageWidth + (columns + 1) * GRID_PADDING,
|
|
292
|
+
height: rows * (cellImageHeight + LABEL_HEIGHT) + (rows + 1) * GRID_PADDING
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
function buildGradeCompareHtml(options) {
|
|
296
|
+
if (options.cells.length === 0) {
|
|
297
|
+
throw new Error("At least one grade cell is required");
|
|
298
|
+
}
|
|
299
|
+
const metrics = gridMetrics(options.cells.length, options.frameWidth, options.frameHeight);
|
|
300
|
+
const cellHtml = options.cells.map((cell, index) => {
|
|
301
|
+
const serialized = escapeSingleQuotedAttr(serializedGradingForCell(cell));
|
|
302
|
+
const label = escapeXml(cell.label);
|
|
303
|
+
const row = Math.floor(index / metrics.columns);
|
|
304
|
+
const col = index % metrics.columns;
|
|
305
|
+
const left = GRID_PADDING + col * (metrics.cellImageWidth + GRID_PADDING);
|
|
306
|
+
const top = GRID_PADDING + row * (metrics.cellImageHeight + LABEL_HEIGHT + GRID_PADDING);
|
|
307
|
+
return ` <figure class="grade-cell" style="left:${left}px;top:${top}px;width:${metrics.cellImageWidth}px;height:${metrics.cellImageHeight + LABEL_HEIGHT}px">
|
|
308
|
+
<figcaption>${label}</figcaption>
|
|
309
|
+
<img src="${escapeXml(options.frameSrc)}" ${HF_COLOR_GRADING_ATTR}='${serialized}' alt="${label}" />
|
|
310
|
+
</figure>`;
|
|
311
|
+
}).join("\n");
|
|
312
|
+
return `<!doctype html>
|
|
313
|
+
<html lang="en">
|
|
314
|
+
<head>
|
|
315
|
+
<meta charset="UTF-8" />
|
|
316
|
+
<meta name="viewport" content="width=${metrics.width}, height=${metrics.height}" />
|
|
317
|
+
<title>HyperFrames Grade Compare</title>
|
|
318
|
+
<script src="${gsapCdnDist()}gsap.min.js"></script>
|
|
319
|
+
<style>
|
|
320
|
+
html,
|
|
321
|
+
body {
|
|
322
|
+
margin: 0;
|
|
323
|
+
width: ${metrics.width}px;
|
|
324
|
+
height: ${metrics.height}px;
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
background: #191919;
|
|
327
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
#${COMPOSITION_ID} {
|
|
331
|
+
position: relative;
|
|
332
|
+
width: ${metrics.width}px;
|
|
333
|
+
height: ${metrics.height}px;
|
|
334
|
+
overflow: hidden;
|
|
335
|
+
background: #191919;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.grade-cell {
|
|
339
|
+
position: absolute;
|
|
340
|
+
margin: 0;
|
|
341
|
+
background: #0f0f0f;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.grade-cell figcaption {
|
|
345
|
+
height: ${LABEL_HEIGHT}px;
|
|
346
|
+
line-height: ${LABEL_HEIGHT}px;
|
|
347
|
+
padding: 0 10px;
|
|
348
|
+
box-sizing: border-box;
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
white-space: nowrap;
|
|
351
|
+
text-overflow: ellipsis;
|
|
352
|
+
color: #ffffff;
|
|
353
|
+
background: #111111;
|
|
354
|
+
font-size: 14px;
|
|
355
|
+
font-weight: 700;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.grade-cell img {
|
|
359
|
+
display: block;
|
|
360
|
+
width: ${metrics.cellImageWidth}px;
|
|
361
|
+
height: ${metrics.cellImageHeight}px;
|
|
362
|
+
object-fit: contain;
|
|
363
|
+
background: #000000;
|
|
364
|
+
}
|
|
365
|
+
</style>
|
|
366
|
+
</head>
|
|
367
|
+
<body>
|
|
368
|
+
<div
|
|
369
|
+
id="${COMPOSITION_ID}"
|
|
370
|
+
data-composition-id="${COMPOSITION_ID}"
|
|
371
|
+
data-start="0"
|
|
372
|
+
data-duration="${COMPOSITION_DURATION}"
|
|
373
|
+
data-width="${metrics.width}"
|
|
374
|
+
data-height="${metrics.height}"
|
|
375
|
+
>
|
|
376
|
+
${cellHtml}
|
|
377
|
+
<script>
|
|
378
|
+
window.__timelines = window.__timelines || {};
|
|
379
|
+
window.__timelines["${COMPOSITION_ID}"] = gsap.timeline({ paused: true });
|
|
380
|
+
</script>
|
|
381
|
+
</div>
|
|
382
|
+
</body>
|
|
383
|
+
</html>
|
|
384
|
+
`;
|
|
385
|
+
}
|
|
386
|
+
function frameFileNameForPath(framePath) {
|
|
387
|
+
const ext = extname(framePath).toLowerCase();
|
|
388
|
+
if (ext === ".jpg" || ext === ".jpeg") return `frame${ext}`;
|
|
389
|
+
return "frame.png";
|
|
390
|
+
}
|
|
391
|
+
async function prepareGradeCompareTempProject(opts) {
|
|
392
|
+
const tempDir = mkdtempSync(join(tmpdir(), "hf-grade-compare-"));
|
|
393
|
+
try {
|
|
394
|
+
const frameFileName = opts.frameFileName ?? frameFileNameForPath(opts.framePath);
|
|
395
|
+
writeFileSync(join(tempDir, frameFileName), opts.frameBuffer);
|
|
396
|
+
let lutIndex = 0;
|
|
397
|
+
const stagedCells = opts.cells.map((cell) => {
|
|
398
|
+
const lutSrc = lutSrcFromGrading(cell.grading);
|
|
399
|
+
if (!lutSrc) return cell;
|
|
400
|
+
const sourcePath = resolveFromBase(opts.projectDir, lutSrc);
|
|
401
|
+
if (!existsSync(sourcePath)) {
|
|
402
|
+
throw new Error(`LUT file not found for "${cell.label}": ${sourcePath}`);
|
|
403
|
+
}
|
|
404
|
+
const lutText = readFileSync(sourcePath, "utf-8");
|
|
405
|
+
try {
|
|
406
|
+
parseCubeLut(lutText, { maxSize: 64 });
|
|
407
|
+
} catch (err) {
|
|
408
|
+
throw new Error(
|
|
409
|
+
`LUT for "${cell.label}" is not a valid .cube: ${normalizeErrorMessage(err)}`
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
const lutExt = extname(sourcePath) || ".cube";
|
|
413
|
+
const stagedName = `lut-${lutIndex}${lutExt}`;
|
|
414
|
+
lutIndex += 1;
|
|
415
|
+
copyFileSync(sourcePath, join(tempDir, stagedName));
|
|
416
|
+
return {
|
|
417
|
+
label: cell.label,
|
|
418
|
+
grading: rewriteGradingLutSrc(cell.grading, stagedName)
|
|
419
|
+
};
|
|
420
|
+
});
|
|
421
|
+
const html = buildGradeCompareHtml({
|
|
422
|
+
cells: stagedCells,
|
|
423
|
+
frameSrc: frameFileName,
|
|
424
|
+
frameWidth: opts.frameWidth,
|
|
425
|
+
frameHeight: opts.frameHeight
|
|
426
|
+
});
|
|
427
|
+
writeFileSync(join(tempDir, "index.html"), html);
|
|
428
|
+
return { tempDir, html, cells: stagedCells };
|
|
429
|
+
} catch (err) {
|
|
430
|
+
rmSync(tempDir, { recursive: true, force: true });
|
|
431
|
+
throw err;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function isVideoPath(filePath) {
|
|
435
|
+
const ext = extname(filePath).toLowerCase();
|
|
436
|
+
return [".mp4", ".mov", ".m4v", ".webm", ".mkv", ".avi", ".mpeg", ".mpg", ".ogv"].includes(ext);
|
|
437
|
+
}
|
|
438
|
+
async function extractVideoFrameToBuffer(videoPath) {
|
|
439
|
+
const tmp = mkdtempSync(join(tmpdir(), "hf-grade-compare-frame-"));
|
|
440
|
+
const outPath = join(tmp, "frame.png");
|
|
441
|
+
try {
|
|
442
|
+
const ffmpegPath = findFFmpeg();
|
|
443
|
+
if (!ffmpegPath) return null;
|
|
444
|
+
const args = [
|
|
445
|
+
"-hide_banner",
|
|
446
|
+
"-loglevel",
|
|
447
|
+
"error",
|
|
448
|
+
"-ss",
|
|
449
|
+
"0",
|
|
450
|
+
"-i",
|
|
451
|
+
videoPath,
|
|
452
|
+
"-frames:v",
|
|
453
|
+
"1",
|
|
454
|
+
"-q:v",
|
|
455
|
+
"2",
|
|
456
|
+
"-y",
|
|
457
|
+
outPath
|
|
458
|
+
];
|
|
459
|
+
const result = await runFfmpegOnce(ffmpegPath, args, FFMPEG_EXTRACT_TIMEOUT_MS);
|
|
460
|
+
if (result.timedOut) {
|
|
461
|
+
throw new Error(`ffmpeg timed out extracting first frame from ${videoPath}`);
|
|
462
|
+
}
|
|
463
|
+
if (result.code !== 0 || !existsSync(outPath)) {
|
|
464
|
+
const detail = result.stderr.trim() ? `: ${result.stderr.trim()}` : "";
|
|
465
|
+
throw new Error(`ffmpeg could not extract first frame from ${videoPath}${detail}`);
|
|
466
|
+
}
|
|
467
|
+
return readFileSync(outPath);
|
|
468
|
+
} finally {
|
|
469
|
+
rmSync(tmp, { recursive: true, force: true });
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
async function loadReferenceFrame(framePath) {
|
|
473
|
+
if (!existsSync(framePath)) {
|
|
474
|
+
throw new Error(`Reference frame not found: ${framePath}`);
|
|
475
|
+
}
|
|
476
|
+
const buffer = isVideoPath(framePath) ? await extractVideoFrameToBuffer(framePath) : readFileSync(framePath);
|
|
477
|
+
if (!buffer) {
|
|
478
|
+
throw new Error(`Could not extract a frame from video: ${framePath}`);
|
|
479
|
+
}
|
|
480
|
+
const metadata = await sharp(buffer).metadata();
|
|
481
|
+
if (!metadata.width || !metadata.height) {
|
|
482
|
+
throw new Error(`Could not read reference frame dimensions: ${framePath}`);
|
|
483
|
+
}
|
|
484
|
+
return {
|
|
485
|
+
buffer,
|
|
486
|
+
width: metadata.width,
|
|
487
|
+
height: metadata.height,
|
|
488
|
+
stagedName: isVideoPath(framePath) ? "frame.png" : frameFileNameForPath(framePath)
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
async function captureGradeCompareSheet(projectDir, timeoutMs) {
|
|
492
|
+
const { bundleToSingleHtml } = await import("./compiler-QO36EXLS.js");
|
|
493
|
+
const html = await bundleToSingleHtml(projectDir);
|
|
494
|
+
const server = await serveStaticProjectHtml(projectDir, html);
|
|
495
|
+
const sheetPath = join(projectDir, "grade-compare.png");
|
|
496
|
+
try {
|
|
497
|
+
const {
|
|
498
|
+
browser: chromeBrowser,
|
|
499
|
+
page,
|
|
500
|
+
renderReadyTimedOut
|
|
501
|
+
} = await openSettledCompositionPage(html, server.url, {
|
|
502
|
+
renderReadyTimeoutMs: timeoutMs,
|
|
503
|
+
renderReadyWarningSuffix: "grade comparison may be inaccurate"
|
|
504
|
+
});
|
|
505
|
+
try {
|
|
506
|
+
await page.screenshot({ path: sheetPath, type: "png" });
|
|
507
|
+
return { sheetPath, renderReadyTimedOut };
|
|
508
|
+
} finally {
|
|
509
|
+
await chromeBrowser.close();
|
|
510
|
+
}
|
|
511
|
+
} finally {
|
|
512
|
+
await server.close();
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
function printJson(payload) {
|
|
516
|
+
console.log(JSON.stringify(withMeta(payload), null, 2));
|
|
517
|
+
}
|
|
518
|
+
var grade_compare_default = defineCommand({
|
|
519
|
+
meta: {
|
|
520
|
+
name: "grade-compare",
|
|
521
|
+
description: "Render candidate color grades onto a reference frame as one comparison PNG"
|
|
522
|
+
},
|
|
523
|
+
args: {
|
|
524
|
+
for: {
|
|
525
|
+
type: "string",
|
|
526
|
+
description: "Reference image path, or a video path to sample at t=0",
|
|
527
|
+
required: true
|
|
528
|
+
},
|
|
529
|
+
grades: {
|
|
530
|
+
type: "string",
|
|
531
|
+
description: "JSON array of { label, grading } candidate grades"
|
|
532
|
+
},
|
|
533
|
+
luts: {
|
|
534
|
+
type: "string",
|
|
535
|
+
description: "Comma-separated .cube LUT paths to compare"
|
|
536
|
+
},
|
|
537
|
+
project: {
|
|
538
|
+
type: "string",
|
|
539
|
+
description: "Base directory for relative --for, --grades, and LUT paths (default: cwd)"
|
|
540
|
+
},
|
|
541
|
+
out: {
|
|
542
|
+
type: "string",
|
|
543
|
+
description: "Output PNG path (default: <project>/grade-compare.png)"
|
|
544
|
+
},
|
|
545
|
+
json: {
|
|
546
|
+
type: "boolean",
|
|
547
|
+
description: "Output result as JSON",
|
|
548
|
+
default: false
|
|
549
|
+
},
|
|
550
|
+
timeout: {
|
|
551
|
+
type: "string",
|
|
552
|
+
description: "Render-ready timeout in ms before capture (default: 5000)"
|
|
553
|
+
},
|
|
554
|
+
baseline: {
|
|
555
|
+
type: "boolean",
|
|
556
|
+
description: "Prepend the ungraded frame as an 'original' reference cell (--no-baseline to omit)",
|
|
557
|
+
default: true
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
async run({ args }) {
|
|
561
|
+
const jsonRequested = args.json === true;
|
|
562
|
+
let preparedDir = null;
|
|
563
|
+
try {
|
|
564
|
+
const parsed = parseGradeCompareArgs({
|
|
565
|
+
for: args.for,
|
|
566
|
+
grades: args.grades,
|
|
567
|
+
luts: args.luts,
|
|
568
|
+
project: args.project,
|
|
569
|
+
out: args.out,
|
|
570
|
+
json: args.json,
|
|
571
|
+
timeout: args.timeout
|
|
572
|
+
});
|
|
573
|
+
let cells = parsed.source.kind === "grades" ? parseGradesFile(parsed.source.path) : resolveLutCells(parsed.source.value);
|
|
574
|
+
if (cells.length === 0) {
|
|
575
|
+
throw new Error("At least one grade candidate is required");
|
|
576
|
+
}
|
|
577
|
+
const capResult = capCandidateCells(cells);
|
|
578
|
+
cells = capResult.cells;
|
|
579
|
+
warnInactiveGradingCells(cells);
|
|
580
|
+
if (args.baseline !== false) {
|
|
581
|
+
cells = prependBaselineCell(cells);
|
|
582
|
+
}
|
|
583
|
+
if (!parsed.json) {
|
|
584
|
+
console.log(
|
|
585
|
+
`${c.accent("\u25C6")} Rendering ${cells.length} grade candidates from ${c.accent(basename(parsed.framePath))}`
|
|
586
|
+
);
|
|
587
|
+
}
|
|
588
|
+
const frame = await loadReferenceFrame(parsed.framePath);
|
|
589
|
+
const prepared = await prepareGradeCompareTempProject({
|
|
590
|
+
projectDir: parsed.projectDir,
|
|
591
|
+
framePath: parsed.framePath,
|
|
592
|
+
frameBuffer: frame.buffer,
|
|
593
|
+
frameWidth: frame.width,
|
|
594
|
+
frameHeight: frame.height,
|
|
595
|
+
frameFileName: frame.stagedName,
|
|
596
|
+
cells
|
|
597
|
+
});
|
|
598
|
+
preparedDir = prepared.tempDir;
|
|
599
|
+
const { sheetPath: tempSheet, renderReadyTimedOut } = await captureGradeCompareSheet(
|
|
600
|
+
prepared.tempDir,
|
|
601
|
+
parsed.timeoutMs
|
|
602
|
+
);
|
|
603
|
+
mkdirSync(dirname(parsed.outPath), { recursive: true });
|
|
604
|
+
copyFileSync(tempSheet, parsed.outPath);
|
|
605
|
+
trackCompareSheet({
|
|
606
|
+
command: "grade-compare",
|
|
607
|
+
cells: prepared.cells.length,
|
|
608
|
+
truncated: capResult.truncated,
|
|
609
|
+
total: capResult.total,
|
|
610
|
+
renderReadyTimedOut
|
|
611
|
+
});
|
|
612
|
+
const sheet = displayPathFromBase(parsed.projectDir, parsed.outPath);
|
|
613
|
+
if (parsed.json) {
|
|
614
|
+
printJson(buildGradeCompareSuccessPayload(sheet, prepared.cells.length, capResult));
|
|
615
|
+
} else {
|
|
616
|
+
console.log(`
|
|
617
|
+
${c.success("\u25C7")} Grade comparison saved to ${sheet}`);
|
|
618
|
+
}
|
|
619
|
+
} catch (err) {
|
|
620
|
+
const message = normalizeErrorMessage(err);
|
|
621
|
+
if (jsonRequested) {
|
|
622
|
+
printJson({ ok: false, error: message });
|
|
623
|
+
} else {
|
|
624
|
+
console.error(`
|
|
625
|
+
${c.error("\u2717")} Grade compare failed: ${message}`);
|
|
626
|
+
}
|
|
627
|
+
failCommand();
|
|
628
|
+
} finally {
|
|
629
|
+
if (preparedDir) {
|
|
630
|
+
rmSync(preparedDir, { recursive: true, force: true });
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
export {
|
|
636
|
+
buildGradeCompareHtml,
|
|
637
|
+
buildGradeCompareSuccessPayload,
|
|
638
|
+
capCandidateCells,
|
|
639
|
+
grade_compare_default as default,
|
|
640
|
+
examples,
|
|
641
|
+
parseGradeCompareArgs,
|
|
642
|
+
parseGradesFile,
|
|
643
|
+
prepareGradeCompareTempProject,
|
|
644
|
+
prependBaselineCell,
|
|
645
|
+
resolveLutCells,
|
|
646
|
+
warnInactiveGradingCells
|
|
647
|
+
};
|