@genex-ai/cli-demo 0.37.0 → 0.39.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.
- package/README.md +22 -0
- package/dist/index.js +469 -28
- package/package.json +4 -1
- package/templates/controllers/NOTICE.md +8 -5
- package/templates/controllers/assets/animation-library.glb +0 -0
- package/templates/controllers/assets/anims-manifest.json +1306 -0
- package/templates/controllers/character/animation-packs.ts +70 -0
- package/templates/controllers/character/character-animations.ts +51 -8
- package/templates/controllers/character/character-controller.ts +153 -5
- package/templates/controllers/character/keyboard-input.ts +12 -1
- package/templates/controllers/character/presets.ts +19 -1
- package/templates/controllers/character/vrm/foot-ik.ts +71 -15
- package/templates/controllers/character/vrm/vrm-retarget.ts +72 -12
- package/templates/skills/genex-threejs-character-controller/SKILL.md +55 -22
- package/templates/skills/genex-threejs-character-controller/references/animations.md +91 -46
- package/templates/skills/genex-threejs-character-controller/references/tuning-and-presets.md +3 -0
- package/templates/skills/genex-threejs-multiplayer/references/host-physics.md +7 -6
- package/templates/skills/genex-threejs-skill-router/SKILL.md +1 -1
- package/templates/skills/genex-threejs-vehicle-controllers/references/enter-exit.md +3 -2
- package/templates/controllers/assets/character.glb +0 -0
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ genex texture "<prompt>" # generate a texture → prints an asset URL
|
|
|
16
16
|
genex image "<prompt>" # generate an image → prints an asset URL
|
|
17
17
|
genex video "<prompt>" # generate a video → prints an asset URL
|
|
18
18
|
genex controller <type> # install a tuned character|car|drone controller → src/controllers/
|
|
19
|
+
genex controller anims <sel…> # download extra character animation clips (by tag or name) → public/assets/anims/
|
|
19
20
|
```
|
|
20
21
|
|
|
21
22
|
> **Invoking it.** First-time setup runs via `npx @genex-ai/cli-demo@latest init`.
|
|
@@ -183,6 +184,27 @@ GENEX_BROWSER="open -a Safari" genex init
|
|
|
183
184
|
GENEX_BROWSER="'/Applications/My Browser.app/Contents/MacOS/My Browser'" genex init
|
|
184
185
|
```
|
|
185
186
|
|
|
187
|
+
## Crash reporting
|
|
188
|
+
|
|
189
|
+
When a command hits an **unexpected** error, the CLI reports the crash to Sentry
|
|
190
|
+
so we can fix it. Expected failures (missing token, a rejected API request, bad
|
|
191
|
+
input) are just printed — they're not sent. Before anything leaves your machine
|
|
192
|
+
it's scrubbed: your `GENEX_TOKEN` and any credentials, credential-bearing URLs
|
|
193
|
+
(e.g. the per-push git URL), your home-directory paths and hostname, and
|
|
194
|
+
stack-frame locals are all stripped ([`src/lib/sentry-scrub.ts`](src/lib/sentry-scrub.ts)).
|
|
195
|
+
No IP address or account identity is attached. Only the crash, the command name,
|
|
196
|
+
and your CLI/Node/OS versions are sent.
|
|
197
|
+
|
|
198
|
+
Opt out any time:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
export GENEX_TELEMETRY=0 # our switch (on by default)
|
|
202
|
+
export DO_NOT_TRACK=1 # the cross-tool standard — any value disables it
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Reporting is also off whenever no DSN is baked into the build (the default in
|
|
206
|
+
local/source runs), so nothing is sent during development.
|
|
207
|
+
|
|
186
208
|
## How authorization works
|
|
187
209
|
|
|
188
210
|
The CLI uses a loopback-redirect flow (the same pattern as `gh auth login` and
|