@zhanglc77/bitbucket-mcp-server 1.0.12 → 1.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/handlers/pull-request-handlers.d.ts.map +1 -1
  3. package/build/handlers/pull-request-handlers.js +12 -5
  4. package/build/handlers/pull-request-handlers.js.map +1 -1
  5. package/build/handlers/resource-handlers.d.ts +20 -0
  6. package/build/handlers/resource-handlers.d.ts.map +1 -0
  7. package/build/handlers/resource-handlers.js +32 -0
  8. package/build/handlers/resource-handlers.js.map +1 -0
  9. package/build/index.d.ts +1245 -4
  10. package/build/index.d.ts.map +1 -1
  11. package/build/index.js +25 -96
  12. package/build/index.js.map +1 -1
  13. package/build/resources/field-schemas.d.ts +11 -108
  14. package/build/resources/field-schemas.d.ts.map +1 -1
  15. package/build/resources/field-schemas.js +174 -871
  16. package/build/resources/field-schemas.js.map +1 -1
  17. package/build/resources/resource-definitions.d.ts +19 -0
  18. package/build/resources/resource-definitions.d.ts.map +1 -0
  19. package/build/resources/resource-definitions.js +328 -0
  20. package/build/resources/resource-definitions.js.map +1 -0
  21. package/build/tools/definitions.d.ts +19 -0
  22. package/build/tools/definitions.d.ts.map +1 -1
  23. package/build/tools/definitions.js +5 -1
  24. package/build/tools/definitions.js.map +1 -1
  25. package/build/types/bitbucket.d.ts +2 -0
  26. package/build/types/bitbucket.d.ts.map +1 -1
  27. package/build/types/guards.d.ts +1 -0
  28. package/build/types/guards.d.ts.map +1 -1
  29. package/build/types/guards.js +2 -1
  30. package/build/types/guards.js.map +1 -1
  31. package/build/utils/field-filter.d.ts +42 -0
  32. package/build/utils/field-filter.d.ts.map +1 -0
  33. package/build/utils/field-filter.js +228 -0
  34. package/build/utils/field-filter.js.map +1 -0
  35. package/build/utils/formatters.d.ts.map +1 -1
  36. package/build/utils/formatters.js +2 -0
  37. package/build/utils/formatters.js.map +1 -1
  38. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -10,10 +10,1251 @@ export declare class BitbucketMCPServer {
10
10
  private resourceHandlers;
11
11
  constructor();
12
12
  private setupToolHandlers;
13
- /**
14
- * Convert tool response to resource response format
15
- */
16
- private convertToolResponseToResource;
13
+ private setupResourceHandlers;
14
+ getCapabilities(): {
15
+ tools: {};
16
+ resources: {};
17
+ };
18
+ listTools(): Promise<{
19
+ tools: ({
20
+ name: string;
21
+ description: string;
22
+ inputSchema: {
23
+ type: string;
24
+ properties: {
25
+ workspace: {
26
+ type: string;
27
+ description: string;
28
+ };
29
+ repository: {
30
+ type: string;
31
+ description: string;
32
+ };
33
+ pull_request_id: {
34
+ type: string;
35
+ description: string;
36
+ };
37
+ state?: undefined;
38
+ author?: undefined;
39
+ reviewer?: undefined;
40
+ limit?: undefined;
41
+ start?: undefined;
42
+ fields?: undefined;
43
+ title?: undefined;
44
+ source_branch?: undefined;
45
+ destination_branch?: undefined;
46
+ description?: undefined;
47
+ reviewers?: undefined;
48
+ close_source_branch?: undefined;
49
+ comment_text?: undefined;
50
+ parent_comment_id?: undefined;
51
+ file_path?: undefined;
52
+ line_number?: undefined;
53
+ line_type?: undefined;
54
+ suggestion?: undefined;
55
+ suggestion_end_line?: undefined;
56
+ code_snippet?: undefined;
57
+ search_context?: undefined;
58
+ match_strategy?: undefined;
59
+ merge_strategy?: undefined;
60
+ commit_message?: undefined;
61
+ filter?: undefined;
62
+ branch_name?: undefined;
63
+ force?: undefined;
64
+ context_lines?: undefined;
65
+ include_patterns?: undefined;
66
+ exclude_patterns?: undefined;
67
+ comment?: undefined;
68
+ include_merged_prs?: undefined;
69
+ path?: undefined;
70
+ branch?: undefined;
71
+ start_line?: undefined;
72
+ line_count?: undefined;
73
+ full_content?: undefined;
74
+ since?: undefined;
75
+ until?: undefined;
76
+ include_merge_commits?: undefined;
77
+ search?: undefined;
78
+ search_query?: undefined;
79
+ file_pattern?: undefined;
80
+ };
81
+ required: string[];
82
+ };
83
+ } | {
84
+ name: string;
85
+ description: string;
86
+ inputSchema: {
87
+ type: string;
88
+ properties: {
89
+ workspace: {
90
+ type: string;
91
+ description: string;
92
+ };
93
+ repository: {
94
+ type: string;
95
+ description: string;
96
+ };
97
+ state: {
98
+ type: string;
99
+ description: string;
100
+ enum: string[];
101
+ };
102
+ author: {
103
+ type: string;
104
+ description: string;
105
+ };
106
+ reviewer: {
107
+ type: string;
108
+ description: string;
109
+ };
110
+ limit: {
111
+ type: string;
112
+ description: string;
113
+ };
114
+ start: {
115
+ type: string;
116
+ description: string;
117
+ };
118
+ fields: {
119
+ type: string;
120
+ description: string;
121
+ };
122
+ pull_request_id?: undefined;
123
+ title?: undefined;
124
+ source_branch?: undefined;
125
+ destination_branch?: undefined;
126
+ description?: undefined;
127
+ reviewers?: undefined;
128
+ close_source_branch?: undefined;
129
+ comment_text?: undefined;
130
+ parent_comment_id?: undefined;
131
+ file_path?: undefined;
132
+ line_number?: undefined;
133
+ line_type?: undefined;
134
+ suggestion?: undefined;
135
+ suggestion_end_line?: undefined;
136
+ code_snippet?: undefined;
137
+ search_context?: undefined;
138
+ match_strategy?: undefined;
139
+ merge_strategy?: undefined;
140
+ commit_message?: undefined;
141
+ filter?: undefined;
142
+ branch_name?: undefined;
143
+ force?: undefined;
144
+ context_lines?: undefined;
145
+ include_patterns?: undefined;
146
+ exclude_patterns?: undefined;
147
+ comment?: undefined;
148
+ include_merged_prs?: undefined;
149
+ path?: undefined;
150
+ branch?: undefined;
151
+ start_line?: undefined;
152
+ line_count?: undefined;
153
+ full_content?: undefined;
154
+ since?: undefined;
155
+ until?: undefined;
156
+ include_merge_commits?: undefined;
157
+ search?: undefined;
158
+ search_query?: undefined;
159
+ file_pattern?: undefined;
160
+ };
161
+ required: string[];
162
+ };
163
+ } | {
164
+ name: string;
165
+ description: string;
166
+ inputSchema: {
167
+ type: string;
168
+ properties: {
169
+ workspace: {
170
+ type: string;
171
+ description: string;
172
+ };
173
+ repository: {
174
+ type: string;
175
+ description: string;
176
+ };
177
+ title: {
178
+ type: string;
179
+ description: string;
180
+ };
181
+ source_branch: {
182
+ type: string;
183
+ description: string;
184
+ };
185
+ destination_branch: {
186
+ type: string;
187
+ description: string;
188
+ };
189
+ description: {
190
+ type: string;
191
+ description: string;
192
+ };
193
+ reviewers: {
194
+ type: string;
195
+ items: {
196
+ type: string;
197
+ };
198
+ description: string;
199
+ };
200
+ close_source_branch: {
201
+ type: string;
202
+ description: string;
203
+ };
204
+ pull_request_id?: undefined;
205
+ state?: undefined;
206
+ author?: undefined;
207
+ reviewer?: undefined;
208
+ limit?: undefined;
209
+ start?: undefined;
210
+ fields?: undefined;
211
+ comment_text?: undefined;
212
+ parent_comment_id?: undefined;
213
+ file_path?: undefined;
214
+ line_number?: undefined;
215
+ line_type?: undefined;
216
+ suggestion?: undefined;
217
+ suggestion_end_line?: undefined;
218
+ code_snippet?: undefined;
219
+ search_context?: undefined;
220
+ match_strategy?: undefined;
221
+ merge_strategy?: undefined;
222
+ commit_message?: undefined;
223
+ filter?: undefined;
224
+ branch_name?: undefined;
225
+ force?: undefined;
226
+ context_lines?: undefined;
227
+ include_patterns?: undefined;
228
+ exclude_patterns?: undefined;
229
+ comment?: undefined;
230
+ include_merged_prs?: undefined;
231
+ path?: undefined;
232
+ branch?: undefined;
233
+ start_line?: undefined;
234
+ line_count?: undefined;
235
+ full_content?: undefined;
236
+ since?: undefined;
237
+ until?: undefined;
238
+ include_merge_commits?: undefined;
239
+ search?: undefined;
240
+ search_query?: undefined;
241
+ file_pattern?: undefined;
242
+ };
243
+ required: string[];
244
+ };
245
+ } | {
246
+ name: string;
247
+ description: string;
248
+ inputSchema: {
249
+ type: string;
250
+ properties: {
251
+ workspace: {
252
+ type: string;
253
+ description: string;
254
+ };
255
+ repository: {
256
+ type: string;
257
+ description: string;
258
+ };
259
+ pull_request_id: {
260
+ type: string;
261
+ description: string;
262
+ };
263
+ title: {
264
+ type: string;
265
+ description: string;
266
+ };
267
+ description: {
268
+ type: string;
269
+ description: string;
270
+ };
271
+ destination_branch: {
272
+ type: string;
273
+ description: string;
274
+ };
275
+ reviewers: {
276
+ type: string;
277
+ items: {
278
+ type: string;
279
+ };
280
+ description: string;
281
+ };
282
+ state?: undefined;
283
+ author?: undefined;
284
+ reviewer?: undefined;
285
+ limit?: undefined;
286
+ start?: undefined;
287
+ fields?: undefined;
288
+ source_branch?: undefined;
289
+ close_source_branch?: undefined;
290
+ comment_text?: undefined;
291
+ parent_comment_id?: undefined;
292
+ file_path?: undefined;
293
+ line_number?: undefined;
294
+ line_type?: undefined;
295
+ suggestion?: undefined;
296
+ suggestion_end_line?: undefined;
297
+ code_snippet?: undefined;
298
+ search_context?: undefined;
299
+ match_strategy?: undefined;
300
+ merge_strategy?: undefined;
301
+ commit_message?: undefined;
302
+ filter?: undefined;
303
+ branch_name?: undefined;
304
+ force?: undefined;
305
+ context_lines?: undefined;
306
+ include_patterns?: undefined;
307
+ exclude_patterns?: undefined;
308
+ comment?: undefined;
309
+ include_merged_prs?: undefined;
310
+ path?: undefined;
311
+ branch?: undefined;
312
+ start_line?: undefined;
313
+ line_count?: undefined;
314
+ full_content?: undefined;
315
+ since?: undefined;
316
+ until?: undefined;
317
+ include_merge_commits?: undefined;
318
+ search?: undefined;
319
+ search_query?: undefined;
320
+ file_pattern?: undefined;
321
+ };
322
+ required: string[];
323
+ };
324
+ } | {
325
+ name: string;
326
+ description: string;
327
+ inputSchema: {
328
+ type: string;
329
+ properties: {
330
+ workspace: {
331
+ type: string;
332
+ description: string;
333
+ };
334
+ repository: {
335
+ type: string;
336
+ description: string;
337
+ };
338
+ pull_request_id: {
339
+ type: string;
340
+ description: string;
341
+ };
342
+ comment_text: {
343
+ type: string;
344
+ description: string;
345
+ };
346
+ parent_comment_id: {
347
+ type: string;
348
+ description: string;
349
+ };
350
+ file_path: {
351
+ type: string;
352
+ description: string;
353
+ };
354
+ line_number: {
355
+ type: string;
356
+ description: string;
357
+ };
358
+ line_type: {
359
+ type: string;
360
+ description: string;
361
+ enum: string[];
362
+ };
363
+ suggestion: {
364
+ type: string;
365
+ description: string;
366
+ };
367
+ suggestion_end_line: {
368
+ type: string;
369
+ description: string;
370
+ };
371
+ code_snippet: {
372
+ type: string;
373
+ description: string;
374
+ };
375
+ search_context: {
376
+ type: string;
377
+ properties: {
378
+ before: {
379
+ type: string;
380
+ items: {
381
+ type: string;
382
+ };
383
+ description: string;
384
+ };
385
+ after: {
386
+ type: string;
387
+ items: {
388
+ type: string;
389
+ };
390
+ description: string;
391
+ };
392
+ };
393
+ description: string;
394
+ enum?: undefined;
395
+ };
396
+ match_strategy: {
397
+ type: string;
398
+ enum: string[];
399
+ description: string;
400
+ };
401
+ state?: undefined;
402
+ author?: undefined;
403
+ reviewer?: undefined;
404
+ limit?: undefined;
405
+ start?: undefined;
406
+ fields?: undefined;
407
+ title?: undefined;
408
+ source_branch?: undefined;
409
+ destination_branch?: undefined;
410
+ description?: undefined;
411
+ reviewers?: undefined;
412
+ close_source_branch?: undefined;
413
+ merge_strategy?: undefined;
414
+ commit_message?: undefined;
415
+ filter?: undefined;
416
+ branch_name?: undefined;
417
+ force?: undefined;
418
+ context_lines?: undefined;
419
+ include_patterns?: undefined;
420
+ exclude_patterns?: undefined;
421
+ comment?: undefined;
422
+ include_merged_prs?: undefined;
423
+ path?: undefined;
424
+ branch?: undefined;
425
+ start_line?: undefined;
426
+ line_count?: undefined;
427
+ full_content?: undefined;
428
+ since?: undefined;
429
+ until?: undefined;
430
+ include_merge_commits?: undefined;
431
+ search?: undefined;
432
+ search_query?: undefined;
433
+ file_pattern?: undefined;
434
+ };
435
+ required: string[];
436
+ };
437
+ } | {
438
+ name: string;
439
+ description: string;
440
+ inputSchema: {
441
+ type: string;
442
+ properties: {
443
+ workspace: {
444
+ type: string;
445
+ description: string;
446
+ };
447
+ repository: {
448
+ type: string;
449
+ description: string;
450
+ };
451
+ pull_request_id: {
452
+ type: string;
453
+ description: string;
454
+ };
455
+ merge_strategy: {
456
+ type: string;
457
+ description: string;
458
+ enum: string[];
459
+ };
460
+ close_source_branch: {
461
+ type: string;
462
+ description: string;
463
+ };
464
+ commit_message: {
465
+ type: string;
466
+ description: string;
467
+ };
468
+ state?: undefined;
469
+ author?: undefined;
470
+ reviewer?: undefined;
471
+ limit?: undefined;
472
+ start?: undefined;
473
+ fields?: undefined;
474
+ title?: undefined;
475
+ source_branch?: undefined;
476
+ destination_branch?: undefined;
477
+ description?: undefined;
478
+ reviewers?: undefined;
479
+ comment_text?: undefined;
480
+ parent_comment_id?: undefined;
481
+ file_path?: undefined;
482
+ line_number?: undefined;
483
+ line_type?: undefined;
484
+ suggestion?: undefined;
485
+ suggestion_end_line?: undefined;
486
+ code_snippet?: undefined;
487
+ search_context?: undefined;
488
+ match_strategy?: undefined;
489
+ filter?: undefined;
490
+ branch_name?: undefined;
491
+ force?: undefined;
492
+ context_lines?: undefined;
493
+ include_patterns?: undefined;
494
+ exclude_patterns?: undefined;
495
+ comment?: undefined;
496
+ include_merged_prs?: undefined;
497
+ path?: undefined;
498
+ branch?: undefined;
499
+ start_line?: undefined;
500
+ line_count?: undefined;
501
+ full_content?: undefined;
502
+ since?: undefined;
503
+ until?: undefined;
504
+ include_merge_commits?: undefined;
505
+ search?: undefined;
506
+ search_query?: undefined;
507
+ file_pattern?: undefined;
508
+ };
509
+ required: string[];
510
+ };
511
+ } | {
512
+ name: string;
513
+ description: string;
514
+ inputSchema: {
515
+ type: string;
516
+ properties: {
517
+ workspace: {
518
+ type: string;
519
+ description: string;
520
+ };
521
+ repository: {
522
+ type: string;
523
+ description: string;
524
+ };
525
+ filter: {
526
+ type: string;
527
+ description: string;
528
+ };
529
+ limit: {
530
+ type: string;
531
+ description: string;
532
+ };
533
+ start: {
534
+ type: string;
535
+ description: string;
536
+ };
537
+ pull_request_id?: undefined;
538
+ state?: undefined;
539
+ author?: undefined;
540
+ reviewer?: undefined;
541
+ fields?: undefined;
542
+ title?: undefined;
543
+ source_branch?: undefined;
544
+ destination_branch?: undefined;
545
+ description?: undefined;
546
+ reviewers?: undefined;
547
+ close_source_branch?: undefined;
548
+ comment_text?: undefined;
549
+ parent_comment_id?: undefined;
550
+ file_path?: undefined;
551
+ line_number?: undefined;
552
+ line_type?: undefined;
553
+ suggestion?: undefined;
554
+ suggestion_end_line?: undefined;
555
+ code_snippet?: undefined;
556
+ search_context?: undefined;
557
+ match_strategy?: undefined;
558
+ merge_strategy?: undefined;
559
+ commit_message?: undefined;
560
+ branch_name?: undefined;
561
+ force?: undefined;
562
+ context_lines?: undefined;
563
+ include_patterns?: undefined;
564
+ exclude_patterns?: undefined;
565
+ comment?: undefined;
566
+ include_merged_prs?: undefined;
567
+ path?: undefined;
568
+ branch?: undefined;
569
+ start_line?: undefined;
570
+ line_count?: undefined;
571
+ full_content?: undefined;
572
+ since?: undefined;
573
+ until?: undefined;
574
+ include_merge_commits?: undefined;
575
+ search?: undefined;
576
+ search_query?: undefined;
577
+ file_pattern?: undefined;
578
+ };
579
+ required: string[];
580
+ };
581
+ } | {
582
+ name: string;
583
+ description: string;
584
+ inputSchema: {
585
+ type: string;
586
+ properties: {
587
+ workspace: {
588
+ type: string;
589
+ description: string;
590
+ };
591
+ repository: {
592
+ type: string;
593
+ description: string;
594
+ };
595
+ branch_name: {
596
+ type: string;
597
+ description: string;
598
+ };
599
+ force: {
600
+ type: string;
601
+ description: string;
602
+ };
603
+ pull_request_id?: undefined;
604
+ state?: undefined;
605
+ author?: undefined;
606
+ reviewer?: undefined;
607
+ limit?: undefined;
608
+ start?: undefined;
609
+ fields?: undefined;
610
+ title?: undefined;
611
+ source_branch?: undefined;
612
+ destination_branch?: undefined;
613
+ description?: undefined;
614
+ reviewers?: undefined;
615
+ close_source_branch?: undefined;
616
+ comment_text?: undefined;
617
+ parent_comment_id?: undefined;
618
+ file_path?: undefined;
619
+ line_number?: undefined;
620
+ line_type?: undefined;
621
+ suggestion?: undefined;
622
+ suggestion_end_line?: undefined;
623
+ code_snippet?: undefined;
624
+ search_context?: undefined;
625
+ match_strategy?: undefined;
626
+ merge_strategy?: undefined;
627
+ commit_message?: undefined;
628
+ filter?: undefined;
629
+ context_lines?: undefined;
630
+ include_patterns?: undefined;
631
+ exclude_patterns?: undefined;
632
+ comment?: undefined;
633
+ include_merged_prs?: undefined;
634
+ path?: undefined;
635
+ branch?: undefined;
636
+ start_line?: undefined;
637
+ line_count?: undefined;
638
+ full_content?: undefined;
639
+ since?: undefined;
640
+ until?: undefined;
641
+ include_merge_commits?: undefined;
642
+ search?: undefined;
643
+ search_query?: undefined;
644
+ file_pattern?: undefined;
645
+ };
646
+ required: string[];
647
+ };
648
+ } | {
649
+ name: string;
650
+ description: string;
651
+ inputSchema: {
652
+ type: string;
653
+ properties: {
654
+ workspace: {
655
+ type: string;
656
+ description: string;
657
+ };
658
+ repository: {
659
+ type: string;
660
+ description: string;
661
+ };
662
+ pull_request_id: {
663
+ type: string;
664
+ description: string;
665
+ };
666
+ context_lines: {
667
+ type: string;
668
+ description: string;
669
+ };
670
+ include_patterns: {
671
+ type: string;
672
+ items: {
673
+ type: string;
674
+ };
675
+ description: string;
676
+ };
677
+ exclude_patterns: {
678
+ type: string;
679
+ items: {
680
+ type: string;
681
+ };
682
+ description: string;
683
+ };
684
+ file_path: {
685
+ type: string;
686
+ description: string;
687
+ };
688
+ state?: undefined;
689
+ author?: undefined;
690
+ reviewer?: undefined;
691
+ limit?: undefined;
692
+ start?: undefined;
693
+ fields?: undefined;
694
+ title?: undefined;
695
+ source_branch?: undefined;
696
+ destination_branch?: undefined;
697
+ description?: undefined;
698
+ reviewers?: undefined;
699
+ close_source_branch?: undefined;
700
+ comment_text?: undefined;
701
+ parent_comment_id?: undefined;
702
+ line_number?: undefined;
703
+ line_type?: undefined;
704
+ suggestion?: undefined;
705
+ suggestion_end_line?: undefined;
706
+ code_snippet?: undefined;
707
+ search_context?: undefined;
708
+ match_strategy?: undefined;
709
+ merge_strategy?: undefined;
710
+ commit_message?: undefined;
711
+ filter?: undefined;
712
+ branch_name?: undefined;
713
+ force?: undefined;
714
+ comment?: undefined;
715
+ include_merged_prs?: undefined;
716
+ path?: undefined;
717
+ branch?: undefined;
718
+ start_line?: undefined;
719
+ line_count?: undefined;
720
+ full_content?: undefined;
721
+ since?: undefined;
722
+ until?: undefined;
723
+ include_merge_commits?: undefined;
724
+ search?: undefined;
725
+ search_query?: undefined;
726
+ file_pattern?: undefined;
727
+ };
728
+ required: string[];
729
+ };
730
+ } | {
731
+ name: string;
732
+ description: string;
733
+ inputSchema: {
734
+ type: string;
735
+ properties: {
736
+ workspace: {
737
+ type: string;
738
+ description: string;
739
+ };
740
+ repository: {
741
+ type: string;
742
+ description: string;
743
+ };
744
+ pull_request_id: {
745
+ type: string;
746
+ description: string;
747
+ };
748
+ comment: {
749
+ type: string;
750
+ description: string;
751
+ };
752
+ state?: undefined;
753
+ author?: undefined;
754
+ reviewer?: undefined;
755
+ limit?: undefined;
756
+ start?: undefined;
757
+ fields?: undefined;
758
+ title?: undefined;
759
+ source_branch?: undefined;
760
+ destination_branch?: undefined;
761
+ description?: undefined;
762
+ reviewers?: undefined;
763
+ close_source_branch?: undefined;
764
+ comment_text?: undefined;
765
+ parent_comment_id?: undefined;
766
+ file_path?: undefined;
767
+ line_number?: undefined;
768
+ line_type?: undefined;
769
+ suggestion?: undefined;
770
+ suggestion_end_line?: undefined;
771
+ code_snippet?: undefined;
772
+ search_context?: undefined;
773
+ match_strategy?: undefined;
774
+ merge_strategy?: undefined;
775
+ commit_message?: undefined;
776
+ filter?: undefined;
777
+ branch_name?: undefined;
778
+ force?: undefined;
779
+ context_lines?: undefined;
780
+ include_patterns?: undefined;
781
+ exclude_patterns?: undefined;
782
+ include_merged_prs?: undefined;
783
+ path?: undefined;
784
+ branch?: undefined;
785
+ start_line?: undefined;
786
+ line_count?: undefined;
787
+ full_content?: undefined;
788
+ since?: undefined;
789
+ until?: undefined;
790
+ include_merge_commits?: undefined;
791
+ search?: undefined;
792
+ search_query?: undefined;
793
+ file_pattern?: undefined;
794
+ };
795
+ required: string[];
796
+ };
797
+ } | {
798
+ name: string;
799
+ description: string;
800
+ inputSchema: {
801
+ type: string;
802
+ properties: {
803
+ workspace: {
804
+ type: string;
805
+ description: string;
806
+ };
807
+ repository: {
808
+ type: string;
809
+ description: string;
810
+ };
811
+ branch_name: {
812
+ type: string;
813
+ description: string;
814
+ };
815
+ include_merged_prs: {
816
+ type: string;
817
+ description: string;
818
+ };
819
+ pull_request_id?: undefined;
820
+ state?: undefined;
821
+ author?: undefined;
822
+ reviewer?: undefined;
823
+ limit?: undefined;
824
+ start?: undefined;
825
+ fields?: undefined;
826
+ title?: undefined;
827
+ source_branch?: undefined;
828
+ destination_branch?: undefined;
829
+ description?: undefined;
830
+ reviewers?: undefined;
831
+ close_source_branch?: undefined;
832
+ comment_text?: undefined;
833
+ parent_comment_id?: undefined;
834
+ file_path?: undefined;
835
+ line_number?: undefined;
836
+ line_type?: undefined;
837
+ suggestion?: undefined;
838
+ suggestion_end_line?: undefined;
839
+ code_snippet?: undefined;
840
+ search_context?: undefined;
841
+ match_strategy?: undefined;
842
+ merge_strategy?: undefined;
843
+ commit_message?: undefined;
844
+ filter?: undefined;
845
+ force?: undefined;
846
+ context_lines?: undefined;
847
+ include_patterns?: undefined;
848
+ exclude_patterns?: undefined;
849
+ comment?: undefined;
850
+ path?: undefined;
851
+ branch?: undefined;
852
+ start_line?: undefined;
853
+ line_count?: undefined;
854
+ full_content?: undefined;
855
+ since?: undefined;
856
+ until?: undefined;
857
+ include_merge_commits?: undefined;
858
+ search?: undefined;
859
+ search_query?: undefined;
860
+ file_pattern?: undefined;
861
+ };
862
+ required: string[];
863
+ };
864
+ } | {
865
+ name: string;
866
+ description: string;
867
+ inputSchema: {
868
+ type: string;
869
+ properties: {
870
+ workspace: {
871
+ type: string;
872
+ description: string;
873
+ };
874
+ repository: {
875
+ type: string;
876
+ description: string;
877
+ };
878
+ path: {
879
+ type: string;
880
+ description: string;
881
+ };
882
+ branch: {
883
+ type: string;
884
+ description: string;
885
+ };
886
+ pull_request_id?: undefined;
887
+ state?: undefined;
888
+ author?: undefined;
889
+ reviewer?: undefined;
890
+ limit?: undefined;
891
+ start?: undefined;
892
+ fields?: undefined;
893
+ title?: undefined;
894
+ source_branch?: undefined;
895
+ destination_branch?: undefined;
896
+ description?: undefined;
897
+ reviewers?: undefined;
898
+ close_source_branch?: undefined;
899
+ comment_text?: undefined;
900
+ parent_comment_id?: undefined;
901
+ file_path?: undefined;
902
+ line_number?: undefined;
903
+ line_type?: undefined;
904
+ suggestion?: undefined;
905
+ suggestion_end_line?: undefined;
906
+ code_snippet?: undefined;
907
+ search_context?: undefined;
908
+ match_strategy?: undefined;
909
+ merge_strategy?: undefined;
910
+ commit_message?: undefined;
911
+ filter?: undefined;
912
+ branch_name?: undefined;
913
+ force?: undefined;
914
+ context_lines?: undefined;
915
+ include_patterns?: undefined;
916
+ exclude_patterns?: undefined;
917
+ comment?: undefined;
918
+ include_merged_prs?: undefined;
919
+ start_line?: undefined;
920
+ line_count?: undefined;
921
+ full_content?: undefined;
922
+ since?: undefined;
923
+ until?: undefined;
924
+ include_merge_commits?: undefined;
925
+ search?: undefined;
926
+ search_query?: undefined;
927
+ file_pattern?: undefined;
928
+ };
929
+ required: string[];
930
+ };
931
+ } | {
932
+ name: string;
933
+ description: string;
934
+ inputSchema: {
935
+ type: string;
936
+ properties: {
937
+ workspace: {
938
+ type: string;
939
+ description: string;
940
+ };
941
+ repository: {
942
+ type: string;
943
+ description: string;
944
+ };
945
+ file_path: {
946
+ type: string;
947
+ description: string;
948
+ };
949
+ branch: {
950
+ type: string;
951
+ description: string;
952
+ };
953
+ start_line: {
954
+ type: string;
955
+ description: string;
956
+ };
957
+ line_count: {
958
+ type: string;
959
+ description: string;
960
+ };
961
+ full_content: {
962
+ type: string;
963
+ description: string;
964
+ };
965
+ pull_request_id?: undefined;
966
+ state?: undefined;
967
+ author?: undefined;
968
+ reviewer?: undefined;
969
+ limit?: undefined;
970
+ start?: undefined;
971
+ fields?: undefined;
972
+ title?: undefined;
973
+ source_branch?: undefined;
974
+ destination_branch?: undefined;
975
+ description?: undefined;
976
+ reviewers?: undefined;
977
+ close_source_branch?: undefined;
978
+ comment_text?: undefined;
979
+ parent_comment_id?: undefined;
980
+ line_number?: undefined;
981
+ line_type?: undefined;
982
+ suggestion?: undefined;
983
+ suggestion_end_line?: undefined;
984
+ code_snippet?: undefined;
985
+ search_context?: undefined;
986
+ match_strategy?: undefined;
987
+ merge_strategy?: undefined;
988
+ commit_message?: undefined;
989
+ filter?: undefined;
990
+ branch_name?: undefined;
991
+ force?: undefined;
992
+ context_lines?: undefined;
993
+ include_patterns?: undefined;
994
+ exclude_patterns?: undefined;
995
+ comment?: undefined;
996
+ include_merged_prs?: undefined;
997
+ path?: undefined;
998
+ since?: undefined;
999
+ until?: undefined;
1000
+ include_merge_commits?: undefined;
1001
+ search?: undefined;
1002
+ search_query?: undefined;
1003
+ file_pattern?: undefined;
1004
+ };
1005
+ required: string[];
1006
+ };
1007
+ } | {
1008
+ name: string;
1009
+ description: string;
1010
+ inputSchema: {
1011
+ type: string;
1012
+ properties: {
1013
+ workspace: {
1014
+ type: string;
1015
+ description: string;
1016
+ };
1017
+ repository: {
1018
+ type: string;
1019
+ description: string;
1020
+ };
1021
+ branch_name: {
1022
+ type: string;
1023
+ description: string;
1024
+ };
1025
+ limit: {
1026
+ type: string;
1027
+ description: string;
1028
+ };
1029
+ start: {
1030
+ type: string;
1031
+ description: string;
1032
+ };
1033
+ since: {
1034
+ type: string;
1035
+ description: string;
1036
+ };
1037
+ until: {
1038
+ type: string;
1039
+ description: string;
1040
+ };
1041
+ author: {
1042
+ type: string;
1043
+ description: string;
1044
+ };
1045
+ include_merge_commits: {
1046
+ type: string;
1047
+ description: string;
1048
+ };
1049
+ search: {
1050
+ type: string;
1051
+ description: string;
1052
+ };
1053
+ pull_request_id?: undefined;
1054
+ state?: undefined;
1055
+ reviewer?: undefined;
1056
+ fields?: undefined;
1057
+ title?: undefined;
1058
+ source_branch?: undefined;
1059
+ destination_branch?: undefined;
1060
+ description?: undefined;
1061
+ reviewers?: undefined;
1062
+ close_source_branch?: undefined;
1063
+ comment_text?: undefined;
1064
+ parent_comment_id?: undefined;
1065
+ file_path?: undefined;
1066
+ line_number?: undefined;
1067
+ line_type?: undefined;
1068
+ suggestion?: undefined;
1069
+ suggestion_end_line?: undefined;
1070
+ code_snippet?: undefined;
1071
+ search_context?: undefined;
1072
+ match_strategy?: undefined;
1073
+ merge_strategy?: undefined;
1074
+ commit_message?: undefined;
1075
+ filter?: undefined;
1076
+ force?: undefined;
1077
+ context_lines?: undefined;
1078
+ include_patterns?: undefined;
1079
+ exclude_patterns?: undefined;
1080
+ comment?: undefined;
1081
+ include_merged_prs?: undefined;
1082
+ path?: undefined;
1083
+ branch?: undefined;
1084
+ start_line?: undefined;
1085
+ line_count?: undefined;
1086
+ full_content?: undefined;
1087
+ search_query?: undefined;
1088
+ file_pattern?: undefined;
1089
+ };
1090
+ required: string[];
1091
+ };
1092
+ } | {
1093
+ name: string;
1094
+ description: string;
1095
+ inputSchema: {
1096
+ type: string;
1097
+ properties: {
1098
+ workspace: {
1099
+ type: string;
1100
+ description: string;
1101
+ };
1102
+ repository: {
1103
+ type: string;
1104
+ description: string;
1105
+ };
1106
+ pull_request_id: {
1107
+ type: string;
1108
+ description: string;
1109
+ };
1110
+ limit: {
1111
+ type: string;
1112
+ description: string;
1113
+ };
1114
+ start: {
1115
+ type: string;
1116
+ description: string;
1117
+ };
1118
+ state?: undefined;
1119
+ author?: undefined;
1120
+ reviewer?: undefined;
1121
+ fields?: undefined;
1122
+ title?: undefined;
1123
+ source_branch?: undefined;
1124
+ destination_branch?: undefined;
1125
+ description?: undefined;
1126
+ reviewers?: undefined;
1127
+ close_source_branch?: undefined;
1128
+ comment_text?: undefined;
1129
+ parent_comment_id?: undefined;
1130
+ file_path?: undefined;
1131
+ line_number?: undefined;
1132
+ line_type?: undefined;
1133
+ suggestion?: undefined;
1134
+ suggestion_end_line?: undefined;
1135
+ code_snippet?: undefined;
1136
+ search_context?: undefined;
1137
+ match_strategy?: undefined;
1138
+ merge_strategy?: undefined;
1139
+ commit_message?: undefined;
1140
+ filter?: undefined;
1141
+ branch_name?: undefined;
1142
+ force?: undefined;
1143
+ context_lines?: undefined;
1144
+ include_patterns?: undefined;
1145
+ exclude_patterns?: undefined;
1146
+ comment?: undefined;
1147
+ include_merged_prs?: undefined;
1148
+ path?: undefined;
1149
+ branch?: undefined;
1150
+ start_line?: undefined;
1151
+ line_count?: undefined;
1152
+ full_content?: undefined;
1153
+ since?: undefined;
1154
+ until?: undefined;
1155
+ include_merge_commits?: undefined;
1156
+ search?: undefined;
1157
+ search_query?: undefined;
1158
+ file_pattern?: undefined;
1159
+ };
1160
+ required: string[];
1161
+ };
1162
+ } | {
1163
+ name: string;
1164
+ description: string;
1165
+ inputSchema: {
1166
+ type: string;
1167
+ properties: {
1168
+ workspace: {
1169
+ type: string;
1170
+ description: string;
1171
+ };
1172
+ repository: {
1173
+ type: string;
1174
+ description: string;
1175
+ };
1176
+ search_query: {
1177
+ type: string;
1178
+ description: string;
1179
+ };
1180
+ search_context: {
1181
+ type: string;
1182
+ enum: string[];
1183
+ description: string;
1184
+ properties?: undefined;
1185
+ };
1186
+ file_pattern: {
1187
+ type: string;
1188
+ description: string;
1189
+ };
1190
+ include_patterns: {
1191
+ type: string;
1192
+ items: {
1193
+ type: string;
1194
+ };
1195
+ description: string;
1196
+ };
1197
+ limit: {
1198
+ type: string;
1199
+ description: string;
1200
+ };
1201
+ start: {
1202
+ type: string;
1203
+ description: string;
1204
+ };
1205
+ pull_request_id?: undefined;
1206
+ state?: undefined;
1207
+ author?: undefined;
1208
+ reviewer?: undefined;
1209
+ fields?: undefined;
1210
+ title?: undefined;
1211
+ source_branch?: undefined;
1212
+ destination_branch?: undefined;
1213
+ description?: undefined;
1214
+ reviewers?: undefined;
1215
+ close_source_branch?: undefined;
1216
+ comment_text?: undefined;
1217
+ parent_comment_id?: undefined;
1218
+ file_path?: undefined;
1219
+ line_number?: undefined;
1220
+ line_type?: undefined;
1221
+ suggestion?: undefined;
1222
+ suggestion_end_line?: undefined;
1223
+ code_snippet?: undefined;
1224
+ match_strategy?: undefined;
1225
+ merge_strategy?: undefined;
1226
+ commit_message?: undefined;
1227
+ filter?: undefined;
1228
+ branch_name?: undefined;
1229
+ force?: undefined;
1230
+ context_lines?: undefined;
1231
+ exclude_patterns?: undefined;
1232
+ comment?: undefined;
1233
+ include_merged_prs?: undefined;
1234
+ path?: undefined;
1235
+ branch?: undefined;
1236
+ start_line?: undefined;
1237
+ line_count?: undefined;
1238
+ full_content?: undefined;
1239
+ since?: undefined;
1240
+ until?: undefined;
1241
+ include_merge_commits?: undefined;
1242
+ search?: undefined;
1243
+ };
1244
+ required: string[];
1245
+ };
1246
+ })[];
1247
+ }>;
1248
+ listResources(): Promise<{
1249
+ resources: import("./resources/resource-definitions.js").Resource[];
1250
+ resourceTemplates: import("./resources/resource-definitions.js").ResourceTemplate[];
1251
+ }>;
1252
+ readResource(uri: string): Promise<{
1253
+ contents: {
1254
+ type: "text";
1255
+ text: string;
1256
+ }[];
1257
+ }>;
17
1258
  run(): Promise<void>;
18
1259
  }
19
1260
  //# sourceMappingURL=index.d.ts.map