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,199 +1,199 @@
1
- // The registry. Add a component: create its folder (Component.tsx + meta.json), add its meta to
2
- // catalog.ts and its component to COMPONENTS below. The studio preview, the browser export, the
3
- // gallery, the inspector form and Claude's catalog all read from here.
4
- import { createElement, type ComponentType } from "react";
5
- import type { MotionBaseProps, MotionComponent, PropValues } from "./types";
6
-
7
- import { COMPONENT_METAS } from "./catalog";
8
- import { useMotionFonts } from "./lib";
9
- import { LightLeakTransition } from "./light-leak/LightLeakTransition";
10
- import { LowerThird } from "./lower-third/LowerThird";
11
- import { PromptBox } from "./prompt-box/PromptBox";
12
- import { SlideZoomMessage } from "./slide-zoom-message/SlideZoomMessage";
13
- import { StatCounter } from "./stat-counter/StatCounter";
14
- import { TextReveal } from "./text-reveal/TextReveal";
15
- import { BlurInTitle } from "./blur-in-title/BlurInTitle";
16
- import { LetterCascade } from "./letter-cascade/LetterCascade";
17
- import { Typewriter } from "./typewriter/Typewriter";
18
- import { WordSwap } from "./word-swap/WordSwap";
19
- import { BarWipeTitle } from "./bar-wipe-title/BarWipeTitle";
20
- import { KineticPunch } from "./kinetic-punch/KineticPunch";
21
- import { DecodeText } from "./decode-text/DecodeText";
22
- import { OutlineFill } from "./outline-fill/OutlineFill";
23
- import { EditorialQuote } from "./editorial-quote/EditorialQuote";
24
- import { Highlighter } from "./highlighter/Highlighter";
25
- import { LogoSting } from "./logo-sting/LogoSting";
26
- import { Marquee } from "./marquee/Marquee";
27
- import { Aurora } from "./aurora/Aurora";
28
- import { MotionLoop } from "./motion-loop/MotionLoop";
29
- import { DotTraceTitle } from "./dot-trace-title/DotTraceTitle";
30
- import { LavaLamp } from "./lava-lamp/LavaLamp";
31
- import { SpotlightGrid } from "./spotlight-grid/SpotlightGrid";
32
- import { IrisWipe } from "./iris-wipe/IrisWipe";
33
- import { PanelSweep } from "./panel-sweep/PanelSweep";
34
- import { TileWipe } from "./tile-wipe/TileWipe";
35
- import { Notification } from "./notification/Notification";
36
- import { ChatThread } from "./chat-thread/ChatThread";
37
- import { StickerSlam } from "./sticker-slam/StickerSlam";
38
- import { GlitchTitle } from "./glitch-title/GlitchTitle";
39
- import { SplitFlap } from "./split-flap/SplitFlap";
40
- import { Countdown } from "./countdown/Countdown";
41
- import { WordStack } from "./word-stack/WordStack";
42
- import { TypeZoom } from "./type-zoom/TypeZoom";
43
- import { HalftoneWave } from "./halftone-wave/HalftoneWave";
44
- import { BentoGrid } from "./bento-grid/BentoGrid";
45
- import { SocialPost } from "./social-post/SocialPost";
46
- import { Checklist } from "./checklist/Checklist";
47
- import { Confetti } from "./confetti/Confetti";
48
- import { KineticPoster } from "./kinetic-poster/KineticPoster";
49
- import { ArcadeTitle } from "./arcade-title/ArcadeTitle";
50
- import { CutAndPaste } from "./cut-and-paste/CutAndPaste";
51
- import { TargetLock } from "./target-lock/TargetLock";
52
- import { ShapeShift } from "./shape-shift/ShapeShift";
53
- import { HookCard } from "./hook-card/HookCard";
54
- import { WordPop } from "./word-pop/WordPop";
55
- import { StickerBadge } from "./sticker-badge/StickerBadge";
56
- import { ListCard } from "./list-card/ListCard";
57
- import { QuoteCard } from "./quote-card/QuoteCard";
58
- import { BeforeAfter } from "./before-after/BeforeAfter";
59
- import { LineDiagram } from "./line-diagram/LineDiagram";
60
-
61
- type AnyComponent = ComponentType<MotionBaseProps & PropValues>;
62
- const COMPONENTS: Record<string, unknown> = {
63
- "text-reveal": TextReveal,
64
- "slide-zoom-message": SlideZoomMessage,
65
- "lower-third": LowerThird,
66
- "stat-counter": StatCounter,
67
- "prompt-box": PromptBox,
68
- "light-leak": LightLeakTransition,
69
- "blur-in-title": BlurInTitle,
70
- "letter-cascade": LetterCascade,
71
- "typewriter": Typewriter,
72
- "word-swap": WordSwap,
73
- "bar-wipe-title": BarWipeTitle,
74
- "kinetic-punch": KineticPunch,
75
- "decode-text": DecodeText,
76
- "outline-fill": OutlineFill,
77
- "editorial-quote": EditorialQuote,
78
- "highlighter": Highlighter,
79
- "logo-sting": LogoSting,
80
- "marquee": Marquee,
81
- "aurora": Aurora,
82
- "motion-loop": MotionLoop,
83
- "dot-trace-title": DotTraceTitle,
84
- "lava-lamp": LavaLamp,
85
- "spotlight-grid": SpotlightGrid,
86
- "iris-wipe": IrisWipe,
87
- "panel-sweep": PanelSweep,
88
- "tile-wipe": TileWipe,
89
- "notification": Notification,
90
- "chat-thread": ChatThread,
91
- "sticker-slam": StickerSlam,
92
- "glitch-title": GlitchTitle,
93
- "split-flap": SplitFlap,
94
- "countdown": Countdown,
95
- "word-stack": WordStack,
96
- "type-zoom": TypeZoom,
97
- "halftone-wave": HalftoneWave,
98
- "bento-grid": BentoGrid,
99
- "social-post": SocialPost,
100
- "checklist": Checklist,
101
- "confetti": Confetti,
102
- "kinetic-poster": KineticPoster,
103
- "arcade-title": ArcadeTitle,
104
- "cut-and-paste": CutAndPaste,
105
- "target-lock": TargetLock,
106
- "shape-shift": ShapeShift,
107
- "hook-card": HookCard,
108
- "word-pop": WordPop,
109
- "sticker-badge": StickerBadge,
110
- "list-card": ListCard,
111
- "quote-card": QuoteCard,
112
- "before-after": BeforeAfter,
113
- "line-diagram": LineDiagram,
114
- };
115
-
116
- /** Every component waits for the library's fonts, so previews, stills and exports never use a fallback. */
117
- function withFonts(Component: AnyComponent, name: string): AnyComponent {
118
- function WithFonts(props: MotionBaseProps & PropValues) {
119
- useMotionFonts();
120
- return createElement(Component, props);
121
- }
122
- WithFonts.displayName = `WithFonts(${name})`;
123
- return WithFonts;
124
- }
125
-
126
- export const MOTION_COMPONENTS: Record<string, MotionComponent> = Object.fromEntries(
127
- Object.entries(COMPONENT_METAS).map(([id, meta]) => [
128
- id,
129
- { meta, Component: withFonts(COMPONENTS[id] as AnyComponent, meta.name) },
130
- ]),
131
- );
132
-
133
- export const COMPONENT_CATEGORIES = [
134
- "Talking Head",
135
- "Text & Titles",
136
- "Overlays",
137
- "Charts & Stats",
138
- "AI & Product",
139
- "Backgrounds",
140
- "Transitions",
141
- ] as const;
142
-
143
- export { checkComponentProps, resolveComponentProps, styledPropKeys } from "./props";
144
- export { getMotionStyle, MOTION_STYLES, STYLE_TOKENS } from "./styles";
145
- export type { MotionStyle, StyleToken } from "./styles";
146
- // The runtime calls this when a project has a style, so caption and text clips get the style's fonts.
147
- export { loadMotionFonts, useMotionFonts } from "./lib";
148
- // Called by the studio runtime for a project with a style: camera on footage, texture, captions.
149
- export { StyleOverlay, StyledCaptions, styleCamera, styleLookProps } from "./style-layer";
150
- export { hookSpeakerBox, type SpeakerBox } from "./hook-card/HookCard";
151
- // Edits in progress: a moving slider reaches its clip directly, without re-rendering the studio.
152
- export { LIVE_PROJECT, clearLiveClip, getLiveClip, setLiveClip, useLiveClip, useLiveClips } from "./live-clip";
153
-
154
- // Colour grading: the runtime draws clip grades with these, the studio builds its tools on them.
155
- export {
156
- GRADE_BANDS, bakeCurve, gradeAtFrame, gradeCssFilter, gradePasses, gradeUniforms, hasCurves, isCssGrade, isNeutralGrade,
157
- mixGrades, parseCube, scaleGrade, serializeCube,
158
- } from "./color/grade";
159
- export type { ColorGrade, CubeLut, GradeBand, GradeCurvePoint, GradeCurves, GradeFields, GradeHsl, GradeKey, GradeMatch, GradeWheel, GradeWheels } from "./color/grade";
160
- export { GRADE_LOOKS, gradeLook } from "./color/looks";
161
- export type { GradeLook } from "./color/looks";
162
- export { warmGradeShaders, canDrawGrade, cleanupGradeRenderer, drawGrade, gradeEffects, gradeLutPaths, setupGradeRenderer } from "./color/grade-effect";
163
- export type { GradeDrawParams, GradeRendererState } from "./color/grade-effect";
164
-
165
- // Cinematic toolkit for scenes: a 3D camera with lens blur, devices, lifts, glare (see skills/agentcut/references/cinematic.md).
166
- export {
167
- Backdrop,
168
- cameraAt,
169
- Device,
170
- DEVICE_ASPECT,
171
- deviceGeometry,
172
- Floor,
173
- Glare,
174
- Group,
175
- Lift,
176
- Plane,
177
- PlaneVideo,
178
- progress,
179
- Screen,
180
- screenRect,
181
- Stage,
182
- usePlaneLayer,
183
- useStage,
184
- } from "./cinematic/Cinematic";
185
- export { Device3D, DEVICE_FINISHES } from "./cinematic/Device3D";
186
- // Seamless motion loops for scenes: <LoopCanvas loop="dot-wave" accent=… /> or your own draw(ctx, w, h, t, P, M).
187
- export { LoopCanvas } from "./loops/LoopCanvas";
188
- // The "generated by an agent" reveal for screenshots and photos in scenes.
189
- export { GenerateReveal } from "./generate/GenerateReveal";
190
- export type { GenerateRevealProps } from "./generate/GenerateReveal";
191
- export type { LoopCanvasProps } from "./loops/LoopCanvas";
192
- export { LOOP, LOOP_CATEGORIES, loopPalette, M as loopHelpers } from "./loops/engine";
193
- export type { LoopCategory, LoopDef, LoopDraw, LoopHelpers, LoopPalette, LoopTone } from "./loops/engine";
194
- export { getLoop, LOOP_IDS, LOOPS } from "./loops/library";
195
- export type { Device3DModel, Device3DProps } from "./cinematic/Device3D";
196
- export type { BackdropLook, CameraKey, CameraPose, DeviceKind, EaseName, LiftProps, Placement, PlaneProps, ScreenProps, StageProps } from "./cinematic/Cinematic";
197
-
198
- export { COMPONENT_METAS } from "./catalog";
199
- export type { ComponentMeta, MotionBaseProps, MotionComponent, PropSpec, PropValues } from "./types";
1
+ // The registry. Add a component: create its folder (Component.tsx + meta.json), add its meta to
2
+ // catalog.ts and its component to COMPONENTS below. The studio preview, the browser export, the
3
+ // gallery, the inspector form and Claude's catalog all read from here.
4
+ import { createElement, type ComponentType } from "react";
5
+ import type { MotionBaseProps, MotionComponent, PropValues } from "./types";
6
+
7
+ import { COMPONENT_METAS } from "./catalog";
8
+ import { useMotionFonts } from "./lib";
9
+ import { LightLeakTransition } from "./light-leak/LightLeakTransition";
10
+ import { LowerThird } from "./lower-third/LowerThird";
11
+ import { PromptBox } from "./prompt-box/PromptBox";
12
+ import { SlideZoomMessage } from "./slide-zoom-message/SlideZoomMessage";
13
+ import { StatCounter } from "./stat-counter/StatCounter";
14
+ import { TextReveal } from "./text-reveal/TextReveal";
15
+ import { BlurInTitle } from "./blur-in-title/BlurInTitle";
16
+ import { LetterCascade } from "./letter-cascade/LetterCascade";
17
+ import { Typewriter } from "./typewriter/Typewriter";
18
+ import { WordSwap } from "./word-swap/WordSwap";
19
+ import { BarWipeTitle } from "./bar-wipe-title/BarWipeTitle";
20
+ import { KineticPunch } from "./kinetic-punch/KineticPunch";
21
+ import { DecodeText } from "./decode-text/DecodeText";
22
+ import { OutlineFill } from "./outline-fill/OutlineFill";
23
+ import { EditorialQuote } from "./editorial-quote/EditorialQuote";
24
+ import { Highlighter } from "./highlighter/Highlighter";
25
+ import { LogoSting } from "./logo-sting/LogoSting";
26
+ import { Marquee } from "./marquee/Marquee";
27
+ import { Aurora } from "./aurora/Aurora";
28
+ import { MotionLoop } from "./motion-loop/MotionLoop";
29
+ import { DotTraceTitle } from "./dot-trace-title/DotTraceTitle";
30
+ import { LavaLamp } from "./lava-lamp/LavaLamp";
31
+ import { SpotlightGrid } from "./spotlight-grid/SpotlightGrid";
32
+ import { IrisWipe } from "./iris-wipe/IrisWipe";
33
+ import { PanelSweep } from "./panel-sweep/PanelSweep";
34
+ import { TileWipe } from "./tile-wipe/TileWipe";
35
+ import { Notification } from "./notification/Notification";
36
+ import { ChatThread } from "./chat-thread/ChatThread";
37
+ import { StickerSlam } from "./sticker-slam/StickerSlam";
38
+ import { GlitchTitle } from "./glitch-title/GlitchTitle";
39
+ import { SplitFlap } from "./split-flap/SplitFlap";
40
+ import { Countdown } from "./countdown/Countdown";
41
+ import { WordStack } from "./word-stack/WordStack";
42
+ import { TypeZoom } from "./type-zoom/TypeZoom";
43
+ import { HalftoneWave } from "./halftone-wave/HalftoneWave";
44
+ import { BentoGrid } from "./bento-grid/BentoGrid";
45
+ import { SocialPost } from "./social-post/SocialPost";
46
+ import { Checklist } from "./checklist/Checklist";
47
+ import { Confetti } from "./confetti/Confetti";
48
+ import { KineticPoster } from "./kinetic-poster/KineticPoster";
49
+ import { ArcadeTitle } from "./arcade-title/ArcadeTitle";
50
+ import { CutAndPaste } from "./cut-and-paste/CutAndPaste";
51
+ import { TargetLock } from "./target-lock/TargetLock";
52
+ import { ShapeShift } from "./shape-shift/ShapeShift";
53
+ import { HookCard } from "./hook-card/HookCard";
54
+ import { WordPop } from "./word-pop/WordPop";
55
+ import { StickerBadge } from "./sticker-badge/StickerBadge";
56
+ import { ListCard } from "./list-card/ListCard";
57
+ import { QuoteCard } from "./quote-card/QuoteCard";
58
+ import { BeforeAfter } from "./before-after/BeforeAfter";
59
+ import { LineDiagram } from "./line-diagram/LineDiagram";
60
+
61
+ type AnyComponent = ComponentType<MotionBaseProps & PropValues>;
62
+ const COMPONENTS: Record<string, unknown> = {
63
+ "text-reveal": TextReveal,
64
+ "slide-zoom-message": SlideZoomMessage,
65
+ "lower-third": LowerThird,
66
+ "stat-counter": StatCounter,
67
+ "prompt-box": PromptBox,
68
+ "light-leak": LightLeakTransition,
69
+ "blur-in-title": BlurInTitle,
70
+ "letter-cascade": LetterCascade,
71
+ "typewriter": Typewriter,
72
+ "word-swap": WordSwap,
73
+ "bar-wipe-title": BarWipeTitle,
74
+ "kinetic-punch": KineticPunch,
75
+ "decode-text": DecodeText,
76
+ "outline-fill": OutlineFill,
77
+ "editorial-quote": EditorialQuote,
78
+ "highlighter": Highlighter,
79
+ "logo-sting": LogoSting,
80
+ "marquee": Marquee,
81
+ "aurora": Aurora,
82
+ "motion-loop": MotionLoop,
83
+ "dot-trace-title": DotTraceTitle,
84
+ "lava-lamp": LavaLamp,
85
+ "spotlight-grid": SpotlightGrid,
86
+ "iris-wipe": IrisWipe,
87
+ "panel-sweep": PanelSweep,
88
+ "tile-wipe": TileWipe,
89
+ "notification": Notification,
90
+ "chat-thread": ChatThread,
91
+ "sticker-slam": StickerSlam,
92
+ "glitch-title": GlitchTitle,
93
+ "split-flap": SplitFlap,
94
+ "countdown": Countdown,
95
+ "word-stack": WordStack,
96
+ "type-zoom": TypeZoom,
97
+ "halftone-wave": HalftoneWave,
98
+ "bento-grid": BentoGrid,
99
+ "social-post": SocialPost,
100
+ "checklist": Checklist,
101
+ "confetti": Confetti,
102
+ "kinetic-poster": KineticPoster,
103
+ "arcade-title": ArcadeTitle,
104
+ "cut-and-paste": CutAndPaste,
105
+ "target-lock": TargetLock,
106
+ "shape-shift": ShapeShift,
107
+ "hook-card": HookCard,
108
+ "word-pop": WordPop,
109
+ "sticker-badge": StickerBadge,
110
+ "list-card": ListCard,
111
+ "quote-card": QuoteCard,
112
+ "before-after": BeforeAfter,
113
+ "line-diagram": LineDiagram,
114
+ };
115
+
116
+ /** Every component waits for the library's fonts, so previews, stills and exports never use a fallback. */
117
+ function withFonts(Component: AnyComponent, name: string): AnyComponent {
118
+ function WithFonts(props: MotionBaseProps & PropValues) {
119
+ useMotionFonts();
120
+ return createElement(Component, props);
121
+ }
122
+ WithFonts.displayName = `WithFonts(${name})`;
123
+ return WithFonts;
124
+ }
125
+
126
+ export const MOTION_COMPONENTS: Record<string, MotionComponent> = Object.fromEntries(
127
+ Object.entries(COMPONENT_METAS).map(([id, meta]) => [
128
+ id,
129
+ { meta, Component: withFonts(COMPONENTS[id] as AnyComponent, meta.name) },
130
+ ]),
131
+ );
132
+
133
+ export const COMPONENT_CATEGORIES = [
134
+ "Talking Head",
135
+ "Text & Titles",
136
+ "Overlays",
137
+ "Charts & Stats",
138
+ "AI & Product",
139
+ "Backgrounds",
140
+ "Transitions",
141
+ ] as const;
142
+
143
+ export { checkComponentProps, resolveComponentProps, styledPropKeys } from "./props";
144
+ export { getMotionStyle, MOTION_STYLES, STYLE_TOKENS } from "./styles";
145
+ export type { MotionStyle, StyleToken } from "./styles";
146
+ // The runtime calls this when a project has a style, so caption and text clips get the style's fonts.
147
+ export { loadMotionFonts, useMotionFonts } from "./lib";
148
+ // Called by the studio runtime for a project with a style: camera on footage, texture, captions.
149
+ export { StyleOverlay, StyledCaptions, styleCamera, styleLookProps } from "./style-layer";
150
+ export { hookSpeakerBox, type SpeakerBox } from "./hook-card/HookCard";
151
+ // Edits in progress: a moving slider reaches its clip directly, without re-rendering the studio.
152
+ export { LIVE_PROJECT, clearLiveClip, getLiveClip, setLiveClip, useLiveClip, useLiveClips } from "./live-clip";
153
+
154
+ // Colour grading: the runtime draws clip grades with these, the studio builds its tools on them.
155
+ export {
156
+ GRADE_BANDS, bakeCurve, gradeAtFrame, gradeCssFilter, gradePasses, gradeUniforms, hasCurves, isCssGrade, isNeutralGrade,
157
+ mixGrades, parseCube, scaleGrade, serializeCube,
158
+ } from "./color/grade";
159
+ export type { ColorGrade, CubeLut, GradeBand, GradeCurvePoint, GradeCurves, GradeFields, GradeHsl, GradeKey, GradeMatch, GradeWheel, GradeWheels } from "./color/grade";
160
+ export { GRADE_LOOKS, gradeLook } from "./color/looks";
161
+ export type { GradeLook } from "./color/looks";
162
+ export { warmGradeShaders, canDrawGrade, cleanupGradeRenderer, drawGrade, gradeEffects, gradeLutPaths, setupGradeRenderer } from "./color/grade-effect";
163
+ export type { GradeDrawParams, GradeRendererState } from "./color/grade-effect";
164
+
165
+ // Cinematic toolkit for scenes: a 3D camera with lens blur, devices, lifts, glare (see skills/agentcut/references/cinematic.md).
166
+ export {
167
+ Backdrop,
168
+ cameraAt,
169
+ Device,
170
+ DEVICE_ASPECT,
171
+ deviceGeometry,
172
+ Floor,
173
+ Glare,
174
+ Group,
175
+ Lift,
176
+ Plane,
177
+ PlaneVideo,
178
+ progress,
179
+ Screen,
180
+ screenRect,
181
+ Stage,
182
+ usePlaneLayer,
183
+ useStage,
184
+ } from "./cinematic/Cinematic";
185
+ export { Device3D, DEVICE_FINISHES } from "./cinematic/Device3D";
186
+ // Seamless motion loops for scenes: <LoopCanvas loop="dot-wave" accent=… /> or your own draw(ctx, w, h, t, P, M).
187
+ export { LoopCanvas } from "./loops/LoopCanvas";
188
+ // The "generated by an agent" reveal for screenshots and photos in scenes.
189
+ export { GenerateReveal } from "./generate/GenerateReveal";
190
+ export type { GenerateRevealProps } from "./generate/GenerateReveal";
191
+ export type { LoopCanvasProps } from "./loops/LoopCanvas";
192
+ export { LOOP, LOOP_CATEGORIES, loopPalette, M as loopHelpers } from "./loops/engine";
193
+ export type { LoopCategory, LoopDef, LoopDraw, LoopHelpers, LoopPalette, LoopTone } from "./loops/engine";
194
+ export { getLoop, LOOP_IDS, LOOPS } from "./loops/library";
195
+ export type { Device3DModel, Device3DProps } from "./cinematic/Device3D";
196
+ export type { BackdropLook, CameraKey, CameraPose, DeviceKind, EaseName, LiftProps, Placement, PlaneProps, ScreenProps, StageProps } from "./cinematic/Cinematic";
197
+
198
+ export { COMPONENT_METAS } from "./catalog";
199
+ export type { ComponentMeta, MotionBaseProps, MotionComponent, PropSpec, PropValues } from "./types";