@meshy-ai/cli 0.1.0 → 0.1.2

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
@@ -321,8 +321,7 @@ meshy-cli/
321
321
  │ ├── global-options.ts # mirror --format etc. onto subcommands
322
322
  │ └── logger.ts # leveled stderr logger
323
323
  ├── tests/ # node:test unit + integration tests
324
- ├── skills/ # agent-facing markdown skill (published with the package)
325
- ├── internal-assets/ # not published, not mirrored — see its README
324
+ ├── skills/ # agent-facing skill: SKILL.md + bundled animation catalog (published)
326
325
  ├── package.json
327
326
  ├── tsconfig.json
328
327
  └── README.md
@@ -351,26 +350,6 @@ meshy-cli/
351
350
  - **Stdout is reserved for command output.** Logs and errors go to stderr so
352
351
  pipes (`| jq`, `-o file`) stay clean.
353
352
 
354
- ## Releasing
355
-
356
- Versions are tag-driven and fully automated — there is no manual publish
357
- step. `package.json` is the single source of truth for the version (the CLI
358
- reads it at startup, and a test asserts `VERSION === package.json#version`).
359
-
360
- ```bash
361
- # 1. bump the version (also updates the lockfile-free metadata)
362
- npm version patch # or minor / major
363
- # 2. push the commit and the tag
364
- git push && git push --tags
365
- ```
366
-
367
- Pushing the `vX.Y.Z` tag runs
368
- [`.github/workflows/release.yml`](.github/workflows/release.yml):
369
- typecheck → test → build → verify tag == `package.json#version` →
370
- `npm publish --access public` for both `meshy-cli` and the scoped alias
371
- `@meshy-ai/cli`. One-time prerequisites: the repo must be public and an
372
- `NPM_TOKEN` secret with publish rights must be configured.
373
-
374
353
  ## License
375
354
 
376
355
  MIT — see [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshy-ai/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Official command-line interface for the Meshy AI API — text-to-3D, image-to-3D, remesh, rigging, animate, retexture, 2D images, multi-color print, balance.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -69,16 +69,27 @@ These are API rules, not preferences — ignoring them produces failed tasks:
69
69
 
70
70
  ## Finding an animation id
71
71
 
72
- `--action-id` is an integer from Meshy's animation library. Look it up from the
73
- public catalog — no key required:
72
+ `--action-id` is an integer from Meshy's animation library. This skill bundles
73
+ the full catalog as `animation-library.json` next to this file — 678 actions,
74
+ each with `action_id`, `name`, `category`, `sub_category`, `is_free`,
75
+ `preview_url`, and a hand-written `description` the API does not return. Pick an
76
+ action by what it depicts, offline and with no key:
74
77
 
75
78
  ```bash
76
- curl -s "https://api.meshy.ai/web/public/animations/resources" \
77
- | jq -r '.result.list[] | select(.category=="Fighting") | "\(.id)\t\(.name)"'
79
+ # from this skill's directory
80
+ jq -r '.[] | select(.category=="Fighting") | "\(.action_id)\t\(.name)\t\(.description)"' \
81
+ animation-library.json
78
82
  ```
79
83
 
80
84
  Categories: WalkAndRun, BodyMovements, DailyActions, Fighting, Dancing.
81
- `?category=Fighting` narrows the response; other query parameters are ignored.
85
+
86
+ The bundled catalog can lag as Meshy adds actions. For the authoritative live
87
+ list (ids + names, no descriptions) hit the public endpoint — no key required:
88
+
89
+ ```bash
90
+ curl -s "https://api.meshy.ai/web/public/animations/resources" \
91
+ | jq -r '.result.list[] | select(.category=="Fighting") | "\(.id)\t\(.name)"'
92
+ ```
82
93
 
83
94
  ## When something fails
84
95