@arii/boomtick-mcp 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) 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_issue.json +72 -3
  6. package/.mcp/schemas/github.create_pull_request.json +16 -3
  7. package/.mcp/schemas/github.get_merge_conflict_files.json +40 -3
  8. package/.mcp/schemas/github.get_pr.json +12 -3
  9. package/.mcp/schemas/github.get_pr_commits.json +12 -3
  10. package/.mcp/schemas/github.get_pr_diff.json +30 -3
  11. package/.mcp/schemas/github.get_pr_reviews.json +24 -3
  12. package/.mcp/schemas/github.issue_comment.json +19 -3
  13. package/.mcp/schemas/github.issue_update.json +72 -3
  14. package/.mcp/schemas/github.issue_view.json +17 -3
  15. package/.mcp/schemas/github.open_replacement_pr.json +16 -3
  16. package/.mcp/schemas/github.search_open_prs.json +130 -3
  17. package/.mcp/schemas/github_checkout_branch.json +16 -3
  18. package/.mcp/schemas/github_comment_triage_summary.json +16 -3
  19. package/.mcp/schemas/github_create_issue.json +72 -3
  20. package/.mcp/schemas/github_create_pull_request.json +16 -3
  21. package/.mcp/schemas/github_get_merge_conflict_files.json +40 -3
  22. package/.mcp/schemas/github_get_pr.json +12 -3
  23. package/.mcp/schemas/github_get_pr_commits.json +12 -3
  24. package/.mcp/schemas/github_get_pr_diff.json +30 -3
  25. package/.mcp/schemas/github_get_pr_reviews.json +24 -3
  26. package/.mcp/schemas/github_issue_comment.json +19 -3
  27. package/.mcp/schemas/github_issue_update.json +72 -3
  28. package/.mcp/schemas/github_issue_view.json +17 -3
  29. package/.mcp/schemas/github_open_replacement_pr.json +16 -3
  30. package/.mcp/schemas/github_search_open_prs.json +130 -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/jules_cancel_session.json +38 -3
  40. package/.mcp/schemas/jules_create_session.json +52 -3
  41. package/.mcp/schemas/jules_get_messages.json +19 -3
  42. package/.mcp/schemas/jules_get_pr.json +23 -3
  43. package/.mcp/schemas/jules_get_session.json +38 -3
  44. package/.mcp/schemas/jules_list_sessions.json +53 -3
  45. package/.mcp/schemas/jules_send_message.json +31 -3
  46. package/.mcp/schemas/jules_trigger_feedback.json +28 -3
  47. package/.mcp/schemas/repo.check_jules_status.json +128 -0
  48. package/.mcp/schemas/repo.commit_patch.json +23 -3
  49. package/.mcp/schemas/repo.create_branch.json +28 -3
  50. package/.mcp/schemas/repo.create_repair_branch.json +31 -3
  51. package/.mcp/schemas/repo.get_changed_files.json +11 -3
  52. package/.mcp/schemas/repo.get_command_schema.json +29 -3
  53. package/.mcp/schemas/repo.get_package_scripts.json +11 -3
  54. package/.mcp/schemas/repo.get_workflow_runs.json +12 -3
  55. package/.mcp/schemas/repo.logs.json +14 -3
  56. package/.mcp/schemas/repo.multi_exec.json +89 -0
  57. package/.mcp/schemas/repo.read_agent_context.json +117 -5
  58. package/.mcp/schemas/repo.read_ci_logs.json +46 -3
  59. package/.mcp/schemas/repo.run_tests.json +31 -3
  60. package/.mcp/schemas/repo_check_jules_status.json +128 -0
  61. package/.mcp/schemas/repo_commit_patch.json +23 -3
  62. package/.mcp/schemas/repo_create_branch.json +28 -3
  63. package/.mcp/schemas/repo_create_repair_branch.json +31 -3
  64. package/.mcp/schemas/repo_get_changed_files.json +11 -3
  65. package/.mcp/schemas/repo_get_command_schema.json +29 -3
  66. package/.mcp/schemas/repo_get_package_scripts.json +11 -3
  67. package/.mcp/schemas/repo_get_workflow_runs.json +12 -3
  68. package/.mcp/schemas/repo_logs.json +14 -3
  69. package/.mcp/schemas/repo_multi_exec.json +89 -0
  70. package/.mcp/schemas/repo_read_agent_context.json +117 -5
  71. package/.mcp/schemas/repo_read_ci_logs.json +46 -3
  72. package/.mcp/schemas/repo_run_tests.json +31 -3
  73. package/CHANGELOG.md +22 -0
  74. package/README.md +29 -6
  75. package/actions/run-project-gate/action.yml +1 -1
  76. package/dist/config/dynamic.js +34 -0
  77. package/dist/config/github.js +16 -0
  78. package/dist/config/repo.js +28 -0
  79. package/dist/config.js +16 -81
  80. package/dist/config.test.js +10 -3
  81. package/dist/http.js +10 -0
  82. package/dist/mcp/definitions.js +76 -41
  83. package/dist/mcp/http.js +32 -9
  84. package/dist/mcp/http.test.js +62 -4
  85. package/dist/mcp/server.js +69 -10
  86. package/dist/mcp/server.test.js +59 -1
  87. package/dist/tools/contract.js +1079 -45
  88. package/dist/tools/github.comment_triage_summary.js +3 -10
  89. package/dist/tools/github.get_merge_conflict_files.js +4 -2
  90. package/dist/tools/github.get_pr_diff.js +3 -11
  91. package/dist/tools/jules/cancel-session.js +2 -9
  92. package/dist/tools/jules/cli.js +31 -0
  93. package/dist/tools/jules/create-session.js +12 -2
  94. package/dist/tools/jules/create-session.test.js +7 -0
  95. package/dist/tools/jules/get-messages.js +2 -9
  96. package/dist/tools/jules/list-sessions.js +4 -35
  97. package/dist/tools/jules/send-message.js +2 -9
  98. package/dist/tools/jules/session.js +26 -0
  99. package/dist/tools/jules/shared.js +2 -50
  100. package/dist/tools/jules/trigger-feedback.js +2 -10
  101. package/dist/tools/repo.check_jules_status.js +148 -0
  102. package/dist/tools/repo.check_jules_status.test.js +47 -0
  103. package/dist/tools/repo.multi_exec.js +21 -0
  104. package/dist/tools/repo.multi_exec.test.js +13 -0
  105. package/dist/tools/repo.read_agent_context.js +65 -3
  106. package/dist/tools/repo.read_agent_context.test.js +30 -1
  107. package/dist/tools/repo.run_tests.js +13 -1
  108. package/package.json +3 -2
  109. package/scripts/sync-contracts.ts +11 -2
  110. package/src/config/dynamic.ts +37 -0
  111. package/src/config/github.ts +16 -0
  112. package/src/config/repo.ts +36 -0
  113. package/src/config.test.ts +11 -3
  114. package/src/config.ts +16 -89
  115. package/src/http.ts +13 -0
  116. package/src/mcp/definitions.ts +110 -41
  117. package/src/mcp/http.test.ts +75 -5
  118. package/src/mcp/http.ts +40 -14
  119. package/src/mcp/server.test.ts +72 -1
  120. package/src/mcp/server.ts +72 -11
  121. package/src/tools/contract.ts +1194 -36
  122. package/src/tools/github.comment_triage_summary.ts +3 -12
  123. package/src/tools/github.get_merge_conflict_files.ts +5 -2
  124. package/src/tools/github.get_pr_diff.ts +3 -13
  125. package/src/tools/jules/cancel-session.ts +2 -11
  126. package/src/tools/jules/cli.ts +42 -0
  127. package/src/tools/jules/create-session.test.ts +9 -0
  128. package/src/tools/jules/create-session.ts +13 -2
  129. package/src/tools/jules/get-messages.ts +2 -11
  130. package/src/tools/jules/list-sessions.ts +5 -39
  131. package/src/tools/jules/send-message.ts +2 -11
  132. package/src/tools/jules/session.ts +28 -0
  133. package/src/tools/jules/shared.ts +2 -63
  134. package/src/tools/jules/trigger-feedback.ts +2 -13
  135. package/src/tools/repo.check_jules_status.test.ts +55 -0
  136. package/src/tools/repo.check_jules_status.ts +176 -0
  137. package/src/tools/repo.multi_exec.test.ts +15 -0
  138. package/src/tools/repo.multi_exec.ts +23 -0
  139. package/src/tools/repo.read_agent_context.test.ts +35 -1
  140. package/src/tools/repo.read_agent_context.ts +68 -3
  141. package/src/tools/repo.run_tests.ts +14 -1
