@anvpx/motion 0.1.28 → 0.1.30

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
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.28",
60
- "@anvpx/motion-audio": "0.1.28",
61
- "@anvpx/motion-build": "0.1.28",
62
- "@anvpx/motion-cli": "0.1.28",
63
- "@anvpx/motion-scenes": "0.1.28",
64
- "@anvpx/motion-schema": "0.1.28",
65
- "@anvpx/motion-templates": "0.1.28",
66
- "@anvpx/motion-themes": "0.1.28",
59
+ "@anvpx/motion-assets": "0.1.30",
60
+ "@anvpx/motion-audio": "0.1.30",
61
+ "@anvpx/motion-build": "0.1.30",
62
+ "@anvpx/motion-cli": "0.1.30",
63
+ "@anvpx/motion-scenes": "0.1.30",
64
+ "@anvpx/motion-schema": "0.1.30",
65
+ "@anvpx/motion-templates": "0.1.30",
66
+ "@anvpx/motion-themes": "0.1.30",
67
67
  "hyperframes": "0.8.212",
68
68
  "postprocessing": "6.39.5",
69
69
  "three": "0.186.0",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "description": "Brief-to-approved video via the pinned motion-kit CLI: storyboard, preview, gated render.",
3
3
  "name": "motion-kit",
4
- "version": "0.1.28"
4
+ "version": "0.1.30"
5
5
  }
