@genex-ai/cli-demo 1.36.12 → 1.36.13-dev.1020

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
@@ -92,7 +92,9 @@ the original folder can't be found.
92
92
  `dist/` to R2 through a short-lived scoped upload token and flips a live pointer;
93
93
  the editable source is pushed to the repo's single `main` branch (for Remix). Game
94
94
  bytes never pass through our API. Pass `--no-build` to deploy whatever is already
95
- built.
95
+ built. Pass `--source <dir>` (also on `make-remixable`) when the game's own files live
96
+ in another folder than the one you deploy from: that folder is pushed as the source,
97
+ while the project, the build and `dist/` are still read from here.
96
98
 
97
99
  - **`genex preview`** uploads the current build to the project's hosted draft URL
98
100
  (`https://<slug>.genex.technology/`) without listing it publicly — re-run it
@@ -8,10 +8,10 @@ import {
8
8
  sceneSummary,
9
9
  sheetOf,
10
10
  writeSafely
11
- } from "./chunk-4BBTPRJW.js";
11
+ } from "./chunk-EABIVAGT.js";
12
12
  import {
13
13
  getCliVersion
14
- } from "./chunk-QI7FIYBY.js";
14
+ } from "./chunk-K4EHXOZK.js";
15
15
 
16
16
  // src/commands/blender-mcp.ts
17
17
  import fs from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  c,
3
3
  getTemplatesDir
4
- } from "./chunk-QI7FIYBY.js";
4
+ } from "./chunk-K4EHXOZK.js";
5
5
 
6
6
  // src/lib/blender-serve.ts
7
7
  import { spawn } from "child_process";
@@ -10,7 +10,7 @@ import {
10
10
  getGenexEnvPath,
11
11
  normalizeApiOrigin,
12
12
  originKey
13
- } from "./chunk-QI7FIYBY.js";
13
+ } from "./chunk-K4EHXOZK.js";
14
14
 
15
15
  // src/lib/printed.ts
16
16
  var printed = /* @__PURE__ */ new WeakSet();
@@ -542,7 +542,7 @@ function shortDate(iso) {
542
542
  return d.toLocaleDateString("en-US", { month: "short", day: "numeric" });
543
543
  }
544
544
  function formatInsufficientCredits(body) {
545
- const message = body.message ?? `this generation costs ${body.price ?? "?"} credits; your balance is ${body.balance ?? 0}.`;
545
+ const message = body.message ?? (body.price === void 0 && typeof body.requiredCredits === "number" ? `this call reserves up to ${body.requiredCredits} credits; ${body.spendableCredits ?? 0} are spendable.` : `this generation costs ${body.price ?? "?"} credits; your balance is ${body.balance ?? 0}.`);
546
546
  const lines = [`${c.red("\u2717")} Out of credits \u2014 ${lowerFirst(message)}`];
547
547
  if (body.refillAt && body.refillTo) {
548
548
  lines.push(` Credits refill to ${body.refillTo} on ${shortDate(body.refillAt)}.`);
@@ -38,7 +38,7 @@ import fs from "fs";
38
38
  import os from "os";
39
39
  import path from "path";
40
40
  import { fileURLToPath } from "url";
41
- var RAW_CHANNEL = "latest";
41
+ var RAW_CHANNEL = "dev";
42
42
  var CLI_CHANNEL = RAW_CHANNEL === "dev" ? "dev" : "latest";
43
43
  var STANDS = {
44
44
  prod: { api: "https://api.genex.games", dashboard: "https://genex.games" },