You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(skills): add hyperframes-cli skill for CLI workflow guidance
Adds a new skill that teaches AI agents how to use the HyperFrames CLI
(init, lint, dev, render, doctor). Previously, agents had no way to
discover the CLI — the compose-video skill only covered HTML authoring.
This led to agents searching for binaries, finding the monorepo, and
running bun run studio manually instead of using npx hyperframes dev.
Also registers the skill in init.ts so new projects get it bundled
alongside hyperframes-compose and hyperframes-captions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor(cli): rename dev command to preview
The command starts a preview server — "preview" describes what users
are doing more accurately than "dev". Updates the command name, file
name, all CLI references, docs, skills, and template CLAUDE.md.
22 files updated across CLI source, docs, skills, and templates.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(skills): replace stale dev reference with preview in CLI skill
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(docs): catch remaining dev references missed in rename
- testing-local-changes.mdx: two inline command examples
- troubleshooting.mdx: anchor link #dev → #preview, "dev server" → "preview server"
- cli.mdx: "dev server" → "preview server"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ cd my-video
25
25
Then open the project with your AI coding agent (Claude Code, Cursor, etc.) — it has HyperFrames skills installed and knows how to create and edit compositions.
26
26
27
27
```bash
28
-
npx hyperframes dev# preview in browser (live reload)
28
+
npx hyperframes preview# preview in browser (live reload)
Copy file name to clipboardExpand all lines: docs/contributing/testing-local-changes.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Testing Local CLI Changes
3
3
description: How to test unreleased CLI changes outside the monorepo using your local build.
4
4
---
5
5
6
-
When you modify the CLI or any package it bundles (core, engine, producer, studio), you need to test those changes against real projects _outside_ the monorepo — the same way an end user would run `hyperframes dev`.
6
+
When you modify the CLI or any package it bundles (core, engine, producer, studio), you need to test those changes against real projects _outside_ the monorepo — the same way an end user would run `hyperframes preview`.
7
7
8
8
## Prerequisites
9
9
@@ -37,7 +37,7 @@ Now use `hyperframes` normally in any directory:
37
37
38
38
```bash
39
39
cd~/my-video-project
40
-
hyperframes dev.
40
+
hyperframes preview.
41
41
```
42
42
43
43
**After every `pnpm build`** the linked binary is already up to date — no re-linking needed.
@@ -58,7 +58,7 @@ If you don't want to touch your global `$PATH`, add a shell alias or call `node`
58
58
alias hyperframes="node /path/to/hyperframes-oss/packages/cli/dist/cli.js"
Copy file name to clipboardExpand all lines: docs/guides/troubleshooting.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,12 @@ If your issue is about a specific coding mistake (animations not working, video
61
61
</Accordion>
62
62
63
63
<Accordiontitle="Preview not updating">
64
-
Make sure you are editing the `index.html` in the project directory. The [preview server](/packages/cli#dev) watches for file changes and auto-reloads.
64
+
Make sure you are editing the `index.html` in the project directory. The [preview server](/packages/cli#preview) watches for file changes and auto-reloads.
65
65
66
66
If changes still do not appear:
67
67
68
-
1. Check the terminal for errors from the dev server
69
-
2. Stop and restart `npx hyperframes dev`
68
+
1. Check the terminal for errors from the preview server
69
+
2. Stop and restart `npx hyperframes preview`
70
70
3. Hard-refresh the browser: **Ctrl+Shift+R** (Windows/Linux) or **Cmd+Shift+R** (macOS)
71
71
4. Clear the browser cache if CSS changes are not reflected
Copy file name to clipboardExpand all lines: docs/introduction.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Run `npx hyperframes render --output demo.mp4` and this produces an MP4 with det
54
54
Define your video as an HTML document. Each element gets data attributes for timing (`data-start`, `data-duration`) and layout (`data-track-index`). Add animations with GSAP, Lottie, CSS transitions, or any seekable runtime via the Frame Adapter pattern.
55
55
</Step>
56
56
<Steptitle="Preview in the browser">
57
-
Run `npx hyperframes dev` to open a live preview in your browser. Edit your HTML and see changes instantly — no build step, no compilation.
57
+
Run `npx hyperframes preview` to open a live preview in your browser. Edit your HTML and see changes instantly — no build step, no compilation.
58
58
</Step>
59
59
<Steptitle="Render to MP4">
60
60
Run `npx hyperframes render --output output.mp4` to produce a final video. The engine seeks each frame in headless Chrome, captures it with `beginFrame`, and pipes the result through FFmpeg. Run locally or in Docker for fully reproducible output.
Copy file name to clipboardExpand all lines: docs/packages/cli.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ This is suppressed in CI environments, non-TTY shells, and when `HYPERFRAMES_NO_
106
106
Start the development server with live hot reload:
107
107
```bash
108
108
cd my-video
109
-
npx hyperframes dev
109
+
npx hyperframes preview
110
110
```
111
111
The Hyperframes Studio opens in your browser. Edit `index.html` and the preview updates instantly.
112
112
</Step>
@@ -227,23 +227,23 @@ This is suppressed in CI environments, non-TTY shells, and when `HYPERFRAMES_NO_
227
227
For music or noisy audio, use `--model medium.en` for better accuracy. For the best results with production content, transcribe via the OpenAI or Groq Whisper API and import the JSON.
228
228
</Tip>
229
229
</Tab>
230
-
<Tabtitle="Develop">
231
-
### `dev`
230
+
<Tabtitle="Preview">
231
+
### `preview`
232
232
233
233
Start a live preview server with hot reload:
234
234
235
235
```bash
236
-
npx hyperframes dev [dir]
237
-
npx hyperframes dev --port 4567
236
+
npx hyperframes preview [dir]
237
+
npx hyperframes preview --port 4567
238
238
```
239
239
240
240
| Flag | Description |
241
241
|------|-------------|
242
-
|`--port`| Port to run the dev server on (default: 3002) |
242
+
|`--port`| Port to run the preview server on (default: 3002) |
243
243
244
244
Opens your composition in the Hyperframes Studio with live preview. Edits to `index.html` and any referenced sub-compositions are reflected automatically. The preview uses the same Hyperframes runtime as production rendering, so what you see is what you get.
245
245
246
-
The dev server runs in three modes, auto-detected:
246
+
The preview server runs in three modes, auto-detected:
247
247
248
248
1.**Embedded mode** (default for `npx`) — runs a standalone server with the studio bundled in the CLI. Zero extra dependencies.
249
249
2.**Local studio mode** — if `@hyperframes/studio` is installed in your project's `node_modules`, spawns Vite with full HMR for faster iteration.
@@ -482,7 +482,7 @@ This is suppressed in CI environments, non-TTY shells, and when `HYPERFRAMES_NO_
482
482
The rendering pipeline the CLI calls under the hood. Use directly for programmatic rendering.
- Extend the editor with custom panels, toolbars, or integrations
18
18
19
19
**Use a different package if you want to:**
20
-
- Preview compositions during development — use the [CLI](/packages/cli) (`npx hyperframes dev`), which launches the studio for you
20
+
- Preview compositions during development — use the [CLI](/packages/cli) (`npx hyperframes preview`), which launches the studio for you
21
21
- Render compositions to MP4 — use the [CLI](/packages/cli) or [producer](/packages/producer)
22
22
- Capture frames programmatically — use the [engine](/packages/engine)
23
23
24
24
<Tip>
25
-
**For most development workflows, you do not need to install the studio directly.** Running `npx hyperframes dev` starts the studio automatically with hot reload. Install `@hyperframes/studio` only if you are embedding the editor into your own application.
25
+
**For most development workflows, you do not need to install the studio directly.** Running `npx hyperframes preview` starts the studio automatically with hot reload. Install `@hyperframes/studio` only if you are embedding the editor into your own application.
26
26
</Tip>
27
27
28
28
## Running the Studio
29
29
30
30
### Via the CLI (recommended)
31
31
32
32
```bash
33
-
npx hyperframes dev
33
+
npx hyperframes preview
34
34
```
35
35
36
36
This starts the studio development server, opens your composition in the browser, and watches for file changes. This is the easiest way to get a live preview.
0 commit comments