@arii/boomtick-mcp 0.6.2 → 0.7.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.
- package/.mcp/schemas/boomtick.health.json +22 -3
- package/.mcp/schemas/boomtick_health.json +22 -3
- package/.mcp/schemas/github.checkout_branch.json +16 -3
- package/.mcp/schemas/github.comment_triage_summary.json +16 -3
- package/.mcp/schemas/github.create_pull_request.json +16 -3
- package/.mcp/schemas/github.get_merge_conflict_files.json +55 -5
- package/.mcp/schemas/github.get_pr.json +12 -3
- package/.mcp/schemas/github.get_pr_commits.json +12 -3
- package/.mcp/schemas/github.get_pr_reviews.json +24 -3
- package/.mcp/schemas/github.issue_comment.json +19 -3
- package/.mcp/schemas/github.issue_view.json +17 -3
- package/.mcp/schemas/github.open_replacement_pr.json +16 -3
- package/.mcp/schemas/github_checkout_branch.json +16 -3
- package/.mcp/schemas/github_comment_triage_summary.json +16 -3
- package/.mcp/schemas/github_create_pull_request.json +16 -3
- package/.mcp/schemas/github_get_merge_conflict_files.json +55 -5
- package/.mcp/schemas/github_get_pr.json +12 -3
- package/.mcp/schemas/github_get_pr_commits.json +12 -3
- package/.mcp/schemas/github_get_pr_reviews.json +24 -3
- package/.mcp/schemas/github_issue_comment.json +19 -3
- package/.mcp/schemas/github_issue_view.json +17 -3
- package/.mcp/schemas/github_open_replacement_pr.json +16 -3
- package/.mcp/schemas/jules.cancel_session.json +38 -3
- package/.mcp/schemas/jules.create_session.json +52 -3
- package/.mcp/schemas/jules.get_messages.json +19 -3
- package/.mcp/schemas/jules.get_pr.json +23 -3
- package/.mcp/schemas/jules.get_session.json +38 -3
- package/.mcp/schemas/jules.list_sessions.json +53 -3
- package/.mcp/schemas/jules.send_message.json +31 -3
- package/.mcp/schemas/jules.trigger_feedback.json +28 -3
- package/.mcp/schemas/jules_cancel_session.json +38 -3
- package/.mcp/schemas/jules_create_session.json +52 -3
- package/.mcp/schemas/jules_get_messages.json +19 -3
- package/.mcp/schemas/jules_get_pr.json +23 -3
- package/.mcp/schemas/jules_get_session.json +38 -3
- package/.mcp/schemas/jules_list_sessions.json +53 -3
- package/.mcp/schemas/jules_send_message.json +31 -3
- package/.mcp/schemas/jules_trigger_feedback.json +28 -3
- package/.mcp/schemas/repo.check_jules_status.json +93 -3
- package/.mcp/schemas/repo.commit_patch.json +23 -3
- package/.mcp/schemas/repo.create_branch.json +91 -3
- package/.mcp/schemas/repo.create_repair_branch.json +94 -3
- package/.mcp/schemas/repo.get_changed_files.json +50 -3
- package/.mcp/schemas/repo.get_command_schema.json +29 -3
- package/.mcp/schemas/repo.get_package_scripts.json +11 -3
- package/.mcp/schemas/repo.get_workflow_runs.json +12 -3
- package/.mcp/schemas/repo.logs.json +14 -3
- package/.mcp/schemas/repo.multi_exec.json +89 -0
- package/.mcp/schemas/repo.read_agent_context.json +117 -5
- package/.mcp/schemas/repo.read_ci_logs.json +46 -3
- package/.mcp/schemas/repo_check_jules_status.json +93 -3
- package/.mcp/schemas/repo_commit_patch.json +23 -3
- package/.mcp/schemas/repo_create_branch.json +91 -3
- package/.mcp/schemas/repo_create_repair_branch.json +94 -3
- package/.mcp/schemas/repo_get_changed_files.json +50 -3
- package/.mcp/schemas/repo_get_command_schema.json +29 -3
- package/.mcp/schemas/repo_get_package_scripts.json +11 -3
- package/.mcp/schemas/repo_get_workflow_runs.json +12 -3
- package/.mcp/schemas/repo_logs.json +14 -3
- package/.mcp/schemas/repo_multi_exec.json +89 -0
- package/.mcp/schemas/repo_read_agent_context.json +117 -5
- package/.mcp/schemas/repo_read_ci_logs.json +46 -3
- package/CHANGELOG.md +22 -0
- package/README.md +7 -5
- package/dist/config/dynamic.js +3 -2
- package/dist/config/repo.js +5 -5
- package/dist/config.test.js +10 -3
- package/dist/lib/git.js +78 -6
- package/dist/lib/git.test.js +34 -1
- package/dist/mcp/definitions.js +49 -36
- package/dist/mcp/http.js +15 -0
- package/dist/mcp/http.test.js +8 -0
- package/dist/mcp/server.js +34 -0
- package/dist/mcp/server.test.js +31 -0
- package/dist/tools/contract.js +1264 -92
- package/dist/tools/github.get_merge_conflict_files.js +10 -2
- package/dist/tools/jules/create-session.js +12 -2
- package/dist/tools/jules/create-session.test.js +7 -0
- package/dist/tools/repo.create_branch.js +18 -4
- package/dist/tools/repo.create_branch.test.js +41 -5
- package/dist/tools/repo.create_repair_branch.js +26 -9
- package/dist/tools/repo.get_changed_files.js +10 -2
- package/dist/tools/repo.multi_exec.js +21 -0
- package/dist/tools/repo.multi_exec.test.js +13 -0
- package/dist/tools/repo.read_agent_context.js +65 -3
- package/dist/tools/repo.read_agent_context.test.js +30 -1
- package/package.json +1 -1
- package/src/config/dynamic.ts +3 -2
- package/src/config/repo.ts +6 -6
- package/src/config.test.ts +11 -3
- package/src/lib/git.test.ts +45 -1
- package/src/lib/git.ts +94 -6
- package/src/mcp/definitions.ts +77 -36
- package/src/mcp/http.test.ts +10 -0
- package/src/mcp/http.ts +20 -0
- package/src/mcp/server.test.ts +38 -0
- package/src/mcp/server.ts +36 -0
- package/src/tools/contract.ts +1355 -67
- package/src/tools/github.get_merge_conflict_files.ts +11 -2
- package/src/tools/jules/create-session.test.ts +9 -0
- package/src/tools/jules/create-session.ts +13 -2
- package/src/tools/repo.create_branch.test.ts +73 -5
- package/src/tools/repo.create_branch.ts +30 -4
- package/src/tools/repo.create_repair_branch.ts +31 -9
- package/src/tools/repo.get_changed_files.ts +10 -2
- package/src/tools/repo.multi_exec.test.ts +15 -0
- package/src/tools/repo.multi_exec.ts +23 -0
- package/src/tools/repo.read_agent_context.test.ts +35 -1
- package/src/tools/repo.read_agent_context.ts +68 -3
package/dist/tools/contract.js
CHANGED
|
@@ -724,6 +724,102 @@ export const CamelCaseModelJsonSchema = {
|
|
|
724
724
|
"title": "CamelCaseModel",
|
|
725
725
|
"type": "object"
|
|
726
726
|
};
|
|
727
|
+
export const CheckJulesStatusResponseSchema = z.object({ "sessionId": z.string(), "status": z.string(), "rawState": z.union([z.string(), z.null()]).default(null), "completed": z.boolean().default(false), "remediationBranch": z.union([z.string(), z.null()]).default(null), "pullRequestUrl": z.union([z.string(), z.null()]).default(null), "idempotencyHash": z.union([z.string(), z.null()]).default(null), "isDuplicate": z.union([z.boolean(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
|
|
728
|
+
export const CheckJulesStatusResponseJsonSchema = {
|
|
729
|
+
"properties": {
|
|
730
|
+
"sessionId": {
|
|
731
|
+
"title": "Sessionid",
|
|
732
|
+
"type": "string"
|
|
733
|
+
},
|
|
734
|
+
"status": {
|
|
735
|
+
"title": "Status",
|
|
736
|
+
"type": "string"
|
|
737
|
+
},
|
|
738
|
+
"rawState": {
|
|
739
|
+
"anyOf": [
|
|
740
|
+
{
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "null"
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"default": null,
|
|
748
|
+
"title": "Rawstate"
|
|
749
|
+
},
|
|
750
|
+
"completed": {
|
|
751
|
+
"default": false,
|
|
752
|
+
"title": "Completed",
|
|
753
|
+
"type": "boolean"
|
|
754
|
+
},
|
|
755
|
+
"remediationBranch": {
|
|
756
|
+
"anyOf": [
|
|
757
|
+
{
|
|
758
|
+
"type": "string"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"type": "null"
|
|
762
|
+
}
|
|
763
|
+
],
|
|
764
|
+
"default": null,
|
|
765
|
+
"title": "Remediationbranch"
|
|
766
|
+
},
|
|
767
|
+
"pullRequestUrl": {
|
|
768
|
+
"anyOf": [
|
|
769
|
+
{
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"type": "null"
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
"default": null,
|
|
777
|
+
"title": "Pullrequesturl"
|
|
778
|
+
},
|
|
779
|
+
"idempotencyHash": {
|
|
780
|
+
"anyOf": [
|
|
781
|
+
{
|
|
782
|
+
"type": "string"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"type": "null"
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
"default": null,
|
|
789
|
+
"title": "Idempotencyhash"
|
|
790
|
+
},
|
|
791
|
+
"isDuplicate": {
|
|
792
|
+
"anyOf": [
|
|
793
|
+
{
|
|
794
|
+
"type": "boolean"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"type": "null"
|
|
798
|
+
}
|
|
799
|
+
],
|
|
800
|
+
"default": null,
|
|
801
|
+
"title": "Isduplicate"
|
|
802
|
+
},
|
|
803
|
+
"message": {
|
|
804
|
+
"anyOf": [
|
|
805
|
+
{
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"type": "null"
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"default": null,
|
|
813
|
+
"title": "Message"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
"required": [
|
|
817
|
+
"sessionId",
|
|
818
|
+
"status"
|
|
819
|
+
],
|
|
820
|
+
"title": "CheckJulesStatusResponse",
|
|
821
|
+
"type": "object"
|
|
822
|
+
};
|
|
727
823
|
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) });
|
|
728
824
|
export const CheckoutBranchInputJsonSchema = {
|
|
729
825
|
"properties": {
|
|
@@ -752,6 +848,25 @@ export const CheckoutBranchInputJsonSchema = {
|
|
|
752
848
|
"title": "CheckoutBranchInput",
|
|
753
849
|
"type": "object"
|
|
754
850
|
};
|
|
851
|
+
export const CheckoutBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branch": z.string() });
|
|
852
|
+
export const CheckoutBranchResponseJsonSchema = {
|
|
853
|
+
"properties": {
|
|
854
|
+
"success": {
|
|
855
|
+
"default": true,
|
|
856
|
+
"title": "Success",
|
|
857
|
+
"type": "boolean"
|
|
858
|
+
},
|
|
859
|
+
"branch": {
|
|
860
|
+
"title": "Branch",
|
|
861
|
+
"type": "string"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"required": [
|
|
865
|
+
"branch"
|
|
866
|
+
],
|
|
867
|
+
"title": "CheckoutBranchResponse",
|
|
868
|
+
"type": "object"
|
|
869
|
+
};
|
|
755
870
|
export const CodeReviewResultSchema = z.object({ "findings": z.array(z.any()).optional(), "feedback": z.string(), "role": z.string(), "tokens": z.number().int(), "cost": z.number(), "modelName": z.string(), "llmVerdict": z.enum(["pass", "warn", "fail"]), "isTruncated": z.union([z.boolean(), z.null()]).default(null), "inputTokens": z.union([z.number().int(), z.null()]).default(null), "outputTokens": z.union([z.number().int(), z.null()]).default(null), "cacheTokens": z.union([z.number().int(), z.null()]).default(null), "parseError": z.union([z.enum(["missing_closing_tag", "truncated_json", "incomplete_findings", "invalid_json"]), z.null()]).default(null) });
|
|
756
871
|
export const CodeReviewResultJsonSchema = {
|
|
757
872
|
"$defs": {
|
|
@@ -1194,6 +1309,25 @@ export const CommentTriageSummaryInputJsonSchema = {
|
|
|
1194
1309
|
"title": "CommentTriageSummaryInput",
|
|
1195
1310
|
"type": "object"
|
|
1196
1311
|
};
|
|
1312
|
+
export const CommentTriageSummaryResponseSchema = z.object({ "success": z.boolean().default(true), "commentUrl": z.string() });
|
|
1313
|
+
export const CommentTriageSummaryResponseJsonSchema = {
|
|
1314
|
+
"properties": {
|
|
1315
|
+
"success": {
|
|
1316
|
+
"default": true,
|
|
1317
|
+
"title": "Success",
|
|
1318
|
+
"type": "boolean"
|
|
1319
|
+
},
|
|
1320
|
+
"commentUrl": {
|
|
1321
|
+
"title": "Commenturl",
|
|
1322
|
+
"type": "string"
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
"required": [
|
|
1326
|
+
"commentUrl"
|
|
1327
|
+
],
|
|
1328
|
+
"title": "CommentTriageSummaryResponse",
|
|
1329
|
+
"type": "object"
|
|
1330
|
+
};
|
|
1197
1331
|
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.") });
|
|
1198
1332
|
export const CommitPatchInputJsonSchema = {
|
|
1199
1333
|
"properties": {
|
|
@@ -1230,7 +1364,33 @@ export const CommitPatchInputJsonSchema = {
|
|
|
1230
1364
|
"title": "CommitPatchInput",
|
|
1231
1365
|
"type": "object"
|
|
1232
1366
|
};
|
|
1233
|
-
export const
|
|
1367
|
+
export const CommitPatchResponseSchema = z.object({ "success": z.boolean().default(true), "commitSha": z.string(), "changedFiles": z.array(z.string()).optional() });
|
|
1368
|
+
export const CommitPatchResponseJsonSchema = {
|
|
1369
|
+
"properties": {
|
|
1370
|
+
"success": {
|
|
1371
|
+
"default": true,
|
|
1372
|
+
"title": "Success",
|
|
1373
|
+
"type": "boolean"
|
|
1374
|
+
},
|
|
1375
|
+
"commitSha": {
|
|
1376
|
+
"title": "Commitsha",
|
|
1377
|
+
"type": "string"
|
|
1378
|
+
},
|
|
1379
|
+
"changedFiles": {
|
|
1380
|
+
"items": {
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
"title": "Changedfiles",
|
|
1384
|
+
"type": "array"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
"required": [
|
|
1388
|
+
"commitSha"
|
|
1389
|
+
],
|
|
1390
|
+
"title": "CommitPatchResponse",
|
|
1391
|
+
"type": "object"
|
|
1392
|
+
};
|
|
1393
|
+
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"), "repo": z.union([z.string(), z.null()]).describe("Target repository override (e.g. org/repo or repo).").default(null), "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root.").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path to target repository root.").default(null) });
|
|
1234
1394
|
export const CreateBranchInputJsonSchema = {
|
|
1235
1395
|
"properties": {
|
|
1236
1396
|
"branchName": {
|
|
@@ -1243,6 +1403,45 @@ export const CreateBranchInputJsonSchema = {
|
|
|
1243
1403
|
"description": "Branch to branch off from",
|
|
1244
1404
|
"title": "Basebranch",
|
|
1245
1405
|
"type": "string"
|
|
1406
|
+
},
|
|
1407
|
+
"repo": {
|
|
1408
|
+
"anyOf": [
|
|
1409
|
+
{
|
|
1410
|
+
"type": "string"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"type": "null"
|
|
1414
|
+
}
|
|
1415
|
+
],
|
|
1416
|
+
"default": null,
|
|
1417
|
+
"description": "Target repository override (e.g. org/repo or repo).",
|
|
1418
|
+
"title": "Repo"
|
|
1419
|
+
},
|
|
1420
|
+
"path": {
|
|
1421
|
+
"anyOf": [
|
|
1422
|
+
{
|
|
1423
|
+
"type": "string"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"type": "null"
|
|
1427
|
+
}
|
|
1428
|
+
],
|
|
1429
|
+
"default": null,
|
|
1430
|
+
"description": "Local filesystem path to target repository root.",
|
|
1431
|
+
"title": "Path"
|
|
1432
|
+
},
|
|
1433
|
+
"repoPath": {
|
|
1434
|
+
"anyOf": [
|
|
1435
|
+
{
|
|
1436
|
+
"type": "string"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"type": "null"
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"default": null,
|
|
1443
|
+
"description": "Alias for path to target repository root.",
|
|
1444
|
+
"title": "Repopath"
|
|
1246
1445
|
}
|
|
1247
1446
|
},
|
|
1248
1447
|
"required": [
|
|
@@ -1251,6 +1450,61 @@ export const CreateBranchInputJsonSchema = {
|
|
|
1251
1450
|
"title": "CreateBranchInput",
|
|
1252
1451
|
"type": "object"
|
|
1253
1452
|
};
|
|
1453
|
+
export const CreateBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branchName": z.string(), "baseBranch": z.union([z.string(), z.null()]).default(null), "repo": z.union([z.string(), z.null()]).default(null), "path": z.union([z.string(), z.null()]).default(null) });
|
|
1454
|
+
export const CreateBranchResponseJsonSchema = {
|
|
1455
|
+
"properties": {
|
|
1456
|
+
"success": {
|
|
1457
|
+
"default": true,
|
|
1458
|
+
"title": "Success",
|
|
1459
|
+
"type": "boolean"
|
|
1460
|
+
},
|
|
1461
|
+
"branchName": {
|
|
1462
|
+
"title": "Branchname",
|
|
1463
|
+
"type": "string"
|
|
1464
|
+
},
|
|
1465
|
+
"baseBranch": {
|
|
1466
|
+
"anyOf": [
|
|
1467
|
+
{
|
|
1468
|
+
"type": "string"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"type": "null"
|
|
1472
|
+
}
|
|
1473
|
+
],
|
|
1474
|
+
"default": null,
|
|
1475
|
+
"title": "Basebranch"
|
|
1476
|
+
},
|
|
1477
|
+
"repo": {
|
|
1478
|
+
"anyOf": [
|
|
1479
|
+
{
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"type": "null"
|
|
1484
|
+
}
|
|
1485
|
+
],
|
|
1486
|
+
"default": null,
|
|
1487
|
+
"title": "Repo"
|
|
1488
|
+
},
|
|
1489
|
+
"path": {
|
|
1490
|
+
"anyOf": [
|
|
1491
|
+
{
|
|
1492
|
+
"type": "string"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"type": "null"
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
"default": null,
|
|
1499
|
+
"title": "Path"
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"required": [
|
|
1503
|
+
"branchName"
|
|
1504
|
+
],
|
|
1505
|
+
"title": "CreateBranchResponse",
|
|
1506
|
+
"type": "object"
|
|
1507
|
+
};
|
|
1254
1508
|
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), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1255
1509
|
export const CreateIssueInputJsonSchema = {
|
|
1256
1510
|
"properties": {
|
|
@@ -1381,7 +1635,7 @@ export const CreateIssueResponseJsonSchema = {
|
|
|
1381
1635
|
"title": "CreateIssueResponse",
|
|
1382
1636
|
"type": "object"
|
|
1383
1637
|
};
|
|
1384
|
-
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) });
|
|
1638
|
+
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), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1385
1639
|
export const CreateJulesSessionInputJsonSchema = {
|
|
1386
1640
|
"properties": {
|
|
1387
1641
|
"task": {
|
|
@@ -1414,6 +1668,20 @@ export const CreateJulesSessionInputJsonSchema = {
|
|
|
1414
1668
|
"default": null,
|
|
1415
1669
|
"description": "The PR number to use as the base branch context.",
|
|
1416
1670
|
"title": "Pr"
|
|
1671
|
+
},
|
|
1672
|
+
"repo": {
|
|
1673
|
+
"anyOf": [
|
|
1674
|
+
{
|
|
1675
|
+
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
|
|
1676
|
+
"type": "string"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"type": "null"
|
|
1680
|
+
}
|
|
1681
|
+
],
|
|
1682
|
+
"default": null,
|
|
1683
|
+
"description": "The target repository override (e.g. org/repo).",
|
|
1684
|
+
"title": "Repo"
|
|
1417
1685
|
}
|
|
1418
1686
|
},
|
|
1419
1687
|
"required": [
|
|
@@ -1475,7 +1743,26 @@ export const CreatePullRequestInputJsonSchema = {
|
|
|
1475
1743
|
"title": "CreatePullRequestInput",
|
|
1476
1744
|
"type": "object"
|
|
1477
1745
|
};
|
|
1478
|
-
export const
|
|
1746
|
+
export const CreatePullRequestResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
|
|
1747
|
+
export const CreatePullRequestResponseJsonSchema = {
|
|
1748
|
+
"properties": {
|
|
1749
|
+
"success": {
|
|
1750
|
+
"default": true,
|
|
1751
|
+
"title": "Success",
|
|
1752
|
+
"type": "boolean"
|
|
1753
|
+
},
|
|
1754
|
+
"url": {
|
|
1755
|
+
"title": "Url",
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
"required": [
|
|
1760
|
+
"url"
|
|
1761
|
+
],
|
|
1762
|
+
"title": "CreatePullRequestResponse",
|
|
1763
|
+
"type": "object"
|
|
1764
|
+
};
|
|
1765
|
+
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."), "repo": z.union([z.string(), z.null()]).describe("Target repository override (e.g. org/repo or repo).").default(null), "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root.").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path to target repository root.").default(null) });
|
|
1479
1766
|
export const CreateRepairBranchInputJsonSchema = {
|
|
1480
1767
|
"properties": {
|
|
1481
1768
|
"prNumber": {
|
|
@@ -1500,35 +1787,185 @@ export const CreateRepairBranchInputJsonSchema = {
|
|
|
1500
1787
|
"description": "Safety gate: Must be true to perform branch creation and worktree setup.",
|
|
1501
1788
|
"title": "Writemode",
|
|
1502
1789
|
"type": "boolean"
|
|
1503
|
-
}
|
|
1504
|
-
},
|
|
1505
|
-
"required": [
|
|
1506
|
-
"prNumber",
|
|
1507
|
-
"writeMode"
|
|
1508
|
-
],
|
|
1509
|
-
"title": "CreateRepairBranchInput",
|
|
1510
|
-
"type": "object"
|
|
1511
|
-
};
|
|
1512
|
-
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") });
|
|
1513
|
-
export const GetChangedFilesInputJsonSchema = {
|
|
1514
|
-
"properties": {
|
|
1515
|
-
"base": {
|
|
1516
|
-
"default": "main",
|
|
1517
|
-
"description": "The base ref to compare from (default: 'main').",
|
|
1518
|
-
"title": "Base",
|
|
1519
|
-
"type": "string"
|
|
1520
1790
|
},
|
|
1521
|
-
"
|
|
1522
|
-
"
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1791
|
+
"repo": {
|
|
1792
|
+
"anyOf": [
|
|
1793
|
+
{
|
|
1794
|
+
"type": "string"
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"type": "null"
|
|
1798
|
+
}
|
|
1799
|
+
],
|
|
1800
|
+
"default": null,
|
|
1801
|
+
"description": "Target repository override (e.g. org/repo or repo).",
|
|
1802
|
+
"title": "Repo"
|
|
1803
|
+
},
|
|
1804
|
+
"path": {
|
|
1805
|
+
"anyOf": [
|
|
1806
|
+
{
|
|
1807
|
+
"type": "string"
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"type": "null"
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"default": null,
|
|
1814
|
+
"description": "Local filesystem path to target repository root.",
|
|
1815
|
+
"title": "Path"
|
|
1816
|
+
},
|
|
1817
|
+
"repoPath": {
|
|
1818
|
+
"anyOf": [
|
|
1819
|
+
{
|
|
1820
|
+
"type": "string"
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"type": "null"
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
"default": null,
|
|
1827
|
+
"description": "Alias for path to target repository root.",
|
|
1828
|
+
"title": "Repopath"
|
|
1829
|
+
}
|
|
1830
|
+
},
|
|
1831
|
+
"required": [
|
|
1832
|
+
"prNumber",
|
|
1833
|
+
"writeMode"
|
|
1834
|
+
],
|
|
1835
|
+
"title": "CreateRepairBranchInput",
|
|
1836
|
+
"type": "object"
|
|
1837
|
+
};
|
|
1838
|
+
export const CreateRepairBranchResponseSchema = z.object({ "prNumber": z.number().int(), "originalBranch": z.string(), "repairBranch": z.string(), "baseBranch": z.string(), "worktreePath": z.string(), "repo": z.union([z.string(), z.null()]).default(null), "path": z.union([z.string(), z.null()]).default(null) });
|
|
1839
|
+
export const CreateRepairBranchResponseJsonSchema = {
|
|
1840
|
+
"properties": {
|
|
1841
|
+
"prNumber": {
|
|
1842
|
+
"title": "Prnumber",
|
|
1843
|
+
"type": "integer"
|
|
1844
|
+
},
|
|
1845
|
+
"originalBranch": {
|
|
1846
|
+
"title": "Originalbranch",
|
|
1847
|
+
"type": "string"
|
|
1848
|
+
},
|
|
1849
|
+
"repairBranch": {
|
|
1850
|
+
"title": "Repairbranch",
|
|
1851
|
+
"type": "string"
|
|
1852
|
+
},
|
|
1853
|
+
"baseBranch": {
|
|
1854
|
+
"title": "Basebranch",
|
|
1855
|
+
"type": "string"
|
|
1856
|
+
},
|
|
1857
|
+
"worktreePath": {
|
|
1858
|
+
"title": "Worktreepath",
|
|
1859
|
+
"type": "string"
|
|
1860
|
+
},
|
|
1861
|
+
"repo": {
|
|
1862
|
+
"anyOf": [
|
|
1863
|
+
{
|
|
1864
|
+
"type": "string"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"type": "null"
|
|
1868
|
+
}
|
|
1869
|
+
],
|
|
1870
|
+
"default": null,
|
|
1871
|
+
"title": "Repo"
|
|
1872
|
+
},
|
|
1873
|
+
"path": {
|
|
1874
|
+
"anyOf": [
|
|
1875
|
+
{
|
|
1876
|
+
"type": "string"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"type": "null"
|
|
1880
|
+
}
|
|
1881
|
+
],
|
|
1882
|
+
"default": null,
|
|
1883
|
+
"title": "Path"
|
|
1884
|
+
}
|
|
1885
|
+
},
|
|
1886
|
+
"required": [
|
|
1887
|
+
"prNumber",
|
|
1888
|
+
"originalBranch",
|
|
1889
|
+
"repairBranch",
|
|
1890
|
+
"baseBranch",
|
|
1891
|
+
"worktreePath"
|
|
1892
|
+
],
|
|
1893
|
+
"title": "CreateRepairBranchResponse",
|
|
1894
|
+
"type": "object"
|
|
1895
|
+
};
|
|
1896
|
+
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"), "repo": z.union([z.string(), z.null()]).describe("Target GitHub repository override.").default(null), "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root.").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path to target repository root.").default(null) });
|
|
1897
|
+
export const GetChangedFilesInputJsonSchema = {
|
|
1898
|
+
"properties": {
|
|
1899
|
+
"base": {
|
|
1900
|
+
"default": "main",
|
|
1901
|
+
"description": "The base ref to compare from (default: 'main').",
|
|
1902
|
+
"title": "Base",
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
"head": {
|
|
1906
|
+
"default": "HEAD",
|
|
1907
|
+
"description": "The head ref to compare to (default: 'HEAD').",
|
|
1908
|
+
"title": "Head",
|
|
1909
|
+
"type": "string"
|
|
1910
|
+
},
|
|
1911
|
+
"repo": {
|
|
1912
|
+
"anyOf": [
|
|
1913
|
+
{
|
|
1914
|
+
"type": "string"
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"type": "null"
|
|
1918
|
+
}
|
|
1919
|
+
],
|
|
1920
|
+
"default": null,
|
|
1921
|
+
"description": "Target GitHub repository override.",
|
|
1922
|
+
"title": "Repo"
|
|
1923
|
+
},
|
|
1924
|
+
"path": {
|
|
1925
|
+
"anyOf": [
|
|
1926
|
+
{
|
|
1927
|
+
"type": "string"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"type": "null"
|
|
1931
|
+
}
|
|
1932
|
+
],
|
|
1933
|
+
"default": null,
|
|
1934
|
+
"description": "Local filesystem path to target repository root.",
|
|
1935
|
+
"title": "Path"
|
|
1936
|
+
},
|
|
1937
|
+
"repoPath": {
|
|
1938
|
+
"anyOf": [
|
|
1939
|
+
{
|
|
1940
|
+
"type": "string"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"type": "null"
|
|
1944
|
+
}
|
|
1945
|
+
],
|
|
1946
|
+
"default": null,
|
|
1947
|
+
"description": "Alias for path to target repository root.",
|
|
1948
|
+
"title": "Repopath"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
"title": "GetChangedFilesInput",
|
|
1952
|
+
"type": "object"
|
|
1953
|
+
};
|
|
1954
|
+
export const GetChangedFilesResponseSchema = z.object({ "files": z.array(z.string()).optional() });
|
|
1955
|
+
export const GetChangedFilesResponseJsonSchema = {
|
|
1956
|
+
"properties": {
|
|
1957
|
+
"files": {
|
|
1958
|
+
"items": {
|
|
1959
|
+
"type": "string"
|
|
1960
|
+
},
|
|
1961
|
+
"title": "Files",
|
|
1962
|
+
"type": "array"
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
"title": "GetChangedFilesResponse",
|
|
1966
|
+
"type": "object"
|
|
1967
|
+
};
|
|
1968
|
+
export const GetCommandSchemaInputSchema = z.object({ "commandPath": z.string().describe("The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')") });
|
|
1532
1969
|
export const GetCommandSchemaInputJsonSchema = {
|
|
1533
1970
|
"properties": {
|
|
1534
1971
|
"commandPath": {
|
|
@@ -1543,24 +1980,106 @@ export const GetCommandSchemaInputJsonSchema = {
|
|
|
1543
1980
|
"title": "GetCommandSchemaInput",
|
|
1544
1981
|
"type": "object"
|
|
1545
1982
|
};
|
|
1546
|
-
export const
|
|
1983
|
+
export const GetCommandSchemaResponseSchema = z.object({ "status": z.union([z.string(), z.null()]).default(null), "schema": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
|
|
1984
|
+
export const GetCommandSchemaResponseJsonSchema = {
|
|
1985
|
+
"properties": {
|
|
1986
|
+
"status": {
|
|
1987
|
+
"anyOf": [
|
|
1988
|
+
{
|
|
1989
|
+
"type": "string"
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"type": "null"
|
|
1993
|
+
}
|
|
1994
|
+
],
|
|
1995
|
+
"default": null,
|
|
1996
|
+
"title": "Status"
|
|
1997
|
+
},
|
|
1998
|
+
"schema": {
|
|
1999
|
+
"anyOf": [
|
|
2000
|
+
{
|
|
2001
|
+
"additionalProperties": true,
|
|
2002
|
+
"type": "object"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"type": "null"
|
|
2006
|
+
}
|
|
2007
|
+
],
|
|
2008
|
+
"default": null,
|
|
2009
|
+
"title": "Schema"
|
|
2010
|
+
}
|
|
2011
|
+
},
|
|
2012
|
+
"title": "GetCommandSchemaResponse",
|
|
2013
|
+
"type": "object"
|
|
2014
|
+
};
|
|
2015
|
+
export const GetMergeConflictFilesInputSchema = z.object({ "prNumber": z.union([z.number().int(), z.null()]).describe("The number of the pull request to check for conflicts.").default(null), "baseBranch": z.string().describe("The base branch to check against (default: 'main').").default("main"), "headRef": z.string().describe("The head ref or branch to check.").default("HEAD"), "repo": z.union([z.string(), z.null()]).describe("Target GitHub repository override.").default(null), "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root.").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path to target repository root.").default(null) });
|
|
1547
2016
|
export const GetMergeConflictFilesInputJsonSchema = {
|
|
1548
2017
|
"properties": {
|
|
1549
2018
|
"prNumber": {
|
|
2019
|
+
"anyOf": [
|
|
2020
|
+
{
|
|
2021
|
+
"type": "integer"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"type": "null"
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"default": null,
|
|
1550
2028
|
"description": "The number of the pull request to check for conflicts.",
|
|
1551
|
-
"title": "Prnumber"
|
|
1552
|
-
"type": "integer"
|
|
2029
|
+
"title": "Prnumber"
|
|
1553
2030
|
},
|
|
1554
2031
|
"baseBranch": {
|
|
1555
2032
|
"default": "main",
|
|
1556
2033
|
"description": "The base branch to check against (default: 'main').",
|
|
1557
2034
|
"title": "Basebranch",
|
|
1558
2035
|
"type": "string"
|
|
2036
|
+
},
|
|
2037
|
+
"headRef": {
|
|
2038
|
+
"default": "HEAD",
|
|
2039
|
+
"description": "The head ref or branch to check.",
|
|
2040
|
+
"title": "Headref",
|
|
2041
|
+
"type": "string"
|
|
2042
|
+
},
|
|
2043
|
+
"repo": {
|
|
2044
|
+
"anyOf": [
|
|
2045
|
+
{
|
|
2046
|
+
"type": "string"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"type": "null"
|
|
2050
|
+
}
|
|
2051
|
+
],
|
|
2052
|
+
"default": null,
|
|
2053
|
+
"description": "Target GitHub repository override.",
|
|
2054
|
+
"title": "Repo"
|
|
2055
|
+
},
|
|
2056
|
+
"path": {
|
|
2057
|
+
"anyOf": [
|
|
2058
|
+
{
|
|
2059
|
+
"type": "string"
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"type": "null"
|
|
2063
|
+
}
|
|
2064
|
+
],
|
|
2065
|
+
"default": null,
|
|
2066
|
+
"description": "Local filesystem path to target repository root.",
|
|
2067
|
+
"title": "Path"
|
|
2068
|
+
},
|
|
2069
|
+
"repoPath": {
|
|
2070
|
+
"anyOf": [
|
|
2071
|
+
{
|
|
2072
|
+
"type": "string"
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"type": "null"
|
|
2076
|
+
}
|
|
2077
|
+
],
|
|
2078
|
+
"default": null,
|
|
2079
|
+
"description": "Alias for path to target repository root.",
|
|
2080
|
+
"title": "Repopath"
|
|
1559
2081
|
}
|
|
1560
2082
|
},
|
|
1561
|
-
"required": [
|
|
1562
|
-
"prNumber"
|
|
1563
|
-
],
|
|
1564
2083
|
"title": "GetMergeConflictFilesInput",
|
|
1565
2084
|
"type": "object"
|
|
1566
2085
|
};
|
|
@@ -1627,6 +2146,20 @@ export const GetPackageScriptsInputJsonSchema = {
|
|
|
1627
2146
|
"title": "GetPackageScriptsInput",
|
|
1628
2147
|
"type": "object"
|
|
1629
2148
|
};
|
|
2149
|
+
export const GetPackageScriptsResponseSchema = z.object({ "scripts": z.record(z.string(), z.string()).optional() });
|
|
2150
|
+
export const GetPackageScriptsResponseJsonSchema = {
|
|
2151
|
+
"properties": {
|
|
2152
|
+
"scripts": {
|
|
2153
|
+
"additionalProperties": {
|
|
2154
|
+
"type": "string"
|
|
2155
|
+
},
|
|
2156
|
+
"title": "Scripts",
|
|
2157
|
+
"type": "object"
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"title": "GetPackageScriptsResponse",
|
|
2161
|
+
"type": "object"
|
|
2162
|
+
};
|
|
1630
2163
|
export const GetPrCommitsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the PR to list commits for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1631
2164
|
export const GetPrCommitsInputJsonSchema = {
|
|
1632
2165
|
"properties": {
|
|
@@ -1656,6 +2189,21 @@ export const GetPrCommitsInputJsonSchema = {
|
|
|
1656
2189
|
"title": "GetPrCommitsInput",
|
|
1657
2190
|
"type": "object"
|
|
1658
2191
|
};
|
|
2192
|
+
export const GetPrCommitsResponseSchema = z.object({ "commits": z.array(z.record(z.string(), z.any())).optional() });
|
|
2193
|
+
export const GetPrCommitsResponseJsonSchema = {
|
|
2194
|
+
"properties": {
|
|
2195
|
+
"commits": {
|
|
2196
|
+
"items": {
|
|
2197
|
+
"additionalProperties": true,
|
|
2198
|
+
"type": "object"
|
|
2199
|
+
},
|
|
2200
|
+
"title": "Commits",
|
|
2201
|
+
"type": "array"
|
|
2202
|
+
}
|
|
2203
|
+
},
|
|
2204
|
+
"title": "GetPrCommitsResponse",
|
|
2205
|
+
"type": "object"
|
|
2206
|
+
};
|
|
1659
2207
|
export const GetPrDiffInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to get the diff for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1660
2208
|
export const GetPrDiffInputJsonSchema = {
|
|
1661
2209
|
"properties": {
|
|
@@ -1714,6 +2262,21 @@ export const GetPrInputJsonSchema = {
|
|
|
1714
2262
|
"title": "GetPrInput",
|
|
1715
2263
|
"type": "object"
|
|
1716
2264
|
};
|
|
2265
|
+
export const GetPrResponseSchema = z.object({ "pr": z.record(z.string(), z.any()) });
|
|
2266
|
+
export const GetPrResponseJsonSchema = {
|
|
2267
|
+
"properties": {
|
|
2268
|
+
"pr": {
|
|
2269
|
+
"additionalProperties": true,
|
|
2270
|
+
"title": "Pr",
|
|
2271
|
+
"type": "object"
|
|
2272
|
+
}
|
|
2273
|
+
},
|
|
2274
|
+
"required": [
|
|
2275
|
+
"pr"
|
|
2276
|
+
],
|
|
2277
|
+
"title": "GetPrResponse",
|
|
2278
|
+
"type": "object"
|
|
2279
|
+
};
|
|
1717
2280
|
export const GetPrReviewsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the PR to view reviews for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1718
2281
|
export const GetPrReviewsInputJsonSchema = {
|
|
1719
2282
|
"properties": {
|
|
@@ -1743,6 +2306,33 @@ export const GetPrReviewsInputJsonSchema = {
|
|
|
1743
2306
|
"title": "GetPrReviewsInput",
|
|
1744
2307
|
"type": "object"
|
|
1745
2308
|
};
|
|
2309
|
+
export const GetPrReviewsResponseSchema = z.object({ "reviews": z.array(z.record(z.string(), z.any())).optional(), "reviewCount": z.union([z.number().int(), z.null()]).default(null) });
|
|
2310
|
+
export const GetPrReviewsResponseJsonSchema = {
|
|
2311
|
+
"properties": {
|
|
2312
|
+
"reviews": {
|
|
2313
|
+
"items": {
|
|
2314
|
+
"additionalProperties": true,
|
|
2315
|
+
"type": "object"
|
|
2316
|
+
},
|
|
2317
|
+
"title": "Reviews",
|
|
2318
|
+
"type": "array"
|
|
2319
|
+
},
|
|
2320
|
+
"reviewCount": {
|
|
2321
|
+
"anyOf": [
|
|
2322
|
+
{
|
|
2323
|
+
"type": "integer"
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"type": "null"
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"default": null,
|
|
2330
|
+
"title": "Reviewcount"
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"title": "GetPrReviewsResponse",
|
|
2334
|
+
"type": "object"
|
|
2335
|
+
};
|
|
1746
2336
|
export const GetRouteMapInputSchema = z.object({ "includeStatic": z.union([z.boolean(), z.null()]).describe("Whether to include static assets in the route map.").default(null) });
|
|
1747
2337
|
export const GetRouteMapInputJsonSchema = {
|
|
1748
2338
|
"properties": {
|
|
@@ -1810,6 +2400,21 @@ export const GetWorkflowRunsInputJsonSchema = {
|
|
|
1810
2400
|
"title": "GetWorkflowRunsInput",
|
|
1811
2401
|
"type": "object"
|
|
1812
2402
|
};
|
|
2403
|
+
export const GetWorkflowRunsResponseSchema = z.object({ "workflowRuns": z.array(z.record(z.string(), z.any())).optional() });
|
|
2404
|
+
export const GetWorkflowRunsResponseJsonSchema = {
|
|
2405
|
+
"properties": {
|
|
2406
|
+
"workflowRuns": {
|
|
2407
|
+
"items": {
|
|
2408
|
+
"additionalProperties": true,
|
|
2409
|
+
"type": "object"
|
|
2410
|
+
},
|
|
2411
|
+
"title": "Workflowruns",
|
|
2412
|
+
"type": "array"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
"title": "GetWorkflowRunsResponse",
|
|
2416
|
+
"type": "object"
|
|
2417
|
+
};
|
|
1813
2418
|
export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
|
|
1814
2419
|
export const HealthCheckInputJsonSchema = {
|
|
1815
2420
|
"properties": {
|
|
@@ -1823,6 +2428,31 @@ export const HealthCheckInputJsonSchema = {
|
|
|
1823
2428
|
"title": "HealthCheckInput",
|
|
1824
2429
|
"type": "object"
|
|
1825
2430
|
};
|
|
2431
|
+
export const HealthCheckResponseSchema = z.object({ "status": z.string().default("ok"), "config": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
|
|
2432
|
+
export const HealthCheckResponseJsonSchema = {
|
|
2433
|
+
"properties": {
|
|
2434
|
+
"status": {
|
|
2435
|
+
"default": "ok",
|
|
2436
|
+
"title": "Status",
|
|
2437
|
+
"type": "string"
|
|
2438
|
+
},
|
|
2439
|
+
"config": {
|
|
2440
|
+
"anyOf": [
|
|
2441
|
+
{
|
|
2442
|
+
"additionalProperties": true,
|
|
2443
|
+
"type": "object"
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"type": "null"
|
|
2447
|
+
}
|
|
2448
|
+
],
|
|
2449
|
+
"default": null,
|
|
2450
|
+
"title": "Config"
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
"title": "HealthCheckResponse",
|
|
2454
|
+
"type": "object"
|
|
2455
|
+
};
|
|
1826
2456
|
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."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
1827
2457
|
export const IssueCommentInputJsonSchema = {
|
|
1828
2458
|
"properties": {
|
|
@@ -1836,26 +2466,48 @@ export const IssueCommentInputJsonSchema = {
|
|
|
1836
2466
|
"title": "Body",
|
|
1837
2467
|
"type": "string"
|
|
1838
2468
|
},
|
|
1839
|
-
"repo": {
|
|
2469
|
+
"repo": {
|
|
2470
|
+
"anyOf": [
|
|
2471
|
+
{
|
|
2472
|
+
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
|
|
2473
|
+
"type": "string"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"type": "null"
|
|
2477
|
+
}
|
|
2478
|
+
],
|
|
2479
|
+
"default": null,
|
|
2480
|
+
"description": "The target repository override (e.g. org/repo).",
|
|
2481
|
+
"title": "Repo"
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"required": [
|
|
2485
|
+
"issueNumber",
|
|
2486
|
+
"body"
|
|
2487
|
+
],
|
|
2488
|
+
"title": "IssueCommentInput",
|
|
2489
|
+
"type": "object"
|
|
2490
|
+
};
|
|
2491
|
+
export const IssueCommentResponseSchema = z.object({ "status": z.string().default("success"), "comment": z.union([z.any(), z.null()]).default(null) });
|
|
2492
|
+
export const IssueCommentResponseJsonSchema = {
|
|
2493
|
+
"properties": {
|
|
2494
|
+
"status": {
|
|
2495
|
+
"default": "success",
|
|
2496
|
+
"title": "Status",
|
|
2497
|
+
"type": "string"
|
|
2498
|
+
},
|
|
2499
|
+
"comment": {
|
|
1840
2500
|
"anyOf": [
|
|
1841
|
-
{
|
|
1842
|
-
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
|
|
1843
|
-
"type": "string"
|
|
1844
|
-
},
|
|
2501
|
+
{},
|
|
1845
2502
|
{
|
|
1846
2503
|
"type": "null"
|
|
1847
2504
|
}
|
|
1848
2505
|
],
|
|
1849
2506
|
"default": null,
|
|
1850
|
-
"
|
|
1851
|
-
"title": "Repo"
|
|
2507
|
+
"title": "Comment"
|
|
1852
2508
|
}
|
|
1853
2509
|
},
|
|
1854
|
-
"
|
|
1855
|
-
"issueNumber",
|
|
1856
|
-
"body"
|
|
1857
|
-
],
|
|
1858
|
-
"title": "IssueCommentInput",
|
|
2510
|
+
"title": "IssueCommentResponse",
|
|
1859
2511
|
"type": "object"
|
|
1860
2512
|
};
|
|
1861
2513
|
export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "htmlUrl": z.string(), "state": z.string() });
|
|
@@ -2090,10 +2742,289 @@ export const IssueViewInputJsonSchema = {
|
|
|
2090
2742
|
"title": "Issuenumber",
|
|
2091
2743
|
"type": "integer"
|
|
2092
2744
|
},
|
|
2093
|
-
"repo": {
|
|
2745
|
+
"repo": {
|
|
2746
|
+
"anyOf": [
|
|
2747
|
+
{
|
|
2748
|
+
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
|
|
2749
|
+
"type": "string"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"type": "null"
|
|
2753
|
+
}
|
|
2754
|
+
],
|
|
2755
|
+
"default": null,
|
|
2756
|
+
"description": "The target repository override (e.g. org/repo).",
|
|
2757
|
+
"title": "Repo"
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
"required": [
|
|
2761
|
+
"issueNumber"
|
|
2762
|
+
],
|
|
2763
|
+
"title": "IssueViewInput",
|
|
2764
|
+
"type": "object"
|
|
2765
|
+
};
|
|
2766
|
+
export const IssueViewResponseSchema = z.object({ "issue": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
|
|
2767
|
+
export const IssueViewResponseJsonSchema = {
|
|
2768
|
+
"properties": {
|
|
2769
|
+
"issue": {
|
|
2770
|
+
"anyOf": [
|
|
2771
|
+
{
|
|
2772
|
+
"additionalProperties": true,
|
|
2773
|
+
"type": "object"
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"type": "null"
|
|
2777
|
+
}
|
|
2778
|
+
],
|
|
2779
|
+
"default": null,
|
|
2780
|
+
"title": "Issue"
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
"title": "IssueViewResponse",
|
|
2784
|
+
"type": "object"
|
|
2785
|
+
};
|
|
2786
|
+
export const JulesGetMessagesResponseSchema = z.object({ "id": z.string(), "messages": z.array(z.record(z.string(), z.any())).optional() });
|
|
2787
|
+
export const JulesGetMessagesResponseJsonSchema = {
|
|
2788
|
+
"properties": {
|
|
2789
|
+
"id": {
|
|
2790
|
+
"title": "Id",
|
|
2791
|
+
"type": "string"
|
|
2792
|
+
},
|
|
2793
|
+
"messages": {
|
|
2794
|
+
"items": {
|
|
2795
|
+
"additionalProperties": true,
|
|
2796
|
+
"type": "object"
|
|
2797
|
+
},
|
|
2798
|
+
"title": "Messages",
|
|
2799
|
+
"type": "array"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"required": [
|
|
2803
|
+
"id"
|
|
2804
|
+
],
|
|
2805
|
+
"title": "JulesGetMessagesResponse",
|
|
2806
|
+
"type": "object"
|
|
2807
|
+
};
|
|
2808
|
+
export const JulesGetPrResponseSchema = z.object({ "id": z.string(), "pullRequestUrl": z.union([z.string(), z.null()]).default(null) });
|
|
2809
|
+
export const JulesGetPrResponseJsonSchema = {
|
|
2810
|
+
"properties": {
|
|
2811
|
+
"id": {
|
|
2812
|
+
"title": "Id",
|
|
2813
|
+
"type": "string"
|
|
2814
|
+
},
|
|
2815
|
+
"pullRequestUrl": {
|
|
2816
|
+
"anyOf": [
|
|
2817
|
+
{
|
|
2818
|
+
"type": "string"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"type": "null"
|
|
2822
|
+
}
|
|
2823
|
+
],
|
|
2824
|
+
"default": null,
|
|
2825
|
+
"title": "Pullrequesturl"
|
|
2826
|
+
}
|
|
2827
|
+
},
|
|
2828
|
+
"required": [
|
|
2829
|
+
"id"
|
|
2830
|
+
],
|
|
2831
|
+
"title": "JulesGetPrResponse",
|
|
2832
|
+
"type": "object"
|
|
2833
|
+
};
|
|
2834
|
+
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) });
|
|
2835
|
+
export const JulesListSessionsInputJsonSchema = {
|
|
2836
|
+
"properties": {
|
|
2837
|
+
"pageSize": {
|
|
2838
|
+
"anyOf": [
|
|
2839
|
+
{
|
|
2840
|
+
"type": "integer"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
"type": "null"
|
|
2844
|
+
}
|
|
2845
|
+
],
|
|
2846
|
+
"default": null,
|
|
2847
|
+
"description": "Maximum number of sessions to return.",
|
|
2848
|
+
"title": "Pagesize"
|
|
2849
|
+
},
|
|
2850
|
+
"pageToken": {
|
|
2851
|
+
"anyOf": [
|
|
2852
|
+
{
|
|
2853
|
+
"type": "string"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"type": "null"
|
|
2857
|
+
}
|
|
2858
|
+
],
|
|
2859
|
+
"default": null,
|
|
2860
|
+
"description": "Token for pagination.",
|
|
2861
|
+
"title": "Pagetoken"
|
|
2862
|
+
}
|
|
2863
|
+
},
|
|
2864
|
+
"title": "JulesListSessionsInput",
|
|
2865
|
+
"type": "object"
|
|
2866
|
+
};
|
|
2867
|
+
export const JulesListSessionsResponseSchema = z.object({ "sessions": z.array(z.any()).optional() });
|
|
2868
|
+
export const JulesListSessionsResponseJsonSchema = {
|
|
2869
|
+
"$defs": {
|
|
2870
|
+
"JulesSessionResponse": {
|
|
2871
|
+
"properties": {
|
|
2872
|
+
"id": {
|
|
2873
|
+
"title": "Id",
|
|
2874
|
+
"type": "string"
|
|
2875
|
+
},
|
|
2876
|
+
"status": {
|
|
2877
|
+
"title": "Status",
|
|
2878
|
+
"type": "string"
|
|
2879
|
+
},
|
|
2880
|
+
"createdAt": {
|
|
2881
|
+
"anyOf": [
|
|
2882
|
+
{},
|
|
2883
|
+
{
|
|
2884
|
+
"type": "null"
|
|
2885
|
+
}
|
|
2886
|
+
],
|
|
2887
|
+
"default": null,
|
|
2888
|
+
"title": "Createdat"
|
|
2889
|
+
},
|
|
2890
|
+
"pullRequestUrl": {
|
|
2891
|
+
"anyOf": [
|
|
2892
|
+
{
|
|
2893
|
+
"type": "string"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"type": "null"
|
|
2897
|
+
}
|
|
2898
|
+
],
|
|
2899
|
+
"default": null,
|
|
2900
|
+
"title": "Pullrequesturl"
|
|
2901
|
+
}
|
|
2902
|
+
},
|
|
2903
|
+
"required": [
|
|
2904
|
+
"id",
|
|
2905
|
+
"status"
|
|
2906
|
+
],
|
|
2907
|
+
"title": "JulesSessionResponse",
|
|
2908
|
+
"type": "object"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
"properties": {
|
|
2912
|
+
"sessions": {
|
|
2913
|
+
"items": {
|
|
2914
|
+
"$ref": "#/$defs/JulesSessionResponse"
|
|
2915
|
+
},
|
|
2916
|
+
"title": "Sessions",
|
|
2917
|
+
"type": "array"
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2920
|
+
"title": "JulesListSessionsResponse",
|
|
2921
|
+
"type": "object"
|
|
2922
|
+
};
|
|
2923
|
+
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.") });
|
|
2924
|
+
export const JulesSendMessageInputJsonSchema = {
|
|
2925
|
+
"properties": {
|
|
2926
|
+
"sessionId": {
|
|
2927
|
+
"anyOf": [
|
|
2928
|
+
{
|
|
2929
|
+
"type": "string"
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"items": {
|
|
2933
|
+
"type": "string"
|
|
2934
|
+
},
|
|
2935
|
+
"type": "array"
|
|
2936
|
+
}
|
|
2937
|
+
],
|
|
2938
|
+
"description": "The unique ID or IDs of the Jules session(s).",
|
|
2939
|
+
"title": "Sessionid"
|
|
2940
|
+
},
|
|
2941
|
+
"message": {
|
|
2942
|
+
"description": "The message content to send.",
|
|
2943
|
+
"minLength": 1,
|
|
2944
|
+
"title": "Message",
|
|
2945
|
+
"type": "string"
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
"required": [
|
|
2949
|
+
"sessionId",
|
|
2950
|
+
"message"
|
|
2951
|
+
],
|
|
2952
|
+
"title": "JulesSendMessageInput",
|
|
2953
|
+
"type": "object"
|
|
2954
|
+
};
|
|
2955
|
+
export const JulesSendMessageResponseSchema = z.object({ "id": z.union([z.string(), z.array(z.string())]), "status": z.string().default("success"), "message": z.string() });
|
|
2956
|
+
export const JulesSendMessageResponseJsonSchema = {
|
|
2957
|
+
"properties": {
|
|
2958
|
+
"id": {
|
|
2959
|
+
"anyOf": [
|
|
2960
|
+
{
|
|
2961
|
+
"type": "string"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"items": {
|
|
2965
|
+
"type": "string"
|
|
2966
|
+
},
|
|
2967
|
+
"type": "array"
|
|
2968
|
+
}
|
|
2969
|
+
],
|
|
2970
|
+
"title": "Id"
|
|
2971
|
+
},
|
|
2972
|
+
"status": {
|
|
2973
|
+
"default": "success",
|
|
2974
|
+
"title": "Status",
|
|
2975
|
+
"type": "string"
|
|
2976
|
+
},
|
|
2977
|
+
"message": {
|
|
2978
|
+
"title": "Message",
|
|
2979
|
+
"type": "string"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
"required": [
|
|
2983
|
+
"id",
|
|
2984
|
+
"message"
|
|
2985
|
+
],
|
|
2986
|
+
"title": "JulesSendMessageResponse",
|
|
2987
|
+
"type": "object"
|
|
2988
|
+
};
|
|
2989
|
+
export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
|
|
2990
|
+
export const JulesSessionIdInputJsonSchema = {
|
|
2991
|
+
"properties": {
|
|
2992
|
+
"sessionId": {
|
|
2993
|
+
"description": "The unique ID of the Jules session.",
|
|
2994
|
+
"title": "Sessionid",
|
|
2995
|
+
"type": "string"
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
"required": [
|
|
2999
|
+
"sessionId"
|
|
3000
|
+
],
|
|
3001
|
+
"title": "JulesSessionIdInput",
|
|
3002
|
+
"type": "object"
|
|
3003
|
+
};
|
|
3004
|
+
export const JulesSessionResponseSchema = z.object({ "id": z.string(), "status": z.string(), "createdAt": z.union([z.any(), z.null()]).default(null), "pullRequestUrl": z.union([z.string(), z.null()]).default(null) });
|
|
3005
|
+
export const JulesSessionResponseJsonSchema = {
|
|
3006
|
+
"properties": {
|
|
3007
|
+
"id": {
|
|
3008
|
+
"title": "Id",
|
|
3009
|
+
"type": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"status": {
|
|
3012
|
+
"title": "Status",
|
|
3013
|
+
"type": "string"
|
|
3014
|
+
},
|
|
3015
|
+
"createdAt": {
|
|
3016
|
+
"anyOf": [
|
|
3017
|
+
{},
|
|
3018
|
+
{
|
|
3019
|
+
"type": "null"
|
|
3020
|
+
}
|
|
3021
|
+
],
|
|
3022
|
+
"default": null,
|
|
3023
|
+
"title": "Createdat"
|
|
3024
|
+
},
|
|
3025
|
+
"pullRequestUrl": {
|
|
2094
3026
|
"anyOf": [
|
|
2095
3027
|
{
|
|
2096
|
-
"pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
|
|
2097
3028
|
"type": "string"
|
|
2098
3029
|
},
|
|
2099
3030
|
{
|
|
@@ -2101,33 +3032,32 @@ export const IssueViewInputJsonSchema = {
|
|
|
2101
3032
|
}
|
|
2102
3033
|
],
|
|
2103
3034
|
"default": null,
|
|
2104
|
-
"
|
|
2105
|
-
"title": "Repo"
|
|
3035
|
+
"title": "Pullrequesturl"
|
|
2106
3036
|
}
|
|
2107
3037
|
},
|
|
2108
3038
|
"required": [
|
|
2109
|
-
"
|
|
3039
|
+
"id",
|
|
3040
|
+
"status"
|
|
2110
3041
|
],
|
|
2111
|
-
"title": "
|
|
3042
|
+
"title": "JulesSessionResponse",
|
|
2112
3043
|
"type": "object"
|
|
2113
3044
|
};
|
|
2114
|
-
export const
|
|
2115
|
-
export const
|
|
3045
|
+
export const JulesTriggerFeedbackResponseSchema = z.object({ "status": z.union([z.string(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
|
|
3046
|
+
export const JulesTriggerFeedbackResponseJsonSchema = {
|
|
2116
3047
|
"properties": {
|
|
2117
|
-
"
|
|
3048
|
+
"status": {
|
|
2118
3049
|
"anyOf": [
|
|
2119
3050
|
{
|
|
2120
|
-
"type": "
|
|
3051
|
+
"type": "string"
|
|
2121
3052
|
},
|
|
2122
3053
|
{
|
|
2123
3054
|
"type": "null"
|
|
2124
3055
|
}
|
|
2125
3056
|
],
|
|
2126
3057
|
"default": null,
|
|
2127
|
-
"
|
|
2128
|
-
"title": "Pagesize"
|
|
3058
|
+
"title": "Status"
|
|
2129
3059
|
},
|
|
2130
|
-
"
|
|
3060
|
+
"message": {
|
|
2131
3061
|
"anyOf": [
|
|
2132
3062
|
{
|
|
2133
3063
|
"type": "string"
|
|
@@ -2137,58 +3067,97 @@ export const JulesListSessionsInputJsonSchema = {
|
|
|
2137
3067
|
}
|
|
2138
3068
|
],
|
|
2139
3069
|
"default": null,
|
|
2140
|
-
"
|
|
2141
|
-
"title": "Pagetoken"
|
|
3070
|
+
"title": "Message"
|
|
2142
3071
|
}
|
|
2143
3072
|
},
|
|
2144
|
-
"title": "
|
|
3073
|
+
"title": "JulesTriggerFeedbackResponse",
|
|
2145
3074
|
"type": "object"
|
|
2146
3075
|
};
|
|
2147
|
-
export const
|
|
2148
|
-
export const
|
|
3076
|
+
export const MultiExecInputSchema = z.object({ "command": z.string().describe("Shell command to execute sequentially across repositories"), "repos": z.union([z.array(z.string()), z.null()]).describe("Optional list of repository names to target").default(null), "continueOnError": z.union([z.boolean(), z.null()]).describe("Whether to continue execution if a repo command fails").default(true) });
|
|
3077
|
+
export const MultiExecInputJsonSchema = {
|
|
2149
3078
|
"properties": {
|
|
2150
|
-
"
|
|
3079
|
+
"command": {
|
|
3080
|
+
"description": "Shell command to execute sequentially across repositories",
|
|
3081
|
+
"title": "Command",
|
|
3082
|
+
"type": "string"
|
|
3083
|
+
},
|
|
3084
|
+
"repos": {
|
|
2151
3085
|
"anyOf": [
|
|
2152
|
-
{
|
|
2153
|
-
"type": "string"
|
|
2154
|
-
},
|
|
2155
3086
|
{
|
|
2156
3087
|
"items": {
|
|
2157
3088
|
"type": "string"
|
|
2158
3089
|
},
|
|
2159
3090
|
"type": "array"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"type": "null"
|
|
2160
3094
|
}
|
|
2161
3095
|
],
|
|
2162
|
-
"
|
|
2163
|
-
"
|
|
3096
|
+
"default": null,
|
|
3097
|
+
"description": "Optional list of repository names to target",
|
|
3098
|
+
"title": "Repos"
|
|
2164
3099
|
},
|
|
2165
|
-
"
|
|
2166
|
-
"
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
3100
|
+
"continueOnError": {
|
|
3101
|
+
"anyOf": [
|
|
3102
|
+
{
|
|
3103
|
+
"type": "boolean"
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"type": "null"
|
|
3107
|
+
}
|
|
3108
|
+
],
|
|
3109
|
+
"default": true,
|
|
3110
|
+
"description": "Whether to continue execution if a repo command fails",
|
|
3111
|
+
"title": "Continueonerror"
|
|
2170
3112
|
}
|
|
2171
3113
|
},
|
|
2172
3114
|
"required": [
|
|
2173
|
-
"
|
|
2174
|
-
"message"
|
|
3115
|
+
"command"
|
|
2175
3116
|
],
|
|
2176
|
-
"title": "
|
|
3117
|
+
"title": "MultiExecInput",
|
|
2177
3118
|
"type": "object"
|
|
2178
3119
|
};
|
|
2179
|
-
export const
|
|
2180
|
-
export const
|
|
3120
|
+
export const MultiExecResponseSchema = z.object({ "status": z.string().describe("Execution status").default("success"), "total": z.union([z.number().int(), z.null()]).describe("Total repositories executed against").default(null), "results": z.union([z.array(z.record(z.string(), z.any())), z.null()]).describe("Execution results per repository").default(null) });
|
|
3121
|
+
export const MultiExecResponseJsonSchema = {
|
|
2181
3122
|
"properties": {
|
|
2182
|
-
"
|
|
2183
|
-
"
|
|
2184
|
-
"
|
|
3123
|
+
"status": {
|
|
3124
|
+
"default": "success",
|
|
3125
|
+
"description": "Execution status",
|
|
3126
|
+
"title": "Status",
|
|
2185
3127
|
"type": "string"
|
|
3128
|
+
},
|
|
3129
|
+
"total": {
|
|
3130
|
+
"anyOf": [
|
|
3131
|
+
{
|
|
3132
|
+
"type": "integer"
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"type": "null"
|
|
3136
|
+
}
|
|
3137
|
+
],
|
|
3138
|
+
"default": null,
|
|
3139
|
+
"description": "Total repositories executed against",
|
|
3140
|
+
"title": "Total"
|
|
3141
|
+
},
|
|
3142
|
+
"results": {
|
|
3143
|
+
"anyOf": [
|
|
3144
|
+
{
|
|
3145
|
+
"items": {
|
|
3146
|
+
"additionalProperties": true,
|
|
3147
|
+
"type": "object"
|
|
3148
|
+
},
|
|
3149
|
+
"type": "array"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"type": "null"
|
|
3153
|
+
}
|
|
3154
|
+
],
|
|
3155
|
+
"default": null,
|
|
3156
|
+
"description": "Execution results per repository",
|
|
3157
|
+
"title": "Results"
|
|
2186
3158
|
}
|
|
2187
3159
|
},
|
|
2188
|
-
"
|
|
2189
|
-
"sessionId"
|
|
2190
|
-
],
|
|
2191
|
-
"title": "JulesSessionIdInput",
|
|
3160
|
+
"title": "MultiExecResponse",
|
|
2192
3161
|
"type": "object"
|
|
2193
3162
|
};
|
|
2194
3163
|
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.") });
|
|
@@ -2255,6 +3224,25 @@ export const OpenReplacementPrInputJsonSchema = {
|
|
|
2255
3224
|
"title": "OpenReplacementPrInput",
|
|
2256
3225
|
"type": "object"
|
|
2257
3226
|
};
|
|
3227
|
+
export const OpenReplacementPrResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
|
|
3228
|
+
export const OpenReplacementPrResponseJsonSchema = {
|
|
3229
|
+
"properties": {
|
|
3230
|
+
"success": {
|
|
3231
|
+
"default": true,
|
|
3232
|
+
"title": "Success",
|
|
3233
|
+
"type": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"url": {
|
|
3236
|
+
"title": "Url",
|
|
3237
|
+
"type": "string"
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
"required": [
|
|
3241
|
+
"url"
|
|
3242
|
+
],
|
|
3243
|
+
"title": "OpenReplacementPrResponse",
|
|
3244
|
+
"type": "object"
|
|
3245
|
+
};
|
|
2258
3246
|
export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "createdAt": z.string() });
|
|
2259
3247
|
export const PRCommentJsonSchema = {
|
|
2260
3248
|
"properties": {
|
|
@@ -2403,12 +3391,130 @@ export const PrDiffResponseJsonSchema = {
|
|
|
2403
3391
|
"title": "PrDiffResponse",
|
|
2404
3392
|
"type": "object"
|
|
2405
3393
|
};
|
|
2406
|
-
export const ReadAgentContextInputSchema = z.object({});
|
|
3394
|
+
export const ReadAgentContextInputSchema = z.object({ "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path (filesystem path to target workspace repository root).").default(null), "repo": z.union([z.string(), z.null()]).describe("Target GitHub repository string (e.g. org/repo).").default(null), "repos": z.union([z.array(z.string()), z.null()]).describe("List of repository names to fetch context for").default(null), "all": z.union([z.boolean(), z.null()]).describe("Whether to fetch context across all discovered ecosystem repositories").default(null) });
|
|
2407
3395
|
export const ReadAgentContextInputJsonSchema = {
|
|
2408
|
-
"properties": {
|
|
3396
|
+
"properties": {
|
|
3397
|
+
"path": {
|
|
3398
|
+
"anyOf": [
|
|
3399
|
+
{
|
|
3400
|
+
"type": "string"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"type": "null"
|
|
3404
|
+
}
|
|
3405
|
+
],
|
|
3406
|
+
"default": null,
|
|
3407
|
+
"description": "Local filesystem path to target repository root",
|
|
3408
|
+
"title": "Path"
|
|
3409
|
+
},
|
|
3410
|
+
"repoPath": {
|
|
3411
|
+
"anyOf": [
|
|
3412
|
+
{
|
|
3413
|
+
"type": "string"
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"type": "null"
|
|
3417
|
+
}
|
|
3418
|
+
],
|
|
3419
|
+
"default": null,
|
|
3420
|
+
"description": "Alias for path (filesystem path to target workspace repository root).",
|
|
3421
|
+
"title": "Repopath"
|
|
3422
|
+
},
|
|
3423
|
+
"repo": {
|
|
3424
|
+
"anyOf": [
|
|
3425
|
+
{
|
|
3426
|
+
"type": "string"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"type": "null"
|
|
3430
|
+
}
|
|
3431
|
+
],
|
|
3432
|
+
"default": null,
|
|
3433
|
+
"description": "Target GitHub repository string (e.g. org/repo).",
|
|
3434
|
+
"title": "Repo"
|
|
3435
|
+
},
|
|
3436
|
+
"repos": {
|
|
3437
|
+
"anyOf": [
|
|
3438
|
+
{
|
|
3439
|
+
"items": {
|
|
3440
|
+
"type": "string"
|
|
3441
|
+
},
|
|
3442
|
+
"type": "array"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"type": "null"
|
|
3446
|
+
}
|
|
3447
|
+
],
|
|
3448
|
+
"default": null,
|
|
3449
|
+
"description": "List of repository names to fetch context for",
|
|
3450
|
+
"title": "Repos"
|
|
3451
|
+
},
|
|
3452
|
+
"all": {
|
|
3453
|
+
"anyOf": [
|
|
3454
|
+
{
|
|
3455
|
+
"type": "boolean"
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"type": "null"
|
|
3459
|
+
}
|
|
3460
|
+
],
|
|
3461
|
+
"default": null,
|
|
3462
|
+
"description": "Whether to fetch context across all discovered ecosystem repositories",
|
|
3463
|
+
"title": "All"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
2409
3466
|
"title": "ReadAgentContextInput",
|
|
2410
3467
|
"type": "object"
|
|
2411
3468
|
};
|
|
3469
|
+
export const ReadAgentContextResponseSchema = z.object({ "status": z.string().default("success"), "packageName": z.union([z.string(), z.null()]).default(null), "gitCommit": z.union([z.string(), z.null()]).default(null), "config": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
|
|
3470
|
+
export const ReadAgentContextResponseJsonSchema = {
|
|
3471
|
+
"properties": {
|
|
3472
|
+
"status": {
|
|
3473
|
+
"default": "success",
|
|
3474
|
+
"title": "Status",
|
|
3475
|
+
"type": "string"
|
|
3476
|
+
},
|
|
3477
|
+
"packageName": {
|
|
3478
|
+
"anyOf": [
|
|
3479
|
+
{
|
|
3480
|
+
"type": "string"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"type": "null"
|
|
3484
|
+
}
|
|
3485
|
+
],
|
|
3486
|
+
"default": null,
|
|
3487
|
+
"title": "Packagename"
|
|
3488
|
+
},
|
|
3489
|
+
"gitCommit": {
|
|
3490
|
+
"anyOf": [
|
|
3491
|
+
{
|
|
3492
|
+
"type": "string"
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
"type": "null"
|
|
3496
|
+
}
|
|
3497
|
+
],
|
|
3498
|
+
"default": null,
|
|
3499
|
+
"title": "Gitcommit"
|
|
3500
|
+
},
|
|
3501
|
+
"config": {
|
|
3502
|
+
"anyOf": [
|
|
3503
|
+
{
|
|
3504
|
+
"additionalProperties": true,
|
|
3505
|
+
"type": "object"
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"type": "null"
|
|
3509
|
+
}
|
|
3510
|
+
],
|
|
3511
|
+
"default": null,
|
|
3512
|
+
"title": "Config"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
"title": "ReadAgentContextResponse",
|
|
3516
|
+
"type": "object"
|
|
3517
|
+
};
|
|
2412
3518
|
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), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
|
|
2413
3519
|
export const ReadCiLogsInputJsonSchema = {
|
|
2414
3520
|
"properties": {
|
|
@@ -2444,6 +3550,55 @@ export const ReadCiLogsInputJsonSchema = {
|
|
|
2444
3550
|
"title": "ReadCiLogsInput",
|
|
2445
3551
|
"type": "object"
|
|
2446
3552
|
};
|
|
3553
|
+
export const ReadCiLogsResponseSchema = z.object({ "checks": z.union([z.array(z.record(z.string(), z.any())), z.null()]).default(null), "failedChecks": z.union([z.array(z.record(z.string(), z.any())), z.null()]).default(null), "logs": z.union([z.any(), z.null()]).default(null) });
|
|
3554
|
+
export const ReadCiLogsResponseJsonSchema = {
|
|
3555
|
+
"properties": {
|
|
3556
|
+
"checks": {
|
|
3557
|
+
"anyOf": [
|
|
3558
|
+
{
|
|
3559
|
+
"items": {
|
|
3560
|
+
"additionalProperties": true,
|
|
3561
|
+
"type": "object"
|
|
3562
|
+
},
|
|
3563
|
+
"type": "array"
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"type": "null"
|
|
3567
|
+
}
|
|
3568
|
+
],
|
|
3569
|
+
"default": null,
|
|
3570
|
+
"title": "Checks"
|
|
3571
|
+
},
|
|
3572
|
+
"failedChecks": {
|
|
3573
|
+
"anyOf": [
|
|
3574
|
+
{
|
|
3575
|
+
"items": {
|
|
3576
|
+
"additionalProperties": true,
|
|
3577
|
+
"type": "object"
|
|
3578
|
+
},
|
|
3579
|
+
"type": "array"
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
"type": "null"
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3585
|
+
"default": null,
|
|
3586
|
+
"title": "Failedchecks"
|
|
3587
|
+
},
|
|
3588
|
+
"logs": {
|
|
3589
|
+
"anyOf": [
|
|
3590
|
+
{},
|
|
3591
|
+
{
|
|
3592
|
+
"type": "null"
|
|
3593
|
+
}
|
|
3594
|
+
],
|
|
3595
|
+
"default": null,
|
|
3596
|
+
"title": "Logs"
|
|
3597
|
+
}
|
|
3598
|
+
},
|
|
3599
|
+
"title": "ReadCiLogsResponse",
|
|
3600
|
+
"type": "object"
|
|
3601
|
+
};
|
|
2447
3602
|
export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
|
|
2448
3603
|
export const ReadPRCommentsInputJsonSchema = {
|
|
2449
3604
|
"properties": {
|
|
@@ -2649,6 +3804,23 @@ export const RepoLogsInputJsonSchema = {
|
|
|
2649
3804
|
"title": "RepoLogsInput",
|
|
2650
3805
|
"type": "object"
|
|
2651
3806
|
};
|
|
3807
|
+
export const RepoLogsResponseSchema = z.object({ "logs": z.union([z.any(), z.null()]).default(null) });
|
|
3808
|
+
export const RepoLogsResponseJsonSchema = {
|
|
3809
|
+
"properties": {
|
|
3810
|
+
"logs": {
|
|
3811
|
+
"anyOf": [
|
|
3812
|
+
{},
|
|
3813
|
+
{
|
|
3814
|
+
"type": "null"
|
|
3815
|
+
}
|
|
3816
|
+
],
|
|
3817
|
+
"default": null,
|
|
3818
|
+
"title": "Logs"
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"title": "RepoLogsResponse",
|
|
3822
|
+
"type": "object"
|
|
3823
|
+
};
|
|
2652
3824
|
export const ReviewCommentSchema = z.object({ "user": z.string(), "path": z.string(), "line": z.union([z.number().int(), z.null()]).default(null), "body": z.string(), "createdAt": z.string() });
|
|
2653
3825
|
export const ReviewCommentJsonSchema = {
|
|
2654
3826
|
"properties": {
|