hyperframes 0.8.183 → 0.8.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-HW3ZGR36.js → add-ODTNPRGG.js} +14 -14
- package/dist/{agentPromptGenerator-VIIPZCJ3.js → agentPromptGenerator-KYO5MKTW.js} +1 -1
- package/dist/{animatedGifPrep-EPLN37ZN.js → animatedGifPrep-PEP5GWOJ.js} +10 -9
- package/dist/api.js +18 -17
- package/dist/{asset-TOASKL3Z.js → asset-EZG42XPA.js} +2 -2
- package/dist/{assetCataloger-PZN5HYG2.js → assetCataloger-OHAJFCA7.js} +10 -9
- package/dist/{audio-F5OIQVJO.js → audio-65R4T74I.js} +18 -16
- package/dist/{auth-YVQLRS3T.js → auth-VP2SIZFN.js} +1 -1
- package/dist/{autoUpdate-EG4ZFW4D.js → autoUpdate-RVSUX4SS.js} +2 -2
- package/dist/{backgroundChecks-WINNQVR2.js → backgroundChecks-LEHK74NS.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-PASZTMEE.js → batchRender-3X6CL7PK.js} +5 -5
- package/dist/{beats-KGIOEBLW.js → beats-66VPQLSC.js} +6 -6
- package/dist/{benchmark-ZNY2L7HN.js → benchmark-PBJVTOJP.js} +10 -10
- package/dist/{browser-REAO7RU4.js → browser-TPL5MWGC.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-OAYLYC4W.js → bundleWithLocalizedFonts-67MLTHKM.js} +2 -2
- package/dist/{capture-WOSF276U.js → capture-F3GNMRZM.js} +14 -13
- package/dist/{capture-IK6GWQDD.js → capture-YYRE7EV3.js} +2 -2
- package/dist/{captureCompositionFrame-DDZNKYRE.js → captureCompositionFrame-PXV2ISHD.js} +14 -13
- package/dist/{catalog-AKTXS7OJ.js → catalog-6SDD3OHF.js} +14 -14
- package/dist/{catch-up-O3VZMPVE.js → catch-up-CWIVA5VG.js} +4 -4
- package/dist/{check-6E46NIWI.js → check-YQ6REK2S.js} +35 -34
- package/dist/{checkBrowser-UNZHQFNH.js → checkBrowser-5XZCBRXM.js} +32 -31
- package/dist/{chunk-TOHA5NAU.js → chunk-2TAS5O4P.js} +56 -11
- package/dist/{chunk-3Q47QC46.js → chunk-37CNYTQQ.js} +2 -2
- package/dist/chunk-3NPOFC43.js +3805 -0
- package/dist/{chunk-EEP5Y5IE.js → chunk-46HEFGXJ.js} +1 -1
- package/dist/{chunk-GAGMLVCV.js → chunk-4CTNDBE3.js} +2 -2
- package/dist/{chunk-CGK4XZ2J.js → chunk-55YELV7B.js} +1 -1
- package/dist/{chunk-TJB4GAV6.js → chunk-5GUKZRQN.js} +1 -1
- package/dist/{chunk-J4L5TPLS.js → chunk-5UDRPPN2.js} +48 -6
- package/dist/{chunk-SAQYJLI6.js → chunk-6ASIXMFP.js} +1 -1
- package/dist/{chunk-GPE3WWTO.js → chunk-6GPR3G3C.js} +14 -11
- package/dist/{chunk-MIZDJVPZ.js → chunk-6RIZY7OP.js} +1 -1
- package/dist/{chunk-5CS4T6C6.js → chunk-7L37AB57.js} +1 -1
- package/dist/{chunk-VH5KESLX.js → chunk-7PS6RVWD.js} +1 -1
- package/dist/{chunk-U5YVWG5W.js → chunk-7RAY4WZP.js} +3 -3
- package/dist/{chunk-COTLNID2.js → chunk-A6QCO474.js} +5 -5
- package/dist/{chunk-YMS5FOMC.js → chunk-B2A56S5C.js} +1 -1
- package/dist/{chunk-4FQKS7BJ.js → chunk-BH7TTIPN.js} +11 -13
- package/dist/{chunk-LBWRQ4XA.js → chunk-BRAPBUPQ.js} +1 -1
- package/dist/{chunk-IC2WYONA.js → chunk-CX3USX23.js} +3 -3
- package/dist/{chunk-ITSLKUQM.js → chunk-D42NU3DZ.js} +1 -1
- package/dist/{chunk-Q6UYKWBG.js → chunk-EMAWIZ54.js} +481 -36
- package/dist/{chunk-ZFO3A3QL.js → chunk-EMSDWBG3.js} +2 -2
- package/dist/{chunk-KRFAX5JK.js → chunk-ESBMUZXZ.js} +1 -1
- package/dist/{chunk-CAHTO62O.js → chunk-F3OPUWQX.js} +7 -7
- package/dist/{chunk-R6OV4J4K.js → chunk-FX6RUJUY.js} +3 -3
- package/dist/{chunk-F6WHPHLF.js → chunk-G2UANIDX.js} +1 -1
- package/dist/{chunk-DEORFAWP.js → chunk-H5SM5PJI.js} +1 -1
- package/dist/{chunk-5OGDBU4G.js → chunk-H6UY725W.js} +2 -2
- package/dist/{chunk-K2Z5DZBS.js → chunk-HDIRZGK4.js} +1 -1
- package/dist/{chunk-TXGZZKDF.js → chunk-HHSJJFVM.js} +2 -2
- package/dist/{chunk-VDJO4DJ7.js → chunk-HXUTX5GR.js} +3 -3
- package/dist/{chunk-73LTCCZI.js → chunk-I3IH5MV5.js} +19 -23
- package/dist/{chunk-3OLIGYWN.js → chunk-I45HL3VP.js} +3 -3
- package/dist/{chunk-TYXH3EKP.js → chunk-I5JRXMCV.js} +16 -1
- package/dist/{chunk-RZXUQR42.js → chunk-I7QMXZSB.js} +2 -2
- package/dist/{chunk-XOVHO3TT.js → chunk-IDFNKFPL.js} +7 -7
- package/dist/{chunk-QX4GGPMY.js → chunk-IDGLGXPA.js} +1 -1
- package/dist/{chunk-5MBLWFLM.js → chunk-IPDKZ5IN.js} +33 -6
- package/dist/{chunk-ANR6WOC3.js → chunk-ISTRDGIX.js} +1 -1
- package/dist/{chunk-4UFJWRHG.js → chunk-IVEFOUZI.js} +211 -83
- package/dist/chunk-IZCW2NKT.js +29 -0
- package/dist/{chunk-X3IA5RYH.js → chunk-J36JVBLR.js} +9 -2
- package/dist/{chunk-Z4R35NJS.js → chunk-J5XEZ24I.js} +3 -3
- package/dist/{chunk-OH56PXFH.js → chunk-K2ZKXTVL.js} +1 -1
- package/dist/{chunk-ATMDOUNN.js → chunk-K73RJB23.js} +2 -2
- package/dist/{chunk-NZ3BE2QE.js → chunk-KQ4JEJLF.js} +10 -10
- package/dist/{chunk-VFBAKPRC.js → chunk-KROXPHXX.js} +9 -3
- package/dist/{chunk-QGOYNPQT.js → chunk-LLFQA7XF.js} +48 -5
- package/dist/chunk-LLMSX6V6.js +17 -0
- package/dist/{chunk-XR5BSEUF.js → chunk-LYKSTRAY.js} +3 -3
- package/dist/{chunk-UNOSCGBG.js → chunk-OAG47RE6.js} +1 -1
- package/dist/{chunk-O7N3A7PE.js → chunk-PHMBMOXF.js} +1 -1
- package/dist/{chunk-BP4VNTZL.js → chunk-PMMQRJDE.js} +1 -1
- package/dist/{chunk-ADDHW2FS.js → chunk-Q447CX26.js} +82 -12
- package/dist/{chunk-WT4PYV2J.js → chunk-Q47FAYYK.js} +202 -55
- package/dist/{chunk-AKFADCMS.js → chunk-RTBSA3EA.js} +1 -1
- package/dist/{chunk-VAK7A2N6.js → chunk-RUEGYANA.js} +11 -11
- package/dist/{chunk-OYLO6TYK.js → chunk-RUOG4VB7.js} +1 -1
- package/dist/{chunk-EVAQPW6O.js → chunk-SKYPMHQC.js} +4 -4
- package/dist/{chunk-B2SZZFWW.js → chunk-SQVRXHOW.js} +3 -3
- package/dist/{chunk-CJYAJ3QM.js → chunk-TAX2ZJAP.js} +24 -16
- package/dist/{chunk-GTE5WZAM.js → chunk-TOI35GN2.js} +1 -1
- package/dist/{chunk-XJHKJXT4.js → chunk-UPR3MU6Z.js} +1 -1
- package/dist/{chunk-DLC2FICN.js → chunk-WQLKDL35.js} +2 -1
- package/dist/{chunk-3BA2GP4H.js → chunk-X6L6MD5B.js} +5 -5
- package/dist/{chunk-XAQDR5Y5.js → chunk-XGHHVYC7.js} +94 -32
- package/dist/{chunk-HLBODNGW.js → chunk-XWC7CNPY.js} +1 -1
- package/dist/{clean-WNEIVBF3.js → clean-7J6ZCCGV.js} +19 -18
- package/dist/cli.js +53 -53
- package/dist/{cloud-6GSSDCJL.js → cloud-7IJCJCDD.js} +4 -4
- package/dist/{cloudrun-4NEJRE4T.js → cloudrun-UNZRIIDB.js} +7 -7
- package/dist/commands/contrast-audit.browser.js +1 -2
- package/dist/commands/layout-audit.browser.js +196 -0
- package/dist/{compare-2JWQ5ABA.js → compare-Q7VW5JZT.js} +29 -28
- package/dist/{compiler-27KQD7KW.js → compiler-KPHYGFXL.js} +6 -6
- package/dist/{component-HCRET3MH.js → component-UUBREJKN.js} +3 -3
- package/dist/{compositions-HTSQ6SUJ.js → compositions-T4FTKIDP.js} +14 -13
- package/dist/{delete-GHQ5UYM7.js → delete-WZQF2IIA.js} +3 -3
- package/dist/{deploy-I3Z3NAVA.js → deploy-JU7A3XNC.js} +1 -1
- package/dist/{deterministicFonts-JFLSSKRB.js → deterministicFonts-EGAAE7QL.js} +3 -3
- package/dist/{dist-SENYPQGW.js → dist-LM7AVHOU.js} +3 -3
- package/dist/{dist-WRDLWRMS.js → dist-ULGTPSU4.js} +8 -4
- package/dist/docs/data-attributes.md +1 -1
- package/dist/{doctor-UGFVQZHI.js → doctor-VSNGRKXJ.js} +14 -13
- package/dist/{events-YS4OVX3I.js → events-CRW2DYUT.js} +3 -3
- package/dist/{events-BLJGWMNP.js → events-E63YBUL2.js} +3 -3
- package/dist/{feedback-AZ3SJ5HF.js → feedback-OSZWVR6N.js} +9 -9
- package/dist/{ffmpeg-2AECXG7V.js → ffmpeg-JLH3Z7G7.js} +10 -9
- package/dist/{figma-DRYIJQHV.js → figma-2BQNNR53.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -12
- package/dist/{get-DDEAOFPB.js → get-P2XI53QW.js} +3 -3
- package/dist/{gpuPolicy-UDJT2MQK.js → gpuPolicy-NTKQJY75.js} +10 -9
- package/dist/{grade-compare-LJKK5NSY.js → grade-compare-OYASIHIB.js} +30 -29
- package/dist/{gsapParserAcorn-7NCK2LVT.js → gsapParserAcorn-SKODXC2N.js} +2 -2
- package/dist/{help-TQBGYOID.js → help-HK6K2N4G.js} +1 -1
- package/dist/{history-5TOOCF2Y.js → history-JMTYKLXW.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-ENI5MP4W.js → info-AW7CIVRE.js} +9 -9
- package/dist/{init-JXPXWV3G.js → init-6KIDG4LB.js} +31 -30
- package/dist/{inspect-WZNYQ5AB.js → inspect-B7BLYMRZ.js} +30 -29
- package/dist/{installer-3SGRBLJW.js → installer-ZP2LQZUQ.js} +7 -7
- package/dist/{keyframes-HEOC4CT4.js → keyframes-EQ36A5JE.js} +7 -7
- package/dist/{lambda-2VHQ4AL2.js → lambda-E6VURLIS.js} +9 -9
- package/dist/{layout-7WEUNO6T.js → layout-XYC64QQQ.js} +30 -29
- package/dist/{lint-5YMAF3L7.js → lint-V5DJYWBX.js} +9 -9
- package/dist/{lintProject-C2ONSH2U.js → lintProject-JATQKR64.js} +3 -3
- package/dist/{list-BIE3X7CO.js → list-RUGVRTVD.js} +3 -3
- package/dist/{login-YDIGJWCG.js → login-ZTKGKXGS.js} +4 -4
- package/dist/{manager-D2UV6RDQ.js → manager-JUP7PM6N.js} +11 -10
- package/dist/{media-treatment-FSKHPMWA.js → media-treatment-VIUPK4OR.js} +16 -15
- package/dist/{models-COEK6LXG.js → models-LJS2HBOZ.js} +14 -13
- package/dist/{motionShot-HYZ2ZGJQ.js → motionShot-3UAXZ7SN.js} +17 -16
- package/dist/{normalize-audio-UXR6WQ7Q.js → normalize-audio-SBYI4YIH.js} +4 -4
- package/dist/{open-OFT2GIDG.js → open-S27TUD3A.js} +14 -14
- package/dist/{parakeetRunner-4NZ3QXS3.js → parakeetRunner-ETLMLJ4L.js} +15 -14
- package/dist/{pipeline-ZKE54JMG.js → pipeline-I2M22M24.js} +11 -10
- package/dist/{play-2VG77FT6.js → play-COJU6VJK.js} +22 -21
- package/dist/{preflight-QTWDIM5C.js → preflight-FZ24NCHH.js} +11 -10
- package/dist/{present-OONXQLJG.js → present-YAHKLC5D.js} +18 -17
- package/dist/{preview-6RZJFU76.js → preview-KQOEU5YE.js} +27 -26
- package/dist/{producer-6YM3UH3B.js → producer-DTNNG4T6.js} +1 -1
- package/dist/{projectConfig-YMW4P2X6.js → projectConfig-4A76VYUP.js} +9 -9
- package/dist/{publication-SEINUAPZ.js → publication-SQPMC2W3.js} +4 -4
- package/dist/{publish-KZBTBWFO.js → publish-QUEJBGGT.js} +13 -12
- package/dist/{remove-background-BIQNMIR7.js → remove-background-FP2ETAQH.js} +12 -11
- package/dist/{render-FIH37HJA.js → render-BIFIL4U6.js} +32 -31
- package/dist/render-GQFXJWLV.js +1504 -0
- package/dist/{render-LW76HOMJ.js → render-P664SMC7.js} +5 -5
- package/dist/{render-batch-POLEEYD4.js → render-batch-ZCPMYH6Z.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-O2SED3XB.js → resolver-BUC2GFZQ.js} +6 -6
- package/dist/{sherpa-HTFFFTVQ.js → sherpa-HFT6XEP6.js} +14 -13
- package/dist/skills/hyperframes/SKILL.md +52 -174
- package/dist/skills/hyperframes/assets/frame-presets/biennale-yellow/FRAME.md +289 -0
- package/dist/skills/hyperframes/assets/frame-presets/biennale-yellow/caption-skin.html +220 -0
- package/dist/skills/hyperframes/assets/frame-presets/biennale-yellow/frame-showcase.html +1214 -0
- package/dist/skills/hyperframes/assets/frame-presets/blockframe/FRAME.md +275 -0
- package/dist/skills/hyperframes/assets/frame-presets/blockframe/caption-skin.html +223 -0
- package/dist/skills/hyperframes/assets/frame-presets/blockframe/frame-showcase.html +1347 -0
- package/dist/skills/hyperframes/assets/frame-presets/blue-professional/FRAME.md +307 -0
- package/dist/skills/hyperframes/assets/frame-presets/blue-professional/caption-skin.html +222 -0
- package/dist/skills/hyperframes/assets/frame-presets/blue-professional/frame-showcase.html +1372 -0
- package/dist/skills/hyperframes/assets/frame-presets/bold-poster/FRAME.md +275 -0
- package/dist/skills/hyperframes/assets/frame-presets/bold-poster/caption-skin.html +229 -0
- package/dist/skills/hyperframes/assets/frame-presets/bold-poster/frame-showcase.html +1140 -0
- package/dist/skills/hyperframes/assets/frame-presets/broadside/FRAME.md +284 -0
- package/dist/skills/hyperframes/assets/frame-presets/broadside/caption-skin.html +224 -0
- package/dist/skills/hyperframes/assets/frame-presets/broadside/frame-showcase.html +1166 -0
- package/dist/skills/hyperframes/assets/frame-presets/capsule/FRAME.md +284 -0
- package/dist/skills/hyperframes/assets/frame-presets/capsule/caption-skin.html +223 -0
- package/dist/skills/hyperframes/assets/frame-presets/capsule/frame-showcase.html +1465 -0
- package/dist/skills/hyperframes/assets/frame-presets/cartesian/FRAME.md +278 -0
- package/dist/skills/hyperframes/assets/frame-presets/cartesian/caption-skin.html +221 -0
- package/dist/skills/hyperframes/assets/frame-presets/cartesian/frame-showcase.html +1263 -0
- package/dist/skills/hyperframes/assets/frame-presets/cobalt-grid/FRAME.md +265 -0
- package/dist/skills/hyperframes/assets/frame-presets/cobalt-grid/caption-skin.html +237 -0
- package/dist/skills/hyperframes/assets/frame-presets/cobalt-grid/frame-showcase.html +1468 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/FRAME.md +277 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/caption-skin.html +223 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/EBGaramond-400.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/EBGaramond-700.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/Inter-400.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/Inter-700.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/JetBrainsMono-400.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/JetBrainsMono-700.woff2 +0 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/OFL-eb-garamond.txt +93 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/OFL-inter.txt +93 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/fonts/OFL-jetbrains-mono.txt +93 -0
- package/dist/skills/hyperframes/assets/frame-presets/code-editorial/frame-showcase.html +1438 -0
- package/dist/skills/hyperframes/assets/frame-presets/coral/FRAME.md +314 -0
- package/dist/skills/hyperframes/assets/frame-presets/coral/caption-skin.html +225 -0
- package/dist/skills/hyperframes/assets/frame-presets/coral/frame-showcase.html +1268 -0
- package/dist/skills/hyperframes/assets/frame-presets/creative-mode/FRAME.md +333 -0
- package/dist/skills/hyperframes/assets/frame-presets/creative-mode/caption-skin.html +226 -0
- package/dist/skills/hyperframes/assets/frame-presets/creative-mode/frame-showcase.html +1330 -0
- package/dist/skills/hyperframes/assets/frame-presets/daisy-days/FRAME.md +274 -0
- package/dist/skills/hyperframes/assets/frame-presets/daisy-days/caption-skin.html +229 -0
- package/dist/skills/hyperframes/assets/frame-presets/daisy-days/frame-showcase.html +1444 -0
- package/dist/skills/hyperframes/assets/frame-presets/editorial-forest/FRAME.md +265 -0
- package/dist/skills/hyperframes/assets/frame-presets/editorial-forest/caption-skin.html +222 -0
- package/dist/skills/hyperframes/assets/frame-presets/editorial-forest/frame-showcase.html +1273 -0
- package/dist/skills/hyperframes/references/captions.md +46 -0
- package/dist/skills/hyperframes/references/film.md +47 -0
- package/dist/skills/hyperframes/references/format.md +157 -0
- package/dist/skills/hyperframes/references/look.md +69 -0
- package/dist/skills/hyperframes/references/motion.md +94 -0
- package/dist/skills/hyperframes/references/overlays.md +39 -0
- package/dist/skills/hyperframes/references/plugin-installation.md +3 -3
- package/dist/skills/hyperframes/references/review.md +51 -0
- package/dist/skills/hyperframes/references/runtimes.md +43 -0
- package/dist/skills/hyperframes/references/skill-lifecycle.md +21 -13
- package/dist/skills/hyperframes/references/sound.md +43 -0
- package/dist/skills/hyperframes/references/spec.md +76 -0
- package/dist/skills/hyperframes/references/story.md +103 -0
- package/dist/skills/hyperframes/references/storyboard-format.md +30 -22
- package/dist/skills/hyperframes/references/storyboard.md +36 -0
- package/dist/skills/hyperframes/references/types/3d.md +25 -0
- package/dist/skills/hyperframes/references/types/character.md +20 -0
- package/dist/skills/hyperframes/references/types/data.md +19 -0
- package/dist/skills/hyperframes/references/types/explainer.md +34 -0
- package/dist/skills/hyperframes/references/types/launch.md +31 -0
- package/dist/skills/hyperframes/references/types/music.md +24 -0
- package/dist/skills/hyperframes/references/types/vertical.md +23 -0
- package/dist/skills/hyperframes/scripts/bake-basemap.mjs +324 -0
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +1 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +228 -0
- package/dist/skills/hyperframes-cli/SKILL.md +76 -179
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/hyperframes-cli/references/cloud.md +2 -2
- package/dist/skills/hyperframes-cli/references/cloudrun.md +1 -1
- package/dist/skills/hyperframes-cli/references/conventions.md +17 -0
- package/dist/skills/hyperframes-cli/references/feedback.md +14 -0
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +11 -7
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +19 -8
- package/dist/skills/hyperframes-cli/references/preview-render.md +8 -2
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +8 -0
- package/dist/skills/media-use/SKILL.md +47 -91
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/captions/authoring.md +1 -2
- package/dist/skills/media-use/audio/references/captions/motion.md +5 -5
- package/dist/skills/media-use/audio/references/tts.md +0 -3
- package/dist/skills/media-use/audio/scripts/audio.mjs +5 -6
- package/dist/skills/media-use/audio/scripts/carve.mjs +560 -0
- package/dist/skills/media-use/audio/scripts/carve.test.mjs +254 -0
- package/dist/skills/media-use/audio/scripts/extract-audio-data.py +199 -0
- package/dist/skills/media-use/references/local.md +24 -0
- package/dist/skills/media-use/references/memory.md +4 -4
- package/dist/skills/media-use/references/mixing.md +71 -0
- package/dist/skills/media-use/references/operations.md +1 -1
- package/dist/skills/media-use/scripts/compatibility.test.mjs +1 -56
- package/dist/skills/media-use/scripts/lib/prefs-store.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -1
- package/dist/skills/media-use/scripts/prefs.mjs +2 -3
- package/dist/skills/media-use/scripts/recipe.mjs +1 -3
- package/dist/{skills-J6MBGS5O.js → skills-3WEVO3NU.js} +20 -13
- package/dist/{skillsUpdateCheck-ZAXNLBF3.js → skillsUpdateCheck-BFPWFOK5.js} +3 -3
- package/dist/{snapshot-TL7TTFS6.js → snapshot-WDQ6S7CJ.js} +458 -98
- package/dist/{src-Z5H5N5T4.js → src-NPR2JZOJ.js} +15 -11
- package/dist/{src-EL6HGIS4.js → src-RZ574OKP.js} +9 -8
- package/dist/{staticProjectServer-EO7X7RAY.js → staticProjectServer-FTGTEZI4.js} +18 -17
- package/dist/studio/assets/{hyperframes-player-hz_VqxBZ.js → hyperframes-player-CoOdf435.js} +1 -1
- package/dist/studio/assets/{index-CV_ojgp5.js → index-CR85xg2x.js} +1 -1
- package/dist/studio/assets/{index-S1ceEagc.js → index-C_6rTpaB.js} +5 -5
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CUZDC5B3.js → studio-api-TAWB7B23.js} +12 -11
- package/dist/{studioServer-EZPRV43Y.js → studioServer-HRQGJTBU.js} +49 -48
- package/dist/{telemetry-LFUVHARP.js → telemetry-QZ6HJF4W.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +14 -19
- package/dist/templates/_shared/CLAUDE.md +14 -19
- package/dist/templates/blank/index.html +10 -4
- package/dist/{timeline-GSH743JE.js → timeline-IKUEW42T.js} +21 -19
- package/dist/{tokens-3ZMPSH7B.js → tokens-AUGUEWHS.js} +2 -2
- package/dist/{transcribe-4SHNDPWW.js → transcribe-7734CG3N.js} +19 -18
- package/dist/{transcribe-TV7JBZQS.js → transcribe-FWU6EMEO.js} +13 -12
- package/dist/{updateCheck-W7FTFOQF.js → updateCheck-VIPQ3FPW.js} +2 -2
- package/dist/{upgrade-7YYYNAPF.js → upgrade-4VNDQTVO.js} +2 -2
- package/dist/{urlDownloader-PQSUS2CP.js → urlDownloader-6CXL4CL7.js} +9 -8
- package/dist/{validate-GCHAEVXM.js → validate-QWCMVWID.js} +24 -23
- package/dist/{video-KGN7NJS5.js → video-245Q5WN4.js} +10 -9
- package/dist/warmCheck.js +37 -36
- package/package.json +1 -1
- package/dist/chunk-GMNHAOMJ.js +0 -3805
- package/dist/render-65K3K6SD.js +0 -719
- package/dist/skills/hyperframes/references/brief-contract.md +0 -108
- package/dist/skills/hyperframes/references/brief-format.md +0 -72
- package/dist/skills/hyperframes/references/capability-menu.md +0 -47
- package/dist/skills/hyperframes/references/frame-worker-core.md +0 -82
- package/dist/skills/hyperframes/references/intent-interview.md +0 -73
- package/dist/skills/hyperframes/references/pitch-round.md +0 -40
- package/dist/skills/hyperframes/references/production-loop.md +0 -26
- package/dist/skills/hyperframes/references/review-loop.md +0 -37
- package/dist/skills/hyperframes/references/route-briefs.md +0 -11
- package/dist/skills/hyperframes/references/routes/embedded-captions.md +0 -11
- package/dist/skills/hyperframes/references/routes/faceless-explainer.md +0 -12
- package/dist/skills/hyperframes/references/routes/general-video.md +0 -12
- package/dist/skills/hyperframes/references/routes/motion-graphics.md +0 -11
- package/dist/skills/hyperframes/references/routes/music-to-video.md +0 -12
- package/dist/skills/hyperframes/references/routes/pr-to-video.md +0 -28
- package/dist/skills/hyperframes/references/routes/product-launch-video.md +0 -13
- package/dist/skills/hyperframes/references/routes/remotion-to-hyperframes.md +0 -9
- package/dist/skills/hyperframes/references/routes/slideshow.md +0 -11
- package/dist/skills/hyperframes/references/routes/talking-head-recut.md +0 -11
- package/dist/skills/hyperframes/references/script-format.md +0 -52
- package/dist/skills/hyperframes/references/subagent-dispatch.md +0 -35
- package/dist/skills/hyperframes/references/workflow-catalog.md +0 -10
- package/dist/skills/hyperframes/scripts/lib/frame-packets-core.mjs +0 -176
- package/dist/skills/media-use/audio/scripts/lib/host-audio.mjs +0 -28
- package/dist/skills/media-use/audio/scripts/lib/host-audio.test.mjs +0 -106
package/dist/cli.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-ISN5GRYI.js";
|
|
43
43
|
import {
|
|
44
44
|
VERSION
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-I7QMXZSB.js";
|
|
46
46
|
import "./chunk-M2WBOQ2Q.js";
|
|
47
47
|
|
|
48
48
|
// src/cli.ts
|
|
@@ -92,7 +92,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
92
92
|
}
|
|
93
93
|
async function reportCommandFailure(command2, err) {
|
|
94
94
|
try {
|
|
95
|
-
const { trackCommandFailure } = await import("./events-
|
|
95
|
+
const { trackCommandFailure } = await import("./events-E63YBUL2.js");
|
|
96
96
|
trackCommandFailure(command2, err);
|
|
97
97
|
} catch {
|
|
98
98
|
}
|
|
@@ -172,55 +172,55 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
var commandLoaders = {
|
|
175
|
-
init: () => import("./init-
|
|
176
|
-
add: () => import("./add-
|
|
177
|
-
catalog: () => import("./catalog-
|
|
175
|
+
init: () => import("./init-6KIDG4LB.js").then((m) => m.default),
|
|
176
|
+
add: () => import("./add-ODTNPRGG.js").then((m) => m.default),
|
|
177
|
+
catalog: () => import("./catalog-6SDD3OHF.js").then((m) => m.default),
|
|
178
178
|
"media-use": () => import("./media-use-JBN57JE3.js").then((m) => m.default),
|
|
179
|
-
play: () => import("./play-
|
|
180
|
-
present: () => import("./present-
|
|
181
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
182
|
-
publish: () => import("./publish-
|
|
183
|
-
open: () => import("./open-
|
|
184
|
-
"catch-up": () => import("./catch-up-
|
|
185
|
-
render: () => import("./render-
|
|
186
|
-
lint: () => import("./lint-
|
|
187
|
-
check: () => import("./check-
|
|
188
|
-
beats: () => import("./beats-
|
|
189
|
-
audio: () => import("./audio-
|
|
190
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
191
|
-
inspect: () => import("./inspect-
|
|
192
|
-
keyframes: () => import("./keyframes-
|
|
193
|
-
layout: () => import("./layout-
|
|
194
|
-
info: () => import("./info-
|
|
195
|
-
compositions: () => import("./compositions-
|
|
196
|
-
timeline: () => import("./timeline-
|
|
197
|
-
history: () => import("./history-
|
|
198
|
-
benchmark: () => import("./benchmark-
|
|
199
|
-
browser: () => import("./browser-
|
|
200
|
-
"remove-background": () => import("./remove-background-
|
|
201
|
-
transcribe: () => import("./transcribe-
|
|
179
|
+
play: () => import("./play-COJU6VJK.js").then((m) => m.default),
|
|
180
|
+
present: () => import("./present-YAHKLC5D.js").then((m) => m.default),
|
|
181
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-KQOEU5YE.js").then((m) => m.default)),
|
|
182
|
+
publish: () => import("./publish-QUEJBGGT.js").then((m) => m.default),
|
|
183
|
+
open: () => import("./open-S27TUD3A.js").then((m) => m.default),
|
|
184
|
+
"catch-up": () => import("./catch-up-CWIVA5VG.js").then((m) => m.default),
|
|
185
|
+
render: () => import("./render-BIFIL4U6.js").then((m) => m.default),
|
|
186
|
+
lint: () => import("./lint-V5DJYWBX.js").then((m) => m.default),
|
|
187
|
+
check: () => import("./check-YQ6REK2S.js").then((m) => m.default),
|
|
188
|
+
beats: () => import("./beats-66VPQLSC.js").then((m) => m.default),
|
|
189
|
+
audio: () => import("./audio-65R4T74I.js").then((m) => m.default),
|
|
190
|
+
"normalize-audio": () => import("./normalize-audio-SBYI4YIH.js").then((m) => m.default),
|
|
191
|
+
inspect: () => import("./inspect-B7BLYMRZ.js").then((m) => m.default),
|
|
192
|
+
keyframes: () => import("./keyframes-EQ36A5JE.js").then((m) => m.default),
|
|
193
|
+
layout: () => import("./layout-XYC64QQQ.js").then((m) => m.default),
|
|
194
|
+
info: () => import("./info-AW7CIVRE.js").then((m) => m.default),
|
|
195
|
+
compositions: () => import("./compositions-T4FTKIDP.js").then((m) => m.default),
|
|
196
|
+
timeline: () => import("./timeline-IKUEW42T.js").then((m) => m.default),
|
|
197
|
+
history: () => import("./history-JMTYKLXW.js").then((m) => m.default),
|
|
198
|
+
benchmark: () => import("./benchmark-PBJVTOJP.js").then((m) => m.default),
|
|
199
|
+
browser: () => import("./browser-TPL5MWGC.js").then((m) => m.default),
|
|
200
|
+
"remove-background": () => import("./remove-background-FP2ETAQH.js").then((m) => m.default),
|
|
201
|
+
transcribe: () => import("./transcribe-7734CG3N.js").then((m) => m.default),
|
|
202
202
|
usage: () => import("./usage-HG4WMM7A.js").then((m) => m.default),
|
|
203
|
-
models: () => import("./models-
|
|
203
|
+
models: () => import("./models-LJS2HBOZ.js").then((m) => m.default),
|
|
204
204
|
tts: () => import("./tts-A2WILYGN.js").then((m) => m.default),
|
|
205
205
|
docs: () => import("./docs-UEWLIP6D.js").then((m) => m.default),
|
|
206
|
-
doctor: () => import("./doctor-
|
|
207
|
-
clean: () => import("./clean-
|
|
208
|
-
upgrade: () => import("./upgrade-
|
|
209
|
-
skills: () => import("./skills-
|
|
210
|
-
feedback: () => import("./feedback-
|
|
206
|
+
doctor: () => import("./doctor-VSNGRKXJ.js").then((m) => m.default),
|
|
207
|
+
clean: () => import("./clean-7J6ZCCGV.js").then((m) => m.default),
|
|
208
|
+
upgrade: () => import("./upgrade-4VNDQTVO.js").then((m) => m.default),
|
|
209
|
+
skills: () => import("./skills-3WEVO3NU.js").then((m) => m.default),
|
|
210
|
+
feedback: () => import("./feedback-OSZWVR6N.js").then((m) => m.default),
|
|
211
211
|
telemetry: () => import("./telemetry-QG5AANZ4.js").then((m) => m.default),
|
|
212
|
-
events: () => import("./events-
|
|
213
|
-
validate: () => import("./validate-
|
|
214
|
-
snapshot: () => import("./snapshot-
|
|
215
|
-
"media-treatment": () => import("./media-treatment-
|
|
216
|
-
"grade-compare": () => import("./grade-compare-
|
|
217
|
-
compare: () => import("./compare-
|
|
218
|
-
capture: () => import("./capture-
|
|
219
|
-
lambda: () => import("./lambda-
|
|
220
|
-
cloudrun: () => import("./cloudrun-
|
|
221
|
-
cloud: () => import("./cloud-
|
|
222
|
-
auth: () => import("./auth-
|
|
223
|
-
figma: () => import("./figma-
|
|
212
|
+
events: () => import("./events-CRW2DYUT.js").then((m) => m.default),
|
|
213
|
+
validate: () => import("./validate-QWCMVWID.js").then((m) => m.default),
|
|
214
|
+
snapshot: () => import("./snapshot-WDQ6S7CJ.js").then((m) => m.default),
|
|
215
|
+
"media-treatment": () => import("./media-treatment-VIUPK4OR.js").then((m) => m.mediaTreatmentCommand),
|
|
216
|
+
"grade-compare": () => import("./grade-compare-OYASIHIB.js").then((m) => m.default),
|
|
217
|
+
compare: () => import("./compare-Q7VW5JZT.js").then((m) => m.default),
|
|
218
|
+
capture: () => import("./capture-YYRE7EV3.js").then((m) => m.default),
|
|
219
|
+
lambda: () => import("./lambda-E6VURLIS.js").then((m) => m.default),
|
|
220
|
+
cloudrun: () => import("./cloudrun-UNZRIIDB.js").then((m) => m.default),
|
|
221
|
+
cloud: () => import("./cloud-7IJCJCDD.js").then((m) => m.default),
|
|
222
|
+
auth: () => import("./auth-VP2SIZFN.js").then((m) => m.default),
|
|
223
|
+
figma: () => import("./figma-2BQNNR53.js").then((m) => m.default)
|
|
224
224
|
};
|
|
225
225
|
var subCommands = Object.fromEntries(
|
|
226
226
|
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
|
|
@@ -244,7 +244,7 @@ var _printStalePinNotice;
|
|
|
244
244
|
var _printSkillsUpdateNotice;
|
|
245
245
|
var telemetryReady = Promise.resolve();
|
|
246
246
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
247
|
-
telemetryReady = import("./telemetry-
|
|
247
|
+
telemetryReady = import("./telemetry-QZ6HJF4W.js").then((mod) => {
|
|
248
248
|
_flushSync = mod.flushSync;
|
|
249
249
|
_trackCliError = mod.trackCliError;
|
|
250
250
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -254,23 +254,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
257
|
-
import("./autoUpdate-
|
|
257
|
+
import("./autoUpdate-RVSUX4SS.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
258
258
|
});
|
|
259
|
-
import("./updateCheck-
|
|
259
|
+
import("./updateCheck-VIPQ3FPW.js").then(async (mod) => {
|
|
260
260
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
261
261
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
262
262
|
const result = mod.cachedUpdateCheck();
|
|
263
263
|
if (result.updateAvailable) {
|
|
264
|
-
const auto = await import("./autoUpdate-
|
|
264
|
+
const auto = await import("./autoUpdate-RVSUX4SS.js").catch(() => null);
|
|
265
265
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
266
266
|
}
|
|
267
267
|
}).catch(() => {
|
|
268
268
|
});
|
|
269
|
-
import("./skillsUpdateCheck-
|
|
269
|
+
import("./skillsUpdateCheck-BFPWFOK5.js").then((mod) => {
|
|
270
270
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
271
271
|
}).catch(() => {
|
|
272
272
|
});
|
|
273
|
-
import("./backgroundChecks-
|
|
273
|
+
import("./backgroundChecks-LEHK74NS.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
var _appHistoryNotice = null;
|
|
@@ -391,7 +391,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
391
391
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
392
392
|
});
|
|
393
393
|
async function showUsage(cmd, parent) {
|
|
394
|
-
const { showUsage: impl } = await import("./help-
|
|
394
|
+
const { showUsage: impl } = await import("./help-HK6K2N4G.js");
|
|
395
395
|
return impl(cmd, parent);
|
|
396
396
|
}
|
|
397
397
|
async function showRequestedUsage() {
|
|
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
|
|
|
55
55
|
var cloud_default = defineCommand({
|
|
56
56
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
57
57
|
subCommands: {
|
|
58
|
-
render: () => import("./render-
|
|
59
|
-
list: () => import("./list-
|
|
60
|
-
get: () => import("./get-
|
|
61
|
-
delete: () => import("./delete-
|
|
58
|
+
render: () => import("./render-GQFXJWLV.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-RUGVRTVD.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-P2XI53QW.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-WZQF2IIA.js").then((m) => m.default)
|
|
62
62
|
},
|
|
63
63
|
async run({ args }) {
|
|
64
64
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseOutputResolutionFlag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-46HEFGXJ.js";
|
|
10
10
|
import {
|
|
11
11
|
isMissingPackageError,
|
|
12
12
|
missingPackageMessage
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
resolveVariablesArg,
|
|
17
17
|
validateVariablesAgainstProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-37CNYTQQ.js";
|
|
19
19
|
import {
|
|
20
20
|
defaultCloudFps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-G2UANIDX.js";
|
|
22
22
|
import "./chunk-K2FLNJVB.js";
|
|
23
23
|
import "./chunk-442JNXRM.js";
|
|
24
24
|
import {
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
DISTRIBUTED_FPS,
|
|
35
35
|
isDistributedFps
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KROXPHXX.js";
|
|
37
37
|
import "./chunk-RQVDTPGD.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-3NPOFC43.js";
|
|
39
39
|
import "./chunk-VC76R6W2.js";
|
|
40
40
|
import "./chunk-UJKQWGFF.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-B2A56S5C.js";
|
|
42
42
|
import "./chunk-OFQWTKPW.js";
|
|
43
43
|
import "./chunk-DPVXBVLL.js";
|
|
44
44
|
import "./chunk-634HSJ3J.js";
|
|
@@ -47,7 +47,7 @@ import "./chunk-MMQ52NIZ.js";
|
|
|
47
47
|
import "./chunk-BSQ7XANM.js";
|
|
48
48
|
import "./chunk-SDYDNHEE.js";
|
|
49
49
|
import "./chunk-IXLUTE6N.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-I5JRXMCV.js";
|
|
51
51
|
import {
|
|
52
52
|
normalizeErrorMessage
|
|
53
53
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
// neighbouring panels, rounded pills, blurred glass and partial decorations.
|
|
8
8
|
// __contrastAuditRestoreIfPending() restores hidden paint if the screenshot or finish() throws.
|
|
9
9
|
|
|
10
|
-
//
|
|
11
|
-
// "which rect to sample" decision is mirrored and unit-tested in contrast-sample.ts.
|
|
10
|
+
// The "which rect to sample" decision is mirrored and unit-tested in contrast-sample.ts.
|
|
12
11
|
|
|
13
12
|
/* eslint-disable */
|
|
14
13
|
window.__contrastAuditPrepare = function () {
|
|
@@ -2406,6 +2406,202 @@
|
|
|
2406
2406
|
return contentOverlapIssues(root, time);
|
|
2407
2407
|
};
|
|
2408
2408
|
|
|
2409
|
+
// Craft sampling for check's craft section (utils/craftAudit.ts judges it in Node). One call per seek:
|
|
2410
|
+
// every painted text element with its reading block, rendered font size and opacity; whether a data-hold
|
|
2411
|
+
// element is on screen; whether anything besides the background paints; and the keepsMoving liveness
|
|
2412
|
+
// signature from motion-signature.browser.js, so a still stretch here is the stillness motion_frozen sees.
|
|
2413
|
+
const craftKeys = new WeakMap();
|
|
2414
|
+
const craftAnchors = new WeakMap();
|
|
2415
|
+
let craftNextKey = 0;
|
|
2416
|
+
const INLINE_LEVEL_DISPLAY = /^(inline|inline-block|inline-flex|inline-grid|contents|ruby)$/;
|
|
2417
|
+
const CRAFT_PAINTED_OPACITY = 0.2;
|
|
2418
|
+
const PAINT_OPTIONS = { opacityProperty: true, visibilityProperty: true };
|
|
2419
|
+
|
|
2420
|
+
function craftKey(element) {
|
|
2421
|
+
if (!craftKeys.has(element)) craftKeys.set(element, ++craftNextKey);
|
|
2422
|
+
return craftKeys.get(element);
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
// Sampled at every seek of a dense grid, so the selector walk runs once per element.
|
|
2426
|
+
function craftAnchor(element) {
|
|
2427
|
+
if (!craftAnchors.has(element)) {
|
|
2428
|
+
const source = element
|
|
2429
|
+
.closest("[data-composition-file]")
|
|
2430
|
+
?.getAttribute("data-composition-file");
|
|
2431
|
+
craftAnchors.set(element, {
|
|
2432
|
+
selector: uniqueSelectorFor(element),
|
|
2433
|
+
sourceFile: source || "index.html",
|
|
2434
|
+
});
|
|
2435
|
+
}
|
|
2436
|
+
return craftAnchors.get(element);
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
// Mirrors trackKindOf in @hyperframes/parsers (data-track-kind, legacy caption hosts) plus the caption
|
|
2440
|
+
// stages __hyperframesGeometryCandidates already skips.
|
|
2441
|
+
function isCaptionsText(element) {
|
|
2442
|
+
for (let current = element; current; current = current.parentElement) {
|
|
2443
|
+
if ((current.getAttribute("data-track-kind") || "").trim().toLowerCase() === "captions") {
|
|
2444
|
+
return true;
|
|
2445
|
+
}
|
|
2446
|
+
const host =
|
|
2447
|
+
current.hasAttribute("data-composition-id") || current.hasAttribute("data-composition-src");
|
|
2448
|
+
if (!host) continue;
|
|
2449
|
+
if (current.getAttribute("data-composition-id") === "captions") return true;
|
|
2450
|
+
if (/(?:^|\s)caption[-_]/.test(current.getAttribute("class") || "")) return true;
|
|
2451
|
+
}
|
|
2452
|
+
return !!element.closest(".caption-layer, #caption-stage");
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
// The line a reader takes in at once: the nearest block-level ancestor-or-self, so a headline split into
|
|
2456
|
+
// inline word or character spans is one line, while flex items and positioned spans stay their own.
|
|
2457
|
+
function readingBlock(element, root) {
|
|
2458
|
+
let current = element;
|
|
2459
|
+
while (
|
|
2460
|
+
current !== root &&
|
|
2461
|
+
current.parentElement &&
|
|
2462
|
+
!current.hasAttribute("data-composition-id") &&
|
|
2463
|
+
INLINE_LEVEL_DISPLAY.test(getComputedStyle(current).display)
|
|
2464
|
+
) {
|
|
2465
|
+
current = current.parentElement;
|
|
2466
|
+
}
|
|
2467
|
+
return current;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
function scaleProperty(style) {
|
|
2471
|
+
const parts = (style.scale || "none")
|
|
2472
|
+
.split(/\s+/)
|
|
2473
|
+
.map((part) => Number.parseFloat(part))
|
|
2474
|
+
.filter(Number.isFinite);
|
|
2475
|
+
if (parts.length === 0) return 1;
|
|
2476
|
+
return Math.sqrt(Math.abs(parts[0] * (parts.length > 1 ? parts[1] : parts[0])));
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
// A transform scales glyphs without changing the computed font-size: multiply in every ancestor's area
|
|
2480
|
+
// scale (rotation-invariant), or the SVG screen matrix for SVG text.
|
|
2481
|
+
function renderedFontPx(element, style) {
|
|
2482
|
+
const font = parsePx(style.fontSize);
|
|
2483
|
+
if (typeof element.getScreenCTM === "function" && element.ownerSVGElement) {
|
|
2484
|
+
const ctm = element.getScreenCTM();
|
|
2485
|
+
return ctm ? font * Math.sqrt(Math.abs(ctm.a * ctm.d - ctm.b * ctm.c)) : font;
|
|
2486
|
+
}
|
|
2487
|
+
let scale = 1;
|
|
2488
|
+
for (let current = element; current; current = current.parentElement) {
|
|
2489
|
+
const currentStyle = current === element ? style : getComputedStyle(current);
|
|
2490
|
+
if (currentStyle.transform && currentStyle.transform !== "none") {
|
|
2491
|
+
try {
|
|
2492
|
+
const matrix = new DOMMatrixReadOnly(currentStyle.transform);
|
|
2493
|
+
scale *= Math.sqrt(Math.abs(matrix.a * matrix.d - matrix.b * matrix.c));
|
|
2494
|
+
} catch {
|
|
2495
|
+
// An unparsable transform leaves the size as computed.
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
scale *= scaleProperty(currentStyle);
|
|
2499
|
+
}
|
|
2500
|
+
return font * scale;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
function intersectsRect(rect, frame) {
|
|
2504
|
+
return (
|
|
2505
|
+
rect.right > frame.left &&
|
|
2506
|
+
rect.left < frame.right &&
|
|
2507
|
+
rect.bottom > frame.top &&
|
|
2508
|
+
rect.top < frame.bottom
|
|
2509
|
+
);
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
function craftTextParts(root, rootRect) {
|
|
2513
|
+
const candidates = [];
|
|
2514
|
+
for (const element of Array.from(root.querySelectorAll("*"))) {
|
|
2515
|
+
if (!hasOwnTextCandidate(element, true) || !isVisibleElement(element, 0.05, false)) continue;
|
|
2516
|
+
const rect = unionRects(visibleTextClientRects(element, true));
|
|
2517
|
+
if (!rect || !intersectsRect(rect, rootRect)) continue;
|
|
2518
|
+
candidates.push({ element, rect });
|
|
2519
|
+
}
|
|
2520
|
+
const clipped = candidates.filter((candidate) => hasClipPath(candidate.element));
|
|
2521
|
+
const clippedAway = new Set();
|
|
2522
|
+
if (clipped.length > 0) {
|
|
2523
|
+
const restoreHits = restoreHitTesting(root);
|
|
2524
|
+
try {
|
|
2525
|
+
for (const candidate of clipped) {
|
|
2526
|
+
if (isClippedAway(candidate.element)) clippedAway.add(candidate.element);
|
|
2527
|
+
}
|
|
2528
|
+
} finally {
|
|
2529
|
+
restoreHits();
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
return candidates
|
|
2533
|
+
.filter((candidate) => !clippedAway.has(candidate.element))
|
|
2534
|
+
.map(({ element, rect }) => {
|
|
2535
|
+
const block = readingBlock(element, root);
|
|
2536
|
+
return {
|
|
2537
|
+
key: craftKey(element),
|
|
2538
|
+
block: craftKey(block),
|
|
2539
|
+
...craftAnchor(element),
|
|
2540
|
+
blockSelector: craftAnchor(block).selector,
|
|
2541
|
+
text: textContentFor(element, true),
|
|
2542
|
+
opacity: round(opacityChain(element)),
|
|
2543
|
+
fontPx: round(renderedFontPx(element, getComputedStyle(element))),
|
|
2544
|
+
rect: { left: rect.left, top: rect.top, width: rect.width, height: rect.height },
|
|
2545
|
+
captions: isCaptionsText(element),
|
|
2546
|
+
};
|
|
2547
|
+
});
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
function isPaintedBox(element, rootRect) {
|
|
2551
|
+
if (typeof element.checkVisibility === "function" && !element.checkVisibility(PAINT_OPTIONS)) {
|
|
2552
|
+
return false;
|
|
2553
|
+
}
|
|
2554
|
+
const style = getComputedStyle(element);
|
|
2555
|
+
if (style.display === "none" || style.visibility === "hidden") return false;
|
|
2556
|
+
if (opacityChain(element) < CRAFT_PAINTED_OPACITY) return false;
|
|
2557
|
+
const rect = element.getBoundingClientRect();
|
|
2558
|
+
return rect.width >= 4 && rect.height >= 4 && intersectsRect(rect, rootRect);
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
function paintsContent(root, rootRect, parts) {
|
|
2562
|
+
if (parts.some((part) => part.opacity >= CRAFT_PAINTED_OPACITY)) return true;
|
|
2563
|
+
for (const element of Array.from(root.querySelectorAll("img, video, canvas, svg"))) {
|
|
2564
|
+
if (element.parentElement?.closest("svg")) continue;
|
|
2565
|
+
if (isPaintedBox(element, rootRect)) return true;
|
|
2566
|
+
}
|
|
2567
|
+
return false;
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
window.__hyperframesCraftSample = function collectCraftSample() {
|
|
2571
|
+
const root =
|
|
2572
|
+
document.querySelector("[data-composition-id][data-width][data-height]") ||
|
|
2573
|
+
document.querySelector("[data-composition-id]") ||
|
|
2574
|
+
document.body;
|
|
2575
|
+
const rootRect = rootRectFor(root);
|
|
2576
|
+
const parts = craftTextParts(root, rootRect);
|
|
2577
|
+
const holds = [root, ...Array.from(root.querySelectorAll("[data-hold]"))].filter((element) =>
|
|
2578
|
+
element.hasAttribute("data-hold"),
|
|
2579
|
+
);
|
|
2580
|
+
const shared = window.__hyperframesMotionSignature;
|
|
2581
|
+
return {
|
|
2582
|
+
parts,
|
|
2583
|
+
held: holds.some((element) => isPaintedBox(element, rootRect)),
|
|
2584
|
+
painted: paintsContent(root, rootRect, parts),
|
|
2585
|
+
signature: shared
|
|
2586
|
+
? shared.compositionSignature(shared.compositionRoot(), { quantize: true })
|
|
2587
|
+
: "",
|
|
2588
|
+
};
|
|
2589
|
+
};
|
|
2590
|
+
|
|
2591
|
+
// Sound the render mixes: any unmuted <audio>, and a <video> the timing compiler marks audible
|
|
2592
|
+
// (data-has-audio="true", or no data-has-audio on an unmuted video).
|
|
2593
|
+
window.__hyperframesCraftFilm = function collectCraftFilm() {
|
|
2594
|
+
let soundSources = 0;
|
|
2595
|
+
for (const media of Array.from(document.querySelectorAll("audio, video"))) {
|
|
2596
|
+
if (media.hasAttribute("muted")) continue;
|
|
2597
|
+
const declared = media.getAttribute("data-has-audio");
|
|
2598
|
+
const audible =
|
|
2599
|
+
media.tagName.toUpperCase() === "AUDIO" || declared === null || declared === "true";
|
|
2600
|
+
if (audible) soundSources += 1;
|
|
2601
|
+
}
|
|
2602
|
+
return { soundSources };
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2409
2605
|
// The frozen-sweep fingerprint (window.__hyperframesLayoutGeometry, #U10 in
|
|
2410
2606
|
// checkPipeline.ts) lives in motion-signature.browser.js, the single owner
|
|
2411
2607
|
// of "what counts as motion" shared with motion-sample.browser.js's
|
|
@@ -17,48 +17,48 @@ import "./chunk-QH3T4WI2.js";
|
|
|
17
17
|
import "./chunk-6BEFEWFB.js";
|
|
18
18
|
import {
|
|
19
19
|
serveStaticProjectHtml
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-J5XEZ24I.js";
|
|
21
|
+
import "./chunk-H6UY725W.js";
|
|
22
22
|
import "./chunk-X7MTZ4T2.js";
|
|
23
23
|
import "./chunk-XUHOIDKG.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-KQ4JEJLF.js";
|
|
25
|
+
import "./chunk-SKYPMHQC.js";
|
|
26
26
|
import "./chunk-6JR2XUEE.js";
|
|
27
27
|
import "./chunk-TTVHYD5R.js";
|
|
28
28
|
import "./chunk-U6RXZNZE.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-6GPR3G3C.js";
|
|
30
30
|
import "./chunk-ALVXFXUG.js";
|
|
31
31
|
import {
|
|
32
32
|
openSettledCompositionPage,
|
|
33
33
|
seekCompositionTimeline
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IDFNKFPL.js";
|
|
35
35
|
import "./chunk-FH7WODJH.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-TOI35GN2.js";
|
|
37
37
|
import "./chunk-MOEGCMKI.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-SQVRXHOW.js";
|
|
39
39
|
import "./chunk-DKPNNYBZ.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-G2UANIDX.js";
|
|
41
41
|
import "./chunk-K2FLNJVB.js";
|
|
42
42
|
import "./chunk-442JNXRM.js";
|
|
43
43
|
import "./chunk-EHSBBBR2.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EMSDWBG3.js";
|
|
45
|
+
import "./chunk-HDIRZGK4.js";
|
|
46
46
|
import "./chunk-XT7X6QCP.js";
|
|
47
47
|
import "./chunk-4YYJOFKS.js";
|
|
48
48
|
import "./chunk-HVW7ABXD.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-RTBSA3EA.js";
|
|
50
50
|
import "./chunk-JHOCK3DG.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-HXUTX5GR.js";
|
|
52
|
+
import "./chunk-PMMQRJDE.js";
|
|
53
53
|
import "./chunk-AWDFDFI3.js";
|
|
54
54
|
import "./chunk-P6LJ4Y32.js";
|
|
55
55
|
import "./chunk-GMECXFAN.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-7L37AB57.js";
|
|
57
57
|
import "./chunk-EOVYQ3IG.js";
|
|
58
58
|
import {
|
|
59
59
|
trackCompareSheet
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-WQLKDL35.js";
|
|
61
|
+
import "./chunk-H5SM5PJI.js";
|
|
62
62
|
import "./chunk-VWG7OQKU.js";
|
|
63
63
|
import {
|
|
64
64
|
defineCommand
|
|
@@ -73,14 +73,15 @@ import {
|
|
|
73
73
|
import "./chunk-KLIKCX6Q.js";
|
|
74
74
|
import "./chunk-EVMY7IPL.js";
|
|
75
75
|
import "./chunk-7FMUTGOH.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-I3IH5MV5.js";
|
|
77
|
+
import "./chunk-IZCW2NKT.js";
|
|
78
|
+
import "./chunk-KROXPHXX.js";
|
|
78
79
|
import "./chunk-RQVDTPGD.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-Q47FAYYK.js";
|
|
81
|
+
import "./chunk-3NPOFC43.js";
|
|
81
82
|
import "./chunk-VC76R6W2.js";
|
|
82
83
|
import "./chunk-UJKQWGFF.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-B2A56S5C.js";
|
|
84
85
|
import "./chunk-OFQWTKPW.js";
|
|
85
86
|
import "./chunk-DPVXBVLL.js";
|
|
86
87
|
import "./chunk-3GXQPCJC.js";
|
|
@@ -89,24 +90,24 @@ import "./chunk-FXMKHHPO.js";
|
|
|
89
90
|
import "./chunk-T6AGUTZJ.js";
|
|
90
91
|
import "./chunk-XT6MXC7A.js";
|
|
91
92
|
import "./chunk-4UMPIPCQ.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-Q447CX26.js";
|
|
93
94
|
import "./chunk-VAS6HQX3.js";
|
|
94
95
|
import "./chunk-6BNTGNGD.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-RUOG4VB7.js";
|
|
96
97
|
import "./chunk-MMQ52NIZ.js";
|
|
97
98
|
import "./chunk-BSQ7XANM.js";
|
|
98
99
|
import "./chunk-SDYDNHEE.js";
|
|
99
100
|
import "./chunk-IXLUTE6N.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-I5JRXMCV.js";
|
|
101
102
|
import "./chunk-W2LGJSEN.js";
|
|
102
103
|
import {
|
|
103
104
|
withMeta
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ISTRDGIX.js";
|
|
105
106
|
import "./chunk-K4WIOZFP.js";
|
|
106
107
|
import "./chunk-XUXGIA7H.js";
|
|
107
108
|
import "./chunk-WERLJGIC.js";
|
|
108
109
|
import "./chunk-ISN5GRYI.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
+
import "./chunk-I7QMXZSB.js";
|
|
110
111
|
import {
|
|
111
112
|
normalizeErrorMessage
|
|
112
113
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -291,7 +292,7 @@ function cleanupPreparedCompareVariants(variants) {
|
|
|
291
292
|
}
|
|
292
293
|
async function renderCompareVariant(variant, opts) {
|
|
293
294
|
try {
|
|
294
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
295
|
+
const { bundleToSingleHtml } = await import("./compiler-KPHYGFXL.js");
|
|
295
296
|
const html = await bundleToSingleHtml(variant.projectDir);
|
|
296
297
|
const server = await serveStaticProjectHtml(variant.projectDir, html);
|
|
297
298
|
try {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
scopeCssToComposition,
|
|
25
25
|
validateHyperframeHtmlContract,
|
|
26
26
|
wrapScopedCompositionScript
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Q47FAYYK.js";
|
|
28
28
|
import {
|
|
29
29
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
30
30
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
@@ -55,16 +55,16 @@ import {
|
|
|
55
55
|
shouldClampResolvedMediaDuration,
|
|
56
56
|
stripEmbeddedRuntimeScripts,
|
|
57
57
|
styleElementsFor
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-3NPOFC43.js";
|
|
59
59
|
import "./chunk-VC76R6W2.js";
|
|
60
60
|
import "./chunk-UJKQWGFF.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-B2A56S5C.js";
|
|
62
62
|
import "./chunk-OFQWTKPW.js";
|
|
63
63
|
import "./chunk-DPVXBVLL.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-Q447CX26.js";
|
|
65
65
|
import "./chunk-VAS6HQX3.js";
|
|
66
66
|
import "./chunk-6BNTGNGD.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-RUOG4VB7.js";
|
|
68
68
|
import {
|
|
69
69
|
checkSubCompositionUsability
|
|
70
70
|
} from "./chunk-MMQ52NIZ.js";
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
} from "./chunk-BSQ7XANM.js";
|
|
77
77
|
import "./chunk-SDYDNHEE.js";
|
|
78
78
|
import "./chunk-IXLUTE6N.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-I5JRXMCV.js";
|
|
80
80
|
import "./chunk-M2WBOQ2Q.js";
|
|
81
81
|
export {
|
|
82
82
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
downloadRender,
|
|
9
9
|
runAssetImport
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4CTNDBE3.js";
|
|
11
11
|
import {
|
|
12
12
|
FigmaClientError,
|
|
13
13
|
createFigmaClient,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
readBindings,
|
|
17
17
|
resolveBindings,
|
|
18
18
|
withFigmaErrors
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D42NU3DZ.js";
|
|
20
20
|
import "./chunk-K2FLNJVB.js";
|
|
21
21
|
import {
|
|
22
22
|
defineCommand
|
|
@@ -159,7 +159,7 @@ var component_default = defineCommand({
|
|
|
159
159
|
`${result.unresolved.length} binding(s) reference tokens not yet imported \u2014 colors baked as literals (flagged data-figma-unresolved). Run \`hyperframes figma tokens\` on the source/library file, then re-import to link them.`
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
162
|
+
const { trackFigmaImport } = await import("./telemetry-QZ6HJF4W.js");
|
|
163
163
|
trackFigmaImport({
|
|
164
164
|
phase: "component",
|
|
165
165
|
unresolvedBindings: result.unresolved.length,
|