@genex-ai/cli-demo 1.36.7 → 1.36.8-dev.912

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
@@ -12,6 +12,7 @@ genex list # list your games — slug, status, page link (find t
12
12
  genex preview # build + push to the hosted draft URL (unlisted)
13
13
  genex publish # build + push, then list the game in the gallery
14
14
  genex cover [file] # show the game's cover, or make one real frame (PNG/JPEG/WebP) the cover
15
+ genex cover --clip <file> --commit <sha> # make a recording of real play (MP4/WebM) the cover clip
15
16
  genex make-remixable # make this game remixable — migrate a private source to a public repo
16
17
  genex model "<prompt>" # generate a 3D model → prints an asset URL
17
18
  genex sfx "<prompt>" # generate a sound fx → prints an asset URL
@@ -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" },