@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.
Files changed (109) hide show
  1. package/.mcp/schemas/boomtick.health.json +22 -3
  2. package/.mcp/schemas/boomtick_health.json +22 -3
  3. package/.mcp/schemas/github.checkout_branch.json +16 -3
  4. package/.mcp/schemas/github.comment_triage_summary.json +16 -3
  5. package/.mcp/schemas/github.create_pull_request.json +16 -3
  6. package/.mcp/schemas/github.get_merge_conflict_files.json +55 -5
  7. package/.mcp/schemas/github.get_pr.json +12 -3
  8. package/.mcp/schemas/github.get_pr_commits.json +12 -3
  9. package/.mcp/schemas/github.get_pr_reviews.json +24 -3
  10. package/.mcp/schemas/github.issue_comment.json +19 -3
  11. package/.mcp/schemas/github.issue_view.json +17 -3
  12. package/.mcp/schemas/github.open_replacement_pr.json +16 -3
  13. package/.mcp/schemas/github_checkout_branch.json +16 -3
  14. package/.mcp/schemas/github_comment_triage_summary.json +16 -3
  15. package/.mcp/schemas/github_create_pull_request.json +16 -3
  16. package/.mcp/schemas/github_get_merge_conflict_files.json +55 -5
  17. package/.mcp/schemas/github_get_pr.json +12 -3
  18. package/.mcp/schemas/github_get_pr_commits.json +12 -3
  19. package/.mcp/schemas/github_get_pr_reviews.json +24 -3
  20. package/.mcp/schemas/github_issue_comment.json +19 -3
  21. package/.mcp/schemas/github_issue_view.json +17 -3
  22. package/.mcp/schemas/github_open_replacement_pr.json +16 -3
  23. package/.mcp/schemas/jules.cancel_session.json +38 -3
  24. package/.mcp/schemas/jules.create_session.json +52 -3
  25. package/.mcp/schemas/jules.get_messages.json +19 -3
  26. package/.mcp/schemas/jules.get_pr.json +23 -3
  27. package/.mcp/schemas/jules.get_session.json +38 -3
  28. package/.mcp/schemas/jules.list_sessions.json +53 -3
  29. package/.mcp/schemas/jules.send_message.json +31 -3
  30. package/.mcp/schemas/jules.trigger_feedback.json +28 -3
  31. package/.mcp/schemas/jules_cancel_session.json +38 -3
  32. package/.mcp/schemas/jules_create_session.json +52 -3
  33. package/.mcp/schemas/jules_get_messages.json +19 -3
  34. package/.mcp/schemas/jules_get_pr.json +23 -3
  35. package/.mcp/schemas/jules_get_session.json +38 -3
  36. package/.mcp/schemas/jules_list_sessions.json +53 -3
  37. package/.mcp/schemas/jules_send_message.json +31 -3
  38. package/.mcp/schemas/jules_trigger_feedback.json +28 -3
  39. package/.mcp/schemas/repo.check_jules_status.json +93 -3
  40. package/.mcp/schemas/repo.commit_patch.json +23 -3
  41. package/.mcp/schemas/repo.create_branch.json +91 -3
  42. package/.mcp/schemas/repo.create_repair_branch.json +94 -3
  43. package/.mcp/schemas/repo.get_changed_files.json +50 -3
  44. package/.mcp/schemas/repo.get_command_schema.json +29 -3
  45. package/.mcp/schemas/repo.get_package_scripts.json +11 -3
  46. package/.mcp/schemas/repo.get_workflow_runs.json +12 -3
  47. package/.mcp/schemas/repo.logs.json +14 -3
  48. package/.mcp/schemas/repo.multi_exec.json +89 -0
  49. package/.mcp/schemas/repo.read_agent_context.json +117 -5
  50. package/.mcp/schemas/repo.read_ci_logs.json +46 -3
  51. package/.mcp/schemas/repo_check_jules_status.json +93 -3
  52. package/.mcp/schemas/repo_commit_patch.json +23 -3
  53. package/.mcp/schemas/repo_create_branch.json +91 -3
  54. package/.mcp/schemas/repo_create_repair_branch.json +94 -3
  55. package/.mcp/schemas/repo_get_changed_files.json +50 -3
  56. package/.mcp/schemas/repo_get_command_schema.json +29 -3
  57. package/.mcp/schemas/repo_get_package_scripts.json +11 -3
  58. package/.mcp/schemas/repo_get_workflow_runs.json +12 -3
  59. package/.mcp/schemas/repo_logs.json +14 -3
  60. package/.mcp/schemas/repo_multi_exec.json +89 -0
  61. package/.mcp/schemas/repo_read_agent_context.json +117 -5
  62. package/.mcp/schemas/repo_read_ci_logs.json +46 -3
  63. package/CHANGELOG.md +22 -0
  64. package/README.md +7 -5
  65. package/dist/config/dynamic.js +3 -2
  66. package/dist/config/repo.js +5 -5
  67. package/dist/config.test.js +10 -3
  68. package/dist/lib/git.js +78 -6
  69. package/dist/lib/git.test.js +34 -1
  70. package/dist/mcp/definitions.js +49 -36
  71. package/dist/mcp/http.js +15 -0
  72. package/dist/mcp/http.test.js +8 -0
  73. package/dist/mcp/server.js +34 -0
  74. package/dist/mcp/server.test.js +31 -0
  75. package/dist/tools/contract.js +1264 -92
  76. package/dist/tools/github.get_merge_conflict_files.js +10 -2
  77. package/dist/tools/jules/create-session.js +12 -2
  78. package/dist/tools/jules/create-session.test.js +7 -0
  79. package/dist/tools/repo.create_branch.js +18 -4
  80. package/dist/tools/repo.create_branch.test.js +41 -5
  81. package/dist/tools/repo.create_repair_branch.js +26 -9
  82. package/dist/tools/repo.get_changed_files.js +10 -2
  83. package/dist/tools/repo.multi_exec.js +21 -0
  84. package/dist/tools/repo.multi_exec.test.js +13 -0
  85. package/dist/tools/repo.read_agent_context.js +65 -3
  86. package/dist/tools/repo.read_agent_context.test.js +30 -1
  87. package/package.json +1 -1
  88. package/src/config/dynamic.ts +3 -2
  89. package/src/config/repo.ts +6 -6
  90. package/src/config.test.ts +11 -3
  91. package/src/lib/git.test.ts +45 -1
  92. package/src/lib/git.ts +94 -6
  93. package/src/mcp/definitions.ts +77 -36
  94. package/src/mcp/http.test.ts +10 -0
  95. package/src/mcp/http.ts +20 -0
  96. package/src/mcp/server.test.ts +38 -0
  97. package/src/mcp/server.ts +36 -0
  98. package/src/tools/contract.ts +1355 -67
  99. package/src/tools/github.get_merge_conflict_files.ts +11 -2
  100. package/src/tools/jules/create-session.test.ts +9 -0
  101. package/src/tools/jules/create-session.ts +13 -2
  102. package/src/tools/repo.create_branch.test.ts +73 -5
  103. package/src/tools/repo.create_branch.ts +30 -4
  104. package/src/tools/repo.create_repair_branch.ts +31 -9
  105. package/src/tools/repo.get_changed_files.ts +10 -2
  106. package/src/tools/repo.multi_exec.test.ts +15 -0
  107. package/src/tools/repo.multi_exec.ts +23 -0
  108. package/src/tools/repo.read_agent_context.test.ts +35 -1
  109. package/src/tools/repo.read_agent_context.ts +68 -3
@@ -749,6 +749,106 @@ export const CamelCaseModelJsonSchema = {
749
749
  "type": "object"
750
750
  } as const;
751
751
 
