mcp-code-context 3.6.3 → 3.7.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +140 -278
  2. package/INSTRUCTIONS.md +23 -9
  3. package/README.md +217 -97
  4. package/SECURITY.md +55 -21
  5. package/dist/src/core/cacheManager.d.ts +4 -5
  6. package/dist/src/core/cacheManager.js +49 -33
  7. package/dist/src/core/cacheManager.js.map +1 -1
  8. package/dist/src/core/engine.d.ts +1 -1
  9. package/dist/src/core/engine.js +3 -3
  10. package/dist/src/core/engine.js.map +1 -1
  11. package/dist/src/core/indexManager.d.ts +58 -0
  12. package/dist/src/core/indexManager.js +252 -0
  13. package/dist/src/core/indexManager.js.map +1 -0
  14. package/dist/src/core/indexManagerQueries.d.ts +14 -0
  15. package/dist/src/core/indexManagerQueries.js +95 -0
  16. package/dist/src/core/indexManagerQueries.js.map +1 -0
  17. package/dist/src/core/sessionManager.d.ts +117 -0
  18. package/dist/src/core/sessionManager.js +231 -0
  19. package/dist/src/core/sessionManager.js.map +1 -0
  20. package/dist/src/core/validator.d.ts +1 -1
  21. package/dist/src/core/validator.js +18 -10
  22. package/dist/src/core/validator.js.map +1 -1
  23. package/dist/src/index.d.ts +1 -13
  24. package/dist/src/index.js +25 -999
  25. package/dist/src/index.js.map +1 -1
  26. package/dist/src/operations/astTransform.d.ts +38 -0
  27. package/dist/src/operations/astTransform.js +239 -0
  28. package/dist/src/operations/astTransform.js.map +1 -0
  29. package/dist/src/operations/compress.d.ts +5 -3
  30. package/dist/src/operations/compress.js +73 -7
  31. package/dist/src/operations/compress.js.map +1 -1
  32. package/dist/src/operations/confirmationStore.d.ts +35 -8
  33. package/dist/src/operations/confirmationStore.js +112 -14
  34. package/dist/src/operations/confirmationStore.js.map +1 -1
  35. package/dist/src/operations/impactAnalysis.d.ts +9 -0
  36. package/dist/src/operations/impactAnalysis.js +61 -0
  37. package/dist/src/operations/impactAnalysis.js.map +1 -0
  38. package/dist/src/operations/pendingStore.d.ts +51 -0
  39. package/dist/src/operations/pendingStore.js +201 -0
  40. package/dist/src/operations/pendingStore.js.map +1 -0
  41. package/dist/src/operations/pendingStoreInit.d.ts +6 -0
  42. package/dist/src/operations/pendingStoreInit.js +42 -0
  43. package/dist/src/operations/pendingStoreInit.js.map +1 -0
  44. package/dist/src/operations/read.d.ts +6 -92
  45. package/dist/src/operations/read.js +4 -449
  46. package/dist/src/operations/read.js.map +1 -1
  47. package/dist/src/operations/readCore.d.ts +33 -0
  48. package/dist/src/operations/readCore.js +142 -0
  49. package/dist/src/operations/readCore.js.map +1 -0
  50. package/dist/src/operations/rename.d.ts +13 -0
  51. package/dist/src/operations/rename.js +130 -0
  52. package/dist/src/operations/rename.js.map +1 -0
  53. package/dist/src/operations/searchOperation.d.ts +16 -0
  54. package/dist/src/operations/searchOperation.js +113 -0
  55. package/dist/src/operations/searchOperation.js.map +1 -0
  56. package/dist/src/operations/symbolQuery.d.ts +38 -0
  57. package/dist/src/operations/symbolQuery.js +194 -0
  58. package/dist/src/operations/symbolQuery.js.map +1 -0
  59. package/dist/src/operations/write.d.ts +11 -14
  60. package/dist/src/operations/write.js +6 -125
  61. package/dist/src/operations/write.js.map +1 -1
  62. package/dist/src/parsers/base.d.ts +1 -1
  63. package/dist/src/parsers/base.js +1 -1
  64. package/dist/src/parsers/csharp.d.ts +12 -0
  65. package/dist/src/parsers/csharp.js +67 -0
  66. package/dist/src/parsers/csharp.js.map +1 -0
  67. package/dist/src/parsers/dartTreeSitter.d.ts +1 -1
  68. package/dist/src/parsers/dartTreeSitter.js +1 -1
  69. package/dist/src/parsers/go.d.ts +11 -0
  70. package/dist/src/parsers/go.js +74 -0
  71. package/dist/src/parsers/go.js.map +1 -0
  72. package/dist/src/parsers/java.d.ts +12 -0
  73. package/dist/src/parsers/java.js +62 -0
  74. package/dist/src/parsers/java.js.map +1 -0
  75. package/dist/src/parsers/kotlin.d.ts +12 -0
  76. package/dist/src/parsers/kotlin.js +75 -0
  77. package/dist/src/parsers/kotlin.js.map +1 -0
  78. package/dist/src/parsers/php.d.ts +1 -1
  79. package/dist/src/parsers/php.js +1 -1
  80. package/dist/src/parsers/python.d.ts +1 -1
  81. package/dist/src/parsers/python.js +1 -1
  82. package/dist/src/parsers/registry.d.ts +1 -1
  83. package/dist/src/parsers/registry.js +63 -2
  84. package/dist/src/parsers/registry.js.map +1 -1
  85. package/dist/src/parsers/ruby.d.ts +12 -0
  86. package/dist/src/parsers/ruby.js +73 -0
  87. package/dist/src/parsers/ruby.js.map +1 -0
  88. package/dist/src/parsers/rust.d.ts +12 -0
  89. package/dist/src/parsers/rust.js +66 -0
  90. package/dist/src/parsers/rust.js.map +1 -0
  91. package/dist/src/parsers/typescript.d.ts +1 -1
  92. package/dist/src/parsers/typescript.js +28 -38
  93. package/dist/src/parsers/typescript.js.map +1 -1
  94. package/dist/src/tools/adminHandlers.d.ts +67 -0
  95. package/dist/src/tools/adminHandlers.js +129 -0
  96. package/dist/src/tools/adminHandlers.js.map +1 -0
  97. package/dist/src/tools/context.d.ts +9 -0
  98. package/dist/src/tools/context.js +21 -0
  99. package/dist/src/tools/context.js.map +1 -0
  100. package/dist/src/tools/handlers.d.ts +4 -0
  101. package/dist/src/tools/handlers.js +5 -0
  102. package/dist/src/tools/handlers.js.map +1 -0
  103. package/dist/src/tools/pipeline.d.ts +6 -0
  104. package/dist/src/tools/pipeline.js +100 -0
  105. package/dist/src/tools/pipeline.js.map +1 -0
  106. package/dist/src/tools/readHandlers.d.ts +55 -0
  107. package/dist/src/tools/readHandlers.js +220 -0
  108. package/dist/src/tools/readHandlers.js.map +1 -0
  109. package/dist/src/tools/toolDefinitions.d.ts +1037 -0
  110. package/dist/src/tools/toolDefinitions.js +13 -0
  111. package/dist/src/tools/toolDefinitions.js.map +1 -0
  112. package/dist/src/tools/toolDefinitionsAdmin.d.ts +89 -0
  113. package/dist/src/tools/toolDefinitionsAdmin.js +99 -0
  114. package/dist/src/tools/toolDefinitionsAdmin.js.map +1 -0
  115. package/dist/src/tools/toolDefinitionsCore.d.ts +949 -0
  116. package/dist/src/tools/toolDefinitionsCore.js +267 -0
  117. package/dist/src/tools/toolDefinitionsCore.js.map +1 -0
  118. package/dist/src/tools/writeHandlers.d.ts +37 -0
  119. package/dist/src/tools/writeHandlers.js +199 -0
  120. package/dist/src/tools/writeHandlers.js.map +1 -0
  121. package/dist/src/utils/appDir.d.ts +19 -0
  122. package/dist/src/utils/appDir.js +50 -0
  123. package/dist/src/utils/appDir.js.map +1 -0
  124. package/dist/src/utils/auditLogWriter.d.ts +9 -0
  125. package/dist/src/utils/auditLogWriter.js +49 -0
  126. package/dist/src/utils/auditLogWriter.js.map +1 -0
  127. package/dist/src/utils/auditLogger.d.ts +1 -10
  128. package/dist/src/utils/auditLogger.js +14 -109
  129. package/dist/src/utils/auditLogger.js.map +1 -1
  130. package/dist/src/utils/auditQuery.d.ts +23 -0
  131. package/dist/src/utils/auditQuery.js +67 -0
  132. package/dist/src/utils/auditQuery.js.map +1 -0
  133. package/dist/src/utils/backupManager.d.ts +2 -2
  134. package/dist/src/utils/backupManager.js +29 -12
  135. package/dist/src/utils/backupManager.js.map +1 -1
  136. package/dist/src/utils/constants.d.ts +1 -1
  137. package/dist/src/utils/constants.js +8 -1
  138. package/dist/src/utils/constants.js.map +1 -1
  139. package/dist/src/utils/diff.d.ts +12 -1
  140. package/dist/src/utils/diff.js +41 -1
  141. package/dist/src/utils/diff.js.map +1 -1
  142. package/dist/src/utils/fileLock.d.ts +7 -2
  143. package/dist/src/utils/fileLock.js +14 -11
  144. package/dist/src/utils/fileLock.js.map +1 -1
  145. package/dist/src/utils/fileWalker.d.ts +1 -1
  146. package/dist/src/utils/fileWalker.js +1 -1
  147. package/dist/src/utils/fileWatcher.d.ts +1 -1
  148. package/dist/src/utils/fileWatcher.js +1 -1
  149. package/dist/src/utils/fuzzySearch.d.ts +1 -1
  150. package/dist/src/utils/fuzzySearch.js +1 -1
  151. package/dist/src/utils/logger.d.ts +1 -1
  152. package/dist/src/utils/logger.js +2 -2
  153. package/dist/src/utils/logger.js.map +1 -1
  154. package/dist/src/utils/rateLimiter.d.ts +9 -1
  155. package/dist/src/utils/rateLimiter.js +12 -1
  156. package/dist/src/utils/rateLimiter.js.map +1 -1
  157. package/dist/src/utils/regexValidator.d.ts +12 -0
  158. package/dist/src/utils/regexValidator.js +48 -0
  159. package/dist/src/utils/regexValidator.js.map +1 -0
  160. package/dist/src/utils/safeRegex.d.ts +2 -92
  161. package/dist/src/utils/safeRegex.js +41 -222
  162. package/dist/src/utils/safeRegex.js.map +1 -1
  163. package/dist/src/utils/safeRegexApi.d.ts +56 -0
  164. package/dist/src/utils/safeRegexApi.js +99 -0
  165. package/dist/src/utils/safeRegexApi.js.map +1 -0
  166. package/dist/src/utils/safeRegexPool.d.ts +7 -0
  167. package/dist/src/utils/safeRegexPool.js +102 -0
  168. package/dist/src/utils/safeRegexPool.js.map +1 -0
  169. package/dist/src/utils/searchTools.js +6 -6
  170. package/dist/src/utils/searchTools.js.map +1 -1
  171. package/dist/src/utils/streaming.d.ts +4 -3
  172. package/dist/src/utils/streaming.js +1 -1
  173. package/dist/src/utils/streaming.js.map +1 -1
  174. package/dist/src/utils/telemetry.d.ts +1 -1
  175. package/dist/src/utils/telemetry.js +1 -1
  176. package/dist/src/utils/toctou.d.ts +7 -0
  177. package/dist/src/utils/toctou.js +24 -0
  178. package/dist/src/utils/toctou.js.map +1 -0
  179. package/llms.txt +173 -21
  180. package/package.json +2 -2
  181. package/scripts/replace-version.js +0 -59
