boomtick-cli 0.2.1__py3-none-any.whl
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.
- boomtick_cli-0.2.1.dist-info/METADATA +20 -0
- boomtick_cli-0.2.1.dist-info/RECORD +103 -0
- boomtick_cli-0.2.1.dist-info/WHEEL +5 -0
- boomtick_cli-0.2.1.dist-info/entry_points.txt +3 -0
- boomtick_cli-0.2.1.dist-info/top_level.txt +1 -0
- dev_tools/__init__.py +1 -0
- dev_tools/cli-schema.json +2028 -0
- dev_tools/cli.py +1542 -0
- dev_tools/config.py +235 -0
- dev_tools/constants.py +14 -0
- dev_tools/daemon.py +146 -0
- dev_tools/dist/config.js +108 -0
- dev_tools/dist/index.js +10 -0
- dev_tools/dist/lib/error_utils.js +8 -0
- dev_tools/dist/lib/git.js +31 -0
- dev_tools/dist/lib/result.js +21 -0
- dev_tools/dist/lib/shell.js +91 -0
- dev_tools/dist/lib/shell.test.js +10 -0
- dev_tools/dist/lib/td-cli.js +27 -0
- dev_tools/dist/lib/test-utils.js +20 -0
- dev_tools/dist/mcp/definitions.js +242 -0
- dev_tools/dist/mcp/server.js +317 -0
- dev_tools/dist/mcp/tools.js +18 -0
- dev_tools/dist/tools/contract.js +2069 -0
- dev_tools/dist/tools/ddgs.search.js +50 -0
- dev_tools/dist/tools/ddgs.search.test.js +67 -0
- dev_tools/dist/tools/ddgs_search.py +23 -0
- dev_tools/dist/tools/github.checkout_branch.js +20 -0
- dev_tools/dist/tools/github.comment_triage_summary.js +25 -0
- dev_tools/dist/tools/github.create_issue.js +28 -0
- dev_tools/dist/tools/github.create_issue.test.js +54 -0
- dev_tools/dist/tools/github.create_pull_request.js +44 -0
- dev_tools/dist/tools/github.get_merge_conflict_files.js +26 -0
- dev_tools/dist/tools/github.get_pr.js +18 -0
- dev_tools/dist/tools/github.get_pr_diff.js +24 -0
- dev_tools/dist/tools/github.issue_comment.js +24 -0
- dev_tools/dist/tools/github.issue_update.js +29 -0
- dev_tools/dist/tools/github.issue_view.js +28 -0
- dev_tools/dist/tools/github.open_replacement_pr.js +41 -0
- dev_tools/dist/tools/github.search_open_prs.js +31 -0
- dev_tools/dist/tools/github.search_open_prs.test.js +51 -0
- dev_tools/dist/tools/jules/cancel-session.js +20 -0
- dev_tools/dist/tools/jules/create-session.js +20 -0
- dev_tools/dist/tools/jules/create-session.test.js +99 -0
- dev_tools/dist/tools/jules/get-messages.js +19 -0
- dev_tools/dist/tools/jules/get-messages.test.js +45 -0
- dev_tools/dist/tools/jules/get-pr.js +14 -0
- dev_tools/dist/tools/jules/get-pr.test.js +37 -0
- dev_tools/dist/tools/jules/get-session.js +10 -0
- dev_tools/dist/tools/jules/list-sessions.js +43 -0
- dev_tools/dist/tools/jules/send-message.js +22 -0
- dev_tools/dist/tools/jules/send-message.test.js +56 -0
- dev_tools/dist/tools/jules/shared.js +26 -0
- dev_tools/dist/tools/jules/trigger-feedback.js +16 -0
- dev_tools/dist/tools/jules/trigger-feedback.test.js +42 -0
- dev_tools/dist/tools/repo.commit_patch.js +33 -0
- dev_tools/dist/tools/repo.create_branch.js +21 -0
- dev_tools/dist/tools/repo.create_branch.test.js +42 -0
- dev_tools/dist/tools/repo.create_repair_branch.js +38 -0
- dev_tools/dist/tools/repo.get_changed_files.js +21 -0
- dev_tools/dist/tools/repo.get_command_schema.js +27 -0
- dev_tools/dist/tools/repo.get_package_scripts.js +35 -0
- dev_tools/dist/tools/repo.get_package_scripts.test.js +39 -0
- dev_tools/dist/tools/repo.get_route_map.js +37 -0
- dev_tools/dist/tools/repo.logs.js +16 -0
- dev_tools/dist/tools/repo.read_agent_context.js +20 -0
- dev_tools/dist/tools/repo.read_ci_logs.js +18 -0
- dev_tools/dist/tools/repo.run_lighthouse.js +37 -0
- dev_tools/dist/tools/repo.run_playwright.js +29 -0
- dev_tools/dist/tools/repo.run_tests.js +43 -0
- dev_tools/dist/tools/types.js +1 -0
- dev_tools/get_ai_context.py +63 -0
- dev_tools/handlers/__init__.py +1 -0
- dev_tools/handlers/command_handler.py +69 -0
- dev_tools/mcp_server.py +36 -0
- dev_tools/models.py +354 -0
- dev_tools/orchestrator.py +2841 -0
- dev_tools/pr_overlap.py +139 -0
- dev_tools/resources/__init__.py +1 -0
- dev_tools/resources/build-repo-context.py +182 -0
- dev_tools/resources/prompt_constants.json +5 -0
- dev_tools/resources/review_template.md +41 -0
- dev_tools/resources/ux-audit.config.json +15 -0
- dev_tools/resources/visual_guidelines.json +3 -0
- dev_tools/review_read_pass.py +232 -0
- dev_tools/schema_gen.py +55 -0
- dev_tools/schema_utils.py +125 -0
- dev_tools/scope_check.py +85 -0
- dev_tools/services/__init__.py +1 -0
- dev_tools/services/ai_service.py +816 -0
- dev_tools/services/dependency_graph.py +123 -0
- dev_tools/services/github.py +783 -0
- dev_tools/services/jules.py +181 -0
- dev_tools/services/repair_service.py +199 -0
- dev_tools/services/vector_store.py +82 -0
- dev_tools/services/vision_service.py +91 -0
- dev_tools/td_cli.py +28 -0
- dev_tools/utils/__init__.py +1035 -0
- dev_tools/utils/git.py +68 -0
- dev_tools/ux_report.py +213 -0
- dev_tools/verify_infra.py +91 -0
- dev_tools/verify_versions.py +191 -0
- dev_tools/version_utils.py +175 -0
|
@@ -0,0 +1,2069 @@
|
|
|
1
|
+
// Automatically generated by sync-contracts.ts. Do not edit manually.
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export const AIFileReviewSchema = z.object({ "file": z.string().describe("The path of the file being reviewed."), "issues": z.array(z.any()).describe("List of findings in this file.").optional(), "verdict": z.string().describe("The verdict for this file (ok, needs_changes, blocking).") });
|
|
4
|
+
export const AIFileReviewJsonSchema = {
|
|
5
|
+
"$defs": {
|
|
6
|
+
"AIReviewIssue": {
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": {
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "null"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"default": null,
|
|
18
|
+
"description": "Unique identifier for the finding.",
|
|
19
|
+
"title": "Id"
|
|
20
|
+
},
|
|
21
|
+
"line": {
|
|
22
|
+
"anyOf": [
|
|
23
|
+
{
|
|
24
|
+
"type": "integer"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "null"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"default": null,
|
|
31
|
+
"description": "Line number where the issue occurs.",
|
|
32
|
+
"title": "Line"
|
|
33
|
+
},
|
|
34
|
+
"file": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "null"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"default": null,
|
|
44
|
+
"description": "File path (if not already scoped by AIFileReview).",
|
|
45
|
+
"title": "File"
|
|
46
|
+
},
|
|
47
|
+
"severity": {
|
|
48
|
+
"description": "The severity level.",
|
|
49
|
+
"enum": [
|
|
50
|
+
"error",
|
|
51
|
+
"warn",
|
|
52
|
+
"info"
|
|
53
|
+
],
|
|
54
|
+
"title": "Severity",
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"issue": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "null"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"default": null,
|
|
67
|
+
"description": "Description of the issue (alternative to 'comment').",
|
|
68
|
+
"title": "Issue"
|
|
69
|
+
},
|
|
70
|
+
"comment": {
|
|
71
|
+
"anyOf": [
|
|
72
|
+
{
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "null"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"default": null,
|
|
80
|
+
"description": "Description of the issue.",
|
|
81
|
+
"title": "Comment"
|
|
82
|
+
},
|
|
83
|
+
"status": {
|
|
84
|
+
"anyOf": [
|
|
85
|
+
{
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "null"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"default": "open",
|
|
93
|
+
"description": "Status of the finding.",
|
|
94
|
+
"title": "Status"
|
|
95
|
+
},
|
|
96
|
+
"confidence": {
|
|
97
|
+
"description": "Confidence level of the AI.",
|
|
98
|
+
"enum": [
|
|
99
|
+
"high",
|
|
100
|
+
"medium",
|
|
101
|
+
"low"
|
|
102
|
+
],
|
|
103
|
+
"title": "Confidence",
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"counterexample": {
|
|
107
|
+
"anyOf": [
|
|
108
|
+
{
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "null"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"default": null,
|
|
116
|
+
"description": "Example of how to fix or why it fails.",
|
|
117
|
+
"title": "Counterexample"
|
|
118
|
+
},
|
|
119
|
+
"snippet": {
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "null"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"default": null,
|
|
129
|
+
"description": "The exact code snippet from the diff.",
|
|
130
|
+
"title": "Snippet"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"severity",
|
|
135
|
+
"confidence"
|
|
136
|
+
],
|
|
137
|
+
"title": "AIReviewIssue",
|
|
138
|
+
"type": "object"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"properties": {
|
|
142
|
+
"file": {
|
|
143
|
+
"description": "The path of the file being reviewed.",
|
|
144
|
+
"title": "File",
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"issues": {
|
|
148
|
+
"description": "List of findings in this file.",
|
|
149
|
+
"items": {
|
|
150
|
+
"$ref": "#/$defs/AIReviewIssue"
|
|
151
|
+
},
|
|
152
|
+
"title": "Issues",
|
|
153
|
+
"type": "array"
|
|
154
|
+
},
|
|
155
|
+
"verdict": {
|
|
156
|
+
"description": "The verdict for this file (ok, needs_changes, blocking).",
|
|
157
|
+
"title": "Verdict",
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": [
|
|
162
|
+
"file",
|
|
163
|
+
"verdict"
|
|
164
|
+
],
|
|
165
|
+
"title": "AIFileReview",
|
|
166
|
+
"type": "object"
|
|
167
|
+
};
|
|
168
|
+
export const AIFullReviewSchema = z.object({ "file_reviews": z.array(z.any()).describe("Per-file review results.").optional(), "reviewComment": z.string().describe("Overall summary comment for the PR."), "labels": z.array(z.string()).describe("Suggested labels for the PR.").optional(), "recommendation": z.string().describe("Final recommendation (Approved, Not Approved, etc).") });
|
|
169
|
+
export const AIFullReviewJsonSchema = {
|
|
170
|
+
"$defs": {
|
|
171
|
+
"AIFileReview": {
|
|
172
|
+
"properties": {
|
|
173
|
+
"file": {
|
|
174
|
+
"description": "The path of the file being reviewed.",
|
|
175
|
+
"title": "File",
|
|
176
|
+
"type": "string"
|
|
177
|
+
},
|
|
178
|
+
"issues": {
|
|
179
|
+
"description": "List of findings in this file.",
|
|
180
|
+
"items": {
|
|
181
|
+
"$ref": "#/$defs/AIReviewIssue"
|
|
182
|
+
},
|
|
183
|
+
"title": "Issues",
|
|
184
|
+
"type": "array"
|
|
185
|
+
},
|
|
186
|
+
"verdict": {
|
|
187
|
+
"description": "The verdict for this file (ok, needs_changes, blocking).",
|
|
188
|
+
"title": "Verdict",
|
|
189
|
+
"type": "string"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": [
|
|
193
|
+
"file",
|
|
194
|
+
"verdict"
|
|
195
|
+
],
|
|
196
|
+
"title": "AIFileReview",
|
|
197
|
+
"type": "object"
|
|
198
|
+
},
|
|
199
|
+
"AIReviewIssue": {
|
|
200
|
+
"properties": {
|
|
201
|
+
"id": {
|
|
202
|
+
"anyOf": [
|
|
203
|
+
{
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "null"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"default": null,
|
|
211
|
+
"description": "Unique identifier for the finding.",
|
|
212
|
+
"title": "Id"
|
|
213
|
+
},
|
|
214
|
+
"line": {
|
|
215
|
+
"anyOf": [
|
|
216
|
+
{
|
|
217
|
+
"type": "integer"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "null"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"default": null,
|
|
224
|
+
"description": "Line number where the issue occurs.",
|
|
225
|
+
"title": "Line"
|
|
226
|
+
},
|
|
227
|
+
"file": {
|
|
228
|
+
"anyOf": [
|
|
229
|
+
{
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "null"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"default": null,
|
|
237
|
+
"description": "File path (if not already scoped by AIFileReview).",
|
|
238
|
+
"title": "File"
|
|
239
|
+
},
|
|
240
|
+
"severity": {
|
|
241
|
+
"description": "The severity level.",
|
|
242
|
+
"enum": [
|
|
243
|
+
"error",
|
|
244
|
+
"warn",
|
|
245
|
+
"info"
|
|
246
|
+
],
|
|
247
|
+
"title": "Severity",
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"issue": {
|
|
251
|
+
"anyOf": [
|
|
252
|
+
{
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"type": "null"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"default": null,
|
|
260
|
+
"description": "Description of the issue (alternative to 'comment').",
|
|
261
|
+
"title": "Issue"
|
|
262
|
+
},
|
|
263
|
+
"comment": {
|
|
264
|
+
"anyOf": [
|
|
265
|
+
{
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "null"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"default": null,
|
|
273
|
+
"description": "Description of the issue.",
|
|
274
|
+
"title": "Comment"
|
|
275
|
+
},
|
|
276
|
+
"status": {
|
|
277
|
+
"anyOf": [
|
|
278
|
+
{
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": "null"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"default": "open",
|
|
286
|
+
"description": "Status of the finding.",
|
|
287
|
+
"title": "Status"
|
|
288
|
+
},
|
|
289
|
+
"confidence": {
|
|
290
|
+
"description": "Confidence level of the AI.",
|
|
291
|
+
"enum": [
|
|
292
|
+
"high",
|
|
293
|
+
"medium",
|
|
294
|
+
"low"
|
|
295
|
+
],
|
|
296
|
+
"title": "Confidence",
|
|
297
|
+
"type": "string"
|
|
298
|
+
},
|
|
299
|
+
"counterexample": {
|
|
300
|
+
"anyOf": [
|
|
301
|
+
{
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"type": "null"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"default": null,
|
|
309
|
+
"description": "Example of how to fix or why it fails.",
|
|
310
|
+
"title": "Counterexample"
|
|
311
|
+
},
|
|
312
|
+
"snippet": {
|
|
313
|
+
"anyOf": [
|
|
314
|
+
{
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"type": "null"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"default": null,
|
|
322
|
+
"description": "The exact code snippet from the diff.",
|
|
323
|
+
"title": "Snippet"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"required": [
|
|
327
|
+
"severity",
|
|
328
|
+
"confidence"
|
|
329
|
+
],
|
|
330
|
+
"title": "AIReviewIssue",
|
|
331
|
+
"type": "object"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"properties": {
|
|
335
|
+
"file_reviews": {
|
|
336
|
+
"description": "Per-file review results.",
|
|
337
|
+
"items": {
|
|
338
|
+
"$ref": "#/$defs/AIFileReview"
|
|
339
|
+
},
|
|
340
|
+
"title": "File Reviews",
|
|
341
|
+
"type": "array"
|
|
342
|
+
},
|
|
343
|
+
"reviewComment": {
|
|
344
|
+
"description": "Overall summary comment for the PR.",
|
|
345
|
+
"title": "Reviewcomment",
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"labels": {
|
|
349
|
+
"description": "Suggested labels for the PR.",
|
|
350
|
+
"items": {
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"title": "Labels",
|
|
354
|
+
"type": "array"
|
|
355
|
+
},
|
|
356
|
+
"recommendation": {
|
|
357
|
+
"description": "Final recommendation (Approved, Not Approved, etc).",
|
|
358
|
+
"title": "Recommendation",
|
|
359
|
+
"type": "string"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"required": [
|
|
363
|
+
"reviewComment",
|
|
364
|
+
"recommendation"
|
|
365
|
+
],
|
|
366
|
+
"title": "AIFullReview",
|
|
367
|
+
"type": "object"
|
|
368
|
+
};
|
|
369
|
+
export const AIReviewIssueSchema = z.object({ "id": z.union([z.string(), z.null()]).describe("Unique identifier for the finding.").default(null), "line": z.union([z.number().int(), z.null()]).describe("Line number where the issue occurs.").default(null), "file": z.union([z.string(), z.null()]).describe("File path (if not already scoped by AIFileReview).").default(null), "severity": z.enum(["error", "warn", "info"]).describe("The severity level."), "issue": z.union([z.string(), z.null()]).describe("Description of the issue (alternative to 'comment').").default(null), "comment": z.union([z.string(), z.null()]).describe("Description of the issue.").default(null), "status": z.union([z.string(), z.null()]).describe("Status of the finding.").default("open"), "confidence": z.enum(["high", "medium", "low"]).describe("Confidence level of the AI."), "counterexample": z.union([z.string(), z.null()]).describe("Example of how to fix or why it fails.").default(null), "snippet": z.union([z.string(), z.null()]).describe("The exact code snippet from the diff.").default(null) });
|
|
370
|
+
export const AIReviewIssueJsonSchema = {
|
|
371
|
+
"properties": {
|
|
372
|
+
"id": {
|
|
373
|
+
"anyOf": [
|
|
374
|
+
{
|
|
375
|
+
"type": "string"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "null"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"default": null,
|
|
382
|
+
"description": "Unique identifier for the finding.",
|
|
383
|
+
"title": "Id"
|
|
384
|
+
},
|
|
385
|
+
"line": {
|
|
386
|
+
"anyOf": [
|
|
387
|
+
{
|
|
388
|
+
"type": "integer"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"type": "null"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"default": null,
|
|
395
|
+
"description": "Line number where the issue occurs.",
|
|
396
|
+
"title": "Line"
|
|
397
|
+
},
|
|
398
|
+
"file": {
|
|
399
|
+
"anyOf": [
|
|
400
|
+
{
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"type": "null"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"default": null,
|
|
408
|
+
"description": "File path (if not already scoped by AIFileReview).",
|
|
409
|
+
"title": "File"
|
|
410
|
+
},
|
|
411
|
+
"severity": {
|
|
412
|
+
"description": "The severity level.",
|
|
413
|
+
"enum": [
|
|
414
|
+
"error",
|
|
415
|
+
"warn",
|
|
416
|
+
"info"
|
|
417
|
+
],
|
|
418
|
+
"title": "Severity",
|
|
419
|
+
"type": "string"
|
|
420
|
+
},
|
|
421
|
+
"issue": {
|
|
422
|
+
"anyOf": [
|
|
423
|
+
{
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "null"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"default": null,
|
|
431
|
+
"description": "Description of the issue (alternative to 'comment').",
|
|
432
|
+
"title": "Issue"
|
|
433
|
+
},
|
|
434
|
+
"comment": {
|
|
435
|
+
"anyOf": [
|
|
436
|
+
{
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": "null"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"default": null,
|
|
444
|
+
"description": "Description of the issue.",
|
|
445
|
+
"title": "Comment"
|
|
446
|
+
},
|
|
447
|
+
"status": {
|
|
448
|
+
"anyOf": [
|
|
449
|
+
{
|
|
450
|
+
"type": "string"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"type": "null"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"default": "open",
|
|
457
|
+
"description": "Status of the finding.",
|
|
458
|
+
"title": "Status"
|
|
459
|
+
},
|
|
460
|
+
"confidence": {
|
|
461
|
+
"description": "Confidence level of the AI.",
|
|
462
|
+
"enum": [
|
|
463
|
+
"high",
|
|
464
|
+
"medium",
|
|
465
|
+
"low"
|
|
466
|
+
],
|
|
467
|
+
"title": "Confidence",
|
|
468
|
+
"type": "string"
|
|
469
|
+
},
|
|
470
|
+
"counterexample": {
|
|
471
|
+
"anyOf": [
|
|
472
|
+
{
|
|
473
|
+
"type": "string"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"type": "null"
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"default": null,
|
|
480
|
+
"description": "Example of how to fix or why it fails.",
|
|
481
|
+
"title": "Counterexample"
|
|
482
|
+
},
|
|
483
|
+
"snippet": {
|
|
484
|
+
"anyOf": [
|
|
485
|
+
{
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"type": "null"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"default": null,
|
|
493
|
+
"description": "The exact code snippet from the diff.",
|
|
494
|
+
"title": "Snippet"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"required": [
|
|
498
|
+
"severity",
|
|
499
|
+
"confidence"
|
|
500
|
+
],
|
|
501
|
+
"title": "AIReviewIssue",
|
|
502
|
+
"type": "object"
|
|
503
|
+
};
|
|
504
|
+
export const AISynthesisReviewSchema = z.object({ "reviewComment": z.string().describe("Overall summary comment for the PR."), "labels": z.array(z.string()).describe("Suggested labels for the PR.").optional(), "recommendation": z.string().describe("Final recommendation.") });
|
|
505
|
+
export const AISynthesisReviewJsonSchema = {
|
|
506
|
+
"properties": {
|
|
507
|
+
"reviewComment": {
|
|
508
|
+
"description": "Overall summary comment for the PR.",
|
|
509
|
+
"title": "Reviewcomment",
|
|
510
|
+
"type": "string"
|
|
511
|
+
},
|
|
512
|
+
"labels": {
|
|
513
|
+
"description": "Suggested labels for the PR.",
|
|
514
|
+
"items": {
|
|
515
|
+
"type": "string"
|
|
516
|
+
},
|
|
517
|
+
"title": "Labels",
|
|
518
|
+
"type": "array"
|
|
519
|
+
},
|
|
520
|
+
"recommendation": {
|
|
521
|
+
"description": "Final recommendation.",
|
|
522
|
+
"title": "Recommendation",
|
|
523
|
+
"type": "string"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"required": [
|
|
527
|
+
"reviewComment",
|
|
528
|
+
"recommendation"
|
|
529
|
+
],
|
|
530
|
+
"title": "AISynthesisReview",
|
|
531
|
+
"type": "object"
|
|
532
|
+
};
|
|
533
|
+
export const CheckoutBranchInputSchema = z.object({ "branch": z.string().describe("The name of the branch to checkout."), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree to perform the checkout in.").default(null) });
|
|
534
|
+
export const CheckoutBranchInputJsonSchema = {
|
|
535
|
+
"properties": {
|
|
536
|
+
"branch": {
|
|
537
|
+
"description": "The name of the branch to checkout.",
|
|
538
|
+
"title": "Branch",
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"worktreePath": {
|
|
542
|
+
"anyOf": [
|
|
543
|
+
{
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"type": "null"
|
|
548
|
+
}
|
|
549
|
+
],
|
|
550
|
+
"default": null,
|
|
551
|
+
"description": "Optional path to the worktree to perform the checkout in.",
|
|
552
|
+
"title": "Worktreepath"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"required": [
|
|
556
|
+
"branch"
|
|
557
|
+
],
|
|
558
|
+
"title": "CheckoutBranchInput",
|
|
559
|
+
"type": "object"
|
|
560
|
+
};
|
|
561
|
+
export const CommentTriageSummaryInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the original PR to comment on."), "body": z.string().describe("The content of the comment.") });
|
|
562
|
+
export const CommentTriageSummaryInputJsonSchema = {
|
|
563
|
+
"properties": {
|
|
564
|
+
"prNumber": {
|
|
565
|
+
"description": "The number of the original PR to comment on.",
|
|
566
|
+
"title": "Prnumber",
|
|
567
|
+
"type": "integer"
|
|
568
|
+
},
|
|
569
|
+
"body": {
|
|
570
|
+
"description": "The content of the comment.",
|
|
571
|
+
"title": "Body",
|
|
572
|
+
"type": "string"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"required": [
|
|
576
|
+
"prNumber",
|
|
577
|
+
"body"
|
|
578
|
+
],
|
|
579
|
+
"title": "CommentTriageSummaryInput",
|
|
580
|
+
"type": "object"
|
|
581
|
+
};
|
|
582
|
+
export const CommitPatchInputSchema = z.object({ "worktreePath": z.string().describe("Path to the worktree where changes are made."), "message": z.string().describe("Commit message."), "allowedFiles": z.array(z.string()).describe("List of files that are allowed to be committed."), "writeMode": z.boolean().describe("Safety gate: Must be true to perform the commit.") });
|
|
583
|
+
export const CommitPatchInputJsonSchema = {
|
|
584
|
+
"properties": {
|
|
585
|
+
"worktreePath": {
|
|
586
|
+
"description": "Path to the worktree where changes are made.",
|
|
587
|
+
"title": "Worktreepath",
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"message": {
|
|
591
|
+
"description": "Commit message.",
|
|
592
|
+
"title": "Message",
|
|
593
|
+
"type": "string"
|
|
594
|
+
},
|
|
595
|
+
"allowedFiles": {
|
|
596
|
+
"description": "List of files that are allowed to be committed.",
|
|
597
|
+
"items": {
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"title": "Allowedfiles",
|
|
601
|
+
"type": "array"
|
|
602
|
+
},
|
|
603
|
+
"writeMode": {
|
|
604
|
+
"description": "Safety gate: Must be true to perform the commit.",
|
|
605
|
+
"title": "Writemode",
|
|
606
|
+
"type": "boolean"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"required": [
|
|
610
|
+
"worktreePath",
|
|
611
|
+
"message",
|
|
612
|
+
"allowedFiles",
|
|
613
|
+
"writeMode"
|
|
614
|
+
],
|
|
615
|
+
"title": "CommitPatchInput",
|
|
616
|
+
"type": "object"
|
|
617
|
+
};
|
|
618
|
+
export const CreateBranchInputSchema = z.object({ "branchName": z.string().describe("The name of the new branch"), "baseBranch": z.string().describe("Branch to branch off from").default("main") });
|
|
619
|
+
export const CreateBranchInputJsonSchema = {
|
|
620
|
+
"properties": {
|
|
621
|
+
"branchName": {
|
|
622
|
+
"description": "The name of the new branch",
|
|
623
|
+
"title": "Branchname",
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"baseBranch": {
|
|
627
|
+
"default": "main",
|
|
628
|
+
"description": "Branch to branch off from",
|
|
629
|
+
"title": "Basebranch",
|
|
630
|
+
"type": "string"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"required": [
|
|
634
|
+
"branchName"
|
|
635
|
+
],
|
|
636
|
+
"title": "CreateBranchInput",
|
|
637
|
+
"type": "object"
|
|
638
|
+
};
|
|
639
|
+
export const CreateIssueInputSchema = z.object({ "title": z.string().min(1), "body": z.union([z.string().min(1), z.null()]).default(null), "file": z.union([z.string().min(1), z.null()]).default(null) });
|
|
640
|
+
export const CreateIssueInputJsonSchema = {
|
|
641
|
+
"properties": {
|
|
642
|
+
"title": {
|
|
643
|
+
"minLength": 1,
|
|
644
|
+
"title": "Title",
|
|
645
|
+
"type": "string"
|
|
646
|
+
},
|
|
647
|
+
"body": {
|
|
648
|
+
"anyOf": [
|
|
649
|
+
{
|
|
650
|
+
"minLength": 1,
|
|
651
|
+
"type": "string"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"type": "null"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"default": null,
|
|
658
|
+
"title": "Body"
|
|
659
|
+
},
|
|
660
|
+
"file": {
|
|
661
|
+
"anyOf": [
|
|
662
|
+
{
|
|
663
|
+
"minLength": 1,
|
|
664
|
+
"type": "string"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"type": "null"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"default": null,
|
|
671
|
+
"title": "File"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"required": [
|
|
675
|
+
"title"
|
|
676
|
+
],
|
|
677
|
+
"title": "CreateIssueInput",
|
|
678
|
+
"type": "object"
|
|
679
|
+
};
|
|
680
|
+
export const CreateIssueResponseSchema = z.object({ "status": z.string().default("success"), "message": z.union([z.string(), z.null()]).default(null), "data": z.union([z.any(), z.null()]).default(null), "issue": z.union([z.any(), z.null()]).default(null) });
|
|
681
|
+
export const CreateIssueResponseJsonSchema = {
|
|
682
|
+
"$defs": {
|
|
683
|
+
"IssueSummary": {
|
|
684
|
+
"properties": {
|
|
685
|
+
"number": {
|
|
686
|
+
"title": "Number",
|
|
687
|
+
"type": "integer"
|
|
688
|
+
},
|
|
689
|
+
"title": {
|
|
690
|
+
"title": "Title",
|
|
691
|
+
"type": "string"
|
|
692
|
+
},
|
|
693
|
+
"html_url": {
|
|
694
|
+
"title": "Html Url",
|
|
695
|
+
"type": "string"
|
|
696
|
+
},
|
|
697
|
+
"state": {
|
|
698
|
+
"title": "State",
|
|
699
|
+
"type": "string"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"required": [
|
|
703
|
+
"number",
|
|
704
|
+
"title",
|
|
705
|
+
"html_url",
|
|
706
|
+
"state"
|
|
707
|
+
],
|
|
708
|
+
"title": "IssueSummary",
|
|
709
|
+
"type": "object"
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"properties": {
|
|
713
|
+
"status": {
|
|
714
|
+
"default": "success",
|
|
715
|
+
"title": "Status",
|
|
716
|
+
"type": "string"
|
|
717
|
+
},
|
|
718
|
+
"message": {
|
|
719
|
+
"anyOf": [
|
|
720
|
+
{
|
|
721
|
+
"type": "string"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"type": "null"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"default": null,
|
|
728
|
+
"title": "Message"
|
|
729
|
+
},
|
|
730
|
+
"data": {
|
|
731
|
+
"anyOf": [
|
|
732
|
+
{},
|
|
733
|
+
{
|
|
734
|
+
"type": "null"
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"default": null,
|
|
738
|
+
"title": "Data"
|
|
739
|
+
},
|
|
740
|
+
"issue": {
|
|
741
|
+
"anyOf": [
|
|
742
|
+
{
|
|
743
|
+
"$ref": "#/$defs/IssueSummary"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"type": "null"
|
|
747
|
+
}
|
|
748
|
+
],
|
|
749
|
+
"default": null
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"title": "CreateIssueResponse",
|
|
753
|
+
"type": "object"
|
|
754
|
+
};
|
|
755
|
+
export const CreateJulesSessionInputSchema = z.object({ "task": z.string().describe("The instructions for Jules."), "branch": z.union([z.string(), z.null()]).describe("The base branch to start from (e.g., 'main').").default(null), "pr": z.union([z.number().int(), z.null()]).describe("The PR number to use as the base branch context.").default(null) });
|
|
756
|
+
export const CreateJulesSessionInputJsonSchema = {
|
|
757
|
+
"properties": {
|
|
758
|
+
"task": {
|
|
759
|
+
"description": "The instructions for Jules.",
|
|
760
|
+
"title": "Task",
|
|
761
|
+
"type": "string"
|
|
762
|
+
},
|
|
763
|
+
"branch": {
|
|
764
|
+
"anyOf": [
|
|
765
|
+
{
|
|
766
|
+
"type": "string"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"type": "null"
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
"default": null,
|
|
773
|
+
"description": "The base branch to start from (e.g., 'main').",
|
|
774
|
+
"title": "Branch"
|
|
775
|
+
},
|
|
776
|
+
"pr": {
|
|
777
|
+
"anyOf": [
|
|
778
|
+
{
|
|
779
|
+
"type": "integer"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"type": "null"
|
|
783
|
+
}
|
|
784
|
+
],
|
|
785
|
+
"default": null,
|
|
786
|
+
"description": "The PR number to use as the base branch context.",
|
|
787
|
+
"title": "Pr"
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"required": [
|
|
791
|
+
"task"
|
|
792
|
+
],
|
|
793
|
+
"title": "CreateJulesSessionInput",
|
|
794
|
+
"type": "object"
|
|
795
|
+
};
|
|
796
|
+
export const CreatePullRequestInputSchema = z.object({ "title": z.string().describe("PR Title."), "body": z.string().describe("Description of changes."), "head": z.string().describe("The branch containing changes to merge."), "base": z.string().describe("The target branch to merge into.").default("main"), "draft": z.boolean().describe("Whether to create the PR as a draft.").default(false) });
|
|
797
|
+
export const CreatePullRequestInputJsonSchema = {
|
|
798
|
+
"properties": {
|
|
799
|
+
"title": {
|
|
800
|
+
"description": "PR Title.",
|
|
801
|
+
"title": "Title",
|
|
802
|
+
"type": "string"
|
|
803
|
+
},
|
|
804
|
+
"body": {
|
|
805
|
+
"description": "Description of changes.",
|
|
806
|
+
"title": "Body",
|
|
807
|
+
"type": "string"
|
|
808
|
+
},
|
|
809
|
+
"head": {
|
|
810
|
+
"description": "The branch containing changes to merge.",
|
|
811
|
+
"title": "Head",
|
|
812
|
+
"type": "string"
|
|
813
|
+
},
|
|
814
|
+
"base": {
|
|
815
|
+
"default": "main",
|
|
816
|
+
"description": "The target branch to merge into.",
|
|
817
|
+
"title": "Base",
|
|
818
|
+
"type": "string"
|
|
819
|
+
},
|
|
820
|
+
"draft": {
|
|
821
|
+
"default": false,
|
|
822
|
+
"description": "Whether to create the PR as a draft.",
|
|
823
|
+
"title": "Draft",
|
|
824
|
+
"type": "boolean"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"required": [
|
|
828
|
+
"title",
|
|
829
|
+
"body",
|
|
830
|
+
"head"
|
|
831
|
+
],
|
|
832
|
+
"title": "CreatePullRequestInput",
|
|
833
|
+
"type": "object"
|
|
834
|
+
};
|
|
835
|
+
export const CreateRepairBranchInputSchema = z.object({ "prNumber": z.number().int().describe("The original pull request number to repair."), "repairBranchName": z.union([z.string(), z.null()]).describe("Optional custom name for the new repair branch.").default(null), "writeMode": z.boolean().describe("Safety gate: Must be true to perform branch creation and worktree setup.") });
|
|
836
|
+
export const CreateRepairBranchInputJsonSchema = {
|
|
837
|
+
"properties": {
|
|
838
|
+
"prNumber": {
|
|
839
|
+
"description": "The original pull request number to repair.",
|
|
840
|
+
"title": "Prnumber",
|
|
841
|
+
"type": "integer"
|
|
842
|
+
},
|
|
843
|
+
"repairBranchName": {
|
|
844
|
+
"anyOf": [
|
|
845
|
+
{
|
|
846
|
+
"type": "string"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"type": "null"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"default": null,
|
|
853
|
+
"description": "Optional custom name for the new repair branch.",
|
|
854
|
+
"title": "Repairbranchname"
|
|
855
|
+
},
|
|
856
|
+
"writeMode": {
|
|
857
|
+
"description": "Safety gate: Must be true to perform branch creation and worktree setup.",
|
|
858
|
+
"title": "Writemode",
|
|
859
|
+
"type": "boolean"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"required": [
|
|
863
|
+
"prNumber",
|
|
864
|
+
"writeMode"
|
|
865
|
+
],
|
|
866
|
+
"title": "CreateRepairBranchInput",
|
|
867
|
+
"type": "object"
|
|
868
|
+
};
|
|
869
|
+
export const GetChangedFilesInputSchema = z.object({ "base": z.string().describe("The base ref to compare from (default: 'main').").default("main"), "head": z.string().describe("The head ref to compare to (default: 'HEAD').").default("HEAD") });
|
|
870
|
+
export const GetChangedFilesInputJsonSchema = {
|
|
871
|
+
"properties": {
|
|
872
|
+
"base": {
|
|
873
|
+
"default": "main",
|
|
874
|
+
"description": "The base ref to compare from (default: 'main').",
|
|
875
|
+
"title": "Base",
|
|
876
|
+
"type": "string"
|
|
877
|
+
},
|
|
878
|
+
"head": {
|
|
879
|
+
"default": "HEAD",
|
|
880
|
+
"description": "The head ref to compare to (default: 'HEAD').",
|
|
881
|
+
"title": "Head",
|
|
882
|
+
"type": "string"
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"title": "GetChangedFilesInput",
|
|
886
|
+
"type": "object"
|
|
887
|
+
};
|
|
888
|
+
export const GetCommandSchemaInputSchema = z.object({ "commandPath": z.string().describe("The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')") });
|
|
889
|
+
export const GetCommandSchemaInputJsonSchema = {
|
|
890
|
+
"properties": {
|
|
891
|
+
"commandPath": {
|
|
892
|
+
"description": "The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')",
|
|
893
|
+
"title": "Commandpath",
|
|
894
|
+
"type": "string"
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"required": [
|
|
898
|
+
"commandPath"
|
|
899
|
+
],
|
|
900
|
+
"title": "GetCommandSchemaInput",
|
|
901
|
+
"type": "object"
|
|
902
|
+
};
|
|
903
|
+
export const GetMergeConflictFilesInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to check for conflicts."), "baseBranch": z.string().describe("The base branch to check against (default: 'main').").default("main") });
|
|
904
|
+
export const GetMergeConflictFilesInputJsonSchema = {
|
|
905
|
+
"properties": {
|
|
906
|
+
"prNumber": {
|
|
907
|
+
"description": "The number of the pull request to check for conflicts.",
|
|
908
|
+
"title": "Prnumber",
|
|
909
|
+
"type": "integer"
|
|
910
|
+
},
|
|
911
|
+
"baseBranch": {
|
|
912
|
+
"default": "main",
|
|
913
|
+
"description": "The base branch to check against (default: 'main').",
|
|
914
|
+
"title": "Basebranch",
|
|
915
|
+
"type": "string"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"required": [
|
|
919
|
+
"prNumber"
|
|
920
|
+
],
|
|
921
|
+
"title": "GetMergeConflictFilesInput",
|
|
922
|
+
"type": "object"
|
|
923
|
+
};
|
|
924
|
+
export const GetPackageScriptsInputSchema = z.object({ "filter": z.union([z.string(), z.null()]).describe("Optional glob pattern to filter script names.").default(null) });
|
|
925
|
+
export const GetPackageScriptsInputJsonSchema = {
|
|
926
|
+
"properties": {
|
|
927
|
+
"filter": {
|
|
928
|
+
"anyOf": [
|
|
929
|
+
{
|
|
930
|
+
"type": "string"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"type": "null"
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"default": null,
|
|
937
|
+
"description": "Optional glob pattern to filter script names.",
|
|
938
|
+
"title": "Filter"
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"title": "GetPackageScriptsInput",
|
|
942
|
+
"type": "object"
|
|
943
|
+
};
|
|
944
|
+
export const GetPrDiffInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to get the diff for.") });
|
|
945
|
+
export const GetPrDiffInputJsonSchema = {
|
|
946
|
+
"properties": {
|
|
947
|
+
"prNumber": {
|
|
948
|
+
"description": "The number of the pull request to get the diff for.",
|
|
949
|
+
"title": "Prnumber",
|
|
950
|
+
"type": "integer"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
"required": [
|
|
954
|
+
"prNumber"
|
|
955
|
+
],
|
|
956
|
+
"title": "GetPrDiffInput",
|
|
957
|
+
"type": "object"
|
|
958
|
+
};
|
|
959
|
+
export const GetPrInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the PR to view.") });
|
|
960
|
+
export const GetPrInputJsonSchema = {
|
|
961
|
+
"properties": {
|
|
962
|
+
"prNumber": {
|
|
963
|
+
"description": "The number of the PR to view.",
|
|
964
|
+
"title": "Prnumber",
|
|
965
|
+
"type": "integer"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"required": [
|
|
969
|
+
"prNumber"
|
|
970
|
+
],
|
|
971
|
+
"title": "GetPrInput",
|
|
972
|
+
"type": "object"
|
|
973
|
+
};
|
|
974
|
+
export const GetRouteMapInputSchema = z.object({ "includeStatic": z.union([z.boolean(), z.null()]).describe("Whether to include static assets in the route map.").default(null) });
|
|
975
|
+
export const GetRouteMapInputJsonSchema = {
|
|
976
|
+
"properties": {
|
|
977
|
+
"includeStatic": {
|
|
978
|
+
"anyOf": [
|
|
979
|
+
{
|
|
980
|
+
"type": "boolean"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"type": "null"
|
|
984
|
+
}
|
|
985
|
+
],
|
|
986
|
+
"default": null,
|
|
987
|
+
"description": "Whether to include static assets in the route map.",
|
|
988
|
+
"title": "Includestatic"
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"title": "GetRouteMapInput",
|
|
992
|
+
"type": "object"
|
|
993
|
+
};
|
|
994
|
+
export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
|
|
995
|
+
export const HealthCheckInputJsonSchema = {
|
|
996
|
+
"properties": {
|
|
997
|
+
"checkDeep": {
|
|
998
|
+
"default": false,
|
|
999
|
+
"description": "Whether to perform a deep health check including external dependencies.",
|
|
1000
|
+
"title": "Checkdeep",
|
|
1001
|
+
"type": "boolean"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"title": "HealthCheckInput",
|
|
1005
|
+
"type": "object"
|
|
1006
|
+
};
|
|
1007
|
+
export const IssueCommentInputSchema = z.object({ "issueNumber": z.number().int().describe("The number of the issue to comment on."), "body": z.string().describe("The content of the comment.") });
|
|
1008
|
+
export const IssueCommentInputJsonSchema = {
|
|
1009
|
+
"properties": {
|
|
1010
|
+
"issueNumber": {
|
|
1011
|
+
"description": "The number of the issue to comment on.",
|
|
1012
|
+
"title": "Issuenumber",
|
|
1013
|
+
"type": "integer"
|
|
1014
|
+
},
|
|
1015
|
+
"body": {
|
|
1016
|
+
"description": "The content of the comment.",
|
|
1017
|
+
"title": "Body",
|
|
1018
|
+
"type": "string"
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"required": [
|
|
1022
|
+
"issueNumber",
|
|
1023
|
+
"body"
|
|
1024
|
+
],
|
|
1025
|
+
"title": "IssueCommentInput",
|
|
1026
|
+
"type": "object"
|
|
1027
|
+
};
|
|
1028
|
+
export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "html_url": z.string(), "state": z.string() });
|
|
1029
|
+
export const IssueSummaryJsonSchema = {
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"number": {
|
|
1032
|
+
"title": "Number",
|
|
1033
|
+
"type": "integer"
|
|
1034
|
+
},
|
|
1035
|
+
"title": {
|
|
1036
|
+
"title": "Title",
|
|
1037
|
+
"type": "string"
|
|
1038
|
+
},
|
|
1039
|
+
"html_url": {
|
|
1040
|
+
"title": "Html Url",
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
},
|
|
1043
|
+
"state": {
|
|
1044
|
+
"title": "State",
|
|
1045
|
+
"type": "string"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
"required": [
|
|
1049
|
+
"number",
|
|
1050
|
+
"title",
|
|
1051
|
+
"html_url",
|
|
1052
|
+
"state"
|
|
1053
|
+
],
|
|
1054
|
+
"title": "IssueSummary",
|
|
1055
|
+
"type": "object"
|
|
1056
|
+
};
|
|
1057
|
+
export const IssueUpdateInputSchema = z.object({ "issueNumber": z.number().int().describe("The number of the issue to update."), "body": z.union([z.string(), z.null()]).describe("The new body content for the issue.").default(null), "file": z.union([z.string(), z.null()]).describe("Path to file containing new issue body.").default(null), "labels": z.union([z.array(z.string()), z.null()]).describe("Comma-separated list of labels to set.").default(null), "addLabels": z.union([z.array(z.string()), z.null()]).describe("Comma-separated list of labels to add.").default(null), "removeLabels": z.union([z.array(z.string()), z.null()]).describe("Comma-separated list of labels to remove.").default(null), "state": z.union([z.string(), z.null()]).describe("The state to set the issue to (open or closed).").default(null) });
|
|
1058
|
+
export const IssueUpdateInputJsonSchema = {
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"issueNumber": {
|
|
1061
|
+
"description": "The number of the issue to update.",
|
|
1062
|
+
"title": "Issuenumber",
|
|
1063
|
+
"type": "integer"
|
|
1064
|
+
},
|
|
1065
|
+
"body": {
|
|
1066
|
+
"anyOf": [
|
|
1067
|
+
{
|
|
1068
|
+
"type": "string"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"type": "null"
|
|
1072
|
+
}
|
|
1073
|
+
],
|
|
1074
|
+
"default": null,
|
|
1075
|
+
"description": "The new body content for the issue.",
|
|
1076
|
+
"title": "Body"
|
|
1077
|
+
},
|
|
1078
|
+
"file": {
|
|
1079
|
+
"anyOf": [
|
|
1080
|
+
{
|
|
1081
|
+
"type": "string"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"type": "null"
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"default": null,
|
|
1088
|
+
"description": "Path to file containing new issue body.",
|
|
1089
|
+
"title": "File"
|
|
1090
|
+
},
|
|
1091
|
+
"labels": {
|
|
1092
|
+
"anyOf": [
|
|
1093
|
+
{
|
|
1094
|
+
"items": {
|
|
1095
|
+
"type": "string"
|
|
1096
|
+
},
|
|
1097
|
+
"type": "array"
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"type": "null"
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
"default": null,
|
|
1104
|
+
"description": "Comma-separated list of labels to set.",
|
|
1105
|
+
"title": "Labels"
|
|
1106
|
+
},
|
|
1107
|
+
"addLabels": {
|
|
1108
|
+
"anyOf": [
|
|
1109
|
+
{
|
|
1110
|
+
"items": {
|
|
1111
|
+
"type": "string"
|
|
1112
|
+
},
|
|
1113
|
+
"type": "array"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"type": "null"
|
|
1117
|
+
}
|
|
1118
|
+
],
|
|
1119
|
+
"default": null,
|
|
1120
|
+
"description": "Comma-separated list of labels to add.",
|
|
1121
|
+
"title": "Addlabels"
|
|
1122
|
+
},
|
|
1123
|
+
"removeLabels": {
|
|
1124
|
+
"anyOf": [
|
|
1125
|
+
{
|
|
1126
|
+
"items": {
|
|
1127
|
+
"type": "string"
|
|
1128
|
+
},
|
|
1129
|
+
"type": "array"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"type": "null"
|
|
1133
|
+
}
|
|
1134
|
+
],
|
|
1135
|
+
"default": null,
|
|
1136
|
+
"description": "Comma-separated list of labels to remove.",
|
|
1137
|
+
"title": "Removelabels"
|
|
1138
|
+
},
|
|
1139
|
+
"state": {
|
|
1140
|
+
"anyOf": [
|
|
1141
|
+
{
|
|
1142
|
+
"type": "string"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"type": "null"
|
|
1146
|
+
}
|
|
1147
|
+
],
|
|
1148
|
+
"default": null,
|
|
1149
|
+
"description": "The state to set the issue to (open or closed).",
|
|
1150
|
+
"title": "State"
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"required": [
|
|
1154
|
+
"issueNumber"
|
|
1155
|
+
],
|
|
1156
|
+
"title": "IssueUpdateInput",
|
|
1157
|
+
"type": "object"
|
|
1158
|
+
};
|
|
1159
|
+
export const IssueUpdateResponseSchema = z.object({ "status": z.string().default("success"), "message": z.union([z.string(), z.null()]).default(null), "data": z.union([z.any(), z.null()]).default(null), "issue": z.union([z.any(), z.null()]).default(null) });
|
|
1160
|
+
export const IssueUpdateResponseJsonSchema = {
|
|
1161
|
+
"$defs": {
|
|
1162
|
+
"IssueSummary": {
|
|
1163
|
+
"properties": {
|
|
1164
|
+
"number": {
|
|
1165
|
+
"title": "Number",
|
|
1166
|
+
"type": "integer"
|
|
1167
|
+
},
|
|
1168
|
+
"title": {
|
|
1169
|
+
"title": "Title",
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"html_url": {
|
|
1173
|
+
"title": "Html Url",
|
|
1174
|
+
"type": "string"
|
|
1175
|
+
},
|
|
1176
|
+
"state": {
|
|
1177
|
+
"title": "State",
|
|
1178
|
+
"type": "string"
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"required": [
|
|
1182
|
+
"number",
|
|
1183
|
+
"title",
|
|
1184
|
+
"html_url",
|
|
1185
|
+
"state"
|
|
1186
|
+
],
|
|
1187
|
+
"title": "IssueSummary",
|
|
1188
|
+
"type": "object"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"properties": {
|
|
1192
|
+
"status": {
|
|
1193
|
+
"default": "success",
|
|
1194
|
+
"title": "Status",
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
},
|
|
1197
|
+
"message": {
|
|
1198
|
+
"anyOf": [
|
|
1199
|
+
{
|
|
1200
|
+
"type": "string"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"type": "null"
|
|
1204
|
+
}
|
|
1205
|
+
],
|
|
1206
|
+
"default": null,
|
|
1207
|
+
"title": "Message"
|
|
1208
|
+
},
|
|
1209
|
+
"data": {
|
|
1210
|
+
"anyOf": [
|
|
1211
|
+
{},
|
|
1212
|
+
{
|
|
1213
|
+
"type": "null"
|
|
1214
|
+
}
|
|
1215
|
+
],
|
|
1216
|
+
"default": null,
|
|
1217
|
+
"title": "Data"
|
|
1218
|
+
},
|
|
1219
|
+
"issue": {
|
|
1220
|
+
"anyOf": [
|
|
1221
|
+
{
|
|
1222
|
+
"$ref": "#/$defs/IssueSummary"
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
"type": "null"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"default": null
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"title": "IssueUpdateResponse",
|
|
1232
|
+
"type": "object"
|
|
1233
|
+
};
|
|
1234
|
+
export const IssueViewInputSchema = z.object({ "issueNumber": z.number().int().describe("The number of the issue to view.") });
|
|
1235
|
+
export const IssueViewInputJsonSchema = {
|
|
1236
|
+
"properties": {
|
|
1237
|
+
"issueNumber": {
|
|
1238
|
+
"description": "The number of the issue to view.",
|
|
1239
|
+
"title": "Issuenumber",
|
|
1240
|
+
"type": "integer"
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
"required": [
|
|
1244
|
+
"issueNumber"
|
|
1245
|
+
],
|
|
1246
|
+
"title": "IssueViewInput",
|
|
1247
|
+
"type": "object"
|
|
1248
|
+
};
|
|
1249
|
+
export const JulesListSessionsInputSchema = z.object({ "pageSize": z.union([z.number().int(), z.null()]).describe("Maximum number of sessions to return.").default(null), "pageToken": z.union([z.string(), z.null()]).describe("Token for pagination.").default(null) });
|
|
1250
|
+
export const JulesListSessionsInputJsonSchema = {
|
|
1251
|
+
"properties": {
|
|
1252
|
+
"pageSize": {
|
|
1253
|
+
"anyOf": [
|
|
1254
|
+
{
|
|
1255
|
+
"type": "integer"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"type": "null"
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
1261
|
+
"default": null,
|
|
1262
|
+
"description": "Maximum number of sessions to return.",
|
|
1263
|
+
"title": "Pagesize"
|
|
1264
|
+
},
|
|
1265
|
+
"pageToken": {
|
|
1266
|
+
"anyOf": [
|
|
1267
|
+
{
|
|
1268
|
+
"type": "string"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"type": "null"
|
|
1272
|
+
}
|
|
1273
|
+
],
|
|
1274
|
+
"default": null,
|
|
1275
|
+
"description": "Token for pagination.",
|
|
1276
|
+
"title": "Pagetoken"
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"title": "JulesListSessionsInput",
|
|
1280
|
+
"type": "object"
|
|
1281
|
+
};
|
|
1282
|
+
export const JulesSendMessageInputSchema = z.object({ "sessionId": z.union([z.string(), z.array(z.string())]).describe("The unique ID or IDs of the Jules session(s)."), "message": z.string().min(1).describe("The message content to send.") });
|
|
1283
|
+
export const JulesSendMessageInputJsonSchema = {
|
|
1284
|
+
"properties": {
|
|
1285
|
+
"sessionId": {
|
|
1286
|
+
"anyOf": [
|
|
1287
|
+
{
|
|
1288
|
+
"type": "string"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"items": {
|
|
1292
|
+
"type": "string"
|
|
1293
|
+
},
|
|
1294
|
+
"type": "array"
|
|
1295
|
+
}
|
|
1296
|
+
],
|
|
1297
|
+
"description": "The unique ID or IDs of the Jules session(s).",
|
|
1298
|
+
"title": "Sessionid"
|
|
1299
|
+
},
|
|
1300
|
+
"message": {
|
|
1301
|
+
"description": "The message content to send.",
|
|
1302
|
+
"minLength": 1,
|
|
1303
|
+
"title": "Message",
|
|
1304
|
+
"type": "string"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
"required": [
|
|
1308
|
+
"sessionId",
|
|
1309
|
+
"message"
|
|
1310
|
+
],
|
|
1311
|
+
"title": "JulesSendMessageInput",
|
|
1312
|
+
"type": "object"
|
|
1313
|
+
};
|
|
1314
|
+
export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
|
|
1315
|
+
export const JulesSessionIdInputJsonSchema = {
|
|
1316
|
+
"properties": {
|
|
1317
|
+
"sessionId": {
|
|
1318
|
+
"description": "The unique ID of the Jules session.",
|
|
1319
|
+
"title": "Sessionid",
|
|
1320
|
+
"type": "string"
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"required": [
|
|
1324
|
+
"sessionId"
|
|
1325
|
+
],
|
|
1326
|
+
"title": "JulesSessionIdInput",
|
|
1327
|
+
"type": "object"
|
|
1328
|
+
};
|
|
1329
|
+
export const OpenReplacementPrInputSchema = z.object({ "originalPrNumber": z.number().int().describe("The number of the pull request being replaced."), "repairBranch": z.string().describe("The branch containing the fixes."), "baseBranch": z.string().describe("The branch to merge the fixes into."), "title": z.string().describe("The title of the new PR."), "body": z.string().describe("The body/description of the new PR."), "draft": z.boolean().describe("Whether to create the PR as a draft (default: true).").default(true), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree where the PR is created from.").default(null), "pushMode": z.boolean().describe("Safety gate: Must be true to push the branch and open the PR.") });
|
|
1330
|
+
export const OpenReplacementPrInputJsonSchema = {
|
|
1331
|
+
"properties": {
|
|
1332
|
+
"originalPrNumber": {
|
|
1333
|
+
"description": "The number of the pull request being replaced.",
|
|
1334
|
+
"title": "Originalprnumber",
|
|
1335
|
+
"type": "integer"
|
|
1336
|
+
},
|
|
1337
|
+
"repairBranch": {
|
|
1338
|
+
"description": "The branch containing the fixes.",
|
|
1339
|
+
"title": "Repairbranch",
|
|
1340
|
+
"type": "string"
|
|
1341
|
+
},
|
|
1342
|
+
"baseBranch": {
|
|
1343
|
+
"description": "The branch to merge the fixes into.",
|
|
1344
|
+
"title": "Basebranch",
|
|
1345
|
+
"type": "string"
|
|
1346
|
+
},
|
|
1347
|
+
"title": {
|
|
1348
|
+
"description": "The title of the new PR.",
|
|
1349
|
+
"title": "Title",
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"body": {
|
|
1353
|
+
"description": "The body/description of the new PR.",
|
|
1354
|
+
"title": "Body",
|
|
1355
|
+
"type": "string"
|
|
1356
|
+
},
|
|
1357
|
+
"draft": {
|
|
1358
|
+
"default": true,
|
|
1359
|
+
"description": "Whether to create the PR as a draft (default: true).",
|
|
1360
|
+
"title": "Draft",
|
|
1361
|
+
"type": "boolean"
|
|
1362
|
+
},
|
|
1363
|
+
"worktreePath": {
|
|
1364
|
+
"anyOf": [
|
|
1365
|
+
{
|
|
1366
|
+
"type": "string"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"type": "null"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"default": null,
|
|
1373
|
+
"description": "Optional path to the worktree where the PR is created from.",
|
|
1374
|
+
"title": "Worktreepath"
|
|
1375
|
+
},
|
|
1376
|
+
"pushMode": {
|
|
1377
|
+
"description": "Safety gate: Must be true to push the branch and open the PR.",
|
|
1378
|
+
"title": "Pushmode",
|
|
1379
|
+
"type": "boolean"
|
|
1380
|
+
}
|
|
1381
|
+
},
|
|
1382
|
+
"required": [
|
|
1383
|
+
"originalPrNumber",
|
|
1384
|
+
"repairBranch",
|
|
1385
|
+
"baseBranch",
|
|
1386
|
+
"title",
|
|
1387
|
+
"body",
|
|
1388
|
+
"pushMode"
|
|
1389
|
+
],
|
|
1390
|
+
"title": "OpenReplacementPrInput",
|
|
1391
|
+
"type": "object"
|
|
1392
|
+
};
|
|
1393
|
+
export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "created_at": z.string() });
|
|
1394
|
+
export const PRCommentJsonSchema = {
|
|
1395
|
+
"properties": {
|
|
1396
|
+
"user": {
|
|
1397
|
+
"title": "User",
|
|
1398
|
+
"type": "string"
|
|
1399
|
+
},
|
|
1400
|
+
"body": {
|
|
1401
|
+
"title": "Body",
|
|
1402
|
+
"type": "string"
|
|
1403
|
+
},
|
|
1404
|
+
"created_at": {
|
|
1405
|
+
"title": "Created At",
|
|
1406
|
+
"type": "string"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"required": [
|
|
1410
|
+
"user",
|
|
1411
|
+
"body",
|
|
1412
|
+
"created_at"
|
|
1413
|
+
],
|
|
1414
|
+
"title": "PRComment",
|
|
1415
|
+
"type": "object"
|
|
1416
|
+
};
|
|
1417
|
+
export const PRSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "author": z.record(z.string(), z.string()).optional(), "headRefName": z.union([z.string(), z.null()]).default(null), "baseRefName": z.union([z.string(), z.null()]).default(null), "isDraft": z.boolean().default(false), "mergeStateStatus": z.union([z.string(), z.null()]).default(null), "updatedAt": z.union([z.string(), z.null()]).default(null), "url": z.union([z.string(), z.null()]).default(null) });
|
|
1418
|
+
export const PRSummaryJsonSchema = {
|
|
1419
|
+
"properties": {
|
|
1420
|
+
"number": {
|
|
1421
|
+
"title": "Number",
|
|
1422
|
+
"type": "integer"
|
|
1423
|
+
},
|
|
1424
|
+
"title": {
|
|
1425
|
+
"title": "Title",
|
|
1426
|
+
"type": "string"
|
|
1427
|
+
},
|
|
1428
|
+
"author": {
|
|
1429
|
+
"additionalProperties": {
|
|
1430
|
+
"type": "string"
|
|
1431
|
+
},
|
|
1432
|
+
"title": "Author",
|
|
1433
|
+
"type": "object"
|
|
1434
|
+
},
|
|
1435
|
+
"headRefName": {
|
|
1436
|
+
"anyOf": [
|
|
1437
|
+
{
|
|
1438
|
+
"type": "string"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"type": "null"
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
"default": null,
|
|
1445
|
+
"title": "Headrefname"
|
|
1446
|
+
},
|
|
1447
|
+
"baseRefName": {
|
|
1448
|
+
"anyOf": [
|
|
1449
|
+
{
|
|
1450
|
+
"type": "string"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"type": "null"
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1456
|
+
"default": null,
|
|
1457
|
+
"title": "Baserefname"
|
|
1458
|
+
},
|
|
1459
|
+
"isDraft": {
|
|
1460
|
+
"default": false,
|
|
1461
|
+
"title": "Isdraft",
|
|
1462
|
+
"type": "boolean"
|
|
1463
|
+
},
|
|
1464
|
+
"mergeStateStatus": {
|
|
1465
|
+
"anyOf": [
|
|
1466
|
+
{
|
|
1467
|
+
"type": "string"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"type": "null"
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
"default": null,
|
|
1474
|
+
"title": "Mergestatestatus"
|
|
1475
|
+
},
|
|
1476
|
+
"updatedAt": {
|
|
1477
|
+
"anyOf": [
|
|
1478
|
+
{
|
|
1479
|
+
"type": "string"
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"type": "null"
|
|
1483
|
+
}
|
|
1484
|
+
],
|
|
1485
|
+
"default": null,
|
|
1486
|
+
"title": "Updatedat"
|
|
1487
|
+
},
|
|
1488
|
+
"url": {
|
|
1489
|
+
"anyOf": [
|
|
1490
|
+
{
|
|
1491
|
+
"type": "string"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"type": "null"
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
"default": null,
|
|
1498
|
+
"title": "Url"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
"required": [
|
|
1502
|
+
"number",
|
|
1503
|
+
"title"
|
|
1504
|
+
],
|
|
1505
|
+
"title": "PRSummary",
|
|
1506
|
+
"type": "object"
|
|
1507
|
+
};
|
|
1508
|
+
export const ReadAgentContextInputSchema = z.object({});
|
|
1509
|
+
export const ReadAgentContextInputJsonSchema = {
|
|
1510
|
+
"properties": {},
|
|
1511
|
+
"title": "ReadAgentContextInput",
|
|
1512
|
+
"type": "object"
|
|
1513
|
+
};
|
|
1514
|
+
export const ReadCiLogsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to read logs for."), "all": z.boolean().describe("Include logs for successful runs (default: false).").default(false) });
|
|
1515
|
+
export const ReadCiLogsInputJsonSchema = {
|
|
1516
|
+
"properties": {
|
|
1517
|
+
"prNumber": {
|
|
1518
|
+
"description": "The number of the pull request to read logs for.",
|
|
1519
|
+
"title": "Prnumber",
|
|
1520
|
+
"type": "integer"
|
|
1521
|
+
},
|
|
1522
|
+
"all": {
|
|
1523
|
+
"default": false,
|
|
1524
|
+
"description": "Include logs for successful runs (default: false).",
|
|
1525
|
+
"title": "All",
|
|
1526
|
+
"type": "boolean"
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"required": [
|
|
1530
|
+
"prNumber"
|
|
1531
|
+
],
|
|
1532
|
+
"title": "ReadCiLogsInput",
|
|
1533
|
+
"type": "object"
|
|
1534
|
+
};
|
|
1535
|
+
export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
|
|
1536
|
+
export const ReadPRCommentsInputJsonSchema = {
|
|
1537
|
+
"properties": {
|
|
1538
|
+
"prNumber": {
|
|
1539
|
+
"description": "The PR number to fetch comments for.",
|
|
1540
|
+
"exclusiveMinimum": 0,
|
|
1541
|
+
"title": "Prnumber",
|
|
1542
|
+
"type": "integer"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
"required": [
|
|
1546
|
+
"prNumber"
|
|
1547
|
+
],
|
|
1548
|
+
"title": "ReadPRCommentsInput",
|
|
1549
|
+
"type": "object"
|
|
1550
|
+
};
|
|
1551
|
+
export const ReadPRCommentsResponseSchema = z.object({ "status": z.string().default("success"), "message": z.union([z.string(), z.null()]).default(null), "data": z.union([z.any(), z.null()]).default(null), "pr": z.any(), "comments": z.array(z.any()).optional(), "review_comments": z.array(z.any()).optional() });
|
|
1552
|
+
export const ReadPRCommentsResponseJsonSchema = {
|
|
1553
|
+
"$defs": {
|
|
1554
|
+
"IssueSummary": {
|
|
1555
|
+
"properties": {
|
|
1556
|
+
"number": {
|
|
1557
|
+
"title": "Number",
|
|
1558
|
+
"type": "integer"
|
|
1559
|
+
},
|
|
1560
|
+
"title": {
|
|
1561
|
+
"title": "Title",
|
|
1562
|
+
"type": "string"
|
|
1563
|
+
},
|
|
1564
|
+
"html_url": {
|
|
1565
|
+
"title": "Html Url",
|
|
1566
|
+
"type": "string"
|
|
1567
|
+
},
|
|
1568
|
+
"state": {
|
|
1569
|
+
"title": "State",
|
|
1570
|
+
"type": "string"
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
"required": [
|
|
1574
|
+
"number",
|
|
1575
|
+
"title",
|
|
1576
|
+
"html_url",
|
|
1577
|
+
"state"
|
|
1578
|
+
],
|
|
1579
|
+
"title": "IssueSummary",
|
|
1580
|
+
"type": "object"
|
|
1581
|
+
},
|
|
1582
|
+
"PRComment": {
|
|
1583
|
+
"properties": {
|
|
1584
|
+
"user": {
|
|
1585
|
+
"title": "User",
|
|
1586
|
+
"type": "string"
|
|
1587
|
+
},
|
|
1588
|
+
"body": {
|
|
1589
|
+
"title": "Body",
|
|
1590
|
+
"type": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"created_at": {
|
|
1593
|
+
"title": "Created At",
|
|
1594
|
+
"type": "string"
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
"required": [
|
|
1598
|
+
"user",
|
|
1599
|
+
"body",
|
|
1600
|
+
"created_at"
|
|
1601
|
+
],
|
|
1602
|
+
"title": "PRComment",
|
|
1603
|
+
"type": "object"
|
|
1604
|
+
},
|
|
1605
|
+
"ReviewComment": {
|
|
1606
|
+
"properties": {
|
|
1607
|
+
"user": {
|
|
1608
|
+
"title": "User",
|
|
1609
|
+
"type": "string"
|
|
1610
|
+
},
|
|
1611
|
+
"path": {
|
|
1612
|
+
"title": "Path",
|
|
1613
|
+
"type": "string"
|
|
1614
|
+
},
|
|
1615
|
+
"line": {
|
|
1616
|
+
"anyOf": [
|
|
1617
|
+
{
|
|
1618
|
+
"type": "integer"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"type": "null"
|
|
1622
|
+
}
|
|
1623
|
+
],
|
|
1624
|
+
"default": null,
|
|
1625
|
+
"title": "Line"
|
|
1626
|
+
},
|
|
1627
|
+
"body": {
|
|
1628
|
+
"title": "Body",
|
|
1629
|
+
"type": "string"
|
|
1630
|
+
},
|
|
1631
|
+
"created_at": {
|
|
1632
|
+
"title": "Created At",
|
|
1633
|
+
"type": "string"
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"required": [
|
|
1637
|
+
"user",
|
|
1638
|
+
"path",
|
|
1639
|
+
"body",
|
|
1640
|
+
"created_at"
|
|
1641
|
+
],
|
|
1642
|
+
"title": "ReviewComment",
|
|
1643
|
+
"type": "object"
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1646
|
+
"properties": {
|
|
1647
|
+
"status": {
|
|
1648
|
+
"default": "success",
|
|
1649
|
+
"title": "Status",
|
|
1650
|
+
"type": "string"
|
|
1651
|
+
},
|
|
1652
|
+
"message": {
|
|
1653
|
+
"anyOf": [
|
|
1654
|
+
{
|
|
1655
|
+
"type": "string"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"type": "null"
|
|
1659
|
+
}
|
|
1660
|
+
],
|
|
1661
|
+
"default": null,
|
|
1662
|
+
"title": "Message"
|
|
1663
|
+
},
|
|
1664
|
+
"data": {
|
|
1665
|
+
"anyOf": [
|
|
1666
|
+
{},
|
|
1667
|
+
{
|
|
1668
|
+
"type": "null"
|
|
1669
|
+
}
|
|
1670
|
+
],
|
|
1671
|
+
"default": null,
|
|
1672
|
+
"title": "Data"
|
|
1673
|
+
},
|
|
1674
|
+
"pr": {
|
|
1675
|
+
"$ref": "#/$defs/IssueSummary"
|
|
1676
|
+
},
|
|
1677
|
+
"comments": {
|
|
1678
|
+
"items": {
|
|
1679
|
+
"$ref": "#/$defs/PRComment"
|
|
1680
|
+
},
|
|
1681
|
+
"title": "Comments",
|
|
1682
|
+
"type": "array"
|
|
1683
|
+
},
|
|
1684
|
+
"review_comments": {
|
|
1685
|
+
"items": {
|
|
1686
|
+
"$ref": "#/$defs/ReviewComment"
|
|
1687
|
+
},
|
|
1688
|
+
"title": "Review Comments",
|
|
1689
|
+
"type": "array"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"required": [
|
|
1693
|
+
"pr"
|
|
1694
|
+
],
|
|
1695
|
+
"title": "ReadPRCommentsResponse",
|
|
1696
|
+
"type": "object"
|
|
1697
|
+
};
|
|
1698
|
+
export const RepoLogsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to stream logs for."), "grep": z.union([z.string(), z.null()]).describe("Optional pattern to filter log lines.").default(null) });
|
|
1699
|
+
export const RepoLogsInputJsonSchema = {
|
|
1700
|
+
"properties": {
|
|
1701
|
+
"prNumber": {
|
|
1702
|
+
"description": "The number of the pull request to stream logs for.",
|
|
1703
|
+
"title": "Prnumber",
|
|
1704
|
+
"type": "integer"
|
|
1705
|
+
},
|
|
1706
|
+
"grep": {
|
|
1707
|
+
"anyOf": [
|
|
1708
|
+
{
|
|
1709
|
+
"type": "string"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"type": "null"
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
"default": null,
|
|
1716
|
+
"description": "Optional pattern to filter log lines.",
|
|
1717
|
+
"title": "Grep"
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
"required": [
|
|
1721
|
+
"prNumber"
|
|
1722
|
+
],
|
|
1723
|
+
"title": "RepoLogsInput",
|
|
1724
|
+
"type": "object"
|
|
1725
|
+
};
|
|
1726
|
+
export const ReviewCommentSchema = z.object({ "user": z.string(), "path": z.string(), "line": z.union([z.number().int(), z.null()]).default(null), "body": z.string(), "created_at": z.string() });
|
|
1727
|
+
export const ReviewCommentJsonSchema = {
|
|
1728
|
+
"properties": {
|
|
1729
|
+
"user": {
|
|
1730
|
+
"title": "User",
|
|
1731
|
+
"type": "string"
|
|
1732
|
+
},
|
|
1733
|
+
"path": {
|
|
1734
|
+
"title": "Path",
|
|
1735
|
+
"type": "string"
|
|
1736
|
+
},
|
|
1737
|
+
"line": {
|
|
1738
|
+
"anyOf": [
|
|
1739
|
+
{
|
|
1740
|
+
"type": "integer"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"type": "null"
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
"default": null,
|
|
1747
|
+
"title": "Line"
|
|
1748
|
+
},
|
|
1749
|
+
"body": {
|
|
1750
|
+
"title": "Body",
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1753
|
+
"created_at": {
|
|
1754
|
+
"title": "Created At",
|
|
1755
|
+
"type": "string"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
"required": [
|
|
1759
|
+
"user",
|
|
1760
|
+
"path",
|
|
1761
|
+
"body",
|
|
1762
|
+
"created_at"
|
|
1763
|
+
],
|
|
1764
|
+
"title": "ReviewComment",
|
|
1765
|
+
"type": "object"
|
|
1766
|
+
};
|
|
1767
|
+
export const RunLighthouseInputSchema = z.object({ "route": z.string().describe("The route to audit (default: '/').").default("/"), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree to run the audit in.").default(null) });
|
|
1768
|
+
export const RunLighthouseInputJsonSchema = {
|
|
1769
|
+
"properties": {
|
|
1770
|
+
"route": {
|
|
1771
|
+
"default": "/",
|
|
1772
|
+
"description": "The route to audit (default: '/').",
|
|
1773
|
+
"title": "Route",
|
|
1774
|
+
"type": "string"
|
|
1775
|
+
},
|
|
1776
|
+
"worktreePath": {
|
|
1777
|
+
"anyOf": [
|
|
1778
|
+
{
|
|
1779
|
+
"type": "string"
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"type": "null"
|
|
1783
|
+
}
|
|
1784
|
+
],
|
|
1785
|
+
"default": null,
|
|
1786
|
+
"description": "Optional path to the worktree to run the audit in.",
|
|
1787
|
+
"title": "Worktreepath"
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
"title": "RunLighthouseInput",
|
|
1791
|
+
"type": "object"
|
|
1792
|
+
};
|
|
1793
|
+
export const RunPlaywrightInputSchema = z.object({ "grep": z.union([z.string(), z.null()]).describe("Optional pattern to filter tests by name.").default(null), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree to run tests in.").default(null) });
|
|
1794
|
+
export const RunPlaywrightInputJsonSchema = {
|
|
1795
|
+
"properties": {
|
|
1796
|
+
"grep": {
|
|
1797
|
+
"anyOf": [
|
|
1798
|
+
{
|
|
1799
|
+
"type": "string"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"type": "null"
|
|
1803
|
+
}
|
|
1804
|
+
],
|
|
1805
|
+
"default": null,
|
|
1806
|
+
"description": "Optional pattern to filter tests by name.",
|
|
1807
|
+
"title": "Grep"
|
|
1808
|
+
},
|
|
1809
|
+
"worktreePath": {
|
|
1810
|
+
"anyOf": [
|
|
1811
|
+
{
|
|
1812
|
+
"type": "string"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"type": "null"
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
"default": null,
|
|
1819
|
+
"description": "Optional path to the worktree to run tests in.",
|
|
1820
|
+
"title": "Worktreepath"
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
"title": "RunPlaywrightInput",
|
|
1824
|
+
"type": "object"
|
|
1825
|
+
};
|
|
1826
|
+
export const RunTestsInputSchema = z.object({ "commands": z.union([z.array(z.string()), z.null()]).describe("Optional list of commands to run (default includes install, lint, test, build).").default(null), "timeoutSeconds": z.number().int().describe("Maximum time in seconds to wait for tests (default: 300).").default(300), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree to run tests in.").default(null) });
|
|
1827
|
+
export const RunTestsInputJsonSchema = {
|
|
1828
|
+
"properties": {
|
|
1829
|
+
"commands": {
|
|
1830
|
+
"anyOf": [
|
|
1831
|
+
{
|
|
1832
|
+
"items": {
|
|
1833
|
+
"type": "string"
|
|
1834
|
+
},
|
|
1835
|
+
"type": "array"
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"type": "null"
|
|
1839
|
+
}
|
|
1840
|
+
],
|
|
1841
|
+
"default": null,
|
|
1842
|
+
"description": "Optional list of commands to run (default includes install, lint, test, build).",
|
|
1843
|
+
"title": "Commands"
|
|
1844
|
+
},
|
|
1845
|
+
"timeoutSeconds": {
|
|
1846
|
+
"default": 300,
|
|
1847
|
+
"description": "Maximum time in seconds to wait for tests (default: 300).",
|
|
1848
|
+
"title": "Timeoutseconds",
|
|
1849
|
+
"type": "integer"
|
|
1850
|
+
},
|
|
1851
|
+
"worktreePath": {
|
|
1852
|
+
"anyOf": [
|
|
1853
|
+
{
|
|
1854
|
+
"type": "string"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"type": "null"
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
"default": null,
|
|
1861
|
+
"description": "Optional path to the worktree to run tests in.",
|
|
1862
|
+
"title": "Worktreepath"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
"title": "RunTestsInput",
|
|
1866
|
+
"type": "object"
|
|
1867
|
+
};
|
|
1868
|
+
export const SearchDdgsInputSchema = z.object({ "query": z.string().describe("The search query."), "maxResults": z.union([z.number().int(), z.null()]).describe("Maximum number of results to return.").default(null) });
|
|
1869
|
+
export const SearchDdgsInputJsonSchema = {
|
|
1870
|
+
"properties": {
|
|
1871
|
+
"query": {
|
|
1872
|
+
"description": "The search query.",
|
|
1873
|
+
"title": "Query",
|
|
1874
|
+
"type": "string"
|
|
1875
|
+
},
|
|
1876
|
+
"maxResults": {
|
|
1877
|
+
"anyOf": [
|
|
1878
|
+
{
|
|
1879
|
+
"type": "integer"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"type": "null"
|
|
1883
|
+
}
|
|
1884
|
+
],
|
|
1885
|
+
"default": null,
|
|
1886
|
+
"description": "Maximum number of results to return.",
|
|
1887
|
+
"title": "Maxresults"
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
"required": [
|
|
1891
|
+
"query"
|
|
1892
|
+
],
|
|
1893
|
+
"title": "SearchDdgsInput",
|
|
1894
|
+
"type": "object"
|
|
1895
|
+
};
|
|
1896
|
+
export const SearchPRsInputSchema = z.object({ "state": z.string().describe("The state of the PRs to search for (open, closed, all).").default("open"), "limit": z.number().int().describe("The maximum number of PRs to return (default: 100, range: 1-100).").default(100), "includeDrafts": z.boolean().describe("Whether to include draft PRs in the results.").default(true), "labels": z.union([z.array(z.string()), z.null()]).describe("Filter PRs by labels.").default(null) });
|
|
1897
|
+
export const SearchPRsInputJsonSchema = {
|
|
1898
|
+
"properties": {
|
|
1899
|
+
"state": {
|
|
1900
|
+
"default": "open",
|
|
1901
|
+
"description": "The state of the PRs to search for (open, closed, all).",
|
|
1902
|
+
"title": "State",
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
"limit": {
|
|
1906
|
+
"default": 100,
|
|
1907
|
+
"description": "The maximum number of PRs to return (default: 100, range: 1-100).",
|
|
1908
|
+
"title": "Limit",
|
|
1909
|
+
"type": "integer"
|
|
1910
|
+
},
|
|
1911
|
+
"includeDrafts": {
|
|
1912
|
+
"default": true,
|
|
1913
|
+
"description": "Whether to include draft PRs in the results.",
|
|
1914
|
+
"title": "Includedrafts",
|
|
1915
|
+
"type": "boolean"
|
|
1916
|
+
},
|
|
1917
|
+
"labels": {
|
|
1918
|
+
"anyOf": [
|
|
1919
|
+
{
|
|
1920
|
+
"items": {
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
},
|
|
1923
|
+
"type": "array"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"type": "null"
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"default": null,
|
|
1930
|
+
"description": "Filter PRs by labels.",
|
|
1931
|
+
"title": "Labels"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
"title": "SearchPRsInput",
|
|
1935
|
+
"type": "object"
|
|
1936
|
+
};
|
|
1937
|
+
export const SearchPRsResponseSchema = z.object({ "status": z.string().default("success"), "message": z.union([z.string(), z.null()]).default(null), "data": z.union([z.any(), z.null()]).default(null), "prs": z.array(z.any()).optional() });
|
|
1938
|
+
export const SearchPRsResponseJsonSchema = {
|
|
1939
|
+
"$defs": {
|
|
1940
|
+
"PRSummary": {
|
|
1941
|
+
"properties": {
|
|
1942
|
+
"number": {
|
|
1943
|
+
"title": "Number",
|
|
1944
|
+
"type": "integer"
|
|
1945
|
+
},
|
|
1946
|
+
"title": {
|
|
1947
|
+
"title": "Title",
|
|
1948
|
+
"type": "string"
|
|
1949
|
+
},
|
|
1950
|
+
"author": {
|
|
1951
|
+
"additionalProperties": {
|
|
1952
|
+
"type": "string"
|
|
1953
|
+
},
|
|
1954
|
+
"title": "Author",
|
|
1955
|
+
"type": "object"
|
|
1956
|
+
},
|
|
1957
|
+
"headRefName": {
|
|
1958
|
+
"anyOf": [
|
|
1959
|
+
{
|
|
1960
|
+
"type": "string"
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"type": "null"
|
|
1964
|
+
}
|
|
1965
|
+
],
|
|
1966
|
+
"default": null,
|
|
1967
|
+
"title": "Headrefname"
|
|
1968
|
+
},
|
|
1969
|
+
"baseRefName": {
|
|
1970
|
+
"anyOf": [
|
|
1971
|
+
{
|
|
1972
|
+
"type": "string"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"type": "null"
|
|
1976
|
+
}
|
|
1977
|
+
],
|
|
1978
|
+
"default": null,
|
|
1979
|
+
"title": "Baserefname"
|
|
1980
|
+
},
|
|
1981
|
+
"isDraft": {
|
|
1982
|
+
"default": false,
|
|
1983
|
+
"title": "Isdraft",
|
|
1984
|
+
"type": "boolean"
|
|
1985
|
+
},
|
|
1986
|
+
"mergeStateStatus": {
|
|
1987
|
+
"anyOf": [
|
|
1988
|
+
{
|
|
1989
|
+
"type": "string"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"type": "null"
|
|
1993
|
+
}
|
|
1994
|
+
],
|
|
1995
|
+
"default": null,
|
|
1996
|
+
"title": "Mergestatestatus"
|
|
1997
|
+
},
|
|
1998
|
+
"updatedAt": {
|
|
1999
|
+
"anyOf": [
|
|
2000
|
+
{
|
|
2001
|
+
"type": "string"
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"type": "null"
|
|
2005
|
+
}
|
|
2006
|
+
],
|
|
2007
|
+
"default": null,
|
|
2008
|
+
"title": "Updatedat"
|
|
2009
|
+
},
|
|
2010
|
+
"url": {
|
|
2011
|
+
"anyOf": [
|
|
2012
|
+
{
|
|
2013
|
+
"type": "string"
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"type": "null"
|
|
2017
|
+
}
|
|
2018
|
+
],
|
|
2019
|
+
"default": null,
|
|
2020
|
+
"title": "Url"
|
|
2021
|
+
}
|
|
2022
|
+
},
|
|
2023
|
+
"required": [
|
|
2024
|
+
"number",
|
|
2025
|
+
"title"
|
|
2026
|
+
],
|
|
2027
|
+
"title": "PRSummary",
|
|
2028
|
+
"type": "object"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
"properties": {
|
|
2032
|
+
"status": {
|
|
2033
|
+
"default": "success",
|
|
2034
|
+
"title": "Status",
|
|
2035
|
+
"type": "string"
|
|
2036
|
+
},
|
|
2037
|
+
"message": {
|
|
2038
|
+
"anyOf": [
|
|
2039
|
+
{
|
|
2040
|
+
"type": "string"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"type": "null"
|
|
2044
|
+
}
|
|
2045
|
+
],
|
|
2046
|
+
"default": null,
|
|
2047
|
+
"title": "Message"
|
|
2048
|
+
},
|
|
2049
|
+
"data": {
|
|
2050
|
+
"anyOf": [
|
|
2051
|
+
{},
|
|
2052
|
+
{
|
|
2053
|
+
"type": "null"
|
|
2054
|
+
}
|
|
2055
|
+
],
|
|
2056
|
+
"default": null,
|
|
2057
|
+
"title": "Data"
|
|
2058
|
+
},
|
|
2059
|
+
"prs": {
|
|
2060
|
+
"items": {
|
|
2061
|
+
"$ref": "#/$defs/PRSummary"
|
|
2062
|
+
},
|
|
2063
|
+
"title": "Prs",
|
|
2064
|
+
"type": "array"
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
"title": "SearchPRsResponse",
|
|
2068
|
+
"type": "object"
|
|
2069
|
+
};
|