3D engine that AI agents drive
Count 23 tools in the package smoke and keep it in the tool-count test (issue #553)
Nguyen Xuan An22daba13bfa2
diff --git a/scripts/smoke-mcp-package.mjs b/scripts/smoke-mcp-package.mjsindex 692d65d5..7f1db034 100644--- a/scripts/smoke-mcp-package.mjs+++ b/scripts/smoke-mcp-package.mjs@@ -117,7 +117,7 @@ for (const era of ['modern', 'legacy']) {const connectMs = performance.now() - start;processId = transport.pid;assert.equal(client.getServerVersion().version, metadata.version);- assert.equal((await client.listTools()).tools.length, 22);+ assert.equal((await client.listTools()).tools.length, 23);const capabilities = (await call('scene_capabilities')).structuredContent;assert.equal(capabilities.phase, 'idle');assert.equal(capabilities.preview.maximumActiveScenes, 1);diff --git a/tests/mcp-tool-count.test.js b/tests/mcp-tool-count.test.jsindex 4fbfc6e7..34f8e4ef 100644--- a/tests/mcp-tool-count.test.js+++ b/tests/mcp-tool-count.test.js@@ -38,6 +38,7 @@ test('documented MCP tool counts match the protocol listing', async () => {'docs/mcp.md': /Lists all (\d+) tools/,'index.html': /(\d+) MCP tools/,'scripts/smoke-mcp.mjs': /listing\.tools\.length, (\d+)\)/,+ 'scripts/smoke-mcp-package.mjs': /listTools\(\)\)\.tools\.length, (\d+)\)/,};for (const [file, pattern] of Object.entries(statements)) {assert.equal(await countStatedIn(file, pattern), listed, `${file} states a different tool count than tools/list`);