@genex-ai/cli-demo 0.63.0-dev.149 → 0.63.0-dev.152

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "0.63.0-dev.149",
3
+ "version": "0.63.0-dev.152",
4
4
  "description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -409,7 +409,7 @@ after a bad single costs the whole chain).
409
409
 
410
410
  ## Troubleshooting
411
411
 
412
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it
412
+ - **"Not authorized"** — run `npx genex init` first (in the project — it resolves this project's own CLI) (it
413
413
  writes your `GENEX_TOKEN`).
414
414
  - **"Prompt rejected"** — the provider's content-safety filter blocked the
415
415
  prompt. Non-retryable; rewrite the wording.
@@ -194,7 +194,7 @@ set belongs to `$genex-ai-hud` — both build on this command.
194
194
 
195
195
  ## Troubleshooting
196
196
 
197
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
197
+ - **"Not authorized"** — run `npx genex init` first (in the project — it resolves this project's own CLI) (it writes your `GENEX_TOKEN`).
198
198
  - **"Prompt rejected"** — the provider's content-safety filter blocked the prompt.
199
199
  This is non-retryable; retrying the same wording fails again. Rewrite the prompt.
200
200
  - **Decal is an opaque rectangle** — the image has no alpha. Regenerate with
@@ -334,7 +334,7 @@ upgrades, in order of effort:
334
334
 
335
335
  ## Troubleshooting
336
336
 
337
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it
337
+ - **"Not authorized"** — run `npx genex init` first (in the project — it resolves this project's own CLI) (it
338
338
  writes your `GENEX_TOKEN`).
339
339
  - **"Prompt rejected"** — the provider's content-safety filter blocked the
340
340
  prompt. Non-retryable; rewrite the wording.
@@ -107,7 +107,7 @@ scene is a ghost: players and objects pass straight through it.
107
107
 
108
108
  ## Troubleshooting
109
109
 
110
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
110
+ - **"Not authorized"** — run `npx genex init` first (in the project — it resolves this project's own CLI) (it writes your `GENEX_TOKEN`).
111
111
  - **"Out of credits" (`insufficient_credits`)** — the account has no credits left for
112
112
  this model generation. Tell the user the facts the CLI printed: their balance, this
113
113
  generation's cost, and when their credits refill. Then offer to continue the build
@@ -72,7 +72,7 @@ Reuse one loaded `buffer` across many plays; create a fresh `Audio`/`PositionalA
72
72
 
73
73
  ## Troubleshooting
74
74
 
75
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
75
+ - **"Not authorized"** — run `npx genex init` first (in the project — it resolves this project's own CLI) (it writes your `GENEX_TOKEN`).
76
76
  - **"Out of credits" (`insufficient_credits`)** — the account has no credits left for
77
77
  this sound generation. Tell the user the facts the CLI printed: their balance, this
78
78
  generation's cost, and when their credits refill. Then offer to continue the build
@@ -63,8 +63,11 @@ Add `--json` for machine-readable output.
63
63
  **As a NEW game (start from the whole project):**
64
64
 
65
65
  1. `git clone <clone URL from the output> <name>` — pick a short one-word name.
66
- 2. `cd <name>`, then `npx @genex-ai/cli-demo@dev init <name>` never use
67
- `--force`. This creates your own project; the original is untouched.
66
+ 2. `cd <name>`, then run init on the SAME CLI channel your current project
67
+ uses: `npx @genex-ai/cli-demo@dev init <name>` or `@dev` when you're
68
+ on the dev stand (unsure? `dashboardOrigins` in your current project's
69
+ `.genex/project.json` says which). Never use `--force`. This creates your
70
+ own project; the original is untouched.
68
71
  3. `npm install`, keep `base: './'` in `vite.config`, then build your changes
69
72
  and ship with `npx genex preview`.
70
73
 
@@ -60,6 +60,12 @@ what's new, check the package page: https://www.npmjs.com/package/@genex-ai/cli-
60
60
  the sanctioned path, but always say in chat that you did it.
61
61
  - **Never downgrade**, and never pin to an old version to "fix" an error —
62
62
  report the error instead.
63
+ - **Never switch the CLI's channel.** A project built from the dev stand
64
+ (`dev.genex.games` — check `dashboardOrigins` in `.genex/project.json`)
65
+ runs `@genex-ai/cli-demo@dev`; installing `@latest` there is a downgrade to
66
+ the production build — it swaps the installed skills and re-points every
67
+ command at the wrong stand. Run exactly what the nudge printed (it is
68
+ channel-aware; on the dev channel it never offers a CLI update at all).
63
69
  - **Verify after updating**: the game should still build/run. If it does not,
64
70
  say exactly what broke rather than quietly reverting.
65
71
  - If `npm i` fails (offline, registry down), say so and continue on the