@meetkai/mka1 0.54.2 → 0.54.3

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 (164) hide show
  1. package/README.md +281 -275
  2. package/bin/mcp-server.js +510 -61
  3. package/bin/mcp-server.js.map +18 -8
  4. package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +18 -0
  5. package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +140 -0
  7. package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  8. package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +18 -0
  9. package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +138 -0
  11. package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  16. package/dist/commonjs/mcp-server/server.js +5 -1
  17. package/dist/commonjs/mcp-server/server.js.map +1 -1
  18. package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +8 -0
  19. package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  20. package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +63 -0
  21. package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  22. package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +8 -0
  23. package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  24. package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +63 -0
  25. package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  26. package/dist/commonjs/models/components/githubpullrequestrequest.d.ts +34 -0
  27. package/dist/commonjs/models/components/githubpullrequestrequest.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/githubpullrequestrequest.js +66 -0
  29. package/dist/commonjs/models/components/githubpullrequestrequest.js.map +1 -0
  30. package/dist/commonjs/models/components/githubpullrequestresult.d.ts +37 -0
  31. package/dist/commonjs/models/components/githubpullrequestresult.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/githubpullrequestresult.js +93 -0
  33. package/dist/commonjs/models/components/githubpullrequestresult.js.map +1 -0
  34. package/dist/commonjs/models/components/githubpushrequest.d.ts +35 -0
  35. package/dist/commonjs/models/components/githubpushrequest.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/githubpushrequest.js +75 -0
  37. package/dist/commonjs/models/components/githubpushrequest.js.map +1 -0
  38. package/dist/commonjs/models/components/githubpushresult.d.ts +31 -0
  39. package/dist/commonjs/models/components/githubpushresult.d.ts.map +1 -0
  40. package/dist/commonjs/models/components/githubpushresult.js +89 -0
  41. package/dist/commonjs/models/components/githubpushresult.js.map +1 -0
  42. package/dist/commonjs/models/components/index.d.ts +4 -0
  43. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/index.js +4 -0
  45. package/dist/commonjs/models/components/index.js.map +1 -1
  46. package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts +25 -0
  47. package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts.map +1 -0
  48. package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js +78 -0
  49. package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js.map +1 -0
  50. package/dist/commonjs/models/operations/index.d.ts +2 -0
  51. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/index.js +2 -0
  53. package/dist/commonjs/models/operations/index.js.map +1 -1
  54. package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts +25 -0
  55. package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts.map +1 -0
  56. package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js +77 -0
  57. package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js.map +1 -0
  58. package/dist/commonjs/react-query/index.d.ts +2 -0
  59. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  60. package/dist/commonjs/react-query/index.js +2 -0
  61. package/dist/commonjs/react-query/index.js.map +1 -1
  62. package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +27 -0
  63. package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  64. package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +48 -0
  65. package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  66. package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +27 -0
  67. package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  68. package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +48 -0
  69. package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  70. package/dist/commonjs/sdk/schema3other.d.ts +8 -0
  71. package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
  72. package/dist/commonjs/sdk/schema3other.js +14 -0
  73. package/dist/commonjs/sdk/schema3other.js.map +1 -1
  74. package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +18 -0
  75. package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  76. package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +104 -0
  77. package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  78. package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +18 -0
  79. package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  80. package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +102 -0
  81. package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  82. package/dist/esm/lib/config.d.ts +2 -2
  83. package/dist/esm/lib/config.js +2 -2
  84. package/dist/esm/mcp-server/mcp-server.js +1 -1
  85. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  86. package/dist/esm/mcp-server/server.js +5 -1
  87. package/dist/esm/mcp-server/server.js.map +1 -1
  88. package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +8 -0
  89. package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  90. package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +27 -0
  91. package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  92. package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +8 -0
  93. package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  94. package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +27 -0
  95. package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  96. package/dist/esm/models/components/githubpullrequestrequest.d.ts +34 -0
  97. package/dist/esm/models/components/githubpullrequestrequest.d.ts.map +1 -0
  98. package/dist/esm/models/components/githubpullrequestrequest.js +28 -0
  99. package/dist/esm/models/components/githubpullrequestrequest.js.map +1 -0
  100. package/dist/esm/models/components/githubpullrequestresult.d.ts +37 -0
  101. package/dist/esm/models/components/githubpullrequestresult.d.ts.map +1 -0
  102. package/dist/esm/models/components/githubpullrequestresult.js +55 -0
  103. package/dist/esm/models/components/githubpullrequestresult.js.map +1 -0
  104. package/dist/esm/models/components/githubpushrequest.d.ts +35 -0
  105. package/dist/esm/models/components/githubpushrequest.d.ts.map +1 -0
  106. package/dist/esm/models/components/githubpushrequest.js +37 -0
  107. package/dist/esm/models/components/githubpushrequest.js.map +1 -0
  108. package/dist/esm/models/components/githubpushresult.d.ts +31 -0
  109. package/dist/esm/models/components/githubpushresult.d.ts.map +1 -0
  110. package/dist/esm/models/components/githubpushresult.js +51 -0
  111. package/dist/esm/models/components/githubpushresult.js.map +1 -0
  112. package/dist/esm/models/components/index.d.ts +4 -0
  113. package/dist/esm/models/components/index.d.ts.map +1 -1
  114. package/dist/esm/models/components/index.js +4 -0
  115. package/dist/esm/models/components/index.js.map +1 -1
  116. package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts +25 -0
  117. package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts.map +1 -0
  118. package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js +40 -0
  119. package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js.map +1 -0
  120. package/dist/esm/models/operations/index.d.ts +2 -0
  121. package/dist/esm/models/operations/index.d.ts.map +1 -1
  122. package/dist/esm/models/operations/index.js +2 -0
  123. package/dist/esm/models/operations/index.js.map +1 -1
  124. package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts +25 -0
  125. package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts.map +1 -0
  126. package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js +39 -0
  127. package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js.map +1 -0
  128. package/dist/esm/react-query/index.d.ts +2 -0
  129. package/dist/esm/react-query/index.d.ts.map +1 -1
  130. package/dist/esm/react-query/index.js +2 -0
  131. package/dist/esm/react-query/index.js.map +1 -1
  132. package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +27 -0
  133. package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
  134. package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +43 -0
  135. package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
  136. package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +27 -0
  137. package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
  138. package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +43 -0
  139. package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
  140. package/dist/esm/sdk/schema3other.d.ts +8 -0
  141. package/dist/esm/sdk/schema3other.d.ts.map +1 -1
  142. package/dist/esm/sdk/schema3other.js +14 -0
  143. package/dist/esm/sdk/schema3other.js.map +1 -1
  144. package/jsr.json +1 -1
  145. package/package.json +1 -1
  146. package/src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +202 -0
  147. package/src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +197 -0
  148. package/src/lib/config.ts +2 -2
  149. package/src/mcp-server/mcp-server.ts +1 -1
  150. package/src/mcp-server/server.ts +9 -1
  151. package/src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +40 -0
  152. package/src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +40 -0
  153. package/src/models/components/githubpullrequestrequest.ts +76 -0
  154. package/src/models/components/githubpullrequestresult.ts +106 -0
  155. package/src/models/components/githubpushrequest.ts +86 -0
  156. package/src/models/components/githubpushresult.ts +96 -0
  157. package/src/models/components/index.ts +4 -0
  158. package/src/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.ts +90 -0
  159. package/src/models/operations/index.ts +2 -0
  160. package/src/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.ts +86 -0
  161. package/src/react-query/index.ts +2 -0
  162. package/src/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +129 -0
  163. package/src/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +128 -0
  164. package/src/sdk/schema3other.ts +35 -0
