hyperframes 0.7.58 → 0.7.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4334 -2360
- package/dist/commands/layout-audit.browser.js +54 -30
- package/dist/hyperframe-runtime.js +27 -27
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +27 -27
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/skills/hyperframes/SKILL.md +103 -124
- package/dist/skills/hyperframes/references/capability-menu.md +47 -0
- package/dist/skills/hyperframes/references/pitch-round.md +40 -0
- package/dist/skills/hyperframes/references/route-briefs.md +85 -0
- package/dist/skills/hyperframes/references/skill-lifecycle.md +33 -0
- package/dist/skills/hyperframes/references/workflow-catalog.md +70 -0
- package/dist/skills/hyperframes-cli/SKILL.md +99 -109
- package/dist/skills/hyperframes-cli/references/beats.md +19 -0
- package/dist/skills/hyperframes-cli/references/cloud.md +8 -3
- package/dist/skills/hyperframes-cli/references/cloudrun.md +62 -0
- package/dist/skills/hyperframes-cli/references/compare-and-batch.md +105 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +77 -24
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +15 -1
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -0
- package/dist/studio/assets/{hyperframes-player-CtTDO63S.js → hyperframes-player-3XTTaVNf.js} +1 -1
- package/dist/studio/assets/{index-C47jAC3Q.js → index-D6etaey-.js} +1 -1
- package/dist/studio/assets/index-DXbu6IPT.css +1 -0
- package/dist/studio/assets/{index-DeQPzqwH.js → index-Dh_WhagG.js} +1 -1
- package/dist/studio/assets/index-cH6NfVV_.js +426 -0
- package/dist/studio/index.d.ts +12 -3
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +13755 -8627
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/styles/tailwind-preset.d.ts +5 -0
- package/dist/studio/styles/tailwind-preset.js +8 -1
- package/dist/studio/styles/tailwind-preset.js.map +1 -1
- package/dist/templates/_shared/AGENTS.md +5 -4
- package/dist/templates/_shared/CLAUDE.md +5 -4
- package/package.json +2 -2
- package/dist/studio/assets/index-B_UvTX3E.js +0 -423
- package/dist/studio/assets/index-uahwWkgw.css +0 -1
|
@@ -12,11 +12,14 @@ declare namespace studioPreset {
|
|
|
12
12
|
}
|
|
13
13
|
let panel: {
|
|
14
14
|
bg: string;
|
|
15
|
+
"bg-inset": string;
|
|
15
16
|
input: string;
|
|
16
17
|
surface: string;
|
|
17
18
|
hover: string;
|
|
18
19
|
border: string;
|
|
19
20
|
"border-input": string;
|
|
21
|
+
hairline: string;
|
|
22
|
+
"text-0": string;
|
|
20
23
|
"text-1": string;
|
|
21
24
|
"text-2": string;
|
|
22
25
|
"text-3": string;
|
|
@@ -24,6 +27,8 @@ declare namespace studioPreset {
|
|
|
24
27
|
"text-5": string;
|
|
25
28
|
accent: string;
|
|
26
29
|
danger: string;
|
|
30
|
+
media: string;
|
|
31
|
+
container: string;
|
|
27
32
|
};
|
|
28
33
|
}
|
|
29
34
|
}
|
|
@@ -13,18 +13,25 @@ var studioPreset = {
|
|
|
13
13
|
},
|
|
14
14
|
panel: {
|
|
15
15
|
bg: "#0C0C0E",
|
|
16
|
+
// Open inspector-section body — slightly lighter than headers (bg)
|
|
17
|
+
// so the recessed scrollable region reads distinct.
|
|
18
|
+
"bg-inset": "#121214",
|
|
16
19
|
input: "#161618",
|
|
17
20
|
surface: "#18181B",
|
|
18
21
|
hover: "#27272A",
|
|
19
22
|
border: "#1E1E1E",
|
|
20
23
|
"border-input": "#27272A",
|
|
24
|
+
hairline: "#1A1A1C",
|
|
25
|
+
"text-0": "#FAFAFA",
|
|
21
26
|
"text-1": "#E4E4E7",
|
|
22
27
|
"text-2": "#A1A1AA",
|
|
23
28
|
"text-3": "#71717A",
|
|
24
29
|
"text-4": "#52525B",
|
|
25
30
|
"text-5": "#3F3F46",
|
|
26
31
|
accent: "#3CE6AC",
|
|
27
|
-
danger: "#EF4444"
|
|
32
|
+
danger: "#EF4444",
|
|
33
|
+
media: "#00E3FF",
|
|
34
|
+
container: "#F5A623"
|
|
28
35
|
}
|
|
29
36
|
}
|
|
30
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/styles/tailwind-preset.shared.js","../../src/styles/tailwind-preset.ts"],"sourcesContent":["const studioPreset = {\n theme: {\n extend: {\n colors: {\n studio: {\n bg: \"#0a0a0a\",\n surface: \"#141414\",\n border: \"#262626\",\n text: \"#e5e5e5\",\n muted: \"#737373\",\n accent: \"#3CE6AC\",\n },\n panel: {\n bg: \"#0C0C0E\",\n input: \"#161618\",\n surface: \"#18181B\",\n hover: \"#27272A\",\n border: \"#1E1E1E\",\n \"border-input\": \"#27272A\",\n \"text-1\": \"#E4E4E7\",\n \"text-2\": \"#A1A1AA\",\n \"text-3\": \"#71717A\",\n \"text-4\": \"#52525B\",\n \"text-5\": \"#3F3F46\",\n accent: \"#3CE6AC\",\n danger: \"#EF4444\",\n },\n },\n },\n },\n plugins: [],\n};\n\nexport default studioPreset;\n","import studioPreset from \"./tailwind-preset.shared.js\";\n\nexport default studioPreset;\n"],"mappings":";AAAA,IAAM,eAAe;AAAA,EACnB,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,QAAQ;AAAA,UACN,IAAI;AAAA,UACJ,SAAS;AAAA,UACT,QAAQ;AAAA,UACR,MAAM;AAAA,UACN,OAAO;AAAA,UACP,QAAQ;AAAA,QACV;AAAA,QACA,OAAO;AAAA,UACL,IAAI;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../src/styles/tailwind-preset.shared.js","../../src/styles/tailwind-preset.ts"],"sourcesContent":["const studioPreset = {\n theme: {\n extend: {\n colors: {\n studio: {\n bg: \"#0a0a0a\",\n surface: \"#141414\",\n border: \"#262626\",\n text: \"#e5e5e5\",\n muted: \"#737373\",\n accent: \"#3CE6AC\",\n },\n panel: {\n bg: \"#0C0C0E\",\n // Open inspector-section body — slightly lighter than headers (bg)\n // so the recessed scrollable region reads distinct.\n \"bg-inset\": \"#121214\",\n input: \"#161618\",\n surface: \"#18181B\",\n hover: \"#27272A\",\n border: \"#1E1E1E\",\n \"border-input\": \"#27272A\",\n hairline: \"#1A1A1C\",\n \"text-0\": \"#FAFAFA\",\n \"text-1\": \"#E4E4E7\",\n \"text-2\": \"#A1A1AA\",\n \"text-3\": \"#71717A\",\n \"text-4\": \"#52525B\",\n \"text-5\": \"#3F3F46\",\n accent: \"#3CE6AC\",\n danger: \"#EF4444\",\n media: \"#00E3FF\",\n container: \"#F5A623\",\n },\n },\n },\n },\n plugins: [],\n};\n\nexport default studioPreset;\n","import studioPreset from \"./tailwind-preset.shared.js\";\n\nexport default studioPreset;\n"],"mappings":";AAAA,IAAM,eAAe;AAAA,EACnB,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,QAAQ;AAAA,QACN,QAAQ;AAAA,UACN,IAAI;AAAA,UACJ,SAAS;AAAA,UACT,QAAQ;AAAA,UACR,MAAM;AAAA,UACN,OAAO;AAAA,UACP,QAAQ;AAAA,QACV;AAAA,QACA,OAAO;AAAA,UACL,IAAI;AAAA;AAAA;AAAA,UAGJ,YAAY;AAAA,UACZ,OAAO;AAAA,UACP,SAAS;AAAA,UACT,OAAO;AAAA,UACP,QAAQ;AAAA,UACR,gBAAgB;AAAA,UAChB,UAAU;AAAA,UACV,UAAU;AAAA,UACV,UAAU;AAAA,UACV,UAAU;AAAA,UACV,UAAU;AAAA,UACV,UAAU;AAAA,UACV,UAAU;AAAA,UACV,QAAQ;AAAA,UACR,QAAQ;AAAA,UACR,OAAO;AAAA,UACP,WAAW;AAAA,QACb;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS,CAAC;AACZ;AAEA,IAAO,iCAAQ;;;ACtCf,IAAO,0BAAQ;","names":[]}
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
**Always invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `window.__timelines` registration, `data-*` attribute semantics, shader-compatible CSS rules) that are NOT in generic web docs. Skipping them produces broken compositions.
|
|
6
6
|
|
|
7
|
-
**Doing anything with HyperFrames?** Start at `/hyperframes` — it tells you what HyperFrames can do and which skill or workflow handles your intent (make a video, TTS / BGM, prep footage, author / animate, render, install blocks), and routes every "make me a…" request (a video, a deck, a composition port) to the right workflow. Read it first, especially when there's no project context to orient you. The workflows it routes to:
|
|
7
|
+
**Doing anything with HyperFrames?** Start at `/hyperframes` — it tells you what HyperFrames can do and which skill or workflow handles your intent (make a video, TTS / BGM, prep footage, author / animate, render, install blocks), confirms your brief up front (the intent layer), and routes every "make me a…" request (a video, a deck, a composition port) to the right workflow. Read it first, especially when there's no project context to orient you. The workflows it routes to:
|
|
8
8
|
|
|
9
|
-
- `/product-launch-video` —
|
|
10
|
-
- `/website-to-video` — a **general** website / URL → a video _of_ the site (tour / showcase / social clip from captured visuals); a product **launch / promo** is `/product-launch-video`.
|
|
9
|
+
- `/product-launch-video` — any **website** URL or brief / script → a product launch / SaaS / promo video, or a site tour / showcase featuring the site's own captured visuals.
|
|
11
10
|
- `/faceless-explainer` — arbitrary text (topic / article / notes), **no URL, no website capture** → 60-90s faceless explainer.
|
|
12
11
|
- `/embedded-captions` — an existing talking-head video (MP4) → the same footage with captions / subtitles added (rail + embed, or pure-cinematic embed); the footage itself is untouched.
|
|
13
12
|
- `/talking-head-recut` — an existing talking-head / interview / podcast video (MP4) → the same footage **packaged with designed graphic overlays** (kinetic titles, lower-thirds, data callouts, pull-quotes, side panels, pip) synced to the transcript; the clip plays unchanged underneath. (Plain captions/subtitles → `/embedded-captions`.)
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
- `/motion-graphics` — a short (typically under 10s) design-led **motion graphic**, motion-is-the-message, no narration: kinetic type, a stat / number count-up, a chart, a logo sting, a lower-third / overlay, or an animated tweet / headline / captured-page highlight; rendered to MP4 or a transparent overlay. Longer / narrated / custom → `/general-video`.
|
|
16
15
|
- `/music-to-video` — a **music track** (audio file, or video to pull audio from) → beat-synced video (lyric / slideshow / kinetic promo). Music drives pacing; user-supplied images / videos are cut onto the same beat grid.
|
|
17
16
|
- `/slideshow` — a **presentation / pitch deck / interactive deck** — discrete slides, fragment reveals, branching, hotspot navigation, presenter mode. Output is a navigable deck, not a rendered video.
|
|
18
|
-
- `/general-video` — fallback for any other video (title card, longer brand / sizzle reel, multi-scene montage, static loop, custom composition); the original hyperframes authoring flow, any length.
|
|
17
|
+
- `/general-video` — fallback for any other video (title card, longer brand / sizzle reel, multi-scene montage, static loop, custom composition) and the home of **companion mode** — co-create with the full HyperFrames toolbox; the original hyperframes authoring flow, any length.
|
|
19
18
|
|
|
20
19
|
**Porting an existing composition?** `/remotion-to-hyperframes` translates a Remotion (React) composition into HyperFrames HTML — a source migration, separate from the creation workflows above.
|
|
21
20
|
|
|
@@ -45,6 +44,8 @@ npx hyperframes docs <topic> # reference docs in terminal
|
|
|
45
44
|
> In Claude Code, always run it with `run_in_background: true`. Never run it as a foreground
|
|
46
45
|
> command — it will time out and the server will die, breaking the browser preview.
|
|
47
46
|
|
|
47
|
+
> **Pinned CLI version.** These scripts pin an exact `hyperframes@X.Y.Z` so this project re-renders identically over time. Weeks later that pin lags fixes shipped since. To move up: `npx hyperframes@latest upgrade --project --check` (shows the delta), then `npx hyperframes@latest upgrade --project` to rewrite the pins. Always unpinned — the pinned script re-runs the old version against itself.
|
|
48
|
+
|
|
48
49
|
## Documentation
|
|
49
50
|
|
|
50
51
|
**For quick reference**, use the local CLI docs command (no network required):
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
**Always invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `window.__timelines` registration, `data-*` attribute semantics, shader-compatible CSS rules) that are NOT in generic web docs. Skipping them produces broken compositions.
|
|
6
6
|
|
|
7
|
-
**Doing anything with HyperFrames?** Start at `/hyperframes` — it tells you what HyperFrames can do and which skill or workflow handles your intent (make a video, TTS / BGM, prep footage, author / animate, render, install blocks), and routes every "make me a…" request (a video, a deck, a composition port) to the right workflow. Read it first, especially when there's no project context to orient you. The workflows it routes to:
|
|
7
|
+
**Doing anything with HyperFrames?** Start at `/hyperframes` — it tells you what HyperFrames can do and which skill or workflow handles your intent (make a video, TTS / BGM, prep footage, author / animate, render, install blocks), confirms your brief up front (the intent layer), and routes every "make me a…" request (a video, a deck, a composition port) to the right workflow. Read it first, especially when there's no project context to orient you. The workflows it routes to:
|
|
8
8
|
|
|
9
|
-
- `/product-launch-video` —
|
|
10
|
-
- `/website-to-video` — a **general** website / URL → a video _of_ the site (tour / showcase / social clip from captured visuals); a product **launch / promo** is `/product-launch-video`.
|
|
9
|
+
- `/product-launch-video` — any **website** URL or brief / script → a product launch / SaaS / promo video, or a site tour / showcase featuring the site's own captured visuals.
|
|
11
10
|
- `/faceless-explainer` — arbitrary text (topic / article / notes), **no URL, no website capture** → 60-90s faceless explainer.
|
|
12
11
|
- `/embedded-captions` — an existing talking-head video (MP4) → the same footage with captions / subtitles added (rail + embed, or pure-cinematic embed); the footage itself is untouched.
|
|
13
12
|
- `/talking-head-recut` — an existing talking-head / interview / podcast video (MP4) → the same footage **packaged with designed graphic overlays** (kinetic titles, lower-thirds, data callouts, pull-quotes, side panels, pip) synced to the transcript; the clip plays unchanged underneath. (Plain captions/subtitles → `/embedded-captions`.)
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
- `/motion-graphics` — a short (typically under 10s) design-led **motion graphic**, motion-is-the-message, no narration: kinetic type, a stat / number count-up, a chart, a logo sting, a lower-third / overlay, or an animated tweet / headline / captured-page highlight; rendered to MP4 or a transparent overlay. Longer / narrated / custom → `/general-video`.
|
|
16
15
|
- `/music-to-video` — a **music track** (audio file, or video to pull audio from) → beat-synced video (lyric / slideshow / kinetic promo). Music drives pacing; user-supplied images / videos are cut onto the same beat grid.
|
|
17
16
|
- `/slideshow` — a **presentation / pitch deck / interactive deck** — discrete slides, fragment reveals, branching, hotspot navigation, presenter mode. Output is a navigable deck, not a rendered video.
|
|
18
|
-
- `/general-video` — fallback for any other video (title card, longer brand / sizzle reel, multi-scene montage, static loop, custom composition); the original hyperframes authoring flow, any length.
|
|
17
|
+
- `/general-video` — fallback for any other video (title card, longer brand / sizzle reel, multi-scene montage, static loop, custom composition) and the home of **companion mode** — co-create with the full HyperFrames toolbox; the original hyperframes authoring flow, any length.
|
|
19
18
|
|
|
20
19
|
**Porting an existing composition?** `/remotion-to-hyperframes` translates a Remotion (React) composition into HyperFrames HTML — a source migration, separate from the creation workflows above.
|
|
21
20
|
|
|
@@ -45,6 +44,8 @@ npx hyperframes docs <topic> # reference docs in terminal
|
|
|
45
44
|
> In Claude Code, always run it with `run_in_background: true`. Never run it as a foreground
|
|
46
45
|
> command — it will time out and the server will die, breaking the browser preview.
|
|
47
46
|
|
|
47
|
+
> **Pinned CLI version.** These scripts pin an exact `hyperframes@X.Y.Z` so this project re-renders identically over time. Weeks later that pin lags fixes shipped since. To move up: `npx hyperframes@latest upgrade --project --check` (shows the delta), then `npx hyperframes@latest upgrade --project` to rewrite the pins. Always unpinned — the pinned script re-runs the old version against itself.
|
|
48
|
+
|
|
48
49
|
## Documentation
|
|
49
50
|
|
|
50
51
|
**For quick reference**, use the local CLI docs command (no network required):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperframes",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.60",
|
|
4
4
|
"description": "HyperFrames CLI — create, preview, and render HTML video compositions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"fontkit": "^2.0.4",
|
|
39
39
|
"giget": "^3.2.0",
|
|
40
40
|
"hono": "^4.0.0",
|
|
41
|
-
"onnxruntime-node": "
|
|
41
|
+
"onnxruntime-node": "1.23.2",
|
|
42
42
|
"open": "^10.0.0",
|
|
43
43
|
"postcss": "^8.5.8",
|
|
44
44
|
"prettier": "^3.8.1",
|