752
+ 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) });
753
+
754
+ export type CheckJulesStatusResponse = z.infer<typeof CheckJulesStatusResponseSchema>;
755
+
756
+ export const CheckJulesStatusResponseJsonSchema = {
757
+ "properties": {
758
+ "sessionId": {
759
+ "title": "Sessionid",
760
+ "type": "string"
761
+ },
762
+ "status": {
763
+ "title": "Status",
764
+ "type": "string"
765
+ },
766
+ "rawState": {
767
+ "anyOf": [
768
+ {
769
+ "type": "string"
770
+ },
771
+ {
772
+ "type": "null"
773
+ }
774
+ ],
775
+ "default": null,
776
+ "title": "Rawstate"
777
+ },
778
+ "completed": {
779
+ "default": false,
780
+ "title": "Completed",
781
+ "type": "boolean"
782
+ },
783
+ "remediationBranch": {
784
+ "anyOf": [
785
+ {
786
+ "type": "string"
787
+ },
788
+ {
789
+ "type": "null"
790
+ }
791
+ ],
792
+ "default": null,
793
+ "title": "Remediationbranch"
794
+ },
795
+ "pullRequestUrl": {
796
+ "anyOf": [
797
+ {
798
+ "type": "string"
799
+ },
800
+ {
801
+ "type": "null"
802
+ }
803
+ ],
804
+ "default": null,
805
+ "title": "Pullrequesturl"
806
+ },
807
+ "idempotencyHash": {
808
+ "anyOf": [
809
+ {
810
+ "type": "string"
811
+ },
812
+ {
813
+ "type": "null"
814
+ }
815
+ ],
816
+ "default": null,
817
+ "title": "Idempotencyhash"
818
+ },
819
+ "isDuplicate": {
820
+ "anyOf": [
821
+ {
822
+ "type": "boolean"
823
+ },
824
+ {
825
+ "type": "null"
826
+ }
827
+ ],
828
+ "default": null,
829
+ "title": "Isduplicate"
830
+ },
831
+ "message": {
832
+ "anyOf": [
833
+ {
834
+ "type": "string"
835
+ },
836
+ {
837
+ "type": "null"
838
+ }
839
+ ],
840
+ "default": null,
841
+ "title": "Message"
842
+ }
843
+ },
844
+ "required": [
845
+ "sessionId",
846
+ "status"
847
+ ],
848
+ "title": "CheckJulesStatusResponse",
849
+ "type": "object"
850
+ } as const;
851
+
752
852
  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) });
753
853
 
754
854
  export type CheckoutBranchInput = z.infer<typeof CheckoutBranchInputSchema>;
@@ -781,6 +881,29 @@ export const CheckoutBranchInputJsonSchema = {
781
881
  "type": "object"
782
882
  } as const;
783
883
 
884
+ export const CheckoutBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branch": z.string() });
885
+
886
+ export type CheckoutBranchResponse = z.infer<typeof CheckoutBranchResponseSchema>;
887
+
888
+ export const CheckoutBranchResponseJsonSchema = {
889
+ "properties": {
890
+ "success": {
891
+ "default": true,
892
+ "title": "Success",
893
+ "type": "boolean"
894
+ },
895
+ "branch": {
896
+ "title": "Branch",
897
+ "type": "string"
898
+ }
899
+ },
900
+ "required": [
901
+ "branch"
902
+ ],
903
+ "title": "CheckoutBranchResponse",
904
+ "type": "object"
905
+ } as const;
906
+
784
907
  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) });
785
908
 
786
909
  export type CodeReviewResult = z.infer<typeof CodeReviewResultSchema>;
@@ -1235,6 +1358,29 @@ export const CommentTriageSummaryInputJsonSchema = {
1235
1358
  "type": "object"
1236
1359
  } as const;
1237
1360
 
1361
+ export const CommentTriageSummaryResponseSchema = z.object({ "success": z.boolean().default(true), "commentUrl": z.string() });
1362
+
1363
+ export type CommentTriageSummaryResponse = z.infer<typeof CommentTriageSummaryResponseSchema>;
1364
+
1365
+ export const CommentTriageSummaryResponseJsonSchema = {
1366
+ "properties": {
1367
+ "success": {
1368
+ "default": true,
1369
+ "title": "Success",
1370
+ "type": "boolean"
1371
+ },
1372
+ "commentUrl": {
1373
+ "title": "Commenturl",
1374
+ "type": "string"
1375
+ }
1376
+ },
1377
+ "required": [
1378
+ "commentUrl"
1379
+ ],
1380
+ "title": "CommentTriageSummaryResponse",
1381
+ "type": "object"
1382
+ } as const;
1383
+
1238
1384
  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.") });
1239
1385
 
1240
1386
  export type CommitPatchInput = z.infer<typeof CommitPatchInputSchema>;
@@ -1275,7 +1421,37 @@ export const CommitPatchInputJsonSchema = {
1275
1421
  "type": "object"
1276
1422
  } as const;
1277
1423
 
1278
- 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") });
1424
+ export const CommitPatchResponseSchema = z.object({ "success": z.boolean().default(true), "commitSha": z.string(), "changedFiles": z.array(z.string()).optional() });
1425
+
1426
+ export type CommitPatchResponse = z.infer<typeof CommitPatchResponseSchema>;
1427
+
1428
+ export const CommitPatchResponseJsonSchema = {
1429
+ "properties": {
1430
+ "success": {
1431
+ "default": true,
1432
+ "title": "Success",
1433
+ "type": "boolean"
1434
+ },
1435
+ "commitSha": {
1436
+ "title": "Commitsha",
1437
+ "type": "string"
1438
+ },
1439
+ "changedFiles": {
1440
+ "items": {
1441
+ "type": "string"
1442
+ },
1443
+ "title": "Changedfiles",
1444
+ "type": "array"
1445
+ }
1446
+ },
1447
+ "required": [
1448
+ "commitSha"
1449
+ ],
1450
+ "title": "CommitPatchResponse",
1451
+ "type": "object"
1452
+ } as const;
1453
+
1454
+ 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) });
1279
1455
 
1280
1456
  export type CreateBranchInput = z.infer<typeof CreateBranchInputSchema>;
1281
1457
 
@@ -1291,6 +1467,45 @@ export const CreateBranchInputJsonSchema = {
1291
1467
  "description": "Branch to branch off from",
1292
1468
  "title": "Basebranch",
1293
1469
  "type": "string"
1470
+ },
1471
+ "repo": {
1472
+ "anyOf": [
1473
+ {
1474
+ "type": "string"
1475
+ },
1476
+ {
1477
+ "type": "null"
1478
+ }
1479
+ ],
1480
+ "default": null,
1481
+ "description": "Target repository override (e.g. org/repo or repo).",
1482
+ "title": "Repo"
1483
+ },
1484
+ "path": {
1485
+ "anyOf": [
1486
+ {
1487
+ "type": "string"
1488
+ },
1489
+ {
1490
+ "type": "null"
1491
+ }
1492
+ ],
1493
+ "default": null,
1494
+ "description": "Local filesystem path to target repository root.",
1495
+ "title": "Path"
1496
+ },
1497
+ "repoPath": {
1498
+ "anyOf": [
1499
+ {
1500
+ "type": "string"
1501
+ },
1502
+ {
1503
+ "type": "null"
1504
+ }
1505
+ ],
1506
+ "default": null,
1507
+ "description": "Alias for path to target repository root.",
1508
+ "title": "Repopath"
1294
1509
  }
1295
1510
  },