package/bin/mcp-server.js CHANGED
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
52876
52876
  SDK_METADATA = {
52877
52877
  language: "typescript",
52878
52878
  openapiDocVersion: "1.1.0",
52879
- sdkVersion: "0.54.2",
52879
+ sdkVersion: "0.54.3",
52880
52880
  genVersion: "2.932.9",
52881
- userAgent: "speakeasy-sdk/typescript 0.54.2 2.932.9 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.54.3 2.932.9 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -67323,6 +67323,145 @@ var init_getpromptresponse = __esm(() => {
67323
67323
  });
67324
67324
  });
67325
67325
 
67326
+ // src/models/components/githubpullrequestrequest.ts
67327
+ var GitHubPullRequestRequest$inboundSchema, GitHubPullRequestRequest$outboundSchema;
67328
+ var init_githubpullrequestrequest = __esm(() => {
67329
+ init_esm();
67330
+ GitHubPullRequestRequest$inboundSchema = objectType({
67331
+ branch: stringType(),
67332
+ title: stringType(),
67333
+ body: stringType().default(""),
67334
+ base: nullableType(stringType()).optional(),
67335
+ draft: booleanType().default(false)
67336
+ });
67337
+ GitHubPullRequestRequest$outboundSchema = objectType({
67338
+ branch: stringType(),
67339
+ title: stringType(),
67340
+ body: stringType().default(""),
67341
+ base: nullableType(stringType()).optional(),
67342
+ draft: booleanType().default(false)
67343
+ });
67344
+ });
67345
+
67346
+ // src/models/components/githubpullrequestresult.ts
67347
+ var GitHubPullRequestResult$inboundSchema, GitHubPullRequestResult$outboundSchema;
67348
+ var init_githubpullrequestresult = __esm(() => {
67349
+ init_esm();
67350
+ init_primitives();
67351
+ GitHubPullRequestResult$inboundSchema = objectType({
67352
+ session_id: stringType(),
67353
+ repository_id: numberType().int(),
67354
+ owner: stringType(),
67355
+ repository: stringType(),
67356
+ number: numberType().int(),
67357
+ url: stringType(),
67358
+ state: stringType(),
67359
+ draft: booleanType(),
67360
+ head_branch: stringType(),
67361
+ base_branch: nullableType(stringType()),
67362
+ created: booleanType()
67363
+ }).transform((v2) => {
67364
+ return remap(v2, {
67365
+ session_id: "sessionId",
67366
+ repository_id: "repositoryId",
67367
+ head_branch: "headBranch",
67368
+ base_branch: "baseBranch"
67369
+ });
67370
+ });
67371
+ GitHubPullRequestResult$outboundSchema = objectType({
67372
+ sessionId: stringType(),
67373
+ repositoryId: numberType().int(),
67374
+ owner: stringType(),
67375
+ repository: stringType(),
67376
+ number: numberType().int(),
67377
+ url: stringType(),
67378
+ state: stringType(),
67379
+ draft: booleanType(),
67380
+ headBranch: stringType(),
67381
+ baseBranch: nullableType(stringType()),
67382
+ created: booleanType()
67383
+ }).transform((v2) => {
67384
+ return remap(v2, {
67385
+ sessionId: "session_id",
67386
+ repositoryId: "repository_id",
67387
+ headBranch: "head_branch",
67388
+ baseBranch: "base_branch"
67389
+ });
67390
+ });
67391
+ });
67392
+
67393
+ // src/models/components/githubpushrequest.ts
67394
+ var GitHubPushRequest$inboundSchema, GitHubPushRequest$outboundSchema;
67395
+ var init_githubpushrequest = __esm(() => {
67396
+ init_esm();
67397
+ init_primitives();
67398
+ GitHubPushRequest$inboundSchema = objectType({
67399
+ assignment_generation: numberType().int(),
67400
+ branch: stringType(),
67401
+ checkout_path: stringType().default(""),
67402
+ force: booleanType().default(false)
67403
+ }).transform((v2) => {
67404
+ return remap(v2, {
67405
+ assignment_generation: "assignmentGeneration",
67406
+ checkout_path: "checkoutPath"
67407
+ });
67408
+ });
67409
+ GitHubPushRequest$outboundSchema = objectType({
67410
+ assignmentGeneration: numberType().int(),
67411
+ branch: stringType(),
67412
+ checkoutPath: stringType().default(""),
67413
+ force: booleanType().default(false)
67414
+ }).transform((v2) => {
67415
+ return remap(v2, {
67416
+ assignmentGeneration: "assignment_generation",
67417
+ checkoutPath: "checkout_path"
67418
+ });
67419
+ });
67420
+ });
67421
+
67422
+ // src/models/components/githubpushresult.ts
67423
+ var GitHubPushResult$inboundSchema, GitHubPushResult$outboundSchema;
67424
+ var init_githubpushresult = __esm(() => {
67425
+ init_esm();
67426
+ init_primitives();
67427
+ GitHubPushResult$inboundSchema = objectType({
67428
+ session_id: stringType(),
67429
+ assignment_generation: numberType().int(),
67430
+ repository_id: numberType().int(),
67431
+ owner: stringType(),
67432
+ repository: stringType(),
67433
+ branch: stringType(),
67434
+ remote_head_sha: stringType(),
67435
+ no_changes: booleanType()
67436
+ }).transform((v2) => {
67437
+ return remap(v2, {
67438
+ session_id: "sessionId",
67439
+ assignment_generation: "assignmentGeneration",
67440
+ repository_id: "repositoryId",
67441
+ remote_head_sha: "remoteHeadSha",
67442
+ no_changes: "noChanges"
67443
+ });
67444
+ });
67445
+ GitHubPushResult$outboundSchema = objectType({
67446
+ sessionId: stringType(),
67447
+ assignmentGeneration: numberType().int(),
67448
+ repositoryId: numberType().int(),
67449
+ owner: stringType(),
67450
+ repository: stringType(),
67451
+ branch: stringType(),
67452
+ remoteHeadSha: stringType(),
67453
+ noChanges: booleanType()
67454
+ }).transform((v2) => {
67455
+ return remap(v2, {
67456
+ sessionId: "session_id",
67457
+ assignmentGeneration: "assignment_generation",
67458
+ repositoryId: "repository_id",
67459
+ remoteHeadSha: "remote_head_sha",
67460
+ noChanges: "no_changes"
67461
+ });
67462
+ });
67463
+ });
67464
+
67326
67465
  // src/models/components/githubreadclonerequest.ts
