@genex-ai/cli-demo 1.34.7 → 1.34.8-dev.721
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-IPP442XH.js → blender-mcp-HKT7N5BQ.js} +2 -2
- package/dist/{blender-serve-JGKITVP6.js → blender-serve-EH2MOW3U.js} +1 -1
- package/dist/{chunk-X5JRCQMK.js → chunk-FYHYZYBC.js} +1 -1
- package/dist/{chunk-44SHBPOT.js → chunk-K4EHXOZK.js} +12 -4
- package/dist/index.js +7 -5
- package/package.json +1 -1
- package/templates/skills/genex-getting-started/SKILL.md +2 -2
- package/templates/skills/genex-updates/SKILL.md +1 -1
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
isRenderMode,
|
|
8
8
|
sceneSummary,
|
|
9
9
|
sheetOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FYHYZYBC.js";
|
|
11
11
|
import {
|
|
12
12
|
getCliVersion
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K4EHXOZK.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/blender-mcp.ts
|
|
16
16
|
import fs from "fs/promises";
|
|
@@ -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" },
|
|
@@ -93,7 +93,9 @@ function getCliVersion() {
|
|
|
93
93
|
var KNOWN_AGENTS = {
|
|
94
94
|
claude: { label: "Claude Code", dirName: ".claude", full: true },
|
|
95
95
|
codex: { label: "Codex", dirName: ".codex", full: false },
|
|
96
|
-
cursor: { label: "Cursor", dirName: ".cursor", full: false }
|
|
96
|
+
cursor: { label: "Cursor", dirName: ".cursor", full: false },
|
|
97
|
+
hermes: { label: "Hermes", dirName: ".hermes", full: false },
|
|
98
|
+
openclaw: { label: "OpenClaw", dirName: ".agents", full: false, homeDirName: ".openclaw" }
|
|
97
99
|
};
|
|
98
100
|
var KNOWN_AGENT_IDS = Object.keys(KNOWN_AGENTS);
|
|
99
101
|
function resolveAgentTargets(opts = {}) {
|
|
@@ -104,11 +106,17 @@ function resolveAgentTargets(opts = {}) {
|
|
|
104
106
|
const projectRoot = process.cwd();
|
|
105
107
|
let ids;
|
|
106
108
|
if (opts.agents && opts.agents.length > 0) {
|
|
109
|
+
const unknown = opts.agents.filter((id) => !KNOWN_AGENTS[id]);
|
|
110
|
+
if (unknown.length > 0) {
|
|
111
|
+
throw new Error(
|
|
112
|
+
`Unknown agent${unknown.length > 1 ? "s" : ""}: ${unknown.join(", ")}. Known agents: ${KNOWN_AGENT_IDS.join(", ")}.`
|
|
113
|
+
);
|
|
114
|
+
}
|
|
107
115
|
ids = opts.agents.filter((id) => KNOWN_AGENTS[id]);
|
|
108
116
|
} else {
|
|
109
117
|
ids = KNOWN_AGENT_IDS.filter((id) => {
|
|
110
|
-
const
|
|
111
|
-
return isDir(path.join(home, dirName)) || isDir(path.join(projectRoot, dirName));
|
|
118
|
+
const def = KNOWN_AGENTS[id];
|
|
119
|
+
return isDir(path.join(home, def.homeDirName ?? def.dirName)) || isDir(path.join(projectRoot, def.dirName));
|
|
112
120
|
});
|
|
113
121
|
if (ids.length === 0) ids = ["claude"];
|
|
114
122
|
}
|
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
writeSecretFile,
|
|
43
43
|
writeUserToken,
|
|
44
44
|
writeWorkspace
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FYHYZYBC.js";
|
|
46
46
|
import {
|
|
47
47
|
CLI_CHANNEL,
|
|
48
48
|
DEFAULT_API_URL,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
normalizeApiOrigin,
|
|
64
64
|
originKey,
|
|
65
65
|
resolveAgentTargets
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-K4EHXOZK.js";
|
|
67
67
|
|
|
68
68
|
// src/instrument.ts
|
|
69
69
|
import * as Sentry from "@sentry/node";
|
|
@@ -22758,7 +22758,7 @@ async function runBlender(opts) {
|
|
|
22758
22758
|
return 1;
|
|
22759
22759
|
}
|
|
22760
22760
|
if (sub === "serve") {
|
|
22761
|
-
const { serveLocalBlender } = await import("./blender-serve-
|
|
22761
|
+
const { serveLocalBlender } = await import("./blender-serve-EH2MOW3U.js");
|
|
22762
22762
|
const port = Number(process.env.GENEX_BLENDER_PORT ?? 8088);
|
|
22763
22763
|
log.step(`Starting a local Blender service on port ${port}`);
|
|
22764
22764
|
log.plain(
|
|
@@ -22767,7 +22767,7 @@ async function runBlender(opts) {
|
|
|
22767
22767
|
return serveLocalBlender({ port, log });
|
|
22768
22768
|
}
|
|
22769
22769
|
if (sub === "mcp") {
|
|
22770
|
-
const { runBlenderMcp } = await import("./blender-mcp-
|
|
22770
|
+
const { runBlenderMcp } = await import("./blender-mcp-HKT7N5BQ.js");
|
|
22771
22771
|
return runBlenderMcp();
|
|
22772
22772
|
}
|
|
22773
22773
|
if (sub === "seat") {
|
|
@@ -24165,7 +24165,9 @@ ${c.bold("Options for `init`")}
|
|
|
24165
24165
|
preview/publish push there with your git credentials.
|
|
24166
24166
|
--private Create the game private \u2014 only you can remix it (managed repos only).
|
|
24167
24167
|
--remixed-from <slug> Record the game this one was remixed from (lineage).
|
|
24168
|
-
--agents <list> Agents to install skills for (claude,codex,cursor
|
|
24168
|
+
--agents <list> Agents to install skills for (claude,codex,cursor,hermes,
|
|
24169
|
+
openclaw; default: auto-detect). An unknown name is an
|
|
24170
|
+
error, not a silent no-op.
|
|
24169
24171
|
--dir <path> Single destination workspace (overrides --agents).
|
|
24170
24172
|
--env <path> Token env file (default: ~/.genex/env).
|
|
24171
24173
|
--auth-url <url> Override the auth site (default: ${DEFAULT_AUTH_URL}).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/cli-demo",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.8-dev.721",
|
|
4
4
|
"description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -161,7 +161,7 @@ downloads the game too, binary assets and all:
|
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
163
|
mkdir my-game && cd my-game
|
|
164
|
-
npx @genex-ai/cli-demo@
|
|
164
|
+
npx @genex-ai/cli-demo@dev link <slug> # slug = the name in the play URL
|
|
165
165
|
npm install
|
|
166
166
|
```
|
|
167
167
|
|
|
@@ -225,7 +225,7 @@ Safe to run any time — genex-owned skills are refreshed to the latest version,
|
|
|
225
225
|
and your own files are never touched:
|
|
226
226
|
|
|
227
227
|
```bash
|
|
228
|
-
npx @genex-ai/cli-demo@
|
|
228
|
+
npx @genex-ai/cli-demo@dev init
|
|
229
229
|
```
|
|
230
230
|
|
|
231
231
|
Use `--force` only if you intentionally want your own existing files overwritten
|
|
@@ -38,7 +38,7 @@ update, so update immediately.)
|
|
|
38
38
|
Run exactly the command the nudge printed, from the game project root:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npm i -D @genex-ai/cli-demo@
|
|
41
|
+
npm i -D @genex-ai/cli-demo@dev # the genex CLI (a dev dependency)
|
|
42
42
|
npm i @genex-ai/embed-sdk@latest # identity/saves SDK (ships inside the game)
|
|
43
43
|
npm i @genex-ai/multiplayer@latest # multiplayer SDK (only if the game uses it)
|
|
44
44
|
```
|