@genex-ai/cli-demo 0.67.0-dev.170 → 0.68.0-dev.172

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
@@ -13476,13 +13476,25 @@ async function runCharacterFinalize(opts) {
13476
13476
  quote: price,
13477
13477
  completed: async (view) => {
13478
13478
  if (opts.json) {
13479
+ const files = view.files ?? [];
13480
+ if (files.length === 0) {
13481
+ writeJson({
13482
+ kind: "character",
13483
+ stage: "finalize",
13484
+ id: view.id,
13485
+ status: "failed",
13486
+ error: "Generation completed but produced no files."
13487
+ });
13488
+ process.exitCode = 1;
13489
+ return;
13490
+ }
13479
13491
  writeJson({
13480
13492
  kind: "character",
13481
13493
  stage: "finalize",
13482
13494
  id: view.id,
13483
13495
  characterId: view.id,
13484
13496
  status: view.status,
13485
- files: view.files ?? [],
13497
+ files,
13486
13498
  quote: price,
13487
13499
  nextCommand: `genex controller character --character ${view.id}`
13488
13500
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "0.67.0-dev.170",
3
+ "version": "0.68.0-dev.172",
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": {
@@ -36,10 +36,10 @@ calling multiplayer done, run the mandatory
36
36
  ## Install
37
37
 
38
38
  ```bash
39
- npm i @genex-ai/multiplayer@^0.11.0
39
+ npm i @genex-ai/multiplayer@^0.12.0
40
40
  ```
41
41
 
42
- > Pin `@^0.11.0` (not a bare `npm i`): cross-region invites can select the inviter's exact
42
+ > Pin `@^0.12.0` (not a bare `npm i`): cross-region invites can select the inviter's exact
43
43
  > relay with the optional `url` override; unowned object writes warn instead of failing silently;
44
44
  > live connected-player presence, supplier-form `connect()`
45
45
  > auth, regional relay selection (`getColyseusUrls()` + `urls`)
@@ -889,7 +889,7 @@ host-driven saving works as long as ANY account is in the room.
889
889
 
890
890
  ## Checklist
891
891
 
892
- - [ ] `npm i @genex-ai/multiplayer@^0.11.0` (connected presence, supplier auth, confirmed controls, snap epochs, reconnect-safe host ticks, unowned-write warnings, cross-region exact-relay overrides); config wired into the build.
892
+ - [ ] `npm i @genex-ai/multiplayer@^0.12.0` (connected presence, supplier auth, confirmed controls, snap epochs, reconnect-safe host ticks, unowned-write warnings, cross-region exact-relay overrides); config wired into the build.
893
893
  - [ ] The plan names one net model, the player-experience reason, start/quorum, late-join/backfill,
894
894
  and below-quorum/end behavior. The agent inferred it unless the experience was genuinely ambiguous.
895
895
  - [ ] `reconnecting`/`reconnected`/`disconnect` render an overlay (don't tear the scene down).