@anvpx/motion 0.1.30 → 0.1.32
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/common-mistakes.md +1 -1
- package/plugins/motion-kit/skills/motion-kit/references/patterns.md +2 -2
- package/plugins/motion-kit/skills/motion-kit/references/quality-bar.md +17 -0
- package/plugins/motion-kit/skills/motion-kit/references/troubleshooting.md +8 -7
- package/skills/motion-kit/SKILL.md +1 -1
- package/skills/motion-kit/references/common-mistakes.md +1 -1
- package/skills/motion-kit/references/patterns.md +2 -2
- package/skills/motion-kit/references/quality-bar.md +17 -0
- package/skills/motion-kit/references/troubleshooting.md +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvpx/motion",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
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.32",
|
|
60
|
+
"@anvpx/motion-audio": "0.1.32",
|
|
61
|
+
"@anvpx/motion-build": "0.1.32",
|
|
62
|
+
"@anvpx/motion-cli": "0.1.32",
|
|
63
|
+
"@anvpx/motion-scenes": "0.1.32",
|
|
64
|
+
"@anvpx/motion-schema": "0.1.32",
|
|
65
|
+
"@anvpx/motion-templates": "0.1.32",
|
|
66
|
+
"@anvpx/motion-themes": "0.1.32",
|
|
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.32 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.32` (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.32 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.32 preview storyboard.json
|
|
9
|
+
npx -y @anvpx/motion@0.1.32 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.32 template list --for "<one-line brief>"
|
|
9
|
+
npx -y @anvpx/motion@0.1.32 template show <template>/<blueprint>
|
|
10
|
+
npx -y @anvpx/motion@0.1.32 new <template>/<blueprint> --set k=v ... --out storyboard.json
|
|
11
|
+
npx -y @anvpx/motion@0.1.32 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.32 render storyboard.json --gated --verify
|
|
9
|
+
npx -y @anvpx/motion@0.1.32 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.32`; 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
|
|
|
@@ -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.32` 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
|
|
|
@@ -76,8 +76,8 @@ shared prompt", "inputs not specified by the author".
|
|
|
76
76
|
## A deck test you can run
|
|
77
77
|
|
|
78
78
|
A motion-graphics method read this session states its prohibitions as tests rather than
|
|
79
|
-
tastes, and one of them is worth adopting:
|
|
80
|
-
camera moves, not because a section is faded
|
|
79
|
+
tastes, and one of them is worth adopting: _scenes must change because the world or the
|
|
80
|
+
camera moves, not because a section is faded._
|
|
81
81
|
|
|
82
82
|
- **[A]** On a film over a minute, require at least one scene with a move, or at least one
|
|
83
83
|
cut that is not a fade. `mk validate` now warns once when a board has four or more
|
|
@@ -46,6 +46,23 @@ split the scene, shorten the title, or use fewer cards. Do not ask while it
|
|
|
46
46
|
warns. The estimate is generous, so a 4-card row may pass where a 5-card
|
|
47
47
|
two-row grid fails.
|
|
48
48
|
|
|
49
|
+
## Four words to judge a film by
|
|
50
|
+
|
|
51
|
+
A motion-graphics method read this session reduces its standard to four words, and they are
|
|
52
|
+
better than a long rubric because each one can be argued about in a sentence:
|
|
53
|
+
|
|
54
|
+
| Word | The question | What failing looks like |
|
|
55
|
+
| ------------ | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
56
|
+
| **Alive** | does something act, with weight and timing? | cards change; nothing moves inside them |
|
|
57
|
+
| **Composed** | does each moment read as one picture, with the text beside what it names? | labels floating free of their subject |
|
|
58
|
+
| **True** | do motion, labels and numbers agree at every moment? | a value printed one frame before the thing it describes; a marker off its own edge |
|
|
59
|
+
| **Smooth** | does it play without stutter? | a hitch at a cut, a jank on a long push |
|
|
60
|
+
|
|
61
|
+
"True" is the one that costs most and is checked least. Three defects this session were all
|
|
62
|
+
"true" failures: a reveal that had already finished, a line plotted one year late, and a
|
|
63
|
+
percentage that was fifteen points wrong. None of them was a taste problem, and none would
|
|
64
|
+
have been caught by looking at a single frame without measuring it.
|
|
65
|
+
|
|
49
66
|
## Ten checks
|
|
50
67
|
|
|
51
68
|
| # | Check | Pass looks like |
|
|
@@ -60,13 +60,14 @@ After any successful edit the approval is stale. Preview again, then ask.
|
|
|
60
60
|
Five refusals that cost this project two round trips each, all of them about audio.
|
|
61
61
|
They are the places a film stops one flag short of existing.
|
|
62
62
|
|
|
63
|
-
| Refusal | What it means
|
|
64
|
-
| -------------------------------------------------------------------------------------- |
|
|
65
|
-
| `delivery FAIL —
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
| `
|
|
69
|
-
| `music
|
|
63
|
+
| Refusal | What it means | Do instead |
|
|
64
|
+
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
65
|
+
| `delivery FAIL — integrated loudness is -25 LUFS` | the gate judges EBU R128 integrated loudness, not peak level; delivery wants -14 ±2 LUFS with a true peak at or below -1 dBFS | re-run the mix so the render reports about -14 LUFS, then re-render; the render prints its own LUFS and true peak — read that line before re-rendering |
|
|
66
|
+
| `delivery FAIL — no audio stream` | a silent mp4 cannot pass delivery; the gate requires an audio stream, not merely a quiet one | narrate (`mk voice`) or add a voice track; do not ship silence |
|
|
67
|
+
| `--music needs --audio: the bed loops to the narration length` | there is no music-only film; the bed length follows the voice manifest | run `mk voice` first, then pass `--audio <manifest> --music <bed>` |
|
|
68
|
+
| `cannot read --music-license CC0-1.0: not found` | the flag takes a **path to a licence file**, not an SPDX id | `--music-license music/LICENSE-CC0.txt` |
|
|
69
|
+
| `refusing music approval: the preview clip was not mixed with this bed/volume/license` | the approval hash covers bed, volume **and** licence, so every audio flag used at render must also be used at preview | pass the identical audio flags to `mk preview` and `mk approve` |
|
|
70
|
+
| `music bed "…" escapes the project` | a gated render only accepts files inside the board's own directory | copy the bed and its licence beside the board, then reference them relatively |
|
|
70
71
|
|
|
71
72
|
The rule behind all five: **preview, approve and render take the same flags.** Any
|
|
72
73
|
difference — a volume, a licence path, a bed copied from elsewhere — is a new input
|
|
@@ -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.32`; 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
|
|
|
@@ -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.32` 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
|
|
|
@@ -76,8 +76,8 @@ shared prompt", "inputs not specified by the author".
|
|
|
76
76
|
## A deck test you can run
|
|
77
77
|
|
|
78
78
|
A motion-graphics method read this session states its prohibitions as tests rather than
|
|
79
|
-
tastes, and one of them is worth adopting:
|
|
80
|
-
camera moves, not because a section is faded
|
|
79
|
+
tastes, and one of them is worth adopting: _scenes must change because the world or the
|
|
80
|
+
camera moves, not because a section is faded._
|
|
81
81
|
|
|
82
82
|
- **[A]** On a film over a minute, require at least one scene with a move, or at least one
|
|
83
83
|
cut that is not a fade. `mk validate` now warns once when a board has four or more
|
|
@@ -46,6 +46,23 @@ split the scene, shorten the title, or use fewer cards. Do not ask while it
|
|
|
46
46
|
warns. The estimate is generous, so a 4-card row may pass where a 5-card
|
|
47
47
|
two-row grid fails.
|
|
48
48
|
|
|
49
|
+
## Four words to judge a film by
|
|
50
|
+
|
|
51
|
+
A motion-graphics method read this session reduces its standard to four words, and they are
|
|
52
|
+
better than a long rubric because each one can be argued about in a sentence:
|
|
53
|
+
|
|
54
|
+
| Word | The question | What failing looks like |
|
|
55
|
+
| ------------ | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
56
|
+
| **Alive** | does something act, with weight and timing? | cards change; nothing moves inside them |
|
|
57
|
+
| **Composed** | does each moment read as one picture, with the text beside what it names? | labels floating free of their subject |
|
|
58
|
+
| **True** | do motion, labels and numbers agree at every moment? | a value printed one frame before the thing it describes; a marker off its own edge |
|
|
59
|
+
| **Smooth** | does it play without stutter? | a hitch at a cut, a jank on a long push |
|
|
60
|
+
|
|
61
|
+
"True" is the one that costs most and is checked least. Three defects this session were all
|
|
62
|
+
"true" failures: a reveal that had already finished, a line plotted one year late, and a
|
|
63
|
+
percentage that was fifteen points wrong. None of them was a taste problem, and none would
|
|
64
|
+
have been caught by looking at a single frame without measuring it.
|
|
65
|
+
|
|
49
66
|
## Ten checks
|
|
50
67
|
|
|
51
68
|
| # | Check | Pass looks like |
|
|
@@ -60,13 +60,14 @@ After any successful edit the approval is stale. Preview again, then ask.
|
|
|
60
60
|
Five refusals that cost this project two round trips each, all of them about audio.
|
|
61
61
|
They are the places a film stops one flag short of existing.
|
|
62
62
|
|
|
63
|
-
| Refusal | What it means
|
|
64
|
-
| -------------------------------------------------------------------------------------- |
|
|
65
|
-
| `delivery FAIL —
|
|
66
|
-
|
|
|
67
|
-
|
|
|
68
|
-
| `
|
|
69
|
-
| `music
|
|
63
|
+
| Refusal | What it means | Do instead |
|
|
64
|
+
| -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
65
|
+
| `delivery FAIL — integrated loudness is -25 LUFS` | the gate judges EBU R128 integrated loudness, not peak level; delivery wants -14 ±2 LUFS with a true peak at or below -1 dBFS | re-run the mix so the render reports about -14 LUFS, then re-render; the render prints its own LUFS and true peak — read that line before re-rendering |
|
|
66
|
+
| `delivery FAIL — no audio stream` | a silent mp4 cannot pass delivery; the gate requires an audio stream, not merely a quiet one | narrate (`mk voice`) or add a voice track; do not ship silence |
|
|
67
|
+
| `--music needs --audio: the bed loops to the narration length` | there is no music-only film; the bed length follows the voice manifest | run `mk voice` first, then pass `--audio <manifest> --music <bed>` |
|
|
68
|
+
| `cannot read --music-license CC0-1.0: not found` | the flag takes a **path to a licence file**, not an SPDX id | `--music-license music/LICENSE-CC0.txt` |
|
|
69
|
+
| `refusing music approval: the preview clip was not mixed with this bed/volume/license` | the approval hash covers bed, volume **and** licence, so every audio flag used at render must also be used at preview | pass the identical audio flags to `mk preview` and `mk approve` |
|
|
70
|
+
| `music bed "…" escapes the project` | a gated render only accepts files inside the board's own directory | copy the bed and its licence beside the board, then reference them relatively |
|
|
70
71
|
|
|
71
72
|
The rule behind all five: **preview, approve and render take the same flags.** Any
|
|
72
73
|
difference — a volume, a licence path, a bed copied from elsewhere — is a new input
|