@genex-ai/cli-demo 1.2.4-dev.363 → 1.2.4

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/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import fs from "fs";
8
8
  import os from "os";
9
9
  import path from "path";
10
10
  import { fileURLToPath } from "url";
11
- var RAW_CHANNEL = "dev";
11
+ var RAW_CHANNEL = "latest";
12
12
  var CLI_CHANNEL = RAW_CHANNEL === "dev" ? "dev" : "latest";
13
13
  var STANDS = {
14
14
  prod: { api: "https://api.genex.games", dashboard: "https://genex.games" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.2.4-dev.363",
3
+ "version": "1.2.4",
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": {
@@ -116,7 +116,7 @@ scene.background = texture; // keep the raw texture for the visible sky
116
116
 
117
117
  ## Troubleshooting
118
118
 
119
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
119
+ - **"Not authorized"** — run `npx @genex-ai/cli-demo@latest init` first (it writes your `GENEX_TOKEN`).
120
120
  - **"Out of credits" (`insufficient_credits`)** — the account has no credits left for
121
121
  this skybox generation. Tell the user the facts the CLI printed: their balance, this
122
122
  generation's cost, and when their credits refill. Then offer to continue the build
@@ -225,7 +225,7 @@ first one is the one a screenshot of the whole arena will not show you.
225
225
 
226
226
  ## Troubleshooting
227
227
 
228
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
228
+ - **"Not authorized"** — run `npx @genex-ai/cli-demo@latest init` first (it writes your `GENEX_TOKEN`).
229
229
  - **"Out of credits" (`insufficient_credits`)** — the account has no credits left for
230
230
  this texture generation. Tell the user the facts the CLI printed: their balance,
231
231
  this generation's cost, and when their credits refill. Then offer to continue the
@@ -151,7 +151,7 @@ set belongs to `$genex-ai-hud` — both build on `npx genex image`/`video`.
151
151
 
152
152
  ## Troubleshooting
153
153
 
154
- - **"Not authorized"** — run `npx @genex-ai/cli-demo@dev init` first (it writes your `GENEX_TOKEN`).
154
+ - **"Not authorized"** — run `npx @genex-ai/cli-demo@latest init` first (it writes your `GENEX_TOKEN`).
155
155
  - **"Prompt rejected"** — the provider's content-safety filter blocked the prompt.
156
156
  This is non-retryable; retrying the same wording fails again. Rewrite the prompt.
157
157
  - **Nothing plays / black surface** — the first `video.play()` must run inside a user
@@ -159,7 +159,7 @@ and re-link the clone to the same live game:
159
159
  ```bash
160
160
  git clone <the game's repo url> my-game && cd my-game
161
161
  npm install
162
- npx @genex-ai/cli-demo@dev link <slug> # slug = the name in the play URL
162
+ npx @genex-ai/cli-demo@latest link <slug> # slug = the name in the play URL
163
163
  ```
164
164
 
165
165
  Don't know the slug? **`npx genex list`** prints every game on your account —
@@ -186,7 +186,7 @@ Safe to run any time — genex-owned skills are refreshed to the latest version,
186
186
  and your own files are never touched:
187
187
 
188
188
  ```bash
189
- npx @genex-ai/cli-demo@dev init
189
+ npx @genex-ai/cli-demo@latest init
190
190
  ```
191
191
 
192
192
  Use `--force` only if you intentionally want your own existing files overwritten
@@ -129,13 +129,9 @@ everything twice.
129
129
  visible; the lock may only ever engage from the Play/Resume click or a
130
130
  gameplay canvas click (the phase binding `setPaused(phase !== "playing")` is
131
131
  what guarantees this — check it rides `setPhase`, not the render loop).
132
- Headless caveat, measured on Chromium 151: `requestPointerLock` does NOT
133
- throw it locks, with or without a user gesture, so the lock and the
134
- unlocked cue ARE yours to assert headless. What does not survive is the
135
- both-axes look check: synthesised mouse movement cancels to a net zero
136
- delta, so turning right then left proves nothing about direction. Assert the
137
- wiring and the cue in a screenshot, and say plainly that confirming which way
138
- the view turns needs one manual pass with a real mouse.
132
+ Headless caveat: `requestPointerLock` throws in headless Chromium —
133
+ assert the wiring and the unlocked cue in a screenshot, and say plainly that
134
+ the lock itself needs one manual click (do the both-axes look check there).
139
135
  7. **Ask the scene the three things the screenshot cannot answer** (below). Run it
140
136
  once, in the same browser you already have open.
141
137
 
@@ -38,7 +38,7 @@ update, so update immediately.)
38
38
  Run exactly the command the nudge printed, from the game project root:
39
39
 
40
40
  ```bash
41
- npm i -D @genex-ai/cli-demo@dev # the genex CLI (a dev dependency)
41
+ npm i -D @genex-ai/cli-demo@latest # the genex CLI (a dev dependency)
42
42
  npm i @genex-ai/embed-sdk@latest # identity/saves SDK (ships inside the game)
43
43
  npm i @genex-ai/multiplayer@latest # multiplayer SDK (only if the game uses it)
44
44
  ```