1296
1511
  "required": [
@@ -1300,6 +1515,65 @@ export const CreateBranchInputJsonSchema = {
1300
1515
  "type": "object"
1301
1516
  } as const;
1302
1517
 
1518
+ 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) });
1519
+
1520
+ export type CreateBranchResponse = z.infer<typeof CreateBranchResponseSchema>;
1521
+
1522
+ export const CreateBranchResponseJsonSchema = {
1523
+ "properties": {
1524
+ "success": {
1525
+ "default": true,
1526
+ "title": "Success",
1527
+ "type": "boolean"
1528
+ },
1529
+ "branchName": {
1530
+ "title": "Branchname",
1531
+ "type": "string"
1532
+ },
1533
+ "baseBranch": {
1534
+ "anyOf": [
1535
+ {
1536
+ "type": "string"
1537
+ },
1538
+ {
1539
+ "type": "null"
1540
+ }
1541
+ ],
1542
+ "default": null,
1543
+ "title": "Basebranch"
1544
+ },
1545
+ "repo": {
1546
+ "anyOf": [
1547
+ {
1548
+ "type": "string"
1549
+ },
1550
+ {
1551
+ "type": "null"
1552
+ }
1553
+ ],
1554
+ "default": null,
1555
+ "title": "Repo"
1556
+ },
1557
+ "path": {
1558
+ "anyOf": [
1559
+ {
1560
+ "type": "string"
1561
+ },
1562
+ {
1563
+ "type": "null"
1564
+ }
1565
+ ],
1566
+ "default": null,
1567
+ "title": "Path"
1568
+ }
1569
+ },
1570
+ "required": [
1571
+ "branchName"
1572
+ ],
1573
+ "title": "CreateBranchResponse",
1574
+ "type": "object"
1575
+ } as const;
1576
+
1303
1577
  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) });
1304
1578
 
1305
1579
  export type CreateIssueInput = z.infer<typeof CreateIssueInputSchema>;
@@ -1438,7 +1712,7 @@ export const CreateIssueResponseJsonSchema = {
1438
1712
  "type": "object"
1439
1713
  } as const;
1440
1714
 
1441
- 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) });
1715
+ 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) });
1442
1716
 
1443
1717
  export type CreateJulesSessionInput = z.infer<typeof CreateJulesSessionInputSchema>;
1444
1718
 
@@ -1474,6 +1748,20 @@ export const CreateJulesSessionInputJsonSchema = {
1474
1748
  "default": null,
1475
1749
  "description": "The PR number to use as the base branch context.",
1476
1750
  "title": "Pr"
1751
+ },
1752
+ "repo": {
1753
+ "anyOf": [
1754
+ {
1755
+ "pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
1756
+ "type": "string"
1757
+ },
1758
+ {
1759
+ "type": "null"
1760
+ }
1761
+ ],
1762
+ "default": null,
1763
+ "description": "The target repository override (e.g. org/repo).",
1764
+ "title": "Repo"
1477
1765
  }
1478
1766
  },
1479
1767
  "required": [
@@ -1540,7 +1828,30 @@ export const CreatePullRequestInputJsonSchema = {
1540
1828
  "type": "object"
1541
1829
  } as const;
1542
1830
 
1543
- 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.") });
1831
+ export const CreatePullRequestResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
1832
+
1833
+ export type CreatePullRequestResponse = z.infer<typeof CreatePullRequestResponseSchema>;
1834
+
1835
+ export const CreatePullRequestResponseJsonSchema = {
1836
+ "properties": {
1837
+ "success": {
1838
+ "default": true,
1839
+ "title": "Success",
1840
+ "type": "boolean"
1841
+ },
1842
+ "url": {
1843
+ "title": "Url",
1844
+ "type": "string"
1845
+ }
1846
+ },
1847
+ "required": [
1848
+ "url"
1849
+ ],
1850
+ "title": "CreatePullRequestResponse",
1851
+ "type": "object"
1852
+ } as const;
1853
+
1854
+ 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) });
1544
1855
 
1545
1856
  export type CreateRepairBranchInput = z.infer<typeof CreateRepairBranchInputSchema>;
1546
1857
 
@@ -1568,17 +1879,118 @@ export const CreateRepairBranchInputJsonSchema = {
1568
1879
  "description": "Safety gate: Must be true to perform branch creation and worktree setup.",
1569
1880
  "title": "Writemode",
1570
1881
  "type": "boolean"
1571
- }
1572
- },
1573
- "required": [
1574
- "prNumber",
1575
- "writeMode"
1576
- ],
1577
- "title": "CreateRepairBranchInput",
1578
- "type": "object"
1579
- } as const;
1882
+ },
1883
+ "repo": {
1884
+ "anyOf": [
1885
+ {
1886
+ "type": "string"
1887
+ },
1888
+ {
1889
+ "type": "null"
1890
+ }
1891
+ ],
1892
+ "default": null,
1893
+ "description": "Target repository override (e.g. org/repo or repo).",
1894
+ "title": "Repo"
1895
+ },
1896
+ "path": {
1897
+ "anyOf": [
1898
+ {
1899
+ "type": "string"
1900
+ },
1901
+ {
1902
+ "type": "null"
1903
+ }
1904
+ ],
1905
+ "default": null,
1906
+ "description": "Local filesystem path to target repository root.",
1907
+ "title": "Path"
1908
+ },
1909
+ "repoPath": {
1910
+ "anyOf": [
1911
+ {
1912
+ "type": "string"
1913
+ },
1914
+ {
1915
+ "type": "null"
1916
+ }
1917
+ ],
1918
+ "default": null,
1919
+ "description": "Alias for path to target repository root.",
1920
+ "title": "Repopath"
1921
+ }
1922
+ },
1923
+ "required": [
1924
+ "prNumber",
1925
+ "writeMode"
1926
+ ],
1927
+ "title": "CreateRepairBranchInput",
1928
+ "type": "object"
1929
+ } as const;
1930
+
1931
+ 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) });
1932
+
1933
+ export type CreateRepairBranchResponse = z.infer<typeof CreateRepairBranchResponseSchema>;
1934
+
1935
+ export const CreateRepairBranchResponseJsonSchema = {
1936
+ "properties": {
1937
+ "prNumber": {
1938
+ "title": "Prnumber",
1939
+ "type": "integer"
1940
+ },
1941
+ "originalBranch": {
1942
+ "title": "Originalbranch",
1943
+ "type": "string"
1944
+ },
1945
+ "repairBranch": {
1946
+ "title": "Repairbranch",
1947
+ "type": "string"
1948
+ },
1949
+ "baseBranch": {
1950
+ "title": "Basebranch",
1951
+ "type": "string"
1952
+ },
1953
+ "worktreePath": {
1954
+ "title": "Worktreepath",
1955
+ "type": "string"
1956
+ },
1957
+ "repo": {
1958
+ "anyOf": [
1959
+ {
1960
+ "type": "string"
1961
+ },
1962
+ {
1963
+ "type": "null"
1964
+ }
1965
+ ],
1966
+ "default": null,
1967
+ "title": "Repo"
1968
+ },
1969
+ "path": {
1970
+ "anyOf": [
1971
+ {
1972
+ "type": "string"
1973
+ },
1974
+ {
1975
+ "type": "null"
1976
+ }
1977
+ ],
1978
+ "default": null,
1979
+ "title": "Path"
1980
+ }
1981
+ },
1982
+ "required": [
1983
+ "prNumber",
1984
+ "originalBranch",
1985
+ "repairBranch",
1986
+ "baseBranch",
1987
+ "worktreePath"
1988
+ ],
1989
+ "title": "CreateRepairBranchResponse",
1990
+ "type": "object"
1991
+ } as const;
1580
1992
 
1581
- 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") });
1993
+ 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) });
1582
1994
 
1583
1995
  export type GetChangedFilesInput = z.infer<typeof GetChangedFilesInputSchema>;
1584
1996
 
