agentcut 0.2.15 → 0.2.18

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 (152) hide show
  1. package/README.md +127 -0
  2. package/dist/bridge.d.ts +1 -0
  3. package/dist/bridge.js +9 -4
  4. package/dist/bridge.js.map +1 -1
  5. package/dist/index.js +3 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/log.js +6 -1
  8. package/dist/log.js.map +1 -1
  9. package/dist/studio/agents/claude.d.ts +22 -1
  10. package/dist/studio/agents/claude.js +89 -3
  11. package/dist/studio/agents/claude.js.map +1 -1
  12. package/dist/studio/agents/types.d.ts +6 -0
  13. package/dist/studio/chat.d.ts +2 -0
  14. package/dist/studio/chat.js +13 -10
  15. package/dist/studio/chat.js.map +1 -1
  16. package/dist/studio/cli.js +43 -21
  17. package/dist/studio/cli.js.map +1 -1
  18. package/dist/studio/editing-styles.d.ts +26 -0
  19. package/dist/studio/editing-styles.js +84 -0
  20. package/dist/studio/editing-styles.js.map +1 -0
  21. package/dist/studio/host.d.ts +13 -2
  22. package/dist/studio/host.js +140 -9
  23. package/dist/studio/host.js.map +1 -1
  24. package/dist/studio/housekeeping.d.ts +16 -0
  25. package/dist/studio/housekeeping.js +152 -0
  26. package/dist/studio/housekeeping.js.map +1 -0
  27. package/dist/studio/http.d.ts +3 -0
  28. package/dist/studio/http.js +25 -0
  29. package/dist/studio/http.js.map +1 -1
  30. package/dist/studio/mcp-files.d.ts +34 -0
  31. package/dist/studio/mcp-files.js +159 -0
  32. package/dist/studio/mcp-files.js.map +1 -0
  33. package/dist/studio/mcp-guides.d.ts +4 -0
  34. package/dist/studio/mcp-guides.js +93 -0
  35. package/dist/studio/mcp-guides.js.map +1 -0
  36. package/dist/studio/projects.d.ts +1 -1
  37. package/dist/studio/providers/http.d.ts +4 -0
  38. package/dist/studio/providers/http.js +23 -0
  39. package/dist/studio/providers/http.js.map +1 -0
  40. package/dist/studio/providers/settings.d.ts +20 -0
  41. package/dist/studio/providers/settings.js +84 -0
  42. package/dist/studio/providers/settings.js.map +1 -0
  43. package/dist/studio/proxies.d.ts +45 -0
  44. package/dist/studio/proxies.js +263 -0
  45. package/dist/studio/proxies.js.map +1 -0
  46. package/dist/studio/references.d.ts +18 -0
  47. package/dist/studio/references.js +21 -4
  48. package/dist/studio/references.js.map +1 -1
  49. package/dist/studio/release-browser.d.ts +25 -0
  50. package/dist/studio/release-browser.js +191 -0
  51. package/dist/studio/release-browser.js.map +1 -0
  52. package/dist/studio/release-cursor.d.ts +3 -0
  53. package/dist/studio/release-cursor.js +27 -0
  54. package/dist/studio/release-cursor.js.map +1 -0
  55. package/dist/studio/release-edit.d.ts +34 -0
  56. package/dist/studio/release-edit.js +183 -0
  57. package/dist/studio/release-edit.js.map +1 -0
  58. package/dist/studio/release-recorder.d.ts +30 -0
  59. package/dist/studio/release-recorder.js +273 -0
  60. package/dist/studio/release-recorder.js.map +1 -0
  61. package/dist/studio/release-video.d.ts +693 -0
  62. package/dist/studio/release-video.js +616 -0
  63. package/dist/studio/release-video.js.map +1 -0
  64. package/dist/studio/render.d.ts +2 -0
  65. package/dist/studio/render.js +33 -15
  66. package/dist/studio/render.js.map +1 -1
  67. package/dist/studio/reveal.d.ts +3 -1
  68. package/dist/studio/reveal.js +26 -8
  69. package/dist/studio/reveal.js.map +1 -1
  70. package/dist/studio/schema.d.ts +23535 -1480
  71. package/dist/studio/schema.js +71 -4
  72. package/dist/studio/schema.js.map +1 -1
  73. package/dist/studio/share.d.ts +2 -0
  74. package/dist/studio/share.js +7 -1
  75. package/dist/studio/share.js.map +1 -1
  76. package/dist/studio/tools.d.ts +4 -0
  77. package/dist/studio/tools.js +113 -8
  78. package/dist/studio/tools.js.map +1 -1
  79. package/dist/studio/transcription/assemblyai.d.ts +11 -0
  80. package/dist/studio/transcription/assemblyai.js +123 -0
  81. package/dist/studio/transcription/assemblyai.js.map +1 -0
  82. package/dist/studio/transcription/local.d.ts +2 -0
  83. package/dist/studio/transcription/local.js +57 -0
  84. package/dist/studio/transcription/local.js.map +1 -0
  85. package/dist/studio/transcription/registry.d.ts +3 -0
  86. package/dist/studio/transcription/registry.js +5 -0
  87. package/dist/studio/transcription/registry.js.map +1 -0
  88. package/dist/studio/transcription/service.d.ts +130 -0
  89. package/dist/studio/transcription/service.js +236 -0
  90. package/dist/studio/transcription/service.js.map +1 -0
  91. package/dist/studio/transcription/types.d.ts +68 -0
  92. package/dist/studio/transcription/types.js +2 -0
  93. package/dist/studio/transcription/types.js.map +1 -0
  94. package/dist/studio/voice/audio.d.ts +1 -0
  95. package/dist/studio/voice/audio.js +18 -0
  96. package/dist/studio/voice/audio.js.map +1 -0
  97. package/dist/studio/voice/elevenlabs.d.ts +2 -0
  98. package/dist/studio/voice/elevenlabs.js +76 -0
  99. package/dist/studio/voice/elevenlabs.js.map +1 -0
  100. package/dist/studio/voice/gemini.d.ts +2 -0
  101. package/dist/studio/voice/gemini.js +95 -0
  102. package/dist/studio/voice/gemini.js.map +1 -0
  103. package/dist/studio/voice/openai.d.ts +2 -0
  104. package/dist/studio/voice/openai.js +75 -0
  105. package/dist/studio/voice/openai.js.map +1 -0
  106. package/dist/studio/voice/registry.d.ts +4 -0
  107. package/dist/studio/voice/registry.js +18 -0
  108. package/dist/studio/voice/registry.js.map +1 -0
  109. package/dist/studio/voice/types.d.ts +42 -0
  110. package/dist/studio/voice/types.js +2 -0
  111. package/dist/studio/voice/types.js.map +1 -0
  112. package/dist/studio/voice/xai.d.ts +2 -0
  113. package/dist/studio/voice/xai.js +80 -0
  114. package/dist/studio/voice/xai.js.map +1 -0
  115. package/dist/studio/voice.d.ts +32 -58
  116. package/dist/studio/voice.js +52 -308
  117. package/dist/studio/voice.js.map +1 -1
  118. package/dist/studio/workspace.d.ts +1 -0
  119. package/dist/studio/workspace.js +1 -0
  120. package/dist/studio/workspace.js.map +1 -1
  121. package/package.json +2 -1
  122. package/template/AGENTS.md +1 -0
  123. package/template/components/CATALOG.md +2 -0
  124. package/template/components/STYLES.md +108 -7
  125. package/template/components/catalog.json +29 -0
  126. package/template/components/color/grade-effect.ts +650 -0
  127. package/template/components/color/grade.ts +512 -0
  128. package/template/components/color/looks.ts +154 -0
  129. package/template/components/hook-card/HookCard.tsx +11 -5
  130. package/template/components/hook-card/meta.json +29 -0
  131. package/template/components/index.ts +14 -0
  132. package/template/components/live-clip.ts +75 -0
  133. package/template/components/sticker-badge/StickerBadge.tsx +4 -2
  134. package/template/components/styles.json +354 -3
  135. package/template/runtime/composition.tsx +283 -25
  136. package/template/runtime/framing.ts +29 -0
  137. package/template/runtime/helpers.tsx +2 -0
  138. package/template/runtime/types.ts +71 -4
  139. package/template/skill/SKILL.md +132 -6
  140. package/template/skill/references/broll.md +2 -1
  141. package/template/skill/references/color.md +79 -0
  142. package/template/skill/references/editing-styles.md +57 -0
  143. package/template/skill/references/footage.md +72 -73
  144. package/template/skill/references/format.md +142 -140
  145. package/template/skill/references/performance.md +14 -2
  146. package/template/skill/references/person-cutout.md +19 -0
  147. package/template/skill/references/person-framing.md +13 -0
  148. package/template/skill/references/presets.md +60 -56
  149. package/template/skill/references/sound.md +151 -151
  150. package/template/skill/references/style-editing.md +20 -0
  151. package/template/skill/references/transcription.md +15 -0
  152. package/template/skill/references/website-howto.md +41 -0
