@genex-ai/cli-demo 1.36.3-dev.782 → 1.36.3

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.
@@ -8,10 +8,10 @@ import {
8
8
  sceneSummary,
9
9
  sheetOf,
10
10
  writeSafely
11
- } from "./chunk-EABIVAGT.js";
11
+ } from "./chunk-4BBTPRJW.js";
12
12
  import {
13
13
  getCliVersion
14
- } from "./chunk-K4EHXOZK.js";
14
+ } from "./chunk-QI7FIYBY.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-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/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 ?? (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}.`);
545
+ const message = body.message ?? `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 = "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" },