@@ -1595,12 +2007,69 @@ export const GetChangedFilesInputJsonSchema = {
1595
2007
  "description": "The head ref to compare to (default: 'HEAD').",
1596
2008
  "title": "Head",
1597
2009
  "type": "string"
2010
+ },
2011
+ "repo": {
2012
+ "anyOf": [
2013
+ {
2014
+ "type": "string"
2015
+ },
2016
+ {
2017
+ "type": "null"
2018
+ }
2019
+ ],
2020
+ "default": null,
2021
+ "description": "Target GitHub repository override.",
2022
+ "title": "Repo"
2023
+ },
2024
+ "path": {
2025
+ "anyOf": [
2026
+ {
2027
+ "type": "string"
2028
+ },
2029
+ {
2030
+ "type": "null"
2031
+ }
2032
+ ],
2033
+ "default": null,
2034
+ "description": "Local filesystem path to target repository root.",
2035
+ "title": "Path"
2036
+ },
2037
+ "repoPath": {
2038
+ "anyOf": [
2039
+ {
2040
+ "type": "string"
2041
+ },
2042
+ {
2043
+ "type": "null"
2044
+ }
2045
+ ],
2046
+ "default": null,
2047
+ "description": "Alias for path to target repository root.",
2048
+ "title": "Repopath"
1598
2049
  }
1599
2050
  },
1600
2051
  "title": "GetChangedFilesInput",
1601
2052
  "type": "object"
1602
2053
  } as const;
1603
2054
 
2055
+ export const GetChangedFilesResponseSchema = z.object({ "files": z.array(z.string()).optional() });
2056
+
2057
+ export type GetChangedFilesResponse = z.infer<typeof GetChangedFilesResponseSchema>;
2058
+
2059
+ export const GetChangedFilesResponseJsonSchema = {
2060
+ "properties": {
2061
+ "files": {
2062
+ "items": {
2063
+ "type": "string"
2064
+ },
2065
+ "title": "Files",
2066
+ "type": "array"
2067
+ }
2068
+ },
2069
+ "title": "GetChangedFilesResponse",
2070
+ "type": "object"
2071
+ } as const;
2072
+
1604
2073
  export const GetCommandSchemaInputSchema = z.object({ "commandPath": z.string().describe("The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')") });
1605
2074
 
1606
2075
  export type GetCommandSchemaInput = z.infer<typeof GetCommandSchemaInputSchema>;
@@ -1620,27 +2089,113 @@ export const GetCommandSchemaInputJsonSchema = {
1620
2089
  "type": "object"
1621
2090
  } as const;
1622
2091
 
1623
- 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") });
2092
+ 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) });
2093
+
2094
+ export type GetCommandSchemaResponse = z.infer<typeof GetCommandSchemaResponseSchema>;
2095
+
2096
+ export const GetCommandSchemaResponseJsonSchema = {
2097
+ "properties": {
2098
+ "status": {
2099
+ "anyOf": [
2100
+ {
2101
+ "type": "string"
2102
+ },
2103
+ {
2104
+ "type": "null"
2105
+ }
2106
+ ],
2107
+ "default": null,
2108
+ "title": "Status"
2109
+ },
2110
+ "schema": {
2111
+ "anyOf": [
2112
+ {
2113
+ "additionalProperties": true,
2114
+ "type": "object"
2115
+ },
2116
+ {
2117
+ "type": "null"
2118
+ }
2119
+ ],
2120
+ "default": null,
2121
+ "title": "Schema"
2122
+ }
2123
+ },
2124
+ "title": "GetCommandSchemaResponse",
2125
+ "type": "object"
2126
+ } as const;
2127
+
2128
+ 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) });
1624
2129
 
1625
2130
  export type GetMergeConflictFilesInput = z.infer<typeof GetMergeConflictFilesInputSchema>;
1626
2131
 
1627
2132
  export const GetMergeConflictFilesInputJsonSchema = {
1628
2133
  "properties": {
1629
2134
  "prNumber": {
2135
+ "anyOf": [
2136
+ {
2137
+ "type": "integer"
2138
+ },
2139
+ {
2140
+ "type": "null"
2141
+ }
2142
+ ],
2143
+ "default": null,
1630
2144
  "description": "The number of the pull request to check for conflicts.",
1631
- "title": "Prnumber",
1632
- "type": "integer"
2145
+ "title": "Prnumber"
1633
2146
  },
1634
2147
  "baseBranch": {
1635
2148
  "default": "main",
1636
2149
  "description": "The base branch to check against (default: 'main').",
1637
2150
  "title": "Basebranch",
1638
2151
  "type": "string"
2152
+ },
2153
+ "headRef": {
2154
+ "default": "HEAD",
2155
+ "description": "The head ref or branch to check.",
2156
+ "title": "Headref",
2157
+ "type": "string"
2158
+ },
2159
+ "repo": {
2160
+ "anyOf": [
2161
+ {
2162
+ "type": "string"
2163
+ },
2164
+ {
2165
+ "type": "null"
2166
+ }
2167
+ ],
2168
+ "default": null,
2169
+ "description": "Target GitHub repository override.",
2170
+ "title": "Repo"
2171
+ },
2172
+ "path": {
2173
+ "anyOf": [
2174
+ {
2175
+ "type": "string"
2176
+ },
2177
+ {
2178
+ "type": "null"
2179
+ }
2180
+ ],
2181
+ "default": null,
2182
+ "description": "Local filesystem path to target repository root.",
2183
+ "title": "Path"
2184
+ },
2185
+ "repoPath": {
2186
+ "anyOf": [
2187
+ {
2188
+ "type": "string"
2189
+ },
2190
+ {
2191
+ "type": "null"
2192
+ }
2193
+ ],
2194
+ "default": null,
2195
+ "description": "Alias for path to target repository root.",
2196
+ "title": "Repopath"
1639
2197
  }
1640
2198
  },
1641
- "required": [
1642
- "prNumber"
1643
- ],
1644
2199
  "title": "GetMergeConflictFilesInput",
1645
2200
  "type": "object"
1646
2201
  } as const;
@@ -1716,6 +2271,24 @@ export const GetPackageScriptsInputJsonSchema = {
1716
2271
  "type": "object"
1717
2272
  } as const;
1718
2273
 
2274
+ export const GetPackageScriptsResponseSchema = z.object({ "scripts": z.record(z.string(), z.string()).optional() });
2275
+
2276
+ export type GetPackageScriptsResponse = z.infer<typeof GetPackageScriptsResponseSchema>;
2277
+
2278
+ export const GetPackageScriptsResponseJsonSchema = {
2279
+ "properties": {
2280
+ "scripts": {
2281
+ "additionalProperties": {
2282
+ "type": "string"
2283
+ },
2284
+ "title": "Scripts",
2285
+ "type": "object"
2286
+ }
2287
+ },
2288
+ "title": "GetPackageScriptsResponse",
2289
+ "type": "object"
2290
+ } as const;
2291
+
1719
2292
  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) });
1720
2293
 
1721
2294
  export type GetPrCommitsInput = z.infer<typeof GetPrCommitsInputSchema>;
@@ -1749,6 +2322,25 @@ export const GetPrCommitsInputJsonSchema = {
1749
2322
  "type": "object"
1750
2323
  } as const;
1751
2324
 
2325
+ export const GetPrCommitsResponseSchema = z.object({ "commits": z.array(z.record(z.string(), z.any())).optional() });
2326
+
2327
+ export type GetPrCommitsResponse = z.infer<typeof GetPrCommitsResponseSchema>;
2328
+
2329
+ export const GetPrCommitsResponseJsonSchema = {
2330
+ "properties": {
2331
+ "commits": {
2332
+ "items": {
2333
+ "additionalProperties": true,
2334
+ "type": "object"
2335
+ },
2336
+ "title": "Commits",
2337
+ "type": "array"
2338
+ }
2339
+ },
2340
+ "title": "GetPrCommitsResponse",
2341
+ "type": "object"
2342
+ } as const;
2343
+
1752
2344
  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) });