@@ -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,6 +1421,36 @@ export const CommitPatchInputJsonSchema = {
1275
1421
  "type": "object"
1276
1422
  } as const;
1277
1423
 
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
+
1278
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") });
1279
1455
 
1280
1456
  export type CreateBranchInput = z.infer<typeof CreateBranchInputSchema>;
@@ -1300,6 +1476,41 @@ export const CreateBranchInputJsonSchema = {
1300
1476
  "type": "object"
1301
1477
  } as const;
1302
1478
 
1479
+ export const CreateBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branchName": z.string(), "baseBranch": z.union([z.string(), z.null()]).default(null) });
1480
+
1481
+ export type CreateBranchResponse = z.infer<typeof CreateBranchResponseSchema>;
1482
+
1483
+ export const CreateBranchResponseJsonSchema = {
1484
+ "properties": {
1485
+ "success": {
1486
+ "default": true,
1487
+ "title": "Success",
1488
+ "type": "boolean"
1489
+ },
1490
+ "branchName": {
1491
+ "title": "Branchname",
1492
+ "type": "string"
1493
+ },
1494
+ "baseBranch": {
1495
+ "anyOf": [
1496
+ {
1497
+ "type": "string"
1498
+ },
1499
+ {
1500
+ "type": "null"
1501
+ }
1502
+ ],
1503
+ "default": null,
1504
+ "title": "Basebranch"
1505
+ }
1506
+ },
1507
+ "required": [
1508
+ "branchName"
1509
+ ],
1510
+ "title": "CreateBranchResponse",
1511
+ "type": "object"
1512
+ } as const;
1513
+
1303
1514
  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
1515
 
1305
1516
  export type CreateIssueInput = z.infer<typeof CreateIssueInputSchema>;
@@ -1438,7 +1649,7 @@ export const CreateIssueResponseJsonSchema = {
1438
1649
  "type": "object"
1439
1650
  } as const;
1440
1651
 
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) });
1652
+ 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
1653
 
1443
1654
  export type CreateJulesSessionInput = z.infer<typeof CreateJulesSessionInputSchema>;
1444
1655
 
@@ -1474,6 +1685,20 @@ export const CreateJulesSessionInputJsonSchema = {
1474
1685
  "default": null,
1475
1686
  "description": "The PR number to use as the base branch context.",
1476
1687
  "title": "Pr"
1688
+ },
1689
+ "repo": {
1690
+ "anyOf": [
1691
+ {
1692
+ "pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
1693
+ "type": "string"
1694
+ },
1695
+ {
1696
+ "type": "null"
1697
+ }
1698
+ ],
1699
+ "default": null,
1700
+ "description": "The target repository override (e.g. org/repo).",
1701
+ "title": "Repo"
1477
1702
  }
1478
1703
  },