@@ -10,7 +10,8 @@ type Props = MotionBaseProps &
10
10
  lines: string[];
11
11
  sub: string;
12
12
  tagline: string;
13
- layout: string;
13
+ layout: string;
14
+ position?: string;
14
15
  split: number;
15
16
  align: string;
16
17
  size: number;
@@ -404,7 +405,12 @@ export function HookCard(props: Props) {
404
405
  const centered = props.align === "center" || layout === "stack" || layout === "window" || layout === "inset" || layout === "hud" || layout === "frame" || layout === "tv";
405
406
  const align = centered ? "center" : "left";
406
407
  const headSize = (props.size / 100) * Math.min(width, height) * (layout === "card" ? 0.72 : box && !vertical ? 0.8 : 1);
407
- const pad = (vertical ? 70 : 110) * u;
408
+ const pad = (vertical ? 70 : 110) * u;
409
+ const placement: CSSProperties = {
410
+ justifyContent: props.position === "top" ? "flex-start" : props.position === "lower" ? "flex-end" : "center",
411
+ paddingTop: props.position === "top" ? height * 0.1 : 0,
412
+ paddingBottom: props.position === "lower" ? height * 0.18 : 0,
413
+ };
408
414
 
409
415
  const content = (
410
416
  <div
@@ -425,16 +431,16 @@ export function HookCard(props: Props) {
425
431
 
426
432
  if (layout === "full") {
427
433
  return (
428
- <AbsoluteFill style={{ opacity: out }}>
434
+ <AbsoluteFill style={{ opacity: out, background: kit.backdrop }}>
429
435
  <Backdrop kit={kit} width={width} height={height} />
430
- <AbsoluteFill style={{ justifyContent: "center" }}>{content}</AbsoluteFill>
436
+ <AbsoluteFill style={placement}>{content}</AbsoluteFill>
431
437
  </AbsoluteFill>
432
438
  );
433
439
  }
434
440
  if (!box) {
435
441
  const e = enter(kit, frame, fps, 0, kit.look === "ink" || kit.look === "paper" ? -2 : 0);
436
442
  return (
437
- <AbsoluteFill style={{ alignItems: "center", justifyContent: "center", opacity: out }}>
443
+ <AbsoluteFill style={{ ...placement, alignItems: centered ? "center" : "flex-start", paddingLeft: centered ? 0 : pad, opacity: out }}>
438
444
  <div style={{ opacity: e.opacity, transform: e.transform, maxWidth: width * (vertical ? 0.88 : 0.62) }}>
439
445
  <Panel kit={kit} title="~/hook.txt">
440
446
  {content}
@@ -261,6 +261,26 @@
261
261
  "style": "text",
262
262
  "label": "Text on video",
263
263
  "default": "#ffffff"
264
+ },
265
+ "position": {
266
+ "type": "select",
267
+ "label": "Title position",
268
+ "default": "center",
269
+ "options": [
270
+ {
271
+ "value": "top",
272
+ "label": "Top"
273
+ },
274
+ {
275
+ "value": "center",
276
+ "label": "Center"
277
+ },
278
+ {
279
+ "value": "lower",
280
+ "label": "Lower third"
281
+ }
282
+ ],
283
+ "help": "Title position for full-frame and floating-card layouts. Framed speaker layouts keep the title beside their footage."
264
284
  }
265
285
  },
266
286
  "examples": [
@@ -299,6 +319,15 @@
299
319
  "sub": "",
300
320
  "tagline": ""
301
321
  }
322
+ },
323
+ {
324
+ "name": "Lower title over footage",
325
+ "props": {
326
+ "layout": "card",
327
+ "position": "lower",
328
+ "align": "left",
329
+ "size": 14
330
+ }
302
331
  }
303
332
  ]
304
333
  }
