mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
* fix(share): ask before sharing from Studio, naming the review it changes A composition's script runs on Studio's origin by default, and a received folder's .hyperframes/review.json can point Studio at an existing review. Every share action except sign-in now asks the person first, naming the review (its link), who can open it, the workspace and whether project files are uploaded. The request carries the manage link of the review that was shown, and the server refuses it with share_target_changed when the project's review no longer matches, so nothing is shared or changed. * fix(share): bind each Studio share action to the review id the person confirmed Studio now gets the id and title of the review an action reaches, including a folder whose record names a review it never opened (a received folder can ship one). The confirmation names that review, its workspace and who can open it, and says plainly when a folder arrives already linked. Actions carry the confirmed id; a missing one is refused as confirmation_required and a different one as share_target_changed, and after that refusal Studio drops the earlier choice. The docs describe the confirmation and that project files are included only when chosen. * fix(share): show the review title on one quoted line in the confirmation * fix(share): say a linked share also sets who can open it, and check the new state fields * fix(share): separate the question from the details and say when a title is unknown * docs(share): name the review record without a path the citation check reads as a 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