@anvpx/motion 0.1.9 → 0.1.11

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/README.md CHANGED
@@ -25,11 +25,11 @@ Optional voice needs Python 3.12 plus Kokoro/faster-whisper; `mk doctor` tells y
25
25
  ## Quickstart
26
26
 
27
27
  ```sh
28
- npx -y @anvpx/motion@0.1.9 doctor
28
+ npx -y @anvpx/motion@0.1.11 doctor
29
29
 
30
30
  # Optional: make the rest shorter
31
- alias mk="npx -y @anvpx/motion@0.1.9" # bash/zsh
32
- function mk { npx -y @anvpx/motion@0.1.9 @args } # PowerShell
31
+ alias mk="npx -y @anvpx/motion@0.1.11" # bash/zsh
32
+ function mk { npx -y @anvpx/motion@0.1.11 @args } # PowerShell
33
33
 
34
34
  # Optional template-assisted example, after deciding the visual direction:
35
35
  mk template list --for "how our pricing works"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvpx/motion",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
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.9",
60
- "@anvpx/motion-audio": "0.1.9",
61
- "@anvpx/motion-build": "0.1.9",
62
- "@anvpx/motion-cli": "0.1.9",
63
- "@anvpx/motion-scenes": "0.1.9",
64
- "@anvpx/motion-schema": "0.1.9",
65
- "@anvpx/motion-templates": "0.1.9",
66
- "@anvpx/motion-themes": "0.1.9",
59
+ "@anvpx/motion-assets": "0.1.11",
60
+ "@anvpx/motion-audio": "0.1.11",
61
+ "@anvpx/motion-build": "0.1.11",
62
+ "@anvpx/motion-cli": "0.1.11",
63
+ "@anvpx/motion-scenes": "0.1.11",
64
+ "@anvpx/motion-schema": "0.1.11",
65
+ "@anvpx/motion-templates": "0.1.11",
66
+ "@anvpx/motion-themes": "0.1.11",
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.9"
4
+ "version": "0.1.11"
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.9 plugin install` copies this exact folder).
5
+ `npx -y @anvpx/motion@0.1.11 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.9` (pinned; never unpinned `npx`).
12
+ calls `npx -y @anvpx/motion@0.1.11` (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.9 plugin install --out ./motion-kit-plugin
29
+ npx -y @anvpx/motion@0.1.11 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 preview storyboard.json
9
- npx -y @anvpx/motion@0.1.9 approve storyboard.json --note "<user words>"
8
+ npx -y @anvpx/motion@0.1.11 preview storyboard.json
9
+ npx -y @anvpx/motion@0.1.11 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 template list --for "<one-line brief>"
9
- npx -y @anvpx/motion@0.1.9 template show <template>/<blueprint>
10
- npx -y @anvpx/motion@0.1.9 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
- npx -y @anvpx/motion@0.1.9 validate storyboard.json
8
+ npx -y @anvpx/motion@0.1.11 template list --for "<one-line brief>"
9
+ npx -y @anvpx/motion@0.1.11 template show <template>/<blueprint>
10
+ npx -y @anvpx/motion@0.1.11 new <template>/<blueprint> --set k=v ... --out storyboard.json
11
+ npx -y @anvpx/motion@0.1.11 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 render storyboard.json --gated --verify
9
- npx -y @anvpx/motion@0.1.9 verify out/final.mp4 --storyboard storyboard.json
8
+ npx -y @anvpx/motion@0.1.11 render storyboard.json --gated --verify
9
+ npx -y @anvpx/motion@0.1.11 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`; 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.11`; 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
 
@@ -49,7 +49,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
49
49
  | --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
50
50
  | 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
51
51
  | 2 | Brief | <= 8 facts, <= 3 sourced numbers, one arc; `brief.md` | numbers sourced |
52
- | 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; then choose realization. Template lookup is optional, after design | direction + route justified |
52
+ | 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; name the house habits you reject and one material element per act; then choose realization. Template lookup is optional, after design | direction + route justified |
53
53
  | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
54
54
  | 5 | Instantiate | template: `mk new <t>/<bp> ...`; direct: `references/free-storyboard.md`; authored: `mk scene new` (`references/authoring-scene.md`); assets: `mk assets import` + `--assets`/`--ledger` | 0 errors; build exit 0 |
55
55
  | 6 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md`; unknown theme: built-in or `themes/<name>.json` | 0 errors, warnings read |
@@ -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.9` 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.11` 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
 
@@ -58,6 +58,25 @@ repeat brand series, explain the useful continuity rather than forcing novelty.
58
58
  If history is unavailable, record that fact; do not invent a similarity score.
59
59
  This is a design comparison, not an automatic novelty metric or quality gate.
60
60
 
61
+ ## Audit the house kit
62
+
63
+ Before approving a direction, list the habits the last film would reuse:
64
+ eyebrow over a serif headline, two-tone underline, rounded card with a colour
65
+ spine, dot grid, bottom caption slab. These are not forbidden, but they are a
66
+ default kit, not a concept.
67
+
68
+ - Remove at least three of them unless the brief genuinely needs each one.
69
+ - A palette change alone is not a new visual language. Name the narrative
70
+ mechanism, layout family, type behaviour and material that differ.
71
+ - Give every act at least one material element: a texture plate, a photographic
72
+ crop, an authored illustration or diagram. Type and flat colour alone will
73
+ read as a deck even when the argument is good.
74
+ - One concept per film: if the treatment could carry any other script
75
+ unchanged, it is a template, not a direction.
76
+
77
+ Record the exclusions and the material plan in `direction.md`; a reviewer
78
+ should be able to say what this film refuses to do.
79
+
61
80
  ## Resolve only the next question
62
81
 
63
82
  Use `knowledge-routing.md` to load one relevant section of a craft card, then
@@ -78,6 +78,11 @@ A `text_occluded` finding whose container includes `scene-cap` means the caption
78
78
  band is covering real content. Move the base content out of the band, remove the
79
79
  duplicated banner, or drop the caption for that beat; do not ship it.
80
80
 
81
+ Reserve a caption lane: keep the bar about 54 px from the bottom, cap it at
82
+ 900 px, and never let it cross a source/credit column. A transparent fill with
83
+ a thin rule and text shadow keeps the picture visible; an opaque card is only
84
+ safe when the scene has a dedicated empty band.
85
+
81
86
  Use measurements as local checks, not universal aesthetic laws. Inspect real reading conditions, aspect/crop and platform overlays. Name the reference principle and purposeful divergence; do not turn a reference film into a layout to copy.
82
87
 
83
88
  ## Score the preview
@@ -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`; 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.11`; 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
 
@@ -49,7 +49,7 @@ allowed-tools: Bash(mk:*) Bash(npx:*) Read Write
49
49
  | --- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
50
50
  | 1 | Intake | topic, audience, length, channel, brand, tone; max 3 questions (`references/intake.md`) | 5-line note |
51
51
  | 2 | Brief | <= 8 facts, <= 3 sourced numbers, one arc; `brief.md` | numbers sourced |
52
- | 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; then choose realization. Template lookup is optional, after design | direction + route justified |
52
+ | 3 | Direction | `references/direction.md`: concept, composition, type, motion, sound and divergence; name the house habits you reject and one material element per act; then choose realization. Template lookup is optional, after design | direction + route justified |
53
53
  | 4 | Outline | <= 200 words (`references/outline.md`); stop for "go" unless "just do it" | user confirms |
54
54
  | 5 | Instantiate | template: `mk new <t>/<bp> ...`; direct: `references/free-storyboard.md`; authored: `mk scene new` (`references/authoring-scene.md`); assets: `mk assets import` + `--assets`/`--ledger` | 0 errors; build exit 0 |
55
55
  | 6 | Fix | smallest `mk patch`; max 3 rounds; same error twice: `mk catalog <type>` + `references/troubleshooting.md`; unknown theme: built-in or `themes/<name>.json` | 0 errors, warnings read |
@@ -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.9` 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.11` 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
 
@@ -58,6 +58,25 @@ repeat brand series, explain the useful continuity rather than forcing novelty.
58
58
  If history is unavailable, record that fact; do not invent a similarity score.
59
59
  This is a design comparison, not an automatic novelty metric or quality gate.
60
60
 
61
+ ## Audit the house kit
62
+
63
+ Before approving a direction, list the habits the last film would reuse:
64
+ eyebrow over a serif headline, two-tone underline, rounded card with a colour
65
+ spine, dot grid, bottom caption slab. These are not forbidden, but they are a
66
+ default kit, not a concept.
67
+
68
+ - Remove at least three of them unless the brief genuinely needs each one.
69
+ - A palette change alone is not a new visual language. Name the narrative
70
+ mechanism, layout family, type behaviour and material that differ.
71
+ - Give every act at least one material element: a texture plate, a photographic
72
+ crop, an authored illustration or diagram. Type and flat colour alone will
73
+ read as a deck even when the argument is good.
74
+ - One concept per film: if the treatment could carry any other script
75
+ unchanged, it is a template, not a direction.
76
+
77
+ Record the exclusions and the material plan in `direction.md`; a reviewer
78
+ should be able to say what this film refuses to do.
79
+
61
80
  ## Resolve only the next question
62
81
 
63
82
  Use `knowledge-routing.md` to load one relevant section of a craft card, then
@@ -78,6 +78,11 @@ A `text_occluded` finding whose container includes `scene-cap` means the caption
78
78
  band is covering real content. Move the base content out of the band, remove the
79
79
  duplicated banner, or drop the caption for that beat; do not ship it.
80
80
 
81
+ Reserve a caption lane: keep the bar about 54 px from the bottom, cap it at
82
+ 900 px, and never let it cross a source/credit column. A transparent fill with
83
+ a thin rule and text shadow keeps the picture visible; an opaque card is only
84
+ safe when the scene has a dedicated empty band.
85
+
81
86
  Use measurements as local checks, not universal aesthetic laws. Inspect real reading conditions, aspect/crop and platform overlays. Name the reference principle and purposeful divergence; do not turn a reference film into a layout to copy.
82
87
 
83
88
  ## Score the preview