spec-gen-cli 1.2.2 → 1.2.3
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/README.md +197 -11
- package/dist/api/generate.d.ts.map +1 -1
- package/dist/api/generate.js +5 -4
- package/dist/api/generate.js.map +1 -1
- package/dist/cli/commands/analyze.d.ts.map +1 -1
- package/dist/cli/commands/analyze.js +101 -41
- package/dist/cli/commands/analyze.js.map +1 -1
- package/dist/cli/commands/generate.d.ts.map +1 -1
- package/dist/cli/commands/generate.js +25 -21
- package/dist/cli/commands/generate.js.map +1 -1
- package/dist/cli/commands/mcp.d.ts +353 -10
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/commands/mcp.js +236 -45
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/view.d.ts.map +1 -1
- package/dist/cli/commands/view.js +33 -4
- package/dist/cli/commands/view.js.map +1 -1
- package/dist/constants.d.ts +10 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +10 -0
- package/dist/constants.js.map +1 -1
- package/dist/core/analyzer/ast-chunker.d.ts +24 -0
- package/dist/core/analyzer/ast-chunker.d.ts.map +1 -0
- package/dist/core/analyzer/ast-chunker.js +198 -0
- package/dist/core/analyzer/ast-chunker.js.map +1 -0
- package/dist/core/analyzer/call-graph.d.ts +51 -4
- package/dist/core/analyzer/call-graph.d.ts.map +1 -1
- package/dist/core/analyzer/call-graph.js +634 -44
- package/dist/core/analyzer/call-graph.js.map +1 -1
- package/dist/core/analyzer/code-shaper.d.ts.map +1 -1
- package/dist/core/analyzer/code-shaper.js +5 -0
- package/dist/core/analyzer/code-shaper.js.map +1 -1
- package/dist/core/analyzer/codebase-digest.d.ts +40 -0
- package/dist/core/analyzer/codebase-digest.d.ts.map +1 -0
- package/dist/core/analyzer/codebase-digest.js +194 -0
- package/dist/core/analyzer/codebase-digest.js.map +1 -0
- package/dist/core/analyzer/cpp-header-resolver.d.ts +30 -0
- package/dist/core/analyzer/cpp-header-resolver.d.ts.map +1 -0
- package/dist/core/analyzer/cpp-header-resolver.js +71 -0
- package/dist/core/analyzer/cpp-header-resolver.js.map +1 -0
- package/dist/core/analyzer/function-registry-trie.d.ts +21 -0
- package/dist/core/analyzer/function-registry-trie.d.ts.map +1 -0
- package/dist/core/analyzer/function-registry-trie.js +39 -0
- package/dist/core/analyzer/function-registry-trie.js.map +1 -0
- package/dist/core/analyzer/import-resolver-bridge.d.ts +25 -0
- package/dist/core/analyzer/import-resolver-bridge.d.ts.map +1 -0
- package/dist/core/analyzer/import-resolver-bridge.js +99 -0
- package/dist/core/analyzer/import-resolver-bridge.js.map +1 -0
- package/dist/core/analyzer/signature-extractor.d.ts.map +1 -1
- package/dist/core/analyzer/signature-extractor.js +72 -3
- package/dist/core/analyzer/signature-extractor.js.map +1 -1
- package/dist/core/analyzer/subgraph-extractor.d.ts +10 -2
- package/dist/core/analyzer/subgraph-extractor.d.ts.map +1 -1
- package/dist/core/analyzer/subgraph-extractor.js +25 -7
- package/dist/core/analyzer/subgraph-extractor.js.map +1 -1
- package/dist/core/analyzer/type-inference-engine.d.ts +23 -0
- package/dist/core/analyzer/type-inference-engine.d.ts.map +1 -0
- package/dist/core/analyzer/type-inference-engine.js +130 -0
- package/dist/core/analyzer/type-inference-engine.js.map +1 -0
- package/dist/core/analyzer/vector-index.d.ts +35 -6
- package/dist/core/analyzer/vector-index.d.ts.map +1 -1
- package/dist/core/analyzer/vector-index.js +308 -54
- package/dist/core/analyzer/vector-index.js.map +1 -1
- package/dist/core/generator/spec-pipeline.d.ts +31 -11
- package/dist/core/generator/spec-pipeline.d.ts.map +1 -1
- package/dist/core/generator/spec-pipeline.js +170 -39
- package/dist/core/generator/spec-pipeline.js.map +1 -1
- package/dist/core/generator/stages/stage2-entities.d.ts.map +1 -1
- package/dist/core/generator/stages/stage2-entities.js +2 -1
- package/dist/core/generator/stages/stage2-entities.js.map +1 -1
- package/dist/core/generator/stages/stage3-services.d.ts.map +1 -1
- package/dist/core/generator/stages/stage3-services.js +2 -1
- package/dist/core/generator/stages/stage3-services.js.map +1 -1
- package/dist/core/generator/stages/stage4-api.d.ts.map +1 -1
- package/dist/core/generator/stages/stage4-api.js +2 -1
- package/dist/core/generator/stages/stage4-api.js.map +1 -1
- package/dist/core/generator/stages/stage5-architecture.d.ts +2 -1
- package/dist/core/generator/stages/stage5-architecture.d.ts.map +1 -1
- package/dist/core/generator/stages/stage5-architecture.js +15 -3
- package/dist/core/generator/stages/stage5-architecture.js.map +1 -1
- package/dist/core/services/chat-agent.d.ts +5 -0
- package/dist/core/services/chat-agent.d.ts.map +1 -1
- package/dist/core/services/chat-agent.js +14 -0
- package/dist/core/services/chat-agent.js.map +1 -1
- package/dist/core/services/chat-tools.d.ts.map +1 -1
- package/dist/core/services/chat-tools.js +172 -50
- package/dist/core/services/chat-tools.js.map +1 -1
- package/dist/core/services/mcp-handlers/analysis.d.ts +12 -0
- package/dist/core/services/mcp-handlers/analysis.d.ts.map +1 -1
- package/dist/core/services/mcp-handlers/analysis.js +138 -2
- package/dist/core/services/mcp-handlers/analysis.js.map +1 -1
- package/dist/core/services/mcp-handlers/graph.d.ts +21 -1
- package/dist/core/services/mcp-handlers/graph.d.ts.map +1 -1
- package/dist/core/services/mcp-handlers/graph.js +142 -2
- package/dist/core/services/mcp-handlers/graph.js.map +1 -1
- package/dist/core/services/mcp-handlers/orient.d.ts +17 -0
- package/dist/core/services/mcp-handlers/orient.d.ts.map +1 -0
- package/dist/core/services/mcp-handlers/orient.js +200 -0
- package/dist/core/services/mcp-handlers/orient.js.map +1 -0
- package/dist/core/services/mcp-handlers/semantic.d.ts +18 -4
- package/dist/core/services/mcp-handlers/semantic.d.ts.map +1 -1
- package/dist/core/services/mcp-handlers/semantic.js +161 -17
- package/dist/core/services/mcp-handlers/semantic.js.map +1 -1
- package/dist/core/services/mcp-handlers/utils.d.ts +43 -0
- package/dist/core/services/mcp-handlers/utils.d.ts.map +1 -1
- package/dist/core/services/mcp-handlers/utils.js +66 -1
- package/dist/core/services/mcp-handlers/utils.js.map +1 -1
- package/dist/core/services/mcp-watcher.d.ts +41 -0
- package/dist/core/services/mcp-watcher.d.ts.map +1 -0
- package/dist/core/services/mcp-watcher.js +177 -0
- package/dist/core/services/mcp-watcher.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/pipeline.d.ts +7 -0
- package/dist/types/pipeline.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/viewer/InteractiveGraphViewer.jsx +33 -8
- package/src/viewer/components/ChatPanel.jsx +8 -5
- package/src/viewer/components/ClassGraph.jsx +699 -0
- package/src/viewer/utils/graph-helpers.js +1 -1
- package/src/viewer/utils/themes.js +36 -0
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { Command } from 'commander';
|
|
20
20
|
import { sanitizeMcpError, validateDirectory } from '../../core/services/mcp-handlers/utils.js';
|
|
21
|
-
import { handleGetCallGraph, handleGetSubgraph, handleAnalyzeImpact, handleGetLowRiskRefactorCandidates, handleGetLeafFunctions, handleGetCriticalHubs, handleGetGodFunctions } from '../../core/services/mcp-handlers/graph.js';
|
|
21
|
+
import { handleGetCallGraph, handleGetSubgraph, handleAnalyzeImpact, handleGetLowRiskRefactorCandidates, handleGetLeafFunctions, handleGetCriticalHubs, handleGetGodFunctions, handleGetFileDependencies, handleTraceExecutionPath } from '../../core/services/mcp-handlers/graph.js';
|
|
22
22
|
import { handleSearchCode, handleSuggestInsertionPoints, handleSearchSpecs } from '../../core/services/mcp-handlers/semantic.js';
|
|
23
23
|
import { handleAnalyzeCodebase, handleGetArchitectureOverview, handleGetRefactorReport, handleGetDuplicateReport, handleGetSignatures, handleGetMapping, handleCheckSpecDrift, handleGetFunctionSkeleton } from '../../core/services/mcp-handlers/analysis.js';
|
|
24
24
|
export { sanitizeMcpError, validateDirectory };
|
|
25
|
-
export { handleGetCallGraph, handleGetSubgraph, handleAnalyzeImpact, handleGetLowRiskRefactorCandidates, handleGetLeafFunctions, handleGetCriticalHubs, handleGetGodFunctions, handleSearchCode, handleSuggestInsertionPoints, handleSearchSpecs, handleAnalyzeCodebase, handleGetArchitectureOverview, handleGetRefactorReport, handleGetDuplicateReport, handleGetSignatures, handleGetMapping, handleCheckSpecDrift, handleGetFunctionSkeleton, };
|
|
25
|
+
export { handleGetCallGraph, handleGetSubgraph, handleAnalyzeImpact, handleGetLowRiskRefactorCandidates, handleGetLeafFunctions, handleGetCriticalHubs, handleGetGodFunctions, handleGetFileDependencies, handleTraceExecutionPath, handleSearchCode, handleSuggestInsertionPoints, handleSearchSpecs, handleAnalyzeCodebase, handleGetArchitectureOverview, handleGetRefactorReport, handleGetDuplicateReport, handleGetSignatures, handleGetMapping, handleCheckSpecDrift, handleGetFunctionSkeleton, };
|
|
26
26
|
export declare const TOOL_DEFINITIONS: ({
|
|
27
27
|
name: string;
|
|
28
28
|
description: string;
|
|
@@ -33,15 +33,23 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
33
33
|
type: string;
|
|
34
34
|
description: string;
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
task: {
|
|
37
|
+
type: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
limit: {
|
|
37
41
|
type: string;
|
|
38
42
|
description: string;
|
|
39
43
|
};
|
|
44
|
+
force?: undefined;
|
|
40
45
|
filePattern?: undefined;
|
|
41
46
|
functionName?: undefined;
|
|
42
47
|
direction?: undefined;
|
|
43
48
|
maxDepth?: undefined;
|
|
44
49
|
format?: undefined;
|
|
50
|
+
entryFunction?: undefined;
|
|
51
|
+
targetFunction?: undefined;
|
|
52
|
+
maxPaths?: undefined;
|
|
45
53
|
domain?: undefined;
|
|
46
54
|
orphansOnly?: undefined;
|
|
47
55
|
base?: undefined;
|
|
@@ -51,7 +59,50 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
51
59
|
maxFiles?: undefined;
|
|
52
60
|
symbol?: undefined;
|
|
53
61
|
depth?: undefined;
|
|
62
|
+
sortBy?: undefined;
|
|
63
|
+
minFanIn?: undefined;
|
|
64
|
+
filePath?: undefined;
|
|
65
|
+
fanOutThreshold?: undefined;
|
|
66
|
+
description?: undefined;
|
|
67
|
+
language?: undefined;
|
|
68
|
+
query?: undefined;
|
|
69
|
+
section?: undefined;
|
|
70
|
+
};
|
|
71
|
+
required: string[];
|
|
72
|
+
};
|
|
73
|
+
} | {
|
|
74
|
+
name: string;
|
|
75
|
+
description: string;
|
|
76
|
+
inputSchema: {
|
|
77
|
+
type: string;
|
|
78
|
+
properties: {
|
|
79
|
+
directory: {
|
|
80
|
+
type: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
force: {
|
|
84
|
+
type: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
task?: undefined;
|
|
54
88
|
limit?: undefined;
|
|
89
|
+
filePattern?: undefined;
|
|
90
|
+
functionName?: undefined;
|
|
91
|
+
direction?: undefined;
|
|
92
|
+
maxDepth?: undefined;
|
|
93
|
+
format?: undefined;
|
|
94
|
+
entryFunction?: undefined;
|
|
95
|
+
targetFunction?: undefined;
|
|
96
|
+
maxPaths?: undefined;
|
|
97
|
+
domain?: undefined;
|
|
98
|
+
orphansOnly?: undefined;
|
|
99
|
+
base?: undefined;
|
|
100
|
+
files?: undefined;
|
|
101
|
+
domains?: undefined;
|
|
102
|
+
failOn?: undefined;
|
|
103
|
+
maxFiles?: undefined;
|
|
104
|
+
symbol?: undefined;
|
|
105
|
+
depth?: undefined;
|
|
55
106
|
sortBy?: undefined;
|
|
56
107
|
minFanIn?: undefined;
|
|
57
108
|
filePath?: undefined;
|
|
@@ -73,12 +124,17 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
73
124
|
type: string;
|
|
74
125
|
description: string;
|
|
75
126
|
};
|
|
127
|
+
task?: undefined;
|
|
128
|
+
limit?: undefined;
|
|
76
129
|
force?: undefined;
|
|
77
130
|
filePattern?: undefined;
|
|
78
131
|
functionName?: undefined;
|
|
79
132
|
direction?: undefined;
|
|
80
133
|
maxDepth?: undefined;
|
|
81
134
|
format?: undefined;
|
|
135
|
+
entryFunction?: undefined;
|
|
136
|
+
targetFunction?: undefined;
|
|
137
|
+
maxPaths?: undefined;
|
|
82
138
|
domain?: undefined;
|
|
83
139
|
orphansOnly?: undefined;
|
|
84
140
|
base?: undefined;
|
|
@@ -88,7 +144,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
88
144
|
maxFiles?: undefined;
|
|
89
145
|
symbol?: undefined;
|
|
90
146
|
depth?: undefined;
|
|
91
|
-
limit?: undefined;
|
|
92
147
|
sortBy?: undefined;
|
|
93
148
|
minFanIn?: undefined;
|
|
94
149
|
filePath?: undefined;
|
|
@@ -114,11 +169,16 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
114
169
|
type: string;
|
|
115
170
|
description: string;
|
|
116
171
|
};
|
|
172
|
+
task?: undefined;
|
|
173
|
+
limit?: undefined;
|
|
117
174
|
force?: undefined;
|
|
118
175
|
functionName?: undefined;
|
|
119
176
|
direction?: undefined;
|
|
120
177
|
maxDepth?: undefined;
|
|
121
178
|
format?: undefined;
|
|
179
|
+
entryFunction?: undefined;
|
|
180
|
+
targetFunction?: undefined;
|
|
181
|
+
maxPaths?: undefined;
|
|
122
182
|
domain?: undefined;
|
|
123
183
|
orphansOnly?: undefined;
|
|
124
184
|
base?: undefined;
|
|
@@ -128,7 +188,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
128
188
|
maxFiles?: undefined;
|
|
129
189
|
symbol?: undefined;
|
|
130
190
|
depth?: undefined;
|
|
131
|
-
limit?: undefined;
|
|
132
191
|
sortBy?: undefined;
|
|
133
192
|
minFanIn?: undefined;
|
|
134
193
|
filePath?: undefined;
|
|
@@ -168,8 +227,13 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
168
227
|
enum: string[];
|
|
169
228
|
description: string;
|
|
170
229
|
};
|
|
230
|
+
task?: undefined;
|
|
231
|
+
limit?: undefined;
|
|
171
232
|
force?: undefined;
|
|
172
233
|
filePattern?: undefined;
|
|
234
|
+
entryFunction?: undefined;
|
|
235
|
+
targetFunction?: undefined;
|
|
236
|
+
maxPaths?: undefined;
|
|
173
237
|
domain?: undefined;
|
|
174
238
|
orphansOnly?: undefined;
|
|
175
239
|
base?: undefined;
|
|
@@ -179,7 +243,59 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
179
243
|
maxFiles?: undefined;
|
|
180
244
|
symbol?: undefined;
|
|
181
245
|
depth?: undefined;
|
|
246
|
+
sortBy?: undefined;
|
|
247
|
+
minFanIn?: undefined;
|
|
248
|
+
filePath?: undefined;
|
|
249
|
+
fanOutThreshold?: undefined;
|
|
250
|
+
description?: undefined;
|
|
251
|
+
language?: undefined;
|
|
252
|
+
query?: undefined;
|
|
253
|
+
section?: undefined;
|
|
254
|
+
};
|
|
255
|
+
required: string[];
|
|
256
|
+
};
|
|
257
|
+
} | {
|
|
258
|
+
name: string;
|
|
259
|
+
description: string;
|
|
260
|
+
inputSchema: {
|
|
261
|
+
type: string;
|
|
262
|
+
properties: {
|
|
263
|
+
directory: {
|
|
264
|
+
type: string;
|
|
265
|
+
description: string;
|
|
266
|
+
};
|
|
267
|
+
entryFunction: {
|
|
268
|
+
type: string;
|
|
269
|
+
description: string;
|
|
270
|
+
};
|
|
271
|
+
targetFunction: {
|
|
272
|
+
type: string;
|
|
273
|
+
description: string;
|
|
274
|
+
};
|
|
275
|
+
maxDepth: {
|
|
276
|
+
type: string;
|
|
277
|
+
description: string;
|
|
278
|
+
};
|
|
279
|
+
maxPaths: {
|
|
280
|
+
type: string;
|
|
281
|
+
description: string;
|
|
282
|
+
};
|
|
283
|
+
task?: undefined;
|
|
182
284
|
limit?: undefined;
|
|
285
|
+
force?: undefined;
|
|
286
|
+
filePattern?: undefined;
|
|
287
|
+
functionName?: undefined;
|
|
288
|
+
direction?: undefined;
|
|
289
|
+
format?: undefined;
|
|
290
|
+
domain?: undefined;
|
|
291
|
+
orphansOnly?: undefined;
|
|
292
|
+
base?: undefined;
|
|
293
|
+
files?: undefined;
|
|
294
|
+
domains?: undefined;
|
|
295
|
+
failOn?: undefined;
|
|
296
|
+
maxFiles?: undefined;
|
|
297
|
+
symbol?: undefined;
|
|
298
|
+
depth?: undefined;
|
|
183
299
|
sortBy?: undefined;
|
|
184
300
|
minFanIn?: undefined;
|
|
185
301
|
filePath?: undefined;
|
|
@@ -209,12 +325,17 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
209
325
|
type: string;
|
|
210
326
|
description: string;
|
|
211
327
|
};
|
|
328
|
+
task?: undefined;
|
|
329
|
+
limit?: undefined;
|
|
212
330
|
force?: undefined;
|
|
213
331
|
filePattern?: undefined;
|
|
214
332
|
functionName?: undefined;
|
|
215
333
|
direction?: undefined;
|
|
216
334
|
maxDepth?: undefined;
|
|
217
335
|
format?: undefined;
|
|
336
|
+
entryFunction?: undefined;
|
|
337
|
+
targetFunction?: undefined;
|
|
338
|
+
maxPaths?: undefined;
|
|
218
339
|
base?: undefined;
|
|
219
340
|
files?: undefined;
|
|
220
341
|
domains?: undefined;
|
|
@@ -222,7 +343,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
222
343
|
maxFiles?: undefined;
|
|
223
344
|
symbol?: undefined;
|
|
224
345
|
depth?: undefined;
|
|
225
|
-
limit?: undefined;
|
|
226
346
|
sortBy?: undefined;
|
|
227
347
|
minFanIn?: undefined;
|
|
228
348
|
filePath?: undefined;
|
|
@@ -271,17 +391,21 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
271
391
|
type: string;
|
|
272
392
|
description: string;
|
|
273
393
|
};
|
|
394
|
+
task?: undefined;
|
|
395
|
+
limit?: undefined;
|
|
274
396
|
force?: undefined;
|
|
275
397
|
filePattern?: undefined;
|
|
276
398
|
functionName?: undefined;
|
|
277
399
|
direction?: undefined;
|
|
278
400
|
maxDepth?: undefined;
|
|
279
401
|
format?: undefined;
|
|
402
|
+
entryFunction?: undefined;
|
|
403
|
+
targetFunction?: undefined;
|
|
404
|
+
maxPaths?: undefined;
|
|
280
405
|
domain?: undefined;
|
|
281
406
|
orphansOnly?: undefined;
|
|
282
407
|
symbol?: undefined;
|
|
283
408
|
depth?: undefined;
|
|
284
|
-
limit?: undefined;
|
|
285
409
|
sortBy?: undefined;
|
|
286
410
|
minFanIn?: undefined;
|
|
287
411
|
filePath?: undefined;
|
|
@@ -311,12 +435,17 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
311
435
|
type: string;
|
|
312
436
|
description: string;
|
|
313
437
|
};
|
|
438
|
+
task?: undefined;
|
|
439
|
+
limit?: undefined;
|
|
314
440
|
force?: undefined;
|
|
315
441
|
filePattern?: undefined;
|
|
316
442
|
functionName?: undefined;
|
|
317
443
|
direction?: undefined;
|
|
318
444
|
maxDepth?: undefined;
|
|
319
445
|
format?: undefined;
|
|
446
|
+
entryFunction?: undefined;
|
|
447
|
+
targetFunction?: undefined;
|
|
448
|
+
maxPaths?: undefined;
|
|
320
449
|
domain?: undefined;
|
|
321
450
|
orphansOnly?: undefined;
|
|
322
451
|
base?: undefined;
|
|
@@ -324,7 +453,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
324
453
|
domains?: undefined;
|
|
325
454
|
failOn?: undefined;
|
|
326
455
|
maxFiles?: undefined;
|
|
327
|
-
limit?: undefined;
|
|
328
456
|
sortBy?: undefined;
|
|
329
457
|
minFanIn?: undefined;
|
|
330
458
|
filePath?: undefined;
|
|
@@ -354,11 +482,15 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
354
482
|
type: string;
|
|
355
483
|
description: string;
|
|
356
484
|
};
|
|
485
|
+
task?: undefined;
|
|
357
486
|
force?: undefined;
|
|
358
487
|
functionName?: undefined;
|
|
359
488
|
direction?: undefined;
|
|
360
489
|
maxDepth?: undefined;
|
|
361
490
|
format?: undefined;
|
|
491
|
+
entryFunction?: undefined;
|
|
492
|
+
targetFunction?: undefined;
|
|
493
|
+
maxPaths?: undefined;
|
|
362
494
|
domain?: undefined;
|
|
363
495
|
orphansOnly?: undefined;
|
|
364
496
|
base?: undefined;
|
|
@@ -402,11 +534,15 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
402
534
|
enum: string[];
|
|
403
535
|
description: string;
|
|
404
536
|
};
|
|
537
|
+
task?: undefined;
|
|
405
538
|
force?: undefined;
|
|
406
539
|
functionName?: undefined;
|
|
407
540
|
direction?: undefined;
|
|
408
541
|
maxDepth?: undefined;
|
|
409
542
|
format?: undefined;
|
|
543
|
+
entryFunction?: undefined;
|
|
544
|
+
targetFunction?: undefined;
|
|
545
|
+
maxPaths?: undefined;
|
|
410
546
|
domain?: undefined;
|
|
411
547
|
orphansOnly?: undefined;
|
|
412
548
|
base?: undefined;
|
|
@@ -444,12 +580,16 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
444
580
|
type: string;
|
|
445
581
|
description: string;
|
|
446
582
|
};
|
|
583
|
+
task?: undefined;
|
|
447
584
|
force?: undefined;
|
|
448
585
|
filePattern?: undefined;
|
|
449
586
|
functionName?: undefined;
|
|
450
587
|
direction?: undefined;
|
|
451
588
|
maxDepth?: undefined;
|
|
452
589
|
format?: undefined;
|
|
590
|
+
entryFunction?: undefined;
|
|
591
|
+
targetFunction?: undefined;
|
|
592
|
+
maxPaths?: undefined;
|
|
453
593
|
domain?: undefined;
|
|
454
594
|
orphansOnly?: undefined;
|
|
455
595
|
base?: undefined;
|
|
@@ -483,12 +623,17 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
483
623
|
type: string;
|
|
484
624
|
description: string;
|
|
485
625
|
};
|
|
626
|
+
task?: undefined;
|
|
627
|
+
limit?: undefined;
|
|
486
628
|
force?: undefined;
|
|
487
629
|
filePattern?: undefined;
|
|
488
630
|
functionName?: undefined;
|
|
489
631
|
direction?: undefined;
|
|
490
632
|
maxDepth?: undefined;
|
|
491
633
|
format?: undefined;
|
|
634
|
+
entryFunction?: undefined;
|
|
635
|
+
targetFunction?: undefined;
|
|
636
|
+
maxPaths?: undefined;
|
|
492
637
|
domain?: undefined;
|
|
493
638
|
orphansOnly?: undefined;
|
|
494
639
|
base?: undefined;
|
|
@@ -498,7 +643,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
498
643
|
maxFiles?: undefined;
|
|
499
644
|
symbol?: undefined;
|
|
500
645
|
depth?: undefined;
|
|
501
|
-
limit?: undefined;
|
|
502
646
|
sortBy?: undefined;
|
|
503
647
|
minFanIn?: undefined;
|
|
504
648
|
fanOutThreshold?: undefined;
|
|
@@ -527,12 +671,17 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
527
671
|
type: string;
|
|
528
672
|
description: string;
|
|
529
673
|
};
|
|
674
|
+
task?: undefined;
|
|
675
|
+
limit?: undefined;
|
|
530
676
|
force?: undefined;
|
|
531
677
|
filePattern?: undefined;
|
|
532
678
|
functionName?: undefined;
|
|
533
679
|
direction?: undefined;
|
|
534
680
|
maxDepth?: undefined;
|
|
535
681
|
format?: undefined;
|
|
682
|
+
entryFunction?: undefined;
|
|
683
|
+
targetFunction?: undefined;
|
|
684
|
+
maxPaths?: undefined;
|
|
536
685
|
domain?: undefined;
|
|
537
686
|
orphansOnly?: undefined;
|
|
538
687
|
base?: undefined;
|
|
@@ -542,7 +691,6 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
542
691
|
maxFiles?: undefined;
|
|
543
692
|
symbol?: undefined;
|
|
544
693
|
depth?: undefined;
|
|
545
|
-
limit?: undefined;
|
|
546
694
|
sortBy?: undefined;
|
|
547
695
|
minFanIn?: undefined;
|
|
548
696
|
description?: undefined;
|
|
@@ -574,12 +722,16 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
574
722
|
type: string;
|
|
575
723
|
description: string;
|
|
576
724
|
};
|
|
725
|
+
task?: undefined;
|
|
577
726
|
force?: undefined;
|
|
578
727
|
filePattern?: undefined;
|
|
579
728
|
functionName?: undefined;
|
|
580
729
|
direction?: undefined;
|
|
581
730
|
maxDepth?: undefined;
|
|
582
731
|
format?: undefined;
|
|
732
|
+
entryFunction?: undefined;
|
|
733
|
+
targetFunction?: undefined;
|
|
734
|
+
maxPaths?: undefined;
|
|
583
735
|
domain?: undefined;
|
|
584
736
|
orphansOnly?: undefined;
|
|
585
737
|
base?: undefined;
|
|
@@ -624,12 +776,16 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
624
776
|
type: string;
|
|
625
777
|
description: string;
|
|
626
778
|
};
|
|
779
|
+
task?: undefined;
|
|
627
780
|
force?: undefined;
|
|
628
781
|
filePattern?: undefined;
|
|
629
782
|
functionName?: undefined;
|
|
630
783
|
direction?: undefined;
|
|
631
784
|
maxDepth?: undefined;
|
|
632
785
|
format?: undefined;
|
|
786
|
+
entryFunction?: undefined;
|
|
787
|
+
targetFunction?: undefined;
|
|
788
|
+
maxPaths?: undefined;
|
|
633
789
|
domain?: undefined;
|
|
634
790
|
orphansOnly?: undefined;
|
|
635
791
|
base?: undefined;
|
|
@@ -673,12 +829,16 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
673
829
|
type: string;
|
|
674
830
|
description: string;
|
|
675
831
|
};
|
|
832
|
+
task?: undefined;
|
|
676
833
|
force?: undefined;
|
|
677
834
|
filePattern?: undefined;
|
|
678
835
|
functionName?: undefined;
|
|
679
836
|
direction?: undefined;
|
|
680
837
|
maxDepth?: undefined;
|
|
681
838
|
format?: undefined;
|
|
839
|
+
entryFunction?: undefined;
|
|
840
|
+
targetFunction?: undefined;
|
|
841
|
+
maxPaths?: undefined;
|
|
682
842
|
orphansOnly?: undefined;
|
|
683
843
|
base?: undefined;
|
|
684
844
|
files?: undefined;
|
|
@@ -696,6 +856,189 @@ export declare const TOOL_DEFINITIONS: ({
|
|
|
696
856
|
};
|
|
697
857
|
required: string[];
|
|
698
858
|
};
|
|
859
|
+
} | {
|
|
860
|
+
name: string;
|
|
861
|
+
description: string;
|
|
862
|
+
inputSchema: {
|
|
863
|
+
type: string;
|
|
864
|
+
properties: {
|
|
865
|
+
directory: {
|
|
866
|
+
type: string;
|
|
867
|
+
description: string;
|
|
868
|
+
};
|
|
869
|
+
domain: {
|
|
870
|
+
type: string;
|
|
871
|
+
description: string;
|
|
872
|
+
};
|
|
873
|
+
task?: undefined;
|
|
874
|
+
limit?: undefined;
|
|
875
|
+
force?: undefined;
|
|
876
|
+
filePattern?: undefined;
|
|
877
|
+
functionName?: undefined;
|
|
878
|
+
direction?: undefined;
|
|
879
|
+
maxDepth?: undefined;
|
|
880
|
+
format?: undefined;
|
|
881
|
+
entryFunction?: undefined;
|
|
882
|
+
targetFunction?: undefined;
|
|
883
|
+
maxPaths?: undefined;
|
|
884
|
+
orphansOnly?: undefined;
|
|
885
|
+
base?: undefined;
|
|
886
|
+
files?: undefined;
|
|
887
|
+
domains?: undefined;
|
|
888
|
+
failOn?: undefined;
|
|
889
|
+
maxFiles?: undefined;
|
|
890
|
+
symbol?: undefined;
|
|
891
|
+
depth?: undefined;
|
|
892
|
+
sortBy?: undefined;
|
|
893
|
+
minFanIn?: undefined;
|
|
894
|
+
filePath?: undefined;
|
|
895
|
+
fanOutThreshold?: undefined;
|
|
896
|
+
description?: undefined;
|
|
897
|
+
language?: undefined;
|
|
898
|
+
query?: undefined;
|
|
899
|
+
section?: undefined;
|
|
900
|
+
};
|
|
901
|
+
required: string[];
|
|
902
|
+
};
|
|
903
|
+
} | {
|
|
904
|
+
name: string;
|
|
905
|
+
description: string;
|
|
906
|
+
inputSchema: {
|
|
907
|
+
type: string;
|
|
908
|
+
properties: {
|
|
909
|
+
directory: {
|
|
910
|
+
type: string;
|
|
911
|
+
description: string;
|
|
912
|
+
};
|
|
913
|
+
filePath: {
|
|
914
|
+
type: string;
|
|
915
|
+
description: string;
|
|
916
|
+
};
|
|
917
|
+
functionName: {
|
|
918
|
+
type: string;
|
|
919
|
+
description: string;
|
|
920
|
+
};
|
|
921
|
+
task?: undefined;
|
|
922
|
+
limit?: undefined;
|
|
923
|
+
force?: undefined;
|
|
924
|
+
filePattern?: undefined;
|
|
925
|
+
direction?: undefined;
|
|
926
|
+
maxDepth?: undefined;
|
|
927
|
+
format?: undefined;
|
|
928
|
+
entryFunction?: undefined;
|
|
929
|
+
targetFunction?: undefined;
|
|
930
|
+
maxPaths?: undefined;
|
|
931
|
+
domain?: undefined;
|
|
932
|
+
orphansOnly?: undefined;
|
|
933
|
+
base?: undefined;
|
|
934
|
+
files?: undefined;
|
|
935
|
+
domains?: undefined;
|
|
936
|
+
failOn?: undefined;
|
|
937
|
+
maxFiles?: undefined;
|
|
938
|
+
symbol?: undefined;
|
|
939
|
+
depth?: undefined;
|
|
940
|
+
sortBy?: undefined;
|
|
941
|
+
minFanIn?: undefined;
|
|
942
|
+
fanOutThreshold?: undefined;
|
|
943
|
+
description?: undefined;
|
|
944
|
+
language?: undefined;
|
|
945
|
+
query?: undefined;
|
|
946
|
+
section?: undefined;
|
|
947
|
+
};
|
|
948
|
+
required: string[];
|
|
949
|
+
};
|
|
950
|
+
} | {
|
|
951
|
+
name: string;
|
|
952
|
+
description: string;
|
|
953
|
+
inputSchema: {
|
|
954
|
+
type: string;
|
|
955
|
+
properties: {
|
|
956
|
+
directory: {
|
|
957
|
+
type: string;
|
|
958
|
+
description: string;
|
|
959
|
+
};
|
|
960
|
+
filePath: {
|
|
961
|
+
type: string;
|
|
962
|
+
description: string;
|
|
963
|
+
};
|
|
964
|
+
direction: {
|
|
965
|
+
type: string;
|
|
966
|
+
enum: string[];
|
|
967
|
+
description: string;
|
|
968
|
+
};
|
|
969
|
+
task?: undefined;
|
|
970
|
+
limit?: undefined;
|
|
971
|
+
force?: undefined;
|
|
972
|
+
filePattern?: undefined;
|
|
973
|
+
functionName?: undefined;
|
|
974
|
+
maxDepth?: undefined;
|
|
975
|
+
format?: undefined;
|
|
976
|
+
entryFunction?: undefined;
|
|
977
|
+
targetFunction?: undefined;
|
|
978
|
+
maxPaths?: undefined;
|
|
979
|
+
domain?: undefined;
|
|
980
|
+
orphansOnly?: undefined;
|
|
981
|
+
base?: undefined;
|
|
982
|
+
files?: undefined;
|
|
983
|
+
domains?: undefined;
|
|
984
|
+
failOn?: undefined;
|
|
985
|
+
maxFiles?: undefined;
|
|
986
|
+
symbol?: undefined;
|
|
987
|
+
depth?: undefined;
|
|
988
|
+
sortBy?: undefined;
|
|
989
|
+
minFanIn?: undefined;
|
|
990
|
+
fanOutThreshold?: undefined;
|
|
991
|
+
description?: undefined;
|
|
992
|
+
language?: undefined;
|
|
993
|
+
query?: undefined;
|
|
994
|
+
section?: undefined;
|
|
995
|
+
};
|
|
996
|
+
required: string[];
|
|
997
|
+
};
|
|
998
|
+
} | {
|
|
999
|
+
name: string;
|
|
1000
|
+
description: string;
|
|
1001
|
+
inputSchema: {
|
|
1002
|
+
type: string;
|
|
1003
|
+
properties: {
|
|
1004
|
+
directory: {
|
|
1005
|
+
type: string;
|
|
1006
|
+
description: string;
|
|
1007
|
+
};
|
|
1008
|
+
query: {
|
|
1009
|
+
type: string;
|
|
1010
|
+
description: string;
|
|
1011
|
+
};
|
|
1012
|
+
task?: undefined;
|
|
1013
|
+
limit?: undefined;
|
|
1014
|
+
force?: undefined;
|
|
1015
|
+
filePattern?: undefined;
|
|
1016
|
+
functionName?: undefined;
|
|
1017
|
+
direction?: undefined;
|
|
1018
|
+
maxDepth?: undefined;
|
|
1019
|
+
format?: undefined;
|
|
1020
|
+
entryFunction?: undefined;
|
|
1021
|
+
targetFunction?: undefined;
|
|
1022
|
+
maxPaths?: undefined;
|
|
1023
|
+
domain?: undefined;
|
|
1024
|
+
orphansOnly?: undefined;
|
|
1025
|
+
base?: undefined;
|
|
1026
|
+
files?: undefined;
|
|
1027
|
+
domains?: undefined;
|
|
1028
|
+
failOn?: undefined;
|
|
1029
|
+
maxFiles?: undefined;
|
|
1030
|
+
symbol?: undefined;
|
|
1031
|
+
depth?: undefined;
|
|
1032
|
+
sortBy?: undefined;
|
|
1033
|
+
minFanIn?: undefined;
|
|
1034
|
+
filePath?: undefined;
|
|
1035
|
+
fanOutThreshold?: undefined;
|
|
1036
|
+
description?: undefined;
|
|
1037
|
+
language?: undefined;
|
|
1038
|
+
section?: undefined;
|
|
1039
|
+
};
|
|
1040
|
+
required: string[];
|
|
1041
|
+
};
|
|
699
1042
|
})[];
|
|
700
1043
|
export declare const mcpCommand: Command;
|
|
701
1044
|
//# sourceMappingURL=mcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEhG,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kCAAkC,EAClC,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEhG,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kCAAkC,EAClC,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,4BAA4B,EAC5B,iBAAiB,EAGlB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EAG1B,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;AAG/C,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,kCAAkC,EAClC,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,GAC1B,CAAC;AAMF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAooB5B,CAAC;AAmLF,eAAO,MAAM,UAAU,SAK0C,CAAC"}
|