@anvpx/motion 0.1.21 → 0.1.23
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/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 +2 -2
- package/plugins/motion-kit/commands/mk-new.md +4 -4
- package/plugins/motion-kit/commands/mk-render.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/SKILL.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/amplify.md +37 -12
- package/plugins/motion-kit/skills/motion-kit/references/common-mistakes.md +1 -1
- package/skills/motion-kit/SKILL.md +1 -1
- package/skills/motion-kit/references/amplify.md +37 -12
- package/skills/motion-kit/references/common-mistakes.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
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",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"@fontsource/jetbrains-mono": "5.3.0",
|
|
57
57
|
"@fontsource/source-serif-4": "5.3.1",
|
|
58
58
|
"@fontsource/space-grotesk": "5.3.0",
|
|
59
|
-
"@anvpx/motion-assets": "0.1.
|
|
60
|
-
"@anvpx/motion-audio": "0.1.
|
|
61
|
-
"@anvpx/motion-build": "0.1.
|
|
62
|
-
"@anvpx/motion-cli": "0.1.
|
|
63
|
-
"@anvpx/motion-scenes": "0.1.
|
|
64
|
-
"@anvpx/motion-schema": "0.1.
|
|
65
|
-
"@anvpx/motion-templates": "0.1.
|
|
66
|
-
"@anvpx/motion-themes": "0.1.
|
|
59
|
+
"@anvpx/motion-assets": "0.1.23",
|
|
60
|
+
"@anvpx/motion-audio": "0.1.23",
|
|
61
|
+
"@anvpx/motion-build": "0.1.23",
|
|
62
|
+
"@anvpx/motion-cli": "0.1.23",
|
|
63
|
+
"@anvpx/motion-scenes": "0.1.23",
|
|
64
|
+
"@anvpx/motion-schema": "0.1.23",
|
|
65
|
+
"@anvpx/motion-templates": "0.1.23",
|
|
66
|
+
"@anvpx/motion-themes": "0.1.23",
|
|
67
67
|
"hyperframes": "0.8.212",
|
|
68
68
|
"postprocessing": "6.39.5",
|
|
69
69
|
"three": "0.186.0",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Plugin root: `plugins/motion-kit/` (chosen over a top-level `motion-kit-plugin/`
|
|
4
4
|
folder name used by the plugin packaging convention;
|
|
5
|
-
`npx -y @anvpx/motion@0.1.
|
|
5
|
+
`npx -y @anvpx/motion@0.1.23 plugin install` copies this exact folder).
|
|
6
6
|
|
|
7
7
|
## Layout
|
|
8
8
|
|
|
9
9
|
- `.claude-plugin/plugin.json` — manifest (`name`, `version`, `description` only;
|
|
10
10
|
version tracks `@anvpx/motion`).
|
|
11
11
|
- `commands/mk-new.md`, `mk-draft.md`, `mk-render.md` — thin wrappers. Every step
|
|
12
|
-
calls `npx -y @anvpx/motion@0.1.
|
|
12
|
+
calls `npx -y @anvpx/motion@0.1.23` (pinned; never unpinned `npx`).
|
|
13
13
|
Surface as `/motion-kit:mk-new`, `/motion-kit:mk-draft`, `/motion-kit:mk-render`.
|
|
14
14
|
- `skills/motion-kit/SKILL.md` — generated from the canonical skill by the
|
|
15
15
|
scaffold; do not edit it here.
|
|
@@ -26,7 +26,7 @@ generates the core package's `skills/` and `plugins/` trees.
|
|
|
26
26
|
## Install
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx -y @anvpx/motion@0.1.
|
|
29
|
+
npx -y @anvpx/motion@0.1.23 plugin install --out ./motion-kit-plugin
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Verifies `skills/motion-kit/SKILL.md` sha256 matches after copy.
|
|
@@ -5,8 +5,8 @@ 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.23 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.23 approve storyboard.json --note "<user words>"
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Follow `skills/motion-kit/SKILL.md` stages 7-8 (preview, show + approve).
|
|
@@ -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.23 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.23 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.23 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.23 validate storyboard.json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Follow `skills/motion-kit/SKILL.md` stages 1-6 (intake, brief, pick template,
|
|
@@ -5,8 +5,8 @@ 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.23 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.23 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
|
|
@@ -6,7 +6,7 @@ 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.23`; alias it once per shell, or use the npx prefix in its place. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
@@ -41,10 +41,11 @@ what is true; amplification proposes what is visible but unstated.
|
|
|
41
41
|
## The card
|
|
42
42
|
|
|
43
43
|
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
-
Copy this shape and fill it;
|
|
44
|
+
Copy this shape and fill it; two lines per row at most.
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
47
|
= subject <the user's words, unedited>
|
|
48
|
+
+ function <object | quantity | product | process: what the film is FOR>
|
|
48
49
|
+ particulars <colour, marking, one asymmetry>
|
|
49
50
|
+ world <where it sits, what receives it>
|
|
50
51
|
+ scale <one measurable reference in frame>
|
|
@@ -57,9 +58,41 @@ Copy this shape and fill it; twelve slots, two lines each.
|
|
|
57
58
|
+ hero <the one moment, at roughly which second, and why it survives mute>
|
|
58
59
|
+ sound <three layers, or "silent" as a decision>
|
|
59
60
|
+ exclusions <at least three habits this film will not use>
|
|
61
|
+
+ facts <each number, name or claim you use, marked user, derived or invented>
|
|
60
62
|
! drop <what the engine cannot do, and what replaces it>
|
|
61
63
|
```
|
|
62
64
|
|
|
65
|
+
The `facts` row is inside the block on purpose. In a cold run with the twelve
|
|
66
|
+
slots but no facts row, the model supplied a facts section for one request out of
|
|
67
|
+
three — while the same model without the card supplied all three. A rule stated in
|
|
68
|
+
prose did not survive the form; a row in the form did. Invented assumptions belong
|
|
69
|
+
on that row, visible, not in a footnote nobody reads.
|
|
70
|
+
|
|
71
|
+
### Fill by function
|
|
72
|
+
|
|
73
|
+
The second row decides which slots matter. Name the function, then fill its column
|
|
74
|
+
before the others; the ones marked thin can stay brief.
|
|
75
|
+
|
|
76
|
+
| function | fill these first | may stay thin |
|
|
77
|
+
| -------- | ------------------------- | ------------- |
|
|
78
|
+
| object | light, material, camera | sound |
|
|
79
|
+
| quantity | scale, action, hero | material |
|
|
80
|
+
| product | material, light, camera | atmosphere |
|
|
81
|
+
| process | action, secondary, camera | light |
|
|
82
|
+
|
|
83
|
+
`quantity` is the fill the card used to get wrong. A film about a number has no
|
|
84
|
+
object to light or orbit, so the slots fill with a lens and a texture plate and the
|
|
85
|
+
result is a stock explainer — measured: it lost a full point to the bare skill on a
|
|
86
|
+
compound-interest brief, to all three reviewers. A quantity film is made of three
|
|
87
|
+
other things:
|
|
88
|
+
|
|
89
|
+
- **a legible unit** — one bar is one deposit, one tick is one year. Teach the unit
|
|
90
|
+
in the first seconds, then spend it.
|
|
91
|
+
- **a threshold staged as an event** — the month interest first exceeds the deposit
|
|
92
|
+
is two marks colliding, not a caption on a curve.
|
|
93
|
+
- **provenance on screen** — rate, term and assumption are stated, not implied by the
|
|
94
|
+
shape of a curve.
|
|
95
|
+
|
|
63
96
|
Then the two derived lines, which are the part most often skipped:
|
|
64
97
|
|
|
65
98
|
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
@@ -103,18 +136,10 @@ pass or fail, in a still at delivery size.
|
|
|
103
136
|
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
104
137
|
| Legibility | any type survives at 390 px wide |
|
|
105
138
|
|
|
106
|
-
##
|
|
107
|
-
|
|
108
|
-
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
109
|
-
|
|
110
|
-
| Genre | World | Light | Material | Action | Hero |
|
|
111
|
-
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
112
|
-
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
113
|
-
| Factual | the chart field and its axis treatment | value contrast, one accent | flat ink, one texture plate | the quantity moving | the one number that lands |
|
|
114
|
-
| Brand | the surface it is presented on | product-lit, one specular | the product's own material | the affordance being used | first contact or first reveal |
|
|
115
|
-
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
139
|
+
## In factual work
|
|
116
140
|
|
|
117
|
-
|
|
141
|
+
The function row carries the genre difference now, and the fill table above is the
|
|
142
|
+
whole of it. Rule 2 does the extra work here: a hero moment may never be an invented
|
|
118
143
|
number, and `exclusions` must include "a statistic with no source".
|
|
119
144
|
|
|
120
145
|
## Worked example
|
|
@@ -54,7 +54,7 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
|
|
|
54
54
|
| `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
|
|
55
55
|
| `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
|
|
56
56
|
| `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
|
|
57
|
-
| `npx -y @anvpx/motion@0.1.
|
|
57
|
+
| `npx -y @anvpx/motion@0.1.23` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
|
|
58
58
|
|
|
59
59
|
## Windows
|
|
60
60
|
|
|
@@ -6,7 +6,7 @@ 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.23`; alias it once per shell, or use the npx prefix in its place. The user describes the outcome; you author one storyboard JSON, show a short preview, and render only after an explicit yes.
|
|
10
10
|
|
|
11
11
|
## Start here
|
|
12
12
|
|
|
@@ -41,10 +41,11 @@ what is true; amplification proposes what is visible but unstated.
|
|
|
41
41
|
## The card
|
|
42
42
|
|
|
43
43
|
Mark rows: `=` the user supplied it, `+` you propose it, `!` you dropped it.
|
|
44
|
-
Copy this shape and fill it;
|
|
44
|
+
Copy this shape and fill it; two lines per row at most.
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
47
|
= subject <the user's words, unedited>
|
|
48
|
+
+ function <object | quantity | product | process: what the film is FOR>
|
|
48
49
|
+ particulars <colour, marking, one asymmetry>
|
|
49
50
|
+ world <where it sits, what receives it>
|
|
50
51
|
+ scale <one measurable reference in frame>
|
|
@@ -57,9 +58,41 @@ Copy this shape and fill it; twelve slots, two lines each.
|
|
|
57
58
|
+ hero <the one moment, at roughly which second, and why it survives mute>
|
|
58
59
|
+ sound <three layers, or "silent" as a decision>
|
|
59
60
|
+ exclusions <at least three habits this film will not use>
|
|
61
|
+
+ facts <each number, name or claim you use, marked user, derived or invented>
|
|
60
62
|
! drop <what the engine cannot do, and what replaces it>
|
|
61
63
|
```
|
|
62
64
|
|
|
65
|
+
The `facts` row is inside the block on purpose. In a cold run with the twelve
|
|
66
|
+
slots but no facts row, the model supplied a facts section for one request out of
|
|
67
|
+
three — while the same model without the card supplied all three. A rule stated in
|
|
68
|
+
prose did not survive the form; a row in the form did. Invented assumptions belong
|
|
69
|
+
on that row, visible, not in a footnote nobody reads.
|
|
70
|
+
|
|
71
|
+
### Fill by function
|
|
72
|
+
|
|
73
|
+
The second row decides which slots matter. Name the function, then fill its column
|
|
74
|
+
before the others; the ones marked thin can stay brief.
|
|
75
|
+
|
|
76
|
+
| function | fill these first | may stay thin |
|
|
77
|
+
| -------- | ------------------------- | ------------- |
|
|
78
|
+
| object | light, material, camera | sound |
|
|
79
|
+
| quantity | scale, action, hero | material |
|
|
80
|
+
| product | material, light, camera | atmosphere |
|
|
81
|
+
| process | action, secondary, camera | light |
|
|
82
|
+
|
|
83
|
+
`quantity` is the fill the card used to get wrong. A film about a number has no
|
|
84
|
+
object to light or orbit, so the slots fill with a lens and a texture plate and the
|
|
85
|
+
result is a stock explainer — measured: it lost a full point to the bare skill on a
|
|
86
|
+
compound-interest brief, to all three reviewers. A quantity film is made of three
|
|
87
|
+
other things:
|
|
88
|
+
|
|
89
|
+
- **a legible unit** — one bar is one deposit, one tick is one year. Teach the unit
|
|
90
|
+
in the first seconds, then spend it.
|
|
91
|
+
- **a threshold staged as an event** — the month interest first exceeds the deposit
|
|
92
|
+
is two marks colliding, not a caption on a curve.
|
|
93
|
+
- **provenance on screen** — rate, term and assumption are stated, not implied by the
|
|
94
|
+
shape of a curve.
|
|
95
|
+
|
|
63
96
|
Then the two derived lines, which are the part most often skipped:
|
|
64
97
|
|
|
65
98
|
- **Beat map** — the acts and their seconds, or "single take" with the reason.
|
|
@@ -103,18 +136,10 @@ pass or fail, in a still at delivery size.
|
|
|
103
136
|
| Restraint | the exclusions are visibly honoured in the busiest frame |
|
|
104
137
|
| Legibility | any type survives at 390 px wide |
|
|
105
138
|
|
|
106
|
-
##
|
|
107
|
-
|
|
108
|
-
Same twelve slots, different fills. This is what stops the card becoming a 3D toy.
|
|
109
|
-
|
|
110
|
-
| Genre | World | Light | Material | Action | Hero |
|
|
111
|
-
| --------- | -------------------------------------- | -------------------------- | --------------------------- | ------------------------- | ----------------------------- |
|
|
112
|
-
| Fictional | the place and its air | key + one motivated source | a surface per object class | the physical event | the moment the world reacts |
|
|
113
|
-
| Factual | the chart field and its axis treatment | value contrast, one accent | flat ink, one texture plate | the quantity moving | the one number that lands |
|
|
114
|
-
| Brand | the surface it is presented on | product-lit, one specular | the product's own material | the affordance being used | first contact or first reveal |
|
|
115
|
-
| Process | the workspace | even, no drama | line weights | the step completing | the state change |
|
|
139
|
+
## In factual work
|
|
116
140
|
|
|
117
|
-
|
|
141
|
+
The function row carries the genre difference now, and the fill table above is the
|
|
142
|
+
whole of it. Rule 2 does the extra work here: a hero moment may never be an invented
|
|
118
143
|
number, and `exclusions` must include "a statistic with no source".
|
|
119
144
|
|
|
120
145
|
## Worked example
|
|
@@ -54,7 +54,7 @@ These are the failures that waste the most time. Each row is wrong -> right -> w
|
|
|
54
54
|
| `mk assets import logo.png --dir assets` | Add `--licence MIT --source-url <url>` | Every imported asset needs provenance |
|
|
55
55
|
| `mk voice` on a machine with no venv | `mk doctor`; install Python 3.12 + the voice extras, or ship silent | Voice is opt-in and fails closed |
|
|
56
56
|
| `mk patch` path into a missing parent | Add the parent first, or target an existing path | Patch stops at the first op that cannot apply |
|
|
57
|
-
| `npx -y @anvpx/motion@0.1.
|
|
57
|
+
| `npx -y @anvpx/motion@0.1.23` returns 404 | stop; verify the exact release on npm, or use a local checkout/tarball only if the user has one | do not silently fall back to an unpinned npx |
|
|
58
58
|
|
|
59
59
|
## Windows
|
|
60
60
|
|