1479
1704
  "required": [
@@ -1540,6 +1765,29 @@ export const CreatePullRequestInputJsonSchema = {
1540
1765
  "type": "object"
1541
1766
  } as const;
1542
1767
 
1768
+ export const CreatePullRequestResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
1769
+
1770
+ export type CreatePullRequestResponse = z.infer<typeof CreatePullRequestResponseSchema>;
1771
+
1772
+ export const CreatePullRequestResponseJsonSchema = {
1773
+ "properties": {
1774
+ "success": {
1775
+ "default": true,
1776
+ "title": "Success",
1777
+ "type": "boolean"
1778
+ },
1779
+ "url": {
1780
+ "title": "Url",
1781
+ "type": "string"
1782
+ }
1783
+ },
1784
+ "required": [
1785
+ "url"
1786
+ ],
1787
+ "title": "CreatePullRequestResponse",
1788
+ "type": "object"
1789
+ } as const;
1790
+
1543
1791
  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.") });
1544
1792
 
1545
1793
  export type CreateRepairBranchInput = z.infer<typeof CreateRepairBranchInputSchema>;
@@ -1578,6 +1826,44 @@ export const CreateRepairBranchInputJsonSchema = {
1578
1826
  "type": "object"
1579
1827
  } as const;
1580
1828
 
1829
+ export const CreateRepairBranchResponseSchema = z.object({ "prNumber": z.number().int(), "originalBranch": z.string(), "repairBranch": z.string(), "baseBranch": z.string(), "worktreePath": z.string() });
1830
+
1831
+ export type CreateRepairBranchResponse = z.infer<typeof CreateRepairBranchResponseSchema>;
1832
+
1833
+ export const CreateRepairBranchResponseJsonSchema = {
1834
+ "properties": {
1835
+ "prNumber": {
1836
+ "title": "Prnumber",
1837
+ "type": "integer"
1838
+ },
1839
+ "originalBranch": {
1840
+ "title": "Originalbranch",
1841
+ "type": "string"
1842
+ },
1843
+ "repairBranch": {
1844
+ "title": "Repairbranch",
1845
+ "type": "string"
1846
+ },
1847
+ "baseBranch": {
1848
+ "title": "Basebranch",
1849
+ "type": "string"
1850
+ },
1851
+ "worktreePath": {
1852
+ "title": "Worktreepath",
1853
+ "type": "string"
1854
+ }
1855
+ },
1856
+ "required": [
1857
+ "prNumber",
1858
+ "originalBranch",
1859
+ "repairBranch",
1860
+ "baseBranch",
1861
+ "worktreePath"
1862
+ ],
1863
+ "title": "CreateRepairBranchResponse",
1864
+ "type": "object"
1865
+ } as const;
1866
+
1581
1867
  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") });
1582
1868
 
1583
1869
  export type GetChangedFilesInput = z.infer<typeof GetChangedFilesInputSchema>;
@@ -1601,6 +1887,24 @@ export const GetChangedFilesInputJsonSchema = {
1601
1887
  "type": "object"
1602
1888
  } as const;
1603
1889
 
1890
+ export const GetChangedFilesResponseSchema = z.object({ "files": z.array(z.string()).optional() });
1891
+
1892
+ export type GetChangedFilesResponse = z.infer<typeof GetChangedFilesResponseSchema>;
1893
+
1894
+ export const GetChangedFilesResponseJsonSchema = {
1895
+ "properties": {
1896
+ "files": {
1897
+ "items": {
1898
+ "type": "string"
1899
+ },
1900
+ "title": "Files",
1901
+ "type": "array"
1902
+ }
1903
+ },
1904
+ "title": "GetChangedFilesResponse",
1905
+ "type": "object"
1906
+ } as const;
1907
+
1604
1908
  export const GetCommandSchemaInputSchema = z.object({ "commandPath": z.string().describe("The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')") });
1605
1909
 
1606
1910
  export type GetCommandSchemaInput = z.infer<typeof GetCommandSchemaInputSchema>;
@@ -1620,20 +1924,56 @@ export const GetCommandSchemaInputJsonSchema = {
1620
1924
  "type": "object"
1621
1925
  } as const;
1622
1926
 
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") });
1927
+ 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) });
1624
1928
 
1625
- export type GetMergeConflictFilesInput = z.infer<typeof GetMergeConflictFilesInputSchema>;
1929
+ export type GetCommandSchemaResponse = z.infer<typeof GetCommandSchemaResponseSchema>;
1626
1930
 
1627
- export const GetMergeConflictFilesInputJsonSchema = {
1931
+ export const GetCommandSchemaResponseJsonSchema = {
1628
1932
  "properties": {
1629
- "prNumber": {
1630
- "description": "The number of the pull request to check for conflicts.",
1631
- "title": "Prnumber",
1632
- "type": "integer"
1933
+ "status": {
1934
+ "anyOf": [
1935
+ {
1936
+ "type": "string"
1937
+ },
1938
+ {
1939
+ "type": "null"
1940
+ }
1941
+ ],
1942
+ "default": null,
1943
+ "title": "Status"
1633
1944
  },
1634
- "baseBranch": {
1635
- "default": "main",
1636
- "description": "The base branch to check against (default: 'main').",
1945
+ "schema": {
1946
+ "anyOf": [
1947
+ {
1948
+ "additionalProperties": true,
1949
+ "type": "object"
1950
+ },
1951
+ {
1952
+ "type": "null"
1953
+ }
1954
+ ],
1955
+ "default": null,
1956
+ "title": "Schema"
1957
+ }
1958
+ },
1959
+ "title": "GetCommandSchemaResponse",
1960
+ "type": "object"
1961
+ } as const;
1962
+
1963
+ 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") });
1964
+
1965
+ export type GetMergeConflictFilesInput = z.infer<typeof GetMergeConflictFilesInputSchema>;
1966
+
1967
+ export const GetMergeConflictFilesInputJsonSchema = {
1968
+ "properties": {
1969
+ "prNumber": {
1970
+ "description": "The number of the pull request to check for conflicts.",
1971
+ "title": "Prnumber",
1972
+ "type": "integer"
1973
+ },
1974
+ "baseBranch": {
1975
+ "default": "main",
1976
+ "description": "The base branch to check against (default: 'main').",
1637
1977
  "title": "Basebranch",
1638
1978
  "type": "string"
1639
1979
  }
@@ -1645,6 +1985,53 @@ export const GetMergeConflictFilesInputJsonSchema = {
1645
1985
  "type": "object"
1646
1986
  } as const;
1647
1987
 
1988
+ export const GetMergeConflictFilesResponseSchema = z.object({ "hasConflicts": z.boolean(), "conflictedFiles": z.array(z.string()).optional(), "prNumber": z.union([z.number().int(), z.null()]).default(null), "baseBranch": z.string(), "headRef": z.string() });
1989
+
1990
+ export type GetMergeConflictFilesResponse = z.infer<typeof GetMergeConflictFilesResponseSchema>;
1991
+
1992
+ export const GetMergeConflictFilesResponseJsonSchema = {
1993
+ "properties": {
1994
+ "hasConflicts": {
1995
+ "title": "Hasconflicts",
1996
+ "type": "boolean"
1997
+ },
1998
+ "conflictedFiles": {
1999
+ "items": {
2000
+ "type": "string"
2001
+ },
2002
+ "title": "Conflictedfiles",
2003
+ "type": "array"
2004
+ },
2005
+ "prNumber": {
2006
+ "anyOf": [
2007
+ {
2008
+ "type": "integer"
2009
+ },
2010
+ {
2011
+ "type": "null"
2012
+ }
2013
+ ],
2014
+ "default": null,
2015
+ "title": "Prnumber"
2016
+ },
2017
+ "baseBranch": {
2018
+ "title": "Basebranch",
2019
+ "type": "string"
2020
+ },
2021
+ "headRef": {
2022
+ "title": "Headref",
2023
+ "type": "string"
2024
+ }
2025
+ },
2026
+ "required": [
2027
+ "hasConflicts",
2028
+ "baseBranch",
2029
+ "headRef"
2030
+ ],
2031
+ "title": "GetMergeConflictFilesResponse",
2032
+ "type": "object"
2033
+ } as const;
2034
+
1648
2035
  export const GetPackageScriptsInputSchema = z.object({ "filter": z.union([z.string(), z.null()]).describe("Optional glob pattern to filter script names.").default(null) });
1649
2036
 
1650
2037
  export type GetPackageScriptsInput = z.infer<typeof GetPackageScriptsInputSchema>;
@@ -1669,6 +2056,24 @@ export const GetPackageScriptsInputJsonSchema = {
1669
2056
  "type": "object"
1670
2057
  } as const;
1671
2058
 
2059
+ export const GetPackageScriptsResponseSchema = z.object({ "scripts": z.record(z.string(), z.string()).optional() });
2060
+
2061
+ export type GetPackageScriptsResponse = z.infer<typeof GetPackageScriptsResponseSchema>;
2062
+
2063
+ export const GetPackageScriptsResponseJsonSchema = {
2064
+ "properties": {
2065
+ "scripts": {
2066
+ "additionalProperties": {
2067
+ "type": "string"
2068
+ },
2069
+ "title": "Scripts",
2070
+ "type": "object"
2071
+ }
2072
+ },
2073
+ "title": "GetPackageScriptsResponse",
2074
+ "type": "object"
2075
+ } as const;
2076
+
1672
2077
  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) });
1673
2078
 
1674
2079
  export type GetPrCommitsInput = z.infer<typeof GetPrCommitsInputSchema>;
@@ -1702,6 +2107,25 @@ export const GetPrCommitsInputJsonSchema = {
1702
2107
  "type": "object"
1703
2108
  } as const;
1704
2109
 
2110
+ export const GetPrCommitsResponseSchema = z.object({ "commits": z.array(z.record(z.string(), z.any())).optional() });
2111
+
2112
+ export type GetPrCommitsResponse = z.infer<typeof GetPrCommitsResponseSchema>;
2113
+
2114
+ export const GetPrCommitsResponseJsonSchema = {
2115
+ "properties": {
2116
+ "commits": {
2117
+ "items": {
2118
+ "additionalProperties": true,
2119
+ "type": "object"
2120
+ },
2121
+ "title": "Commits",
2122
+ "type": "array"
2123
+ }
2124
+ },
2125
+ "title": "GetPrCommitsResponse",
2126
+ "type": "object"
2127
+ } as const;
2128
+
1705
2129
  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) });
