agentcut 0.2.26 → 0.2.28

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 (97) hide show
  1. package/README.md +177 -177
  2. package/dist/studio/agents/claude.js +3 -2
  3. package/dist/studio/agents/claude.js.map +1 -1
  4. package/dist/studio/chat.js +1 -1
  5. package/dist/studio/chat.js.map +1 -1
  6. package/dist/studio/cli.js +24 -24
  7. package/dist/studio/download.d.ts +24 -0
  8. package/dist/studio/download.js +234 -0
  9. package/dist/studio/download.js.map +1 -0
  10. package/dist/studio/host.js +8 -0
  11. package/dist/studio/host.js.map +1 -1
  12. package/dist/studio/housekeeping.d.ts +2 -2
  13. package/dist/studio/housekeeping.js +18 -17
  14. package/dist/studio/housekeeping.js.map +1 -1
  15. package/dist/studio/release-cursor.js +21 -21
  16. package/dist/studio/release-video.js +10 -10
  17. package/dist/studio/schema.d.ts +102 -0
  18. package/dist/studio/schema.js +5 -0
  19. package/dist/studio/schema.js.map +1 -1
  20. package/dist/studio/tools.js +7 -0
  21. package/dist/studio/tools.js.map +1 -1
  22. package/package.json +56 -56
  23. package/template/AGENTS.md +14 -14
  24. package/template/components/README.md +70 -70
  25. package/template/components/before-after/BeforeAfter.tsx +89 -89
  26. package/template/components/catalog.ts +107 -107
  27. package/template/components/cinematic/Device3D.tsx +324 -324
  28. package/template/components/cinematic/devices3d/display-model.ts +184 -184
  29. package/template/components/cinematic/devices3d/iphone-model.ts +643 -643
  30. package/template/components/cinematic/devices3d/macbook-model.ts +608 -608
  31. package/template/components/cinematic/devices3d/models.ts +657 -657
  32. package/template/components/cinematic/devices3d/runtime.ts +267 -267
  33. package/template/components/cinematic/math.ts +100 -100
  34. package/template/components/color/grade-effect.ts +650 -650
  35. package/template/components/color/grade.ts +512 -512
  36. package/template/components/color/looks.ts +154 -154
  37. package/template/components/countdown/Countdown.tsx +166 -166
  38. package/template/components/dot-trace-title/DotTraceTitle.tsx +181 -181
  39. package/template/components/dot-trace-title/meta.json +51 -51
  40. package/template/components/generate/GenerateReveal.tsx +381 -381
  41. package/template/components/hook-card/HookCard.tsx +554 -554
  42. package/template/components/index.ts +199 -199
  43. package/template/components/lib.ts +191 -191
  44. package/template/components/line-diagram/LineDiagram.tsx +205 -205
  45. package/template/components/line-diagram/meta.json +215 -215
  46. package/template/components/list-card/ListCard.tsx +104 -104
  47. package/template/components/live-clip.ts +75 -75
  48. package/template/components/looks.tsx +1447 -1447
  49. package/template/components/loops/LoopCanvas.tsx +132 -132
  50. package/template/components/loops/engine.ts +184 -184
  51. package/template/components/loops/library.ts +667 -667
  52. package/template/components/loops/library2.ts +777 -777
  53. package/template/components/motion-loop/MotionLoop.tsx +37 -37
  54. package/template/components/motion-loop/meta.json +311 -311
  55. package/template/components/props.ts +73 -73
  56. package/template/components/quote-card/QuoteCard.tsx +71 -71
  57. package/template/components/style-layer.tsx +233 -233
  58. package/template/components/styles.ts +113 -113
  59. package/template/components/types.ts +66 -66
  60. package/template/components/word-pop/WordPop.tsx +59 -59
  61. package/template/components/word-stack/WordStack.tsx +122 -122
  62. package/template/presets/charcoal-sketch/PROMPT.md +48 -48
  63. package/template/presets/charcoal-sketch/scripts/duck_music.py +34 -34
  64. package/template/presets/punk-cut-paper/scenes/Motif.tsx +376 -376
  65. package/template/presets/punk-cut-paper/scenes/Photo.tsx +73 -73
  66. package/template/presets/punk-cut-paper/scenes/Ransom.tsx +119 -119
  67. package/template/runtime/composition.tsx +1207 -1189
  68. package/template/runtime/helpers.tsx +230 -230
  69. package/template/runtime/index.tsx +26 -22
  70. package/template/runtime/types.ts +324 -315
  71. package/template/skill/SKILL.md +188 -187
  72. package/template/skill/references/broll.md +44 -44
  73. package/template/skill/references/browser-export.md +61 -61
  74. package/template/skill/references/cinematic.md +206 -206
  75. package/template/skill/references/color.md +79 -79
  76. package/template/skill/references/craft.md +97 -97
  77. package/template/skill/references/editing-styles.md +57 -57
  78. package/template/skill/references/feature-launch.md +34 -34
  79. package/template/skill/references/footage.md +72 -72
  80. package/template/skill/references/format.md +145 -142
  81. package/template/skill/references/how-to.md +146 -146
  82. package/template/skill/references/launch-direction.md +89 -89
  83. package/template/skill/references/loops.md +151 -151
  84. package/template/skill/references/mcp-external.md +19 -19
  85. package/template/skill/references/performance.md +93 -93
  86. package/template/skill/references/person-cutout.md +19 -19
  87. package/template/skill/references/presets.md +60 -60
  88. package/template/skill/references/product-launch.md +134 -134
  89. package/template/skill/references/release-capture.md +53 -53
  90. package/template/skill/references/sound.md +167 -166
  91. package/template/skill/references/style-spy.md +160 -160
  92. package/template/skill/references/website-howto.md +45 -45
  93. package/template/starter/.studio/chat.json +1 -1
  94. package/template/starter/layers.json +46 -46
  95. package/template/starter/notes.md +4 -4
  96. package/template/starter/project.json +13 -13
  97. package/template/starter/scenes/Title.tsx +38 -38