@@ -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.28 plugin install` copies this exact folder).
5
+ `npx -y @anvpx/motion@0.1.30 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.28` (pinned; never unpinned `npx`).
12
+ calls `npx -y @anvpx/motion@0.1.30` (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.28 plugin install --out ./motion-kit-plugin
29
+ npx -y @anvpx/motion@0.1.30 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.28 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.28 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.30 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.30 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.28 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.28 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.28 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.28 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.30 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.30 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.30 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.30 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.28 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.28 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.30 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.30 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.28`; 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.
9
+ `mk` = `npx -y @anvpx/motion@0.1.30`; 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.28` 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 |
57
+ | `npx -y @anvpx/motion@0.1.30` 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
 
@@ -32,17 +32,26 @@ precedents, with their failure modes and counterexamples, are in
32
32
 
33
33
  Keep each row to a decision and its reason. Invent other axes when useful.
34
34
 
35
- | Decision | Record |
36
- | ---------------- | ----------------------------------------------------------------- |
37
- | Viewer + idea | intended change, central relationship, narrative turn |
38
- | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
39
- | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
40
- | Color + material | value structure, semantic accents, light/texture if meaningful |
41
- | Motion | what changes, why, spatial continuity, easing, overlap, rest |
42
- | Sound | silence/voice/music/effects, focus, transitions and mix arc |
43
- | References | source and the principle borrowed; rights for actual assets |
44
- | Exclusions | habits that would weaken this idea, with reasons |
45
- | Realization | template/direct/authored or mixed, known limits and proof needed |
35
+ | Decision | Record |
36
+ | ---------------- | ------------------------------------------------------------------- |
37
+ | Viewer + idea | intended change, central relationship, narrative turn |
38
+ | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
39
+ | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
40
+ | Color + material | value structure, semantic accents, light/texture if meaningful |
41
+ | Motion | what changes, why, spatial continuity, easing, overlap, rest |
42
+ | Sound | silence/voice/music/effects, focus, transitions and mix arc |
43
+ | References | source and the principle borrowed; rights for actual assets |
44
+ | Exclusions | habits that would weaken this idea, with reasons |
45
+ | Realization | template/direct/authored or mixed, known limits and proof needed |
46
+ | Missing | what the brief did not supply, and the value this film sets instead |
47
+ | Packet | inputs used, commands run, and what proves the film worked |
48
+
49
+ The **Missing** row is the one that keeps a film honest: every number, name or
50
+ assumption the film invents goes there with the value chosen ("rate: 6 %, because the
51
+ brief gave none"). A published prompt collection measured this session keeps the prompt at
52
+ **8 % of its document** and spends the rest on inputs, tools, materials, result and
53
+ corrections — and every one of its twelve sampled entries states what the shared prompt
54
+ left out. We write the film; the row is how we admit what we decided for the user.
46
55
 
47
56
  Do not fill every row with an effect. Silence, a flat field, one typeface or a
48
57
  locked camera can be deliberate choices. Numerical timing is provisional until
@@ -58,6 +58,36 @@ full prompt is **1004** characters, so this is not a length problem.
58
58
  - **[C]** Prefer one named value per slot to three adjectives: a hex, a
59
59
  millimetre, a second, a direction, a lens.
60
60
 
61
+ ## A prompt is a packet
62
+
63
+ A collection of 751 shared video prompts was sampled this session: twelve entries, twelve
64
+ identical nine-part wrappers, and the prompt itself measured **8 % of the document**
65
+ (median 284 characters) against inputs, tools, materials, result, corrections and
66
+ attribution. Every entry also states what the shared text **left out** — "missing from the
67
+ shared prompt", "inputs not specified by the author".
68
+
69
+ - **[A]** Keep the brief short and put the weight in the packet around it: inputs, tools,
70
+ what proves it worked, and what the brief did not say.
71
+ - **[A]** Write down the assumptions the film invents, with their values, before authoring.
72
+ A rate, a term or a sample size chosen by you is a decision the viewer is entitled to see.
73
+ - **[C]** Treat corrections as part of the artefact. A film with no recorded errata is a
74
+ film whose mistakes are still in it.
75
+
76
+ ## A deck test you can run
77
+
78
+ A motion-graphics method read this session states its prohibitions as tests rather than
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
+
82
+ - **[A]** On a film over a minute, require at least one scene with a move, or at least one
83
+ cut that is not a fade. `mk validate` now warns once when a board has four or more
84
+ scenes, runs sixty seconds or longer, never moves the camera and fades every cut.
85
+ - **[B]** A short sequence of calm cards is a choice; the warning is deliberately gated on
86
+ duration, not on scene count.
87
+ - **[C]** Count the type roles in a scene. A number or sentence plus one world label is two.
88
+ An eyebrow, a headline and a body is three, and three reads as a slide however well it
89
+ is set.
90
+
61
91
  ## Before the full render
62
92
 
63
93
  - **[A]** One still per beat: `mk still storyboard.json --at <beats>`. Fix cramped or off-grid frames there, never after.
@@ -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.28`; 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.
9
+ `mk` = `npx -y @anvpx/motion@0.1.30`; 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.28` 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 |
57
+ | `npx -y @anvpx/motion@0.1.30` 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
 
@@ -32,17 +32,26 @@ precedents, with their failure modes and counterexamples, are in
32
32
 
33
33
  Keep each row to a decision and its reason. Invent other axes when useful.
34
34
 
35
- | Decision | Record |
36
- | ---------------- | ----------------------------------------------------------------- |
37
- | Viewer + idea | intended change, central relationship, narrative turn |
38
- | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
39
- | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
40
- | Color + material | value structure, semantic accents, light/texture if meaningful |
41
- | Motion | what changes, why, spatial continuity, easing, overlap, rest |
42
- | Sound | silence/voice/music/effects, focus, transitions and mix arc |
43
- | References | source and the principle borrowed; rights for actual assets |
44
- | Exclusions | habits that would weaken this idea, with reasons |
45
- | Realization | template/direct/authored or mixed, known limits and proof needed |
35
+ | Decision | Record |
36
+ | ---------------- | ------------------------------------------------------------------- |
37
+ | Viewer + idea | intended change, central relationship, narrative turn |
38
+ | Composition | hierarchy, alignment/grid, negative space, scale/crop, depth |
39
+ | Type | role of words, hierarchy, line breaks, pairing and reading rhythm |
40
+ | Color + material | value structure, semantic accents, light/texture if meaningful |
41
+ | Motion | what changes, why, spatial continuity, easing, overlap, rest |
42
+ | Sound | silence/voice/music/effects, focus, transitions and mix arc |
43
+ | References | source and the principle borrowed; rights for actual assets |
44
+ | Exclusions | habits that would weaken this idea, with reasons |
45
+ | Realization | template/direct/authored or mixed, known limits and proof needed |
46
+ | Missing | what the brief did not supply, and the value this film sets instead |
47
+ | Packet | inputs used, commands run, and what proves the film worked |
48
+
49
+ The **Missing** row is the one that keeps a film honest: every number, name or
50
+ assumption the film invents goes there with the value chosen ("rate: 6 %, because the
51
+ brief gave none"). A published prompt collection measured this session keeps the prompt at
52
+ **8 % of its document** and spends the rest on inputs, tools, materials, result and
53
+ corrections — and every one of its twelve sampled entries states what the shared prompt
54
+ left out. We write the film; the row is how we admit what we decided for the user.
46
55
 
47
56
  Do not fill every row with an effect. Silence, a flat field, one typeface or a
48
57
  locked camera can be deliberate choices. Numerical timing is provisional until
@@ -58,6 +58,36 @@ full prompt is **1004** characters, so this is not a length problem.
58
58
  - **[C]** Prefer one named value per slot to three adjectives: a hex, a
59
59
  millimetre, a second, a direction, a lens.
60
60
 
61
+ ## A prompt is a packet
62
+
63
+ A collection of 751 shared video prompts was sampled this session: twelve entries, twelve
64
+ identical nine-part wrappers, and the prompt itself measured **8 % of the document**
65
+ (median 284 characters) against inputs, tools, materials, result, corrections and
66
+ attribution. Every entry also states what the shared text **left out** — "missing from the
67
+ shared prompt", "inputs not specified by the author".
68
+
69
+ - **[A]** Keep the brief short and put the weight in the packet around it: inputs, tools,
70
+ what proves it worked, and what the brief did not say.
71
+ - **[A]** Write down the assumptions the film invents, with their values, before authoring.
72
+ A rate, a term or a sample size chosen by you is a decision the viewer is entitled to see.
73
+ - **[C]** Treat corrections as part of the artefact. A film with no recorded errata is a
74
+ film whose mistakes are still in it.
75
+
76
+ ## A deck test you can run
77
+
78
+ A motion-graphics method read this session states its prohibitions as tests rather than
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
+
82
+ - **[A]** On a film over a minute, require at least one scene with a move, or at least one
83
+ cut that is not a fade. `mk validate` now warns once when a board has four or more
84
+ scenes, runs sixty seconds or longer, never moves the camera and fades every cut.
85
+ - **[B]** A short sequence of calm cards is a choice; the warning is deliberately gated on
86
+ duration, not on scene count.
87
+ - **[C]** Count the type roles in a scene. A number or sentence plus one world label is two.
88
+ An eyebrow, a headline and a body is three, and three reads as a slide however well it
89
+ is set.
90
+
61
91
  ## Before the full render
62
92
 
63
93
  - **[A]** One still per beat: `mk still storyboard.json --at <beats>`. Fix cramped or off-grid frames there, never after.