@navigation-agent/mcp-server 0.1.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.
@@ -0,0 +1,1106 @@
1
+ export declare const PUBLIC_LANGUAGES: readonly ["typescript", "javascript", "java", "python", "rust"];
2
+ export type PublicLanguage = (typeof PUBLIC_LANGUAGES)[number];
3
+ export declare const PUBLIC_FRAMEWORKS: readonly ["react-router", "spring"];
4
+ export type PublicFramework = (typeof PUBLIC_FRAMEWORKS)[number];
5
+ export declare const PUBLIC_ENDPOINT_KINDS: readonly ["any", "graphql", "rest", "route"];
6
+ export type PublicEndpointKind = (typeof PUBLIC_ENDPOINT_KINDS)[number];
7
+ export declare const PUBLIC_SYMBOL_KINDS: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
8
+ export type PublicSymbolKind = (typeof PUBLIC_SYMBOL_KINDS)[number];
9
+ export declare const MATCH_MODES: readonly ["exact", "fuzzy"];
10
+ export type MatchMode = (typeof MATCH_MODES)[number];
11
+ export declare const CODE_TOOL_NAMES: readonly ["code.inspect_tree", "code.list_endpoints", "code.find_symbol", "code.search_text", "code.trace_symbol", "code.trace_callers"];
12
+ export type CodeToolName = (typeof CODE_TOOL_NAMES)[number];
13
+ export interface InspectTreeInput {
14
+ path?: string | null;
15
+ max_depth: number;
16
+ extensions: string[];
17
+ file_pattern?: string | null;
18
+ include_stats: boolean;
19
+ include_hidden: boolean;
20
+ }
21
+ export interface InspectTreeItemStats {
22
+ sizeBytes: number;
23
+ modifiedAt: string;
24
+ isSymlink: boolean;
25
+ }
26
+ export interface InspectTreeItem {
27
+ path: string;
28
+ name: string;
29
+ type: string;
30
+ depth: number;
31
+ extension?: string | null;
32
+ stats?: InspectTreeItemStats | null;
33
+ }
34
+ export interface InspectTreeData {
35
+ root: string;
36
+ entryCount: number;
37
+ items: InspectTreeItem[];
38
+ }
39
+ export interface FindSymbolInput {
40
+ symbol: string;
41
+ language?: PublicLanguage | null;
42
+ framework?: PublicFramework | null;
43
+ kind: PublicSymbolKind;
44
+ match: MatchMode;
45
+ path?: string | null;
46
+ limit: number;
47
+ }
48
+ export interface PublicSymbolDefinition {
49
+ symbol: string;
50
+ kind: PublicSymbolKind;
51
+ path: string;
52
+ line: number;
53
+ language: PublicLanguage | null;
54
+ }
55
+ export interface FindSymbolData {
56
+ count: number;
57
+ returnedCount: number;
58
+ totalMatched: number;
59
+ items: PublicSymbolDefinition[];
60
+ }
61
+ export interface ListEndpointsInput {
62
+ path?: string | null;
63
+ language?: PublicLanguage | null;
64
+ framework?: PublicFramework | null;
65
+ kind: PublicEndpointKind;
66
+ limit: number;
67
+ }
68
+ export interface EndpointDefinition {
69
+ name: string;
70
+ kind: PublicEndpointKind;
71
+ path: string | null;
72
+ file: string;
73
+ line: number;
74
+ language: PublicLanguage | null;
75
+ framework: PublicFramework | null;
76
+ }
77
+ export interface ListEndpointsCounts {
78
+ byKind: Record<string, number>;
79
+ byLanguage: Record<string, number>;
80
+ byFramework: Record<string, number>;
81
+ }
82
+ export interface ListEndpointsData {
83
+ totalCount: number;
84
+ returnedCount: number;
85
+ counts: ListEndpointsCounts;
86
+ items: EndpointDefinition[];
87
+ }
88
+ export interface SearchTextInput {
89
+ query: string;
90
+ path?: string | null;
91
+ language?: PublicLanguage | null;
92
+ framework?: PublicFramework | null;
93
+ include?: string | null;
94
+ regex: boolean;
95
+ context: number;
96
+ limit: number;
97
+ }
98
+ export interface SearchTextContextLine {
99
+ line: number;
100
+ text: string;
101
+ }
102
+ export interface SearchTextSubmatch {
103
+ start: number;
104
+ end: number;
105
+ text: string;
106
+ }
107
+ export interface SearchTextMatch {
108
+ line: number;
109
+ text: string;
110
+ submatches: SearchTextSubmatch[];
111
+ before: SearchTextContextLine[];
112
+ after: SearchTextContextLine[];
113
+ }
114
+ export interface SearchTextFileMatch {
115
+ path: string;
116
+ language: PublicLanguage | null;
117
+ matchCount: number;
118
+ matches: SearchTextMatch[];
119
+ }
120
+ export interface SearchTextData {
121
+ fileCount: number;
122
+ matchCount: number;
123
+ totalFileCount: number;
124
+ totalMatchCount: number;
125
+ items: SearchTextFileMatch[];
126
+ }
127
+ export interface TraceSymbolInput {
128
+ path: string;
129
+ symbol: string;
130
+ language?: PublicLanguage | null;
131
+ framework?: PublicFramework | null;
132
+ }
133
+ export interface TraceSymbolEntrypoint {
134
+ path: string;
135
+ symbol: string;
136
+ language: PublicLanguage | null;
137
+ }
138
+ export interface TraceSymbolFile {
139
+ path: string;
140
+ language: PublicLanguage | null;
141
+ }
142
+ export interface TraceSymbolData {
143
+ entrypoint: TraceSymbolEntrypoint;
144
+ fileCount: number;
145
+ items: TraceSymbolFile[];
146
+ }
147
+ export interface TraceCallersInput {
148
+ path: string;
149
+ symbol: string;
150
+ language?: PublicLanguage | null;
151
+ framework?: PublicFramework | null;
152
+ recursive: boolean;
153
+ max_depth?: number | null;
154
+ }
155
+ export interface TraceCallersTarget {
156
+ path: string;
157
+ symbol: string;
158
+ language: PublicLanguage | null;
159
+ }
160
+ export interface TraceCallerRecord {
161
+ path: string;
162
+ line: number;
163
+ column: number | null;
164
+ caller: string;
165
+ callerSymbol: string | null;
166
+ relation: string;
167
+ language: PublicLanguage | null;
168
+ snippet: string | null;
169
+ receiverType: string | null;
170
+ }
171
+ export interface TraceCallersRecursiveVia {
172
+ relation: string | null;
173
+ line: number | null;
174
+ column: number | null;
175
+ snippet: string | null;
176
+ }
177
+ export interface TraceCallersRecursiveNode {
178
+ key: string;
179
+ path: string;
180
+ symbol: string;
181
+ depth: number;
182
+ via: TraceCallersRecursiveVia | null;
183
+ }
184
+ export interface TraceCallersRecursivePathSegment {
185
+ path: string;
186
+ symbol: string;
187
+ depth: number;
188
+ }
189
+ export interface TraceCallersRecursiveCycle {
190
+ fromKey: string;
191
+ toKey: string;
192
+ path: string[];
193
+ }
194
+ export interface TraceCallersRecursiveTruncatedNode {
195
+ key: string;
196
+ path: string;
197
+ symbol: string;
198
+ depth: number;
199
+ }
200
+ export interface TraceCallersProbableEntryPoint {
201
+ key: string | null;
202
+ path: string;
203
+ symbol: string;
204
+ depth: number | null;
205
+ reasons: string[];
206
+ probable: boolean | null;
207
+ pathFromTarget: TraceCallersRecursivePathSegment[];
208
+ }
209
+ export interface TraceCallersCallsTarget {
210
+ path: string;
211
+ symbol: string;
212
+ }
213
+ export interface TraceCallersClassificationRecord {
214
+ path: string;
215
+ symbol: string;
216
+ caller: string;
217
+ depth: number;
218
+ line: number;
219
+ column: number | null;
220
+ relation: string;
221
+ language: PublicLanguage | null;
222
+ receiverType: string | null;
223
+ snippet: string | null;
224
+ calls: TraceCallersCallsTarget;
225
+ pathFromTarget: TraceCallersRecursivePathSegment[];
226
+ }
227
+ export interface TraceCallersImplementationInterface {
228
+ name: string | null;
229
+ path: string | null;
230
+ symbol: string | null;
231
+ }
232
+ export interface TraceCallersImplementationReference {
233
+ path: string;
234
+ symbol: string | null;
235
+ }
236
+ export interface TraceCallersImplementationInterfaceChain {
237
+ kind: string;
238
+ probable: boolean | null;
239
+ interface: TraceCallersImplementationInterface | null;
240
+ implementation: TraceCallersImplementationReference | null;
241
+ implementations: TraceCallersImplementationReference[];
242
+ callers: TraceCallersClassificationRecord[];
243
+ }
244
+ export interface TraceCallersRecursiveSummary {
245
+ directCallerCount: number;
246
+ indirectCallerCount: number;
247
+ probablePublicEntryPointCount: number;
248
+ implementationInterfaceChainCount: number;
249
+ }
250
+ export interface TraceCallersRecursiveClassifications {
251
+ summary: TraceCallersRecursiveSummary;
252
+ directCallers: TraceCallersClassificationRecord[];
253
+ indirectCallers: TraceCallersClassificationRecord[];
254
+ probablePublicEntryPoints: TraceCallersProbableEntryPoint[];
255
+ implementationInterfaceChain: TraceCallersImplementationInterfaceChain[];
256
+ }
257
+ export interface TraceCallersRecursiveData {
258
+ enabled: boolean;
259
+ root: TraceCallersRecursiveNode;
260
+ maxDepth: number;
261
+ maxDepthObserved: number;
262
+ nodeCount: number;
263
+ edgeCount: number;
264
+ pathCount: number;
265
+ nodes: TraceCallersRecursiveNode[];
266
+ adjacency: Record<string, string[]>;
267
+ paths: TraceCallersRecursivePathSegment[][];
268
+ cycles: TraceCallersRecursiveCycle[];
269
+ truncated: TraceCallersRecursiveTruncatedNode[];
270
+ probableEntryPoints: TraceCallersProbableEntryPoint[];
271
+ classifications: TraceCallersRecursiveClassifications;
272
+ }
273
+ export interface TraceCallersData {
274
+ target: TraceCallersTarget;
275
+ count: number;
276
+ returnedCount: number;
277
+ items: TraceCallerRecord[];
278
+ recursive: TraceCallersRecursiveData | null;
279
+ }
280
+ export interface ValidationIssue {
281
+ field: string;
282
+ message: string;
283
+ type: string;
284
+ }
285
+ export declare const inspectTreeInputSchema: {
286
+ readonly type: "object";
287
+ readonly properties: {
288
+ readonly path: {
289
+ readonly anyOf: readonly [{
290
+ readonly type: "string";
291
+ }, {
292
+ readonly type: "null";
293
+ }];
294
+ readonly default: null;
295
+ readonly description: "Optional workspace-relative or absolute file/directory scope.";
296
+ };
297
+ readonly max_depth: {
298
+ readonly type: "integer";
299
+ readonly default: 3;
300
+ readonly minimum: 0;
301
+ readonly maximum: 20;
302
+ readonly description: "Maximum depth relative to the resolved scope root.";
303
+ };
304
+ readonly extensions: {
305
+ readonly anyOf: readonly [{
306
+ readonly type: "array";
307
+ readonly items: {
308
+ readonly type: "string";
309
+ };
310
+ }, {
311
+ readonly type: "null";
312
+ }];
313
+ readonly default: null;
314
+ readonly description: "Optional file extension filter such as ['.py', '.ts']. Directories remain visible.";
315
+ };
316
+ readonly file_pattern: {
317
+ readonly anyOf: readonly [{
318
+ readonly type: "string";
319
+ }, {
320
+ readonly type: "null";
321
+ }];
322
+ readonly default: null;
323
+ readonly description: "Optional filename glob such as '*.py'.";
324
+ };
325
+ readonly include_stats: {
326
+ readonly type: "boolean";
327
+ readonly default: false;
328
+ readonly description: "Include size, modified time, and symlink metadata.";
329
+ };
330
+ readonly include_hidden: {
331
+ readonly type: "boolean";
332
+ readonly default: false;
333
+ readonly description: "Include hidden entries except the hard ignore list.";
334
+ };
335
+ };
336
+ readonly required: readonly [];
337
+ };
338
+ export declare const listEndpointsInputSchema: {
339
+ readonly type: "object";
340
+ readonly properties: {
341
+ readonly path: {
342
+ readonly anyOf: readonly [{
343
+ readonly type: "string";
344
+ }, {
345
+ readonly type: "null";
346
+ }];
347
+ readonly default: null;
348
+ };
349
+ readonly language: {
350
+ readonly anyOf: readonly [{
351
+ readonly $ref: "#/$defs/PublicLanguage";
352
+ }, {
353
+ readonly type: "null";
354
+ }];
355
+ readonly default: null;
356
+ };
357
+ readonly framework: {
358
+ readonly anyOf: readonly [{
359
+ readonly $ref: "#/$defs/PublicFramework";
360
+ }, {
361
+ readonly type: "null";
362
+ }];
363
+ readonly default: null;
364
+ };
365
+ readonly kind: {
366
+ readonly allOf: readonly [{
367
+ readonly $ref: "#/$defs/PublicEndpointKind";
368
+ }];
369
+ readonly default: "any";
370
+ };
371
+ readonly limit: {
372
+ readonly type: "integer";
373
+ readonly default: 50;
374
+ readonly minimum: 1;
375
+ readonly maximum: 200;
376
+ };
377
+ };
378
+ readonly required: readonly [];
379
+ readonly $defs: {
380
+ readonly PublicLanguage: {
381
+ readonly type: "string";
382
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
383
+ };
384
+ readonly PublicFramework: {
385
+ readonly type: "string";
386
+ readonly enum: readonly ["react-router", "spring"];
387
+ };
388
+ readonly PublicEndpointKind: {
389
+ readonly type: "string";
390
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
391
+ };
392
+ readonly PublicSymbolKind: {
393
+ readonly type: "string";
394
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
395
+ };
396
+ readonly MatchMode: {
397
+ readonly type: "string";
398
+ readonly enum: readonly ["exact", "fuzzy"];
399
+ };
400
+ };
401
+ };
402
+ export declare const findSymbolInputSchema: {
403
+ readonly type: "object";
404
+ readonly properties: {
405
+ readonly symbol: {
406
+ readonly type: "string";
407
+ readonly minLength: 1;
408
+ };
409
+ readonly language: {
410
+ readonly anyOf: readonly [{
411
+ readonly $ref: "#/$defs/PublicLanguage";
412
+ }, {
413
+ readonly type: "null";
414
+ }];
415
+ readonly default: null;
416
+ };
417
+ readonly framework: {
418
+ readonly anyOf: readonly [{
419
+ readonly $ref: "#/$defs/PublicFramework";
420
+ }, {
421
+ readonly type: "null";
422
+ }];
423
+ readonly default: null;
424
+ };
425
+ readonly kind: {
426
+ readonly allOf: readonly [{
427
+ readonly $ref: "#/$defs/PublicSymbolKind";
428
+ }];
429
+ readonly default: "any";
430
+ };
431
+ readonly match: {
432
+ readonly allOf: readonly [{
433
+ readonly $ref: "#/$defs/MatchMode";
434
+ }];
435
+ readonly default: "exact";
436
+ };
437
+ readonly path: {
438
+ readonly anyOf: readonly [{
439
+ readonly type: "string";
440
+ }, {
441
+ readonly type: "null";
442
+ }];
443
+ readonly default: null;
444
+ };
445
+ readonly limit: {
446
+ readonly type: "integer";
447
+ readonly default: 50;
448
+ readonly minimum: 1;
449
+ readonly maximum: 200;
450
+ };
451
+ };
452
+ readonly required: readonly ["symbol"];
453
+ readonly $defs: {
454
+ readonly PublicLanguage: {
455
+ readonly type: "string";
456
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
457
+ };
458
+ readonly PublicFramework: {
459
+ readonly type: "string";
460
+ readonly enum: readonly ["react-router", "spring"];
461
+ };
462
+ readonly PublicEndpointKind: {
463
+ readonly type: "string";
464
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
465
+ };
466
+ readonly PublicSymbolKind: {
467
+ readonly type: "string";
468
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
469
+ };
470
+ readonly MatchMode: {
471
+ readonly type: "string";
472
+ readonly enum: readonly ["exact", "fuzzy"];
473
+ };
474
+ };
475
+ };
476
+ export declare const searchTextInputSchema: {
477
+ readonly type: "object";
478
+ readonly properties: {
479
+ readonly query: {
480
+ readonly type: "string";
481
+ readonly minLength: 1;
482
+ };
483
+ readonly path: {
484
+ readonly anyOf: readonly [{
485
+ readonly type: "string";
486
+ }, {
487
+ readonly type: "null";
488
+ }];
489
+ readonly default: null;
490
+ };
491
+ readonly language: {
492
+ readonly anyOf: readonly [{
493
+ readonly $ref: "#/$defs/PublicLanguage";
494
+ }, {
495
+ readonly type: "null";
496
+ }];
497
+ readonly default: null;
498
+ };
499
+ readonly framework: {
500
+ readonly anyOf: readonly [{
501
+ readonly $ref: "#/$defs/PublicFramework";
502
+ }, {
503
+ readonly type: "null";
504
+ }];
505
+ readonly default: null;
506
+ };
507
+ readonly include: {
508
+ readonly anyOf: readonly [{
509
+ readonly type: "string";
510
+ }, {
511
+ readonly type: "null";
512
+ }];
513
+ readonly default: null;
514
+ };
515
+ readonly regex: {
516
+ readonly type: "boolean";
517
+ readonly default: false;
518
+ };
519
+ readonly context: {
520
+ readonly type: "integer";
521
+ readonly default: 1;
522
+ readonly minimum: 0;
523
+ readonly maximum: 10;
524
+ };
525
+ readonly limit: {
526
+ readonly type: "integer";
527
+ readonly default: 50;
528
+ readonly minimum: 1;
529
+ readonly maximum: 200;
530
+ };
531
+ };
532
+ readonly required: readonly ["query"];
533
+ readonly $defs: {
534
+ readonly PublicLanguage: {
535
+ readonly type: "string";
536
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
537
+ };
538
+ readonly PublicFramework: {
539
+ readonly type: "string";
540
+ readonly enum: readonly ["react-router", "spring"];
541
+ };
542
+ readonly PublicEndpointKind: {
543
+ readonly type: "string";
544
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
545
+ };
546
+ readonly PublicSymbolKind: {
547
+ readonly type: "string";
548
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
549
+ };
550
+ readonly MatchMode: {
551
+ readonly type: "string";
552
+ readonly enum: readonly ["exact", "fuzzy"];
553
+ };
554
+ };
555
+ };
556
+ export declare const traceSymbolInputSchema: {
557
+ readonly type: "object";
558
+ readonly properties: {
559
+ readonly path: {
560
+ readonly type: "string";
561
+ readonly minLength: 1;
562
+ };
563
+ readonly symbol: {
564
+ readonly type: "string";
565
+ readonly minLength: 1;
566
+ };
567
+ readonly language: {
568
+ readonly anyOf: readonly [{
569
+ readonly $ref: "#/$defs/PublicLanguage";
570
+ }, {
571
+ readonly type: "null";
572
+ }];
573
+ readonly default: null;
574
+ };
575
+ readonly framework: {
576
+ readonly anyOf: readonly [{
577
+ readonly $ref: "#/$defs/PublicFramework";
578
+ }, {
579
+ readonly type: "null";
580
+ }];
581
+ readonly default: null;
582
+ };
583
+ };
584
+ readonly required: readonly ["path", "symbol"];
585
+ readonly $defs: {
586
+ readonly PublicLanguage: {
587
+ readonly type: "string";
588
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
589
+ };
590
+ readonly PublicFramework: {
591
+ readonly type: "string";
592
+ readonly enum: readonly ["react-router", "spring"];
593
+ };
594
+ readonly PublicEndpointKind: {
595
+ readonly type: "string";
596
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
597
+ };
598
+ readonly PublicSymbolKind: {
599
+ readonly type: "string";
600
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
601
+ };
602
+ readonly MatchMode: {
603
+ readonly type: "string";
604
+ readonly enum: readonly ["exact", "fuzzy"];
605
+ };
606
+ };
607
+ };
608
+ export declare const traceCallersInputSchema: {
609
+ readonly type: "object";
610
+ readonly properties: {
611
+ readonly path: {
612
+ readonly type: "string";
613
+ readonly minLength: 1;
614
+ };
615
+ readonly symbol: {
616
+ readonly type: "string";
617
+ readonly minLength: 1;
618
+ };
619
+ readonly language: {
620
+ readonly anyOf: readonly [{
621
+ readonly $ref: "#/$defs/PublicLanguage";
622
+ }, {
623
+ readonly type: "null";
624
+ }];
625
+ readonly default: null;
626
+ };
627
+ readonly framework: {
628
+ readonly anyOf: readonly [{
629
+ readonly $ref: "#/$defs/PublicFramework";
630
+ }, {
631
+ readonly type: "null";
632
+ }];
633
+ readonly default: null;
634
+ };
635
+ readonly recursive: {
636
+ readonly type: "boolean";
637
+ readonly default: false;
638
+ };
639
+ readonly max_depth: {
640
+ readonly anyOf: readonly [{
641
+ readonly type: "integer";
642
+ readonly minimum: 1;
643
+ readonly maximum: 8;
644
+ }, {
645
+ readonly type: "null";
646
+ }];
647
+ readonly default: null;
648
+ };
649
+ };
650
+ readonly required: readonly ["path", "symbol"];
651
+ readonly $defs: {
652
+ readonly PublicLanguage: {
653
+ readonly type: "string";
654
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
655
+ };
656
+ readonly PublicFramework: {
657
+ readonly type: "string";
658
+ readonly enum: readonly ["react-router", "spring"];
659
+ };
660
+ readonly PublicEndpointKind: {
661
+ readonly type: "string";
662
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
663
+ };
664
+ readonly PublicSymbolKind: {
665
+ readonly type: "string";
666
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
667
+ };
668
+ readonly MatchMode: {
669
+ readonly type: "string";
670
+ readonly enum: readonly ["exact", "fuzzy"];
671
+ };
672
+ };
673
+ };
674
+ export declare const codeToolSchemas: {
675
+ readonly "code.inspect_tree": {
676
+ readonly type: "object";
677
+ readonly properties: {
678
+ readonly path: {
679
+ readonly anyOf: readonly [{
680
+ readonly type: "string";
681
+ }, {
682
+ readonly type: "null";
683
+ }];
684
+ readonly default: null;
685
+ readonly description: "Optional workspace-relative or absolute file/directory scope.";
686
+ };
687
+ readonly max_depth: {
688
+ readonly type: "integer";
689
+ readonly default: 3;
690
+ readonly minimum: 0;
691
+ readonly maximum: 20;
692
+ readonly description: "Maximum depth relative to the resolved scope root.";
693
+ };
694
+ readonly extensions: {
695
+ readonly anyOf: readonly [{
696
+ readonly type: "array";
697
+ readonly items: {
698
+ readonly type: "string";
699
+ };
700
+ }, {
701
+ readonly type: "null";
702
+ }];
703
+ readonly default: null;
704
+ readonly description: "Optional file extension filter such as ['.py', '.ts']. Directories remain visible.";
705
+ };
706
+ readonly file_pattern: {
707
+ readonly anyOf: readonly [{
708
+ readonly type: "string";
709
+ }, {
710
+ readonly type: "null";
711
+ }];
712
+ readonly default: null;
713
+ readonly description: "Optional filename glob such as '*.py'.";
714
+ };
715
+ readonly include_stats: {
716
+ readonly type: "boolean";
717
+ readonly default: false;
718
+ readonly description: "Include size, modified time, and symlink metadata.";
719
+ };
720
+ readonly include_hidden: {
721
+ readonly type: "boolean";
722
+ readonly default: false;
723
+ readonly description: "Include hidden entries except the hard ignore list.";
724
+ };
725
+ };
726
+ readonly required: readonly [];
727
+ };
728
+ readonly "code.list_endpoints": {
729
+ readonly type: "object";
730
+ readonly properties: {
731
+ readonly path: {
732
+ readonly anyOf: readonly [{
733
+ readonly type: "string";
734
+ }, {
735
+ readonly type: "null";
736
+ }];
737
+ readonly default: null;
738
+ };
739
+ readonly language: {
740
+ readonly anyOf: readonly [{
741
+ readonly $ref: "#/$defs/PublicLanguage";
742
+ }, {
743
+ readonly type: "null";
744
+ }];
745
+ readonly default: null;
746
+ };
747
+ readonly framework: {
748
+ readonly anyOf: readonly [{
749
+ readonly $ref: "#/$defs/PublicFramework";
750
+ }, {
751
+ readonly type: "null";
752
+ }];
753
+ readonly default: null;
754
+ };
755
+ readonly kind: {
756
+ readonly allOf: readonly [{
757
+ readonly $ref: "#/$defs/PublicEndpointKind";
758
+ }];
759
+ readonly default: "any";
760
+ };
761
+ readonly limit: {
762
+ readonly type: "integer";
763
+ readonly default: 50;
764
+ readonly minimum: 1;
765
+ readonly maximum: 200;
766
+ };
767
+ };
768
+ readonly required: readonly [];
769
+ readonly $defs: {
770
+ readonly PublicLanguage: {
771
+ readonly type: "string";
772
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
773
+ };
774
+ readonly PublicFramework: {
775
+ readonly type: "string";
776
+ readonly enum: readonly ["react-router", "spring"];
777
+ };
778
+ readonly PublicEndpointKind: {
779
+ readonly type: "string";
780
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
781
+ };
782
+ readonly PublicSymbolKind: {
783
+ readonly type: "string";
784
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
785
+ };
786
+ readonly MatchMode: {
787
+ readonly type: "string";
788
+ readonly enum: readonly ["exact", "fuzzy"];
789
+ };
790
+ };
791
+ };
792
+ readonly "code.find_symbol": {
793
+ readonly type: "object";
794
+ readonly properties: {
795
+ readonly symbol: {
796
+ readonly type: "string";
797
+ readonly minLength: 1;
798
+ };
799
+ readonly language: {
800
+ readonly anyOf: readonly [{
801
+ readonly $ref: "#/$defs/PublicLanguage";
802
+ }, {
803
+ readonly type: "null";
804
+ }];
805
+ readonly default: null;
806
+ };
807
+ readonly framework: {
808
+ readonly anyOf: readonly [{
809
+ readonly $ref: "#/$defs/PublicFramework";
810
+ }, {
811
+ readonly type: "null";
812
+ }];
813
+ readonly default: null;
814
+ };
815
+ readonly kind: {
816
+ readonly allOf: readonly [{
817
+ readonly $ref: "#/$defs/PublicSymbolKind";
818
+ }];
819
+ readonly default: "any";
820
+ };
821
+ readonly match: {
822
+ readonly allOf: readonly [{
823
+ readonly $ref: "#/$defs/MatchMode";
824
+ }];
825
+ readonly default: "exact";
826
+ };
827
+ readonly path: {
828
+ readonly anyOf: readonly [{
829
+ readonly type: "string";
830
+ }, {
831
+ readonly type: "null";
832
+ }];
833
+ readonly default: null;
834
+ };
835
+ readonly limit: {
836
+ readonly type: "integer";
837
+ readonly default: 50;
838
+ readonly minimum: 1;
839
+ readonly maximum: 200;
840
+ };
841
+ };
842
+ readonly required: readonly ["symbol"];
843
+ readonly $defs: {
844
+ readonly PublicLanguage: {
845
+ readonly type: "string";
846
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
847
+ };
848
+ readonly PublicFramework: {
849
+ readonly type: "string";
850
+ readonly enum: readonly ["react-router", "spring"];
851
+ };
852
+ readonly PublicEndpointKind: {
853
+ readonly type: "string";
854
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
855
+ };
856
+ readonly PublicSymbolKind: {
857
+ readonly type: "string";
858
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
859
+ };
860
+ readonly MatchMode: {
861
+ readonly type: "string";
862
+ readonly enum: readonly ["exact", "fuzzy"];
863
+ };
864
+ };
865
+ };
866
+ readonly "code.search_text": {
867
+ readonly type: "object";
868
+ readonly properties: {
869
+ readonly query: {
870
+ readonly type: "string";
871
+ readonly minLength: 1;
872
+ };
873
+ readonly path: {
874
+ readonly anyOf: readonly [{
875
+ readonly type: "string";
876
+ }, {
877
+ readonly type: "null";
878
+ }];
879
+ readonly default: null;
880
+ };
881
+ readonly language: {
882
+ readonly anyOf: readonly [{
883
+ readonly $ref: "#/$defs/PublicLanguage";
884
+ }, {
885
+ readonly type: "null";
886
+ }];
887
+ readonly default: null;
888
+ };
889
+ readonly framework: {
890
+ readonly anyOf: readonly [{
891
+ readonly $ref: "#/$defs/PublicFramework";
892
+ }, {
893
+ readonly type: "null";
894
+ }];
895
+ readonly default: null;
896
+ };
897
+ readonly include: {
898
+ readonly anyOf: readonly [{
899
+ readonly type: "string";
900
+ }, {
901
+ readonly type: "null";
902
+ }];
903
+ readonly default: null;
904
+ };
905
+ readonly regex: {
906
+ readonly type: "boolean";
907
+ readonly default: false;
908
+ };
909
+ readonly context: {
910
+ readonly type: "integer";
911
+ readonly default: 1;
912
+ readonly minimum: 0;
913
+ readonly maximum: 10;
914
+ };
915
+ readonly limit: {
916
+ readonly type: "integer";
917
+ readonly default: 50;
918
+ readonly minimum: 1;
919
+ readonly maximum: 200;
920
+ };
921
+ };
922
+ readonly required: readonly ["query"];
923
+ readonly $defs: {
924
+ readonly PublicLanguage: {
925
+ readonly type: "string";
926
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
927
+ };
928
+ readonly PublicFramework: {
929
+ readonly type: "string";
930
+ readonly enum: readonly ["react-router", "spring"];
931
+ };
932
+ readonly PublicEndpointKind: {
933
+ readonly type: "string";
934
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
935
+ };
936
+ readonly PublicSymbolKind: {
937
+ readonly type: "string";
938
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
939
+ };
940
+ readonly MatchMode: {
941
+ readonly type: "string";
942
+ readonly enum: readonly ["exact", "fuzzy"];
943
+ };
944
+ };
945
+ };
946
+ readonly "code.trace_symbol": {
947
+ readonly type: "object";
948
+ readonly properties: {
949
+ readonly path: {
950
+ readonly type: "string";
951
+ readonly minLength: 1;
952
+ };
953
+ readonly symbol: {
954
+ readonly type: "string";
955
+ readonly minLength: 1;
956
+ };
957
+ readonly language: {
958
+ readonly anyOf: readonly [{
959
+ readonly $ref: "#/$defs/PublicLanguage";
960
+ }, {
961
+ readonly type: "null";
962
+ }];
963
+ readonly default: null;
964
+ };
965
+ readonly framework: {
966
+ readonly anyOf: readonly [{
967
+ readonly $ref: "#/$defs/PublicFramework";
968
+ }, {
969
+ readonly type: "null";
970
+ }];
971
+ readonly default: null;
972
+ };
973
+ };
974
+ readonly required: readonly ["path", "symbol"];
975
+ readonly $defs: {
976
+ readonly PublicLanguage: {
977
+ readonly type: "string";
978
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
979
+ };
980
+ readonly PublicFramework: {
981
+ readonly type: "string";
982
+ readonly enum: readonly ["react-router", "spring"];
983
+ };
984
+ readonly PublicEndpointKind: {
985
+ readonly type: "string";
986
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
987
+ };
988
+ readonly PublicSymbolKind: {
989
+ readonly type: "string";
990
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
991
+ };
992
+ readonly MatchMode: {
993
+ readonly type: "string";
994
+ readonly enum: readonly ["exact", "fuzzy"];
995
+ };
996
+ };
997
+ };
998
+ readonly "code.trace_callers": {
999
+ readonly type: "object";
1000
+ readonly properties: {
1001
+ readonly path: {
1002
+ readonly type: "string";
1003
+ readonly minLength: 1;
1004
+ };
1005
+ readonly symbol: {
1006
+ readonly type: "string";
1007
+ readonly minLength: 1;
1008
+ };
1009
+ readonly language: {
1010
+ readonly anyOf: readonly [{
1011
+ readonly $ref: "#/$defs/PublicLanguage";
1012
+ }, {
1013
+ readonly type: "null";
1014
+ }];
1015
+ readonly default: null;
1016
+ };
1017
+ readonly framework: {
1018
+ readonly anyOf: readonly [{
1019
+ readonly $ref: "#/$defs/PublicFramework";
1020
+ }, {
1021
+ readonly type: "null";
1022
+ }];
1023
+ readonly default: null;
1024
+ };
1025
+ readonly recursive: {
1026
+ readonly type: "boolean";
1027
+ readonly default: false;
1028
+ };
1029
+ readonly max_depth: {
1030
+ readonly anyOf: readonly [{
1031
+ readonly type: "integer";
1032
+ readonly minimum: 1;
1033
+ readonly maximum: 8;
1034
+ }, {
1035
+ readonly type: "null";
1036
+ }];
1037
+ readonly default: null;
1038
+ };
1039
+ };
1040
+ readonly required: readonly ["path", "symbol"];
1041
+ readonly $defs: {
1042
+ readonly PublicLanguage: {
1043
+ readonly type: "string";
1044
+ readonly enum: readonly ["typescript", "javascript", "java", "python", "rust"];
1045
+ };
1046
+ readonly PublicFramework: {
1047
+ readonly type: "string";
1048
+ readonly enum: readonly ["react-router", "spring"];
1049
+ };
1050
+ readonly PublicEndpointKind: {
1051
+ readonly type: "string";
1052
+ readonly enum: readonly ["any", "graphql", "rest", "route"];
1053
+ };
1054
+ readonly PublicSymbolKind: {
1055
+ readonly type: "string";
1056
+ readonly enum: readonly ["any", "class", "interface", "function", "method", "type", "enum", "constructor", "annotation"];
1057
+ };
1058
+ readonly MatchMode: {
1059
+ readonly type: "string";
1060
+ readonly enum: readonly ["exact", "fuzzy"];
1061
+ };
1062
+ };
1063
+ };
1064
+ };
1065
+ export declare function normalizeInspectTreeInput(payload: Record<string, unknown>): {
1066
+ ok: true;
1067
+ value: InspectTreeInput;
1068
+ } | {
1069
+ ok: false;
1070
+ issues: ValidationIssue[];
1071
+ };
1072
+ export declare function normalizeFindSymbolInput(payload: Record<string, unknown>): {
1073
+ ok: true;
1074
+ value: FindSymbolInput;
1075
+ } | {
1076
+ ok: false;
1077
+ issues: ValidationIssue[];
1078
+ };
1079
+ export declare function normalizeListEndpointsInput(payload: Record<string, unknown>): {
1080
+ ok: true;
1081
+ value: ListEndpointsInput;
1082
+ } | {
1083
+ ok: false;
1084
+ issues: ValidationIssue[];
1085
+ };
1086
+ export declare function normalizeSearchTextInput(payload: Record<string, unknown>): {
1087
+ ok: true;
1088
+ value: SearchTextInput;
1089
+ } | {
1090
+ ok: false;
1091
+ issues: ValidationIssue[];
1092
+ };
1093
+ export declare function normalizeTraceSymbolInput(payload: Record<string, unknown>): {
1094
+ ok: true;
1095
+ value: TraceSymbolInput;
1096
+ } | {
1097
+ ok: false;
1098
+ issues: ValidationIssue[];
1099
+ };
1100
+ export declare function normalizeTraceCallersInput(payload: Record<string, unknown>): {
1101
+ ok: true;
1102
+ value: TraceCallersInput;
1103
+ } | {
1104
+ ok: false;
1105
+ issues: ValidationIssue[];
1106
+ };