@docyrus/animaguru 0.20.0 → 0.23.0

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.
Files changed (37) hide show
  1. package/NOTICE.md +25 -1
  2. package/README.md +32 -3
  3. package/dist/animaguru.js +430 -253
  4. package/package.json +1 -1
  5. package/skills/animaguru/SKILL.md +1 -1
  6. package/skills/animaguru-archive-light-table/SKILL.md +34 -0
  7. package/skills/animaguru-archive-light-table/references/recipe.md +26 -0
  8. package/skills/animaguru-briefing-board/SKILL.md +34 -0
  9. package/skills/animaguru-briefing-board/references/recipe.md +27 -0
  10. package/skills/animaguru-data-physicalization/SKILL.md +34 -0
  11. package/skills/animaguru-data-physicalization/references/recipe.md +27 -0
  12. package/skills/animaguru-exploded-teardown/SKILL.md +34 -0
  13. package/skills/animaguru-exploded-teardown/references/recipe.md +27 -0
  14. package/skills/animaguru-lidar-survey/SKILL.md +34 -0
  15. package/skills/animaguru-lidar-survey/references/recipe.md +26 -0
  16. package/skills/animaguru-machine-anatomy/LICENSE +21 -0
  17. package/skills/animaguru-machine-anatomy/SKILL.md +42 -0
  18. package/skills/animaguru-machine-anatomy/references/craft.md +97 -0
  19. package/skills/animaguru-machine-anatomy/references/recipe.md +52 -0
  20. package/skills/animaguru-microscope-story/SKILL.md +34 -0
  21. package/skills/animaguru-microscope-story/references/recipe.md +26 -0
  22. package/skills/animaguru-satellite-briefing/SKILL.md +34 -0
  23. package/skills/animaguru-satellite-briefing/references/recipe.md +27 -0
  24. package/skills/animaguru-white-model-projection/SKILL.md +34 -0
  25. package/skills/animaguru-white-model-projection/references/recipe.md +27 -0
  26. package/templates/video/README.md +1 -1
  27. package/templates/video/VIDEO-STYLE-NOTICES.txt +25 -1
  28. package/templates/video/shared/locales/en/style-studies.json +73 -0
  29. package/templates/video/src/kit/anatomy/LICENSE +21 -0
  30. package/templates/video/src/kit/anatomy/iso-kit.ts +842 -0
  31. package/templates/video/src/kit/anatomy/palette.ts +41 -0
  32. package/templates/video/src/kit/anatomy/pixi.ts +43 -0
  33. package/templates/video/src/player.ts +20 -0
  34. package/templates/video/src/studies/anatomy-plotter.ts +179 -0
  35. package/templates/video/src/studies/scenes.ts +171 -0
  36. package/templates/video/src/style.css +19 -3
  37. package/templates/video/style-source-provenance.json +7 -2
package/NOTICE.md CHANGED
@@ -1473,7 +1473,7 @@ SOFTWARE.
1473
1473
 
1474
1474
  Video style sources and notices
1475
1475
 
1476
- The executable studies and preview art are original AnimaGuru procedural 2D/2.5D work. Material/motion guidance was adapted from the pinned repositories below. No external creator video, sample music or demo font is bundled. Third-party demo assets retain their own licenses.
1476
+ The executable studies and preview art are original AnimaGuru procedural 2D/2.5D work. Material/motion guidance was adapted from the pinned repositories below. The Machine Anatomy geometry kit (src/kit/anatomy/iso-kit.ts) is a verbatim copy from anatomy; its MIT notice is also in src/kit/anatomy/LICENSE. No external creator video, sample music or demo font is bundled. Third-party demo assets retain their own licenses.
1477
1477
 
1478
1478
  lemo-opuscar
1479
1479
  MIT License
@@ -1527,6 +1527,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1527
1527
  SOFTWARE.
1528
1528
 
1529
1529
 
1530
+ anatomy
1531
+ MIT License
1532
+
1533
+ Copyright (c) 2026 Ryan
1534
+
1535
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1536
+ of this software and associated documentation files (the "Software"), to deal
1537
+ in the Software without restriction, including without limitation the rights
1538
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1539
+ copies of the Software, and to permit persons to whom the Software is
1540
+ furnished to do so, subject to the following conditions:
1541
+
1542
+ The above copyright notice and this permission notice shall be included in all
1543
+ copies or substantial portions of the Software.
1544
+
1545
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1546
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1547
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1548
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1549
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1550
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1551
+ SOFTWARE.
1552
+
1553
+
1530
1554
  ## Art Motion references
1531
1555
 
1532
1556
  English adaptations of Huashu Art Motion (https://github.com/alchaincyf/huashu-art-motion). Source revision and coverage are in skills/animaguru-art-motion/references/coverage.json.
package/README.md CHANGED
@@ -41,9 +41,11 @@ CLI versions before 0.16.2 need one manual update to gain enforcement. Publish t
41
41
 
42
42
  ## Create an animation video project
43
43
 
44
+ CLI 0.23.0 adds eight evidence styles, in which real data, imagery or scans carry the film: Satellite Briefing, Engineering Briefing Board, LiDAR Survey, White Model Projection, Data Physicalization, Exploded Teardown, Microscope Story and Archive Light Table. Their skills ask for the user's own data first, list licence-clean sources, keep `production/FACTS.md` and `production/CREDITS.md`, and never let a generated image stand in for evidence. Each has a runnable study (`npm run example -- satellite-briefing`).
45
+
44
46
  CLI 0.16.2 also installs `animaguru-art-motion` for Codex and Claude Code: one skill with 36 English art-treatment references and nine explainer motion grammars, plus AnimaGuru generation, timing, camera and review guidance. Request it explicitly for a custom film treatment; its references are separate from the gallery presets. Source coverage and the upstream MIT notice are included in the skill.
45
47
 
46
- CLI 0.5.2 includes a complete local PixiJS video workspace with 31 visual styles:
48
+ CLI 0.5.2 includes a complete local PixiJS video workspace, now with 40 visual styles:
47
49
 
48
50
  ```sh
49
51
  animaguru templates
@@ -59,13 +61,15 @@ Open the generated folder in **Codex or Claude Code**, then describe the video y
59
61
  - Agent instructions that first ask **Explainer, Advertisement or General Video**, then offer the available visual styles and [the preview gallery](https://animaguru.com/animation-styles), then gather a short creative brief. Each choice is saved before continuing.
60
62
  - `film.config.json`, editable TypeScript scenes, localized copy, local asset/production folders, portable HTML5 ZIP export for iframe embedding, and `npm run export:mp4` with exact frame capture and output verification.
61
63
 
62
- New projects leave category and template unset in `animaguru.project.json`. `animaguru.templates.json` lists categories, styles and their installed skills. The 31 visual styles cover cutout, type, vector, technical, character, print, paper, material and cinematic treatments. Every style skill ships with the project, including its relevant visual interview and review criteria. Categories describe purpose and templates describe appearance and motion. The brief establishes audience, tone, message, story, duration and any CTA.
64
+ New projects leave category and template unset in `animaguru.project.json`. `animaguru.templates.json` lists categories, styles and their installed skills. The 40 visual styles cover cutout, type, vector, technical, evidence, character, print, paper, material and cinematic treatments. Every style skill ships with the project, including its relevant visual interview and review criteria. Categories describe purpose and templates describe appearance and motion. The brief establishes audience, tone, message, story, duration and any CTA.
65
+
66
+ CLI 0.23.0 also adds **Machine Anatomy** (`machine-anatomy`): an idea explained as a working isometric machine of many small shaded parts in a framed figure card with a live readout. Adapted from the MIT-licensed [Anatomy](https://github.com/wheresryan22/anatomy) skill, it bundles that skill's geometry kit in `src/kit/anatomy/` with a PixiJS adapter, and `npm run example -- machine-anatomy` installs its original study.
63
67
 
64
68
  Scaffolding requires no AnimaGuru sign-in and spends no generation credits; dependency installation requires npm access. `npm run dev` previews the project, and `npm run build` checks and bundles it. To export, run `npm run export:mp4`, open its local URL and wait for the verified MP4, or use HTML5 export for embedding. The starter demo is silent; the agent creates narration and music when in scope.
65
69
 
66
70
  The official PixiJS skills are vendored with their MIT license and a hashed provenance manifest. Skills and template files ship in both the npm package and macOS installer; `create` does not fetch agent instructions from a remote repository at runtime.
67
71
 
68
- CLI 0.16.1 also installs **AnimaGuru Cutcraft** in both agent skill folders. Ask your agent to use `$animaguru-cutcraft` for tactile paper-collage explainers with exact editorial lettering, one narrator and purposeful cutout motion. Its generation adapter checks the server's enabled models, tracks asynchronous jobs and supports controlled animation of generated transparent artwork when precise placement is needed or video providers are unavailable. Cutcraft is an additional skill; the gallery retains its 31 visual styles.
72
+ CLI 0.16.1 also installs **AnimaGuru Cutcraft** in both agent skill folders. Ask your agent to use `$animaguru-cutcraft` for tactile paper-collage explainers with exact editorial lettering, one narrator and purposeful cutout motion. Its generation adapter checks the server's enabled models, tracks asynchronous jobs and supports controlled animation of generated transparent artwork when precise placement is needed or video providers are unavailable. Cutcraft is an additional skill, not a gallery style.
69
73
 
70
74
  ## Install the project skill
71
75
 
@@ -84,6 +88,19 @@ Running `init` again refreshes an existing skill with the bundled version withou
84
88
 
85
89
  The default server is https://animaguru.com. Use `--url http://localhost:5190` on the leaf command or `ANIMAGURU_URL` to override it. HTTP is allowed only for loopback development. Authentication is stored separately per server in `~/.config/animaguru/credentials.json`, with file permissions 0600. Set `ANIMAGURU_CONFIG_DIR` for an isolated configuration directory. Browser login uses a ten-minute, single-use device code and receives a seven-day revocable Better Auth session. `auth login --no-browser` prints the URL for manual use. `auth logout` revokes the token. `ANIMAGURU_TOKEN` supports secret injection by agent runners; do not put tokens in arguments or commit them.
86
90
 
91
+ ## Call the API directly
92
+
93
+ CLI 0.22.0 adds `animaguru curl` for API endpoints that have no command of their own. It takes curl's flags but no host and no `Authorization` header: it calls only the signed-in server (`--server` or `ANIMAGURU_URL`) and adds the session's token itself, so the token never appears in a command line.
94
+
95
+ ```sh
96
+ animaguru curl /api/v1/me
97
+ animaguru curl -X PATCH /api/v1/projects/prj_123 -d '{"name":"Launch film"}'
98
+ animaguru curl -T film.mp4 /api/v1/some/upload # streams the file with PUT and Content-Type: video/mp4
99
+ animaguru curl /api/v1/some/download -o film.mp4 # saves to a new file and prints a JSON summary
100
+ ```
101
+
102
+ `-d`/`--data` and `--json` take text, `@FILE` or `@-` (JSON text is sent as `application/json`); `-T` streams a file with `PUT` unless `-X` says otherwise; `-H` adds headers; `-i` prints the status line and headers. Redirects are not followed. Unlike plain curl, an HTTP 4xx or 5xx prints the body and exits non-zero; `--no-fail` exits 0. Video, images and other binary responses go to a file with `-o`, which never overwrites one.
103
+
87
104
  ## Personal and team projects
88
105
 
89
106
  CLI 0.7.1 can select a cloud workspace for project listing, project creation, and credit balances:
@@ -255,6 +272,18 @@ animaguru assets generate PROJECT_ID --type video --model fal/minimax-h3-max \
255
272
 
256
273
  H3 takes fractions of a second (`--seconds 6.5`). Lip-sync, recast, relight and 3d-to-video last as long as their speech or video, and `--seconds` doesn't apply to them. Reference images, clips and audio past fal's included allowance add to the cost; so do the references 3d-to-video draws. Their `--dry-run` asks the server, which measures the saved files. `--resolution` and `--mode` default to the first the workflow offers.
257
274
 
275
+ CLI 0.21.0 adds Black Forest Labs' FLUX 3 Max on fal.ai (`fal/flux-3-max`). It films from an image (optionally ending on `--end-reference`) or from text, for 5–20 whole seconds at 720p (default) or 1080p, and makes its own sound; it takes no `--soundtrack`. `--workflow keyframes-to-video` passes through up to ten saved images at chosen moments:
276
+
277
+ ```sh
278
+ # Pass through three images: the start, a pose at 2.5 seconds, and the end.
279
+ animaguru assets generate PROJECT_ID --type video --model fal/flux-3-max \
280
+ --workflow keyframes-to-video --name "Hat on" \
281
+ --prompt "She picks up the hat, puts it on and smiles at the camera" \
282
+ --keyframes "0,START_SHA;2.5,POSE_SHA;6,END_SHA" --seconds 6 --dry-run
283
+ ```
284
+
285
+ `--keyframes` takes 1–10 `seconds,SHA` pairs, separated by semicolons, of this project's images or sprite art. Each is reached at its second, within `--seconds`; the clip has 24 frames a second and each keyframe needs a frame of its own. `--aspect-ratio auto` (default) follows the first keyframe, or give a ratio. FLUX 3 Max always works through the prompt before filming: `--prompt-expansion quality` asks for its thorough, slower level, any other value its light one. It takes `--seed`. Its dry runs are local estimates.
286
+
258
287
  Images have a full background by default; `--transparent` requests a cutout. CLI 0.17.0 adds `--references`, `--mask` and the 16:9 and 9:16 shapes. `--aspect-ratio` is 1:1 (default, 1024×1024), 3:2 (1536×1024), 2:3 (1024×1536), 16:9 (1536×864) or 9:16 (864×1536). `--references` takes up to four comma-separated blob SHAs of this project's images (including attached uploads) or sprite art, and the new image follows them: generate a character sheet once, then reference it in every scene to keep the character consistent. Refer to them in the prompt as Image 1, Image 2 and so on, and say what to take from each. Each reference adds a little to the estimate. `--mask` edits only part of Image 1, the first reference: give up to eight rectangles as `x,y,width,height` fractions of its size from the top left, separated by semicolons (`0,0,1,0.4` is the top 40%). The rest of the image is kept, and the result keeps Image 1's shape, which must be one of the five above. Gemini speech's `--prompt` is the verbatim transcript, and `--delivery` controls how it sounds without being spoken. Gemini speech supports both `gemini-3.8-flash-tts` and `gemini-3.8-flash-lite-tts`. Music uses Lyria. Google audio requires the server's `AI_PROVIDER_KEY_GOOGLE` secret; no provider keys are stored in the CLI.
259
288
 
260
289
  Preview a validated request and its estimated credits with `--dry-run`, without spending credits; most dry runs work offline without signing in: