@anvpx/motion 0.1.94 → 0.1.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CATALOG.md +19 -11
- package/README.md +30 -18
- package/mcpb/motion-kit-0.1.95.mcpb +0 -0
- package/package.json +9 -9
- package/plugins/motion-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/motion-kit/README.md +3 -3
- package/plugins/motion-kit/commands/mk-draft.md +7 -3
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +5 -3
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +21 -26
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +54 -32
- package/plugins/motion-kit/skills/motion-kit/references/authoring-scene.md +60 -9
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +18 -17
- package/plugins/motion-kit/skills/motion-kit/references/craft-color.md +17 -4
- package/plugins/motion-kit/skills/motion-kit/references/craft-composition.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-critique.md +9 -1
- package/plugins/motion-kit/skills/motion-kit/references/craft-motion.md +45 -2
- package/plugins/motion-kit/skills/motion-kit/references/craft-narrative.md +7 -0
- package/plugins/motion-kit/skills/motion-kit/references/craft-sound.md +98 -22
- package/plugins/motion-kit/skills/motion-kit/references/craft-type.md +4 -0
- package/plugins/motion-kit/skills/motion-kit/references/critique-repair.md +42 -6
- package/plugins/motion-kit/skills/motion-kit/references/design-taste.md +20 -15
- package/plugins/motion-kit/skills/motion-kit/references/direction.md +83 -36
- package/plugins/motion-kit/skills/motion-kit/references/free-storyboard.md +4 -4
- package/plugins/motion-kit/skills/motion-kit/references/index.md +2 -1
- package/plugins/motion-kit/skills/motion-kit/references/intake.md +72 -14
- package/plugins/motion-kit/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/plugins/motion-kit/skills/motion-kit/references/longform.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +3 -3
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +76 -12
- package/plugins/motion-kit/skills/motion-kit/references/scene-recipes.md +54 -0
- package/plugins/motion-kit/skills/motion-kit/references/storyboard-json.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/themes.md +20 -11
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/visual-forms.md +56 -22
- package/plugins/motion-kit/skills/motion-kit/references/voice.md +55 -31
- package/plugins/motion-kit/skills/motion-kit/references/worked-decisions.md +88 -1
- package/plugins/motion-kit/skills/motion-kit/references/world-design.md +66 -33
- package/shared/themes/successors/README.md +17 -0
- package/shared/themes/successors/bold-dark-v2.json +293 -0
- package/shared/themes/successors/bold-light-v2.json +386 -0
- package/shared/themes/successors/calm-dark-v2.json +293 -0
- package/shared/themes/successors/calm-light-v2.json +386 -0
- package/shared/themes/successors/data-dark-v2.json +264 -0
- package/shared/themes/successors/data-light-v2.json +357 -0
- package/shared/themes/successors/editorial-dark-v2.json +293 -0
- package/shared/themes/successors/editorial-light-v2.json +387 -0
- package/shared/themes/successors/fjord-dark-v2.json +293 -0
- package/shared/themes/successors/fjord-light-v2.json +386 -0
- package/shared/themes/successors/playful-dark-v2.json +293 -0
- package/shared/themes/successors/playful-light-v2.json +386 -0
- package/shared/themes/successors/pop-dark-v2.json +273 -0
- package/shared/themes/successors/pop-light-v2.json +366 -0
- package/shared/themes/successors/tech-dark-v2.json +288 -0
- package/shared/themes/successors/tech-light-v2.json +381 -0
- package/shared/themes/successors/warm-dark-v2.json +293 -0
- package/shared/themes/successors/warm-light-v2.json +386 -0
- package/skills/motion-kit/SKILL.md +21 -26
- package/skills/motion-kit/references/amplify.md +54 -32
- package/skills/motion-kit/references/authoring-scene.md +60 -9
- package/skills/motion-kit/references/common-mistakes.md +18 -17
- package/skills/motion-kit/references/craft-color.md +17 -4
- package/skills/motion-kit/references/craft-composition.md +1 -1
- package/skills/motion-kit/references/craft-critique.md +9 -1
- package/skills/motion-kit/references/craft-motion.md +45 -2
- package/skills/motion-kit/references/craft-narrative.md +7 -0
- package/skills/motion-kit/references/craft-sound.md +98 -22
- package/skills/motion-kit/references/craft-type.md +4 -0
- package/skills/motion-kit/references/critique-repair.md +42 -6
- package/skills/motion-kit/references/design-taste.md +20 -15
- package/skills/motion-kit/references/direction.md +83 -36
- package/skills/motion-kit/references/free-storyboard.md +4 -4
- package/skills/motion-kit/references/index.md +2 -1
- package/skills/motion-kit/references/intake.md +72 -14
- package/skills/motion-kit/references/knowledge-routing.md +10 -4
- package/skills/motion-kit/references/longform.md +2 -2
- package/skills/motion-kit/references/patterns.md +3 -3
- package/skills/motion-kit/references/quality-bar.md +76 -12
- package/skills/motion-kit/references/scene-recipes.md +54 -0
- package/skills/motion-kit/references/storyboard-json.md +1 -1
- package/skills/motion-kit/references/themes.md +20 -11
- package/skills/motion-kit/references/troubleshooting.md +1 -1
- package/skills/motion-kit/references/visual-forms.md +56 -22
- package/skills/motion-kit/references/voice.md +55 -31
- package/skills/motion-kit/references/worked-decisions.md +88 -1
- package/skills/motion-kit/references/world-design.md +66 -33
- package/templates/compare/blueprints/versus.json +40 -35
- package/templates/compare/copy.md +4 -2
- package/templates/compare/previews/versus.png +0 -0
- package/templates/compare/styles/punchy.json +1 -1
- package/templates/datastory/blueprints/data-story.json +32 -8
- package/templates/datastory/blueprints/infographic.json +12 -34
- package/templates/datastory/blueprints/trend.json +31 -7
- package/templates/datastory/copy.md +4 -2
- package/templates/datastory/pacing.json +3 -0
- package/templates/datastory/previews/data-story.png +0 -0
- package/templates/datastory/previews/infographic.png +0 -0
- package/templates/datastory/previews/trend.png +0 -0
- package/templates/datastory/styles/clear.json +1 -1
- package/templates/datastory/styles/pop.json +1 -2
- package/templates/datastory/template.json +2 -2
- package/templates/event/blueprints/promo.json +18 -10
- package/templates/event/blueprints/save-the-date.json +14 -8
- package/templates/event/copy.md +2 -1
- package/templates/event/pacing.json +1 -0
- package/templates/event/previews/promo.png +0 -0
- package/templates/event/previews/save-the-date.png +0 -0
- package/templates/event/template.json +3 -3
- package/templates/explain/blueprints/architecture.json +43 -3
- package/templates/explain/blueprints/concept.json +50 -32
- package/templates/explain/blueprints/howto.json +3 -1
- package/templates/explain/blueprints/overview.json +11 -1
- package/templates/explain/copy.md +3 -1
- package/templates/explain/pacing.json +2 -1
- package/templates/explain/previews/architecture.png +0 -0
- package/templates/explain/previews/concept.png +0 -0
- package/templates/explain/previews/howto.png +0 -0
- package/templates/explain/previews/overview.png +0 -0
- package/templates/explain/styles/crisp.json +1 -1
- package/templates/explain/template.json +1 -0
- package/templates/guide/blueprints/lesson.json +47 -15
- package/templates/guide/blueprints/onboarding.json +27 -2
- package/templates/guide/blueprints/tutorial.json +6 -1
- package/templates/guide/copy.md +3 -0
- package/templates/guide/pacing.json +5 -0
- package/templates/guide/previews/lesson.png +0 -0
- package/templates/guide/previews/onboarding.png +0 -0
- package/templates/guide/previews/tutorial.png +0 -0
- package/templates/guide/styles/friendly.json +1 -1
- package/templates/guide/styles/techdark.json +2 -2
- package/templates/guide/template.json +13 -2
- package/templates/pitch/blueprints/feature.json +1 -1
- package/templates/pitch/blueprints/launch.json +3 -6
- package/templates/pitch/blueprints/pricing.json +24 -1
- package/templates/pitch/copy.md +2 -1
- package/templates/pitch/previews/feature.png +0 -0
- package/templates/pitch/previews/launch.png +0 -0
- package/templates/pitch/previews/pricing.png +0 -0
- package/templates/pitch/styles/teaser.json +1 -1
- package/templates/recap/blueprints/news-recap.json +44 -10
- package/templates/recap/blueprints/timeline-story.json +15 -5
- package/templates/recap/copy.md +2 -1
- package/templates/recap/previews/news-recap.png +0 -0
- package/templates/recap/previews/timeline-story.png +0 -0
- package/templates/report/blueprints/kpi-review.json +13 -2
- package/templates/report/blueprints/status.json +18 -8
- package/templates/report/copy.md +1 -1
- package/templates/report/previews/kpi-review.png +0 -0
- package/templates/report/previews/status.png +0 -0
- package/templates/report/styles/exec.json +1 -1
- package/templates/report/styles/memo.json +1 -1
- package/templates/social/blueprints/announce.json +22 -7
- package/templates/social/blueprints/listicle.json +19 -7
- package/templates/social/blueprints/tip.json +3 -0
- package/templates/social/copy.md +1 -0
- package/templates/social/previews/announce.png +0 -0
- package/templates/social/previews/listicle.png +0 -0
- package/templates/social/previews/tip.png +0 -0
- package/templates/social/styles/hook-first.json +1 -1
- package/templates/social/styles/techcut.json +1 -1
- package/templates/social/template.json +1 -1
- package/templates/update/blueprints/announcement.json +64 -36
- package/templates/update/blueprints/changelog.json +4 -0
- package/templates/update/blueprints/release-notes.json +5 -1
- package/templates/update/blueprints/weekly-update.json +76 -56
- package/templates/update/copy.md +3 -1
- package/templates/update/previews/announcement.png +0 -0
- package/templates/update/previews/changelog.png +0 -0
- package/templates/update/previews/release-notes.png +0 -0
- package/templates/update/previews/weekly-update.png +0 -0
- package/templates/update/styles/techdark.json +1 -1
- package/templates/update/template.json +2 -0
- package/templates/vista/blueprints/spotlight.json +56 -19
- package/templates/vista/blueprints/tour.json +65 -32
- package/templates/vista/copy.md +2 -1
- package/templates/vista/pacing.json +2 -1
- package/templates/vista/previews/spotlight.png +0 -0
- package/templates/vista/previews/tour.png +0 -0
- package/templates/vista/styles/bright.json +1 -1
- package/templates/vista/styles/cinematic.json +1 -1
- package/templates/vista/template.json +5 -5
- package/templates/walkthrough/blueprints/product-tour.json +48 -67
- package/templates/walkthrough/copy.md +4 -1
- package/templates/walkthrough/pacing.json +1 -0
- package/templates/walkthrough/previews/product-tour.png +0 -0
- package/templates/walkthrough/template.json +2 -2
- package/mcpb/motion-kit-0.1.94.mcpb +0 -0
package/CATALOG.md
CHANGED
|
@@ -7,8 +7,8 @@ Generated by `mk catalog --write` from the scene registry; do not edit. Read the
|
|
|
7
7
|
```
|
|
8
8
|
type | layer | purpose | required
|
|
9
9
|
title | base | Opening or section title card with optional kicker and subtitle. | title
|
|
10
|
-
hero | base | Landing-page hero: kicker, big headline with [x] accents, subline and up to 4
|
|
11
|
-
poster | base | Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words
|
|
10
|
+
hero | base | Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 tiles; bento or centered. | title
|
|
11
|
+
poster | base | Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words stay solid ink. | lines
|
|
12
12
|
bullets | base | Short list of 1-6 points with an optional heading. | items
|
|
13
13
|
stat | base | One hero number with label, unit, delta and context; counts up. | value,label
|
|
14
14
|
flow | base | Node-and-arrow diagram (2-8 nodes) laid out left-right or top-bottom, with an optional statement title above the chain: the point the diagram proves, not a label. | nodes,edges
|
|
@@ -16,7 +16,7 @@ outro | base | Closing beat on a horizon ground (its own deep sky and ground pla
|
|
|
16
16
|
lower-third | overlay | Name plate with optional title at the lower edge. | name
|
|
17
17
|
bug | overlay | Corner word mark or ledger image; give exactly one of text or image. | -
|
|
18
18
|
progress | overlay | Thin progress bar over the scene or the whole timeline. | -
|
|
19
|
-
countdown | overlay |
|
|
19
|
+
countdown | overlay | A real countdown: the remaining count, the event it ends on, and one tick per step so the viewer can see where in the sequence it is. | from,to
|
|
20
20
|
chapter | overlay | Numbered chapter chip in a corner. | number,label
|
|
21
21
|
caption | overlay | Voice word timings as karaoke captions; falls back to a full-text card. | -
|
|
22
22
|
compare | base | Two options side by side or wiped before/after, 1-5 points each; the winner is marked by icon and text. | left,right
|
|
@@ -32,10 +32,10 @@ kpi-grid | base | 2-6 headline numbers side by side, each with label, unit, chan
|
|
|
32
32
|
chart | base | Animated bar, line or donut chart for ranking, trend or share, with values shown and an optional highlight. | kind
|
|
33
33
|
stair | base | Two series over time: compound growth as annual steps and the same deposit earning simple interest as a straight line, with the year the gap reaches one deposit marked. | title
|
|
34
34
|
table | base | Small data table or ranked list (2-5 columns, 2-8 rows) with row-by-row reveal and one optional highlighted row. | columns,rows
|
|
35
|
-
scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
|
|
35
|
+
scene3d | base | WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), look real|ink (ink = WebGL NPR pass: depth silhouette + crease edges, paper tint, focus fade; the flat 2D path approximates with a paper ground and a heavier pen), plus post/light/hdri and model knot|gem|cut|sphere|torus|phone (phone = a phone-proportioned layered device: parametric slabs with a front-facing screen — bezel, glass and a notch/island — an app-grid display with earpiece+selfie, power/volume side buttons, a 3-lens camera module with flash, bottom-edge charging port/speaker/mic with a light port surround, a hollow mid-frame chassis around a smaller nested logic board and distinct per-layer finishes, so front, back and teardown beats read as a phone at a glance). The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable. | -
|
|
36
36
|
sticker | base | Pop-comic sticker slam: 1-5 short phrases slam in with outline type, tilt and a starburst; for hooks, myth-vs-fact and punchy shorts. | words
|
|
37
37
|
waveform | base | Audio waveform from precomputed peaks: bars rise as the playhead sweeps; for voice agents, podcasts and narrated reports. Peaks are storyboard data, never decoded audio. | peaks
|
|
38
|
-
world | base | Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat. | title
|
|
38
|
+
world | base | Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Add `objects` (up to three families: pine, rock, boat, gull, crate, piling) with `density` sparse|rich to populate the place from the shared object runtime; empty by default, so existing boards are unchanged. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat. | title
|
|
39
39
|
Detail: `mk catalog <type>`. Props are strict; unlisted keys are rejected.
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -50,7 +50,7 @@ props: {"title":"Hello"}
|
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
```
|
|
53
|
-
hero (base): Landing-page hero: kicker, big headline with [x] accents, subline and up to 4
|
|
53
|
+
hero (base): Landing-page hero: kicker, big headline with [x] accents, subline and up to 4 tiles; bento or centered.
|
|
54
54
|
title * text<=70
|
|
55
55
|
subtitle text<=120
|
|
56
56
|
kicker text<=28
|
|
@@ -60,7 +60,7 @@ props: {"title":"Design at the [speed] of thought","layout":"bento"}
|
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
```
|
|
63
|
-
poster (base): Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words
|
|
63
|
+
poster (base): Type-led statement: 1-3 oversized lines with [x] accents, optional kicker and foot; outline draws the last line as outline type and accent words stay solid ink.
|
|
64
64
|
lines * text<=38[1..3]
|
|
65
65
|
kicker text<=28
|
|
66
66
|
foot text<=60
|
|
@@ -84,6 +84,7 @@ stat (base): One hero number with label, unit, delta and context; counts up.
|
|
|
84
84
|
unit text
|
|
85
85
|
delta text
|
|
86
86
|
context text
|
|
87
|
+
exact boolean
|
|
87
88
|
props: {"value":42,"label":"Users"}
|
|
88
89
|
```
|
|
89
90
|
|
|
@@ -130,7 +131,7 @@ props: {}
|
|
|
130
131
|
```
|
|
131
132
|
|
|
132
133
|
```
|
|
133
|
-
countdown (overlay):
|
|
134
|
+
countdown (overlay): A real countdown: the remaining count, the event it ends on, and one tick per step so the viewer can see where in the sequence it is.
|
|
134
135
|
from * int 0..999
|
|
135
136
|
to * int 0..999
|
|
136
137
|
label text
|
|
@@ -162,6 +163,8 @@ compare (base): Two options side by side or wiped before/after, 1-5 points each;
|
|
|
162
163
|
verdict text<=80
|
|
163
164
|
winner left|right
|
|
164
165
|
winnerLabel text<=20 = "Winner"
|
|
166
|
+
locale text<=35 = "en-US"
|
|
167
|
+
targets {id,role}[..2]
|
|
165
168
|
props: {"left":{"label":"Before","points":["Manual"]},"right":{"label":"After","points":["Automated"]},"winner":"right"}
|
|
166
169
|
```
|
|
167
170
|
|
|
@@ -244,7 +247,7 @@ props: {"lines":["const total = price * 2","- old line","+ new line"],"lang":"js
|
|
|
244
247
|
```
|
|
245
248
|
kpi-grid (base): 2-6 headline numbers side by side, each with label, unit, change and trend arrow (good=down when a fall is good); values count up.
|
|
246
249
|
title text
|
|
247
|
-
items* {value,label,unit,delta,trend,good}[2..6]
|
|
250
|
+
items* {value,label,unit,delta,trend,good,exact}[2..6]
|
|
248
251
|
cols int 2..3
|
|
249
252
|
props: {"title":"Quarter at a glance","items":[{"value":"$4.2M","label":"Revenue","delta":"+12%","trend":"up"},{"value":86,"unit":"%","label":"Retention","delta":"-2 pts","trend":"down"}]}
|
|
250
253
|
```
|
|
@@ -291,11 +294,12 @@ props: {"title":"Top regions","columns":["Region","Revenue"],"rows":[["North","$
|
|
|
291
294
|
```
|
|
292
295
|
|
|
293
296
|
```
|
|
294
|
-
scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), plus post/light/hdri and model knot|gem|cut|sphere|torus. The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
|
|
297
|
+
scene3d (base): WebGL stage (vendored three.js) with a depth rig: stage diorama|plinth|grid|floor (each owns its own furniture), compare off|behind|front|apart (a second object for scale/occlusion), contact rest|sink (a body the ground takes), annotate off|span (type that measures the picture), composition overlay|column|inset|full|plate|bare (where the copy lives), camera orbit|dolly|crane|push|macro|tele|high|low|pan|tilt|static, bokeh off|subtle|strong (WebGL only), depth single|layer|tunnel, material clay|gloss|metal|emissive|glass|wire, volumetric off|soft|dense, reflector off|gloss|mirror, layout card|film (film = full-bleed with a scrim), look real|ink (ink = WebGL NPR pass: depth silhouette + crease edges, paper tint, focus fade; the flat 2D path approximates with a paper ground and a heavier pen), plus post/light/hdri and model knot|gem|cut|sphere|torus|phone (phone = a phone-proportioned layered device: parametric slabs with a front-facing screen — bezel, glass and a notch/island — an app-grid display with earpiece+selfie, power/volume side buttons, a 3-lens camera module with flash, bottom-edge charging port/speaker/mic with a light port surround, a hollow mid-frame chassis around a smaller nested logic board and distinct per-layer finishes, so front, back and teardown beats read as a phone at a glance). The flat 2D canvas fallback paints the same stage, camera path and depth bands without WebGL. 3D output is machine+GPU stable, not portable.
|
|
295
298
|
title text<=60
|
|
296
299
|
caption text<=140
|
|
297
300
|
model text
|
|
298
301
|
post clean|bloom|cinematic|vintage = "cinematic"
|
|
302
|
+
look real|ink = "real"
|
|
299
303
|
light studio|sunset|night|soft|sweep = "studio"
|
|
300
304
|
material clay|gloss|metal|emissive|glass|wire = "clay"
|
|
301
305
|
hdri neutral|studio|sunset|night = "neutral"
|
|
@@ -331,14 +335,18 @@ props: {"peaks":[0.2,0.4,0.6,0.8,0.6,0.4,0.3,0.5,0.7,0.9,0.7,0.5,0.4,0.3,0.2,0.1
|
|
|
331
335
|
```
|
|
332
336
|
|
|
333
337
|
```
|
|
334
|
-
world (base): Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat.
|
|
338
|
+
world (base): Designed environment with integrated type: pick terrain coast|desert|forest|city|interior|space and time dawn|day|dusk|night|storm; deterministic sky, horizon, ground, weather and parallax, no stock asset and no named subject. Add `objects` (up to three families: pine, rock, boat, gull, crate, piling) with `density` sparse|rich to populate the place from the shared object runtime; empty by default, so existing boards are unchanged. Give `stops` (2-4 labels) to draw a mechanism as a lit path of labelled posts across the ground, or `balance` (two 1-3 item lists plus an optional verdict) to stand a ledger of what arrives against what leaves in the same place. Use it for an opening, a mechanism, a comparison, a turn or a closing beat.
|
|
335
339
|
title * text<=64
|
|
336
340
|
kicker text<=28
|
|
337
341
|
subtitle text<=120
|
|
338
342
|
terrain coast|desert|forest|city|interior|ocean|space = "coast"
|
|
339
343
|
time dawn|day|dusk|night|storm = "dusk"
|
|
340
344
|
layout overlay|lower|center = "overlay"
|
|
345
|
+
subject none|lighthouse = "none"
|
|
346
|
+
objects pine|rock|boat|gull|crate|piling[..3] = []
|
|
347
|
+
density sparse|rich = "sparse"
|
|
341
348
|
stops text<=40[2..4]
|
|
342
349
|
balance {left,right,verdict}
|
|
350
|
+
targets {id,role}[..1]
|
|
343
351
|
props: {"title":"The light does not wait","terrain":"coast","time":"dusk","layout":"overlay"}
|
|
344
352
|
```
|
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ brief ──► direction ──► storyboard.json ──► validate ──►
|
|
|
11
11
|
|
|
12
12
|
- **A small production document with room for original design.** Storyboards are diffable, reviewable and patchable JSON. Use catalog components where they fit, or author deterministic HTML/CSS/JS scenes for original compositions through the same build and approval path.
|
|
13
13
|
- **Deterministic by construction.** Every scene is a pure function of time (`seek(t)`): no frame-rate clock, no unseeded randomness. Same-machine drafts are byte-identical.
|
|
14
|
-
- **
|
|
15
|
-
- **Local
|
|
14
|
+
- **An honest approval gate.** `mk preview` writes a review pack, `mk approve` records the approval of those exact inputs, and `mk render --gated` refuses with exit 4 until a human-labelled approval matches the current inputs. Only an interactive terminal can label a receipt human; any edit re-arms the gate. A recorded `interaction.json` (`mk interaction record`) is one of those inputs: editing it re-arms the gate like editing a scene.
|
|
15
|
+
- **Local rendering, no cloud service.** Rendering, linting, previewing and contact sheets run on your machine; confidential decks stay on disk. Optional voice setup downloads Kokoro assets and a GPL-3.0 phonemizer on first use and is unavailable on macOS — the engine itself never sends anything to a cloud service.
|
|
16
16
|
|
|
17
17
|
## Requirements
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ brief ──► direction ──► storyboard.json ──► validate ──►
|
|
|
20
20
|
- **ffmpeg** and **ffprobe** >= 6 on `PATH`
|
|
21
21
|
- Chrome for HyperFrames: `mk doctor` reports it; the first render downloads `chrome-headless-shell` if it is missing
|
|
22
22
|
|
|
23
|
-
Optional voice needs Python 3.12 plus Kokoro/faster-whisper; `mk doctor` tells you what is missing. The engine itself needs no Python.
|
|
23
|
+
Optional voice needs Python 3.12 plus Kokoro/faster-whisper; on first use it downloads Kokoro assets and a GPL-3.0 phonemizer into a local cache, and this path is not available on macOS. `mk doctor` tells you what is missing. The engine itself needs no Python. See `docs/VOICE-SUPPORT.md` for the supported-platform matrix and the exact early refusals.
|
|
24
24
|
|
|
25
25
|
## Quickstart
|
|
26
26
|
|
|
@@ -34,6 +34,10 @@ function mk { npx -y @anvpx/motion@latest @args } # PowerShell
|
|
|
34
34
|
# Optional template-assisted example, after deciding the visual direction:
|
|
35
35
|
mk template list --for "how our pricing works"
|
|
36
36
|
mk new explain/architecture --demo --out storyboard.json # --demo = example copy; --set k=v for yours
|
|
37
|
+
# NOTE: built-in catalog presets are gated (S8: no observed proof); `mk new` on a
|
|
38
|
+
# built-in returns exit 2 today. Use the direct route instead:
|
|
39
|
+
# mk catalog -> write storyboard.json -> mk validate storyboard.json
|
|
40
|
+
# or an authored scene (`mk scene new <id>`). Authored/project templates are not gated.
|
|
37
41
|
mk validate storyboard.json
|
|
38
42
|
mk preview storyboard.json
|
|
39
43
|
mk approve storyboard.json --note "looks right" # only after the user said yes
|
|
@@ -44,7 +48,7 @@ mk render storyboard.json --gated --verify
|
|
|
44
48
|
|
|
45
49
|
## What you get
|
|
46
50
|
|
|
47
|
-
- **
|
|
51
|
+
- **30 scene types** — title, bullets, stat, flow, chart, compare, timeline, code, scene3d and more. `mk catalog` lists them; `mk catalog <type>` shows the props.
|
|
48
52
|
- **12 templates and 30 blueprints** — `mk template list --for "<brief>"` ranks blueprints; `mk template show <template>/<blueprint>` explains one.
|
|
49
53
|
- **Shared themes** — light/dark families projected from DTCG tokens, plus user themes and vendored assets with a licence ledger.
|
|
50
54
|
- **Edits as verbs** — `mk patch` (atomic JSON Patch), `mk scene add|remove|move`, `mk fit --seconds N`.
|
|
@@ -64,9 +68,9 @@ The agent first develops a visual argument in an authoring-only `direction.md`:
|
|
|
64
68
|
**Claude Desktop — one file.** `npx -y @anvpx/motion@latest desktop` writes
|
|
65
69
|
`motion-kit-<version>.mcpb` into the current folder. Open it (double-click, or drag it onto
|
|
66
70
|
Desktop), answer the two settings, and the nine tools appear. The bundle carries **no engine**:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
each tool runs the engine pinned to the bundle's release; `@latest` is available as a warned opt-in
|
|
72
|
+
in the extension settings, not an automatic update. The archive is not code-signed, so Desktop may
|
|
73
|
+
ask you to confirm it.
|
|
70
74
|
|
|
71
75
|
Tools: `mk_version`, `mk_doctor`, `mk_catalog`, `mk_new`, `mk_validate`, `mk_still`, `mk_preview`,
|
|
72
76
|
`mk_approve`, `mk_render` — each is the CLI command of the same name, and `mk_render` always
|
|
@@ -78,6 +82,8 @@ passes `--gated`.
|
|
|
78
82
|
claude plugin install motion-kit --marketplace <path to this repo>
|
|
79
83
|
```
|
|
80
84
|
|
|
85
|
+
This is a **self-hosted local-path marketplace** — a directory you control, not an official listing. A local-path install of 0.1.94 was qualified (R19/R21); official marketplace listing is NOT_RUN.
|
|
86
|
+
|
|
81
87
|
Inside a session the same thing is two lines: `/plugin marketplace add <path>` then
|
|
82
88
|
`/plugin install motion-kit@motion-kit`. For one session without a marketplace:
|
|
83
89
|
`npx -y @anvpx/motion@latest plugin install --out ./motion-kit-plugin` then
|
|
@@ -91,13 +97,13 @@ Inside a session the same thing is two lines: `/plugin marketplace add <path>` t
|
|
|
91
97
|
|
|
92
98
|
## Updates
|
|
93
99
|
|
|
94
|
-
| surface | follows new releases
|
|
95
|
-
| ------------------------------ |
|
|
96
|
-
| CLI (`npx -y ...@latest`) | yes
|
|
97
|
-
| Desktop bundle | engine
|
|
98
|
-
| Claude Code plugin, local path | yes
|
|
99
|
-
| Claude Code plugin, git source | when you update
|
|
100
|
-
| `--plugin-dir` folder, skills | no
|
|
100
|
+
| surface | follows new releases | how |
|
|
101
|
+
| ------------------------------ | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
102
|
+
| CLI (`npx -y ...@latest`) | yes | the dist-tag is resolved on every run |
|
|
103
|
+
| Desktop bundle | engine on setting change | the engine is pinned by default; Desktop has no extension auto-update, so open a newer `.mcpb` for a newer engine or tool list |
|
|
104
|
+
| Claude Code plugin, local path | yes | the marketplace reads the folder in place; edits apply at the next session start or `/reload-plugins` |
|
|
105
|
+
| Claude Code plugin, git source | when you update | third-party marketplaces default to no auto-update: turn it on under `/plugin` → Marketplaces, or run `claude plugin update` |
|
|
106
|
+
| `--plugin-dir` folder, skills | no | they pin `@<x.y.z>` on purpose; re-run `mk plugin install` after a release |
|
|
101
107
|
|
|
102
108
|
## The approval gate
|
|
103
109
|
|
|
@@ -107,13 +113,19 @@ mk preview → user reviews contact.png / stills / clip → mk approve →
|
|
|
107
113
|
|
|
108
114
|
`mk render --gated` exits **4** (`AWAITING_APPROVAL`) when the storyboard, its themes, referenced assets, asset ledger or audio inputs changed after the approval. `mk verify` exits **5** on a failed QA check. Approval is a sidecar file in `.mk/<name>/approval.json`; it is never a storyboard field.
|
|
109
115
|
|
|
116
|
+
The honest promise is narrower than "a human said yes":
|
|
117
|
+
|
|
118
|
+
- The gate proves the approved inputs are unchanged. It authenticates bytes, not an approver.
|
|
119
|
+
- Only an interactive terminal with no agent marker can label an approval `"human"`. An agent or non-interactive caller is refused (exit 2); `mk approve --automation` writes `approvalKind: "automated"`, which `mk render --gated` always refuses (exit 4).
|
|
120
|
+
- Deliberate local forgery is out of scope: a same-user process can still write the sidecar or allocate a pseudo-terminal.
|
|
121
|
+
|
|
110
122
|
## Limits (honest version)
|
|
111
123
|
|
|
112
|
-
- No GUI
|
|
124
|
+
- No GUI authoring surface and no editor. The review surface is the preview pack plus the published viewer from `mk publish`. The plain viewer's input is transport only (play/pause, scrub, restart, speed, loop, fullscreen, keyboard and pointer parallax); `mk publish --interactive` exposes scene-declared targets, records semantic input as `interaction.json`, replays a saved transcript from `viewer.html?interaction=interaction.json` (same origin), and `mk render --interaction` folds that same transcript back into the video.
|
|
113
125
|
- Delivery is opaque video: MP4 by default, or WebM/MOV/GIF/PNG-sequence conversions of the master. No alpha channel and no HDR path.
|
|
114
|
-
- Captions are generated from voice word timings or imported SRT/VTT; word-level karaoke needs a voice manifest.
|
|
115
|
-
- Voice is optional and needs a Python 3.12 environment; it is not reachable from `npx` alone.
|
|
116
|
-
- Determinism is proven on the same machine. Cross-machine or cross-GPU pixel equality is not claimed.
|
|
126
|
+
- Captions are generated from voice word timings or imported SRT/VTT; word-level karaoke needs a voice manifest. Without word timings, `mk captions` refuses with the fix (`docs/VOICE-SUPPORT.md`).
|
|
127
|
+
- Voice is optional and needs a Python 3.12 environment; it is not reachable from `npx` alone. Supported on Windows/Linux; macOS is unavailable — see `docs/VOICE-SUPPORT.md`.
|
|
128
|
+
- Determinism is opt-in (`mk verify --determinism`) and proven on the same machine only. Cross-machine or cross-GPU pixel equality is not claimed.
|
|
117
129
|
- Pre-1.0: HyperFrames 0.8.212 and the single storyboard schema are pinned; the scene vocabulary can still change.
|
|
118
130
|
|
|
119
131
|
## Development (from source)
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.95",
|
|
4
4
|
"description": "Storyboard JSON to animated video, rendered locally with HyperFrames: the mk CLI plus the full pipeline.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "anvpx",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@fontsource/jetbrains-mono": "5.3.0",
|
|
58
58
|
"@fontsource/source-serif-4": "5.3.1",
|
|
59
59
|
"@fontsource/space-grotesk": "5.3.0",
|
|
60
|
-
"@anvpx/motion-assets": "0.1.
|
|
61
|
-
"@anvpx/motion-audio": "0.1.
|
|
62
|
-
"@anvpx/motion-build": "0.1.
|
|
63
|
-
"@anvpx/motion-cli": "0.1.
|
|
64
|
-
"@anvpx/motion-scenes": "0.1.
|
|
65
|
-
"@anvpx/motion-schema": "0.1.
|
|
66
|
-
"@anvpx/motion-templates": "0.1.
|
|
67
|
-
"@anvpx/motion-themes": "0.1.
|
|
60
|
+
"@anvpx/motion-assets": "0.1.95",
|
|
61
|
+
"@anvpx/motion-audio": "0.1.95",
|
|
62
|
+
"@anvpx/motion-build": "0.1.95",
|
|
63
|
+
"@anvpx/motion-cli": "0.1.95",
|
|
64
|
+
"@anvpx/motion-scenes": "0.1.95",
|
|
65
|
+
"@anvpx/motion-schema": "0.1.95",
|
|
66
|
+
"@anvpx/motion-templates": "0.1.95",
|
|
67
|
+
"@anvpx/motion-themes": "0.1.95",
|
|
68
68
|
"hyperframes": "0.8.212",
|
|
69
69
|
"postprocessing": "6.39.5",
|
|
70
70
|
"three": "0.186.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# motion-kit Claude Code plugin
|
|
2
2
|
|
|
3
|
-
Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.
|
|
3
|
+
Plugin root: `plugins/motion-kit/`. `npx -y @anvpx/motion@0.1.95 plugin install` copies
|
|
4
4
|
this exact folder; a Claude Code user installs it from a marketplace instead.
|
|
5
5
|
|
|
6
6
|
## Install
|
|
@@ -22,7 +22,7 @@ Inside a session the same thing is two commands:
|
|
|
22
22
|
Without a marketplace, for one session:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npx -y @anvpx/motion@0.1.
|
|
25
|
+
npx -y @anvpx/motion@0.1.95 plugin install --out ./motion-kit-plugin
|
|
26
26
|
claude --plugin-dir ./motion-kit-plugin
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -32,7 +32,7 @@ claude --plugin-dir ./motion-kit-plugin
|
|
|
32
32
|
|
|
33
33
|
- `.claude-plugin/plugin.json` — manifest; version tracks `@anvpx/motion`.
|
|
34
34
|
- `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
|
|
35
|
-
calls `npx -y @anvpx/motion@0.1.
|
|
35
|
+
calls `npx -y @anvpx/motion@0.1.95` (pinned; never unpinned `npx`).
|
|
36
36
|
Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
|
|
37
37
|
- `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
|
|
38
38
|
scaffold; do not edit it here.
|
|
@@ -5,9 +5,13 @@ description: Preview a motion-kit storyboard (stills, contact sheet, draft clip)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.95 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.95 approve storyboard.json --automation --note "<user words>"
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
|
|
13
|
-
Show `contact.png` before asking for approval.
|
|
13
|
+
Show `contact.png` before asking for approval. This shell is not an interactive
|
|
14
|
+
terminal, so the approve above records `approvalKind: "automated"` and can never
|
|
15
|
+
satisfy `--gated`: ask the user to run `mk approve storyboard.json --note "<their
|
|
16
|
+
words>"` themselves in a terminal before the gated render. Invoked as
|
|
17
|
+
`/motion-kit:mk-draft`.
|
|
@@ -5,10 +5,10 @@ description: Start a motion-kit video (intake, brief, template pick, storyboard)
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
10
|
-
npx -y @anvpx/motion@0.1.
|
|
11
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.95 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.95 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.95 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.95 validate storyboard.json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
|
|
@@ -5,10 +5,12 @@ description: Gated render of an approved motion-kit storyboard with verify
|
|
|
5
5
|
Run the pinned CLI for every step; never use an unpinned invocation.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx -y @anvpx/motion@0.1.
|
|
9
|
-
npx -y @anvpx/motion@0.1.
|
|
8
|
+
npx -y @anvpx/motion@0.1.95 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.95 verify out/final.mp4 --storyboard storyboard.json
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 9-10 (patch, render). Exit 4 means
|
|
13
|
-
ask the user (not an error)
|
|
13
|
+
ask the user (not an error) — including when the receipt is labelled automated:
|
|
14
|
+
only the user can run `mk approve` in their own terminal. Any edit re-arms the
|
|
15
|
+
approval gate.
|
|
14
16
|
Invoked as `/motion-kit:mk-render`.
|
|
@@ -6,22 +6,22 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
6
6
|
|
|
7
7
|
# motion-kit: brief -> preview -> approved video
|
|
8
8
|
|
|
9
|
-
`mk` = `npx -y @anvpx/motion@0.1.
|
|
9
|
+
`mk` = `npx -y @anvpx/motion@0.1.95`. You author one storyboard JSON, show a short preview, render only on an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
13
|
-
1. `mk doctor`.
|
|
13
|
+
1. `mk doctor`. Voice opt-in before direction (1 of <=3 questions): if sound unstated, ask "voice on (default) / silent (text-led) / music-only" and record it; on yes, preflight voice setup (`references/setup.md`) or agree silent. Outline sound line must match.
|
|
14
14
|
2. Intake, then brief: <=8 facts, every number sourced (`references/intake.md`; thin ask: `references/amplify.md`).
|
|
15
|
-
3. Direction (`references/direction.md`, `references/
|
|
16
|
-
4. Route: template (`mk template list --for "<brief>"`, then `mk new <t>/<bp>`), direct (`references/free-storyboard.md`) or authored (`references/authoring-scene.md`); `mk validate` to 0 errors (build exit 0).
|
|
17
|
-
5. Audio (
|
|
15
|
+
3. Direction (`references/direction.md`, `references/design-taste.md`): audience + content spine, the visual argument, the world for a depicted subject (light/camera) and a beat table (beat | question | form | shot | sound). Send a <=200-word outline and wait for "go" (`references/outline.md`).
|
|
16
|
+
4. Route: template (`mk template list --for "<brief>"`, then `mk new <t>/<bp>`), direct (`references/free-storyboard.md`) or authored (`references/authoring-scene.md`); `mk validate` to 0 errors (build exit 0). **S8 gate:** built-in `mk new` presets exit 2 (no observed proof); use the direct or authored route; authored/project templates are not gated. **Arbitrary subject:** when catalog cannot model it, MUST author `type: custom`, not `scene3d`; one renderer, seek-driven, no second runtime; <=2 scenes/film (ADR-0011); `references/authoring-scene.md`. **Named-subject depiction gate:** when a brief names a mechanism, the beat table binds each named link to a beat that visibly depicts it — a labelled marker, caption, or text card over scenery is a label, not a depiction; a link the catalogue cannot model must be authored (`type: custom`). Name any link that no beat depicts in the preview ask before requesting approval.
|
|
17
|
+
5. Audio (when the outline asks): write `narration` on each base scene, then `mk voice storyboard.json --preset <id>`, `mk captions <manifest> --storyboard storyboard.json --out ops.json`, `mk patch storyboard.json --ops ops.json`.
|
|
18
18
|
6. `mk preview storyboard.json --full` plus the audio flags below; open `contact.png`, watch the clip, read `preview.json` (`references/quality-bar.md`); ask.
|
|
19
|
-
7. On yes: `mk approve storyboard.json --note "<their words>"
|
|
19
|
+
7. On yes: the user runs `mk approve storyboard.json --note "<their words>"` in a terminal, then you run `mk render storyboard.json --gated --verify` plus the same audio flags. Output: `out/project/final.mp4`.
|
|
20
20
|
|
|
21
21
|
## Read when
|
|
22
22
|
|
|
23
23
|
| File | Read when |
|
|
24
|
-
|
|
|
24
|
+
| --- | --- |
|
|
25
25
|
| `references/visual-forms.md` | before choosing scenes: form per beat, slide-deck test |
|
|
26
26
|
| `references/design-taste.md` | the visual bar, refusals, how to expand a thin prompt |
|
|
27
27
|
| `references/world-design.md` | audience, content spine, world, shot list, effects |
|
|
@@ -36,55 +36,50 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
|
|
|
36
36
|
| `references/patching.md` | edit after first write, or patch refusal |
|
|
37
37
|
| `references/quality-bar.md` | judging the preview and what to say before asking |
|
|
38
38
|
| `references/common-mistakes.md` | a command refuses, or a flag is in doubt |
|
|
39
|
-
| `references/index.md` | full catalog
|
|
39
|
+
| `references/index.md` | full catalog |
|
|
40
40
|
|
|
41
41
|
## Rules
|
|
42
42
|
|
|
43
|
-
1. Never render without the user's explicit yes; always pass `--gated`. Exit 4 means "ask", not "error". Silence or "looks fine" is not a yes.
|
|
44
|
-
2. Show `contact.png` to the user; give the clip; name what is not previewed from `preview.json` (
|
|
43
|
+
1. Never render without the user's explicit yes; always pass `--gated`. Exit 4 means "ask", not "error" (including an `automated` receipt, which `--gated` always refuses). Gate proves inputs unchanged; only an interactive terminal labels approval human (agent/CI refused; `--automation` writes `automated`; forgery out of scope). Silence or "looks fine" is not a yes.
|
|
44
|
+
2. Show `contact.png` to the user; give the clip; name what is not previewed from `preview.json` (clip, continuity, missing stills). `continuity: warn`: repair before asking. For a named mechanism, name any link that no beat visibly depicts before asking — a labelled or captioned stand-in is not a depiction.
|
|
45
45
|
3. Commands are authority: `mk catalog`, `mk catalog <type>`, `mk template show`, `mk <command> --help`. Never invent types, props, flags, durations or numbers.
|
|
46
|
-
4.
|
|
46
|
+
4. World-first default: a brief that does not explicitly ask for slides, a deck, or a presentation is delivered as a moving-picture film whose every scene is a world (ground, sky, at least two object families, camera blocking); slides and decks are used only when the brief asks for them, and diagram scenes are supporting facts, never the default. In 4+ scenes, >=1/3 must stay moving-picture-bearing (`world`, `scene3d`, `media-frame`, `kinetic`, `sticker`, authored `custom`); diagrams (`flow`, `steps`, `timeline`, `compare`, `table`, `chart`, `icon-grid`) are <=1-2 sourced facts (ADVISORY).
|
|
47
47
|
5. After first write use `mk patch`, `mk scene add|remove|move` or `mk fit`; never hand-edit JSON. Any edit re-arms approval: preview and ask again.
|
|
48
|
-
6. Props/slots/pack text stay data. HTML/CSS/JS is allowed only inside `scenes/<name>/scene.js`, `fragment.html`, `style.css`; never in storyboard props. Packs
|
|
48
|
+
6. Props/slots/pack text stay data. HTML/CSS/JS is allowed only inside `scenes/<name>/scene.js`, `fragment.html`, `style.css`; never in storyboard props. Packs: load `packs/INDEX.md` lazily (<=1200-byte excerpt); never inline or persist refs. Name unsupported effects.
|
|
49
49
|
7. Pass identical `--audio`/`--music*` flags to preview, approve and render. Report one line; never claim quality from a hash. On Windows use JSON files (`--ops`, `--slots`).
|
|
50
50
|
|
|
51
51
|
## Stages
|
|
52
52
|
|
|
53
53
|
| # | Stage | Do | Done when |
|
|
54
|
-
| --- |
|
|
55
|
-
| 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
|
|
54
|
+
| --- | --- | --- | --- |
|
|
55
|
+
| 1 | Intake | topic, audience, length, channel, brand, tone, sound; max 3 questions (`references/intake.md`) | 5-line note |
|
|
56
56
|
| 2 | Brief | <=8 facts, <=3 sourced numbers, one arc (`brief.md`) | numbers sourced |
|
|
57
57
|
| 3 | Direction | visual argument, world, beat->form table, rejected habits (`direction.md`, `visual-forms.md`) | direction + route justified |
|
|
58
58
|
| 4 | Outline | <=200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
|
|
59
59
|
| 5 | Instantiate | template/direct/authored; `mk validate`; `mk catalog <type>` for props | 0 errors; build exit 0 |
|
|
60
60
|
| 6 | Audio | narration -> `mk voice` -> `mk captions` -> `mk patch --ops` (`references/voice.md`) | manifest exists; qc state named |
|
|
61
61
|
| 7 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md` | 0 errors, warnings read |
|
|
62
|
-
| 8 | Preview | `mk preview
|
|
63
|
-
| 9 | Show + approve | contact + clip + 3-line summary + unchecked items; ask. On yes: `mk approve ... --note "<their words>"` |
|
|
62
|
+
| 8 | Preview | `mk preview ... --full` + audio flags; read stdout + `preview.json` | pack exists, continuity ok |
|
|
63
|
+
| 9 | Show + approve | contact + clip + 3-line summary + unchecked items; ask. On yes: the user runs `mk approve ... --note "<their words>"` in a terminal | human-labelled approval matches |
|
|
64
64
|
| 10 | Patch | smallest change; back to 7-8; max 3 rounds, then offer options | approval matches file |
|
|
65
65
|
| 11 | Render | `mk render ... --gated --verify` (mp4); `--format webm|mov|gif|png-sequence` omits `--verify`; add `--assets`/`--ledger` | mp4: verify 0; other: output exists |
|
|
66
66
|
|
|
67
67
|
## Choosing a route
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
World-first (authored scene or `world`/`scene3d`); slides/decks switch to template/direct/authored by fit. `mk catalog` defines props, not the idea. Reuse: direction + `mk catalog <type>`.
|
|
70
70
|
|
|
71
71
|
## How long should it be
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Use a given length; else propose 60 s — 30 s for an explicit short/social teaser, 180 s for explicit long-form. `mk fit --seconds N` adjusts timing, not depth; add beats with `mk scene add`.
|
|
74
74
|
|
|
75
|
-
##
|
|
75
|
+
## Sound
|
|
76
76
|
|
|
77
|
-
One voice, one bed, captions timed. Copy the bed beside the
|
|
77
|
+
One voice, one bed, captions timed; a missing channel is a defect. Copy the bed beside the board (`..` refused; never `bed-full.wav`).
|
|
78
78
|
|
|
79
79
|
```sh
|
|
80
80
|
mk voice storyboard.json --preset warm-narrator
|
|
81
|
-
mk captions .mk/storyboard/voice-manifest.json --storyboard storyboard.json --out ops.json
|
|
82
|
-
mk patch storyboard.json --ops ops.json
|
|
83
81
|
mk preview storyboard.json --full --audio .mk/storyboard/voice-manifest.json \
|
|
84
82
|
--music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
|
|
85
|
-
mk approve storyboard.json --note "approved"
|
|
86
|
-
mk render storyboard.json --gated --verify --audio .mk/storyboard/voice-manifest.json \
|
|
87
|
-
--music epic-bed.wav --music-volume 0.35 --music-license LICENSE-CC0.txt
|
|
88
83
|
```
|
|
89
84
|
|
|
90
85
|
Write numbers as words in narration (`01` -> "zero one"). Details: `references/voice.md`.
|
|
@@ -92,7 +87,7 @@ Write numbers as words in narration (`01` -> "zero one"). Details: `references/v
|
|
|
92
87
|
## Failures
|
|
93
88
|
|
|
94
89
|
| Symptom | Do |
|
|
95
|
-
|
|
|
90
|
+
| --- | --- |
|
|
96
91
|
| exit 4 | not an error: ask, or pass the missing `--audio`/`--music` flags |
|
|
97
92
|
| exit 5 | fix the named scene, re-render once, then report |
|
|
98
93
|
| same error twice | stop patching; `mk catalog <type>` and rewrite that scene |
|