@@ -1,70 +1,70 @@
1
- # Agentcut motion components
2
-
3
- Ready-made Remotion animations that people and Claude drop on the Agentcut timeline and tune
4
- through props, without writing a scene. The same code runs in the studio preview, the browser export,
5
- a local render and the public gallery.
6
-
7
- ## How a component is used
8
-
9
- In a project's `layers.json`, a scene-track clip names the component instead of a scene file:
10
-
11
- ```json
12
- { "id": "title", "from": 0, "duration": 90, "component": "text-reveal",
13
- "props": { "lines": ["Make videos", "with *Claude*"], "accent": "#34d399" } }
14
- ```
15
-
16
- Props left out get their defaults. The inspector shows a form for them; Claude finds components with
17
- `agentcut_components`.
18
-
19
- ## Add a component
20
-
21
- 1. Make a folder: `motion/components/<id>/` (kebab-case id).
22
- 2. `<Name>.tsx`: a React component that takes `MotionBaseProps` (width, height, fps, durationInFrames,
23
- variant) plus its props. Rules:
24
- - Animate only from `useCurrentFrame()` (no timers, no `Math.random()` without a seed), so the
25
- preview, the export and every re-render match frame for frame.
26
- - Import only `react`, `remotion`, `../lib` and `../looks` (and `../cinematic/Cinematic` for 3D,
27
- `../loops/*` for motion loops). No CSS 3D (`perspective`, `preserve-3d`),
28
- `backdrop-filter`, `mix-blend-mode` or inset shadows: the browser export can't draw them.
29
- - Radial gradients: the browser export only draws centered, unsized ones
30
- (`radial-gradient(color 0%, transparent 70%)`). For a glow at a point use `glowStyle()`, and fade
31
- to `alpha(color, 0)` rather than `transparent`. Blur with `blurStyle()` so the blur isn't clipped.
32
- SVG (filters, masks, patterns) is drawn as an image, so it renders exactly.
33
- - Fonts: use `FONTS` (Inter, Bricolage, Instrument Serif, Fraunces, Space Grotesk, Syne, Unbounded,
34
- Anton, Geist Mono). The registry loads them before any frame renders.
35
- - Size everything from `unit(width, height)` so it works in wide (16:9) and mobile (9:16).
36
- - Fit any clip length: enter at the start, use `exitOut()` for the end.
37
- - `layer: "overlay"` components keep a transparent background unless a `background` prop is set.
38
- 3. `meta.json`: id, name, category, description, `useWhen` (when Claude should pick it), a good
39
- `durationInFrames`, tags, `props` (each with type, label, default and limits) and 2–3 `examples`.
40
- 4. Let it follow project styles: tag the props that carry the look with a token, e.g.
41
- `"accent": { "type": "color", "style": "accent", … }`. Tokens: `look`, `font`, `weight`, `text` (text over
42
- footage), `accent`, `onAccent`, `panel`, `panelText`, `line`, `theme`, `backdrop` (see `styles.ts`). Leave a
43
- component untagged when its look is the point (arcade, collage, platform mock-ups).
44
- 5. Register it: its meta in `catalog.ts` and its component in `COMPONENTS` in `index.ts`.
45
- 6. Check it: open the gallery (`/motion/components`) and look at it in wide and mobile, then
46
- `npm run verify:components` (registration, defaults, examples and style tags).
47
-
48
- ## Cinematic toolkit
49
-
50
- `cinematic/` is not a timeline component: it's the 3D camera scenes import from `agentcut/components`
51
- (`Stage`, `Plane`, `Screen`, `Lift`, `Group`, `Device`, `Backdrop`, `Floor`, `Glare`). The stage computes
52
- one `matrix3d()` per plane (camera, lens, placement), which the preview draws natively and the browser
53
- export draws through WebGL; lens blur is a gradient between blurred copies along each plane's depth.
54
- The skill's `references/cinematic.md` is how Claude directs it.
55
-
56
- ## Project styles
57
-
58
- A style is a whole editing preset. `looks.tsx` draws its graphic language (ink, paper, notebook,
59
- crt, clean: cards, word chips, stickers, backdrops, entrances); the Talking Head components are
60
- layouts built from it, so they restyle completely with the `look` prop. `style-layer.tsx` is what the
61
- studio runtime calls for a project with a style: the camera on footage clips, the texture over the
62
- frame and captions drawn in the look.
63
-
64
- `styles.json` holds the styles a project can pick (`"style": "loud"` in project.json, or the Style
65
- list in the studio's Project panel). A tagged prop the clip leaves out takes the style's value;
66
- caption and text clips take the style's fonts and colors. Add a style there; `verify:components`
67
- checks that its font lands on every component that takes one.
68
-
69
- The helper gets a copy of this folder for local renders and for Claude to read
70
- (`npm run sync:skill` in packages/agentcut copies the skill and the components).
1
+ # Agentcut motion components
2
+
3
+ Ready-made Remotion animations that people and Claude drop on the Agentcut timeline and tune
4
+ through props, without writing a scene. The same code runs in the studio preview, the browser export,
5
+ a local render and the public gallery.
6
+
7
+ ## How a component is used
8
+
9
+ In a project's `layers.json`, a scene-track clip names the component instead of a scene file:
10
+
11
+ ```json
12
+ { "id": "title", "from": 0, "duration": 90, "component": "text-reveal",
13
+ "props": { "lines": ["Make videos", "with *Claude*"], "accent": "#34d399" } }
14
+ ```
15
+
16
+ Props left out get their defaults. The inspector shows a form for them; Claude finds components with
17
+ `agentcut_components`.
18
+
19
+ ## Add a component
20
+
21
+ 1. Make a folder: `motion/components/<id>/` (kebab-case id).
22
+ 2. `<Name>.tsx`: a React component that takes `MotionBaseProps` (width, height, fps, durationInFrames,
23
+ variant) plus its props. Rules:
24
+ - Animate only from `useCurrentFrame()` (no timers, no `Math.random()` without a seed), so the
25
+ preview, the export and every re-render match frame for frame.
26
+ - Import only `react`, `remotion`, `../lib` and `../looks` (and `../cinematic/Cinematic` for 3D,
27
+ `../loops/*` for motion loops). No CSS 3D (`perspective`, `preserve-3d`),
28
+ `backdrop-filter`, `mix-blend-mode` or inset shadows: the browser export can't draw them.
29
+ - Radial gradients: the browser export only draws centered, unsized ones
30
+ (`radial-gradient(color 0%, transparent 70%)`). For a glow at a point use `glowStyle()`, and fade
31
+ to `alpha(color, 0)` rather than `transparent`. Blur with `blurStyle()` so the blur isn't clipped.
32
+ SVG (filters, masks, patterns) is drawn as an image, so it renders exactly.
33
+ - Fonts: use `FONTS` (Inter, Bricolage, Instrument Serif, Fraunces, Space Grotesk, Syne, Unbounded,
34
+ Anton, Geist Mono). The registry loads them before any frame renders.
35
+ - Size everything from `unit(width, height)` so it works in wide (16:9) and mobile (9:16).
36
+ - Fit any clip length: enter at the start, use `exitOut()` for the end.
37
+ - `layer: "overlay"` components keep a transparent background unless a `background` prop is set.
38
+ 3. `meta.json`: id, name, category, description, `useWhen` (when Claude should pick it), a good
39
+ `durationInFrames`, tags, `props` (each with type, label, default and limits) and 2–3 `examples`.
40
+ 4. Let it follow project styles: tag the props that carry the look with a token, e.g.
41
+ `"accent": { "type": "color", "style": "accent", … }`. Tokens: `look`, `font`, `weight`, `text` (text over
42
+ footage), `accent`, `onAccent`, `panel`, `panelText`, `line`, `theme`, `backdrop` (see `styles.ts`). Leave a
43
+ component untagged when its look is the point (arcade, collage, platform mock-ups).
44
+ 5. Register it: its meta in `catalog.ts` and its component in `COMPONENTS` in `index.ts`.
45
+ 6. Check it: open the gallery (`/motion/components`) and look at it in wide and mobile, then
46
+ `npm run verify:components` (registration, defaults, examples and style tags).
47
+
48
+ ## Cinematic toolkit
49
+
50
+ `cinematic/` is not a timeline component: it's the 3D camera scenes import from `agentcut/components`
51
+ (`Stage`, `Plane`, `Screen`, `Lift`, `Group`, `Device`, `Backdrop`, `Floor`, `Glare`). The stage computes
52
+ one `matrix3d()` per plane (camera, lens, placement), which the preview draws natively and the browser
53
+ export draws through WebGL; lens blur is a gradient between blurred copies along each plane's depth.
54
+ The skill's `references/cinematic.md` is how Claude directs it.
55
+
56
+ ## Project styles
57
+
58
+ A style is a whole editing preset. `looks.tsx` draws its graphic language (ink, paper, notebook,
59
+ crt, clean: cards, word chips, stickers, backdrops, entrances); the Talking Head components are
60
+ layouts built from it, so they restyle completely with the `look` prop. `style-layer.tsx` is what the
61
+ studio runtime calls for a project with a style: the camera on footage clips, the texture over the
62
+ frame and captions drawn in the look.
63
+
64
+ `styles.json` holds the styles a project can pick (`"style": "loud"` in project.json, or the Style
65
+ list in the studio's Project panel). A tagged prop the clip leaves out takes the style's value;
66
+ caption and text clips take the style's fonts and colors. Add a style there; `verify:components`
67
+ checks that its font lands on every component that takes one.
68
+
69
+ The helper gets a copy of this folder for local renders and for Claude to read
70
+ (`npm run sync:skill` in packages/agentcut copies the skill and the components).
@@ -1,89 +1,89 @@
1
- import { useCurrentFrame } from "remotion";
2
- import { ramp, unit } from "../lib";
3
- import { CardStage, CardTitle, Label, Words, enter, headWeight, lookKit, type LookProps } from "../looks";
4
- import type { MotionBaseProps } from "../types";
5
-
6
- type Props = MotionBaseProps &
7
- LookProps & {
8
- kicker: string;
9
- title: string;
10
- beforeLabel: string;
11
- before: string;
12
- afterLabel: string;
13
- after: string;
14
- footer: string;
15
- layout: string;
16
- size: number;
17
- };
18
-
19
- /**
20
- * A number that changes: the old value gets struck out, then the new one lands in the accent.
21
- * "$240 → $0 per month", "3 hours → 4 minutes". Full frame or over footage.
22
- */
23
- export function BeforeAfter(props: Props) {
24
- const frame = useCurrentFrame();
25
- const { width, height, fps, durationInFrames: d } = props;
26
- const u = unit(width, height);
27
- const kit = lookKit(props, u);
28
- const titleSize = (props.size / 100) * Math.min(width, height);
29
- const valueSize = titleSize * 0.95;
30
- const beforeIn = enter(kit, frame, fps, 12, 0, 3);
31
- const strike = ramp(frame, 24, 8);
32
- const afterIn = enter(kit, frame, fps, 32, kit.look === "ink" || kit.look === "paper" ? -3 : 0, 8);
33
- const value = {
34
- fontFamily: kit.head,
35
- fontWeight: headWeight(kit),
36
- fontSize: valueSize,
37
- lineHeight: 1,
38
- color: kit.panelText,
39
- } as const;
40
- return (
41
- <CardStage
42
- kit={kit}
43
- width={width}
44
- height={height}
45
- layout={props.layout}
46
- frame={frame}
47
- fps={fps}
48
- durationInFrames={d}
49
- footer={props.footer}
50
- footerStart={42}
51
- title="~/cost.txt"
52
- >
53
- <div style={{ padding: `${titleSize * 0.5}px ${titleSize * 0.55}px ${titleSize * 0.6}px`, display: "flex", flexDirection: "column", gap: titleSize * 0.18 }}>
54
- {props.kicker ? (
55
- <Label kit={kit} fontSize={titleSize * 0.17}>
56
- {props.kicker}
57
- </Label>
58
- ) : null}
59
- <CardTitle kit={kit} text={props.title} fontSize={titleSize} frame={frame} fps={fps} start={4} />
60
- <div style={{ display: "flex", flexDirection: "column", gap: titleSize * 0.08, marginTop: titleSize * 0.2 }}>
61
- <Label kit={kit} fontSize={titleSize * 0.15}>
62
- {props.beforeLabel}
63
- </Label>
64
- <div style={{ position: "relative", alignSelf: "flex-start", opacity: beforeIn.opacity * (1 - strike * 0.45), transform: beforeIn.transform }}>
65
- <div style={value}>{props.before}</div>
66
- <div
67
- style={{
68
- position: "absolute",
69
- left: "-4%",
70
- top: "50%",
71
- height: Math.max(4, valueSize * 0.09),
72
- width: `${strike * 108}%`,
73
- background: kit.look === "clean" || kit.look === "crt" || kit.look === "neon" || kit.look === "line" ? kit.accent : kit.line,
74
- transform: "rotate(-4deg)",
75
- borderRadius: kit.look === "notebook" ? valueSize : 0,
76
- }}
77
- />
78
- </div>
79
- <Label kit={kit} fontSize={titleSize * 0.15} style={{ marginTop: titleSize * 0.12 }}>
80
- {props.afterLabel}
81
- </Label>
82
- <div style={{ ...value, alignSelf: "flex-start", opacity: afterIn.opacity, transform: afterIn.transform, transformOrigin: "0% 60%" }}>
83
- <Words kit={kit} line={`*${props.after.replace(/\*/g, "")}*`} fontSize={valueSize} frame={frame} start={32} />
84
- </div>
85
- </div>
86
- </div>
87
- </CardStage>
88
- );
89
- }
1
+ import { useCurrentFrame } from "remotion";
2
+ import { ramp, unit } from "../lib";
3
+ import { CardStage, CardTitle, Label, Words, enter, headWeight, lookKit, type LookProps } from "../looks";
4
+ import type { MotionBaseProps } from "../types";
5
+
6
+ type Props = MotionBaseProps &
7
+ LookProps & {
8
+ kicker: string;
9
+ title: string;
10
+ beforeLabel: string;
11
+ before: string;
12
+ afterLabel: string;
13
+ after: string;
14
+ footer: string;
15
+ layout: string;
16
+ size: number;
17
+ };
18
+
19
+ /**
20
+ * A number that changes: the old value gets struck out, then the new one lands in the accent.
21
+ * "$240 → $0 per month", "3 hours → 4 minutes". Full frame or over footage.
22
+ */
23
+ export function BeforeAfter(props: Props) {
24
+ const frame = useCurrentFrame();
25
+ const { width, height, fps, durationInFrames: d } = props;
26
+ const u = unit(width, height);
27
+ const kit = lookKit(props, u);
28
+ const titleSize = (props.size / 100) * Math.min(width, height);
29
+ const valueSize = titleSize * 0.95;
30
+ const beforeIn = enter(kit, frame, fps, 12, 0, 3);
31
+ const strike = ramp(frame, 24, 8);
32
+ const afterIn = enter(kit, frame, fps, 32, kit.look === "ink" || kit.look === "paper" ? -3 : 0, 8);
33
+ const value = {
34
+ fontFamily: kit.head,
35
+ fontWeight: headWeight(kit),
36
+ fontSize: valueSize,
37
+ lineHeight: 1,
38
+ color: kit.panelText,
39
+ } as const;
40
+ return (
41
+ <CardStage
42
+ kit={kit}
43
+ width={width}
44
+ height={height}
45
+ layout={props.layout}
46
+ frame={frame}
47
+ fps={fps}
48
+ durationInFrames={d}
49
+ footer={props.footer}
50
+ footerStart={42}
51
+ title="~/cost.txt"
52
+ >
53
+ <div style={{ padding: `${titleSize * 0.5}px ${titleSize * 0.55}px ${titleSize * 0.6}px`, display: "flex", flexDirection: "column", gap: titleSize * 0.18 }}>
54
+ {props.kicker ? (
55
+ <Label kit={kit} fontSize={titleSize * 0.17}>
56
+ {props.kicker}
57
+ </Label>
58
+ ) : null}
59
+ <CardTitle kit={kit} text={props.title} fontSize={titleSize} frame={frame} fps={fps} start={4} />
60
+ <div style={{ display: "flex", flexDirection: "column", gap: titleSize * 0.08, marginTop: titleSize * 0.2 }}>
61
+ <Label kit={kit} fontSize={titleSize * 0.15}>
62
+ {props.beforeLabel}
63
+ </Label>
64
+ <div style={{ position: "relative", alignSelf: "flex-start", opacity: beforeIn.opacity * (1 - strike * 0.45), transform: beforeIn.transform }}>
65
+ <div style={value}>{props.before}</div>
66
+ <div
67
+ style={{
68
+ position: "absolute",
69
+ left: "-4%",
70
+ top: "50%",
71
+ height: Math.max(4, valueSize * 0.09),
72
+ width: `${strike * 108}%`,
73
+ background: kit.look === "clean" || kit.look === "crt" || kit.look === "neon" || kit.look === "line" ? kit.accent : kit.line,
74
+ transform: "rotate(-4deg)",
75
+ borderRadius: kit.look === "notebook" ? valueSize : 0,
76
+ }}
77
+ />
78
+ </div>
79
+ <Label kit={kit} fontSize={titleSize * 0.15} style={{ marginTop: titleSize * 0.12 }}>
80
+ {props.afterLabel}
81
+ </Label>
82
+ <div style={{ ...value, alignSelf: "flex-start", opacity: afterIn.opacity, transform: afterIn.transform, transformOrigin: "0% 60%" }}>
83
+ <Words kit={kit} line={`*${props.after.replace(/\*/g, "")}*`} fontSize={valueSize} frame={frame} start={32} />
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </CardStage>
88
+ );
89
+ }
@@ -1,107 +1,107 @@
1
- // Metadata only (no React, no Remotion): safe for server components, the sitemap and metadata.
2
- import type { ComponentMeta } from "./types";
3
- import lightLeak from "./light-leak/meta.json";
4
- import lowerThird from "./lower-third/meta.json";
5
- import promptBox from "./prompt-box/meta.json";
6
- import slideZoomMessage from "./slide-zoom-message/meta.json";
7
- import statCounter from "./stat-counter/meta.json";
8
- import textReveal from "./text-reveal/meta.json";
9
- import blurInTitle from "./blur-in-title/meta.json";
10
- import letterCascade from "./letter-cascade/meta.json";
11
- import typewriter from "./typewriter/meta.json";
12
- import wordSwap from "./word-swap/meta.json";
13
- import barWipeTitle from "./bar-wipe-title/meta.json";
14
- import kineticPunch from "./kinetic-punch/meta.json";
15
- import decodeText from "./decode-text/meta.json";
16
- import outlineFill from "./outline-fill/meta.json";
17
- import editorialQuote from "./editorial-quote/meta.json";
18
- import highlighter from "./highlighter/meta.json";
19
- import logoSting from "./logo-sting/meta.json";
20
- import marquee from "./marquee/meta.json";
21
- import aurora from "./aurora/meta.json";
22
- import motionLoop from "./motion-loop/meta.json";
23
- import dotTraceTitle from "./dot-trace-title/meta.json";
24
- import lavaLamp from "./lava-lamp/meta.json";
25
- import spotlightGrid from "./spotlight-grid/meta.json";
26
- import irisWipe from "./iris-wipe/meta.json";
27
- import panelSweep from "./panel-sweep/meta.json";
28
- import tileWipe from "./tile-wipe/meta.json";
29
- import notification from "./notification/meta.json";
30
- import chatThread from "./chat-thread/meta.json";
31
- import stickerSlam from "./sticker-slam/meta.json";
32
- import glitchTitle from "./glitch-title/meta.json";
33
- import splitFlap from "./split-flap/meta.json";
34
- import countdown from "./countdown/meta.json";
35
- import wordStack from "./word-stack/meta.json";
36
- import typeZoom from "./type-zoom/meta.json";
37
- import halftoneWave from "./halftone-wave/meta.json";
38
- import bentoGrid from "./bento-grid/meta.json";
39
- import socialPost from "./social-post/meta.json";
40
- import checklist from "./checklist/meta.json";
41
- import confetti from "./confetti/meta.json";
42
- import kineticPoster from "./kinetic-poster/meta.json";
43
- import arcadeTitle from "./arcade-title/meta.json";
44
- import cutAndPaste from "./cut-and-paste/meta.json";
45
- import targetLock from "./target-lock/meta.json";
46
- import shapeShift from "./shape-shift/meta.json";
47
- import hookCard from "./hook-card/meta.json";
48
- import wordPop from "./word-pop/meta.json";
49
- import stickerBadge from "./sticker-badge/meta.json";
50
- import listCard from "./list-card/meta.json";
51
- import quoteCard from "./quote-card/meta.json";
52
- import beforeAfter from "./before-after/meta.json";
53
- import lineDiagram from "./line-diagram/meta.json";
54
-
55
- export const COMPONENT_METAS: Record<string, ComponentMeta> = {
56
- "text-reveal": textReveal as unknown as ComponentMeta,
57
- "slide-zoom-message": slideZoomMessage as unknown as ComponentMeta,
58
- "lower-third": lowerThird as unknown as ComponentMeta,
59
- "stat-counter": statCounter as unknown as ComponentMeta,
60
- "prompt-box": promptBox as unknown as ComponentMeta,
61
- "light-leak": lightLeak as unknown as ComponentMeta,
62
- "blur-in-title": blurInTitle as unknown as ComponentMeta,
63
- "letter-cascade": letterCascade as unknown as ComponentMeta,
64
- "typewriter": typewriter as unknown as ComponentMeta,
65
- "word-swap": wordSwap as unknown as ComponentMeta,
66
- "bar-wipe-title": barWipeTitle as unknown as ComponentMeta,
67
- "kinetic-punch": kineticPunch as unknown as ComponentMeta,
68
- "decode-text": decodeText as unknown as ComponentMeta,
69
- "outline-fill": outlineFill as unknown as ComponentMeta,
70
- "editorial-quote": editorialQuote as unknown as ComponentMeta,
71
- "highlighter": highlighter as unknown as ComponentMeta,
72
- "logo-sting": logoSting as unknown as ComponentMeta,
73
- "marquee": marquee as unknown as ComponentMeta,
74
- "aurora": aurora as unknown as ComponentMeta,
75
- "motion-loop": motionLoop as unknown as ComponentMeta,
76
- "dot-trace-title": dotTraceTitle as unknown as ComponentMeta,
77
- "lava-lamp": lavaLamp as unknown as ComponentMeta,
78
- "spotlight-grid": spotlightGrid as unknown as ComponentMeta,
79
- "iris-wipe": irisWipe as unknown as ComponentMeta,
80
- "panel-sweep": panelSweep as unknown as ComponentMeta,
81
- "tile-wipe": tileWipe as unknown as ComponentMeta,
82
- "notification": notification as unknown as ComponentMeta,
83
- "chat-thread": chatThread as unknown as ComponentMeta,
84
- "sticker-slam": stickerSlam as unknown as ComponentMeta,
85
- "glitch-title": glitchTitle as unknown as ComponentMeta,
86
- "split-flap": splitFlap as unknown as ComponentMeta,
87
- "countdown": countdown as unknown as ComponentMeta,
88
- "word-stack": wordStack as unknown as ComponentMeta,
89
- "type-zoom": typeZoom as unknown as ComponentMeta,
90
- "halftone-wave": halftoneWave as unknown as ComponentMeta,
91
- "bento-grid": bentoGrid as unknown as ComponentMeta,
92
- "social-post": socialPost as unknown as ComponentMeta,
93
- "checklist": checklist as unknown as ComponentMeta,
94
- "confetti": confetti as unknown as ComponentMeta,
95
- "kinetic-poster": kineticPoster as unknown as ComponentMeta,
96
- "arcade-title": arcadeTitle as unknown as ComponentMeta,
97
- "cut-and-paste": cutAndPaste as unknown as ComponentMeta,
98
- "target-lock": targetLock as unknown as ComponentMeta,
99
- "shape-shift": shapeShift as unknown as ComponentMeta,
100
- "hook-card": hookCard as unknown as ComponentMeta,
101
- "word-pop": wordPop as unknown as ComponentMeta,
102
- "sticker-badge": stickerBadge as unknown as ComponentMeta,
103
- "list-card": listCard as unknown as ComponentMeta,
104
- "quote-card": quoteCard as unknown as ComponentMeta,
105
- "before-after": beforeAfter as unknown as ComponentMeta,
106
- "line-diagram": lineDiagram as unknown as ComponentMeta,
107
- };
1
+ // Metadata only (no React, no Remotion): safe for server components, the sitemap and metadata.
2
+ import type { ComponentMeta } from "./types";
3
+ import lightLeak from "./light-leak/meta.json";
4
+ import lowerThird from "./lower-third/meta.json";
5
+ import promptBox from "./prompt-box/meta.json";
6
+ import slideZoomMessage from "./slide-zoom-message/meta.json";
7
+ import statCounter from "./stat-counter/meta.json";
8
+ import textReveal from "./text-reveal/meta.json";
9
+ import blurInTitle from "./blur-in-title/meta.json";
10
+ import letterCascade from "./letter-cascade/meta.json";
11
+ import typewriter from "./typewriter/meta.json";
12
+ import wordSwap from "./word-swap/meta.json";
13
+ import barWipeTitle from "./bar-wipe-title/meta.json";
14
+ import kineticPunch from "./kinetic-punch/meta.json";
15
+ import decodeText from "./decode-text/meta.json";
16
+ import outlineFill from "./outline-fill/meta.json";
17
+ import editorialQuote from "./editorial-quote/meta.json";
18
+ import highlighter from "./highlighter/meta.json";
19
+ import logoSting from "./logo-sting/meta.json";
20
+ import marquee from "./marquee/meta.json";
21
+ import aurora from "./aurora/meta.json";
22
+ import motionLoop from "./motion-loop/meta.json";
23
+ import dotTraceTitle from "./dot-trace-title/meta.json";
24
+ import lavaLamp from "./lava-lamp/meta.json";
25
+ import spotlightGrid from "./spotlight-grid/meta.json";
26
+ import irisWipe from "./iris-wipe/meta.json";
27
+ import panelSweep from "./panel-sweep/meta.json";
28
+ import tileWipe from "./tile-wipe/meta.json";
29
+ import notification from "./notification/meta.json";
30
+ import chatThread from "./chat-thread/meta.json";
31
+ import stickerSlam from "./sticker-slam/meta.json";
32
+ import glitchTitle from "./glitch-title/meta.json";
33
+ import splitFlap from "./split-flap/meta.json";
34
+ import countdown from "./countdown/meta.json";
35
+ import wordStack from "./word-stack/meta.json";
36
+ import typeZoom from "./type-zoom/meta.json";
37
+ import halftoneWave from "./halftone-wave/meta.json";
38
+ import bentoGrid from "./bento-grid/meta.json";
39
+ import socialPost from "./social-post/meta.json";
40
+ import checklist from "./checklist/meta.json";
41
+ import confetti from "./confetti/meta.json";
42
+ import kineticPoster from "./kinetic-poster/meta.json";
43
+ import arcadeTitle from "./arcade-title/meta.json";
44
+ import cutAndPaste from "./cut-and-paste/meta.json";
45
+ import targetLock from "./target-lock/meta.json";
46
+ import shapeShift from "./shape-shift/meta.json";
47
+ import hookCard from "./hook-card/meta.json";
48
+ import wordPop from "./word-pop/meta.json";
49
+ import stickerBadge from "./sticker-badge/meta.json";
50
+ import listCard from "./list-card/meta.json";
51
+ import quoteCard from "./quote-card/meta.json";
52
+ import beforeAfter from "./before-after/meta.json";
53
+ import lineDiagram from "./line-diagram/meta.json";
54
+
55
+ export const COMPONENT_METAS: Record<string, ComponentMeta> = {
56
+ "text-reveal": textReveal as unknown as ComponentMeta,
57
+ "slide-zoom-message": slideZoomMessage as unknown as ComponentMeta,
58
+ "lower-third": lowerThird as unknown as ComponentMeta,
59
+ "stat-counter": statCounter as unknown as ComponentMeta,
60
+ "prompt-box": promptBox as unknown as ComponentMeta,
61
+ "light-leak": lightLeak as unknown as ComponentMeta,
62
+ "blur-in-title": blurInTitle as unknown as ComponentMeta,
63
+ "letter-cascade": letterCascade as unknown as ComponentMeta,
64
+ "typewriter": typewriter as unknown as ComponentMeta,
65
+ "word-swap": wordSwap as unknown as ComponentMeta,
66
+ "bar-wipe-title": barWipeTitle as unknown as ComponentMeta,
67
+ "kinetic-punch": kineticPunch as unknown as ComponentMeta,
68
+ "decode-text": decodeText as unknown as ComponentMeta,
69
+ "outline-fill": outlineFill as unknown as ComponentMeta,
70
+ "editorial-quote": editorialQuote as unknown as ComponentMeta,
71
+ "highlighter": highlighter as unknown as ComponentMeta,
72
+ "logo-sting": logoSting as unknown as ComponentMeta,
73
+ "marquee": marquee as unknown as ComponentMeta,
74
+ "aurora": aurora as unknown as ComponentMeta,
75
+ "motion-loop": motionLoop as unknown as ComponentMeta,
76
+ "dot-trace-title": dotTraceTitle as unknown as ComponentMeta,
77
+ "lava-lamp": lavaLamp as unknown as ComponentMeta,
78
+ "spotlight-grid": spotlightGrid as unknown as ComponentMeta,
79
+ "iris-wipe": irisWipe as unknown as ComponentMeta,
80
+ "panel-sweep": panelSweep as unknown as ComponentMeta,
81
+ "tile-wipe": tileWipe as unknown as ComponentMeta,
82
+ "notification": notification as unknown as ComponentMeta,
83
+ "chat-thread": chatThread as unknown as ComponentMeta,
84
+ "sticker-slam": stickerSlam as unknown as ComponentMeta,
85
+ "glitch-title": glitchTitle as unknown as ComponentMeta,
86
+ "split-flap": splitFlap as unknown as ComponentMeta,
87
+ "countdown": countdown as unknown as ComponentMeta,
88
+ "word-stack": wordStack as unknown as ComponentMeta,
89
+ "type-zoom": typeZoom as unknown as ComponentMeta,
90
+ "halftone-wave": halftoneWave as unknown as ComponentMeta,
91
+ "bento-grid": bentoGrid as unknown as ComponentMeta,
92
+ "social-post": socialPost as unknown as ComponentMeta,
93
+ "checklist": checklist as unknown as ComponentMeta,
94
+ "confetti": confetti as unknown as ComponentMeta,
95
+ "kinetic-poster": kineticPoster as unknown as ComponentMeta,
96
+ "arcade-title": arcadeTitle as unknown as ComponentMeta,
97
+ "cut-and-paste": cutAndPaste as unknown as ComponentMeta,
98
+ "target-lock": targetLock as unknown as ComponentMeta,
99
+ "shape-shift": shapeShift as unknown as ComponentMeta,
100
+ "hook-card": hookCard as unknown as ComponentMeta,
101
+ "word-pop": wordPop as unknown as ComponentMeta,
102
+ "sticker-badge": stickerBadge as unknown as ComponentMeta,
103
+ "list-card": listCard as unknown as ComponentMeta,
104
+ "quote-card": quoteCard as unknown as ComponentMeta,
105
+ "before-after": beforeAfter as unknown as ComponentMeta,
106
+ "line-diagram": lineDiagram as unknown as ComponentMeta,
107
+ };