1753
2345
 
1754
2346
  export type GetPrDiffInput = z.infer<typeof GetPrDiffInputSchema>;
@@ -1815,16 +2407,35 @@ export const GetPrInputJsonSchema = {
1815
2407
  "type": "object"
1816
2408
  } as const;
1817
2409
 
1818
- 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) });
2410
+ export const GetPrResponseSchema = z.object({ "pr": z.record(z.string(), z.any()) });
1819
2411
 
1820
- export type GetPrReviewsInput = z.infer<typeof GetPrReviewsInputSchema>;
2412
+ export type GetPrResponse = z.infer<typeof GetPrResponseSchema>;
1821
2413
 
1822
- export const GetPrReviewsInputJsonSchema = {
2414
+ export const GetPrResponseJsonSchema = {
1823
2415
  "properties": {
1824
- "prNumber": {
1825
- "description": "The number of the PR to view reviews for.",
1826
- "title": "Prnumber",
1827
- "type": "integer"
2416
+ "pr": {
2417
+ "additionalProperties": true,
2418
+ "title": "Pr",
2419
+ "type": "object"
2420
+ }
2421
+ },
2422
+ "required": [
2423
+ "pr"
2424
+ ],
2425
+ "title": "GetPrResponse",
2426
+ "type": "object"
2427
+ } as const;
2428
+
2429
+ 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) });
2430
+
2431
+ export type GetPrReviewsInput = z.infer<typeof GetPrReviewsInputSchema>;
2432
+
2433
+ export const GetPrReviewsInputJsonSchema = {
2434
+ "properties": {
2435
+ "prNumber": {
2436
+ "description": "The number of the PR to view reviews for.",
2437
+ "title": "Prnumber",
2438
+ "type": "integer"
1828
2439
  },
1829
2440
  "repo": {
1830
2441
  "anyOf": [
@@ -1848,6 +2459,37 @@ export const GetPrReviewsInputJsonSchema = {
1848
2459
  "type": "object"
1849
2460
  } as const;
1850
2461
 
2462
+ 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) });
2463
+
2464
+ export type GetPrReviewsResponse = z.infer<typeof GetPrReviewsResponseSchema>;
2465
+
2466
+ export const GetPrReviewsResponseJsonSchema = {
2467
+ "properties": {
2468
+ "reviews": {
2469
+ "items": {
2470
+ "additionalProperties": true,
2471
+ "type": "object"
2472
+ },
2473
+ "title": "Reviews",
2474
+ "type": "array"
2475
+ },
2476
+ "reviewCount": {
2477
+ "anyOf": [
2478
+ {
2479
+ "type": "integer"
2480
+ },
2481
+ {
2482
+ "type": "null"
2483
+ }
2484
+ ],
2485
+ "default": null,
2486
+ "title": "Reviewcount"
2487
+ }
2488
+ },
2489
+ "title": "GetPrReviewsResponse",
2490
+ "type": "object"
2491
+ } as const;
2492
+
1851
2493
  export const GetRouteMapInputSchema = z.object({ "includeStatic": z.union([z.boolean(), z.null()]).describe("Whether to include static assets in the route map.").default(null) });
1852
2494
 
1853
2495
  export type GetRouteMapInput = z.infer<typeof GetRouteMapInputSchema>;
@@ -1923,6 +2565,25 @@ export const GetWorkflowRunsInputJsonSchema = {
1923
2565
  "type": "object"
1924
2566
  } as const;
1925
2567
 
2568
+ export const GetWorkflowRunsResponseSchema = z.object({ "workflowRuns": z.array(z.record(z.string(), z.any())).optional() });
2569
+
2570
+ export type GetWorkflowRunsResponse = z.infer<typeof GetWorkflowRunsResponseSchema>;
2571
+
2572
+ export const GetWorkflowRunsResponseJsonSchema = {
2573
+ "properties": {
2574
+ "workflowRuns": {
2575
+ "items": {
2576
+ "additionalProperties": true,
2577
+ "type": "object"
2578
+ },
2579
+ "title": "Workflowruns",
2580
+ "type": "array"
2581
+ }
2582
+ },
2583
+ "title": "GetWorkflowRunsResponse",
2584
+ "type": "object"
2585
+ } as const;
2586
+
1926
2587
  export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
1927
2588
 
1928
2589
  export type HealthCheckInput = z.infer<typeof HealthCheckInputSchema>;
@@ -1940,6 +2601,35 @@ export const HealthCheckInputJsonSchema = {
1940
2601
  "type": "object"
1941
2602
  } as const;
1942
2603
 
2604
+ export const HealthCheckResponseSchema = z.object({ "status": z.string().default("ok"), "config": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2605
+
2606
+ export type HealthCheckResponse = z.infer<typeof HealthCheckResponseSchema>;
2607
+
2608
+ export const HealthCheckResponseJsonSchema = {
2609
+ "properties": {
2610
+ "status": {
2611
+ "default": "ok",
2612
+ "title": "Status",
2613
+ "type": "string"
2614
+ },
2615
+ "config": {
2616
+ "anyOf": [
2617
+ {
2618
+ "additionalProperties": true,
2619
+ "type": "object"
2620
+ },
2621
+ {
2622
+ "type": "null"
2623
+ }
2624
+ ],
2625
+ "default": null,
2626
+ "title": "Config"
2627
+ }
2628
+ },
2629
+ "title": "HealthCheckResponse",
2630
+ "type": "object"
2631
+ } as const;
2632
+
1943
2633
  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) });
1944
2634
 
1945
2635
  export type IssueCommentInput = z.infer<typeof IssueCommentInputSchema>;
@@ -1979,6 +2669,32 @@ export const IssueCommentInputJsonSchema = {
1979
2669
  "type": "object"
1980
2670
  } as const;
1981
2671
 
2672
+ export const IssueCommentResponseSchema = z.object({ "status": z.string().default("success"), "comment": z.union([z.any(), z.null()]).default(null) });
2673
+
2674
+ export type IssueCommentResponse = z.infer<typeof IssueCommentResponseSchema>;
2675
+
2676
+ export const IssueCommentResponseJsonSchema = {
2677
+ "properties": {
2678
+ "status": {
2679
+ "default": "success",
2680
+ "title": "Status",
2681
+ "type": "string"
2682
+ },
2683
+ "comment": {
2684
+ "anyOf": [
2685
+ {},
2686
+ {
2687
+ "type": "null"
2688
+ }
2689
+ ],
2690
+ "default": null,
2691
+ "title": "Comment"
2692
+ }
2693
+ },
2694
+ "title": "IssueCommentResponse",
2695
+ "type": "object"
2696
+ } as const;
2697
+
1982
2698
  export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "htmlUrl": z.string(), "state": z.string() });
1983
2699
 
1984
2700
  export type IssueSummary = z.infer<typeof IssueSummarySchema>;