1706
2130
 
1707
2131
  export type GetPrDiffInput = z.infer<typeof GetPrDiffInputSchema>;
@@ -1768,6 +2192,25 @@ export const GetPrInputJsonSchema = {
1768
2192
  "type": "object"
1769
2193
  } as const;
1770
2194
 
2195
+ export const GetPrResponseSchema = z.object({ "pr": z.record(z.string(), z.any()) });
2196
+
2197
+ export type GetPrResponse = z.infer<typeof GetPrResponseSchema>;
2198
+
2199
+ export const GetPrResponseJsonSchema = {
2200
+ "properties": {
2201
+ "pr": {
2202
+ "additionalProperties": true,
2203
+ "title": "Pr",
2204
+ "type": "object"
2205
+ }
2206
+ },
2207
+ "required": [
2208
+ "pr"
2209
+ ],
2210
+ "title": "GetPrResponse",
2211
+ "type": "object"
2212
+ } as const;
2213
+
1771
2214
  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) });
1772
2215
 
1773
2216
  export type GetPrReviewsInput = z.infer<typeof GetPrReviewsInputSchema>;
@@ -1801,6 +2244,37 @@ export const GetPrReviewsInputJsonSchema = {
1801
2244
  "type": "object"
1802
2245
  } as const;
1803
2246
 
2247
+ 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) });
2248
+
2249
+ export type GetPrReviewsResponse = z.infer<typeof GetPrReviewsResponseSchema>;
2250
+
2251
+ export const GetPrReviewsResponseJsonSchema = {
2252
+ "properties": {
2253
+ "reviews": {
2254
+ "items": {
2255
+ "additionalProperties": true,
2256
+ "type": "object"
2257
+ },
2258
+ "title": "Reviews",
2259
+ "type": "array"
2260
+ },
2261
+ "reviewCount": {
2262
+ "anyOf": [
2263
+ {
2264
+ "type": "integer"
2265
+ },
2266
+ {
2267
+ "type": "null"
2268
+ }
2269
+ ],
2270
+ "default": null,
2271
+ "title": "Reviewcount"
2272
+ }
2273
+ },
2274
+ "title": "GetPrReviewsResponse",
2275
+ "type": "object"
2276
+ } as const;
2277
+
1804
2278
  export const GetRouteMapInputSchema = z.object({ "includeStatic": z.union([z.boolean(), z.null()]).describe("Whether to include static assets in the route map.").default(null) });
1805
2279
 
1806
2280
  export type GetRouteMapInput = z.infer<typeof GetRouteMapInputSchema>;
@@ -1876,6 +2350,25 @@ export const GetWorkflowRunsInputJsonSchema = {
1876
2350
  "type": "object"
1877
2351
  } as const;
1878
2352
 
2353
+ export const GetWorkflowRunsResponseSchema = z.object({ "workflowRuns": z.array(z.record(z.string(), z.any())).optional() });
2354
+
2355
+ export type GetWorkflowRunsResponse = z.infer<typeof GetWorkflowRunsResponseSchema>;
2356
+
2357
+ export const GetWorkflowRunsResponseJsonSchema = {
2358
+ "properties": {
2359
+ "workflowRuns": {
2360
+ "items": {
2361
+ "additionalProperties": true,
2362
+ "type": "object"
2363
+ },
2364
+ "title": "Workflowruns",
2365
+ "type": "array"
2366
+ }
2367
+ },
2368
+ "title": "GetWorkflowRunsResponse",
2369
+ "type": "object"
2370
+ } as const;
2371
+
1879
2372
  export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
1880
2373
 
1881
2374
  export type HealthCheckInput = z.infer<typeof HealthCheckInputSchema>;
@@ -1893,6 +2386,35 @@ export const HealthCheckInputJsonSchema = {
1893
2386
  "type": "object"
1894
2387
  } as const;
1895
2388
 
