@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
@@ -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
  }
@@ -1716,6 +2056,24 @@ export const GetPackageScriptsInputJsonSchema = {
1716
2056
  "type": "object"
1717
2057
  } as const;
1718
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
+
1719
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) });
1720
2078
 
1721
2079
  export type GetPrCommitsInput = z.infer<typeof GetPrCommitsInputSchema>;
@@ -1749,6 +2107,25 @@ export const GetPrCommitsInputJsonSchema = {
1749
2107
  "type": "object"
1750
2108
  } as const;
1751
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
+
1752
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) });
1753
2130
 
1754
2131
  export type GetPrDiffInput = z.infer<typeof GetPrDiffInputSchema>;
@@ -1815,6 +2192,25 @@ export const GetPrInputJsonSchema = {
1815
2192
  "type": "object"
1816
2193
  } as const;
1817
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
+
1818
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) });
1819
2215
 
1820
2216
  export type GetPrReviewsInput = z.infer<typeof GetPrReviewsInputSchema>;
@@ -1848,6 +2244,37 @@ export const GetPrReviewsInputJsonSchema = {
1848
2244
  "type": "object"
1849
2245
  } as const;
1850
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
+
1851
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) });
1852
2279
 
1853
2280
  export type GetRouteMapInput = z.infer<typeof GetRouteMapInputSchema>;
@@ -1923,6 +2350,25 @@ export const GetWorkflowRunsInputJsonSchema = {
1923
2350
  "type": "object"
1924
2351
  } as const;
1925
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
+
1926
2372
  export const HealthCheckInputSchema = z.object({ "checkDeep": z.boolean().describe("Whether to perform a deep health check including external dependencies.").default(false) });
1927
2373
 
1928
2374
  export type HealthCheckInput = z.infer<typeof HealthCheckInputSchema>;
@@ -1940,6 +2386,35 @@ export const HealthCheckInputJsonSchema = {
1940
2386
  "type": "object"
1941
2387
  } as const;
1942
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
+
1943
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) });
1944
2419
 
1945
2420
  export type IssueCommentInput = z.infer<typeof IssueCommentInputSchema>;
@@ -1979,6 +2454,32 @@ export const IssueCommentInputJsonSchema = {
1979
2454
  "type": "object"
1980
2455
  } as const;
1981
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
+
1982
2483
  export const IssueSummarySchema = z.object({ "number": z.number().int(), "title": z.string(), "htmlUrl": z.string(), "state": z.string() });
1983
2484
 
1984
2485
  export type IssueSummary = z.infer<typeof IssueSummarySchema>;
@@ -2248,6 +2749,86 @@ export const IssueViewInputJsonSchema = {
2248
2749
  "type": "object"
2249
2750
  } as const;
2250
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
+
2251
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) });
2252
2833
 
2253
2834
  export type JulesListSessionsInput = z.infer<typeof JulesListSessionsInputSchema>;
@@ -2285,6 +2866,66 @@ export const JulesListSessionsInputJsonSchema = {
2285
2866
  "type": "object"
2286
2867
  } as const;
2287
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
+
2288
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.") });
2289
2930
 
2290
2931
  export type JulesSendMessageInput = z.infer<typeof JulesSendMessageInputSchema>;
@@ -2321,11 +2962,49 @@ export const JulesSendMessageInputJsonSchema = {
2321
2962
  "type": "object"
2322
2963
  } as const;
2323
2964
 
2324
- export const JulesSessionIdInputSchema = z.object({ "sessionId": z.string().describe("The unique ID of the Jules session.") });
2965
+ export const JulesSendMessageResponseSchema = z.object({ "id": z.union([z.string(), z.array(z.string())]), "status": z.string().default("success"), "message": z.string() });
2325
2966
 
2326
- export type JulesSessionIdInput = z.infer<typeof JulesSessionIdInputSchema>;
2967
+ export type JulesSendMessageResponse = z.infer<typeof JulesSendMessageResponseSchema>;
2327
2968
 
2328
- export const JulesSessionIdInputJsonSchema = {
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 = {
2329
3008
  "properties": {
2330
3009
  "sessionId": {
2331
3010
  "description": "The unique ID of the Jules session.",
@@ -2340,6 +3019,181 @@ export const JulesSessionIdInputJsonSchema = {
2340
3019
  "type": "object"
2341
3020
  } as const;
2342
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": [
3115
+ {
3116
+ "items": {
3117
+ "type": "string"
3118
+ },
3119
+ "type": "array"
3120
+ },
3121
+ {
3122
+ "type": "null"
3123
+ }
3124
+ ],
3125
+ "default": null,
3126
+ "description": "Optional list of repository names to target",
3127
+ "title": "Repos"
3128
+ },
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"
3141
+ }
3142
+ },
3143
+ "required": [
3144
+ "command"
3145
+ ],
3146
+ "title": "MultiExecInput",
3147
+ "type": "object"
3148
+ } as const;
3149
+
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) });
3151
+
3152
+ export type MultiExecResponse = z.infer<typeof MultiExecResponseSchema>;
3153
+
3154
+ export const MultiExecResponseJsonSchema = {
3155
+ "properties": {
3156
+ "status": {
3157
+ "default": "success",
3158
+ "description": "Execution status",
3159
+ "title": "Status",
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"
3191
+ }
3192
+ },
3193
+ "title": "MultiExecResponse",
3194
+ "type": "object"
3195
+ } as const;
3196
+
2343
3197
  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.") });
2344
3198
 
2345
3199
  export type OpenReplacementPrInput = z.infer<typeof OpenReplacementPrInputSchema>;
@@ -2408,6 +3262,29 @@ export const OpenReplacementPrInputJsonSchema = {
2408
3262
  "type": "object"
2409
3263
  } as const;
2410
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
+
2411
3288
  export const PRCommentSchema = z.object({ "user": z.string(), "body": z.string(), "createdAt": z.string() });
2412
3289
 
2413
3290
  export type PRComment = z.infer<typeof PRCommentSchema>;
@@ -2568,16 +3445,138 @@ export const PrDiffResponseJsonSchema = {
2568
3445
  "type": "object"
2569
3446
  } as const;
2570
3447
 
2571
- 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) });
2572
3449
 
2573
3450
  export type ReadAgentContextInput = z.infer<typeof ReadAgentContextInputSchema>;
2574
3451
 
2575
3452
  export const ReadAgentContextInputJsonSchema = {
2576
- "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
+ },
2577
3523
  "title": "ReadAgentContextInput",
2578
3524
  "type": "object"
2579
3525
  } as const;
2580
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
+
2581
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) });
2582
3581
 
2583
3582
  export type ReadCiLogsInput = z.infer<typeof ReadCiLogsInputSchema>;
@@ -2617,6 +3616,59 @@ export const ReadCiLogsInputJsonSchema = {
2617
3616
  "type": "object"
2618
3617
  } as const;
2619
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
+
2620
3672
  export const ReadPRCommentsInputSchema = z.object({ "prNumber": z.number().int().gt(0).describe("The PR number to fetch comments for.") });
2621
3673
 
2622
3674
  export type ReadPRCommentsInput = z.infer<typeof ReadPRCommentsInputSchema>;
@@ -2834,6 +3886,27 @@ export const RepoLogsInputJsonSchema = {
2834
3886
  "type": "object"
2835
3887
  } as const;
2836
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
+
2837
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() });
2838
3911
 
2839
3912
  export type ReviewComment = z.infer<typeof ReviewCommentSchema>;