Loading...
Loading...
Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.
npx skill4agent add heygen-com/hyperframes hyperframes-registryhyperframes add <name>data-composition-srchyperframes addhyperframes.jsonhyperframes addhyperframes add data-chart # install a block
hyperframes add grain-overlay # install a component
hyperframes add shimmer-sweep --dir . # target a specific project
hyperframes add data-chart --json # machine-readable output
hyperframes add data-chart --no-clipboard # skip clipboard (CI/headless)data-composition-iddata-startdata-track-indexhyperframes addhyperframes init <dir> --example <name>compositions/<name>.htmlcompositions/components/<name>.htmlhyperframes.json{
"registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
"paths": {
"blocks": "compositions",
"components": "compositions/components",
"assets": "assets"
}
}data-composition-srcindex.html<div
data-composition-id="data-chart"
data-composition-src="compositions/data-chart.html"
data-start="2"
data-duration="15"
data-track-index="1"
data-width="1920"
data-height="1080"
></div>data-composition-srcdata-composition-iddata-startdata-durationdata-widthdata-heightdata-track-indexcompositions/components/grain-overlay.html<div data-composition-id="..."><style><script># Read the registry manifest
curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.jsonregistry-item.json