67327
67466
  var GitHubReadCloneRequest$inboundSchema, GitHubReadCloneRequest$outboundSchema;
67328
67467
  var init_githubreadclonerequest = __esm(() => {
@@ -77949,6 +78088,10 @@ var init_components = __esm(() => {
77949
78088
  init_getfeedbackresponse();
77950
78089
  init_getguardrailsresponse();
77951
78090
  init_getpromptresponse();
78091
+ init_githubpullrequestrequest();
78092
+ init_githubpullrequestresult();
78093
+ init_githubpushrequest();
78094
+ init_githubpushresult();
77952
78095
  init_githubreadclonerequest();
77953
78096
  init_githubreadcloneresult();
77954
78097
  init_grammarformat();
@@ -88035,6 +88178,36 @@ var init_creatememorystore = __esm(() => {
88035
88178
  });
88036
88179
  });
88037
88180
 
88181
+ // src/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.ts
88182
+ var CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema, CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema;
88183
+ var init_createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost = __esm(() => {
88184
+ init_esm();
88185
+ init_primitives();
88186
+ init_components();
88187
+ CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema = objectType({
88188
+ session_id: stringType(),
88189
+ "X-On-Behalf-Of": stringType().optional(),
88190
+ GitHubPullRequestRequest: GitHubPullRequestRequest$inboundSchema
88191
+ }).transform((v2) => {
88192
+ return remap(v2, {
88193
+ session_id: "sessionId",
88194
+ "X-On-Behalf-Of": "xOnBehalfOf",
88195
+ GitHubPullRequestRequest: "gitHubPullRequestRequest"
88196
+ });
88197
+ });
88198
+ CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema = objectType({
88199
+ sessionId: stringType(),
88200
+ xOnBehalfOf: stringType().optional(),
88201
+ gitHubPullRequestRequest: GitHubPullRequestRequest$outboundSchema
88202
+ }).transform((v2) => {
88203
+ return remap(v2, {
88204
+ sessionId: "session_id",
88205
+ xOnBehalfOf: "X-On-Behalf-Of",
88206
+ gitHubPullRequestRequest: "GitHubPullRequestRequest"
88207
+ });
88208
+ });
88209
+ });
88210
+
88038
88211
  // src/models/operations/createprompt.ts
88039
88212
  var CreatePromptRequest$inboundSchema2, CreatePromptRequest$outboundSchema2;
88040
88213
  var init_createprompt = __esm(() => {
@@ -99568,6 +99741,36 @@ var init_proxybrowserportrequest = __esm(() => {
99568
99741
  });
99569
99742
  });
99570
99743
 
99744
+ // src/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.ts
99745
+ var PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema, PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema;
99746
+ var init_pushapiv1sandboxsessionssessionidgithubpushpost = __esm(() => {
99747
+ init_esm();
99748
+ init_primitives();
99749
+ init_components();
99750
+ PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema = objectType({
99751
+ session_id: stringType(),
99752
+ "X-On-Behalf-Of": stringType().optional(),
99753
+ GitHubPushRequest: GitHubPushRequest$inboundSchema
99754
+ }).transform((v2) => {
99755
+ return remap(v2, {
99756
+ session_id: "sessionId",
99757
+ "X-On-Behalf-Of": "xOnBehalfOf",
99758
+ GitHubPushRequest: "gitHubPushRequest"
99759
+ });
99760
+ });
99761
+ PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema = objectType({
99762
+ sessionId: stringType(),
99763
+ xOnBehalfOf: stringType().optional(),
99764
+ gitHubPushRequest: GitHubPushRequest$outboundSchema
99765
+ }).transform((v2) => {
99766
+ return remap(v2, {
99767
+ sessionId: "session_id",
99768
+ xOnBehalfOf: "X-On-Behalf-Of",
99769
+ gitHubPushRequest: "GitHubPushRequest"
99770
+ });
99771
+ });
99772
+ });
99773
+
99571
99774
  // src/models/operations/putcomputetenant.ts
99572
99775
  var PutComputeTenantRequest$inboundSchema, PutComputeTenantRequest$outboundSchema, PutComputeTenantResponse$inboundSchema, PutComputeTenantResponse$outboundSchema;
99573
99776
  var init_putcomputetenant = __esm(() => {
@@ -104182,6 +104385,7 @@ var init_operations = __esm(() => {
104182
104385
  init_createmcpserver();
104183
104386
  init_creatememoryentry();
104184
104387
  init_creatememorystore();
104388
+ init_createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost();
104185
104389
  init_createprompt();
104186
104390
  init_createpromptversion();
104187
104391
  init_createrepo();
@@ -104407,6 +104611,7 @@ var init_operations = __esm(() => {
104407
104611
  init_pauseagentschedule();
104408
104612
  init_pausefinetuningjob();
104409
104613
  init_proxybrowserportrequest();
104614
+ init_pushapiv1sandboxsessionssessionidgithubpushpost();
104410
104615
  init_putcomputetenant();
104411
104616
  init_putorgautomodel();
104412
104617
  init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
@@ -145371,11 +145576,132 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
145371
145576
  };
145372
145577
  });
145373
145578
 
145374
- // src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
145375
- function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
145579
+ // src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
145580
+ function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
145376
145581
  return new APIPromise($do349(client, request, options));
145377
145582
  }
145378
145583
  async function $do349(client, request, options) {
145584
+ const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
145585
+ if (!parsed.ok) {
145586
+ return [parsed, { status: "invalid" }];
145587
+ }
145588
+ const payload = parsed.value;
145589
+ const body = encodeJSON("body", payload.GitHubPullRequestRequest, {
145590
+ explode: true
145591
+ });
145592
+ const pathParams = {
145593
+ session_id: encodeSimple("session_id", payload.session_id, {
145594
+ explode: false,
145595
+ charEncoding: "percent"
145596
+ })
145597
+ };
145598
+ const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
145599
+ const headers = new Headers(compactMap({
145600
+ "Content-Type": "application/json",
145601
+ Accept: "application/json",
145602
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
145603
+ }));
145604
+ const secConfig = await extractSecurity(client._options.bearerAuth);
145605
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
145606
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
145607
+ const context = {
145608
+ options: client._options,
145609
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
145610
+ operationID: "create_or_update_api_v1_sandbox_sessions__session_id__github_pull_request_post",
145611
+ oAuth2Scopes: null,
145612
+ resolvedSecurity: requestSecurity,
145613
+ securitySource: client._options.bearerAuth,
145614
+ retryConfig: options?.retries || client._options.retryConfig || {
145615
+ strategy: "backoff",
145616
+ backoff: {
145617
+ initialInterval: 500,
145618
+ maxInterval: 5000,
145619
+ exponent: 1.5,
145620
+ maxElapsedTime: 15000
145621
+ },
145622
+ retryConnectionErrors: true
145623
+ },
145624
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
145625
+ };
145626
+ const requestRes = client._createRequest(context, {
145627
+ security: requestSecurity,
145628
+ method: "POST",
145629
+ baseURL: options?.serverURL,
145630
+ path,
145631
+ headers,
145632
+ body,
145633
+ userAgent: client._options.userAgent,
145634
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
145635
+ }, options);
145636
+ if (!requestRes.ok) {
145637
+ return [requestRes, { status: "invalid" }];
145638
+ }
145639
+ const req = requestRes.value;
145640
+ const doResult = await client._do(req, {
145641
+ context,
145642
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
145643
+ retryConfig: context.retryConfig,
145644
+ retryCodes: context.retryCodes
145645
+ });
145646
+ if (!doResult.ok) {
145647
+ return [doResult, { status: "request-error", request: req }];
145648
+ }
145649
+ const response = doResult.value;
145650
+ const responseFields = {
145651
+ HttpMeta: { Response: response, Request: req }
145652
+ };
145653
+ const [result] = await match(json(200, GitHubPullRequestResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
145654
+ if (!result.ok) {
145655
+ return [result, { status: "complete", request: req, response }];
145656
+ }
145657
+ return [result, { status: "complete", request: req, response }];
145658
+ }
145659
+ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = __esm(() => {
145660
+ init_encodings();
145661
+ init_http();
145662
+ init_matchers();
145663
+ init_primitives();
145664
+ init_schemas4();
145665
+ init_security();
145666
+ init_url();
145667
+ init_components();
145668
+ init_errors4();
145669
+ init_operations();
145670
+ init_async();
145671
+ });
145672
+
145673
+ // src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
145674
+ var args340, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
145675
+ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
145676
+ init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
145677
+ init_operations();
145678
+ init_tools();
145679
+ args340 = {
145680
+ request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
145681
+ };
145682
+ tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
145683
+ name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
145684
+ description: `Create Or Update`,
145685
+ args: args340,
145686
+ tool: async (client, args341, ctx) => {
145687
+ const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145688
+ if (!result.ok) {
145689
+ return {
145690
+ content: [{ type: "text", text: result.error.message }],
145691
+ isError: true
145692
+ };
145693
+ }
145694
+ const value = result.value;
145695
+ return formatResult(value, apiCall);
145696
+ }
145697
+ };
145698
+ });
145699
+
145700
+ // src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
145701
+ function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
145702
+ return new APIPromise($do350(client, request, options));
145703
+ }
145704
+ async function $do350(client, request, options) {
145379
145705
  const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
145380
145706
  if (!parsed.ok) {
145381
145707
  return [parsed, { status: "invalid" }];
@@ -145453,20 +145779,20 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
145453
145779
  });
145454
145780
 
145455
145781
  // src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
145456
- var args340, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
145782
+ var args341, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
145457
145783
  var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
145458
145784
  init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
145459
145785
  init_operations();
145460
145786
  init_tools();
145461
- args340 = {
145787
+ args341 = {
145462
145788
  request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
145463
145789
  };
145464
145790
  tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
145465
145791
  name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
145466
145792
  description: `Disconnect`,
145467
- args: args340,
145468
- tool: async (client, args341, ctx) => {
145469
- const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145793
+ args: args341,
145794
+ tool: async (client, args342, ctx) => {
145795
+ const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145470
145796
  if (!result.ok) {
145471
145797
  return {
145472
145798
  content: [{ type: "text", text: result.error.message }],
@@ -145480,9 +145806,9 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm
145480
145806
 
145481
145807
  // src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
145482
145808
  function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
145483
- return new APIPromise($do350(client, request, options));
145809
+ return new APIPromise($do351(client, request, options));
145484
145810
  }
145485
- async function $do350(client, request, options) {
145811
+ async function $do351(client, request, options) {
145486
145812
  const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
145487
145813
  if (!parsed.ok) {
145488
145814
  return [parsed, { status: "invalid" }];
@@ -145560,20 +145886,20 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
145560
145886
  });
145561
145887
 
145562
145888
  // src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
145563
- var args341, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
145889
+ var args342, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
145564
145890
  var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
145565
145891
  init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
145566
145892
  init_operations();
145567
145893
  init_tools();
145568
- args341 = {
145894
+ args342 = {
145569
145895
  request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
145570
145896
  };
145571
145897
  tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
145572
145898
  name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
145573
145899
  description: `Get Connection`,
145574
- args: args341,
145575
- tool: async (client, args342, ctx) => {
145576
- const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145900
+ args: args342,
145901
+ tool: async (client, args343, ctx) => {
145902
+ const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145577
145903
  if (!result.ok) {
145578
145904
  return {
145579
145905
  content: [{ type: "text", text: result.error.message }],
@@ -145588,9 +145914,9 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
145588
145914
 
145589
145915
  // src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
145590
145916
  function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
145591
- return new APIPromise($do351(client, request, options));
145917
+ return new APIPromise($do352(client, request, options));
145592
145918
  }
145593
- async function $do351(client, request, options) {
145919
+ async function $do352(client, request, options) {
145594
145920
  const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
145595
145921
  if (!parsed.ok) {
145596
145922
  return [parsed, { status: "invalid" }];
@@ -145668,20 +145994,139 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
145668
145994
  });
145669
145995
 
145670
145996
  // src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
145671
- var args342, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
145997
+ var args343, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
145672
145998
  var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
145673
145999
  init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
145674
146000
  init_operations();
145675
146001
  init_tools();
145676
- args342 = {
146002
+ args343 = {
145677
146003
  request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
145678
146004
  };
145679
146005
  tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
145680
146006
  name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
145681
146007
  description: `List Repositories`,
145682
- args: args342,
145683
- tool: async (client, args343, ctx) => {
145684
- const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146008
+ args: args343,
146009
+ tool: async (client, args344, ctx) => {
146010
+ const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146011
+ if (!result.ok) {
146012
+ return {
146013
+ content: [{ type: "text", text: result.error.message }],
146014
+ isError: true
146015
+ };
146016
+ }
146017
+ const value = result.value;
146018
+ return formatResult(value, apiCall);
146019
+ }
146020
+ };
146021
+ });
146022
+
146023
+ // src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
146024
+ function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
146025
+ return new APIPromise($do353(client, request, options));
146026
+ }
146027
+ async function $do353(client, request, options) {
146028
+ const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
146029
+ if (!parsed.ok) {
146030
+ return [parsed, { status: "invalid" }];
146031
+ }
146032
+ const payload = parsed.value;
146033
+ const body = encodeJSON("body", payload.GitHubPushRequest, { explode: true });
146034
+ const pathParams = {
146035
+ session_id: encodeSimple("session_id", payload.session_id, {
146036
+ explode: false,
146037
+ charEncoding: "percent"
146038
+ })
146039
+ };
146040
+ const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/push")(pathParams);
146041
+ const headers = new Headers(compactMap({
146042
+ "Content-Type": "application/json",
146043
+ Accept: "application/json",
146044
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
146045
+ }));
146046
+ const secConfig = await extractSecurity(client._options.bearerAuth);
146047
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
146048
+ const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
146049
+ const context = {
146050
+ options: client._options,
146051
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
146052
+ operationID: "push_api_v1_sandbox_sessions__session_id__github_push_post",
146053
+ oAuth2Scopes: null,
146054
+ resolvedSecurity: requestSecurity,
146055
+ securitySource: client._options.bearerAuth,
146056
+ retryConfig: options?.retries || client._options.retryConfig || {
146057
+ strategy: "backoff",
146058
+ backoff: {
146059
+ initialInterval: 500,
146060
+ maxInterval: 5000,
146061
+ exponent: 1.5,
146062
+ maxElapsedTime: 15000
146063
+ },
146064
+ retryConnectionErrors: true
146065
+ },
146066
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
146067
+ };
146068
+ const requestRes = client._createRequest(context, {
146069
+ security: requestSecurity,
146070
+ method: "POST",
146071
+ baseURL: options?.serverURL,
146072
+ path,
146073
+ headers,
146074
+ body,
146075
+ userAgent: client._options.userAgent,
146076
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
146077
+ }, options);
146078
+ if (!requestRes.ok) {
146079
+ return [requestRes, { status: "invalid" }];
146080
+ }
146081
+ const req = requestRes.value;
146082
+ const doResult = await client._do(req, {
146083
+ context,
146084
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
146085
+ retryConfig: context.retryConfig,
146086
+ retryCodes: context.retryCodes
146087
+ });
146088
+ if (!doResult.ok) {
146089
+ return [doResult, { status: "request-error", request: req }];
146090
+ }
146091
+ const response = doResult.value;
146092
+ const responseFields = {
146093
+ HttpMeta: { Response: response, Request: req }
146094
+ };
146095
+ const [result] = await match(json(200, GitHubPushResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
146096
+ if (!result.ok) {
146097
+ return [result, { status: "complete", request: req, response }];
146098
+ }
146099
+ return [result, { status: "complete", request: req, response }];
146100
+ }
146101
+ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(() => {
146102
+ init_encodings();
146103
+ init_http();
146104
+ init_matchers();
146105
+ init_primitives();
146106
+ init_schemas4();
146107
+ init_security();
146108
+ init_url();
146109
+ init_components();
146110
+ init_errors4();
146111
+ init_operations();
146112
+ init_async();
146113
+ });
146114
+
146115
+ // src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
146116
+ var args344, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
146117
+ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
146118
+ init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
146119
+ init_operations();
146120
+ init_tools();
146121
+ args344 = {
146122
+ request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
146123
+ };
146124
+ tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
146125
+ name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
146126
+ description: `Push`,
146127
+ args: args344,
146128
+ tool: async (client, args345, ctx) => {
146129
+ const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145685
146130
  if (!result.ok) {
145686
146131
  return {
145687
146132
  content: [{ type: "text", text: result.error.message }],
@@ -145696,9 +146141,9 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
145696
146141
 
145697
146142
  // src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
145698
146143
  function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
145699
- return new APIPromise($do352(client, request, options));
146144
+ return new APIPromise($do354(client, request, options));
145700
146145
  }
145701
- async function $do352(client, request, options) {
146146
+ async function $do354(client, request, options) {
145702
146147
  const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
145703
146148
  if (!parsed.ok) {
145704
146149
  return [parsed, { status: "invalid" }];
@@ -145789,20 +146234,20 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
145789
146234
  });
145790
146235
 
145791
146236
  // src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
145792
- var args343, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
146237
+ var args345, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
145793
146238
  var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
145794
146239
  init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
145795
146240
  init_operations();
145796
146241
  init_tools();
145797
- args343 = {
146242
+ args345 = {
145798
146243
  request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
145799
146244
  };
145800
146245
  tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
145801
146246
  name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
145802
146247
  description: `Read Clone`,
145803
- args: args343,
145804
- tool: async (client, args344, ctx) => {
145805
- const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146248
+ args: args345,
146249
+ tool: async (client, args346, ctx) => {
146250
+ const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145806
146251
  if (!result.ok) {
145807
146252
  return {
145808
146253
  content: [{ type: "text", text: result.error.message }],
@@ -145817,9 +146262,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
145817
146262
 
145818
146263
  // src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
145819
146264
  function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
145820
- return new APIPromise($do353(client, request, options));
146265
+ return new APIPromise($do355(client, request, options));
145821
146266
  }
145822
- async function $do353(client, request, options) {
146267
+ async function $do355(client, request, options) {
145823
146268
  const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
145824
146269
  if (!parsed.ok) {
145825
146270
  return [parsed, { status: "invalid" }];
@@ -145897,20 +146342,20 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
145897
146342
  });
145898
146343
 
145899
146344
  // src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
145900
- var args344, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
146345
+ var args346, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
145901
146346
  var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
145902
146347
  init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
145903
146348
  init_operations();
145904
146349
  init_tools();
145905
- args344 = {
146350
+ args346 = {
145906
146351
  request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
145907
146352
  };
145908
146353
  tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
145909
146354
  name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
145910
146355
  description: `Refresh Repositories`,
145911
- args: args344,
145912
- tool: async (client, args345, ctx) => {
145913
- const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146356
+ args: args346,
146357
+ tool: async (client, args347, ctx) => {
146358
+ const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
145914
146359
  if (!result.ok) {
145915
146360
  return {
145916
146361
  content: [{ type: "text", text: result.error.message }],
@@ -145925,9 +146370,9 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
145925
146370
 
145926
146371
  // src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
145927
146372
  function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
145928
- return new APIPromise($do354(client, request, options));
146373
+ return new APIPromise($do356(client, request, options));
145929
146374
  }
145930
- async function $do354(client, request, options) {
146375
+ async function $do356(client, request, options) {
145931
146376
  const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
145932
146377
  if (!parsed.ok) {
145933
146378
  return [parsed, { status: "invalid" }];
@@ -146012,20 +146457,20 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
146012
146457
  });
146013
146458
 
146014
146459
  // src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
146015
- var args345, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
146460
+ var args347, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
146016
146461
  var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
146017
146462
  init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
146018
146463
  init_operations();
146019
146464
  init_tools();
146020
- args345 = {
146465
+ args347 = {
146021
146466
  request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
146022
146467
  };
146023
146468
  tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
146024
146469
  name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
146025
146470
  description: `Resolve Reference`,
146026
- args: args345,
146027
- tool: async (client, args346, ctx) => {
146028
- const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146471
+ args: args347,
146472
+ tool: async (client, args348, ctx) => {
146473
+ const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146029
146474
  if (!result.ok) {
146030
146475
  return {
146031
146476
  content: [{ type: "text", text: result.error.message }],
@@ -146040,9 +146485,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
146040
146485
 
146041
146486
  // src/funcs/usageCosts.ts
146042
146487
  function usageCosts(client, request, options) {
146043
- return new APIPromise($do355(client, request, options));
146488
+ return new APIPromise($do357(client, request, options));
146044
146489
  }
146045
- async function $do355(client, request, options) {
146490
+ async function $do357(client, request, options) {
146046
146491
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
146047
146492
  if (!parsed.ok) {
146048
146493
  return [parsed, { status: "invalid" }];
@@ -146125,12 +146570,12 @@ var init_usageCosts = __esm(() => {
146125
146570
  });
146126
146571
 
146127
146572
  // src/mcp-server/tools/usageCosts.ts
146128
- var args346, tool$usageCosts;
146573
+ var args348, tool$usageCosts;
146129
146574
  var init_usageCosts2 = __esm(() => {
146130
146575
  init_usageCosts();
146131
146576
  init_operations();
146132
146577
  init_tools();
146133
- args346 = {
146578
+ args348 = {
146134
146579
  request: GetCostsRequest$inboundSchema
146135
146580
  };
146136
146581
  tool$usageCosts = {
@@ -146138,9 +146583,9 @@ var init_usageCosts2 = __esm(() => {
146138
146583
  description: `Aggregate cost by dimension
146139
146584
 
146140
146585
  Sums stored per-entry cost over [start_time, end_time), grouped by any of service, task_type, model, api_key_id, team_id, user_id, external_user_id, org_id. Point-in-time correct for chargeback/showback.`,
146141
- args: args346,
146142
- tool: async (client, args347, ctx) => {
146143
- const [result, apiCall] = await usageCosts(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146586
+ args: args348,
146587
+ tool: async (client, args349, ctx) => {
146588
+ const [result, apiCall] = await usageCosts(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146144
146589
  if (!result.ok) {
146145
146590
  return {
146146
146591
  content: [{ type: "text", text: result.error.message }],
@@ -146155,9 +146600,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
146155
146600
 
146156
146601
  // src/funcs/usageSandbox.ts
146157
146602
  function usageSandbox(client, request, options) {
146158
- return new APIPromise($do356(client, request, options));
146603
+ return new APIPromise($do358(client, request, options));
146159
146604
  }
146160
- async function $do356(client, request, options) {
146605
+ async function $do358(client, request, options) {
146161
146606
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
146162
146607
  if (!parsed.ok) {
146163
146608
  return [parsed, { status: "invalid" }];
@@ -146248,12 +146693,12 @@ var init_usageSandbox = __esm(() => {
146248
146693
  });
146249
146694
 
146250
146695
  // src/mcp-server/tools/usageSandbox.ts
146251
- var args347, tool$usageSandbox;
146696
+ var args349, tool$usageSandbox;
146252
146697
  var init_usageSandbox2 = __esm(() => {
146253
146698
  init_usageSandbox();
146254
146699
  init_operations();
146255
146700
  init_tools();
146256
- args347 = {
146701
+ args349 = {
146257
146702
  request: GetSandboxUsageRequest$inboundSchema
146258
146703
  };
146259
146704
  tool$usageSandbox = {
@@ -146261,9 +146706,9 @@ var init_usageSandbox2 = __esm(() => {
146261
146706
  description: `Get Sandbox Usage
146262
146707
 
146263
146708
  Aggregate sandbox usage (session lifecycle, execution, and workspace operations) over a time range, bucketed and optionally grouped. Buckets are calendar-aligned in UTC: \`start_time\` is snapped down and \`end_time\` snapped up to the nearest bucket-width boundary, so the first and last buckets may extend slightly beyond the requested range. Org-scoped: callers see their own usage, org admins their team's; cluster admins may pass \`all_orgs\` or \`org_ids\`. Cost and spend reporting lives in the budgeting API (\`/api/v1/budgeting/usage/costs\`).`,
146264
- args: args347,
146265
- tool: async (client, args348, ctx) => {
146266
- const [result, apiCall] = await usageSandbox(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146709
+ args: args349,
146710
+ tool: async (client, args350, ctx) => {
146711
+ const [result, apiCall] = await usageSandbox(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
146267
146712
  if (!result.ok) {
146268
146713
  return {
146269
146714
  content: [{ type: "text", text: result.error.message }],
@@ -146280,7 +146725,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
146280
146725
  function createMCPServer(deps) {
146281
146726
  const server = new McpServer({
146282
146727
  name: "SDK",
146283
- version: "0.54.2"
146728
+ version: "0.54.3"
146284
146729
  });
146285
146730
  const client = new SDKCore({
146286
146731
  bearerAuth: deps.bearerAuth,
@@ -146307,6 +146752,8 @@ function createMCPServer(deps) {
146307
146752
  tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
146308
146753
  tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
146309
146754
  tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
146755
+ tool(tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost);
146756
+ tool(tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost);
146310
146757
  tool(tool$sandboxCreate);
146311
146758
  tool(tool$sandboxList);
146312
146759
  tool(tool$sandboxGet);
@@ -147005,9 +147452,11 @@ var init_server2 = __esm(() => {
147005
147452
  init_sandboxUploadFile2();
147006
147453
  init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
147007
147454
  init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
147455
+ init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2();
147008
147456
  init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
147009
147457
  init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
147010
147458
  init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
147459
+ init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2();
147011
147460
  init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
147012
147461
  init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
147013
147462
  init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
@@ -148190,7 +148639,7 @@ var routes = rn({
148190
148639
  var app = Ve(routes, {
148191
148640
  name: "mcp",
148192
148641
  versionInfo: {
148193
- currentVersion: "0.54.2"
148642
+ currentVersion: "0.54.3"
148194
148643
  }
148195
148644
  });
148196
148645
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -148198,5 +148647,5 @@ export {
148198
148647
  app
148199
148648
  };
148200
148649
 
148201
- //# debugId=69F140A960CB197764756E2164756E21
148650
+ //# debugId=68DBF16DC5A70E8264756E2164756E21
148202
148651
  //# sourceMappingURL=mcp-server.js.map