2389
+ export const HealthCheckResponseSchema = z.object({ "status": z.string().default("ok"), "config": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2390
+
2391
+ export type HealthCheckResponse = z.infer<typeof HealthCheckResponseSchema>;
2392
+
2393
+ export const HealthCheckResponseJsonSchema = {
2394
+ "properties": {
2395
+ "status": {
2396
+ "default": "ok",
2397
+ "title": "Status",
2398
+ "type": "string"
2399
+ },
2400
+ "config": {
2401
+ "anyOf": [
2402
+ {
2403
+ "additionalProperties": true,
2404
+ "type": "object"
2405
+ },
2406
+ {
2407
+ "type": "null"
2408
+ }
2409
+ ],
2410
+ "default": null,
2411
+ "title": "Config"
2412
+ }
2413
+ },
2414
+ "title": "HealthCheckResponse",
2415
+ "type": "object"
2416
+ } as const;
2417
+
1896
2418
  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) });
1897
2419
 
1898
2420
  export type IssueCommentInput = z.infer<typeof IssueCommentInputSchema>;
@@ -1932,6 +2454,32 @@ export const IssueCommentInputJsonSchema = {
1932
2454
  "type": "object"
1933
2455
  } as const;
1934
2456
 
2457
+ export const IssueCommentResponseSchema = z.object({ "status": z.string().default("success"), "comment": z.union([z.any(), z.null()]).default(null) });
2458
+
2459
+ export type IssueCommentResponse = z.infer<typeof IssueCommentResponseSchema>;
2460
+
2461
+ export const IssueCommentResponseJsonSchema = {
2462
+ "properties": {
2463
+ "status": {
2464
+ "default": "success",
2465
+ "title": "Status",
2466
+ "type": "string"
2467
+ },
2468
+ "comment": {
2469
+ "anyOf": [
2470
+ {},
2471
+ {
2472
+ "type": "null"
2473
+ }
2474
+ ],
2475
+ "default": null,
2476
+ "title": "Comment"
2477
+ }
2478
+ },
2479
+ "title": "IssueCommentResponse",
2480
+ "type": "object"
2481
+ } as const;
2482
+
1935
2483
  export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "htmlUrl": z.string(), "state": z.string() });
1936
2484
 
1937
2485
  export type IssueSummary = z.infer<typeof IssueSummarySchema>;
@@ -2201,6 +2749,86 @@ export const IssueViewInputJsonSchema = {
2201
2749
  "type": "object"
2202
2750
  } as const;
2203
2751
 
2752
+ export const IssueViewResponseSchema = z.object({ "issue": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2753
+
2754
+ export type IssueViewResponse = z.infer<typeof IssueViewResponseSchema>;
2755
+
2756
+ export const IssueViewResponseJsonSchema = {
2757
+ "properties": {
2758
+ "issue": {
2759
+ "anyOf": [
2760
+ {
2761
+ "additionalProperties": true,
2762
+ "type": "object"
2763
+ },
2764
+ {
2765
+ "type": "null"
2766
+ }
2767
+ ],
2768
+ "default": null,
2769
+ "title": "Issue"
2770
+ }
2771
+ },
2772
+ "title": "IssueViewResponse",
2773
+ "type": "object"
2774
+ } as const;
2775
+
2776
+ export const JulesGetMessagesResponseSchema = z.object({ "id": z.string(), "messages": z.array(z.record(z.string(), z.any())).optional() });
2777
+
2778
+ export type JulesGetMessagesResponse = z.infer<typeof JulesGetMessagesResponseSchema>;
2779
+
2780
+ export const JulesGetMessagesResponseJsonSchema = {
2781
+ "properties": {
2782
+ "id": {
2783
+ "title": "Id",
2784
+ "type": "string"
2785
+ },
2786
+ "messages": {
2787
+ "items": {
2788
+ "additionalProperties": true,
2789
+ "type": "object"
2790
+ },
2791
+ "title": "Messages",
2792
+ "type": "array"
2793
+ }
2794
+ },
2795
+ "required": [
2796
+ "id"
2797
+ ],
2798
+ "title": "JulesGetMessagesResponse",
2799
+ "type": "object"
2800
+ } as const;
2801
+
2802
+ export const JulesGetPrResponseSchema = z.object({ "id": z.string(), "pullRequestUrl": z.union([z.string(), z.null()]).default(null) });
2803
+
2804
+ export type JulesGetPrResponse = z.infer<typeof JulesGetPrResponseSchema>;
2805
+
2806
+ export const JulesGetPrResponseJsonSchema = {
2807
+ "properties": {
2808
+ "id": {
2809
+ "title": "Id",
2810
+ "type": "string"
2811
+ },
2812
+ "pullRequestUrl": {
2813
+ "anyOf": [
2814
+ {
2815
+ "type": "string"
2816
+ },
2817
+ {
2818
+ "type": "null"
2819
+ }
2820
+ ],
2821
+ "default": null,
2822
+ "title": "Pullrequesturl"
2823
+ }
2824
+ },
2825
+ "required": [
2826
+ "id"
2827
+ ],
2828
+ "title": "JulesGetPrResponse",
2829
+ "type": "object"
2830
+ } as const;
2831
+
2204
2832
  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) });
2205
2833
 
2206
2834
  export type JulesListSessionsInput = z.infer<typeof JulesListSessionsInputSchema>;
@@ -2238,6 +2866,66 @@ export const JulesListSessionsInputJsonSchema = {
2238
2866
  "type": "object"
2239
2867
  } as const;
2240
2868
 
2869
+ export const JulesListSessionsResponseSchema = z.object({ "sessions": z.array(z.any()).optional() });
2870
+
2871
+ export type JulesListSessionsResponse = z.infer<typeof JulesListSessionsResponseSchema>;
2872
+
2873
+ export const JulesListSessionsResponseJsonSchema = {
2874
+ "$defs": {
2875
+ "JulesSessionResponse": {
2876
+ "properties": {
2877
+ "id": {
2878
+ "title": "Id",
2879
+ "type": "string"
2880
+ },
2881
+ "status": {
2882
+ "title": "Status",
2883
+ "type": "string"
2884
+ },
2885
+ "createdAt": {
2886
+ "anyOf": [
2887
+ {},
2888
+ {
2889
+ "type": "null"
2890
+ }
2891
+ ],
2892
+ "default": null,
2893
+ "title": "Createdat"
2894
+ },
2895
+ "pullRequestUrl": {
2896
+ "anyOf": [
2897
+ {
2898
+ "type": "string"
2899
+ },
2900
+ {
2901
+ "type": "null"
2902
+ }
2903
+ ],
2904
+ "default": null,
2905
+ "title": "Pullrequesturl"
2906
+ }
2907
+ },
2908
+ "required": [
2909
+ "id",
2910
+ "status"
2911
+ ],
2912
+ "title": "JulesSessionResponse",
2913
+ "type": "object"
2914
+ }
2915
+ },
2916
+ "properties": {
2917
+ "sessions": {
2918
+ "items": {
2919
+ "$ref": "#/$defs/JulesSessionResponse"
2920
+ },
2921
+ "title": "Sessions",
2922
+ "type": "array"
2923
+ }
2924
+ },
2925
+ "title": "JulesListSessionsResponse",
2926
+ "type": "object"
2927
+ } as const;
2928
+
2241
2929
  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.") });
