@genex-ai/cli-demo 1.36.0-dev.772 → 1.36.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.
@@ -7,10 +7,10 @@ import {
7
7
  isRenderMode,
8
8
  sceneSummary,
9
9
  sheetOf
10
- } from "./chunk-Y6WO5FJZ.js";
10
+ } from "./chunk-GOP5FRSJ.js";
11
11
  import {
12
12
  getCliVersion
13
- } from "./chunk-K4EHXOZK.js";
13
+ } from "./chunk-QI7FIYBY.js";
14
14
 
15
15
  // src/commands/blender-mcp.ts
16
16
  import fs from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  c,
3
3
  getTemplatesDir
4
- } from "./chunk-K4EHXOZK.js";
4
+ } from "./chunk-QI7FIYBY.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-K4EHXOZK.js";
13
+ } from "./chunk-QI7FIYBY.js";
14
14
 
15
15
  // src/lib/terms.ts
16
16
  import readline from "readline";
@@ -360,7 +360,7 @@ function shortDate(iso) {
360
360
  return d.toLocaleDateString("en-US", { month: "short", day: "numeric" });
361
361
  }
362
362
  function formatInsufficientCredits(body) {
363
- 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}.`);
363
+ const message = body.message ?? `this generation costs ${body.price ?? "?"} credits; your balance is ${body.balance ?? 0}.`;
364
364
  const lines = [`${c.red("\u2717")} Out of credits \u2014 ${lowerFirst(message)}`];
365
365
  if (body.refillAt && body.refillTo) {
366
366
  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 = "dev";
41
+ var RAW_CHANNEL = "latest";
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" },