hyperframes 0.1.8 → 0.1.10

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.
Files changed (22) hide show
  1. package/dist/cli.js +669 -289
  2. package/dist/skills/{captions → hyperframes-captions}/SKILL.md +1 -1
  3. package/dist/skills/{compose-video → hyperframes-compose}/SKILL.md +1 -1
  4. package/dist/templates/_shared/CLAUDE.md +21 -9
  5. package/dist/templates/play-mode/index.html +1 -1
  6. package/dist/templates/swiss-grid/compositions/graphics.html +1 -1
  7. package/dist/templates/swiss-grid/index.html +1 -1
  8. package/dist/templates/vignelli/index.html +1 -1
  9. package/dist/templates/warm-grain/index.html +1 -1
  10. package/package.json +2 -2
  11. /package/dist/skills/{compose-video → hyperframes-compose}/data-in-motion.md +0 -0
  12. /package/dist/skills/{compose-video → hyperframes-compose}/house-style.md +0 -0
  13. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/bold-energetic.md +0 -0
  14. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/clean-corporate.md +0 -0
  15. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/dark-premium.md +0 -0
  16. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/jewel-rich.md +0 -0
  17. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/monochrome.md +0 -0
  18. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/nature-earth.md +0 -0
  19. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/neon-electric.md +0 -0
  20. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/pastel-soft.md +0 -0
  21. /package/dist/skills/{compose-video → hyperframes-compose}/palettes/warm-editorial.md +0 -0
  22. /package/dist/skills/{compose-video → hyperframes-compose}/patterns.md +0 -0
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: captions
2
+ name: hyperframes-captions
3
3
  description: Build tone-adaptive captions from whisper transcripts. Detects script energy (hype, corporate, tutorial, storytelling, social) and applies matching typography, color, and animation. Supports per-word styling for brand names, ALL CAPS, numbers, and CTAs. Use when adding captions or subtitles to a HyperFrames composition.
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: compose-video
2
+ name: hyperframes-compose
3
3
  description: Create HyperFrames HTML video compositions. Use when asked to create a video, build an animation, make a composition, add a title card, or generate any HTML-based video content for HyperFrames.
4
4
  ---
5
5
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  **Always invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `class="clip"`, `window.__timelines`, `data-*` attributes) that are NOT in generic web docs. Skipping them produces broken compositions.
6
6
 
7
- | Skill | Command | When to use |
8
- | -------------------- | ------------------- | ------------------------------------------------------------------------------------------------------ |
9
- | **compose-video** | `/compose-video` | Creating or editing ANY HTML composition — videos, animations, title cards, overlays, sub-compositions |
10
- | **captions** | `/captions` | Building captions from whisper transcripts — style detection, per-word styling |
11
- | **gsap-core** | `/gsap-core` | GSAP tweens: `gsap.to()`, `from()`, `fromTo()`, easing, stagger, defaults |
12
- | **gsap-timeline** | `/gsap-timeline` | Timeline sequencing, position parameter, labels, nesting |
13
- | **gsap-performance** | `/gsap-performance` | Animation performance — transforms over layout props, will-change, batching |
7
+ | Skill | Command | When to use |
8
+ | ------------------------ | ----------------------- | ------------------------------------------------------------------------------------------------------ |
9
+ | **hyperframes-compose** | `/hyperframes-compose` | Creating or editing ANY HTML composition — videos, animations, title cards, overlays, sub-compositions |
10
+ | **hyperframes-captions** | `/hyperframes-captions` | Building captions from whisper transcripts — style detection, per-word styling |
11
+ | **gsap-core** | `/gsap-core` | GSAP tweens: `gsap.to()`, `from()`, `fromTo()`, easing, stagger, defaults |
12
+ | **gsap-timeline** | `/gsap-timeline` | Timeline sequencing, position parameter, labels, nesting |
13
+ | **gsap-performance** | `/gsap-performance` | Animation performance — transforms over layout props, will-change, batching |
14
14
 
15
15
  > **Skills not available?** Ask the user to run `npx hyperframes skills` and restart their
16
16
  > agent session, or install manually: `npx skills add heygen-com/hyperframes` and
@@ -25,9 +25,21 @@ npx hyperframes lint # validate compositions
25
25
  npx hyperframes docs <topic> # reference docs in terminal
26
26
  ```
27
27
 
28
- Available doc topics: `data-attributes`, `gsap`, `compositions`, `rendering`, `templates`, `troubleshooting`
28
+ ## Documentation
29
29
 
30
- Full docs: [hyperframes.heygen.com](https://hyperframes.heygen.com)
30
+ **For quick reference**, use the local CLI docs command (no network required):
31
+
32
+ ```bash
33
+ npx hyperframes docs <topic>
34
+ ```
35
+
36
+ Topics: `data-attributes`, `gsap`, `compositions`, `rendering`, `templates`, `troubleshooting`
37
+
38
+ **For full documentation**, discover pages via the machine-readable index — do NOT guess URLs:
39
+
40
+ ```
41
+ https://hyperframes.heygen.com/llms.txt
42
+ ```
31
43
 
32
44
  ## Project Structure
33
45
 
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Hyperframes - Play Mode</title>
7
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
8
8
  <style>
9
9
  body,
10
10
  html {
@@ -132,7 +132,7 @@
132
132
  }
133
133
  </style>
134
134
 
135
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
135
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
136
136
  <script>
137
137
  (function () {
138
138
  const tl = gsap.timeline({ paused: true });
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Swiss Grid - Hyperframes</title>
7
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
8
8
  <style>
9
9
  body,
10
10
  html {
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <title>Massimo Vignelli Video</title>
6
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
6
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
7
7
  <style>
8
8
  body,
9
9
  html {
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Warm Grain - Hyperframes</title>
7
- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
7
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
8
8
  <style>
9
9
  body,
10
10
  html {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperframes",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "HyperFrames CLI — create, preview, and render HTML video compositions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "build:fonts": "cd ../producer && tsx scripts/generate-font-data.ts",
21
21
  "build:studio": "cd ../studio && bun run build",
22
22
  "build:runtime": "tsx scripts/build-runtime.ts",
23
- "build:copy": "mkdir -p dist/studio dist/docs dist/templates dist/skills && cp -r ../studio/dist/* dist/studio/ && cp -r src/templates/blank src/templates/warm-grain src/templates/play-mode src/templates/swiss-grid src/templates/vignelli src/templates/_shared dist/templates/ && cp -r ../../skills/compose-video ../../skills/captions dist/skills/ && (cp src/docs/*.md dist/docs/ 2>/dev/null || true)",
23
+ "build:copy": "mkdir -p dist/studio dist/docs dist/templates dist/skills && cp -r ../studio/dist/* dist/studio/ && cp -r src/templates/blank src/templates/warm-grain src/templates/play-mode src/templates/swiss-grid src/templates/vignelli src/templates/_shared dist/templates/ && cp -r ../../skills/hyperframes-compose ../../skills/hyperframes-captions dist/skills/ && (cp src/docs/*.md dist/docs/ 2>/dev/null || true)",
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {