@docyrus/animaguru 0.26.0 → 0.28.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 (32) hide show
  1. package/README.md +41 -3
  2. package/dist/animaguru.js +756 -467
  3. package/package.json +1 -1
  4. package/skills/animaguru/SKILL.md +13 -1
  5. package/skills/animaguru-3d-models/SKILL.md +86 -0
  6. package/skills/animaguru-character-stage-3d/SKILL.md +35 -0
  7. package/skills/animaguru-character-stage-3d/references/recipe.md +26 -0
  8. package/skills/animaguru-exploded-teardown-3d/SKILL.md +38 -0
  9. package/skills/animaguru-exploded-teardown-3d/references/recipe.md +20 -0
  10. package/skills/animaguru-product-turntable-3d/SKILL.md +38 -0
  11. package/skills/animaguru-product-turntable-3d/references/recipe.md +27 -0
  12. package/skills/animaguru-quiz/SKILL.md +1 -1
  13. package/skills/animaguru-toy-diorama-3d/SKILL.md +33 -0
  14. package/skills/animaguru-toy-diorama-3d/references/recipe.md +26 -0
  15. package/skills/animaguru-video/SKILL.md +5 -1
  16. package/templates/video/AGENTS.md +1 -1
  17. package/templates/video/README.md +5 -1
  18. package/templates/video/package.json +3 -1
  19. package/templates/video/scripts/install-example.mjs +10 -6
  20. package/templates/video/shared/locales/en/style-studies.json +35 -0
  21. package/templates/video/shared/locales/en/timeline.json +1 -0
  22. package/templates/video/src/kit/index.ts +1 -0
  23. package/templates/video/src/kit/three-stage.ts +262 -0
  24. package/templates/video/src/resource-timeline.ts +1 -0
  25. package/templates/video/src/studies/three/character-stage-3d.ts +172 -0
  26. package/templates/video/src/studies/three/exploded-teardown-3d.ts +214 -0
  27. package/templates/video/src/studies/three/index.ts +16 -0
  28. package/templates/video/src/studies/three/product-turntable-3d.ts +160 -0
  29. package/templates/video/src/studies/three/toy-diorama-3d.ts +245 -0
  30. package/templates/video/src/studies/three-film.ts +42 -0
  31. package/templates/video/src/style.css +2 -1
  32. package/templates/video/src/timeline-model.ts +1 -1
package/README.md CHANGED
@@ -29,7 +29,7 @@ The npm package requires Node.js 24+. Its default registry is https://registry.n
29
29
 
30
30
  From this repository, `npm ci && npm run cli:build` builds the CLI and `npm run cli -- --help` runs it. `npm run cli:release` prepares the npm tarball and public Mac downloads. `npm run cli:publish` publishes that reviewed release under the Docyrus organization; publishing requires a logged-in npm account with organization access and any required 2FA. Each release needs a new version in `cli/package.json`; the CLI version is read from that file. `npm run deploy` builds release downloads before uploading the site.
31
31
 
32
- The command `animaguru schema` returns the Crust command schema, and `animaguru catalog` lists supported art styles, actions, asset types, models, video profiles and speech voices; `catalog --type music` (or `sprites`, `image`, `video`, `speech`, `sfx`, `avatars`) returns only that part. Shell completions: `animaguru completion zsh` (also bash and fish).
32
+ The command `animaguru schema` returns the Crust command schema, and `animaguru catalog` lists supported art styles, actions, asset types, models, video profiles and speech voices; `catalog --type music` (or `sprites`, `image`, `vector`, `video`, `speech`, `sfx`, `model`, `avatars`) returns only that part. Shell completions: `animaguru completion zsh` (also bash and fish).
33
33
 
34
34
  ## Required updates
35
35
 
@@ -49,9 +49,17 @@ CLI 0.25.0 adds seven contemporary motion-design styles: Aurora & Glass, Liquid
49
49
 
