threenative-engine-mcp 0.2.4 → 0.2.6
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/index.js +2 -2
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -472,7 +472,7 @@ function handleToolCall(params, manifestFile) {
|
|
|
472
472
|
if (name === "engine_search_capabilities") {
|
|
473
473
|
if (typeof argumentsValue.situation !== "string")
|
|
474
474
|
throw new Error("engine_search_capabilities requires a string 'situation' argument.");
|
|
475
|
-
const scope = argumentsValue.scope
|
|
475
|
+
const scope = argumentsValue.scope === void 0 ? "mechanic" : argumentsValue.scope;
|
|
476
476
|
if (scope !== "request" && scope !== "mechanic")
|
|
477
477
|
throw new Error("engine_search_capabilities scope must be 'request' or 'mechanic'.");
|
|
478
478
|
const response = searchCapabilities(argumentsValue.situation, manifestFile, scope);
|
|
@@ -524,7 +524,7 @@ function handleLine(line, manifestFile) {
|
|
|
524
524
|
capabilities: { tools: { listChanged: false } },
|
|
525
525
|
instructions: AUTHORING_INSTRUCTIONS,
|
|
526
526
|
protocolVersion: "2025-06-18",
|
|
527
|
-
serverInfo: { name: "threenative-engine-mcp", version: "0.2.
|
|
527
|
+
serverInfo: { name: "threenative-engine-mcp", version: "0.2.6" }
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
530
|
if (request.method === "tools/list") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "threenative-engine-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Offline MCP capability discovery for ThreeNative authoring agents.",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"publint": "0.3.22",
|
|
48
48
|
"tsup": "8.5.1",
|
|
49
|
-
"typescript": "
|
|
49
|
+
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
50
|
+
"@typescript/native": "npm:typescript@7.0.2"
|
|
50
51
|
},
|
|
51
52
|
"scripts": {
|
|
52
53
|
"build": "tsup --config tsup.config.ts && publint",
|