@arii/boomtick-mcp 0.6.2 → 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 (93) 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_pr.json +12 -3
  7. package/.mcp/schemas/github.get_pr_commits.json +12 -3
  8. package/.mcp/schemas/github.get_pr_reviews.json +24 -3
  9. package/.mcp/schemas/github.issue_comment.json +19 -3
  10. package/.mcp/schemas/github.issue_view.json +17 -3
  11. package/.mcp/schemas/github.open_replacement_pr.json +16 -3
  12. package/.mcp/schemas/github_checkout_branch.json +16 -3
  13. package/.mcp/schemas/github_comment_triage_summary.json +16 -3
  14. package/.mcp/schemas/github_create_pull_request.json +16 -3
  15. package/.mcp/schemas/github_get_pr.json +12 -3
  16. package/.mcp/schemas/github_get_pr_commits.json +12 -3
  17. package/.mcp/schemas/github_get_pr_reviews.json +24 -3
  18. package/.mcp/schemas/github_issue_comment.json +19 -3
  19. package/.mcp/schemas/github_issue_view.json +17 -3
  20. package/.mcp/schemas/github_open_replacement_pr.json +16 -3
  21. package/.mcp/schemas/jules.cancel_session.json +38 -3
  22. package/.mcp/schemas/jules.create_session.json +52 -3
  23. package/.mcp/schemas/jules.get_messages.json +19 -3
  24. package/.mcp/schemas/jules.get_pr.json +23 -3
  25. package/.mcp/schemas/jules.get_session.json +38 -3
  26. package/.mcp/schemas/jules.list_sessions.json +53 -3
  27. package/.mcp/schemas/jules.send_message.json +31 -3
  28. package/.mcp/schemas/jules.trigger_feedback.json +28 -3
  29. package/.mcp/schemas/jules_cancel_session.json +38 -3
  30. package/.mcp/schemas/jules_create_session.json +52 -3
  31. package/.mcp/schemas/jules_get_messages.json +19 -3
  32. package/.mcp/schemas/jules_get_pr.json +23 -3
  33. package/.mcp/schemas/jules_get_session.json +38 -3
  34. package/.mcp/schemas/jules_list_sessions.json +53 -3
  35. package/.mcp/schemas/jules_send_message.json +31 -3
  36. package/.mcp/schemas/jules_trigger_feedback.json +28 -3
  37. package/.mcp/schemas/repo.check_jules_status.json +93 -3
  38. package/.mcp/schemas/repo.commit_patch.json +23 -3
  39. package/.mcp/schemas/repo.create_branch.json +28 -3
  40. package/.mcp/schemas/repo.create_repair_branch.json +31 -3
  41. package/.mcp/schemas/repo.get_changed_files.json +11 -3
  42. package/.mcp/schemas/repo.get_command_schema.json +29 -3
  43. package/.mcp/schemas/repo.get_package_scripts.json +11 -3
  44. package/.mcp/schemas/repo.get_workflow_runs.json +12 -3
  45. package/.mcp/schemas/repo.logs.json +14 -3
  46. package/.mcp/schemas/repo.multi_exec.json +89 -0
  47. package/.mcp/schemas/repo.read_agent_context.json +117 -5
  48. package/.mcp/schemas/repo.read_ci_logs.json +46 -3
  49. package/.mcp/schemas/repo_check_jules_status.json +93 -3
  50. package/.mcp/schemas/repo_commit_patch.json +23 -3
  51. package/.mcp/schemas/repo_create_branch.json +28 -3
  52. package/.mcp/schemas/repo_create_repair_branch.json +31 -3
  53. package/.mcp/schemas/repo_get_changed_files.json +11 -3
  54. package/.mcp/schemas/repo_get_command_schema.json +29 -3
  55. package/.mcp/schemas/repo_get_package_scripts.json +11 -3
  56. package/.mcp/schemas/repo_get_workflow_runs.json +12 -3
  57. package/.mcp/schemas/repo_logs.json +14 -3
  58. package/.mcp/schemas/repo_multi_exec.json +89 -0
  59. package/.mcp/schemas/repo_read_agent_context.json +117 -5
  60. package/.mcp/schemas/repo_read_ci_logs.json +46 -3
  61. package/CHANGELOG.md +14 -0
  62. package/README.md +7 -5
  63. package/dist/config/dynamic.js +3 -2
  64. package/dist/config/repo.js +5 -5
  65. package/dist/config.test.js +10 -3
  66. package/dist/mcp/definitions.js +49 -36
  67. package/dist/mcp/http.js +15 -0
  68. package/dist/mcp/http.test.js +8 -0
  69. package/dist/mcp/server.js +34 -0
  70. package/dist/mcp/server.test.js +31 -0
  71. package/dist/tools/contract.js +960 -3
  72. package/dist/tools/jules/create-session.js +12 -2
  73. package/dist/tools/jules/create-session.test.js +7 -0
  74. package/dist/tools/repo.multi_exec.js +21 -0
  75. package/dist/tools/repo.multi_exec.test.js +13 -0
  76. package/dist/tools/repo.read_agent_context.js +65 -3
  77. package/dist/tools/repo.read_agent_context.test.js +30 -1
  78. package/package.json +1 -1
  79. package/src/config/dynamic.ts +3 -2
  80. package/src/config/repo.ts +6 -6
  81. package/src/config.test.ts +11 -3
  82. package/src/mcp/definitions.ts +77 -36
  83. package/src/mcp/http.test.ts +10 -0
  84. package/src/mcp/http.ts +20 -0
  85. package/src/mcp/server.test.ts +38 -0
  86. package/src/mcp/server.ts +36 -0
  87. package/src/tools/contract.ts +1089 -16
  88. package/src/tools/jules/create-session.test.ts +9 -0
  89. package/src/tools/jules/create-session.ts +13 -2
  90. package/src/tools/repo.multi_exec.test.ts +15 -0
  91. package/src/tools/repo.multi_exec.ts +23 -0
  92. package/src/tools/repo.read_agent_context.test.ts +35 -1
  93. package/src/tools/repo.read_agent_context.ts +68 -3