2242
2930
 
2243
2931
  export type JulesSendMessageInput = z.infer<typeof JulesSendMessageInputSchema>;
@@ -2246,50 +2934,263 @@ export const JulesSendMessageInputJsonSchema = {
2246
2934
  "properties": {
2247
2935
  "sessionId": {
2248
2936
  "anyOf": [
2249
- {
2250
- "type": "string"
2251
- },
2937
+ {
2938
+ "type": "string"
2939
+ },
2940
+ {
2941
+ "items": {
2942
+ "type": "string"
2943
+ },
2944
+ "type": "array"
2945
+ }
2946
+ ],
2947
+ "description": "The unique ID or IDs of the Jules session(s).",
2948
+ "title": "Sessionid"
2949
+ },
2950
+ "message": {
2951
+ "description": "The message content to send.",
2952
+ "minLength": 1,
2953
+ "title": "Message",
2954
+ "type": "string"
2955
+ }
2956
+ },
2957
+ "required": [
2958
+ "sessionId",
2959
+ "message"
2960
+ ],
2961
+ "title": "JulesSendMessageInput",
2962
+ "type": "object"
2963
+ } as const;
2964
+
2965
+ export const JulesSendMessageResponseSchema = z.object({ "id": z.union([z.string(), z.array(z.string())]), "status": z.string().default("success"), "message": z.string() });
2966
+
2967
+ export type JulesSendMessageResponse = z.infer<typeof JulesSendMessageResponseSchema>;
2968
+
2969
+ export const JulesSendMessageResponseJsonSchema = {
2970
+ "properties": {
2971
+ "id": {
2972
+ "anyOf": [
2973
+ {
2974
+ "type": "string"
2975
+ },
2976
+ {
2977
+ "items": {
2978
+ "type": "string"
2979
+ },
2980
+ "type": "array"
2981
+ }
2982
+ ],
2983
+ "title": "Id"
2984
+ },
2985
+ "status": {
2986
+ "default": "success",
2987
+ "title": "Status",
2988
+ "type": "string"
2989
+ },
2990
+ "message": {
2991
+ "title": "Message",
2992
+ "type": "string"
2993
+ }
2994
+ },
2995
+ "required": [
2996
+ "id",
2997
+ "message"
2998
+ ],
2999
+ "title": "JulesSendMessageResponse",
3000
+ "type": "object"
3001
+ } as const;
3002
+
3003
+ export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
3004
+
3005
+ export type JulesSessionIdInput = z.infer<typeof JulesSessionIdInputSchema>;
3006
+
3007
+ export const JulesSessionIdInputJsonSchema = {
3008
+ "properties": {
3009
+ "sessionId": {
3010
+ "description": "The unique ID of the Jules session.",
3011
+ "title": "Sessionid",
3012
+ "type": "string"
3013
+ }
3014
+ },
3015
+ "required": [
3016
+ "sessionId"
3017
+ ],
3018
+ "title": "JulesSessionIdInput",
3019
+ "type": "object"
3020
+ } as const;
3021
+
3022
+ 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) });
3023
+
3024
+ export type JulesSessionResponse = z.infer<typeof JulesSessionResponseSchema>;
3025
+
3026
+ export const JulesSessionResponseJsonSchema = {
3027
+ "properties": {
3028
+ "id": {
3029
+ "title": "Id",
3030
+ "type": "string"
3031
+ },
3032
+ "status": {
3033
+ "title": "Status",
3034
+ "type": "string"
3035
+ },
3036
+ "createdAt": {
3037
+ "anyOf": [
3038
+ {},
3039
+ {
3040
+ "type": "null"
3041
+ }
3042
+ ],
3043
+ "default": null,
3044
+ "title": "Createdat"
3045
+ },
3046
+ "pullRequestUrl": {
3047
+ "anyOf": [
3048
+ {
3049
+ "type": "string"
3050
+ },
3051
+ {
3052
+ "type": "null"
3053
+ }
3054
+ ],
3055
+ "default": null,
3056
+ "title": "Pullrequesturl"
3057
+ }
3058
+ },
3059
+ "required": [
3060
+ "id",
3061
+ "status"
3062
+ ],
3063
+ "title": "JulesSessionResponse",
3064
+ "type": "object"
3065
+ } as const;
3066
+
3067
+ export const JulesTriggerFeedbackResponseSchema = z.object({ "status": z.union([z.string(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
3068
+
3069
+ export type JulesTriggerFeedbackResponse = z.infer<typeof JulesTriggerFeedbackResponseSchema>;
3070
+
3071
+ export const JulesTriggerFeedbackResponseJsonSchema = {
3072
+ "properties": {
3073
+ "status": {
3074
+ "anyOf": [
3075
+ {
3076
+ "type": "string"
3077
+ },
3078
+ {
3079
+ "type": "null"
3080
+ }
3081
+ ],
3082
+ "default": null,
3083
+ "title": "Status"
3084
+ },
3085
+ "message": {
3086
+ "anyOf": [
3087
+ {
3088
+ "type": "string"
3089
+ },
3090
+ {
3091
+ "type": "null"
3092
+ }
3093
+ ],
3094
+ "default": null,
3095
+ "title": "Message"
3096
+ }
3097
+ },
3098
+ "title": "JulesTriggerFeedbackResponse",
3099
+ "type": "object"
3100
+ } as const;
3101
+
3102
+ 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) });
3103
+
3104
+ export type MultiExecInput = z.infer<typeof MultiExecInputSchema>;
3105
+
3106
+ export const MultiExecInputJsonSchema = {
3107
+ "properties": {
3108
+ "command": {
3109
+ "description": "Shell command to execute sequentially across repositories",
3110
+ "title": "Command",
3111
+ "type": "string"
3112
+ },
3113
+ "repos": {
3114
+ "anyOf": [
2252
3115
  {
2253
3116
  "items": {
2254
3117
  "type": "string"
2255
3118
  },
2256
3119
  "type": "array"
3120
+ },
3121
+ {
3122
+ "type": "null"
2257
3123
  }
2258
3124
  ],
2259
- "description": "The unique ID or IDs of the Jules session(s).",
2260
- "title": "Sessionid"
3125
+ "default": null,
3126
+ "description": "Optional list of repository names to target",
3127
+ "title": "Repos"
2261
3128
  },
2262
- "message": {
2263
- "description": "The message content to send.",
2264
- "minLength": 1,
2265
- "title": "Message",
2266
- "type": "string"
3129
+ "continueOnError": {
3130
+ "anyOf": [
3131
+ {
3132
+ "type": "boolean"
3133
+ },
3134
+ {
3135
+ "type": "null"
3136
+ }
3137
+ ],
3138
+ "default": true,
3139
+ "description": "Whether to continue execution if a repo command fails",
3140
+ "title": "Continueonerror"
2267
3141
  }
2268
3142
  },
2269
3143
  "required": [
2270
- "sessionId",
2271
- "message"
3144
+ "command"
2272
3145
  ],
2273
- "title": "JulesSendMessageInput",
3146
+ "title": "MultiExecInput",
2274
3147
  "type": "object"
2275
3148
  } as const;
2276
3149
 
2277
- export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
3150
+ 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) });
2278
3151
 