@@ -148,6 +148,20 @@ export { loadMotionFonts, useMotionFonts } from "./lib";
148
148
  // Called by the studio runtime for a project with a style: camera on footage, texture, captions.
149
149
  export { StyleOverlay, StyledCaptions, styleCamera, styleLookProps } from "./style-layer";
150
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
+
151
165
  // Cinematic toolkit for scenes: a 3D camera with lens blur, devices, lifts, glare (see skills/agentcut/references/cinematic.md).
152
166
  export {
153
167
  Backdrop,
@@ -0,0 +1,75 @@
1
+ // Edits in progress. While a slider moves, its value goes straight to the one clip it changes, so only
2
+ // that clip redraws: nothing else in the studio re-renders until the edit is saved on release.
3
+ // Renders (captures and exports) never read this, so they only ever draw what's saved.
4
+ import { useMemo, useSyncExternalStore } from "react";
5
+
6
+ type Fields = Record<string, unknown>;
7
+
8
+ /** Key for the whole-video grade, which isn't a clip. */
9
+ export const LIVE_PROJECT = "project";
10
+
11
+ const live = new Map<string, Fields>();
12
+ const clearing = new Set<string>();
13
+ const listeners = new Set<() => void>();
14
+ let scheduled = false;
15
+
16
+ function flush() {
17
+ scheduled = false;
18
+ for (const id of clearing) live.delete(id);
19
+ clearing.clear();
20
+ for (const listener of listeners) listener();
21
+ }
22
+
23
+ /** At most one redraw per display frame, however fast the pointer reports. */
24
+ function schedule() {
25
+ if (scheduled) return;
26
+ scheduled = true;
27
+ if (typeof requestAnimationFrame === "function") requestAnimationFrame(flush);
28
+ else flush();
29
+ }
30
+
31
+ function subscribe(listener: () => void) {
32
+ listeners.add(listener);
33
+ return () => {
34
+ listeners.delete(listener);
35
+ };
36
+ }
37
+
38
+ export function setLiveClip(id: string, fields: Fields) {
39
+ clearing.delete(id);
40
+ live.set(id, { ...live.get(id), ...fields });
41
+ schedule();
42
+ }
43
+
44
+ /** The edit is over. Takes effect on the next frame, after the saved value has reached the clip. */
45
+ export function clearLiveClip(id: string) {
46
+ if (!live.has(id)) return;
47
+ clearing.add(id);
48
+ schedule();
49
+ }
50
+
51
+ /** Fields being edited on this clip, or undefined. */
52
+ export function getLiveClip(id: string): Fields | undefined {
53
+ return live.get(id);
54
+ }
55
+
56
+ const none = () => undefined;
57
+
58
+ /** `clip` with any edit in progress on top. Re-renders only when this clip's own edit changes. */
59
+ export function useLiveClip<T extends { id: string }>(clip: T, isRendering = false): T {
60
+ const id = clip.id;
61
+ const snapshot = isRendering ? none : () => live.get(id);
62
+ const fields = useSyncExternalStore(subscribe, snapshot, none);
63
+ return useMemo(() => (fields ? { ...clip, ...fields } : clip), [clip, fields]);
64
+ }
65
+
66
+ /** Re-render when any of these edits change (a clip following adjustment layers and the project grade). */
67
+ export function useLiveClips(ids: string[], isRendering = false) {
68
+ const snapshot = () => {
69
+ if (isRendering) return "";
70
+ let key = "";
71
+ for (const id of ids) if (live.has(id)) key += `${id}:${JSON.stringify(live.get(id))};`;
72
+ return key;
73
+ };
74
+ useSyncExternalStore(subscribe, snapshot, () => "");
75
+ }
@@ -33,13 +33,15 @@ export function StickerBadge(props: Props) {
33
33
  justifyContent: vertical === "top" ? "flex-start" : vertical === "bottom" ? "flex-end" : "center",
34
34
  }}