@@ -0,0 +1,1037 @@
1
+ /** MCP tool schemas — barrel */
2
+ export declare const WRITE_OPS: Set<string>;
3
+ export declare const TOOLS: ({
4
+ name: string;
5
+ description: string;
6
+ inputSchema: {
7
+ type: "object";
8
+ properties: {
9
+ directoryPath: {
10
+ type: string;
11
+ description: string;
12
+ };
13
+ projectRoot: {
14
+ type: string;
15
+ description: string;
16
+ };
17
+ format: {
18
+ type: string;
19
+ enum: string[];
20
+ description: string;
21
+ };
22
+ filePath?: undefined;
23
+ symbolName?: undefined;
24
+ className?: undefined;
25
+ rootDir?: undefined;
26
+ startLine?: undefined;
27
+ endLine?: undefined;
28
+ aroundPattern?: undefined;
29
+ contextLines?: undefined;
30
+ pattern?: undefined;
31
+ fileExtensions?: undefined;
32
+ excludeDirs?: undefined;
33
+ maxResults?: undefined;
34
+ startIndex?: undefined;
35
+ fuzzyMatch?: undefined;
36
+ fuzzyThreshold?: undefined;
37
+ newContent?: undefined;
38
+ confirm?: undefined;
39
+ confirmationToken?: undefined;
40
+ diffFormat?: undefined;
41
+ code?: undefined;
42
+ anchorSymbol?: undefined;
43
+ position?: undefined;
44
+ force?: undefined;
45
+ oldName?: undefined;
46
+ newName?: undefined;
47
+ transform?: undefined;
48
+ query?: undefined;
49
+ fuzzy?: undefined;
50
+ types?: undefined;
51
+ reads?: undefined;
52
+ };
53
+ required: string[];
54
+ };
55
+ } | {
56
+ name: string;
57
+ description: string;
58
+ inputSchema: {
59
+ type: "object";
60
+ properties: {
61
+ filePath: {
62
+ type: string;
63
+ description: string;
64
+ };
65
+ projectRoot: {
66
+ type: string;
67
+ description: string;
68
+ };
69
+ symbolName: {
70
+ type: string;
71
+ description: string;
72
+ };
73
+ className: {
74
+ type: string;
75
+ description: string;
76
+ };
77
+ directoryPath?: undefined;
78
+ format?: undefined;
79
+ rootDir?: undefined;
80
+ startLine?: undefined;
81
+ endLine?: undefined;
82
+ aroundPattern?: undefined;
83
+ contextLines?: undefined;
84
+ pattern?: undefined;
85
+ fileExtensions?: undefined;
86
+ excludeDirs?: undefined;
87
+ maxResults?: undefined;
88
+ startIndex?: undefined;
89
+ fuzzyMatch?: undefined;
90
+ fuzzyThreshold?: undefined;
91
+ newContent?: undefined;
92
+ confirm?: undefined;
93
+ confirmationToken?: undefined;
94
+ diffFormat?: undefined;
95
+ code?: undefined;
96
+ anchorSymbol?: undefined;
97
+ position?: undefined;
98
+ force?: undefined;
99
+ oldName?: undefined;
100
+ newName?: undefined;
101
+ transform?: undefined;
102
+ query?: undefined;
103
+ fuzzy?: undefined;
104
+ types?: undefined;
105
+ reads?: undefined;
106
+ };
107
+ required: string[];
108
+ };
109
+ } | {
110
+ name: string;
111
+ description: string;
112
+ inputSchema: {
113
+ type: "object";
114
+ properties: {
115
+ filePath: {
116
+ type: string;
117
+ description: string;
118
+ };
119
+ projectRoot: {
120
+ type: string;
121
+ description: string;
122
+ };
123
+ rootDir: {
124
+ type: string;
125
+ description: string;
126
+ };
127
+ directoryPath?: undefined;
128
+ format?: undefined;
129
+ symbolName?: undefined;
130
+ className?: undefined;
131
+ startLine?: undefined;
132
+ endLine?: undefined;
133
+ aroundPattern?: undefined;
134
+ contextLines?: undefined;
135
+ pattern?: undefined;
136
+ fileExtensions?: undefined;
137
+ excludeDirs?: undefined;
138
+ maxResults?: undefined;
139
+ startIndex?: undefined;
140
+ fuzzyMatch?: undefined;
141
+ fuzzyThreshold?: undefined;
142
+ newContent?: undefined;
143
+ confirm?: undefined;
144
+ confirmationToken?: undefined;
145
+ diffFormat?: undefined;
146
+ code?: undefined;
147
+ anchorSymbol?: undefined;
148
+ position?: undefined;
149
+ force?: undefined;
150
+ oldName?: undefined;
151
+ newName?: undefined;
152
+ transform?: undefined;
153
+ query?: undefined;
154
+ fuzzy?: undefined;
155
+ types?: undefined;
156
+ reads?: undefined;
157
+ };
158
+ required: string[];
159
+ };
160
+ } | {
161
+ name: string;
162
+ description: string;
163
+ inputSchema: {
164
+ type: "object";
165
+ properties: {
166
+ filePath: {
167
+ type: string;
168
+ description: string;
169
+ };
170
+ projectRoot: {
171
+ type: string;
172
+ description: string;
173
+ };
174
+ startLine: {
175
+ type: string;
176
+ description: string;
177
+ };
178
+ endLine: {
179
+ type: string;
180
+ description: string;
181
+ };
182
+ aroundPattern: {
183
+ type: string;
184
+ description: string;
185
+ };
186
+ contextLines: {
187
+ type: string;
188
+ description: string;
189
+ };
190
+ directoryPath?: undefined;
191
+ format?: undefined;
192
+ symbolName?: undefined;
193
+ className?: undefined;
194
+ rootDir?: undefined;
195
+ pattern?: undefined;
196
+ fileExtensions?: undefined;
197
+ excludeDirs?: undefined;
198
+ maxResults?: undefined;
199
+ startIndex?: undefined;
200
+ fuzzyMatch?: undefined;
201
+ fuzzyThreshold?: undefined;
202
+ newContent?: undefined;
203
+ confirm?: undefined;
204
+ confirmationToken?: undefined;
205
+ diffFormat?: undefined;
206
+ code?: undefined;
207
+ anchorSymbol?: undefined;
208
+ position?: undefined;
209
+ force?: undefined;
210
+ oldName?: undefined;
211
+ newName?: undefined;
212
+ transform?: undefined;
213
+ query?: undefined;
214
+ fuzzy?: undefined;
215
+ types?: undefined;
216
+ reads?: undefined;
217
+ };
218
+ required: string[];
219
+ };
220
+ } | {
221
+ name: string;
222
+ description: string;
223
+ inputSchema: {
224
+ type: "object";
225
+ properties: {
226
+ rootDir: {
227
+ type: string;
228
+ description: string;
229
+ };
230
+ projectRoot: {
231
+ type: string;
232
+ description: string;
233
+ };
234
+ pattern: {
235
+ type: string;
236
+ description: string;
237
+ };
238
+ fileExtensions: {
239
+ type: string;
240
+ items: {
241
+ type: string;
242
+ };
243
+ description: string;
244
+ };
245
+ excludeDirs: {
246
+ type: string;
247
+ items: {
248
+ type: string;
249
+ };
250
+ description: string;
251
+ };
252
+ maxResults: {
253
+ type: string;
254
+ description: string;
255
+ };
256
+ startIndex: {
257
+ type: string;
258
+ description: string;
259
+ };
260
+ fuzzyMatch: {
261
+ type: string;
262
+ description: string;
263
+ };
264
+ fuzzyThreshold: {
265
+ type: string;
266
+ description: string;
267
+ };
268
+ directoryPath?: undefined;
269
+ format?: undefined;
270
+ filePath?: undefined;
271
+ symbolName?: undefined;
272
+ className?: undefined;
273
+ startLine?: undefined;
274
+ endLine?: undefined;
275
+ aroundPattern?: undefined;
276
+ contextLines?: undefined;
277
+ newContent?: undefined;
278
+ confirm?: undefined;
279
+ confirmationToken?: undefined;
280
+ diffFormat?: undefined;
281
+ code?: undefined;
282
+ anchorSymbol?: undefined;
283
+ position?: undefined;
284
+ force?: undefined;
285
+ oldName?: undefined;
286
+ newName?: undefined;
287
+ transform?: undefined;
288
+ query?: undefined;
289
+ fuzzy?: undefined;
290
+ types?: undefined;
291
+ reads?: undefined;
292
+ };
293
+ required: string[];
294
+ };
295
+ } | {
296
+ name: string;
297
+ description: string;
298
+ inputSchema: {
299
+ type: "object";
300
+ properties: {
301
+ filePath: {
302
+ type: string;
303
+ description: string;
304
+ };
305
+ projectRoot: {
306
+ type: string;
307
+ description: string;
308
+ };
309
+ directoryPath?: undefined;
310
+ format?: undefined;
311
+ symbolName?: undefined;
312
+ className?: undefined;
313
+ rootDir?: undefined;
314
+ startLine?: undefined;
315
+ endLine?: undefined;
316
+ aroundPattern?: undefined;
317
+ contextLines?: undefined;
318
+ pattern?: undefined;
319
+ fileExtensions?: undefined;
320
+ excludeDirs?: undefined;
321
+ maxResults?: undefined;
322
+ startIndex?: undefined;
323
+ fuzzyMatch?: undefined;
324
+ fuzzyThreshold?: undefined;
325
+ newContent?: undefined;
326
+ confirm?: undefined;
327
+ confirmationToken?: undefined;
328
+ diffFormat?: undefined;
329
+ code?: undefined;
330
+ anchorSymbol?: undefined;
331
+ position?: undefined;
332
+ force?: undefined;
333
+ oldName?: undefined;
334
+ newName?: undefined;
335
+ transform?: undefined;
336
+ query?: undefined;
337
+ fuzzy?: undefined;
338
+ types?: undefined;
339
+ reads?: undefined;
340
+ };
341
+ required: string[];
342
+ };
343
+ } | {
344
+ name: string;
345
+ description: string;
346
+ inputSchema: {
347
+ type: "object";
348
+ properties: {
349
+ filePath: {
350
+ type: string;
351
+ description: string;
352
+ };
353
+ projectRoot: {
354
+ type: string;
355
+ description: string;
356
+ };
357
+ symbolName: {
358
+ type: string;
359
+ description: string;
360
+ };
361
+ newContent: {
362
+ type: string;
363
+ description: string;
364
+ };
365
+ className: {
366
+ type: string;
367
+ description: string;
368
+ };
369
+ confirm: {
370
+ type: string;
371
+ description: string;
372
+ };
373
+ confirmationToken: {
374
+ type: string;
375
+ description: string;
376
+ };
377
+ diffFormat: {
378
+ type: string;
379
+ enum: string[];
380
+ description: string;
381
+ };
382
+ directoryPath?: undefined;
383
+ format?: undefined;
384
+ rootDir?: undefined;
385
+ startLine?: undefined;
386
+ endLine?: undefined;
387
+ aroundPattern?: undefined;
388
+ contextLines?: undefined;
389
+ pattern?: undefined;
390
+ fileExtensions?: undefined;
391
+ excludeDirs?: undefined;
392
+ maxResults?: undefined;
393
+ startIndex?: undefined;
394
+ fuzzyMatch?: undefined;
395
+ fuzzyThreshold?: undefined;
396
+ code?: undefined;
397
+ anchorSymbol?: undefined;
398
+ position?: undefined;
399
+ force?: undefined;
400
+ oldName?: undefined;
401
+ newName?: undefined;
402
+ transform?: undefined;
403
+ query?: undefined;
404
+ fuzzy?: undefined;
405
+ types?: undefined;
406
+ reads?: undefined;
407
+ };
408
+ required: string[];
409
+ };
410
+ } | {
411
+ name: string;
412
+ description: string;
413
+ inputSchema: {
414
+ type: "object";
415
+ properties: {
416
+ filePath: {
417
+ type: string;
418
+ description: string;
419
+ };
420
+ projectRoot: {
421
+ type: string;
422
+ description: string;
423
+ };
424
+ code: {
425
+ type: string;
426
+ description: string;
427
+ };
428
+ anchorSymbol: {
429
+ type: string;
430
+ description: string;
431
+ };
432
+ position: {
433
+ type: string;
434
+ enum: string[];
435
+ description: string;
436
+ };
437
+ className: {
438
+ type: string;
439
+ description: string;
440
+ };
441
+ confirm: {
442
+ type: string;
443
+ description: string;
444
+ };
445
+ confirmationToken: {
446
+ type: string;
447
+ description: string;
448
+ };
449
+ diffFormat: {
450
+ type: string;
451
+ enum: string[];
452
+ description: string;
453
+ };
454
+ directoryPath?: undefined;
455
+ format?: undefined;
456
+ symbolName?: undefined;
457
+ rootDir?: undefined;
458
+ startLine?: undefined;
459
+ endLine?: undefined;
460
+ aroundPattern?: undefined;
461
+ contextLines?: undefined;
462
+ pattern?: undefined;
463
+ fileExtensions?: undefined;
464
+ excludeDirs?: undefined;
465
+ maxResults?: undefined;
466
+ startIndex?: undefined;
467
+ fuzzyMatch?: undefined;
468
+ fuzzyThreshold?: undefined;
469
+ newContent?: undefined;
470
+ force?: undefined;
471
+ oldName?: undefined;
472
+ newName?: undefined;
473
+ transform?: undefined;
474
+ query?: undefined;
475
+ fuzzy?: undefined;
476
+ types?: undefined;
477
+ reads?: undefined;
478
+ };
479
+ required: string[];
480
+ };
481
+ } | {
482
+ name: string;
483
+ description: string;
484
+ inputSchema: {
485
+ type: "object";
486
+ properties: {
487
+ filePath: {
488
+ type: string;
489
+ description: string;
490
+ };
491
+ projectRoot: {
492
+ type: string;
493
+ description: string;
494
+ };
495
+ symbolName: {
496
+ type: string;
497
+ description: string;
498
+ };
499
+ className: {
500
+ type: string;
501
+ description: string;
502
+ };
503
+ force: {
504
+ type: string;
505
+ description: string;
506
+ };
507
+ confirm: {
508
+ type: string;
509
+ description: string;
510
+ };
511
+ confirmationToken: {
512
+ type: string;
513
+ description: string;
514
+ };
515
+ directoryPath?: undefined;
516
+ format?: undefined;
517
+ rootDir?: undefined;
518
+ startLine?: undefined;
519
+ endLine?: undefined;
520
+ aroundPattern?: undefined;
521
+ contextLines?: undefined;
522
+ pattern?: undefined;
523
+ fileExtensions?: undefined;
524
+ excludeDirs?: undefined;
525
+ maxResults?: undefined;
526
+ startIndex?: undefined;
527
+ fuzzyMatch?: undefined;
528
+ fuzzyThreshold?: undefined;
529
+ newContent?: undefined;
530
+ diffFormat?: undefined;
531
+ code?: undefined;
532
+ anchorSymbol?: undefined;
533
+ position?: undefined;
534
+ oldName?: undefined;
535
+ newName?: undefined;
536
+ transform?: undefined;
537
+ query?: undefined;
538
+ fuzzy?: undefined;
539
+ types?: undefined;
540
+ reads?: undefined;
541
+ };
542
+ required: string[];
543
+ };
544
+ } | {
545
+ name: string;
546
+ description: string;
547
+ inputSchema: {
548
+ type: "object";
549
+ properties: {
550
+ filePath: {
551
+ type: string;
552
+ description: string;
553
+ };
554
+ projectRoot: {
555
+ type: string;
556
+ description: string;
557
+ };
558
+ oldName: {
559
+ type: string;
560
+ description: string;
561
+ };
562
+ newName: {
563
+ type: string;
564
+ description: string;
565
+ };
566
+ rootDir: {
567
+ type: string;
568
+ description: string;
569
+ };
570
+ confirm: {
571
+ type: string;
572
+ description: string;
573
+ };
574
+ confirmationToken: {
575
+ type: string;
576
+ description: string;
577
+ };
578
+ directoryPath?: undefined;
579
+ format?: undefined;
580
+ symbolName?: undefined;
581
+ className?: undefined;
582
+ startLine?: undefined;
583
+ endLine?: undefined;
584
+ aroundPattern?: undefined;
585
+ contextLines?: undefined;
586
+ pattern?: undefined;
587
+ fileExtensions?: undefined;
588
+ excludeDirs?: undefined;
589
+ maxResults?: undefined;
590
+ startIndex?: undefined;
591
+ fuzzyMatch?: undefined;
592
+ fuzzyThreshold?: undefined;
593
+ newContent?: undefined;
594
+ diffFormat?: undefined;
595
+ code?: undefined;
596
+ anchorSymbol?: undefined;
597
+ position?: undefined;
598
+ force?: undefined;
599
+ transform?: undefined;
600
+ query?: undefined;
601
+ fuzzy?: undefined;
602
+ types?: undefined;
603
+ reads?: undefined;
604
+ };
605
+ required: string[];
606
+ };
607
+ } | {
608
+ name: string;
609
+ description: string;
610
+ inputSchema: {
611
+ type: "object";
612
+ properties: {
613
+ filePath: {
614
+ type: string;
615
+ description: string;
616
+ };
617
+ projectRoot: {
618
+ type: string;
619
+ description: string;
620
+ };
621
+ symbolName: {
622
+ type: string;
623
+ description: string;
624
+ };
625
+ className: {
626
+ type: string;
627
+ description: string;
628
+ };
629
+ transform: {
630
+ type: string;
631
+ description: string;
632
+ properties: {
633
+ kind: {
634
+ type: string;
635
+ enum: string[];
636
+ description: string;
637
+ };
638
+ parameter: {
639
+ type: string;
640
+ description: string;
641
+ };
642
+ parameterIndex: {
643
+ type: string;
644
+ description: string;
645
+ };
646
+ catchBody: {
647
+ type: string;
648
+ description: string;
649
+ };
650
+ decorator: {
651
+ type: string;
652
+ description: string;
653
+ };
654
+ returnType: {
655
+ type: string;
656
+ description: string;
657
+ };
658
+ expression: {
659
+ type: string;
660
+ description: string;
661
+ };
662
+ variableName: {
663
+ type: string;
664
+ description: string;
665
+ };
666
+ };
667
+ required: string[];
668
+ };
669
+ confirm: {
670
+ type: string;
671
+ description: string;
672
+ };
673
+ confirmationToken: {
674
+ type: string;
675
+ description: string;
676
+ };
677
+ diffFormat: {
678
+ type: string;
679
+ enum: string[];
680
+ description: string;
681
+ };
682
+ directoryPath?: undefined;
683
+ format?: undefined;
684
+ rootDir?: undefined;
685
+ startLine?: undefined;
686
+ endLine?: undefined;
687
+ aroundPattern?: undefined;
688
+ contextLines?: undefined;
689
+ pattern?: undefined;
690
+ fileExtensions?: undefined;
691
+ excludeDirs?: undefined;
692
+ maxResults?: undefined;
693
+ startIndex?: undefined;
694
+ fuzzyMatch?: undefined;
695
+ fuzzyThreshold?: undefined;
696
+ newContent?: undefined;
697
+ code?: undefined;
698
+ anchorSymbol?: undefined;
699
+ position?: undefined;
700
+ force?: undefined;
701
+ oldName?: undefined;
702
+ newName?: undefined;
703
+ query?: undefined;
704
+ fuzzy?: undefined;
705
+ types?: undefined;
706
+ reads?: undefined;
707
+ };
708
+ required: string[];
709
+ };
710
+ } | {
711
+ name: string;
712
+ description: string;
713
+ inputSchema: {
714
+ type: "object";
715
+ properties: {
716
+ rootDir: {
717
+ type: string;
718
+ description: string;
719
+ };
720
+ projectRoot: {
721
+ type: string;
722
+ description: string;
723
+ };
724
+ query: {
725
+ type: string;
726
+ description: string;
727
+ };
728
+ fuzzy: {
729
+ type: string;
730
+ description: string;
731
+ };
732
+ types: {
733
+ type: string;
734
+ items: {
735
+ type: string;
736
+ };
737
+ description: string;
738
+ };
739
+ fileExtensions: {
740
+ type: string;
741
+ items: {
742
+ type: string;
743
+ };
744
+ description: string;
745
+ };
746
+ excludeDirs: {
747
+ type: string;
748
+ items: {
749
+ type: string;
750
+ };
751
+ description: string;
752
+ };
753
+ maxResults: {
754
+ type: string;
755
+ description: string;
756
+ };
757
+ directoryPath?: undefined;
758
+ format?: undefined;
759
+ filePath?: undefined;
760
+ symbolName?: undefined;
761
+ className?: undefined;
762
+ startLine?: undefined;
763
+ endLine?: undefined;
764
+ aroundPattern?: undefined;
765
+ contextLines?: undefined;
766
+ pattern?: undefined;
767
+ startIndex?: undefined;
768
+ fuzzyMatch?: undefined;
769
+ fuzzyThreshold?: undefined;
770
+ newContent?: undefined;
771
+ confirm?: undefined;
772
+ confirmationToken?: undefined;
773
+ diffFormat?: undefined;
774
+ code?: undefined;
775
+ anchorSymbol?: undefined;
776
+ position?: undefined;
777
+ force?: undefined;
778
+ oldName?: undefined;
779
+ newName?: undefined;
780
+ transform?: undefined;
781
+ reads?: undefined;
782
+ };
783
+ required: string[];
784
+ };
785
+ } | {
786
+ name: string;
787
+ description: string;
788
+ inputSchema: {
789
+ type: "object";
790
+ properties: {
791
+ filePath: {
792
+ type: string;
793
+ description: string;
794
+ };
795
+ projectRoot: {
796
+ type: string;
797
+ description: string;
798
+ };
799
+ symbolName: {
800
+ type: string;
801
+ description: string;
802
+ };
803
+ className: {
804
+ type: string;
805
+ description: string;
806
+ };
807
+ rootDir: {
808
+ type: string;
809
+ description: string;
810
+ };
811
+ directoryPath?: undefined;
812
+ format?: undefined;
813
+ startLine?: undefined;
814
+ endLine?: undefined;
815
+ aroundPattern?: undefined;
816
+ contextLines?: undefined;
817
+ pattern?: undefined;
818
+ fileExtensions?: undefined;
819
+ excludeDirs?: undefined;
820
+ maxResults?: undefined;
821
+ startIndex?: undefined;
822
+ fuzzyMatch?: undefined;
823
+ fuzzyThreshold?: undefined;
824
+ newContent?: undefined;
825
+ confirm?: undefined;
826
+ confirmationToken?: undefined;
827
+ diffFormat?: undefined;
828
+ code?: undefined;
829
+ anchorSymbol?: undefined;
830
+ position?: undefined;
831
+ force?: undefined;
832
+ oldName?: undefined;
833
+ newName?: undefined;
834
+ transform?: undefined;
835
+ query?: undefined;
836
+ fuzzy?: undefined;
837
+ types?: undefined;
838
+ reads?: undefined;
839
+ };
840
+ required: string[];
841
+ };
842
+ } | {
843
+ name: string;
844
+ description: string;
845
+ inputSchema: {
846
+ type: "object";
847
+ properties: {
848
+ reads: {
849
+ type: string;
850
+ description: string;
851
+ items: {
852
+ type: string;
853
+ properties: {
854
+ filePath: {
855
+ type: string;
856
+ description: string;
857
+ };
858
+ symbolName: {
859
+ type: string;
860
+ description: string;
861
+ };
862
+ className: {
863
+ type: string;
864
+ description: string;
865
+ };
866
+ };
867
+ required: string[];
868
+ };
869
+ };
870
+ projectRoot: {
871
+ type: string;
872
+ description: string;
873
+ };
874
+ directoryPath?: undefined;
875
+ format?: undefined;
876
+ filePath?: undefined;
877
+ symbolName?: undefined;
878
+ className?: undefined;
879
+ rootDir?: undefined;
880
+ startLine?: undefined;
881
+ endLine?: undefined;
882
+ aroundPattern?: undefined;
883
+ contextLines?: undefined;
884
+ pattern?: undefined;
885
+ fileExtensions?: undefined;
886
+ excludeDirs?: undefined;
887
+ maxResults?: undefined;
888
+ startIndex?: undefined;
889
+ fuzzyMatch?: undefined;
890
+ fuzzyThreshold?: undefined;
891
+ newContent?: undefined;
892
+ confirm?: undefined;
893
+ confirmationToken?: undefined;
894
+ diffFormat?: undefined;
895
+ code?: undefined;
896
+ anchorSymbol?: undefined;
897
+ position?: undefined;
898
+ force?: undefined;
899
+ oldName?: undefined;
900
+ newName?: undefined;
901
+ transform?: undefined;
902
+ query?: undefined;
903
+ fuzzy?: undefined;
904
+ types?: undefined;
905
+ };
906
+ required: string[];
907
+ };
908
+ } | {
909
+ name: string;
910
+ description: string;
911
+ inputSchema: {
912
+ type: "object";
913
+ properties: {
914
+ directoryPath?: undefined;
915
+ projectRoot?: undefined;
916
+ format?: undefined;
917
+ filePath?: undefined;
918
+ symbolName?: undefined;
919
+ className?: undefined;
920
+ rootDir?: undefined;
921
+ startLine?: undefined;
922
+ endLine?: undefined;
923
+ aroundPattern?: undefined;
924
+ contextLines?: undefined;
925
+ pattern?: undefined;
926
+ fileExtensions?: undefined;
927
+ excludeDirs?: undefined;
928
+ maxResults?: undefined;
929
+ startIndex?: undefined;
930
+ fuzzyMatch?: undefined;
931
+ fuzzyThreshold?: undefined;
932
+ newContent?: undefined;
933
+ confirm?: undefined;
934
+ confirmationToken?: undefined;
935
+ diffFormat?: undefined;
936
+ code?: undefined;
937
+ anchorSymbol?: undefined;
938
+ position?: undefined;
939
+ force?: undefined;
940
+ oldName?: undefined;
941
+ newName?: undefined;
942
+ transform?: undefined;
943
+ query?: undefined;
944
+ fuzzy?: undefined;
945
+ types?: undefined;
946
+ reads?: undefined;
947
+ };
948
+ required: never[];
949
+ };
950
+ } | {
951
+ name: string;
952
+ description: string;
953
+ inputSchema: {
954
+ type: "object";
955
+ properties: {
956
+ filePath: {
957
+ type: string;
958
+ description: string;
959
+ };
960
+ projectRoot: {
961
+ type: string;
962
+ description: string;
963
+ };
964
+ action?: undefined;
965
+ debounceMs?: undefined;
966
+ };
967
+ required: string[];
968
+ };
969
+ } | {
970
+ name: string;
971
+ description: string;
972
+ inputSchema: {
973
+ type: "object";
974
+ properties: {
975
+ projectRoot: {
976
+ type: string;
977
+ description: string;
978
+ };
979
+ filePath?: undefined;
980
+ action?: undefined;
981
+ debounceMs?: undefined;
982
+ };
983
+ required: string[];
984
+ };
985
+ } | {
986
+ name: string;
987
+ description: string;
988
+ inputSchema: {
989
+ type: "object";
990
+ properties: {
991
+ filePath?: undefined;
992
+ projectRoot?: undefined;
993
+ action?: undefined;
994
+ debounceMs?: undefined;
995
+ };
996
+ required?: undefined;
997
+ };
998
+ } | {
999
+ name: string;
1000
+ description: string;
1001
+ inputSchema: {
1002
+ type: "object";
1003
+ properties: {
1004
+ projectRoot: {
1005
+ type: string;
1006
+ description: string;
1007
+ };
1008
+ action: {
1009
+ type: string;
1010
+ enum: string[];
1011
+ description: string;
1012
+ };
1013
+ debounceMs: {
1014
+ type: string;
1015
+ description: string;
1016
+ };
1017
+ filePath?: undefined;
1018
+ };
1019
+ required: string[];
1020
+ };
1021
+ } | {
1022
+ name: string;
1023
+ description: string;
1024
+ inputSchema: {
1025
+ type: "object";
1026
+ properties: {
1027
+ projectRoot: {
1028
+ type: string;
1029
+ description: string;
1030
+ };
1031
+ filePath?: undefined;
1032
+ action?: undefined;
1033
+ debounceMs?: undefined;
1034
+ };
1035
+ required?: undefined;
1036
+ };
1037
+ })[];