@zhanglc77/bitbucket-mcp-server 1.0.1

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