@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,808 @@
|
|
|
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
|
+
R
|
|
9
|
+
} from "./chunk-WMQNIQDJ.js";
|
|
10
|
+
import {
|
|
11
|
+
trackSkillsInstallSkipped
|
|
12
|
+
} from "./chunk-JTHMTOMQ.js";
|
|
13
|
+
import "./chunk-EISRN4E6.js";
|
|
14
|
+
import {
|
|
15
|
+
diag
|
|
16
|
+
} from "./chunk-VWG7OQKU.js";
|
|
17
|
+
import {
|
|
18
|
+
c
|
|
19
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
20
|
+
import "./chunk-IUZFXWSV.js";
|
|
21
|
+
import "./chunk-AMKC3AXA.js";
|
|
22
|
+
import {
|
|
23
|
+
defineCommand
|
|
24
|
+
} from "./chunk-S3S4TGEH.js";
|
|
25
|
+
import "./chunk-54HJ63Q2.js";
|
|
26
|
+
import {
|
|
27
|
+
CliResultSignal,
|
|
28
|
+
setCommandExitCode
|
|
29
|
+
} from "./chunk-PBN6GBJE.js";
|
|
30
|
+
import "./chunk-K2FTXJYH.js";
|
|
31
|
+
import "./chunk-2YN64IN5.js";
|
|
32
|
+
import "./chunk-AVUUN2XD.js";
|
|
33
|
+
import "./chunk-DPVXBVLL.js";
|
|
34
|
+
import "./chunk-Z6B37SNM.js";
|
|
35
|
+
import "./chunk-HWKCIWQT.js";
|
|
36
|
+
import "./chunk-VC76R6W2.js";
|
|
37
|
+
import "./chunk-OFQWTKPW.js";
|
|
38
|
+
import "./chunk-TWWSYAKJ.js";
|
|
39
|
+
import "./chunk-ZJUKFZ2P.js";
|
|
40
|
+
import "./chunk-HBBJFK6I.js";
|
|
41
|
+
import "./chunk-PJ3HDUCY.js";
|
|
42
|
+
import "./chunk-TQFG7HTI.js";
|
|
43
|
+
import "./chunk-GK4AIFIH.js";
|
|
44
|
+
import "./chunk-2PSPARWP.js";
|
|
45
|
+
import {
|
|
46
|
+
FALLBACK_CORE_SKILLS,
|
|
47
|
+
SKILLS_CLI_LOCK_PATHS_VERIFIED_AT,
|
|
48
|
+
checkSkills,
|
|
49
|
+
hyperframesSkillNames,
|
|
50
|
+
invalidateSkillsCache,
|
|
51
|
+
isCoreSkill,
|
|
52
|
+
presentSkills,
|
|
53
|
+
pruneOrphanedLockEntries
|
|
54
|
+
} from "./chunk-IGNAAHS3.js";
|
|
55
|
+
import {
|
|
56
|
+
withMeta
|
|
57
|
+
} from "./chunk-HW6OYASV.js";
|
|
58
|
+
import "./chunk-K4WIOZFP.js";
|
|
59
|
+
import "./chunk-XUXGIA7H.js";
|
|
60
|
+
import "./chunk-WERLJGIC.js";
|
|
61
|
+
import "./chunk-ISN5GRYI.js";
|
|
62
|
+
import "./chunk-FLWXXDNS.js";
|
|
63
|
+
import "./chunk-KNU5COPB.js";
|
|
64
|
+
import {
|
|
65
|
+
buildNpxCommand
|
|
66
|
+
} from "./chunk-6BEFEWFB.js";
|
|
67
|
+
import "./chunk-3GXQPCJC.js";
|
|
68
|
+
import "./chunk-RQVDTPGD.js";
|
|
69
|
+
import "./chunk-PMRBLBUP.js";
|
|
70
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
71
|
+
|
|
72
|
+
// src/commands/skills.ts
|
|
73
|
+
import { execFileSync, spawn } from "child_process";
|
|
74
|
+
|
|
75
|
+
// src/utils/skillsMirror.ts
|
|
76
|
+
import {
|
|
77
|
+
cpSync,
|
|
78
|
+
existsSync,
|
|
79
|
+
lstatSync,
|
|
80
|
+
mkdirSync,
|
|
81
|
+
readdirSync,
|
|
82
|
+
realpathSync,
|
|
83
|
+
rmSync,
|
|
84
|
+
statSync,
|
|
85
|
+
symlinkSync,
|
|
86
|
+
unlinkSync
|
|
87
|
+
} from "fs";
|
|
88
|
+
import { homedir } from "os";
|
|
89
|
+
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
90
|
+
|
|
91
|
+
// src/utils/agentDirs.generated.ts
|
|
92
|
+
var AGENT_GLOBAL_DIRS = [
|
|
93
|
+
{ agent: "aider-desk", base: "home", sub: ".aider-desk/skills" },
|
|
94
|
+
{ agent: "amp", base: "configHome", sub: "agents/skills" },
|
|
95
|
+
{ agent: "antigravity", base: "home", sub: ".gemini/antigravity/skills" },
|
|
96
|
+
{ agent: "antigravity-cli", base: "home", sub: ".gemini/antigravity-cli/skills" },
|
|
97
|
+
{ agent: "astrbot", base: "home", sub: ".astrbot/data/skills" },
|
|
98
|
+
{ agent: "autohand-code", base: "autohandHome", sub: "skills" },
|
|
99
|
+
{ agent: "augment", base: "home", sub: ".augment/skills" },
|
|
100
|
+
{ agent: "bob", base: "home", sub: ".bob/skills" },
|
|
101
|
+
{ agent: "claude-code", base: "claudeHome", sub: "skills" },
|
|
102
|
+
{ agent: "openclaw", base: "home", sub: ".openclaw/skills" },
|
|
103
|
+
{ agent: "cline", base: "home", sub: ".agents/skills" },
|
|
104
|
+
{ agent: "codearts-agent", base: "home", sub: ".codeartsdoer/skills" },
|
|
105
|
+
{ agent: "codebuddy", base: "home", sub: ".codebuddy/skills" },
|
|
106
|
+
{ agent: "codemaker", base: "home", sub: ".codemaker/skills" },
|
|
107
|
+
{ agent: "codestudio", base: "home", sub: ".codestudio/skills" },
|
|
108
|
+
{ agent: "codex", base: "codexHome", sub: "skills" },
|
|
109
|
+
{ agent: "command-code", base: "home", sub: ".commandcode/skills" },
|
|
110
|
+
{ agent: "continue", base: "home", sub: ".continue/skills" },
|
|
111
|
+
{ agent: "cortex", base: "home", sub: ".snowflake/cortex/skills" },
|
|
112
|
+
{ agent: "crush", base: "home", sub: ".config/crush/skills" },
|
|
113
|
+
{ agent: "cursor", base: "home", sub: ".cursor/skills" },
|
|
114
|
+
{ agent: "deepagents", base: "home", sub: ".deepagents/agent/skills" },
|
|
115
|
+
{ agent: "devin", base: "configHome", sub: "devin/skills" },
|
|
116
|
+
{ agent: "dexto", base: "home", sub: ".agents/skills" },
|
|
117
|
+
{ agent: "droid", base: "home", sub: ".factory/skills" },
|
|
118
|
+
{ agent: "firebender", base: "home", sub: ".firebender/skills" },
|
|
119
|
+
{ agent: "forgecode", base: "home", sub: ".forge/skills" },
|
|
120
|
+
{ agent: "gemini-cli", base: "home", sub: ".gemini/skills" },
|
|
121
|
+
{ agent: "github-copilot", base: "home", sub: ".copilot/skills" },
|
|
122
|
+
{ agent: "goose", base: "configHome", sub: "goose/skills" },
|
|
123
|
+
{ agent: "hermes-agent", base: "hermesHome", sub: "skills" },
|
|
124
|
+
{ agent: "inference-sh", base: "home", sub: ".inferencesh/skills" },
|
|
125
|
+
{ agent: "jazz", base: "home", sub: ".jazz/skills" },
|
|
126
|
+
{ agent: "junie", base: "home", sub: ".junie/skills" },
|
|
127
|
+
{ agent: "iflow-cli", base: "home", sub: ".iflow/skills" },
|
|
128
|
+
{ agent: "kilo", base: "home", sub: ".kilocode/skills" },
|
|
129
|
+
{ agent: "kimi-code-cli", base: "home", sub: ".agents/skills" },
|
|
130
|
+
{ agent: "kiro-cli", base: "home", sub: ".kiro/skills" },
|
|
131
|
+
{ agent: "kode", base: "home", sub: ".kode/skills" },
|
|
132
|
+
{ agent: "lingma", base: "home", sub: ".lingma/skills" },
|
|
133
|
+
{ agent: "loaf", base: "home", sub: ".agents/skills" },
|
|
134
|
+
{ agent: "mcpjam", base: "home", sub: ".mcpjam/skills" },
|
|
135
|
+
{ agent: "mistral-vibe", base: "vibeHome", sub: "skills" },
|
|
136
|
+
{ agent: "moxby", base: "home", sub: ".moxby/skills" },
|
|
137
|
+
{ agent: "mux", base: "home", sub: ".mux/skills" },
|
|
138
|
+
{ agent: "opencode", base: "configHome", sub: "opencode/skills" },
|
|
139
|
+
{ agent: "openhands", base: "home", sub: ".openhands/skills" },
|
|
140
|
+
{ agent: "ona", base: "home", sub: ".ona/skills" },
|
|
141
|
+
{ agent: "pi", base: "home", sub: ".pi/agent/skills" },
|
|
142
|
+
{ agent: "qoder", base: "home", sub: ".qoder/skills" },
|
|
143
|
+
{ agent: "qoder-cn", base: "home", sub: ".qoder-cn/skills" },
|
|
144
|
+
{ agent: "qwen-code", base: "home", sub: ".qwen/skills" },
|
|
145
|
+
{ agent: "replit", base: "configHome", sub: "agents/skills" },
|
|
146
|
+
{ agent: "reasonix", base: "home", sub: ".reasonix/skills" },
|
|
147
|
+
{ agent: "rovodev", base: "home", sub: ".rovodev/skills" },
|
|
148
|
+
{ agent: "roo", base: "home", sub: ".roo/skills" },
|
|
149
|
+
{ agent: "tabnine-cli", base: "home", sub: ".tabnine/agent/skills" },
|
|
150
|
+
{ agent: "terramind", base: "home", sub: ".terramind/skills" },
|
|
151
|
+
{ agent: "tinycloud", base: "home", sub: ".tinycloud/skills" },
|
|
152
|
+
{ agent: "trae", base: "home", sub: ".trae/skills" },
|
|
153
|
+
{ agent: "trae-cn", base: "home", sub: ".trae-cn/skills" },
|
|
154
|
+
{ agent: "warp", base: "home", sub: ".agents/skills" },
|
|
155
|
+
{ agent: "windsurf", base: "home", sub: ".codeium/windsurf/skills" },
|
|
156
|
+
{ agent: "zed", base: "home", sub: ".agents/skills" },
|
|
157
|
+
{ agent: "zencoder", base: "home", sub: ".zencoder/skills" },
|
|
158
|
+
{ agent: "zenflow", base: "home", sub: ".zencoder/skills" },
|
|
159
|
+
{ agent: "neovate", base: "home", sub: ".neovate/skills" },
|
|
160
|
+
{ agent: "pochi", base: "home", sub: ".pochi/skills" },
|
|
161
|
+
{ agent: "adal", base: "home", sub: ".adal/skills" },
|
|
162
|
+
{ agent: "universal", base: "configHome", sub: "agents/skills" }
|
|
163
|
+
];
|
|
164
|
+
|
|
165
|
+
// src/utils/skillsMirror.ts
|
|
166
|
+
var UNIVERSAL_STORE_READERS = /* @__PURE__ */ new Set(["pi", "codex"]);
|
|
167
|
+
function canonicalCandidate(input) {
|
|
168
|
+
let current = resolve(input);
|
|
169
|
+
const missing = [];
|
|
170
|
+
while (true) {
|
|
171
|
+
try {
|
|
172
|
+
lstatSync(current);
|
|
173
|
+
break;
|
|
174
|
+
} catch (error) {
|
|
175
|
+
const code = error.code;
|
|
176
|
+
if (code !== "ENOENT" && code !== "ENOTDIR") return null;
|
|
177
|
+
const parent = dirname(current);
|
|
178
|
+
if (parent === current) return null;
|
|
179
|
+
missing.unshift(basename(current));
|
|
180
|
+
current = parent;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
try {
|
|
184
|
+
return resolve(realpathSync(current), ...missing);
|
|
185
|
+
} catch {
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
function pathsOverlap(left, right) {
|
|
190
|
+
const fromLeft = relative(left, right);
|
|
191
|
+
const leftContainsRight = fromLeft === "" || fromLeft !== ".." && !fromLeft.startsWith(`..${sep}`) && !isAbsolute(fromLeft);
|
|
192
|
+
if (leftContainsRight) return true;
|
|
193
|
+
const fromRight = relative(right, left);
|
|
194
|
+
return fromRight !== ".." && !fromRight.startsWith(`..${sep}`) && !isAbsolute(fromRight);
|
|
195
|
+
}
|
|
196
|
+
function sameExistingNode(left, right) {
|
|
197
|
+
try {
|
|
198
|
+
const leftStat = statSync(left);
|
|
199
|
+
const rightStat = statSync(right);
|
|
200
|
+
return leftStat.dev === rightStat.dev && leftStat.ino === rightStat.ino;
|
|
201
|
+
} catch {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
function targetSafety(target, protectedPaths) {
|
|
206
|
+
const canonical = canonicalCandidate(target);
|
|
207
|
+
if (!canonical) return "unresolvable_target";
|
|
208
|
+
for (const protectedPath of protectedPaths) {
|
|
209
|
+
if (pathsOverlap(canonical, protectedPath.canonical) || sameExistingNode(target, protectedPath.lexical)) {
|
|
210
|
+
return "aliases_install_owned_store";
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
function skillTargetSafety(sourceSkill, targetSkill, targetDirSafety) {
|
|
216
|
+
const directoryReason = targetDirSafety();
|
|
217
|
+
if (directoryReason) return directoryReason;
|
|
218
|
+
try {
|
|
219
|
+
if (lstatSync(targetSkill).isSymbolicLink()) return null;
|
|
220
|
+
} catch (error) {
|
|
221
|
+
if (error.code !== "ENOENT") return "unresolvable_target";
|
|
222
|
+
}
|
|
223
|
+
const sourceCanonical = canonicalCandidate(sourceSkill);
|
|
224
|
+
const targetCanonical = canonicalCandidate(targetSkill);
|
|
225
|
+
if (!sourceCanonical || !targetCanonical) return "unresolvable_target";
|
|
226
|
+
if (pathsOverlap(sourceCanonical, targetCanonical) || sameExistingNode(sourceSkill, targetSkill)) {
|
|
227
|
+
return "aliases_install_owned_store";
|
|
228
|
+
}
|
|
229
|
+
return null;
|
|
230
|
+
}
|
|
231
|
+
function resolveBases(home, env) {
|
|
232
|
+
const xdg = env["XDG_CONFIG_HOME"]?.trim();
|
|
233
|
+
return {
|
|
234
|
+
home,
|
|
235
|
+
configHome: xdg && isAbsolute(xdg) ? xdg : join(home, ".config"),
|
|
236
|
+
codexHome: env["CODEX_HOME"]?.trim() || join(home, ".codex"),
|
|
237
|
+
claudeHome: env["CLAUDE_CONFIG_DIR"]?.trim() || join(home, ".claude"),
|
|
238
|
+
vibeHome: env["VIBE_HOME"]?.trim() || join(home, ".vibe"),
|
|
239
|
+
hermesHome: env["HERMES_HOME"]?.trim() || join(home, ".hermes"),
|
|
240
|
+
autohandHome: env["AUTOHAND_HOME"]?.trim() || join(home, ".autohand")
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
function listSkillDirs(store) {
|
|
244
|
+
return readdirSync(store, { withFileTypes: true }).filter(
|
|
245
|
+
(e) => (e.isDirectory() || e.isSymbolicLink()) && existsSync(join(store, e.name, "SKILL.md"))
|
|
246
|
+
).map((e) => e.name);
|
|
247
|
+
}
|
|
248
|
+
function linkOrCopy(sourceSkill, targetSkill, platform, safety) {
|
|
249
|
+
const unsafe = safety();
|
|
250
|
+
if (unsafe) return unsafe;
|
|
251
|
+
rmSync(targetSkill, { recursive: true, force: true });
|
|
252
|
+
if (platform === "win32") {
|
|
253
|
+
cpSync(sourceSkill, targetSkill, { recursive: true });
|
|
254
|
+
} else {
|
|
255
|
+
symlinkSync(relative(dirname(targetSkill), sourceSkill), targetSkill);
|
|
256
|
+
}
|
|
257
|
+
return null;
|
|
258
|
+
}
|
|
259
|
+
function mirrorInto(targetDir, source, skills, platform, safety) {
|
|
260
|
+
const beforeCreate = safety();
|
|
261
|
+
if (beforeCreate) return { mirrored: false, skipReason: beforeCreate };
|
|
262
|
+
try {
|
|
263
|
+
mkdirSync(targetDir, { recursive: true });
|
|
264
|
+
} catch {
|
|
265
|
+
return { mirrored: false };
|
|
266
|
+
}
|
|
267
|
+
const afterCreate = safety();
|
|
268
|
+
if (afterCreate) return { mirrored: false, skipReason: afterCreate };
|
|
269
|
+
for (const skill of skills) {
|
|
270
|
+
try {
|
|
271
|
+
const sourceSkill = join(source, skill);
|
|
272
|
+
const targetSkill = join(targetDir, skill);
|
|
273
|
+
const skipReason = linkOrCopy(
|
|
274
|
+
sourceSkill,
|
|
275
|
+
targetSkill,
|
|
276
|
+
platform,
|
|
277
|
+
() => skillTargetSafety(sourceSkill, targetSkill, safety)
|
|
278
|
+
);
|
|
279
|
+
if (skipReason) return { mirrored: false, skipReason };
|
|
280
|
+
} catch {
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return { mirrored: true };
|
|
284
|
+
}
|
|
285
|
+
function removeMirrorLinks(targetDir, source, universalStore, skills, safety) {
|
|
286
|
+
const unsafe = safety();
|
|
287
|
+
if (unsafe) return unsafe;
|
|
288
|
+
for (const skill of skills) {
|
|
289
|
+
const targetSkill = join(targetDir, skill);
|
|
290
|
+
try {
|
|
291
|
+
if (!existsSync(join(universalStore, skill, "SKILL.md"))) continue;
|
|
292
|
+
if (!lstatSync(targetSkill).isSymbolicLink()) continue;
|
|
293
|
+
if (realpathSync(targetSkill) !== realpathSync(join(source, skill))) continue;
|
|
294
|
+
unlinkSync(targetSkill);
|
|
295
|
+
} catch {
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return null;
|
|
299
|
+
}
|
|
300
|
+
function mirrorGlobalSkills(opts) {
|
|
301
|
+
const home = opts.home ?? homedir();
|
|
302
|
+
const platform = opts.platform ?? process.platform;
|
|
303
|
+
const bases = resolveBases(home, opts.env ?? process.env);
|
|
304
|
+
const source = join(bases.claudeHome, "skills");
|
|
305
|
+
const universalStore = join(home, ".agents", "skills");
|
|
306
|
+
if (!existsSync(source)) return { source: null, mirrored: [], skipped: [] };
|
|
307
|
+
const allowed = new Set(opts.skills);
|
|
308
|
+
const skills = listSkillDirs(source).filter((name) => allowed.has(name));
|
|
309
|
+
if (skills.length === 0) return { source, mirrored: [], skipped: [] };
|
|
310
|
+
const protectedPaths = [source, universalStore].map((lexical) => ({
|
|
311
|
+
lexical,
|
|
312
|
+
canonical: canonicalCandidate(lexical)
|
|
313
|
+
}));
|
|
314
|
+
const resolvedProtectedPaths = protectedPaths.filter(
|
|
315
|
+
(entry) => entry.canonical !== null
|
|
316
|
+
);
|
|
317
|
+
if (resolvedProtectedPaths.length !== protectedPaths.length) {
|
|
318
|
+
return { source, mirrored: [], skipped: [] };
|
|
319
|
+
}
|
|
320
|
+
const mirrored = [];
|
|
321
|
+
const skipped = [];
|
|
322
|
+
for (const { agent, base, sub } of AGENT_GLOBAL_DIRS) {
|
|
323
|
+
const targetDir = join(bases[base], ...sub.split("/").filter(Boolean));
|
|
324
|
+
if (targetDir === source || targetDir === universalStore) continue;
|
|
325
|
+
if (UNIVERSAL_STORE_READERS.has(agent)) {
|
|
326
|
+
const skipReason = removeMirrorLinks(
|
|
327
|
+
targetDir,
|
|
328
|
+
source,
|
|
329
|
+
universalStore,
|
|
330
|
+
skills,
|
|
331
|
+
() => targetSafety(targetDir, resolvedProtectedPaths)
|
|
332
|
+
);
|
|
333
|
+
if (skipReason) skipped.push({ agent, dir: targetDir, reason: skipReason });
|
|
334
|
+
continue;
|
|
335
|
+
}
|
|
336
|
+
if (!existsSync(dirname(targetDir))) continue;
|
|
337
|
+
const attempt = mirrorInto(
|
|
338
|
+
targetDir,
|
|
339
|
+
source,
|
|
340
|
+
skills,
|
|
341
|
+
platform,
|
|
342
|
+
() => targetSafety(targetDir, resolvedProtectedPaths)
|
|
343
|
+
);
|
|
344
|
+
if (attempt.mirrored) mirrored.push({ agent, dir: targetDir });
|
|
345
|
+
else if (attempt.skipReason)
|
|
346
|
+
skipped.push({ agent, dir: targetDir, reason: attempt.skipReason });
|
|
347
|
+
}
|
|
348
|
+
return { source, mirrored, skipped };
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// src/commands/skills.ts
|
|
352
|
+
var examples = [
|
|
353
|
+
["Install all HyperFrames skills", "hyperframes skills"],
|
|
354
|
+
["Check whether installed skills are up to date", "hyperframes skills check"],
|
|
355
|
+
["Check, machine-readable (for agents / CI)", "hyperframes skills check --json"],
|
|
356
|
+
["Update the core set + everything already installed", "hyperframes skills update"],
|
|
357
|
+
["Also install one workflow (on-demand install)", "hyperframes skills update pr-to-video"]
|
|
358
|
+
];
|
|
359
|
+
function hasNpx() {
|
|
360
|
+
const npx = buildNpxCommand(["--version"]);
|
|
361
|
+
try {
|
|
362
|
+
execFileSync(npx.command, npx.args, { stdio: "ignore", timeout: 5e3 });
|
|
363
|
+
return true;
|
|
364
|
+
} catch {
|
|
365
|
+
return false;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
function hasGit() {
|
|
369
|
+
try {
|
|
370
|
+
execFileSync("git", ["--version"], { stdio: "ignore", timeout: 5e3 });
|
|
371
|
+
return true;
|
|
372
|
+
} catch {
|
|
373
|
+
return false;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
function spawnNpx(args, opts = {}) {
|
|
377
|
+
const npx = buildNpxCommand(args);
|
|
378
|
+
return new Promise((resolve2, reject) => {
|
|
379
|
+
const child = spawn(npx.command, npx.args, {
|
|
380
|
+
// Route the child's stdout to the parent's stderr (fd 2), keeping stdin
|
|
381
|
+
// inherited. `skills update --json` runs this installer before printing its
|
|
382
|
+
// JSON envelope on stdout; child progress chatter on stdout would corrupt it.
|
|
383
|
+
// Diagnostics belong on stderr regardless of mode, so this is safe for the
|
|
384
|
+
// interactive path too (the user still sees the output).
|
|
385
|
+
stdio: ["inherit", 2, 2],
|
|
386
|
+
// We install with --full-depth (a full `git clone` of the repo, the only
|
|
387
|
+
// path that bypasses the laggy skills.sh blob — see GLOBAL_INSTALL_ARGS_TAIL),
|
|
388
|
+
// which is heavier than the blob fetch, so allow more headroom.
|
|
389
|
+
timeout: 3e5,
|
|
390
|
+
cwd: opts.cwd,
|
|
391
|
+
env: {
|
|
392
|
+
...process.env,
|
|
393
|
+
// GH #316 — the upstream `skills` CLI shells out to `git clone`. When
|
|
394
|
+
// Git's clone-hook protection is active (default in 2.45.1, reverted in
|
|
395
|
+
// 2.45.2, still present on many corporate/CI setups), a globally
|
|
396
|
+
// registered `git lfs install` post-checkout hook aborts the clone. The
|
|
397
|
+
// args reaching this function are hardcoded (no user input), so opting
|
|
398
|
+
// out is safe.
|
|
399
|
+
GIT_CLONE_PROTECTION_ACTIVE: "0",
|
|
400
|
+
// Skills are text; the repo's LFS objects are unrelated binary assets.
|
|
401
|
+
// Skip the smudge so --full-depth doesn't drag down (or fail on) large
|
|
402
|
+
// LFS blobs the install doesn't need.
|
|
403
|
+
GIT_LFS_SKIP_SMUDGE: "1"
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
child.on("close", (code, signal) => {
|
|
407
|
+
if (code === 0) resolve2();
|
|
408
|
+
else if (signal === "SIGINT" || code === 130)
|
|
409
|
+
reject(new CliResultSignal({ exitCode: 0, kind: "success", presented: true }));
|
|
410
|
+
else reject(new Error(`npx ${args.join(" ")} exited with code ${code}`));
|
|
411
|
+
});
|
|
412
|
+
child.on("error", reject);
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
var GLOBAL_INSTALL_ARGS_TAIL = [
|
|
416
|
+
"--global",
|
|
417
|
+
"--agent",
|
|
418
|
+
"claude-code",
|
|
419
|
+
"universal",
|
|
420
|
+
"--copy",
|
|
421
|
+
"--full-depth",
|
|
422
|
+
"--yes"
|
|
423
|
+
];
|
|
424
|
+
function skillSelectionArgs(selection) {
|
|
425
|
+
const names = selection === "*" ? ["*"] : selection;
|
|
426
|
+
return names.flatMap((name) => ["--skill", name]);
|
|
427
|
+
}
|
|
428
|
+
function runSkillsAdd(source, selection, opts = {}) {
|
|
429
|
+
return spawnNpx(
|
|
430
|
+
["skills", "add", source, ...skillSelectionArgs(selection), ...GLOBAL_INSTALL_ARGS_TAIL],
|
|
431
|
+
opts
|
|
432
|
+
);
|
|
433
|
+
}
|
|
434
|
+
var PLAIN_SKILL_NAME = /^[a-z0-9][a-z0-9._-]*$/i;
|
|
435
|
+
function runSkillsRemove(names, opts) {
|
|
436
|
+
const safe = names.filter((n) => PLAIN_SKILL_NAME.test(n));
|
|
437
|
+
const rejected = names.filter((n) => !PLAIN_SKILL_NAME.test(n));
|
|
438
|
+
if (rejected.length) {
|
|
439
|
+
R.warn(c.warn(`Skipping unexpected skill name(s): ${rejected.join(", ")}`));
|
|
440
|
+
}
|
|
441
|
+
if (!safe.length) return Promise.resolve();
|
|
442
|
+
return spawnNpx(["skills", "remove", ...safe, ...opts.global ? ["-g"] : [], "--yes"]);
|
|
443
|
+
}
|
|
444
|
+
var SOURCES = [{ name: "HyperFrames", url: "https://github.com/heygen-com/hyperframes" }];
|
|
445
|
+
function mirrorToInstalledAgents() {
|
|
446
|
+
try {
|
|
447
|
+
const names = hyperframesSkillNames({ scope: "global" });
|
|
448
|
+
if (names.length === 0) return;
|
|
449
|
+
const { mirrored, skipped } = mirrorGlobalSkills({ skills: names });
|
|
450
|
+
const n = mirrored.length;
|
|
451
|
+
if (n > 0) {
|
|
452
|
+
diag.notice(
|
|
453
|
+
c.dim(`Linked skills into ${n} other agent ${n === 1 ? "directory" : "directories"}.`)
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
if (skipped.length > 0) {
|
|
457
|
+
const agents = [...new Set(skipped.map((entry) => entry.agent))].join(", ");
|
|
458
|
+
diag.warn(
|
|
459
|
+
c.warn(
|
|
460
|
+
`Skipped unsafe skill mirror target${skipped.length === 1 ? "" : "s"} for ${agents}; canonical skill stores were left unchanged.`
|
|
461
|
+
)
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
} catch {
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
var SKILLS_TOOLING = [
|
|
468
|
+
{
|
|
469
|
+
has: hasNpx,
|
|
470
|
+
error: "npx not found. Install Node.js and retry.",
|
|
471
|
+
reason: "npx_missing",
|
|
472
|
+
report: () => R.error(c.error("npx not found. Install Node.js and retry."))
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
has: hasGit,
|
|
476
|
+
error: "git not found. Install git and retry to add AI coding skills.",
|
|
477
|
+
reason: "git_missing",
|
|
478
|
+
// Skip cleanly rather than letting the upstream clone dump a noisy
|
|
479
|
+
// multi-line `spawn git ENOENT` / "Installation failed" abort.
|
|
480
|
+
report: () => console.log(c.dim("Skipping AI coding skills: git not available."))
|
|
481
|
+
}
|
|
482
|
+
];
|
|
483
|
+
function skillsToolingReady(strict) {
|
|
484
|
+
for (const tool of SKILLS_TOOLING) {
|
|
485
|
+
if (tool.has()) continue;
|
|
486
|
+
if (strict) throw new Error(tool.error);
|
|
487
|
+
tool.report();
|
|
488
|
+
trackSkillsInstallSkipped({ reason: tool.reason });
|
|
489
|
+
return false;
|
|
490
|
+
}
|
|
491
|
+
return true;
|
|
492
|
+
}
|
|
493
|
+
function sanitizeSelection(selection) {
|
|
494
|
+
if (selection === "*") return selection;
|
|
495
|
+
const rejected = selection.filter((n) => !PLAIN_SKILL_NAME.test(n));
|
|
496
|
+
if (rejected.length) {
|
|
497
|
+
R.warn(c.warn(`Skipping unexpected skill name(s): ${rejected.join(", ")}`));
|
|
498
|
+
}
|
|
499
|
+
const safe = selection.filter((n) => PLAIN_SKILL_NAME.test(n));
|
|
500
|
+
return safe.length > 0 ? safe : null;
|
|
501
|
+
}
|
|
502
|
+
async function installSkills(selection, opts = {}) {
|
|
503
|
+
const safeSelection = sanitizeSelection(selection);
|
|
504
|
+
if (safeSelection === null) return;
|
|
505
|
+
if (!skillsToolingReady(opts.strict ?? false)) return;
|
|
506
|
+
for (const source of SOURCES) {
|
|
507
|
+
diag.notice();
|
|
508
|
+
diag.notice(c.bold(`Installing ${source.name} skills...`));
|
|
509
|
+
diag.notice();
|
|
510
|
+
try {
|
|
511
|
+
await runSkillsAdd(source.url, safeSelection, opts);
|
|
512
|
+
} catch (err) {
|
|
513
|
+
if (opts.strict) throw err instanceof Error ? err : new Error(String(err));
|
|
514
|
+
diag.warn(c.dim(`${source.name} skills skipped`));
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
mirrorToInstalledAgents();
|
|
518
|
+
}
|
|
519
|
+
async function updateSkills(opts = {}) {
|
|
520
|
+
const requested = [...new Set(opts.requested ?? [])];
|
|
521
|
+
const strict = opts.strict ?? false;
|
|
522
|
+
let check = null;
|
|
523
|
+
try {
|
|
524
|
+
check = await checkSkills({ cwd: opts.cwd, canonical: true });
|
|
525
|
+
} catch (err) {
|
|
526
|
+
if (err instanceof Error && err.message.startsWith("Malformed skills manifest")) {
|
|
527
|
+
R.warn(
|
|
528
|
+
c.warn(
|
|
529
|
+
"Canonical skills manifest was malformed \u2014 falling back to presence-only mode (an upstream/CDN issue, not your network)."
|
|
530
|
+
)
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
check = null;
|
|
534
|
+
}
|
|
535
|
+
if (!check) {
|
|
536
|
+
if (opts.all) {
|
|
537
|
+
R.warn(
|
|
538
|
+
c.warn(
|
|
539
|
+
"Can't resolve the published skill set (manifest unreachable) \u2014 installing the pinned core set only. Re-run `hyperframes skills` online for the full set."
|
|
540
|
+
)
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
return updateSkillsOffline(requested, { strict, cwd: opts.cwd });
|
|
544
|
+
}
|
|
545
|
+
const manifestSkills = check.skills.filter((s) => s.status !== "removed");
|
|
546
|
+
const manifestNames = new Set(manifestSkills.map((s) => s.name));
|
|
547
|
+
const unknown = requested.filter((name) => !manifestNames.has(name));
|
|
548
|
+
if (unknown.length) {
|
|
549
|
+
const message = `Unknown skill(s): ${unknown.join(", ")}. Available: ${[...manifestNames].sort().join(", ")}`;
|
|
550
|
+
if (strict) throw new Error(message);
|
|
551
|
+
R.warn(c.warn(message));
|
|
552
|
+
}
|
|
553
|
+
const targets = manifestSkills.filter(
|
|
554
|
+
(s) => opts.all === true || requested.includes(s.name) || isCoreSkill(s.name) || opts.refreshInstalled === true && s.status !== "missing"
|
|
555
|
+
);
|
|
556
|
+
const toInstall = targets.filter((s) => s.status === "missing" || s.status === "outdated");
|
|
557
|
+
const result = {
|
|
558
|
+
targets: targets.map((s) => s.name),
|
|
559
|
+
installed: toInstall.map((s) => s.name),
|
|
560
|
+
current: targets.filter((s) => s.status === "current").map((s) => s.name),
|
|
561
|
+
unknown,
|
|
562
|
+
presenceOnly: false
|
|
563
|
+
};
|
|
564
|
+
if (toInstall.length > 0) {
|
|
565
|
+
await installSkills(result.installed, { cwd: opts.cwd, strict });
|
|
566
|
+
verifyInstalled(result.installed, { strict, cwd: opts.cwd });
|
|
567
|
+
}
|
|
568
|
+
invalidateSkillsCache();
|
|
569
|
+
return result;
|
|
570
|
+
}
|
|
571
|
+
function verifyInstalled(names, opts) {
|
|
572
|
+
const present = new Set(presentSkills(names, { cwd: opts.cwd }));
|
|
573
|
+
const absent = names.filter((name) => !present.has(name));
|
|
574
|
+
if (absent.length === 0) return;
|
|
575
|
+
const message = `Skill(s) still missing after install: ${absent.join(", ")}`;
|
|
576
|
+
if (opts.strict) throw new Error(message);
|
|
577
|
+
R.warn(c.warn(message));
|
|
578
|
+
}
|
|
579
|
+
async function updateSkillsOffline(requested, opts) {
|
|
580
|
+
if (requested.length === 0 && opts.strict) {
|
|
581
|
+
throw new Error(
|
|
582
|
+
"can't check skills freshness (GitHub manifest unreachable) \u2014 refusing to report success. Retry when online."
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
const targets = [.../* @__PURE__ */ new Set([...requested, ...FALLBACK_CORE_SKILLS])];
|
|
586
|
+
const present = new Set(presentSkills(targets, { cwd: opts.cwd }));
|
|
587
|
+
const absent = targets.filter((name) => !present.has(name));
|
|
588
|
+
console.log(
|
|
589
|
+
c.dim(
|
|
590
|
+
absent.length === 0 ? "Skills freshness check unavailable (offline?) \u2014 installed skills found, continuing without a refresh." : `Skills freshness check unavailable (offline?) \u2014 attempting a blind install of: ${absent.join(", ")}`
|
|
591
|
+
)
|
|
592
|
+
);
|
|
593
|
+
if (absent.length > 0) {
|
|
594
|
+
await installSkills(absent, { cwd: opts.cwd, strict: opts.strict });
|
|
595
|
+
verifyInstalled(absent, opts);
|
|
596
|
+
}
|
|
597
|
+
return {
|
|
598
|
+
targets,
|
|
599
|
+
installed: absent,
|
|
600
|
+
current: [...present],
|
|
601
|
+
unknown: [],
|
|
602
|
+
presenceOnly: true
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function printSkillSection(result, status, title, mark, color, filter = () => true) {
|
|
606
|
+
const items = result.skills.filter((s) => s.status === status && filter(s));
|
|
607
|
+
if (!items.length) return;
|
|
608
|
+
console.log();
|
|
609
|
+
console.log(` ${color(title)}`);
|
|
610
|
+
for (const s of items) console.log(` ${color(`${mark} ${s.name}`)}`);
|
|
611
|
+
}
|
|
612
|
+
function renderCheck(result) {
|
|
613
|
+
const { summary } = result;
|
|
614
|
+
console.log();
|
|
615
|
+
console.log(c.bold("hyperframes skills"));
|
|
616
|
+
console.log();
|
|
617
|
+
if (!result.location) {
|
|
618
|
+
console.log(` ${c.dim("No HyperFrames skills found in the usual locations.")}`);
|
|
619
|
+
console.log(` ${c.accent("Install: npx hyperframes skills")}`);
|
|
620
|
+
console.log();
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
console.log(` ${c.bold("Location")} ${c.dim(result.location)} ${c.dim(`(${result.agent})`)}`);
|
|
624
|
+
console.log();
|
|
625
|
+
const onDemandMissing = summary.missing - summary.coreMissing;
|
|
626
|
+
const parts = [c.success(`\u2713 ${summary.current} current`)];
|
|
627
|
+
if (summary.outdated) parts.push(c.warn(`\u2191 ${summary.outdated} outdated`));
|
|
628
|
+
if (summary.coreMissing) parts.push(c.warn(`\u25E6 ${summary.coreMissing} core not installed`));
|
|
629
|
+
if (onDemandMissing) parts.push(c.dim(`\u25E6 ${onDemandMissing} available on demand`));
|
|
630
|
+
if (summary.removed) parts.push(c.warn(`\u2717 ${summary.removed} removed upstream`));
|
|
631
|
+
console.log(` ${parts.join(" ")}`);
|
|
632
|
+
printSkillSection(result, "outdated", "Outdated:", "\u2191", c.warn);
|
|
633
|
+
printSkillSection(
|
|
634
|
+
result,
|
|
635
|
+
"missing",
|
|
636
|
+
"Core not installed (skills update installs these):",
|
|
637
|
+
"\u25E6",
|
|
638
|
+
c.warn,
|
|
639
|
+
(s) => isCoreSkill(s.name)
|
|
640
|
+
);
|
|
641
|
+
printSkillSection(
|
|
642
|
+
result,
|
|
643
|
+
"missing",
|
|
644
|
+
"Available on demand (installed when their workflow first runs):",
|
|
645
|
+
"\u25E6",
|
|
646
|
+
c.dim,
|
|
647
|
+
(s) => !isCoreSkill(s.name)
|
|
648
|
+
);
|
|
649
|
+
printSkillSection(
|
|
650
|
+
result,
|
|
651
|
+
"removed",
|
|
652
|
+
"Removed upstream (renamed or dropped \u2014 no longer published):",
|
|
653
|
+
"\u2717",
|
|
654
|
+
c.warn
|
|
655
|
+
);
|
|
656
|
+
if (result.lockMissing) {
|
|
657
|
+
console.log();
|
|
658
|
+
console.log(
|
|
659
|
+
` ${c.warn(`! Skills lock not found \u2014 can't check for skills removed upstream.`)}`
|
|
660
|
+
);
|
|
661
|
+
console.log(
|
|
662
|
+
` ${c.dim(` (lock paths verified against ${SKILLS_CLI_LOCK_PATHS_VERIFIED_AT})`)}`
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
console.log();
|
|
666
|
+
if (result.updateAvailable) {
|
|
667
|
+
console.log(` ${c.accent("Update: npx hyperframes skills update")}`);
|
|
668
|
+
} else {
|
|
669
|
+
console.log(` ${c.success("\u25C7")} ${c.success("Installed skills are up to date")}`);
|
|
670
|
+
}
|
|
671
|
+
console.log();
|
|
672
|
+
}
|
|
673
|
+
var checkCommand = defineCommand({
|
|
674
|
+
meta: { name: "check", description: "Check whether installed skills are the latest version" },
|
|
675
|
+
args: {
|
|
676
|
+
json: { type: "boolean", description: "Output as JSON", default: false },
|
|
677
|
+
dir: { type: "string", description: "Skills directory to check (default: auto-detect)" },
|
|
678
|
+
source: {
|
|
679
|
+
type: "string",
|
|
680
|
+
description: "Where 'latest' comes from: local path, owner/repo, or URL"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
async run({ args }) {
|
|
684
|
+
const result = await checkSkills({
|
|
685
|
+
dir: args.dir,
|
|
686
|
+
source: args.source
|
|
687
|
+
});
|
|
688
|
+
if (args.json) console.log(JSON.stringify(withMeta(result), null, 2));
|
|
689
|
+
else renderCheck(result);
|
|
690
|
+
invalidateSkillsCache();
|
|
691
|
+
if (result.updateAvailable) setCommandExitCode(1);
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
function requestedNamesFrom(positionals) {
|
|
695
|
+
const names = positionals.map(String).filter((n) => n.length > 0);
|
|
696
|
+
return {
|
|
697
|
+
requested: names.filter((n) => PLAIN_SKILL_NAME.test(n)),
|
|
698
|
+
rejected: names.filter((n) => !PLAIN_SKILL_NAME.test(n))
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
function reportUpdate(result, requested, json) {
|
|
702
|
+
if (json) {
|
|
703
|
+
console.log(JSON.stringify(withMeta(result), null, 2));
|
|
704
|
+
return;
|
|
705
|
+
}
|
|
706
|
+
if (result.installed.length > 0) {
|
|
707
|
+
console.log(
|
|
708
|
+
c.success(
|
|
709
|
+
`Installed/updated ${result.installed.length} skill(s): ${result.installed.join(", ")}`
|
|
710
|
+
)
|
|
711
|
+
);
|
|
712
|
+
} else if (result.presenceOnly) {
|
|
713
|
+
console.log(c.warn("Freshness unknown (GitHub unreachable) \u2014 verified presence only."));
|
|
714
|
+
} else {
|
|
715
|
+
console.log(c.success("Installed skills are already up to date."));
|
|
716
|
+
}
|
|
717
|
+
if (requested.length) console.log(c.success(`\u25C7 Ready: ${requested.join(", ")}`));
|
|
718
|
+
}
|
|
719
|
+
function reportUpdateFailure(message, json) {
|
|
720
|
+
if (json) {
|
|
721
|
+
console.log(JSON.stringify(withMeta({ error: message }), null, 2));
|
|
722
|
+
return;
|
|
723
|
+
}
|
|
724
|
+
R.error(c.error(message));
|
|
725
|
+
}
|
|
726
|
+
var updateCommand = defineCommand({
|
|
727
|
+
meta: {
|
|
728
|
+
name: "update",
|
|
729
|
+
description: "Update the core set plus every installed HyperFrames skill to the latest, and remove any no longer published. Pass skill names to also install those (how workflow skills install on demand) \u2014 without names it never expands a partial install"
|
|
730
|
+
},
|
|
731
|
+
// Mirror `check`'s flags: the prune step runs the same removed-detection, so it
|
|
732
|
+
// must respect the same overrides. Without these, `update`'s internal
|
|
733
|
+
// checkSkills() fell back to defaults — pruning the auto-detected install
|
|
734
|
+
// against the default manifest even when the user pointed `check` elsewhere.
|
|
735
|
+
args: {
|
|
736
|
+
json: { type: "boolean", description: "Output as JSON", default: false },
|
|
737
|
+
dir: {
|
|
738
|
+
type: "string",
|
|
739
|
+
description: "Skills dir for removed-detection only \u2014 scopes the prune, not the install (default: auto-detect)"
|
|
740
|
+
},
|
|
741
|
+
source: {
|
|
742
|
+
type: "string",
|
|
743
|
+
description: "Where 'latest' comes from for removed-detection (local path, owner/repo, or URL) \u2014 does not change the install source"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
async run({ args }) {
|
|
747
|
+
const dir = args.dir;
|
|
748
|
+
const source = args.source;
|
|
749
|
+
const { requested, rejected } = requestedNamesFrom(args._ ?? []);
|
|
750
|
+
if (rejected.length) {
|
|
751
|
+
reportUpdateFailure(`Invalid skill name(s): ${rejected.join(", ")}`, args.json === true);
|
|
752
|
+
setCommandExitCode(1);
|
|
753
|
+
return;
|
|
754
|
+
}
|
|
755
|
+
try {
|
|
756
|
+
const result = await updateSkills({ requested, refreshInstalled: true, strict: true });
|
|
757
|
+
reportUpdate(result, requested, args.json === true);
|
|
758
|
+
} catch (err) {
|
|
759
|
+
reportUpdateFailure(`Update failed: ${err.message}`, args.json === true);
|
|
760
|
+
setCommandExitCode(1);
|
|
761
|
+
return;
|
|
762
|
+
}
|
|
763
|
+
try {
|
|
764
|
+
const { skills, scope } = await checkSkills({ dir, source, canonical: true });
|
|
765
|
+
const removed = skills.filter((s) => s.status === "removed").map((s) => s.name);
|
|
766
|
+
if (removed.length) {
|
|
767
|
+
console.log();
|
|
768
|
+
console.log(
|
|
769
|
+
c.dim(`Removing ${removed.length} skill(s) no longer published: ${removed.join(", ")}`)
|
|
770
|
+
);
|
|
771
|
+
await runSkillsRemove(removed, { global: scope === "global" });
|
|
772
|
+
const scopeForPrune = scope ?? "global";
|
|
773
|
+
const stillOrphaned = pruneOrphanedLockEntries(removed, scopeForPrune);
|
|
774
|
+
if (stillOrphaned.length) {
|
|
775
|
+
console.log(
|
|
776
|
+
c.dim(
|
|
777
|
+
`Reconciled ${stillOrphaned.length} orphaned lock entr${stillOrphaned.length === 1 ? "y" : "ies"} with no on-disk bundle: ${stillOrphaned.join(", ")}`
|
|
778
|
+
)
|
|
779
|
+
);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
} catch (err) {
|
|
783
|
+
R.warn(c.warn(`Skipped removed-skill cleanup: ${err.message}`));
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
});
|
|
787
|
+
var skills_default = defineCommand({
|
|
788
|
+
meta: {
|
|
789
|
+
name: "skills",
|
|
790
|
+
description: "Install, check, and update HyperFrames skills for AI coding tools"
|
|
791
|
+
},
|
|
792
|
+
subCommands: {
|
|
793
|
+
check: checkCommand,
|
|
794
|
+
update: updateCommand
|
|
795
|
+
},
|
|
796
|
+
args: {},
|
|
797
|
+
async run({ args }) {
|
|
798
|
+
if (!args._?.[0]) {
|
|
799
|
+
await updateSkills({ all: true });
|
|
800
|
+
invalidateSkillsCache();
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
});
|
|
804
|
+
export {
|
|
805
|
+
skills_default as default,
|
|
806
|
+
examples,
|
|
807
|
+
updateSkills
|
|
808
|
+
};
|