@@ -2244,30 +2960,344 @@ export const IssueViewInputJsonSchema = {
2244
2960
  "required": [
2245
2961
  "issueNumber"
2246
2962
  ],
2247
- "title": "IssueViewInput",
2963
+ "title": "IssueViewInput",
2964
+ "type": "object"
2965
+ } as const;
2966
+
2967
+ export const IssueViewResponseSchema = z.object({ "issue": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2968
+
2969
+ export type IssueViewResponse = z.infer<typeof IssueViewResponseSchema>;
2970
+
2971
+ export const IssueViewResponseJsonSchema = {
2972
+ "properties": {
2973
+ "issue": {
2974
+ "anyOf": [
2975
+ {
2976
+ "additionalProperties": true,
2977
+ "type": "object"
2978
+ },
2979
+ {
2980
+ "type": "null"
2981
+ }
2982
+ ],
2983
+ "default": null,
2984
+ "title": "Issue"
2985
+ }
2986
+ },
2987
+ "title": "IssueViewResponse",
2988
+ "type": "object"
2989
+ } as const;
2990
+
2991
+ export const JulesGetMessagesResponseSchema = z.object({ "id": z.string(), "messages": z.array(z.record(z.string(), z.any())).optional() });
2992
+
2993
+ export type JulesGetMessagesResponse = z.infer<typeof JulesGetMessagesResponseSchema>;
2994
+
2995
+ export const JulesGetMessagesResponseJsonSchema = {
2996
+ "properties": {
2997
+ "id": {
2998
+ "title": "Id",
2999
+ "type": "string"
3000
+ },
3001
+ "messages": {
3002
+ "items": {
3003
+ "additionalProperties": true,
3004
+ "type": "object"
3005
+ },
3006
+ "title": "Messages",
3007
+ "type": "array"
3008
+ }
3009
+ },
3010
+ "required": [
3011
+ "id"
3012
+ ],
3013
+ "title": "JulesGetMessagesResponse",
3014
+ "type": "object"
3015
+ } as const;
3016
+
3017
+ export const JulesGetPrResponseSchema = z.object({ "id": z.string(), "pullRequestUrl": z.union([z.string(), z.null()]).default(null) });
3018
+
3019
+ export type JulesGetPrResponse = z.infer<typeof JulesGetPrResponseSchema>;
3020
+
3021
+ export const JulesGetPrResponseJsonSchema = {
3022
+ "properties": {
3023
+ "id": {
3024
+ "title": "Id",
3025
+ "type": "string"
3026
+ },
3027
+ "pullRequestUrl": {
3028
+ "anyOf": [
3029
+ {
3030
+ "type": "string"
3031
+ },
3032
+ {
3033
+ "type": "null"
3034
+ }
3035
+ ],
3036
+ "default": null,
3037
+ "title": "Pullrequesturl"
3038
+ }
3039
+ },
3040
+ "required": [
3041
+ "id"
3042
+ ],
3043
+ "title": "JulesGetPrResponse",
3044
+ "type": "object"
3045
+ } as const;
3046
+
3047
+ 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) });
3048
+
3049
+ export type JulesListSessionsInput = z.infer<typeof JulesListSessionsInputSchema>;
3050
+
3051
+ export const JulesListSessionsInputJsonSchema = {
3052
+ "properties": {
3053
+ "pageSize": {
3054
+ "anyOf": [
3055
+ {
3056
+ "type": "integer"
3057
+ },
3058
+ {
3059
+ "type": "null"
3060
+ }
3061
+ ],
3062
+ "default": null,
3063
+ "description": "Maximum number of sessions to return.",
3064
+ "title": "Pagesize"
3065
+ },
3066
+ "pageToken": {
3067
+ "anyOf": [
3068
+ {
3069
+ "type": "string"
3070
+ },
3071
+ {
3072
+ "type": "null"
3073
+ }
3074
+ ],
3075
+ "default": null,
3076
+ "description": "Token for pagination.",
3077
+ "title": "Pagetoken"
3078
+ }
3079
+ },
3080
+ "title": "JulesListSessionsInput",
3081
+ "type": "object"
3082
+ } as const;
3083
+
3084
+ export const JulesListSessionsResponseSchema = z.object({ "sessions": z.array(z.any()).optional() });
3085
+
3086
+ export type JulesListSessionsResponse = z.infer<typeof JulesListSessionsResponseSchema>;
3087
+
3088
+ export const JulesListSessionsResponseJsonSchema = {
3089
+ "$defs": {
3090
+ "JulesSessionResponse": {
3091
+ "properties": {
3092
+ "id": {
3093
+ "title": "Id",
3094
+ "type": "string"
3095
+ },
3096
+ "status": {
3097
+ "title": "Status",
3098
+ "type": "string"
3099
+ },
3100
+ "createdAt": {
3101
+ "anyOf": [
3102
+ {},
3103
+ {
3104
+ "type": "null"
3105
+ }
3106
+ ],
3107
+ "default": null,
3108
+ "title": "Createdat"
3109
+ },
3110
+ "pullRequestUrl": {
3111
+ "anyOf": [
3112
+ {
3113
+ "type": "string"
3114
+ },
3115
+ {
3116
+ "type": "null"
3117
+ }
3118
+ ],
3119
+ "default": null,
3120
+ "title": "Pullrequesturl"
3121
+ }
3122
+ },
3123
+ "required": [
3124
+ "id",
3125
+ "status"
3126
+ ],
3127
+ "title": "JulesSessionResponse",
3128
+ "type": "object"
3129
+ }
3130
+ },
3131
+ "properties": {
3132
+ "sessions": {
3133
+ "items": {
3134
+ "$ref": "#/$defs/JulesSessionResponse"
3135
+ },
3136
+ "title": "Sessions",
3137
+ "type": "array"
3138
+ }
3139
+ },
3140
+ "title": "JulesListSessionsResponse",
3141
+ "type": "object"
3142
+ } as const;
3143
+
3144
+ 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.") });
3145
+
3146
+ export type JulesSendMessageInput = z.infer<typeof JulesSendMessageInputSchema>;
3147
+
3148
+ export const JulesSendMessageInputJsonSchema = {
3149
+ "properties": {
3150
+ "sessionId": {
3151
+ "anyOf": [
3152
+ {
3153
+ "type": "string"
3154
+ },
3155
+ {
3156
+ "items": {
3157
+ "type": "string"
3158
+ },
3159
+ "type": "array"
3160
+ }
3161
+ ],
3162
+ "description": "The unique ID or IDs of the Jules session(s).",
3163
+ "title": "Sessionid"
3164
+ },
3165
+ "message": {
3166
+ "description": "The message content to send.",
3167
+ "minLength": 1,
3168
+ "title": "Message",
3169
+ "type": "string"
3170
+ }
3171
+ },
3172
+ "required": [
3173
+ "sessionId",
3174
+ "message"
3175
+ ],
3176
+ "title": "JulesSendMessageInput",
3177
+ "type": "object"
3178
+ } as const;
3179
+
3180
+ export const JulesSendMessageResponseSchema = z.object({ "id": z.union([z.string(), z.array(z.string())]), "status": z.string().default("success"), "message": z.string() });
3181
+
3182
+ export type JulesSendMessageResponse = z.infer<typeof JulesSendMessageResponseSchema>;
3183
+
3184
+ export const JulesSendMessageResponseJsonSchema = {
3185
+ "properties": {
3186
+ "id": {
3187
+ "anyOf": [
3188
+ {
3189
+ "type": "string"
3190
+ },
3191
+ {
3192
+ "items": {
3193
+ "type": "string"
3194
+ },
3195
+ "type": "array"
3196
+ }
3197
+ ],
3198
+ "title": "Id"
3199
+ },
3200
+ "status": {
3201
+ "default": "success",
3202
+ "title": "Status",
3203
+ "type": "string"
3204
+ },
3205
+ "message": {
3206
+ "title": "Message",
3207
+ "type": "string"
3208
+ }
3209
+ },
3210
+ "required": [
3211
+ "id",
3212
+ "message"
3213
+ ],
3214
+ "title": "JulesSendMessageResponse",
3215
+ "type": "object"
3216
+ } as const;
3217
+
3218
+ export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
3219
+
3220
+ export type JulesSessionIdInput = z.infer<typeof JulesSessionIdInputSchema>;
3221
+
3222
+ export const JulesSessionIdInputJsonSchema = {
3223
+ "properties": {
3224
+ "sessionId": {
3225
+ "description": "The unique ID of the Jules session.",
3226
+ "title": "Sessionid",
3227
+ "type": "string"
3228
+ }
3229
+ },
3230
+ "required": [
3231
+ "sessionId"
3232
+ ],
3233
+ "title": "JulesSessionIdInput",
3234
+ "type": "object"
3235
+ } as const;
3236
+
3237
+ 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) });
3238
+
3239
+ export type JulesSessionResponse = z.infer<typeof JulesSessionResponseSchema>;
3240
+
3241
+ export const JulesSessionResponseJsonSchema = {
3242
+ "properties": {
3243
+ "id": {
3244
+ "title": "Id",
3245
+ "type": "string"
3246
+ },
3247
+ "status": {
3248
+ "title": "Status",
3249
+ "type": "string"
3250
+ },
3251
+ "createdAt": {
3252
+ "anyOf": [
3253
+ {},
3254
+ {
3255
+ "type": "null"
3256
+ }
3257
+ ],
3258
+ "default": null,
3259
+ "title": "Createdat"
3260
+ },
3261
+ "pullRequestUrl": {
3262
+ "anyOf": [
3263
+ {
3264
+ "type": "string"
3265
+ },
3266
+ {
3267
+ "type": "null"
3268
+ }
3269
+ ],
3270
+ "default": null,
3271
+ "title": "Pullrequesturl"
3272
+ }
3273
+ },
3274
+ "required": [
3275
+ "id",
3276
+ "status"
3277
+ ],
3278
+ "title": "JulesSessionResponse",
2248
3279
  "type": "object"
2249
3280
  } as const;
