hyperframes 0.7.42 → 0.7.43
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/README.md +5 -2
- package/dist/cli.js +947 -345
- package/dist/commands/contrast-audit.browser.js +51 -25
- package/dist/docker/Dockerfile.render +29 -23
- package/dist/hyperframe-runtime.js +26 -26
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +26 -26
- package/dist/skills/hyperframes/SKILL.md +19 -10
- package/dist/studio/assets/{index-3Li9WN_Z.js → index-C-0DP25T.js} +3 -3
- package/dist/studio/assets/{index-D4F6SvIQ.js → index-Dqugm4lQ.js} +1 -1
- package/dist/studio/assets/{index-HvOJjrGO.js → index-Drb3FuD6.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/templates/_shared/AGENTS.md +5 -2
- package/dist/templates/_shared/CLAUDE.md +5 -2
- package/package.json +2 -2
|
@@ -31,7 +31,7 @@ Atomic capabilities you load **on demand** — not full workflows; they never ow
|
|
|
31
31
|
| **Animate** — atomic motion, scene blueprints, transitions, runtime adapters (GSAP / Lottie / Three.js / Anime.js / CSS / WAAPI / TypeGPU) | `/hyperframes-animation` |
|
|
32
32
|
| **Author seek-safe keyframes** — GSAP timelines, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, 3D depth, plus `hyperframes keyframes` diagnostics | `/hyperframes-keyframes` |
|
|
33
33
|
| **Creative direction** — `frame.md` / `design.md`, palettes, typography, narration, beat planning, audio-reactive | `/hyperframes-creative` |
|
|
34
|
-
| **Media** — resolve/generate BGM, SFX, image, icon, voice; TTS voiceover, transcription, background removal, captions; cross-project reuse
|
|
34
|
+
| **Media** — resolve/generate BGM, SFX, image, icon, brand logo, voice; TTS voiceover, transcription, background removal, captions; cross-project reuse | `/media-use` |
|
|
35
35
|
| **CLI dev loop** — init, lint, validate, inspect, preview, render, publish, doctor | `/hyperframes-cli` |
|
|
36
36
|
| **Install registry blocks / components** (`hyperframes add`) | `/hyperframes-registry` |
|
|
37
37
|
| **Import Figma content** — assets, tokens, components, storyboards→reconstructed motion (REST/CLI); Motion (MCP), shaders (MCP source / native export) | `/figma` |
|
|
@@ -48,7 +48,9 @@ Routing needs to know **what the video is about** — its input and subject. If
|
|
|
48
48
|
|
|
49
49
|
- **Input** — a product (URL / brief), a general website, a GitHub PR, a topic to explain, or an existing talking-head video?
|
|
50
50
|
|
|
51
|
-
**
|
|
51
|
+
**Mode** — if the request carries an ongoing autonomous signal ("surprise me", "decide for me", "just build it"), note it and pass it into the workflow: the whole run goes autonomous and no later step re-asks. With no signal, the workflow asks the mode as its first brief question. Default is collaborative. (`/motion-graphics` is autonomous by design.) Semantics: `hyperframes-core` → `references/brief-contract.md`.
|
|
52
|
+
|
|
53
|
+
**Spec defaults — state, don't ask** (they never change the route): **aspect** derives from the destination — social feed (X / LinkedIn / Instagram) → square **1:1**, TikTok / Reels / Shorts → **9:16**, YouTube / embed / unknown → **16:9**; narration / caption **language** = the user's. The chosen workflow re-confirms its own specifics at its first step (field semantics: `hyperframes-core` → `references/brief-contract.md`).
|
|
52
54
|
|
|
53
55
|
## Workflow cheat-sheet
|
|
54
56
|
|
|
@@ -75,23 +77,30 @@ Routing needs to know **what the video is about** — its input and subject. If
|
|
|
75
77
|
- **A presentation / pitch deck / interactive deck** (discrete slides, navigation, presenter mode) → `/slideshow` — output is a navigable deck, not a rendered video. An explicit "slideshow" request proceeds directly; an adjacent trigger ("deck / slides / presentation / convert this page") makes `/slideshow` confirm it's a slideshow before authoring, and switch to the appropriate non-slideshow workflow if not.
|
|
76
78
|
- **Length is a guide, not a gate** — intent picks the workflow; go to `/general-video` only when the piece is clearly longer than ~3 min, or is a static / loop / custom format.
|
|
77
79
|
|
|
78
|
-
##
|
|
80
|
+
## After picking — guarantee the workflow is installed
|
|
81
|
+
|
|
82
|
+
Once you've picked a workflow, run the update step **before reading its skill** — workflow skills install on demand, so the one you matched may not be on this machine yet (its trigger phrases live in this router precisely so you can route to skills that aren't installed):
|
|
79
83
|
|
|
80
|
-
|
|
84
|
+
```bash
|
|
85
|
+
npx hyperframes skills update <workflow-name>
|
|
86
|
+
```
|
|
81
87
|
|
|
82
|
-
|
|
83
|
-
- **All workflows at once:** `npx skills add heygen-com/hyperframes --all` (core + every workflow, skips the picker).
|
|
88
|
+
Bare name, no leading `/` — e.g. `npx hyperframes skills update pr-to-video`. Naming a skill guarantees it **plus the core domain skills** every workflow depends on are installed and current: a fast no-op when everything already is, a targeted install of just the missing/stale skills when not — never the full set. Then read the workflow's skill and continue. The same command works for an on-demand domain skill from the capability map (e.g. `npx hyperframes skills update figma`).
|
|
84
89
|
|
|
85
|
-
|
|
90
|
+
If the command fails, surface its error to the user instead of improvising the workflow from memory. Manual fallback (no HyperFrames CLI available): `npx skills add heygen-com/hyperframes --skill <workflow-name>`; everything at once: `npx skills add heygen-com/hyperframes --all`.
|
|
86
91
|
|
|
87
92
|
## Keeping skills current
|
|
88
93
|
|
|
89
|
-
HyperFrames skills are versioned
|
|
94
|
+
HyperFrames skills are versioned and install **lazily**: the core set eagerly, the workflows on first use.
|
|
95
|
+
|
|
96
|
+
- **Core set** — this router, the `hyperframes-*` domain skills, and `media-use`. `npx hyperframes init` (which every creation workflow runs when scaffolding) checks GitHub and refreshes the core set plus anything else already installed. It never _expands_ the install — workflow skills you haven't used are not pulled. Re-running init on an up-to-date machine is a no-op; offline (or rate-limited) it degrades gracefully and never hard-fails. The `--skip-skills` flag is currently neutered (a temporary measure while the skills.sh registry catches up); CI/tests opt out via the `HYPERFRAMES_SKIP_SKILLS=1` env var.
|
|
97
|
+
- **Workflow skills** — installed and refreshed at trigger time by the update step above (`skills update <workflow-name>`).
|
|
90
98
|
|
|
91
99
|
If a task is behaving unexpectedly, or before a long build, confirm the installed skills are current:
|
|
92
100
|
|
|
93
|
-
- **Check:** `npx hyperframes skills check` (add `--json` for a machine-readable verdict; exits non-zero when anything is outdated
|
|
94
|
-
- **Update:** `npx hyperframes skills update` —
|
|
101
|
+
- **Check:** `npx hyperframes skills check` (add `--json` for a machine-readable verdict; exits non-zero when anything installed is outdated or the core set is incomplete — workflow skills not yet installed are reported as _available on demand_, not as a failure).
|
|
102
|
+
- **Update:** `npx hyperframes skills update` — refreshes the core set plus everything installed to the latest, and removes skills no longer published. Without names it never installs workflows you haven't used; naming skills (`skills update <name…>`) additionally installs those.
|
|
103
|
+
- **Full set, explicitly:** `npx hyperframes skills` (or `npx skills add heygen-com/hyperframes --all`).
|
|
95
104
|
|
|
96
105
|
The CLI also surfaces a one-line reminder when a `render` / `lint` / `validate` run detects stale skills.
|
|
97
106
|
|