@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 +1 -0
- package/dist/{blender-mcp-QVEGHE5L.js → blender-mcp-WSURPZET.js} +2 -2
- package/dist/{blender-serve-66OHC4ML.js → blender-serve-EH2MOW3U.js} +1 -1
- package/dist/{chunk-4BBTPRJW.js → chunk-EABIVAGT.js} +2 -2
- package/dist/{chunk-QI7FIYBY.js → chunk-K4EHXOZK.js} +1 -1
- package/dist/index.js +637 -221
- package/package.json +1 -1
- package/templates/skills/genex-cover/SKILL.md +3 -0
- package/templates/skills/genex-game-director/SKILL.md +1 -1
- package/templates/skills/genex-getting-started/SKILL.md +2 -2
- package/templates/skills/genex-llm-in-games/SKILL.md +209 -72
- package/templates/skills/genex-llm-in-games/references/pricing.md +126 -85
- package/templates/skills/genex-monetization/SKILL.md +1 -9
- package/templates/skills/genex-tool-llm/SKILL.md +11 -9
- package/templates/skills/genex-updates/SKILL.md +1 -1
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-
|
|
11
|
+
} from "./chunk-EABIVAGT.js";
|
|
12
12
|
import {
|
|
13
13
|
getCliVersion
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K4EHXOZK.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/blender-mcp.ts
|
|
17
17
|
import fs from "fs/promises";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getGenexEnvPath,
|
|
11
11
|
normalizeApiOrigin,
|
|
12
12
|
originKey
|
|
13
|
-
} from "./chunk-
|
|
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 = "
|
|
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" },
|