@supermodeltools/mcp-server 0.8.0 → 0.8.1
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.
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.findCallSitesTool = void 0;
|
|
8
8
|
exports.findCallSites = findCallSites;
|
|
9
9
|
const zod_1 = require("zod");
|
|
10
|
+
const zod_to_json_schema_1 = require("zod-to-json-schema");
|
|
10
11
|
const cache_1 = require("../cache");
|
|
11
12
|
const FindCallSitesArgsSchema = zod_1.z.object({
|
|
12
13
|
path: zod_1.z.string().describe('Repository path'),
|
|
@@ -135,6 +136,6 @@ function getCacheKey(path) {
|
|
|
135
136
|
exports.findCallSitesTool = {
|
|
136
137
|
name: 'find_call_sites',
|
|
137
138
|
description: 'Find all places where a specific function is called, with line numbers and context',
|
|
138
|
-
inputSchema: FindCallSitesArgsSchema,
|
|
139
|
+
inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(FindCallSitesArgsSchema),
|
|
139
140
|
handler: findCallSites,
|
|
140
141
|
};
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.findDefinitionTool = void 0;
|
|
8
8
|
exports.findDefinition = findDefinition;
|
|
9
9
|
const zod_1 = require("zod");
|
|
10
|
+
const zod_to_json_schema_1 = require("zod-to-json-schema");
|
|
10
11
|
const cache_1 = require("../cache");
|
|
11
12
|
const FindDefinitionArgsSchema = zod_1.z.object({
|
|
12
13
|
path: zod_1.z.string().describe('Repository path'),
|
|
@@ -155,6 +156,6 @@ function getCacheKey(path) {
|
|
|
155
156
|
exports.findDefinitionTool = {
|
|
156
157
|
name: 'find_definition',
|
|
157
158
|
description: 'Find where a symbol (function, class, variable, type) is defined in the codebase',
|
|
158
|
-
inputSchema: FindDefinitionArgsSchema,
|
|
159
|
+
inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(FindDefinitionArgsSchema),
|
|
159
160
|
handler: findDefinition,
|
|
160
161
|
};
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.traceCallChainTool = void 0;
|
|
8
8
|
exports.traceCallChain = traceCallChain;
|
|
9
9
|
const zod_1 = require("zod");
|
|
10
|
+
const zod_to_json_schema_1 = require("zod-to-json-schema");
|
|
10
11
|
const cache_1 = require("../cache");
|
|
11
12
|
const TraceCallChainArgsSchema = zod_1.z.object({
|
|
12
13
|
path: zod_1.z.string().describe('Repository path'),
|
|
@@ -173,6 +174,6 @@ function getCacheKey(path) {
|
|
|
173
174
|
exports.traceCallChainTool = {
|
|
174
175
|
name: 'trace_call_chain',
|
|
175
176
|
description: 'Trace the call chain from one function to another, showing the shortest path of function calls',
|
|
176
|
-
inputSchema: TraceCallChainArgsSchema,
|
|
177
|
+
inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(TraceCallChainArgsSchema),
|
|
177
178
|
handler: traceCallChain,
|
|
178
179
|
};
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.traceDataFlowTool = void 0;
|
|
8
8
|
exports.traceDataFlow = traceDataFlow;
|
|
9
9
|
const zod_1 = require("zod");
|
|
10
|
+
const zod_to_json_schema_1 = require("zod-to-json-schema");
|
|
10
11
|
const cache_1 = require("../cache");
|
|
11
12
|
const TraceDataFlowArgsSchema = zod_1.z.object({
|
|
12
13
|
path: zod_1.z.string().describe('Repository path'),
|
|
@@ -227,6 +228,6 @@ function getCacheKey(path) {
|
|
|
227
228
|
exports.traceDataFlowTool = {
|
|
228
229
|
name: 'trace_data_flow',
|
|
229
230
|
description: 'Trace how data flows through a variable or parameter, showing usage, transformations, and passing between functions',
|
|
230
|
-
inputSchema: TraceDataFlowArgsSchema,
|
|
231
|
+
inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(TraceDataFlowArgsSchema),
|
|
231
232
|
handler: traceDataFlow,
|
|
232
233
|
};
|