mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 17:27:09 +00:00
* feat(cli): open scaffolded agent instructions with what hyperframes is Agents asked to make a video choose from what is on disk. The AGENTS.md and CLAUDE.md that init writes now open with a plain statement of what the project is and that `hyperframes render` replaces a hand-built headless-browser and ffmpeg pipeline, and list `snapshot` beside preview, check, render and docs. A test pins that init writes both files from the template, and the CLI docs now say init creates them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: describe the npm packages in plain words npm search ranks on description and keywords. The hyperframes package now says what it does ("Make videos with code and AI agents: write HTML, render MP4. Open source.") and lists the words people and agents search for. Core and studio had empty descriptions; producer and player gain keywords too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(readme): give coding agents a one-line start The opening paragraph said what HyperFrames is but not how an agent starts. Add one line: install the skills, then ask the agent for a video. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cli): keep the scaffolded agent intro to what the folder is Inside a scaffolded project the agent already uses the CLI, so telling it not to build its own capture pipeline there adds nothing. The intro now only says what the folder is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: keep npm metadata to the CLI package Internal packages are not searched on npm, and the init test only re-checked the template's own text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: context7.json so agents get the docs and the composition rules Indexes docs, skills, registry and examples only (no test fixtures), and hands agents five rules from AGENTS.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
1.2 KiB
JSON
14 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://context7.com/schema/context7.json",
|
|
"folders": ["docs", "skills", "registry", "examples"],
|
|
"excludeFolders": ["docs/public", "**/tests", "**/test", "**/fixtures", "**/node_modules"],
|
|
"excludeFiles": ["weekly-updates.mdx"],
|
|
"rules": [
|
|
"Install the HyperFrames agent skills before writing a composition: `npx skills add heygen-com/hyperframes`, or in Claude Code `claude plugin marketplace add heygen-com/hyperframes` then `claude plugin install hyperframes@hyperframes`.",
|
|
"A composition is an HTML file whose root element has data-composition-id, data-width, data-height and data-duration. Timed elements use class=\"clip\" with data-start and data-duration.",
|
|
"Register one paused GSAP root timeline per composition on window.__timelines[\"<composition-id>\"]. The runtime seeks it frame by frame, so never play it yourself.",
|
|
"Rendering is deterministic: no Date.now(), no unseeded Math.random(), no network fetches at render time.",
|
|
"Check before rendering: `npx hyperframes lint`, `npx hyperframes check`, and `npx hyperframes snapshot --at 1,3,5` for frames. Make the MP4 with `npx hyperframes render --output video.mp4`."
|
|
]
|
|
}
|