nodebench-mcp 2.20.1 → 2.21.0
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/__tests__/tools.test.js +4 -2
- package/dist/__tests__/tools.test.js.map +1 -1
- package/dist/db.js +109 -0
- package/dist/db.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/tools/mcpBridgeTools.js +302 -27
- package/dist/tools/mcpBridgeTools.js.map +1 -1
- package/dist/tools/progressiveDiscoveryTools.js +2 -2
- package/dist/tools/progressiveDiscoveryTools.js.map +1 -1
- package/dist/tools/toolRegistry.js +89 -0
- package/dist/tools/toolRegistry.js.map +1 -1
- package/dist/tools/uiUxDiveAdvancedTools.d.ts +20 -0
- package/dist/tools/uiUxDiveAdvancedTools.js +614 -0
- package/dist/tools/uiUxDiveAdvancedTools.js.map +1 -0
- package/dist/toolsetRegistry.js +2 -0
- package/dist/toolsetRegistry.js.map +1 -1
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ import { rssTools } from "../tools/rssTools.js";
|
|
|
45
45
|
import { architectTools } from "../tools/architectTools.js";
|
|
46
46
|
import { uiUxDiveTools } from "../tools/uiUxDiveTools.js";
|
|
47
47
|
import { mcpBridgeTools } from "../tools/mcpBridgeTools.js";
|
|
48
|
+
import { uiUxDiveAdvancedTools } from "../tools/uiUxDiveAdvancedTools.js";
|
|
48
49
|
import { getQuickRef, hybridSearch, TOOL_REGISTRY, SEARCH_MODES, ALL_REGISTRY_ENTRIES, WORKFLOW_CHAINS, tokenize, buildDenseIndex, getToolComplexity } from "../tools/toolRegistry.js";
|
|
49
50
|
// Assemble all tools like index.ts does
|
|
50
51
|
const domainTools = [
|
|
@@ -84,6 +85,7 @@ const domainTools = [
|
|
|
84
85
|
...architectTools,
|
|
85
86
|
...uiUxDiveTools,
|
|
86
87
|
...mcpBridgeTools,
|
|
88
|
+
...uiUxDiveAdvancedTools,
|
|
87
89
|
];
|
|
88
90
|
const metaTools = createMetaTools(domainTools);
|
|
89
91
|
const allToolsWithoutDiscovery = [...domainTools, ...metaTools];
|
|
@@ -95,7 +97,7 @@ const allTools = [...allToolsWithoutDiscovery, ...discoveryTools];
|
|
|
95
97
|
describe("Static: tool structure", () => {
|
|
96
98
|
it("should have 175 tools total", () => {
|
|
97
99
|
// 169 domain tools + 3 meta tools (findTools, getMethodology, check_mcp_setup) + 3 progressive discovery tools
|
|
98
|
-
expect(allTools.length).toBe(
|
|
100
|
+
expect(allTools.length).toBe(197);
|
|
99
101
|
});
|
|
100
102
|
it("every tool has name, description, inputSchema, handler", () => {
|
|
101
103
|
for (const tool of allTools) {
|
|
@@ -1823,7 +1825,7 @@ describe("Integration: full benchmark lifecycle", () => {
|
|
|
1823
1825
|
// ═══════════════════════════════════════════════════════════════════════
|
|
1824
1826
|
const toolDescs = allTools.map((t) => ({ name: t.name, description: t.description }));
|
|
1825
1827
|
describe("Search engine: registry coverage", () => {
|
|
1826
|
-
it("should have a registry entry for every tool (
|
|
1828
|
+
it("should have a registry entry for every tool (197/197)", () => {
|
|
1827
1829
|
const missing = allTools.filter((t) => !TOOL_REGISTRY.has(t.name));
|
|
1828
1830
|
expect(missing.map((t) => t.name)).toEqual([]);
|
|
1829
1831
|
expect(TOOL_REGISTRY.size).toBe(allTools.length);
|