2250
3281
 
2251
- 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) });
3282
+ export const JulesTriggerFeedbackResponseSchema = z.object({ "status": z.union([z.string(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
2252
3283
 
2253
- export type JulesListSessionsInput = z.infer<typeof JulesListSessionsInputSchema>;
3284
+ export type JulesTriggerFeedbackResponse = z.infer<typeof JulesTriggerFeedbackResponseSchema>;
2254
3285
 
2255
- export const JulesListSessionsInputJsonSchema = {
3286
+ export const JulesTriggerFeedbackResponseJsonSchema = {
2256
3287
  "properties": {
2257
- "pageSize": {
3288
+ "status": {
2258
3289
  "anyOf": [
2259
3290
  {
2260
- "type": "integer"
3291
+ "type": "string"
2261
3292
  },
2262
3293
  {
2263
3294
  "type": "null"
2264
3295
  }
2265
3296
  ],
2266
3297
  "default": null,
2267
- "description": "Maximum number of sessions to return.",
2268
- "title": "Pagesize"
3298
+ "title": "Status"
2269
3299
  },
2270
- "pageToken": {
3300
+ "message": {
2271
3301
  "anyOf": [
2272
3302
  {
2273
3303
  "type": "string"
@@ -2277,66 +3307,105 @@ export const JulesListSessionsInputJsonSchema = {
2277
3307
  }
2278
3308
  ],
2279
3309
  "default": null,
2280
- "description": "Token for pagination.",
2281
- "title": "Pagetoken"
3310
+ "title": "Message"
2282
3311
  }
2283
3312
  },
2284
- "title": "JulesListSessionsInput",
3313
+ "title": "JulesTriggerFeedbackResponse",
2285
3314
  "type": "object"
2286
3315
  } as const;
2287
3316
 
2288
- 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.") });
3317
+ 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) });
2289
3318
 
2290
- export type JulesSendMessageInput = z.infer<typeof JulesSendMessageInputSchema>;
3319
+ export type MultiExecInput = z.infer<typeof MultiExecInputSchema>;
2291
3320
 
2292
- export const JulesSendMessageInputJsonSchema = {
3321
+ export const MultiExecInputJsonSchema = {
2293
3322
  "properties": {
2294
- "sessionId": {
3323
+ "command": {
3324
+ "description": "Shell command to execute sequentially across repositories",
3325
+ "title": "Command",
3326
+ "type": "string"
3327
+ },
3328
+ "repos": {
2295
3329
  "anyOf": [
2296
- {
2297
- "type": "string"
2298
- },
2299
3330
  {
2300
3331
  "items": {
2301
3332
  "type": "string"
2302
3333
  },
2303
3334
  "type": "array"
3335
+ },
3336
+ {
3337
+ "type": "null"
2304
3338
  }
2305
3339
  ],
2306
- "description": "The unique ID or IDs of the Jules session(s).",
2307
- "title": "Sessionid"
3340
+ "default": null,
3341
+ "description": "Optional list of repository names to target",
3342
+ "title": "Repos"
2308
3343
  },
2309
- "message": {
2310
- "description": "The message content to send.",
2311
- "minLength": 1,
2312
- "title": "Message",
2313
- "type": "string"
3344
+ "continueOnError": {
3345
+ "anyOf": [
3346
+ {
3347
+ "type": "boolean"
3348
+ },
3349
+ {
3350
+ "type": "null"
3351
+ }
3352
+ ],
3353
+ "default": true,
3354
+ "description": "Whether to continue execution if a repo command fails",
3355
+ "title": "Continueonerror"
2314
3356
  }
2315
3357
  },
2316
3358
  "required": [
2317
- "sessionId",
2318
- "message"
3359
+ "command"
2319
3360
  ],
2320
- "title": "JulesSendMessageInput",
3361
+ "title": "MultiExecInput",
2321
3362
  "type": "object"
2322
3363
  } as const;
2323
3364
 
2324
- export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
3365
+ 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) });
2325
3366
 
2326
- export type JulesSessionIdInput = z.infer<typeof JulesSessionIdInputSchema>;
3367
+ export type MultiExecResponse = z.infer<typeof MultiExecResponseSchema>;
2327
3368
 
2328
- export const JulesSessionIdInputJsonSchema = {
3369
+ export const MultiExecResponseJsonSchema = {
2329
3370
  "properties": {
2330
- "sessionId": {
2331
- "description": "The unique ID of the Jules session.",
2332
- "title": "Sessionid",
3371
+ "status": {
3372
+ "default": "success",
3373
+ "description": "Execution status",
3374
+ "title": "Status",
2333
3375
  "type": "string"
3376
+ },
3377
+ "total": {
3378
+ "anyOf": [
3379
+ {
3380
+ "type": "integer"
3381
+ },
3382
+ {
3383
+ "type": "null"
3384
+ }
3385
+ ],
3386
+ "default": null,
3387
+ "description": "Total repositories executed against",
3388
+ "title": "Total"
3389
+ },
3390
+ "results": {
3391
+ "anyOf": [
3392
+ {
3393
+ "items": {
3394
+ "additionalProperties": true,
3395
+ "type": "object"
3396
+ },
3397
+ "type": "array"
3398
+ },
3399
+ {
3400
+ "type": "null"
3401
+ }
3402
+ ],
3403
+ "default": null,
3404
+ "description": "Execution results per repository",
3405
+ "title": "Results"
2334
3406
  }
2335
3407
  },
2336
- "required": [
2337
- "sessionId"
2338
- ],
2339
- "title": "JulesSessionIdInput",
3408
+ "title": "MultiExecResponse",
2340
3409
  "type": "object"
2341
3410
  } as const;
2342
3411
 
@@ -2408,6 +3477,29 @@ export const OpenReplacementPrInputJsonSchema = {
2408
3477
  "type": "object"
2409
3478
  } as const;
2410
3479
 
3480
+ export const OpenReplacementPrResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
3481
+
3482
+ export type OpenReplacementPrResponse = z.infer<typeof OpenReplacementPrResponseSchema>;
3483
+
3484
+ export const OpenReplacementPrResponseJsonSchema = {
3485
+ "properties": {
3486
+ "success": {
3487
+ "default": true,
3488
+ "title": "Success",
3489
+ "type": "boolean"
3490
+ },
3491
+ "url": {
3492
+ "title": "Url",
3493
+ "type": "string"
3494
+ }
3495
+ },
3496
+ "required": [
3497
+ "url"
3498
+ ],
3499
+ "title": "OpenReplacementPrResponse",
3500
+ "type": "object"
3501
+ } as const;
3502
+
2411
3503
  export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "createdAt": z.string() });
2412
3504
 
2413
3505
  export type PRComment = z.infer<typeof PRCommentSchema>;
@@ -2568,16 +3660,138 @@ export const PrDiffResponseJsonSchema = {
2568
3660
  "type": "object"
2569
3661
  } as const;
2570
3662
 
2571
- export const ReadAgentContextInputSchema = z.object({});
3663
+ 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) });
2572
3664
 
2573
3665
  export type ReadAgentContextInput = z.infer<typeof ReadAgentContextInputSchema>;
2574
3666
 
2575
3667
  export const ReadAgentContextInputJsonSchema = {
2576
- "properties": {},
3668
+ "properties": {
3669
+ "path": {
3670
+ "anyOf": [
3671
+ {
3672
+ "type": "string"
3673
+ },
3674
+ {
3675
+ "type": "null"
3676
+ }
3677
+ ],
3678
+ "default": null,
3679
+ "description": "Local filesystem path to target repository root",
3680
+ "title": "Path"
3681
+ },
3682
+ "repoPath": {
3683
+ "anyOf": [
3684
+ {
3685
+ "type": "string"
3686
+ },
3687
+ {
3688
+ "type": "null"
3689
+ }
3690
+ ],
3691
+ "default": null,
3692
+ "description": "Alias for path (filesystem path to target workspace repository root).",
3693
+ "title": "Repopath"
3694
+ },
3695
+ "repo": {
3696
+ "anyOf": [
3697
+ {
3698
+ "type": "string"
3699
+ },
3700
+ {
3701
+ "type": "null"
3702
+ }
3703
+ ],
3704
+ "default": null,
3705
+ "description": "Target GitHub repository string (e.g. org/repo).",
3706
+ "title": "Repo"
3707
+ },
3708
+ "repos": {
3709
+ "anyOf": [
3710
+ {
3711
+ "items": {
3712
+ "type": "string"
3713
+ },
3714
+ "type": "array"
3715
+ },
3716
+ {
3717
+ "type": "null"
3718
+ }
3719
+ ],
3720
+ "default": null,
3721
+ "description": "List of repository names to fetch context for",
3722
+ "title": "Repos"
3723
+ },
3724
+ "all": {
3725
+ "anyOf": [
3726
+ {
3727
+ "type": "boolean"
3728
+ },
3729
+ {
3730
+ "type": "null"
3731
+ }
3732
+ ],
3733
+ "default": null,
3734
+ "description": "Whether to fetch context across all discovered ecosystem repositories",
3735
+ "title": "All"
3736
+ }
3737
+ },
2577
3738
  "title": "ReadAgentContextInput",
2578
3739
  "type": "object"
2579
3740
  } as const;
2580
3741
 
3742
+ 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) });
3743
+
3744
+ export type ReadAgentContextResponse = z.infer<typeof ReadAgentContextResponseSchema>;
3745
+
3746
+ export const ReadAgentContextResponseJsonSchema = {
3747
+ "properties": {
3748
+ "status": {
3749
+ "default": "success",
3750
+ "title": "Status",
3751
+ "type": "string"
3752
+ },
3753
+ "packageName": {
3754
+ "anyOf": [
3755
+ {
3756
+ "type": "string"
3757
+ },
3758
+ {
3759
+ "type": "null"
3760
+ }
3761
+ ],
3762
+ "default": null,
3763
+ "title": "Packagename"
3764
+ },
3765
+ "gitCommit": {
3766
+ "anyOf": [
3767
+ {
3768
+ "type": "string"
3769
+ },
3770
+ {
3771
+ "type": "null"
3772
+ }
3773
+ ],
3774
+ "default": null,
3775
+ "title": "Gitcommit"
3776
+ },
3777
+ "config": {
3778
+ "anyOf": [
3779
+ {
3780
+ "additionalProperties": true,
3781
+ "type": "object"
3782
+ },
3783
+ {
3784
+ "type": "null"
3785
+ }
3786
+ ],
3787
+ "default": null,
3788
+ "title": "Config"
3789
+ }
3790
+ },
3791
+ "title": "ReadAgentContextResponse",
3792
+ "type": "object"
3793
+ } as const;
3794
+
2581
3795
  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) });
