@genex-ai/cli-demo 1.34.7-dev.719 → 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-XLEK6SLM.js → blender-mcp-HKT7N5BQ.js} +2 -2
- package/dist/{blender-serve-GW3LTFOX.js → blender-serve-EH2MOW3U.js} +1 -1
- package/dist/{chunk-MRV3Q3WU.js → chunk-FYHYZYBC.js} +1 -1
- package/dist/{chunk-AQW7HUPV.js → chunk-K4EHXOZK.js} +11 -3
- package/dist/index.js +7 -5
- package/package.json +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";
|
|
@@ -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": {
|