2279
- export type JulesSessionIdInput = z.infer<typeof JulesSessionIdInputSchema>;
3152
+ export type MultiExecResponse = z.infer<typeof MultiExecResponseSchema>;
2280
3153
 
2281
- export const JulesSessionIdInputJsonSchema = {
3154
+ export const MultiExecResponseJsonSchema = {
2282
3155
  "properties": {
2283
- "sessionId": {
2284
- "description": "The unique ID of the Jules session.",
2285
- "title": "Sessionid",
3156
+ "status": {
3157
+ "default": "success",
3158
+ "description": "Execution status",
3159
+ "title": "Status",
2286
3160
  "type": "string"
3161
+ },
3162
+ "total": {
3163
+ "anyOf": [
3164
+ {
3165
+ "type": "integer"
3166
+ },
3167
+ {
3168
+ "type": "null"
3169
+ }
3170
+ ],
3171
+ "default": null,
3172
+ "description": "Total repositories executed against",
3173
+ "title": "Total"
3174
+ },
3175
+ "results": {
3176
+ "anyOf": [
3177
+ {
3178
+ "items": {
3179
+ "additionalProperties": true,
3180
+ "type": "object"
3181
+ },
3182
+ "type": "array"
3183
+ },
3184
+ {
3185
+ "type": "null"
3186
+ }
3187
+ ],
3188
+ "default": null,
3189
+ "description": "Execution results per repository",
3190
+ "title": "Results"
2287
3191
  }
2288
3192
  },
2289
- "required": [
2290
- "sessionId"
2291
- ],
2292
- "title": "JulesSessionIdInput",
3193
+ "title": "MultiExecResponse",
2293
3194
  "type": "object"
2294
3195
  } as const;
2295
3196
 
@@ -2361,6 +3262,29 @@ export const OpenReplacementPrInputJsonSchema = {
2361
3262
  "type": "object"
2362
3263
  } as const;
2363
3264
 
3265
+ export const OpenReplacementPrResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
3266
+
3267
+ export type OpenReplacementPrResponse = z.infer<typeof OpenReplacementPrResponseSchema>;
3268
+
3269
+ export const OpenReplacementPrResponseJsonSchema = {
3270
+ "properties": {
3271
+ "success": {
3272
+ "default": true,
3273
+ "title": "Success",
3274
+ "type": "boolean"
3275
+ },
3276
+ "url": {
3277
+ "title": "Url",
3278
+ "type": "string"
3279
+ }
3280
+ },
3281
+ "required": [
3282
+ "url"
3283
+ ],
3284
+ "title": "OpenReplacementPrResponse",
3285
+ "type": "object"
3286
+ } as const;
3287
+
2364
3288
  export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "createdAt": z.string() });
2365
3289
 
2366
3290
  export type PRComment = z.infer<typeof PRCommentSchema>;
@@ -2521,16 +3445,138 @@ export const PrDiffResponseJsonSchema = {
2521
3445
  "type": "object"
2522
3446
  } as const;
2523
3447
 
2524
- export const ReadAgentContextInputSchema = z.object({});
3448
+ 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) });
2525
3449
 
2526
3450
  export type ReadAgentContextInput = z.infer<typeof ReadAgentContextInputSchema>;
2527
3451
 
2528
3452
  export const ReadAgentContextInputJsonSchema = {
2529
- "properties": {},
3453
+ "properties": {
3454
+ "path": {
3455
+ "anyOf": [
3456
+ {
3457
+ "type": "string"
3458
+ },
3459
+ {
3460
+ "type": "null"
3461
+ }
3462
+ ],
3463
+ "default": null,
3464
+ "description": "Local filesystem path to target repository root",
3465
+ "title": "Path"
3466
+ },
3467
+ "repoPath": {
3468
+ "anyOf": [
3469
+ {
3470
+ "type": "string"
3471
+ },
3472
+ {
3473
+ "type": "null"
3474
+ }
3475
+ ],
3476
+ "default": null,
3477
+ "description": "Alias for path (filesystem path to target workspace repository root).",
3478
+ "title": "Repopath"
3479
+ },
3480
+ "repo": {
3481
+ "anyOf": [
3482
+ {
3483
+ "type": "string"
3484
+ },
3485
+ {
3486
+ "type": "null"
3487
+ }
3488
+ ],
3489
+ "default": null,
3490
+ "description": "Target GitHub repository string (e.g. org/repo).",
3491
+ "title": "Repo"
3492
+ },
3493
+ "repos": {
3494
+ "anyOf": [
3495
+ {
3496
+ "items": {
3497
+ "type": "string"
3498
+ },
3499
+ "type": "array"
3500
+ },
3501
+ {
3502
+ "type": "null"
3503
+ }
3504
+ ],
3505
+ "default": null,
3506
+ "description": "List of repository names to fetch context for",
3507
+ "title": "Repos"
3508
+ },
3509
+ "all": {
3510
+ "anyOf": [
3511
+ {
3512
+ "type": "boolean"
3513
+ },
3514
+ {
3515
+ "type": "null"
3516
+ }
3517
+ ],
3518
+ "default": null,
3519
+ "description": "Whether to fetch context across all discovered ecosystem repositories",
3520
+ "title": "All"
3521
+ }
3522
+ },
2530
3523
  "title": "ReadAgentContextInput",
2531
3524
  "type": "object"
2532
3525
  } as const;
