@genex-ai/cli-demo 1.35.1-dev.748 → 1.35.3-dev.750
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/dist/{blender-mcp-HKT7N5BQ.js → blender-mcp-ATHMMRDU.js} +1 -1
- package/dist/{chunk-FYHYZYBC.js → chunk-2SCXGPZY.js} +1 -1
- package/dist/index.js +444 -213
- package/package.json +1 -1
- package/templates/skills/genex-game-director/SKILL.md +1 -1
- package/templates/skills/genex-llm-in-games/SKILL.md +163 -65
- package/templates/skills/genex-llm-in-games/references/pricing.md +126 -85
- package/templates/skills/genex-tool-llm/SKILL.md +11 -9
|
@@ -357,7 +357,7 @@ function shortDate(iso) {
|
|
|
357
357
|
return d.toLocaleDateString("en-US", { month: "short", day: "numeric" });
|
|
358
358
|
}
|
|
359
359
|
function formatInsufficientCredits(body) {
|
|
360
|
-
const message = body.message ?? `this generation costs ${body.price ?? "?"} credits; your balance is ${body.balance ?? 0}
|
|
360
|
+
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}.`);
|
|
361
361
|
const lines = [`${c.red("\u2717")} Out of credits \u2014 ${lowerFirst(message)}`];
|
|
362
362
|
if (body.refillAt && body.refillTo) {
|
|
363
363
|
lines.push(` Credits refill to ${body.refillTo} on ${shortDate(body.refillAt)}.`);
|