2582
3796
 
2583
3797
  export type ReadCiLogsInput = z.infer<typeof ReadCiLogsInputSchema>;
@@ -2617,6 +3831,59 @@ export const ReadCiLogsInputJsonSchema = {
2617
3831
  "type": "object"
2618
3832
  } as const;
2619
3833
 
3834
+ 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) });
3835
+
3836
+ export type ReadCiLogsResponse = z.infer<typeof ReadCiLogsResponseSchema>;
3837
+
3838
+ export const ReadCiLogsResponseJsonSchema = {
3839
+ "properties": {
3840
+ "checks": {
3841
+ "anyOf": [
3842
+ {
3843
+ "items": {
3844
+ "additionalProperties": true,
3845
+ "type": "object"
3846
+ },
3847
+ "type": "array"
3848
+ },
3849
+ {
3850
+ "type": "null"
3851
+ }
3852
+ ],
3853
+ "default": null,
3854
+ "title": "Checks"
3855
+ },
3856
+ "failedChecks": {
3857
+ "anyOf": [
3858
+ {
3859
+ "items": {
3860
+ "additionalProperties": true,
3861
+ "type": "object"
3862
+ },
3863
+ "type": "array"
3864
+ },
3865
+ {
3866
+ "type": "null"
3867
+ }
3868
+ ],
3869
+ "default": null,
3870
+ "title": "Failedchecks"
3871
+ },
3872
+ "logs": {
3873
+ "anyOf": [
3874
+ {},
3875
+ {
3876
+ "type": "null"
3877
+ }
3878
+ ],
3879
+ "default": null,
3880
+ "title": "Logs"
3881
+ }
3882
+ },
3883
+ "title": "ReadCiLogsResponse",
3884
+ "type": "object"
3885
+ } as const;
3886
+
2620
3887
  export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
2621
3888
 
2622
3889
  export type ReadPRCommentsInput = z.infer<typeof ReadPRCommentsInputSchema>;
@@ -2834,6 +4101,27 @@ export const RepoLogsInputJsonSchema = {
2834
4101
  "type": "object"
2835
4102
  } as const;
2836
4103
 
4104
+ export const RepoLogsResponseSchema = z.object({ "logs": z.union([z.any(), z.null()]).default(null) });
4105
+
4106
+ export type RepoLogsResponse = z.infer<typeof RepoLogsResponseSchema>;
4107
+
4108
+ export const RepoLogsResponseJsonSchema = {
4109
+ "properties": {
4110
+ "logs": {
4111
+ "anyOf": [
4112
+ {},
4113
+ {
4114
+ "type": "null"
4115
+ }
4116
+ ],
4117
+ "default": null,
4118
+ "title": "Logs"
4119
+ }
4120
+ },
4121
+ "title": "RepoLogsResponse",
4122
+ "type": "object"
4123
+ } as const;
4124
+
2837
4125
  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() });
2838
4126
 
2839
4127
  export type ReviewComment = z.infer<typeof ReviewCommentSchema>;