2533
3526
 
3527
+ 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) });
3528
+
3529
+ export type ReadAgentContextResponse = z.infer<typeof ReadAgentContextResponseSchema>;
3530
+
3531
+ export const ReadAgentContextResponseJsonSchema = {
3532
+ "properties": {
3533
+ "status": {
3534
+ "default": "success",
3535
+ "title": "Status",
3536
+ "type": "string"
3537
+ },
3538
+ "packageName": {
3539
+ "anyOf": [
3540
+ {
3541
+ "type": "string"
3542
+ },
3543
+ {
3544
+ "type": "null"
3545
+ }
3546
+ ],
3547
+ "default": null,
3548
+ "title": "Packagename"
3549
+ },
3550
+ "gitCommit": {
3551
+ "anyOf": [
3552
+ {
3553
+ "type": "string"
3554
+ },
3555
+ {
3556
+ "type": "null"
3557
+ }
3558
+ ],
3559
+ "default": null,
3560
+ "title": "Gitcommit"
3561
+ },
3562
+ "config": {
3563
+ "anyOf": [
3564
+ {
3565
+ "additionalProperties": true,
3566
+ "type": "object"
3567
+ },
3568
+ {
3569
+ "type": "null"
3570
+ }
3571
+ ],
3572
+ "default": null,
3573
+ "title": "Config"
3574
+ }
3575
+ },
3576
+ "title": "ReadAgentContextResponse",
3577
+ "type": "object"
3578
+ } as const;
3579
+
2534
3580
  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) });
2535
3581
 
2536
3582
  export type ReadCiLogsInput = z.infer<typeof ReadCiLogsInputSchema>;
@@ -2570,6 +3616,59 @@ export const ReadCiLogsInputJsonSchema = {
2570
3616
  "type": "object"
2571
3617
  } as const;
2572
3618
 
3619
+ 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) });
3620
+
3621
+ export type ReadCiLogsResponse = z.infer<typeof ReadCiLogsResponseSchema>;
3622
+
3623
+ export const ReadCiLogsResponseJsonSchema = {
3624
+ "properties": {
3625
+ "checks": {
3626
+ "anyOf": [
3627
+ {
3628
+ "items": {
3629
+ "additionalProperties": true,
3630
+ "type": "object"
3631
+ },
3632
+ "type": "array"
3633
+ },
3634
+ {
3635
+ "type": "null"
3636
+ }
3637
+ ],
3638
+ "default": null,
3639
+ "title": "Checks"
3640
+ },
3641
+ "failedChecks": {
3642
+ "anyOf": [
3643
+ {
3644
+ "items": {
3645
+ "additionalProperties": true,
3646
+ "type": "object"
3647
+ },
3648
+ "type": "array"
3649
+ },
3650
+ {
3651
+ "type": "null"
3652
+ }
3653
+ ],
3654
+ "default": null,
3655
+ "title": "Failedchecks"
3656
+ },
3657
+ "logs": {
3658
+ "anyOf": [
3659
+ {},
3660
+ {
3661
+ "type": "null"
3662
+ }
3663
+ ],
3664
+ "default": null,
3665
+ "title": "Logs"
3666
+ }
3667
+ },
3668
+ "title": "ReadCiLogsResponse",
3669
+ "type": "object"
3670
+ } as const;
3671
+
2573
3672
  export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
2574
3673
 
2575
3674
  export type ReadPRCommentsInput = z.infer<typeof ReadPRCommentsInputSchema>;
@@ -2787,6 +3886,27 @@ export const RepoLogsInputJsonSchema = {
2787
3886
  "type": "object"
2788
3887
  } as const;
2789
3888
 
3889
+ export const RepoLogsResponseSchema = z.object({ "logs": z.union([z.any(), z.null()]).default(null) });
3890
+
3891
+ export type RepoLogsResponse = z.infer<typeof RepoLogsResponseSchema>;
3892
+
3893
+ export const RepoLogsResponseJsonSchema = {
3894
+ "properties": {
3895
+ "logs": {
3896
+ "anyOf": [
3897
+ {},
3898
+ {
3899
+ "type": "null"
3900
+ }
3901
+ ],
3902
+ "default": null,
3903
+ "title": "Logs"
3904
+ }
3905
+ },
3906
+ "title": "RepoLogsResponse",
3907
+ "type": "object"
3908
+ } as const;
3909
+
2790
3910
  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() });
2791
3911
 
2792
3912
  export type ReviewComment = z.infer<typeof ReviewCommentSchema>;
@@ -3291,6 +4411,44 @@ export const RunTestsInputJsonSchema = {
3291
4411
  "type": "object"
3292
4412
  } as const;
3293
4413
 
4414
+ export const RunTestsResponseSchema = z.object({ "passed": z.boolean(), "exitCode": z.number().int(), "failedTests": z.array(z.string()).optional(), "results": z.array(z.record(z.string(), z.any())).optional() });
4415
+
4416
+ export type RunTestsResponse = z.infer<typeof RunTestsResponseSchema>;
4417
+
4418
+ export const RunTestsResponseJsonSchema = {
4419
+ "properties": {
4420
+ "passed": {
4421
+ "title": "Passed",
4422
+ "type": "boolean"
4423
+ },
4424
+ "exitCode": {
4425
+ "title": "Exitcode",
4426
+ "type": "integer"
4427
+ },
4428
+ "failedTests": {
4429
+ "items": {
4430
+ "type": "string"
4431
+ },
4432
+ "title": "Failedtests",
4433
+ "type": "array"
4434
+ },
4435
+ "results": {
4436
+ "items": {
4437
+ "additionalProperties": true,
4438
+ "type": "object"
4439
+ },
4440
+ "title": "Results",
4441
+ "type": "array"
4442
+ }
4443
+ },
4444
+ "required": [
4445
+ "passed",
4446
+ "exitCode"
4447
+ ],
4448
+ "title": "RunTestsResponse",
4449
+ "type": "object"
4450
+ } as const;
4451
+
3294
4452
  export const SearchDdgsInputSchema = z.object({ "query": z.string().describe("The search query."), "maxResults": z.union([z.number().int(), z.null()]).describe("Maximum number of results to return.").default(null) });
3295
4453
 
3296
4454
  export type SearchDdgsInput = z.infer<typeof SearchDdgsInputSchema>;