mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* test(studio): caption overlay shows and edits words in a sealed preview * fix(studio): caption editing reads and moves words through the editing port in a sealed preview * style(studio): format the caption port change and trim its comments * fix(studio): keep the caption port change inside its files and under the size checks * fix(studio): keep late caption frame answers from writing after Studio moves on A caption detection, nudge or drag still waiting on a sealed preview no longer writes after its effect is gone, and a frame-reported word transform past the frame's own write bound is refused instead of stored. Each has a test against the real editing agent that holds the frame's answer open. * refactor(studio): move the sealed caption nudge queue next to the frame word helpers Keeps the caption overlay under the studio file size limit and its comment share at the base. No behaviour change. * refactor(studio): keep the sealed caption nudge request inside its helper file
@hyperframes/studio
Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.
Install
npm install @hyperframes/studio
What it does
The studio is a React application with:
- Visual timeline — drag, resize, and arrange elements on tracks
- Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
- Live preview — see changes in real time as you edit
- Composition inspector — view and modify element properties
Development
The studio is embedded in the hyperframes preview command. To develop the studio UI itself:
cd packages/studio
bun run dev # Start Vite dev server
bun run build # Build for production
bun run typecheck # Type-check
Tech stack
- React 19, Zustand 4/5 (state management; development uses Zustand 5)
- CodeMirror 6 (editor)
- Tailwind CSS (styling)
- Vite (bundler)
- Phosphor Icons
Documentation
Full documentation: hyperframes.heygen.com/packages/studio
Related packages
@hyperframes/core— types and parsers used by the editorhyperframes— CLI that serves the studio viahyperframes preview