50
50
  CLI 0.26.0 adds `npm run export:mp4 -- --watermark`: beside the clean MP4, the export saves `SLUG-LANGUAGE-watermarked.mp4` with AnimaGuru's "Made with AnimaGuru" badge, drawn with the font, logo and layout of the web app's watermark. AnimaGuru's lead pipeline uploads it as the film's preview, so a film no longer waits for a reviewer's browser to watermark it.
51
51
 
52
+ CLI 0.27.0 adds vector assets: `--type vector` draws an editable SVG with Ideogram on fal, from a prompt (optionally following up to five saved images) or by tracing a saved image. `assets download` saves it as `.svg`. See [Vectors](#vectors).
53
+
54
+ CLI 0.28.0 adds 3D model assets and real 3D shots. `assets generate --type model` builds a GLB from a saved image (`--reference SHA`) or from `--prompt` with Tripo H3.1 or Hunyuan3D 3.1 Pro, and `--rig --animations idle,walk,wave` auto-rigs a humanoid character with up to ten clips from Meshy's library. New video workspaces include three.js and the kit's `ThreeStage`, which renders a three.js scene as a layer of the Pixi film, with clips posed at absolute film time so seeking and export stay deterministic. The `animaguru-3d-models` skill covers generation, optimisation and staging.
55
+
56
+ CLI 0.28.0 also adds `animaguru skills install`, which installs every AnimaGuru and PixiJS skill, the latest published on animaguru.com, into a folder for Claude Code and Codex with the open `skills` CLI. See [Install every skill](#install-every-skill).
57
+
58
+ CLI 0.28.0 also adds four 3D styles in a new 3D scenes family, each with a runnable three.js study (`npm run example -- product-turntable-3d`): 3D Product Turntable, 3D Character Stage, 3D Toy Diorama and 3D Exploded Teardown. Their skills build on `animaguru-3d-models` for generated and rigged models; the studies are modelled in code.
59
+
52
60
  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.
53
61
 
54
- CLI 0.5.2 includes a complete local PixiJS video workspace, now with 55 visual styles:
62
+ CLI 0.5.2 includes a complete local PixiJS video workspace, now with 59 visual styles:
55
63
 
56
64
  ```sh
57
65
  animaguru templates
@@ -90,6 +98,19 @@ Available in CLI 0.3.0 and later, `init` writes the bundled skill to `.agents/sk
90
98
 
91
99
  Running `init` again refreshes an existing skill with the bundled version without a warning or confirmation (`created: false`). An identical skill is left unchanged. Skill installation happens when you explicitly run `init` or scaffold a new project with `create`. The npm and macOS packages both include the skill.
92
100
 
101
+ ### Install every skill
102
+
103
+ ```sh
104
+ cd /path/to/your/project
105
+ animaguru skills install
106
+ ```
107
+
108
+ CLI 0.28.0 adds `skills install`, which installs every AnimaGuru skill (the CLI, video, style, purpose, brand, 3D and other skills) and the PixiJS skills they build on, the latest ones published on animaguru.com, whatever the CLI's version. It runs the open [skills CLI](https://github.com/vercel-labs/skills) (`npx skills@1.7.4 add https://animaguru.com/cli/skills --skill '*' --agent claude-code --agent codex --copy --yes`, with its telemetry off), which copies each skill into `.claude/skills/` for Claude Code and `.agents/skills/` for Codex, Cursor, Gemini CLI and other agents that read it, checks each download's digest, and records the source in `skills-lock.json`. Run it again, or `npx skills update --project --yes`, to refresh them; skills you added yourself are left alone. `--dir PATH` installs into another folder (created if missing). It needs `npx` (npm, with Node.js 24) and a network connection, and prints JSON listing the installed skills; the skills CLI's own progress goes to stderr.
109
+
110
+ Skills describe the CLI and workspace code of their release: in a video workspace made by an older CLI, update the CLI and the workspace too, or the newest skills may name commands or kit helpers the workspace lacks.
111
+
112
+ The catalog is an [Agent Skills discovery](https://agentskills.io) index at `https://animaguru.com/cli/skills/.well-known/agent-skills/index.json`, with one zip per skill. `npm run cli:release` (and so every site build) regenerates it from `cli/skills` and `cli/vendor/pixijs-skills` into `public/cli/skills/` (`scripts/skills-catalog.mjs`), and fails on a skill the skills CLI would skip, such as an unquoted description containing ": ".
113
+
93
114
  ## Authentication and server
94
115
 
95
116
  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.
@@ -290,6 +311,23 @@ animaguru assets generate PROJECT_ID --type video --model fal/flux-3-max \
290
311
 
291
312
  `--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.
292
313
 
314
+ ### Vectors
315
+
316
+ CLI 0.27.0 adds vectors: editable SVG files drawn by Ideogram on fal.ai (`fal/ideogram-vector`), for logos, icons, mascots and flat illustrations that stay sharp at any size and can be animated shape by shape.
317
+
318
+ ```sh
319
+ # Draw from a prompt; --references guide the look, the first one leading.
320
+ animaguru assets generate PROJECT_ID --type vector --name "Fox mascot" \
321
+ --prompt "A friendly fox mascot waving, flat colors, bold clean outlines" \
322
+ --quality medium --aspect-ratio 1:1 --references CHARACTER_SHEET_SHA --dry-run
323
+
324
+ # Trace a saved image or sprite into shapes; it takes no prompt.
325
+ animaguru assets generate PROJECT_ID --type vector --name "Logo" \
326
+ --workflow image-to-vector --source IMAGE_SHA --shapes simple --dry-run
327
+ ```
328
+
329
+ `--workflow` is `text-to-vector` (default) or `image-to-vector`. From text, `--quality` is `low` (13 credits), `medium` (default, 16) or `high` (20, or 32 with references); `--aspect-ratio` is `auto` (default, the model's choice) or a ratio from 1:4 to 4:1 (`catalog --type vector` lists them); `--references` takes up to five of this project's images or sprite art of up to 10 MB each, named Image 1, Image 2… in the prompt; `--seed` repeats a result. `image-to-vector` traces `--source`, one of this project's images or sprite art of up to 50 MB, for 10 credits: `--shapes detailed` (default) keeps fine detail and `simple` uses fewer, simpler shapes. The result is saved as `image/svg+xml` and downloads as `NAME.svg`. Vectors can't be used as image or video references; trace or draw one from an image instead.
330
+
293
331
  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.
294
332
 
295
333
  Preview a validated request and its estimated credits with `--dry-run`, without spending credits; most dry runs work offline without signing in:
@@ -312,7 +350,7 @@ animaguru assets submit PROJECT_ID --file speech.json --model gemini-3.8-flash-t
312
350
 
313
351
  `--model` overrides the file's model. Unrelated type-specific flags are rejected rather than ignored, and the error lists the flags that type accepts.
314
352
 
315
- `assets generate` and `assets submit` accept `--wait` to block until the job finishes (failing if generation fails) and `--download PATH` to wait and then save the result; `--timeout` sets the wait in seconds (default 600). A `PATH` that is an existing folder or ends in `/` receives `NAME.EXT`, named after the asset and its type (`.wav`, `.mp3`, `.png`…). The JSON output adds `job`, `asset` (`id`, `name`, `type`, `mimeType`) and `download` (`path`, `size`) to the submission receipt.
353
+ `assets generate` and `assets submit` accept `--wait` to block until the job finishes (failing if generation fails) and `--download PATH` to wait and then save the result; `--timeout` sets the wait in seconds (default 600). A `PATH` that is an existing folder or ends in `/` receives `NAME.EXT`, named after the asset and its type (`.wav`, `.mp3`, `.png`, `.svg`…). The JSON output adds `job`, `asset` (`id`, `name`, `type`, `mimeType`) and `download` (`path`, `size`) to the submission receipt.
316
354
 
317
355
  ```sh
318
356
  animaguru assets generate PROJECT_ID --type speech --name vo-01-hook \