@@ -724,6 +724,102 @@ export const CamelCaseModelJsonSchema = {
724
724
  "title": "CamelCaseModel",
725
725
  "type": "object"
726
726
  };
727
+ export const CheckJulesStatusResponseSchema = z.object({ "sessionId": z.string(), "status": z.string(), "rawState": z.union([z.string(), z.null()]).default(null), "completed": z.boolean().default(false), "remediationBranch": z.union([z.string(), z.null()]).default(null), "pullRequestUrl": z.union([z.string(), z.null()]).default(null), "idempotencyHash": z.union([z.string(), z.null()]).default(null), "isDuplicate": z.union([z.boolean(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
728
+ export const CheckJulesStatusResponseJsonSchema = {
729
+ "properties": {
730
+ "sessionId": {
731
+ "title": "Sessionid",
732
+ "type": "string"
733
+ },
734
+ "status": {
735
+ "title": "Status",
736
+ "type": "string"
737
+ },
738
+ "rawState": {
739
+ "anyOf": [
740
+ {
741
+ "type": "string"
742
+ },
743
+ {
744
+ "type": "null"
745
+ }
746
+ ],
747
+ "default": null,
748
+ "title": "Rawstate"
749
+ },
750
+ "completed": {
751
+ "default": false,
752
+ "title": "Completed",
753
+ "type": "boolean"
754
+ },
755
+ "remediationBranch": {
756
+ "anyOf": [
757
+ {
758
+ "type": "string"
759
+ },
760
+ {
761
+ "type": "null"
762
+ }
763
+ ],
764
+ "default": null,
765
+ "title": "Remediationbranch"
766
+ },
767
+ "pullRequestUrl": {
768
+ "anyOf": [
769
+ {
770
+ "type": "string"
771
+ },
772
+ {
773
+ "type": "null"
774
+ }
775
+ ],
776
+ "default": null,
777
+ "title": "Pullrequesturl"
778
+ },
779
+ "idempotencyHash": {
780
+ "anyOf": [
781
+ {
782
+ "type": "string"
783
+ },
784
+ {
785
+ "type": "null"
786
+ }
787
+ ],
788
+ "default": null,
789
+ "title": "Idempotencyhash"
790
+ },
791
+ "isDuplicate": {
792
+ "anyOf": [
793
+ {
794
+ "type": "boolean"
795
+ },
796
+ {
797
+ "type": "null"
798
+ }
799
+ ],
800
+ "default": null,
801
+ "title": "Isduplicate"
802
+ },
803
+ "message": {
804
+ "anyOf": [
805
+ {
806
+ "type": "string"
807
+ },
808
+ {
809
+ "type": "null"
810
+ }
811
+ ],
812
+ "default": null,
813
+ "title": "Message"
814
+ }
815
+ },
816
+ "required": [
817
+ "sessionId",
818
+ "status"
819
+ ],
820
+ "title": "CheckJulesStatusResponse",
821
+ "type": "object"
822
+ };
727
823
  export const CheckoutBranchInputSchema = z.object({ "branch": z.string().describe("The name of the branch to checkout."), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree to perform the checkout in.").default(null) });
728
824
  export const CheckoutBranchInputJsonSchema = {
729
825
  "properties": {
@@ -752,6 +848,25 @@ export const CheckoutBranchInputJsonSchema = {
752
848
  "title": "CheckoutBranchInput",
753
849
  "type": "object"
754
850
  };
851
+ export const CheckoutBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branch": z.string() });
852
+ export const CheckoutBranchResponseJsonSchema = {
853
+ "properties": {
854
+ "success": {
855
+ "default": true,
856
+ "title": "Success",
857
+ "type": "boolean"
858
+ },
859
+ "branch": {
860
+ "title": "Branch",
861
+ "type": "string"
862
+ }
863
+ },
864
+ "required": [
865
+ "branch"
866
+ ],
867
+ "title": "CheckoutBranchResponse",
868
+ "type": "object"
869
+ };
755
870
  export const CodeReviewResultSchema = z.object({ "findings": z.array(z.any()).optional(), "feedback": z.string(), "role": z.string(), "tokens": z.number().int(), "cost": z.number(), "modelName": z.string(), "llmVerdict": z.enum(["pass", "warn", "fail"]), "isTruncated": z.union([z.boolean(), z.null()]).default(null), "inputTokens": z.union([z.number().int(), z.null()]).default(null), "outputTokens": z.union([z.number().int(), z.null()]).default(null), "cacheTokens": z.union([z.number().int(), z.null()]).default(null), "parseError": z.union([z.enum(["missing_closing_tag", "truncated_json", "incomplete_findings", "invalid_json"]), z.null()]).default(null) });
756
871
  export const CodeReviewResultJsonSchema = {
757
872
  "$defs": {
@@ -1194,6 +1309,25 @@ export const CommentTriageSummaryInputJsonSchema = {
1194
1309
  "title": "CommentTriageSummaryInput",
1195
1310
  "type": "object"
1196
1311
  };
1312
+ export const CommentTriageSummaryResponseSchema = z.object({ "success": z.boolean().default(true), "commentUrl": z.string() });
1313
+ export const CommentTriageSummaryResponseJsonSchema = {
1314
+ "properties": {
1315
+ "success": {
1316
+ "default": true,
1317
+ "title": "Success",
1318
+ "type": "boolean"
1319
+ },
1320
+ "commentUrl": {
1321
+ "title": "Commenturl",
1322
+ "type": "string"
1323
+ }
1324
+ },
1325
+ "required": [
1326
+ "commentUrl"
1327
+ ],
1328
+ "title": "CommentTriageSummaryResponse",
1329
+ "type": "object"
1330
+ };
1197
1331
  export const CommitPatchInputSchema = z.object({ "worktreePath": z.string().describe("Path to the worktree where changes are made."), "message": z.string().describe("Commit message."), "allowedFiles": z.array(z.string()).describe("List of files that are allowed to be committed."), "writeMode": z.boolean().describe("Safety gate: Must be true to perform the commit.") });
1198
1332
  export const CommitPatchInputJsonSchema = {
1199
1333
  "properties": {
@@ -1230,6 +1364,32 @@ export const CommitPatchInputJsonSchema = {
1230
1364
  "title": "CommitPatchInput",
1231
1365
  "type": "object"
1232
1366
  };
1367
+ export const CommitPatchResponseSchema = z.object({ "success": z.boolean().default(true), "commitSha": z.string(), "changedFiles": z.array(z.string()).optional() });
1368
+ export const CommitPatchResponseJsonSchema = {
1369
+ "properties": {
1370
+ "success": {
1371
+ "default": true,
1372
+ "title": "Success",
1373
+ "type": "boolean"
1374
+ },
1375
+ "commitSha": {
1376
+ "title": "Commitsha",
1377
+ "type": "string"
1378
+ },
1379
+ "changedFiles": {
1380
+ "items": {
1381
+ "type": "string"
1382
+ },
1383
+ "title": "Changedfiles",
1384
+ "type": "array"
1385
+ }
1386
+ },
1387
+ "required": [
1388
+ "commitSha"
1389
+ ],
1390
+ "title": "CommitPatchResponse",
1391
+ "type": "object"
1392
+ };
1233
1393
  export const CreateBranchInputSchema = z.object({ "branchName": z.string().describe("The name of the new branch"), "baseBranch": z.string().describe("Branch to branch off from").default("main") });
1234
1394
  export const CreateBranchInputJsonSchema = {
1235
1395
  "properties": {
@@ -1251,6 +1411,37 @@ export const CreateBranchInputJsonSchema = {
1251
1411
  "title": "CreateBranchInput",
1252
1412
  "type": "object"
1253
1413
  };
1414
+ export const CreateBranchResponseSchema = z.object({ "success": z.boolean().default(true), "branchName": z.string(), "baseBranch": z.union([z.string(), z.null()]).default(null) });
1415
+ export const CreateBranchResponseJsonSchema = {
1416
+ "properties": {
1417
+ "success": {
1418
+ "default": true,
1419
+ "title": "Success",
1420
+ "type": "boolean"
1421
+ },
1422
+ "branchName": {
1423
+ "title": "Branchname",
1424
+ "type": "string"
1425
+ },
1426
+ "baseBranch": {
1427
+ "anyOf": [
1428
+ {
1429
+ "type": "string"
1430
+ },
1431
+ {
1432
+ "type": "null"
1433
+ }
1434
+ ],
1435
+ "default": null,
1436
+ "title": "Basebranch"
1437
+ }
1438
+ },
1439
+ "required": [
1440
+ "branchName"
1441
+ ],
1442
+ "title": "CreateBranchResponse",
1443
+ "type": "object"
1444
+ };
1254
1445
  export const CreateIssueInputSchema = z.object({ "title": z.string().min(1), "body": z.union([z.string().min(1), z.null()]).default(null), "file": z.union([z.string().min(1), z.null()]).default(null), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1255
1446
  export const CreateIssueInputJsonSchema = {
1256
1447
  "properties": {
@@ -1381,7 +1572,7 @@ export const CreateIssueResponseJsonSchema = {
1381
1572
  "title": "CreateIssueResponse",
1382
1573
  "type": "object"
1383
1574
  };
1384
- export const CreateJulesSessionInputSchema = z.object({ "task": z.string().describe("The instructions for Jules."), "branch": z.union([z.string(), z.null()]).describe("The base branch to start from (e.g., 'main').").default(null), "pr": z.union([z.number().int(), z.null()]).describe("The PR number to use as the base branch context.").default(null) });
1575
+ export const CreateJulesSessionInputSchema = z.object({ "task": z.string().describe("The instructions for Jules."), "branch": z.union([z.string(), z.null()]).describe("The base branch to start from (e.g., 'main').").default(null), "pr": z.union([z.number().int(), z.null()]).describe("The PR number to use as the base branch context.").default(null), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1385
1576
  export const CreateJulesSessionInputJsonSchema = {
1386
1577
  "properties": {
1387
1578
  "task": {
@@ -1414,6 +1605,20 @@ export const CreateJulesSessionInputJsonSchema = {
1414
1605
  "default": null,
1415
1606
  "description": "The PR number to use as the base branch context.",
1416
1607
  "title": "Pr"
1608
+ },
1609
+ "repo": {
1610
+ "anyOf": [
1611
+ {
1612
+ "pattern": "^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$",
1613
+ "type": "string"
1614
+ },
1615
+ {
1616
+ "type": "null"
1617
+ }
1618
+ ],
1619
+ "default": null,
1620
+ "description": "The target repository override (e.g. org/repo).",
1621
+ "title": "Repo"
1417
1622
  }
1418
1623
  },
1419
1624
  "required": [
@@ -1475,6 +1680,25 @@ export const CreatePullRequestInputJsonSchema = {
1475
1680
  "title": "CreatePullRequestInput",
1476
1681
  "type": "object"
1477
1682
  };
1683
+ export const CreatePullRequestResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
1684
+ export const CreatePullRequestResponseJsonSchema = {
1685
+ "properties": {
1686
+ "success": {
1687
+ "default": true,
1688
+ "title": "Success",
1689
+ "type": "boolean"
1690
+ },
1691
+ "url": {
1692
+ "title": "Url",
1693
+ "type": "string"
1694
+ }
1695
+ },
1696
+ "required": [
1697
+ "url"
1698
+ ],
1699
+ "title": "CreatePullRequestResponse",
1700
+ "type": "object"
1701
+ };
1478
1702
  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.") });
1479
1703
  export const CreateRepairBranchInputJsonSchema = {
1480
1704
  "properties": {
@@ -1509,6 +1733,40 @@ export const CreateRepairBranchInputJsonSchema = {
1509
1733
  "title": "CreateRepairBranchInput",
1510
1734
  "type": "object"
1511
1735
  };
1736
+ export const CreateRepairBranchResponseSchema = z.object({ "prNumber": z.number().int(), "originalBranch": z.string(), "repairBranch": z.string(), "baseBranch": z.string(), "worktreePath": z.string() });
1737
+ export const CreateRepairBranchResponseJsonSchema = {
1738
+ "properties": {
1739
+ "prNumber": {
1740
+ "title": "Prnumber",
1741
+ "type": "integer"
1742
+ },
1743
+ "originalBranch": {
1744
+ "title": "Originalbranch",
1745
+ "type": "string"
1746
+ },
1747
+ "repairBranch": {
1748
+ "title": "Repairbranch",
1749
+ "type": "string"
1750
+ },
1751
+ "baseBranch": {
1752
+ "title": "Basebranch",
1753
+ "type": "string"
1754
+ },
1755
+ "worktreePath": {
1756
+ "title": "Worktreepath",
1757
+ "type": "string"
1758
+ }
1759
+ },
1760
+ "required": [
1761
+ "prNumber",
1762
+ "originalBranch",
1763
+ "repairBranch",
1764
+ "baseBranch",
1765
+ "worktreePath"
1766
+ ],
1767
+ "title": "CreateRepairBranchResponse",
1768
+ "type": "object"
1769
+ };
1512
1770
  export const GetChangedFilesInputSchema = z.object({ "base": z.string().describe("The base ref to compare from (default: 'main').").default("main"), "head": z.string().describe("The head ref to compare to (default: 'HEAD').").default("HEAD") });
1513
1771
  export const GetChangedFilesInputJsonSchema = {
1514
1772
  "properties": {
@@ -1528,6 +1786,20 @@ export const GetChangedFilesInputJsonSchema = {
1528
1786
  "title": "GetChangedFilesInput",
1529
1787
  "type": "object"
1530
1788
  };
1789
+ export const GetChangedFilesResponseSchema = z.object({ "files": z.array(z.string()).optional() });
1790
+ export const GetChangedFilesResponseJsonSchema = {
1791
+ "properties": {
1792
+ "files": {
1793
+ "items": {
1794
+ "type": "string"
1795
+ },
1796
+ "title": "Files",
1797
+ "type": "array"
1798
+ }
1799
+ },
1800
+ "title": "GetChangedFilesResponse",
1801
+ "type": "object"
1802
+ };
1531
1803
  export const GetCommandSchemaInputSchema = z.object({ "commandPath": z.string().describe("The CLI command path to retrieve the schema for (e.g. 'gh audit-pr')") });
1532
1804
  export const GetCommandSchemaInputJsonSchema = {
1533
1805
  "properties": {
@@ -1543,6 +1815,38 @@ export const GetCommandSchemaInputJsonSchema = {
1543
1815
  "title": "GetCommandSchemaInput",
1544
1816
  "type": "object"
1545
1817
  };
1818
+ 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) });
1819
+ export const GetCommandSchemaResponseJsonSchema = {
1820
+ "properties": {
1821
+ "status": {
1822
+ "anyOf": [
1823
+ {
1824
+ "type": "string"
1825
+ },
1826
+ {
1827
+ "type": "null"
1828
+ }
1829
+ ],
1830
+ "default": null,
1831
+ "title": "Status"
1832
+ },
1833
+ "schema": {
1834
+ "anyOf": [
1835
+ {
1836
+ "additionalProperties": true,
1837
+ "type": "object"
1838
+ },
1839
+ {
1840
+ "type": "null"
1841
+ }
1842
+ ],
1843
+ "default": null,
1844
+ "title": "Schema"
1845
+ }
1846
+ },
1847
+ "title": "GetCommandSchemaResponse",
1848
+ "type": "object"
1849
+ };
1546
1850
  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") });
1547
1851
  export const GetMergeConflictFilesInputJsonSchema = {
1548
1852
  "properties": {
@@ -1627,6 +1931,20 @@ export const GetPackageScriptsInputJsonSchema = {
1627
1931
  "title": "GetPackageScriptsInput",
1628
1932
  "type": "object"
1629
1933
  };
1934
+ export const GetPackageScriptsResponseSchema = z.object({ "scripts": z.record(z.string(), z.string()).optional() });
1935
+ export const GetPackageScriptsResponseJsonSchema = {
1936
+ "properties": {
1937
+ "scripts": {
1938
+ "additionalProperties": {
1939
+ "type": "string"
1940
+ },
1941
+ "title": "Scripts",
1942
+ "type": "object"
1943
+ }
1944
+ },
1945
+ "title": "GetPackageScriptsResponse",
1946
+ "type": "object"
1947
+ };
1630
1948
  export const GetPrCommitsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the PR to list commits for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1631
1949
  export const GetPrCommitsInputJsonSchema = {
1632
1950
  "properties": {
@@ -1656,6 +1974,21 @@ export const GetPrCommitsInputJsonSchema = {
1656
1974
  "title": "GetPrCommitsInput",
1657
1975
  "type": "object"
1658
1976
  };
1977
+ export const GetPrCommitsResponseSchema = z.object({ "commits": z.array(z.record(z.string(), z.any())).optional() });
1978
+ export const GetPrCommitsResponseJsonSchema = {
1979
+ "properties": {
1980
+ "commits": {
1981
+ "items": {
1982
+ "additionalProperties": true,
1983
+ "type": "object"
1984
+ },
1985
+ "title": "Commits",
1986
+ "type": "array"
1987
+ }
1988
+ },
1989
+ "title": "GetPrCommitsResponse",
1990
+ "type": "object"
1991
+ };
1659
1992
  export const GetPrDiffInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to get the diff for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1660
1993
  export const GetPrDiffInputJsonSchema = {
1661
1994
  "properties": {
@@ -1714,6 +2047,21 @@ export const GetPrInputJsonSchema = {
1714
2047
  "title": "GetPrInput",
1715
2048
  "type": "object"
1716
2049
  };
2050
+ export const GetPrResponseSchema = z.object({ "pr": z.record(z.string(), z.any()) });
2051
+ export const GetPrResponseJsonSchema = {
2052
+ "properties": {
2053
+ "pr": {
2054
+ "additionalProperties": true,
2055
+ "title": "Pr",
2056
+ "type": "object"
2057
+ }
2058
+ },
2059
+ "required": [
2060
+ "pr"
2061
+ ],
2062
+ "title": "GetPrResponse",
2063
+ "type": "object"
2064
+ };
1717
2065
  export const GetPrReviewsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the PR to view reviews for."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1718
2066
  export const GetPrReviewsInputJsonSchema = {
1719
2067
  "properties": {
@@ -1743,6 +2091,33 @@ export const GetPrReviewsInputJsonSchema = {
1743
2091
  "title": "GetPrReviewsInput",
1744
2092
  "type": "object"
1745
2093
  };
2094
+ 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) });
2095
+ export const GetPrReviewsResponseJsonSchema = {
2096
+ "properties": {
2097
+ "reviews": {
2098
+ "items": {
2099
+ "additionalProperties": true,
2100
+ "type": "object"
2101
+ },
2102
+ "title": "Reviews",
2103
+ "type": "array"
2104
+ },
2105
+ "reviewCount": {
2106
+ "anyOf": [
2107
+ {
2108
+ "type": "integer"
2109
+ },
2110
+ {
2111
+ "type": "null"
2112
+ }
2113
+ ],
2114
+ "default": null,
2115
+ "title": "Reviewcount"
2116
+ }
2117
+ },
2118
+ "title": "GetPrReviewsResponse",
2119
+ "type": "object"
2120
+ };
1746
2121
  export const GetRouteMapInputSchema = z.object({ "includeStatic": z.union([z.boolean(), z.null()]).describe("Whether to include static assets in the route map.").default(null) });
1747
2122
  export const GetRouteMapInputJsonSchema = {
1748
2123
  "properties": {
@@ -1810,6 +2185,21 @@ export const GetWorkflowRunsInputJsonSchema = {
1810
2185
  "title": "GetWorkflowRunsInput",
1811
2186
  "type": "object"
1812
2187
  };
2188
+ export const GetWorkflowRunsResponseSchema = z.object({ "workflowRuns": z.array(z.record(z.string(), z.any())).optional() });
2189
+ export const GetWorkflowRunsResponseJsonSchema = {
2190
+ "properties": {
2191
+ "workflowRuns": {
2192
+ "items": {
2193
+ "additionalProperties": true,
2194
+ "type": "object"
2195
+ },
2196
+ "title": "Workflowruns",
2197
+ "type": "array"
2198
+ }
2199
+ },
2200
+ "title": "GetWorkflowRunsResponse",
2201
+ "type": "object"
2202
+ };
1813
2203
  export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
1814
2204
  export const HealthCheckInputJsonSchema = {
1815
2205
  "properties": {
@@ -1823,6 +2213,31 @@ export const HealthCheckInputJsonSchema = {
1823
2213
  "title": "HealthCheckInput",
1824
2214
  "type": "object"
1825
2215
  };
2216
+ export const HealthCheckResponseSchema = z.object({ "status": z.string().default("ok"), "config": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2217
+ export const HealthCheckResponseJsonSchema = {
2218
+ "properties": {
2219
+ "status": {
2220
+ "default": "ok",
2221
+ "title": "Status",
2222
+ "type": "string"
2223
+ },
2224
+ "config": {
2225
+ "anyOf": [
2226
+ {
2227
+ "additionalProperties": true,
2228
+ "type": "object"
2229
+ },
2230
+ {
2231
+ "type": "null"
2232
+ }
2233
+ ],
2234
+ "default": null,
2235
+ "title": "Config"
2236
+ }
2237
+ },
2238
+ "title": "HealthCheckResponse",
2239
+ "type": "object"
2240
+ };
1826
2241
  export const IssueCommentInputSchema = z.object({ "issueNumber": z.number().int().describe("The number of the issue to comment on."), "body": z.string().describe("The content of the comment."), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
1827
2242
  export const IssueCommentInputJsonSchema = {
1828
2243
  "properties": {
@@ -1858,6 +2273,28 @@ export const IssueCommentInputJsonSchema = {
1858
2273
  "title": "IssueCommentInput",
1859
2274
  "type": "object"
1860
2275
  };
2276
+ export const IssueCommentResponseSchema = z.object({ "status": z.string().default("success"), "comment": z.union([z.any(), z.null()]).default(null) });
2277
+ export const IssueCommentResponseJsonSchema = {
2278
+ "properties": {
2279
+ "status": {
2280
+ "default": "success",
2281
+ "title": "Status",
2282
+ "type": "string"
2283
+ },
2284
+ "comment": {
2285
+ "anyOf": [
2286
+ {},
2287
+ {
2288
+ "type": "null"
2289
+ }
2290
+ ],
2291
+ "default": null,
2292
+ "title": "Comment"
2293
+ }
2294
+ },
2295
+ "title": "IssueCommentResponse",
2296
+ "type": "object"
2297
+ };
1861
2298
  export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "htmlUrl": z.string(), "state": z.string() });
1862
2299
  export const IssueSummaryJsonSchema = {
1863
2300
  "properties": {
@@ -2111,6 +2548,74 @@ export const IssueViewInputJsonSchema = {
2111
2548
  "title": "IssueViewInput",
2112
2549
  "type": "object"
2113
2550
  };
2551
+ export const IssueViewResponseSchema = z.object({ "issue": z.union([z.record(z.string(), z.any()), z.null()]).default(null) });
2552
+ export const IssueViewResponseJsonSchema = {
2553
+ "properties": {
2554
+ "issue": {
2555
+ "anyOf": [
2556
+ {
2557
+ "additionalProperties": true,
2558
+ "type": "object"
2559
+ },
2560
+ {
2561
+ "type": "null"
2562
+ }
2563
+ ],
2564
+ "default": null,
2565
+ "title": "Issue"
2566
+ }
2567
+ },
2568
+ "title": "IssueViewResponse",
2569
+ "type": "object"
2570
+ };
2571
+ export const JulesGetMessagesResponseSchema = z.object({ "id": z.string(), "messages": z.array(z.record(z.string(), z.any())).optional() });
2572
+ export const JulesGetMessagesResponseJsonSchema = {
2573
+ "properties": {
2574
+ "id": {
2575
+ "title": "Id",
2576
+ "type": "string"
2577
+ },
2578
+ "messages": {
2579
+ "items": {
2580
+ "additionalProperties": true,
2581
+ "type": "object"
2582
+ },
2583
+ "title": "Messages",
2584
+ "type": "array"
2585
+ }
2586
+ },
2587
+ "required": [
2588
+ "id"
2589
+ ],
2590
+ "title": "JulesGetMessagesResponse",
2591
+ "type": "object"
2592
+ };
2593
+ export const JulesGetPrResponseSchema = z.object({ "id": z.string(), "pullRequestUrl": z.union([z.string(), z.null()]).default(null) });
2594
+ export const JulesGetPrResponseJsonSchema = {
2595
+ "properties": {
2596
+ "id": {
2597
+ "title": "Id",
2598
+ "type": "string"
2599
+ },
2600
+ "pullRequestUrl": {
2601
+ "anyOf": [
2602
+ {
2603
+ "type": "string"
2604
+ },
2605
+ {
2606
+ "type": "null"
2607
+ }
2608
+ ],
2609
+ "default": null,
2610
+ "title": "Pullrequesturl"
2611
+ }
2612
+ },
2613
+ "required": [
2614
+ "id"
2615
+ ],
2616
+ "title": "JulesGetPrResponse",
2617
+ "type": "object"
2618
+ };
2114
2619
  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) });
2115
2620
  export const JulesListSessionsInputJsonSchema = {
2116
2621
  "properties": {
@@ -2144,6 +2649,62 @@ export const JulesListSessionsInputJsonSchema = {
2144
2649
  "title": "JulesListSessionsInput",
2145
2650
  "type": "object"
2146
2651
  };
2652
+ export const JulesListSessionsResponseSchema = z.object({ "sessions": z.array(z.any()).optional() });
2653
+ export const JulesListSessionsResponseJsonSchema = {
2654
+ "$defs": {
2655
+ "JulesSessionResponse": {
2656
+ "properties": {
2657
+ "id": {
2658
+ "title": "Id",
2659
+ "type": "string"
2660
+ },
2661
+ "status": {
2662
+ "title": "Status",
2663
+ "type": "string"
2664
+ },
2665
+ "createdAt": {
2666
+ "anyOf": [
2667
+ {},
2668
+ {
2669
+ "type": "null"
2670
+ }
2671
+ ],
2672
+ "default": null,
2673
+ "title": "Createdat"
2674
+ },
2675
+ "pullRequestUrl": {
2676
+ "anyOf": [
2677
+ {
2678
+ "type": "string"
2679
+ },
2680
+ {
2681
+ "type": "null"
2682
+ }
2683
+ ],
2684
+ "default": null,
2685
+ "title": "Pullrequesturl"
2686
+ }
2687
+ },
2688
+ "required": [
2689
+ "id",
2690
+ "status"
2691
+ ],
2692
+ "title": "JulesSessionResponse",
2693
+ "type": "object"
2694
+ }
2695
+ },
2696
+ "properties": {
2697
+ "sessions": {
2698
+ "items": {
2699
+ "$ref": "#/$defs/JulesSessionResponse"
2700
+ },
2701
+ "title": "Sessions",
2702
+ "type": "array"
2703
+ }
2704
+ },
2705
+ "title": "JulesListSessionsResponse",
2706
+ "type": "object"
2707
+ };
2147
2708
  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.") });
2148
2709
  export const JulesSendMessageInputJsonSchema = {
2149
2710
  "properties": {
@@ -2176,6 +2737,40 @@ export const JulesSendMessageInputJsonSchema = {
2176
2737
  "title": "JulesSendMessageInput",
2177
2738
  "type": "object"
2178
2739
  };
2740
+ export const JulesSendMessageResponseSchema = z.object({ "id": z.union([z.string(), z.array(z.string())]), "status": z.string().default("success"), "message": z.string() });
2741
+ export const JulesSendMessageResponseJsonSchema = {
2742
+ "properties": {
2743
+ "id": {
2744
+ "anyOf": [
2745
+ {
2746
+ "type": "string"
2747
+ },
2748
+ {
2749
+ "items": {
2750
+ "type": "string"
2751
+ },
2752
+ "type": "array"
2753
+ }
2754
+ ],
2755
+ "title": "Id"
2756
+ },
2757
+ "status": {
2758
+ "default": "success",
2759
+ "title": "Status",
2760
+ "type": "string"
2761
+ },
2762
+ "message": {
2763
+ "title": "Message",
2764
+ "type": "string"
2765
+ }
2766
+ },
2767
+ "required": [
2768
+ "id",
2769
+ "message"
2770
+ ],
2771
+ "title": "JulesSendMessageResponse",
2772
+ "type": "object"
2773
+ };
2179
2774
  export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
2180
2775
  export const JulesSessionIdInputJsonSchema = {
2181
2776
  "properties": {
@@ -2191,6 +2786,165 @@ export const JulesSessionIdInputJsonSchema = {
2191
2786
  "title": "JulesSessionIdInput",
2192
2787
  "type": "object"
2193
2788
  };
2789
+ 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) });
2790
+ export const JulesSessionResponseJsonSchema = {
2791
+ "properties": {
2792
+ "id": {
2793
+ "title": "Id",
2794
+ "type": "string"
2795
+ },
2796
+ "status": {
2797
+ "title": "Status",
2798
+ "type": "string"
2799
+ },
2800
+ "createdAt": {
2801
+ "anyOf": [
2802
+ {},
2803
+ {
2804
+ "type": "null"
2805
+ }
2806
+ ],
2807
+ "default": null,
2808
+ "title": "Createdat"
2809
+ },
2810
+ "pullRequestUrl": {
2811
+ "anyOf": [
2812
+ {
2813
+ "type": "string"
2814
+ },
2815
+ {
2816
+ "type": "null"
2817
+ }
2818
+ ],
2819
+ "default": null,
2820
+ "title": "Pullrequesturl"
2821
+ }
2822
+ },
2823
+ "required": [
2824
+ "id",
2825
+ "status"
2826
+ ],
2827
+ "title": "JulesSessionResponse",
2828
+ "type": "object"
2829
+ };
2830
+ export const JulesTriggerFeedbackResponseSchema = z.object({ "status": z.union([z.string(), z.null()]).default(null), "message": z.union([z.string(), z.null()]).default(null) });
2831
+ export const JulesTriggerFeedbackResponseJsonSchema = {
2832
+ "properties": {
2833
+ "status": {
2834
+ "anyOf": [
2835
+ {
2836
+ "type": "string"
2837
+ },
2838
+ {
2839
+ "type": "null"
2840
+ }
2841
+ ],
2842
+ "default": null,
2843
+ "title": "Status"
2844
+ },
2845
+ "message": {
2846
+ "anyOf": [
2847
+ {
2848
+ "type": "string"
2849
+ },
2850
+ {
2851
+ "type": "null"
2852
+ }
2853
+ ],
2854
+ "default": null,
2855
+ "title": "Message"
2856
+ }
2857
+ },
2858
+ "title": "JulesTriggerFeedbackResponse",
2859
+ "type": "object"
2860
+ };
2861
+ 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) });
2862
+ export const MultiExecInputJsonSchema = {
2863
+ "properties": {
2864
+ "command": {
2865
+ "description": "Shell command to execute sequentially across repositories",
2866
+ "title": "Command",
2867
+ "type": "string"
2868
+ },
2869
+ "repos": {
2870
+ "anyOf": [
2871
+ {
2872
+ "items": {
2873
+ "type": "string"
2874
+ },
2875
+ "type": "array"
2876
+ },
2877
+ {
2878
+ "type": "null"
2879
+ }
2880
+ ],
2881
+ "default": null,
2882
+ "description": "Optional list of repository names to target",
2883
+ "title": "Repos"
2884
+ },
2885
+ "continueOnError": {
2886
+ "anyOf": [
2887
+ {
2888
+ "type": "boolean"
2889
+ },
2890
+ {
2891
+ "type": "null"
2892
+ }
2893
+ ],
2894
+ "default": true,
2895
+ "description": "Whether to continue execution if a repo command fails",
2896
+ "title": "Continueonerror"
2897
+ }
2898
+ },
2899
+ "required": [
2900
+ "command"
2901
+ ],
2902
+ "title": "MultiExecInput",
2903
+ "type": "object"
2904
+ };
2905
+ 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) });
2906
+ export const MultiExecResponseJsonSchema = {
2907
+ "properties": {
2908
+ "status": {
2909
+ "default": "success",
2910
+ "description": "Execution status",
2911
+ "title": "Status",
2912
+ "type": "string"
2913
+ },
2914
+ "total": {
2915
+ "anyOf": [
2916
+ {
2917
+ "type": "integer"
2918
+ },
2919
+ {
2920
+ "type": "null"
2921
+ }
2922
+ ],
2923
+ "default": null,
2924
+ "description": "Total repositories executed against",
2925
+ "title": "Total"
2926
+ },
2927
+ "results": {
2928
+ "anyOf": [
2929
+ {
2930
+ "items": {
2931
+ "additionalProperties": true,
2932
+ "type": "object"
2933
+ },
2934
+ "type": "array"
2935
+ },
2936
+ {
2937
+ "type": "null"
2938
+ }
2939
+ ],
2940
+ "default": null,
2941
+ "description": "Execution results per repository",
2942
+ "title": "Results"
2943
+ }
2944
+ },
2945
+ "title": "MultiExecResponse",
2946
+ "type": "object"
2947
+ };
2194
2948
  export const OpenReplacementPrInputSchema = z.object({ "originalPrNumber": z.number().int().describe("The number of the pull request being replaced."), "repairBranch": z.string().describe("The branch containing the fixes."), "baseBranch": z.string().describe("The branch to merge the fixes into."), "title": z.string().describe("The title of the new PR."), "body": z.string().describe("The body/description of the new PR."), "draft": z.boolean().describe("Whether to create the PR as a draft (default: true).").default(true), "worktreePath": z.union([z.string(), z.null()]).describe("Optional path to the worktree where the PR is created from.").default(null), "pushMode": z.boolean().describe("Safety gate: Must be true to push the branch and open the PR.") });
2195
2949
  export const OpenReplacementPrInputJsonSchema = {
2196
2950
  "properties": {
@@ -2255,6 +3009,25 @@ export const OpenReplacementPrInputJsonSchema = {
2255
3009
  "title": "OpenReplacementPrInput",
2256
3010
  "type": "object"
2257
3011
  };
3012
+ export const OpenReplacementPrResponseSchema = z.object({ "success": z.boolean().default(true), "url": z.string() });
3013
+ export const OpenReplacementPrResponseJsonSchema = {
3014
+ "properties": {
3015
+ "success": {
3016
+ "default": true,
3017
+ "title": "Success",
3018
+ "type": "boolean"
3019
+ },
3020
+ "url": {
3021
+ "title": "Url",
3022
+ "type": "string"
3023
+ }
3024
+ },
3025
+ "required": [
3026
+ "url"
3027
+ ],
3028
+ "title": "OpenReplacementPrResponse",
3029
+ "type": "object"
3030
+ };
2258
3031
  export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "createdAt": z.string() });
2259
3032
  export const PRCommentJsonSchema = {
2260
3033
  "properties": {
@@ -2403,12 +3176,130 @@ export const PrDiffResponseJsonSchema = {
2403
3176
  "title": "PrDiffResponse",
2404
3177
  "type": "object"
2405
3178
  };
2406
- export const ReadAgentContextInputSchema = z.object({});
3179
+ export const ReadAgentContextInputSchema = z.object({ "path": z.union([z.string(), z.null()]).describe("Local filesystem path to target repository root").default(null), "repoPath": z.union([z.string(), z.null()]).describe("Alias for path (filesystem path to target workspace repository root).").default(null), "repo": z.union([z.string(), z.null()]).describe("Target GitHub repository string (e.g. org/repo).").default(null), "repos": z.union([z.array(z.string()), z.null()]).describe("List of repository names to fetch context for").default(null), "all": z.union([z.boolean(), z.null()]).describe("Whether to fetch context across all discovered ecosystem repositories").default(null) });
2407
3180
  export const ReadAgentContextInputJsonSchema = {
2408
- "properties": {},
3181
+ "properties": {
3182
+ "path": {
3183
+ "anyOf": [
3184
+ {
3185
+ "type": "string"
3186
+ },
3187
+ {
3188
+ "type": "null"
3189
+ }
3190
+ ],
3191
+ "default": null,
3192
+ "description": "Local filesystem path to target repository root",
3193
+ "title": "Path"
3194
+ },
3195
+ "repoPath": {
3196
+ "anyOf": [
3197
+ {
3198
+ "type": "string"
3199
+ },
3200
+ {
3201
+ "type": "null"
3202
+ }
3203
+ ],
3204
+ "default": null,
3205
+ "description": "Alias for path (filesystem path to target workspace repository root).",
3206
+ "title": "Repopath"
3207
+ },
3208
+ "repo": {
3209
+ "anyOf": [
3210
+ {
3211
+ "type": "string"
3212
+ },
3213
+ {
3214
+ "type": "null"
3215
+ }
3216
+ ],
3217
+ "default": null,
3218
+ "description": "Target GitHub repository string (e.g. org/repo).",
3219
+ "title": "Repo"
3220
+ },
3221
+ "repos": {
3222
+ "anyOf": [
3223
+ {
3224
+ "items": {
3225
+ "type": "string"
3226
+ },
3227
+ "type": "array"
3228
+ },
3229
+ {
3230
+ "type": "null"
3231
+ }
3232
+ ],
3233
+ "default": null,
3234
+ "description": "List of repository names to fetch context for",
3235
+ "title": "Repos"
3236
+ },
3237
+ "all": {
3238
+ "anyOf": [
3239
+ {
3240
+ "type": "boolean"
3241
+ },
3242
+ {
3243
+ "type": "null"
3244
+ }
3245
+ ],
3246
+ "default": null,
3247
+ "description": "Whether to fetch context across all discovered ecosystem repositories",
3248
+ "title": "All"
3249
+ }
3250
+ },
2409
3251
  "title": "ReadAgentContextInput",
2410
3252
  "type": "object"
2411
3253
  };
3254
+ 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) });
3255
+ export const ReadAgentContextResponseJsonSchema = {
3256
+ "properties": {
3257
+ "status": {
3258
+ "default": "success",
3259
+ "title": "Status",
3260
+ "type": "string"
3261
+ },
3262
+ "packageName": {
3263
+ "anyOf": [
3264
+ {
3265
+ "type": "string"
3266
+ },
3267
+ {
3268
+ "type": "null"
3269
+ }
3270
+ ],
3271
+ "default": null,
3272
+ "title": "Packagename"
3273
+ },
3274
+ "gitCommit": {
3275
+ "anyOf": [
3276
+ {
3277
+ "type": "string"
3278
+ },
3279
+ {
3280
+ "type": "null"
3281
+ }
3282
+ ],
3283
+ "default": null,
3284
+ "title": "Gitcommit"
3285
+ },
3286
+ "config": {
3287
+ "anyOf": [
3288
+ {
3289
+ "additionalProperties": true,
3290
+ "type": "object"
3291
+ },
3292
+ {
3293
+ "type": "null"
3294
+ }
3295
+ ],
3296
+ "default": null,
3297
+ "title": "Config"
3298
+ }
3299
+ },
3300
+ "title": "ReadAgentContextResponse",
3301
+ "type": "object"
3302
+ };
2412
3303
  export const ReadCiLogsInputSchema = z.object({ "prNumber": z.number().int().describe("The number of the pull request to read logs for."), "all": z.boolean().describe("Include logs for successful runs (default: false).").default(false), "repo": z.union([z.string().regex(new RegExp("^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$")), z.null()]).describe("The target repository override (e.g. org/repo).").default(null) });
2413
3304
  export const ReadCiLogsInputJsonSchema = {
2414
3305
  "properties": {
@@ -2444,6 +3335,55 @@ export const ReadCiLogsInputJsonSchema = {
2444
3335
  "title": "ReadCiLogsInput",
2445
3336
  "type": "object"
2446
3337
  };
3338
+ 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) });
3339
+ export const ReadCiLogsResponseJsonSchema = {
3340
+ "properties": {
3341
+ "checks": {
3342
+ "anyOf": [
3343
+ {
3344
+ "items": {
3345
+ "additionalProperties": true,
3346
+ "type": "object"
3347
+ },
3348
+ "type": "array"
3349
+ },
3350
+ {
3351
+ "type": "null"
3352
+ }
3353
+ ],
3354
+ "default": null,
3355
+ "title": "Checks"
3356
+ },
3357
+ "failedChecks": {
3358
+ "anyOf": [
3359
+ {
3360
+ "items": {
3361
+ "additionalProperties": true,
3362
+ "type": "object"
3363
+ },
3364
+ "type": "array"
3365
+ },
3366
+ {
3367
+ "type": "null"
3368
+ }
3369
+ ],
3370
+ "default": null,
3371
+ "title": "Failedchecks"
3372
+ },
3373
+ "logs": {
3374
+ "anyOf": [
3375
+ {},
3376
+ {
3377
+ "type": "null"
3378
+ }
3379
+ ],
3380
+ "default": null,
3381
+ "title": "Logs"
3382
+ }
3383
+ },
3384
+ "title": "ReadCiLogsResponse",
3385
+ "type": "object"
3386
+ };
2447
3387
  export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
2448
3388
  export const ReadPRCommentsInputJsonSchema = {
2449
3389
  "properties": {
@@ -2649,6 +3589,23 @@ export const RepoLogsInputJsonSchema = {
2649
3589
  "title": "RepoLogsInput",
2650
3590
  "type": "object"
2651
3591
  };
3592
+ export const RepoLogsResponseSchema = z.object({ "logs": z.union([z.any(), z.null()]).default(null) });
3593
+ export const RepoLogsResponseJsonSchema = {
3594
+ "properties": {
3595
+ "logs": {
3596
+ "anyOf": [
3597
+ {},
3598
+ {
3599
+ "type": "null"
3600
+ }
3601
+ ],
3602
+ "default": null,
3603
+ "title": "Logs"
3604
+ }
3605
+ },
3606
+ "title": "RepoLogsResponse",
3607
+ "type": "object"
3608
+ };
2652
3609
  export const ReviewCommentSchema = z.object({ "user": z.string(), "path": z.string(), "line": z.union([z.number().int(), z.null()]).default(null), "body": z.string(), "createdAt": z.string() });
2653
3610
  export const ReviewCommentJsonSchema = {
2654
3611
  "properties": {