35
35
  >
36
- <div style={{ position: "relative", display: "flex", flexDirection: "column", alignItems: horizontal === "right" ? "flex-end" : "flex-start" }}>
36
+ {/* column-reverse: the tag sits above the badge but comes later in the DOM, so it paints on top
37
+ where they overlap (the export renderer has no z-index). */}
38
+ <div style={{ position: "relative", display: "flex", flexDirection: "column-reverse", alignItems: horizontal === "right" ? "flex-end" : "flex-start" }}>
39
+ <Sticker kit={kit} text={props.text} size={size} frame={frame} fps={fps} start={props.label ? 6 : 0} />
37
40
  {props.label ? (
38
41
  <div style={{ position: "relative", marginBottom: -size * 0.12, marginRight: horizontal === "right" ? size * 0.55 : 0 }}>
39
42
  <Tag kit={kit} text={props.label} fontSize={size * 0.17} frame={frame} fps={fps} start={0} />
40
43
  </div>
41
44
  ) : null}
42
- <Sticker kit={kit} text={props.text} size={size} frame={frame} fps={fps} start={props.label ? 6 : 0} />
43
45
  </div>
44
46
  </AbsoluteFill>
45
47
  );
@@ -521,15 +521,17 @@
521
521
  "Captions carry the video: huge, uppercase, centered, one or two words at a time, the key word in yellow.",
