@forgeax/game 0.3.6 → 0.3.7
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/main.js +71 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2945,6 +2945,74 @@ function gameFileTools() {
|
|
|
2945
2945
|
}
|
|
2946
2946
|
];
|
|
2947
2947
|
}
|
|
2948
|
+
// package.json
|
|
2949
|
+
var package_default = {
|
|
2950
|
+
packageManager: "bun@1.4.0",
|
|
2951
|
+
name: "@forgeax/game",
|
|
2952
|
+
version: "0.3.7",
|
|
2953
|
+
private: false,
|
|
2954
|
+
type: "module",
|
|
2955
|
+
description: "@forgeax/game — an MCP/CLI connector for exact released ForgeaX Engine games and Engine-owned Preview.",
|
|
2956
|
+
main: "./dist/main.js",
|
|
2957
|
+
bin: {
|
|
2958
|
+
"forgeax-game": "dist/main.js",
|
|
2959
|
+
game: "dist/main.js"
|
|
2960
|
+
},
|
|
2961
|
+
engines: {
|
|
2962
|
+
node: ">=22.13.0"
|
|
2963
|
+
},
|
|
2964
|
+
publishConfig: {
|
|
2965
|
+
access: "public",
|
|
2966
|
+
registry: "https://registry.npmjs.org/"
|
|
2967
|
+
},
|
|
2968
|
+
files: [
|
|
2969
|
+
"dist",
|
|
2970
|
+
"assets",
|
|
2971
|
+
"docs/asset3d.md",
|
|
2972
|
+
"docs/release-0.3.0.md",
|
|
2973
|
+
"docs/release-0.3.1.md",
|
|
2974
|
+
"docs/release-0.3.2.md",
|
|
2975
|
+
"docs/release-0.3.3.md",
|
|
2976
|
+
"docs/release-0.3.4.md",
|
|
2977
|
+
"docs/release-0.3.5.md",
|
|
2978
|
+
"README.md"
|
|
2979
|
+
],
|
|
2980
|
+
scripts: {
|
|
2981
|
+
build: "bun build.mjs",
|
|
2982
|
+
"release:check": "bun scripts/check-package-artifact.ts",
|
|
2983
|
+
acceptance: "bun scripts/accept-packed-consumer.ts",
|
|
2984
|
+
"acceptance:asset3d": "bun scripts/accept-asset3d-packed-consumer.ts",
|
|
2985
|
+
"verify:asset3d-linux": "bun scripts/verify-linux-asset3d-provider.ts",
|
|
2986
|
+
"release:publish": "bun scripts/publish-package.ts",
|
|
2987
|
+
prepack: "bun build.mjs",
|
|
2988
|
+
typecheck: "tsc --noEmit",
|
|
2989
|
+
test: "bun test test/*.test.ts",
|
|
2990
|
+
start: "bun src/main.ts",
|
|
2991
|
+
"mcp:inspect": "npx @modelcontextprotocol/inspector node dist/main.js"
|
|
2992
|
+
},
|
|
2993
|
+
keywords: [
|
|
2994
|
+
"forgeax",
|
|
2995
|
+
"mcp",
|
|
2996
|
+
"model-context-protocol",
|
|
2997
|
+
"game-development",
|
|
2998
|
+
"codex",
|
|
2999
|
+
"claude-code"
|
|
3000
|
+
],
|
|
3001
|
+
license: "MIT",
|
|
3002
|
+
dependencies: {
|
|
3003
|
+
"@forgeax/engine-sdk": "0.1.26",
|
|
3004
|
+
pnpm: "11.7.0"
|
|
3005
|
+
},
|
|
3006
|
+
devDependencies: {
|
|
3007
|
+
"@types/bun": "^1.2.0",
|
|
3008
|
+
typescript: "^5.9.2"
|
|
3009
|
+
},
|
|
3010
|
+
directories: {
|
|
3011
|
+
doc: "docs",
|
|
3012
|
+
test: "test"
|
|
3013
|
+
},
|
|
3014
|
+
author: ""
|
|
3015
|
+
};
|
|
2948
3016
|
|
|
2949
3017
|
// src/install/release-manifest.ts
|
|
2950
3018
|
var RELEASE_IDENTITY_SCHEMA = "forgeax.game.release-identity/1";
|
|
@@ -2953,7 +3021,7 @@ var RELEASE_IDENTITY_MIME = "application/vnd.forgeax.game-release-identity+json"
|
|
|
2953
3021
|
var RELEASE_IDENTITY = Object.freeze({
|
|
2954
3022
|
schema: RELEASE_IDENTITY_SCHEMA,
|
|
2955
3023
|
gamePackage: "@forgeax/game",
|
|
2956
|
-
gameVersion:
|
|
3024
|
+
gameVersion: package_default.version,
|
|
2957
3025
|
gameBin: "forgeax-game",
|
|
2958
3026
|
engineSdkPackage: ENGINE_SDK_PACKAGE,
|
|
2959
3027
|
engineSdkVersion: ENGINE_VERSION,
|
|
@@ -3363,7 +3431,7 @@ function launchSpec(mode) {
|
|
|
3363
3431
|
}
|
|
3364
3432
|
return {
|
|
3365
3433
|
command: "npx",
|
|
3366
|
-
args: ["-y", "-p",
|
|
3434
|
+
args: ["-y", "-p", `@forgeax/game@${RELEASE_IDENTITY.gameVersion}`, "forgeax-game", "mcp"]
|
|
3367
3435
|
};
|
|
3368
3436
|
}
|
|
3369
3437
|
function asset3dLaunchSpec(mode) {
|
|
@@ -5996,7 +6064,7 @@ async function runDormantAsset3dMcp() {
|
|
|
5996
6064
|
result: {
|
|
5997
6065
|
protocolVersion,
|
|
5998
6066
|
capabilities: { tools: {} },
|
|
5999
|
-
serverInfo: { name: "asset3d-search", version:
|
|
6067
|
+
serverInfo: { name: "asset3d-search", version: RELEASE_IDENTITY.gameVersion }
|
|
6000
6068
|
}
|
|
6001
6069
|
};
|
|
6002
6070
|
} else if (request2.method === "tools/list") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageManager": "bun@1.4.0",
|
|
3
3
|
"name": "@forgeax/game",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.7",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "@forgeax/game — an MCP/CLI connector for exact released ForgeaX Engine games and Engine-owned Preview.",
|