522
522
  "Explain every idea with a black full-frame Line Diagram (venn, one to many, growth, cycle, small vs big, stairs) while it is said.",
523
523
  "Jump-cut punch-ins every ~2 s; no texture, no color besides the yellow.",
524
- "Open with the speaker in a thin white frame under a bold title (Hook Card frame)."
524
+ "Open with a centered full-frame title in the line-art look. Use centered diagrams for the explanation, then return to the speaker. Do not use a split header for this opening."
525
525
  ],
526
526
  "shots": [
527
527
  {
528
528
  "job": "Hook",
529
529
  "component": "hook-card",
530
530
  "props": {
531
- "layout": "frame",
532
- "tagline": ""
531
+ "layout": "full",
532
+ "tagline": "",
533
+ "position": "center",
534
+ "align": "center"
533
535
  }
534
536
  },
535
537
  {
@@ -758,5 +760,354 @@
758
760
  }
759
761
  }
760
762
  ]
763
+ },
764
+ {
765
+ "id": "signal",
766
+ "name": "Signal",
767
+ "description": "Direct business advice: charcoal, lime emphasis, bold captions and clear proof.",
768
+ "look": "clean",
769
+ "tokens": {
770
+ "look": "clean",
771
+ "font": "heavy,condensed",
772
+ "weight": "800",
773
+ "text": "#ffffff",
774
+ "accent": "#cbef59",
775
+ "onAccent": "#ffffff",
776
+ "panel": "#171b18",
777
+ "panelText": "#ffffff",
778
+ "line": "#455241",
779
+ "theme": "dark",
780
+ "backdrop": "#101511"
781
+ },
782
+ "camera": {
783
+ "mode": "still",
784
+ "zoom": 1,
785
+ "every": 150,
786
+ "shake": 0,
787
+ "grade": "contrast(1.02)"
788
+ },
789
+ "overlay": {
790
+ "kind": "none",
791
+ "amount": 0
792
+ },
793
+ "captions": {
794
+ "fontFamily": "Montserrat",
795
+ "fontWeight": 800,
796
+ "color": "#ffffff",
797
+ "highlight": "#cbef59",
798
+ "preset": "pop",
799
+ "position": "bottom",
800
+ "wordsPerLine": 3
801
+ },
802
+ "text": {
803
+ "fontFamily": "Montserrat",
804
+ "fontWeight": 800,
805
+ "color": "#ffffff"
806
+ },
807
+ "guide": [
808
+ "First transcribe the source with agentcut_transcribe. Review word timings and listen before removing dead air, repeated takes or filler words. Keep breaths, intentional pauses and the meaning of each sentence. Do not remove speech from transcript guesses alone.",
809
+ "Build the speech edit first with source trims and split clips. Close the resulting gaps and remap captions, B-roll and audio to the edited timeline. Keep the source files unchanged.",
810
+ "Review the picture about every 4–6 seconds for a useful change at a new idea, example or emphasis. Use a modest punch-in, wider reset or relevant B-roll only when it helps. Never insert cuts on a fixed five-second timer. The preset leaves the camera still so shot-level edits control the framing.",
811
+ "Use only supplied or approved B-roll and licensed audio. If footage is missing, use a useful text or diagram insert. Keep speech clear above music; measure the mix and check cuts for clicks. A color filter does not restore missing detail or upscale footage.",
812
+ "Lead with one useful claim, support it with an example, then give the next action. Keep the speaker prominent. Avoid decorative transitions and constant stickers.",
813
+ "Use short three-word caption groups, with lime on the key word. Use one stat counter for a real number and a compact list for actionable steps. Prefer straight cuts; return to the wider shot after an emphasis.",
814
+ "Keep skin tones neutral and the backdrop quiet. Use a low, steady music bed only if it helps; silence is valid for direct advice.",
815
+ "Open over full-frame footage with a compact left-aligned title card in the lower third (hook-card layout:card, position:lower, align:left). Keep it below the face and above the bottom safe zone; hide captions during this title."
816
+ ],
817
+ "shots": [
818
+ {
819
+ "job": "Opening promise",
820
+ "component": "hook-card",
821
+ "props": {
822
+ "layout": "card",
823
+ "size": 15,
824
+ "position": "lower",
825
+ "align": "left"
826
+ }
827
+ },
828
+ {
829
+ "job": "Evidence",
830
+ "component": "stat-counter",
831
+ "props": {
832
+ "suffix": "%",
833
+ "label": "verified result"
834
+ }
835
+ },
836
+ {
837
+ "job": "Steps",
838
+ "component": "list-card",
839
+ "props": {
840
+ "layout": "card"
841
+ }
842
+ },
843
+ {
844
+ "job": "Next action",
845
+ "component": "word-pop",
846
+ "props": {
847
+ "position": "lower",
848
+ "tilt": false
849
+ }
850
+ }
851
+ ]
852
+ },
853
+ {
854
+ "id": "studyroom",
855
+ "name": "Studyroom",
856
+ "description": "Warm lessons: cream pages, teal notes, calm type and clear chapter cards.",
857
+ "look": "clean",
858
+ "tokens": {
859
+ "look": "clean",
860
+ "font": "display,sans",
861
+ "weight": "600",
862
+ "text": "#ffffff",
863
+ "accent": "#1b766b",
864
+ "onAccent": "#202b28",
865
+ "panel": "#fff8e8",
866
+ "panelText": "#202b28",
867
+ "line": "#b7c9b6",
868
+ "theme": "light",
869
+ "backdrop": "#f2e8d4"
870
+ },
871
+ "camera": {
872
+ "mode": "still",
873
+ "zoom": 1,
874
+ "every": 150,
875
+ "shake": 0,
876
+ "grade": "saturate(0.95) sepia(0.04)"
877
+ },
878
+ "overlay": {
879
+ "kind": "none",
880
+ "amount": 0
881
+ },
882
+ "captions": {
883
+ "fontFamily": "Inter",
884
+ "fontWeight": 600,
885
+ "color": "#ffffff",
886
+ "highlight": "#1b766b",
887
+ "preset": "plain",
888
+ "position": "bottom",
889
+ "wordsPerLine": 6
890
+ },
891
+ "text": {
892
+ "fontFamily": "Inter",
893
+ "fontWeight": 600,
894
+ "color": "#ffffff"
895
+ },
896
+ "guide": [
897
+ "First transcribe the source with agentcut_transcribe. Review word timings and listen before removing dead air, repeated takes or filler words. Keep breaths, intentional pauses and the meaning of each sentence. Do not remove speech from transcript guesses alone.",
898
+ "Build the speech edit first with source trims and split clips. Close the resulting gaps and remap captions, B-roll and audio to the edited timeline. Keep the source files unchanged.",
899
+ "Review the picture about every 4–6 seconds for a useful change at a new idea, example or emphasis. Use a modest punch-in, wider reset or relevant B-roll only when it helps. Never insert cuts on a fixed five-second timer. The preset leaves the camera still so shot-level edits control the framing.",
900
+ "Use only supplied or approved B-roll and licensed audio. If footage is missing, use a useful text or diagram insert. Keep speech clear above music; measure the mix and check cuts for clicks. A color filter does not restore missing detail or upscale footage.",
901
+ "Organize the lesson into a question, a worked example and a short recap. Keep natural thinking pauses; remove only delays that do not help comprehension.",
902
+ "Use warm cream chapter cards with teal emphasis, a rounded speaker inset and six-word caption lines. Show screen recordings or diagrams during the explanation, then return to the face.",
903
+ "Apply only a slight warm grade after checking white balance. Use soft music and sparse, quiet reveal sounds. Let each example stay visible long enough to read."
904
+ ],
905
+ "shots": [
906
+ {
907
+ "job": "Opening promise",
908
+ "component": "hook-card",
909
+ "props": {
910
+ "layout": "inset",
911
+ "size": 20
912
+ }
913
+ },
914
+ {
915
+ "job": "Chapter",
916
+ "component": "list-card",
917
+ "props": {
918
+ "layout": "card"
919
+ }
920
+ },
921
+ {
922
+ "job": "Worked example",
923
+ "component": "before-after",
924
+ "props": {
925
+ "layout": "full"
926
+ }
927
+ },
928
+ {
929
+ "job": "Takeaway",
930
+ "component": "quote-card",
931
+ "props": {
932
+ "layout": "card"
933
+ }
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "id": "afterglow",
939
+ "name": "Afterglow",
940
+ "description": "Product stories: dark plum, copper titles, detail shots and restrained motion.",
941
+ "look": "clean",
942
+ "tokens": {
943
+ "look": "clean",
944
+ "font": "serif,display",
945
+ "weight": "400",
946
+ "text": "#fff5ec",
947
+ "accent": "#efa879",
948
+ "onAccent": "#ffffff",
949
+ "panel": "#211923",
950
+ "panelText": "#ffffff",
951
+ "line": "#71545d",
952
+ "theme": "dark",
953
+ "backdrop": "#130f16"
954
+ },
955
+ "camera": {
956
+ "mode": "still",
957
+ "zoom": 1,
958
+ "every": 150,
959
+ "shake": 0,
960
+ "grade": "contrast(1.08) saturate(0.9)"
961
+ },
962
+ "overlay": {
963
+ "kind": "vignette",
964
+ "amount": 0.18
965
+ },
966
+ "captions": {
967
+ "fontFamily": "Inter",
968
+ "fontWeight": 400,
969
+ "color": "#fff5ec",
970
+ "highlight": "#efa879",
971
+ "preset": "plain",
972
+ "position": "bottom",
973
+ "wordsPerLine": 6
974
+ },
975
+ "text": {
976
+ "fontFamily": "Inter",
977
+ "fontWeight": 400,
978
+ "color": "#fff5ec"
979
+ },
980
+ "guide": [
981
+ "First transcribe the source with agentcut_transcribe. Review word timings and listen before removing dead air, repeated takes or filler words. Keep breaths, intentional pauses and the meaning of each sentence. Do not remove speech from transcript guesses alone.",
982
+ "Build the speech edit first with source trims and split clips. Close the resulting gaps and remap captions, B-roll and audio to the edited timeline. Keep the source files unchanged.",
983
+ "Review the picture about every 4–6 seconds for a useful change at a new idea, example or emphasis. Use a modest punch-in, wider reset or relevant B-roll only when it helps. Never insert cuts on a fixed five-second timer. The preset leaves the camera still so shot-level edits control the framing.",
984
+ "Use only supplied or approved B-roll and licensed audio. If footage is missing, use a useful text or diagram insert. Keep speech clear above music; measure the mix and check cuts for clicks. A color filter does not restore missing detail or upscale footage.",
985
+ "Build a short product story: reveal, useful detail, demonstration, payoff. Keep the voice edit clean and use supplied close-ups to show the claim.",
986
+ "Alternate wide, detail and action shots at meaningful beats. Use match cuts where the source supports them. Use a brief light leak only at a scene change; avoid a transition on every cut.",
987
+ "Use large copper serif titles with generous empty space. Reserve captions for spoken explanation. Keep highlights below clipping and avoid heavy orange skin tones.",
988
+ "Place music hits and subtle source-backed Foley on actual actions. Do not add fake product sounds or claim speed ramps without source frames and an explicit timeline edit."
989
+ ],
990
+ "shots": [
991
+ {
992
+ "job": "Opening promise",
993
+ "component": "hook-card",
994
+ "props": {
995
+ "layout": "frame",
996
+ "size": 20
997
+ }
998
+ },
999
+ {
1000
+ "job": "Reveal",
1001
+ "component": "light-leak",
1002
+ "props": {
1003
+ "strength": 0.35,
1004
+ "hueShift": 20
1005
+ }
1006
+ },
1007
+ {
1008
+ "job": "Product contrast",
1009
+ "component": "before-after",
1010
+ "props": {
1011
+ "layout": "full"
1012
+ }
1013
+ },
1014
+ {
1015
+ "job": "Payoff",
1016
+ "component": "word-pop",
1017
+ "props": {
1018
+ "position": "center",
1019
+ "tilt": false
1020
+ }
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "id": "fieldnote",
1026
+ "name": "Fieldnote",
1027
+ "description": "Documentary notes: ivory serif titles, rust markers, source cards and light grain.",
1028
+ "look": "clean",
1029
+ "tokens": {
1030
+ "look": "clean",
1031
+ "font": "serif,fraunces",
1032
+ "weight": "400",
1033
+ "text": "#ffffff",
1034
+ "accent": "#b94d32",
1035
+ "onAccent": "#24251f",
1036
+ "panel": "#f4f0e5",
1037
+ "panelText": "#24251f",
1038
+ "line": "#41463e",
1039
+ "theme": "light",
1040
+ "backdrop": "#e8e2d4"
1041
+ },
1042
+ "camera": {
1043
+ "mode": "still",
1044
+ "zoom": 1,
1045
+ "every": 150,
1046
+ "shake": 0,
1047
+ "grade": "contrast(1.02)"
1048
+ },
1049
+ "overlay": {
1050
+ "kind": "grain",
1051
+ "amount": 0.06
1052
+ },
1053
+ "captions": {
1054
+ "fontFamily": "Instrument Serif",
1055
+ "fontWeight": 400,
1056
+ "color": "#ffffff",
1057
+ "highlight": "#b94d32",
1058
+ "preset": "plain",
1059
+ "position": "bottom",
1060
+ "wordsPerLine": 6
1061
+ },
1062
+ "text": {
1063
+ "fontFamily": "Inter",
1064
+ "fontWeight": 400,
1065
+ "color": "#ffffff"
1066
+ },
1067
+ "guide": [
1068
+ "First transcribe the source with agentcut_transcribe. Review word timings and listen before removing dead air, repeated takes or filler words. Keep breaths, intentional pauses and the meaning of each sentence. Do not remove speech from transcript guesses alone.",
1069
+ "Build the speech edit first with source trims and split clips. Close the resulting gaps and remap captions, B-roll and audio to the edited timeline. Keep the source files unchanged.",
1070
+ "Review the picture about every 4–6 seconds for a useful change at a new idea, example or emphasis. Use a modest punch-in, wider reset or relevant B-roll only when it helps. Never insert cuts on a fixed five-second timer. The preset leaves the camera still so shot-level edits control the framing.",
1071
+ "Use only supplied or approved B-roll and licensed audio. If footage is missing, use a useful text or diagram insert. Keep speech clear above music; measure the mix and check cuts for clicks. A color filter does not restore missing detail or upscale footage.",
1072
+ "Build a setup, a question or conflict, and a supported resolution. Preserve pauses that carry emotion. Use captions as access to the speech, not as invented narration.",
1073
+ "Use ivory serif chapter titles, rust markers and source labels. Show evidence as supplied images or screen recordings, with a clear source caption. Never invent a quote, date, map or statistic.",
1074
+ "Use a wider speaker frame for context and a modest closer crop for a personal point. Hold on documents long enough to read. Use light grain and neutral color; preserve natural room tone.",
1075
+ "Use quote cards only for exact verified words. Keep music sparse under testimony, and finish with the answer to the opening question rather than an unrelated call to action.",
1076
+ "Open with a centered, full-frame ivory serif chapter card, not torn paper, tape or collage. Cut to the speaker once the question is clear. Keep rust markers small and evidence cards square and quiet."
1077
+ ],
1078
+ "shots": [
1079
+ {
1080
+ "job": "Opening promise",
1081
+ "component": "hook-card",
1082
+ "props": {
1083
+ "layout": "full",
1084
+ "position": "center",
1085
+ "align": "center",
1086
+ "size": 18
1087
+ }
1088
+ },
1089
+ {
1090
+ "job": "Verified quote",
1091
+ "component": "quote-card",
1092
+ "props": {
1093
+ "layout": "full"
1094
+ }
1095
+ },
1096
+ {
1097
+ "job": "Evidence summary",
1098
+ "component": "list-card",
1099
+ "props": {
1100
+ "layout": "full"
1101
+ }
1102
+ },
1103
+ {
1104
+ "job": "Chapter marker",
1105
+ "component": "word-pop",
1106
+ "props": {
1107
+ "position": "lower",
1108
+ "tilt": false
1109
+ }
1110
+ }
1111
+ ]
761
1112
  }
762
1113
  ]