@meetkai/mka1 0.54.2 → 0.54.4
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.
- package/README.md +282 -276
- package/bin/mcp-server.js +528 -65
- package/bin/mcp-server.js.map +21 -11
- package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +140 -0
- package/dist/commonjs/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +9 -1
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +138 -0
- package/dist/commonjs/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +6 -2
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/commonjs/models/components/connection.d.ts +2 -0
- package/dist/commonjs/models/components/connection.d.ts.map +1 -1
- package/dist/commonjs/models/components/connection.js +5 -0
- package/dist/commonjs/models/components/connection.js.map +1 -1
- package/dist/commonjs/models/components/githubpullrequestrequest.d.ts +34 -0
- package/dist/commonjs/models/components/githubpullrequestrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/githubpullrequestrequest.js +66 -0
- package/dist/commonjs/models/components/githubpullrequestrequest.js.map +1 -0
- package/dist/commonjs/models/components/githubpullrequestresult.d.ts +37 -0
- package/dist/commonjs/models/components/githubpullrequestresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/githubpullrequestresult.js +93 -0
- package/dist/commonjs/models/components/githubpullrequestresult.js.map +1 -0
- package/dist/commonjs/models/components/githubpushrequest.d.ts +35 -0
- package/dist/commonjs/models/components/githubpushrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/githubpushrequest.js +75 -0
- package/dist/commonjs/models/components/githubpushrequest.js.map +1 -0
- package/dist/commonjs/models/components/githubpushresult.d.ts +31 -0
- package/dist/commonjs/models/components/githubpushresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/githubpushresult.js +89 -0
- package/dist/commonjs/models/components/githubpushresult.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +4 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +4 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts +25 -0
- package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js +78 -0
- package/dist/commonjs/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js.map +1 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts +25 -0
- package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js +77 -0
- package/dist/commonjs/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +2 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +2 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/commonjs/sdk/schema3other.d.ts +12 -4
- package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
- package/dist/commonjs/sdk/schema3other.js +20 -6
- package/dist/commonjs/sdk/schema3other.js.map +1 -1
- package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +104 -0
- package/dist/esm/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +2 -1
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +10 -2
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +102 -0
- package/dist/esm/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +6 -2
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/esm/models/components/connection.d.ts +2 -0
- package/dist/esm/models/components/connection.d.ts.map +1 -1
- package/dist/esm/models/components/connection.js +5 -0
- package/dist/esm/models/components/connection.js.map +1 -1
- package/dist/esm/models/components/githubpullrequestrequest.d.ts +34 -0
- package/dist/esm/models/components/githubpullrequestrequest.d.ts.map +1 -0
- package/dist/esm/models/components/githubpullrequestrequest.js +28 -0
- package/dist/esm/models/components/githubpullrequestrequest.js.map +1 -0
- package/dist/esm/models/components/githubpullrequestresult.d.ts +37 -0
- package/dist/esm/models/components/githubpullrequestresult.d.ts.map +1 -0
- package/dist/esm/models/components/githubpullrequestresult.js +55 -0
- package/dist/esm/models/components/githubpullrequestresult.js.map +1 -0
- package/dist/esm/models/components/githubpushrequest.d.ts +35 -0
- package/dist/esm/models/components/githubpushrequest.d.ts.map +1 -0
- package/dist/esm/models/components/githubpushrequest.js +37 -0
- package/dist/esm/models/components/githubpushrequest.js.map +1 -0
- package/dist/esm/models/components/githubpushresult.d.ts +31 -0
- package/dist/esm/models/components/githubpushresult.d.ts.map +1 -0
- package/dist/esm/models/components/githubpushresult.js +51 -0
- package/dist/esm/models/components/githubpushresult.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +4 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +4 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts +25 -0
- package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.d.ts.map +1 -0
- package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js +40 -0
- package/dist/esm/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.js.map +1 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +2 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -1
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +2 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts +25 -0
- package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.d.ts.map +1 -0
- package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js +39 -0
- package/dist/esm/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +2 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +2 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js +43 -0
- package/dist/esm/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +9 -4
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -1
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -1
- package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js +43 -0
- package/dist/esm/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.js.map +1 -0
- package/dist/esm/sdk/schema3other.d.ts +12 -4
- package/dist/esm/sdk/schema3other.d.ts.map +1 -1
- package/dist/esm/sdk/schema3other.js +20 -6
- package/dist/esm/sdk/schema3other.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +202 -0
- package/src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +16 -2
- package/src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +197 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +40 -0
- package/src/models/components/connection.ts +9 -0
- package/src/models/components/githubpullrequestrequest.ts +76 -0
- package/src/models/components/githubpullrequestresult.ts +106 -0
- package/src/models/components/githubpushrequest.ts +86 -0
- package/src/models/components/githubpushresult.ts +96 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.ts +90 -0
- package/src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts +4 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.ts +86 -0
- package/src/react-query/index.ts +2 -0
- package/src/react-query/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts +129 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.ts +5 -1
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +12 -2
- package/src/react-query/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts +128 -0
- package/src/sdk/schema3other.ts +46 -11
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.
|
|
52879
|
+
sdkVersion: "0.54.4",
|
|
52880
52880
|
genVersion: "2.932.9",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.54.4 2.932.9 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -61828,12 +61828,14 @@ var init_connection = __esm(() => {
|
|
|
61828
61828
|
github_user_id: numberType().int(),
|
|
61829
61829
|
scopes: stringType(),
|
|
61830
61830
|
synced_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
61831
|
+
token_invalid_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
61831
61832
|
repositories: arrayType(ConnectedRepository$inboundSchema)
|
|
61832
61833
|
}).transform((v2) => {
|
|
61833
61834
|
return remap(v2, {
|
|
61834
61835
|
github_login: "githubLogin",
|
|
61835
61836
|
github_user_id: "githubUserId",
|
|
61836
|
-
synced_at: "syncedAt"
|
|
61837
|
+
synced_at: "syncedAt",
|
|
61838
|
+
token_invalid_at: "tokenInvalidAt"
|
|
61837
61839
|
});
|
|
61838
61840
|
});
|
|
61839
61841
|
Connection$outboundSchema = objectType({
|
|
@@ -61841,12 +61843,14 @@ var init_connection = __esm(() => {
|
|
|
61841
61843
|
githubUserId: numberType().int(),
|
|
61842
61844
|
scopes: stringType(),
|
|
61843
61845
|
syncedAt: dateType().transform((v2) => v2.toISOString()),
|
|
61846
|
+
tokenInvalidAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
61844
61847
|
repositories: arrayType(ConnectedRepository$outboundSchema)
|
|
61845
61848
|
}).transform((v2) => {
|
|
61846
61849
|
return remap(v2, {
|
|
61847
61850
|
githubLogin: "github_login",
|
|
61848
61851
|
githubUserId: "github_user_id",
|
|
61849
|
-
syncedAt: "synced_at"
|
|
61852
|
+
syncedAt: "synced_at",
|
|
61853
|
+
tokenInvalidAt: "token_invalid_at"
|
|
61850
61854
|
});
|
|
61851
61855
|
});
|
|
61852
61856
|
});
|
|
@@ -67323,6 +67327,145 @@ var init_getpromptresponse = __esm(() => {
|
|
|
67323
67327
|
});
|
|
67324
67328
|
});
|
|
67325
67329
|
|
|
67330
|
+
// src/models/components/githubpullrequestrequest.ts
|
|
67331
|
+
var GitHubPullRequestRequest$inboundSchema, GitHubPullRequestRequest$outboundSchema;
|
|
67332
|
+
var init_githubpullrequestrequest = __esm(() => {
|
|
67333
|
+
init_esm();
|
|
67334
|
+
GitHubPullRequestRequest$inboundSchema = objectType({
|
|
67335
|
+
branch: stringType(),
|
|
67336
|
+
title: stringType(),
|
|
67337
|
+
body: stringType().default(""),
|
|
67338
|
+
base: nullableType(stringType()).optional(),
|
|
67339
|
+
draft: booleanType().default(false)
|
|
67340
|
+
});
|
|
67341
|
+
GitHubPullRequestRequest$outboundSchema = objectType({
|
|
67342
|
+
branch: stringType(),
|
|
67343
|
+
title: stringType(),
|
|
67344
|
+
body: stringType().default(""),
|
|
67345
|
+
base: nullableType(stringType()).optional(),
|
|
67346
|
+
draft: booleanType().default(false)
|
|
67347
|
+
});
|
|
67348
|
+
});
|
|
67349
|
+
|
|
67350
|
+
// src/models/components/githubpullrequestresult.ts
|
|
67351
|
+
var GitHubPullRequestResult$inboundSchema, GitHubPullRequestResult$outboundSchema;
|
|
67352
|
+
var init_githubpullrequestresult = __esm(() => {
|
|
67353
|
+
init_esm();
|
|
67354
|
+
init_primitives();
|
|
67355
|
+
GitHubPullRequestResult$inboundSchema = objectType({
|
|
67356
|
+
session_id: stringType(),
|
|
67357
|
+
repository_id: numberType().int(),
|
|
67358
|
+
owner: stringType(),
|
|
67359
|
+
repository: stringType(),
|
|
67360
|
+
number: numberType().int(),
|
|
67361
|
+
url: stringType(),
|
|
67362
|
+
state: stringType(),
|
|
67363
|
+
draft: booleanType(),
|
|
67364
|
+
head_branch: stringType(),
|
|
67365
|
+
base_branch: nullableType(stringType()),
|
|
67366
|
+
created: booleanType()
|
|
67367
|
+
}).transform((v2) => {
|
|
67368
|
+
return remap(v2, {
|
|
67369
|
+
session_id: "sessionId",
|
|
67370
|
+
repository_id: "repositoryId",
|
|
67371
|
+
head_branch: "headBranch",
|
|
67372
|
+
base_branch: "baseBranch"
|
|
67373
|
+
});
|
|
67374
|
+
});
|
|
67375
|
+
GitHubPullRequestResult$outboundSchema = objectType({
|
|
67376
|
+
sessionId: stringType(),
|
|
67377
|
+
repositoryId: numberType().int(),
|
|
67378
|
+
owner: stringType(),
|
|
67379
|
+
repository: stringType(),
|
|
67380
|
+
number: numberType().int(),
|
|
67381
|
+
url: stringType(),
|
|
67382
|
+
state: stringType(),
|
|
67383
|
+
draft: booleanType(),
|
|
67384
|
+
headBranch: stringType(),
|
|
67385
|
+
baseBranch: nullableType(stringType()),
|
|
67386
|
+
created: booleanType()
|
|
67387
|
+
}).transform((v2) => {
|
|
67388
|
+
return remap(v2, {
|
|
67389
|
+
sessionId: "session_id",
|
|
67390
|
+
repositoryId: "repository_id",
|
|
67391
|
+
headBranch: "head_branch",
|
|
67392
|
+
baseBranch: "base_branch"
|
|
67393
|
+
});
|
|
67394
|
+
});
|
|
67395
|
+
});
|
|
67396
|
+
|
|
67397
|
+
// src/models/components/githubpushrequest.ts
|
|
67398
|
+
var GitHubPushRequest$inboundSchema, GitHubPushRequest$outboundSchema;
|
|
67399
|
+
var init_githubpushrequest = __esm(() => {
|
|
67400
|
+
init_esm();
|
|
67401
|
+
init_primitives();
|
|
67402
|
+
GitHubPushRequest$inboundSchema = objectType({
|
|
67403
|
+
assignment_generation: numberType().int(),
|
|
67404
|
+
branch: stringType(),
|
|
67405
|
+
checkout_path: stringType().default(""),
|
|
67406
|
+
force: booleanType().default(false)
|
|
67407
|
+
}).transform((v2) => {
|
|
67408
|
+
return remap(v2, {
|
|
67409
|
+
assignment_generation: "assignmentGeneration",
|
|
67410
|
+
checkout_path: "checkoutPath"
|
|
67411
|
+
});
|
|
67412
|
+
});
|
|
67413
|
+
GitHubPushRequest$outboundSchema = objectType({
|
|
67414
|
+
assignmentGeneration: numberType().int(),
|
|
67415
|
+
branch: stringType(),
|
|
67416
|
+
checkoutPath: stringType().default(""),
|
|
67417
|
+
force: booleanType().default(false)
|
|
67418
|
+
}).transform((v2) => {
|
|
67419
|
+
return remap(v2, {
|
|
67420
|
+
assignmentGeneration: "assignment_generation",
|
|
67421
|
+
checkoutPath: "checkout_path"
|
|
67422
|
+
});
|
|
67423
|
+
});
|
|
67424
|
+
});
|
|
67425
|
+
|
|
67426
|
+
// src/models/components/githubpushresult.ts
|
|
67427
|
+
var GitHubPushResult$inboundSchema, GitHubPushResult$outboundSchema;
|
|
67428
|
+
var init_githubpushresult = __esm(() => {
|
|
67429
|
+
init_esm();
|
|
67430
|
+
init_primitives();
|
|
67431
|
+
GitHubPushResult$inboundSchema = objectType({
|
|
67432
|
+
session_id: stringType(),
|
|
67433
|
+
assignment_generation: numberType().int(),
|
|
67434
|
+
repository_id: numberType().int(),
|
|
67435
|
+
owner: stringType(),
|
|
67436
|
+
repository: stringType(),
|
|
67437
|
+
branch: stringType(),
|
|
67438
|
+
remote_head_sha: stringType(),
|
|
67439
|
+
no_changes: booleanType()
|
|
67440
|
+
}).transform((v2) => {
|
|
67441
|
+
return remap(v2, {
|
|
67442
|
+
session_id: "sessionId",
|
|
67443
|
+
assignment_generation: "assignmentGeneration",
|
|
67444
|
+
repository_id: "repositoryId",
|
|
67445
|
+
remote_head_sha: "remoteHeadSha",
|
|
67446
|
+
no_changes: "noChanges"
|
|
67447
|
+
});
|
|
67448
|
+
});
|
|
67449
|
+
GitHubPushResult$outboundSchema = objectType({
|
|
67450
|
+
sessionId: stringType(),
|
|
67451
|
+
assignmentGeneration: numberType().int(),
|
|
67452
|
+
repositoryId: numberType().int(),
|
|
67453
|
+
owner: stringType(),
|
|
67454
|
+
repository: stringType(),
|
|
67455
|
+
branch: stringType(),
|
|
67456
|
+
remoteHeadSha: stringType(),
|
|
67457
|
+
noChanges: booleanType()
|
|
67458
|
+
}).transform((v2) => {
|
|
67459
|
+
return remap(v2, {
|
|
67460
|
+
sessionId: "session_id",
|
|
67461
|
+
assignmentGeneration: "assignment_generation",
|
|
67462
|
+
repositoryId: "repository_id",
|
|
67463
|
+
remoteHeadSha: "remote_head_sha",
|
|
67464
|
+
noChanges: "no_changes"
|
|
67465
|
+
});
|
|
67466
|
+
});
|
|
67467
|
+
});
|
|
67468
|
+
|
|
67326
67469
|
// src/models/components/githubreadclonerequest.ts
|
|
67327
67470
|
var GitHubReadCloneRequest$inboundSchema, GitHubReadCloneRequest$outboundSchema;
|
|
67328
67471
|
var init_githubreadclonerequest = __esm(() => {
|
|
@@ -77949,6 +78092,10 @@ var init_components = __esm(() => {
|
|
|
77949
78092
|
init_getfeedbackresponse();
|
|
77950
78093
|
init_getguardrailsresponse();
|
|
77951
78094
|
init_getpromptresponse();
|
|
78095
|
+
init_githubpullrequestrequest();
|
|
78096
|
+
init_githubpullrequestresult();
|
|
78097
|
+
init_githubpushrequest();
|
|
78098
|
+
init_githubpushresult();
|
|
77952
78099
|
init_githubreadclonerequest();
|
|
77953
78100
|
init_githubreadcloneresult();
|
|
77954
78101
|
init_grammarformat();
|
|
@@ -88035,6 +88182,36 @@ var init_creatememorystore = __esm(() => {
|
|
|
88035
88182
|
});
|
|
88036
88183
|
});
|
|
88037
88184
|
|
|
88185
|
+
// src/models/operations/createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost.ts
|
|
88186
|
+
var CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema, CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema;
|
|
88187
|
+
var init_createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost = __esm(() => {
|
|
88188
|
+
init_esm();
|
|
88189
|
+
init_primitives();
|
|
88190
|
+
init_components();
|
|
88191
|
+
CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema = objectType({
|
|
88192
|
+
session_id: stringType(),
|
|
88193
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
88194
|
+
GitHubPullRequestRequest: GitHubPullRequestRequest$inboundSchema
|
|
88195
|
+
}).transform((v2) => {
|
|
88196
|
+
return remap(v2, {
|
|
88197
|
+
session_id: "sessionId",
|
|
88198
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
88199
|
+
GitHubPullRequestRequest: "gitHubPullRequestRequest"
|
|
88200
|
+
});
|
|
88201
|
+
});
|
|
88202
|
+
CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema = objectType({
|
|
88203
|
+
sessionId: stringType(),
|
|
88204
|
+
xOnBehalfOf: stringType().optional(),
|
|
88205
|
+
gitHubPullRequestRequest: GitHubPullRequestRequest$outboundSchema
|
|
88206
|
+
}).transform((v2) => {
|
|
88207
|
+
return remap(v2, {
|
|
88208
|
+
sessionId: "session_id",
|
|
88209
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
88210
|
+
gitHubPullRequestRequest: "GitHubPullRequestRequest"
|
|
88211
|
+
});
|
|
88212
|
+
});
|
|
88213
|
+
});
|
|
88214
|
+
|
|
88038
88215
|
// src/models/operations/createprompt.ts
|
|
88039
88216
|
var CreatePromptRequest$inboundSchema2, CreatePromptRequest$outboundSchema2;
|
|
88040
88217
|
var init_createprompt = __esm(() => {
|
|
@@ -91408,6 +91585,7 @@ var init_getconnectionapiv1sandboxgithuboauthconnectionsget = __esm(() => {
|
|
|
91408
91585
|
init_esm();
|
|
91409
91586
|
init_primitives();
|
|
91410
91587
|
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema = objectType({
|
|
91588
|
+
verify: booleanType().default(false),
|
|
91411
91589
|
"X-On-Behalf-Of": stringType().optional()
|
|
91412
91590
|
}).transform((v2) => {
|
|
91413
91591
|
return remap(v2, {
|
|
@@ -91415,6 +91593,7 @@ var init_getconnectionapiv1sandboxgithuboauthconnectionsget = __esm(() => {
|
|
|
91415
91593
|
});
|
|
91416
91594
|
});
|
|
91417
91595
|
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema = objectType({
|
|
91596
|
+
verify: booleanType().default(false),
|
|
91418
91597
|
xOnBehalfOf: stringType().optional()
|
|
91419
91598
|
}).transform((v2) => {
|
|
91420
91599
|
return remap(v2, {
|
|
@@ -99568,6 +99747,36 @@ var init_proxybrowserportrequest = __esm(() => {
|
|
|
99568
99747
|
});
|
|
99569
99748
|
});
|
|
99570
99749
|
|
|
99750
|
+
// src/models/operations/pushapiv1sandboxsessionssessionidgithubpushpost.ts
|
|
99751
|
+
var PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema, PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema;
|
|
99752
|
+
var init_pushapiv1sandboxsessionssessionidgithubpushpost = __esm(() => {
|
|
99753
|
+
init_esm();
|
|
99754
|
+
init_primitives();
|
|
99755
|
+
init_components();
|
|
99756
|
+
PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema = objectType({
|
|
99757
|
+
session_id: stringType(),
|
|
99758
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
99759
|
+
GitHubPushRequest: GitHubPushRequest$inboundSchema
|
|
99760
|
+
}).transform((v2) => {
|
|
99761
|
+
return remap(v2, {
|
|
99762
|
+
session_id: "sessionId",
|
|
99763
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
99764
|
+
GitHubPushRequest: "gitHubPushRequest"
|
|
99765
|
+
});
|
|
99766
|
+
});
|
|
99767
|
+
PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema = objectType({
|
|
99768
|
+
sessionId: stringType(),
|
|
99769
|
+
xOnBehalfOf: stringType().optional(),
|
|
99770
|
+
gitHubPushRequest: GitHubPushRequest$outboundSchema
|
|
99771
|
+
}).transform((v2) => {
|
|
99772
|
+
return remap(v2, {
|
|
99773
|
+
sessionId: "session_id",
|
|
99774
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
99775
|
+
gitHubPushRequest: "GitHubPushRequest"
|
|
99776
|
+
});
|
|
99777
|
+
});
|
|
99778
|
+
});
|
|
99779
|
+
|
|
99571
99780
|
// src/models/operations/putcomputetenant.ts
|
|
99572
99781
|
var PutComputeTenantRequest$inboundSchema, PutComputeTenantRequest$outboundSchema, PutComputeTenantResponse$inboundSchema, PutComputeTenantResponse$outboundSchema;
|
|
99573
99782
|
var init_putcomputetenant = __esm(() => {
|
|
@@ -104182,6 +104391,7 @@ var init_operations = __esm(() => {
|
|
|
104182
104391
|
init_createmcpserver();
|
|
104183
104392
|
init_creatememoryentry();
|
|
104184
104393
|
init_creatememorystore();
|
|
104394
|
+
init_createorupdateapiv1sandboxsessionssessionidgithubpullrequestpost();
|
|
104185
104395
|
init_createprompt();
|
|
104186
104396
|
init_createpromptversion();
|
|
104187
104397
|
init_createrepo();
|
|
@@ -104407,6 +104617,7 @@ var init_operations = __esm(() => {
|
|
|
104407
104617
|
init_pauseagentschedule();
|
|
104408
104618
|
init_pausefinetuningjob();
|
|
104409
104619
|
init_proxybrowserportrequest();
|
|
104620
|
+
init_pushapiv1sandboxsessionssessionidgithubpushpost();
|
|
104410
104621
|
init_putcomputetenant();
|
|
104411
104622
|
init_putorgautomodel();
|
|
104412
104623
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
@@ -145371,11 +145582,132 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
|
|
|
145371
145582
|
};
|
|
145372
145583
|
});
|
|
145373
145584
|
|
|
145374
|
-
// src/funcs/
|
|
145375
|
-
function
|
|
145585
|
+
// src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
145586
|
+
function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
|
|
145376
145587
|
return new APIPromise($do349(client, request, options));
|
|
145377
145588
|
}
|
|
145378
145589
|
async function $do349(client, request, options) {
|
|
145590
|
+
const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145591
|
+
if (!parsed.ok) {
|
|
145592
|
+
return [parsed, { status: "invalid" }];
|
|
145593
|
+
}
|
|
145594
|
+
const payload = parsed.value;
|
|
145595
|
+
const body = encodeJSON("body", payload.GitHubPullRequestRequest, {
|
|
145596
|
+
explode: true
|
|
145597
|
+
});
|
|
145598
|
+
const pathParams = {
|
|
145599
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145600
|
+
explode: false,
|
|
145601
|
+
charEncoding: "percent"
|
|
145602
|
+
})
|
|
145603
|
+
};
|
|
145604
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
|
|
145605
|
+
const headers = new Headers(compactMap({
|
|
145606
|
+
"Content-Type": "application/json",
|
|
145607
|
+
Accept: "application/json",
|
|
145608
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145609
|
+
}));
|
|
145610
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
145611
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
145612
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
145613
|
+
const context = {
|
|
145614
|
+
options: client._options,
|
|
145615
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145616
|
+
operationID: "create_or_update_api_v1_sandbox_sessions__session_id__github_pull_request_post",
|
|
145617
|
+
oAuth2Scopes: null,
|
|
145618
|
+
resolvedSecurity: requestSecurity,
|
|
145619
|
+
securitySource: client._options.bearerAuth,
|
|
145620
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
145621
|
+
strategy: "backoff",
|
|
145622
|
+
backoff: {
|
|
145623
|
+
initialInterval: 500,
|
|
145624
|
+
maxInterval: 5000,
|
|
145625
|
+
exponent: 1.5,
|
|
145626
|
+
maxElapsedTime: 15000
|
|
145627
|
+
},
|
|
145628
|
+
retryConnectionErrors: true
|
|
145629
|
+
},
|
|
145630
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
145631
|
+
};
|
|
145632
|
+
const requestRes = client._createRequest(context, {
|
|
145633
|
+
security: requestSecurity,
|
|
145634
|
+
method: "POST",
|
|
145635
|
+
baseURL: options?.serverURL,
|
|
145636
|
+
path,
|
|
145637
|
+
headers,
|
|
145638
|
+
body,
|
|
145639
|
+
userAgent: client._options.userAgent,
|
|
145640
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
145641
|
+
}, options);
|
|
145642
|
+
if (!requestRes.ok) {
|
|
145643
|
+
return [requestRes, { status: "invalid" }];
|
|
145644
|
+
}
|
|
145645
|
+
const req = requestRes.value;
|
|
145646
|
+
const doResult = await client._do(req, {
|
|
145647
|
+
context,
|
|
145648
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
145649
|
+
retryConfig: context.retryConfig,
|
|
145650
|
+
retryCodes: context.retryCodes
|
|
145651
|
+
});
|
|
145652
|
+
if (!doResult.ok) {
|
|
145653
|
+
return [doResult, { status: "request-error", request: req }];
|
|
145654
|
+
}
|
|
145655
|
+
const response = doResult.value;
|
|
145656
|
+
const responseFields = {
|
|
145657
|
+
HttpMeta: { Response: response, Request: req }
|
|
145658
|
+
};
|
|
145659
|
+
const [result] = await match(json(200, GitHubPullRequestResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145660
|
+
if (!result.ok) {
|
|
145661
|
+
return [result, { status: "complete", request: req, response }];
|
|
145662
|
+
}
|
|
145663
|
+
return [result, { status: "complete", request: req, response }];
|
|
145664
|
+
}
|
|
145665
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = __esm(() => {
|
|
145666
|
+
init_encodings();
|
|
145667
|
+
init_http();
|
|
145668
|
+
init_matchers();
|
|
145669
|
+
init_primitives();
|
|
145670
|
+
init_schemas4();
|
|
145671
|
+
init_security();
|
|
145672
|
+
init_url();
|
|
145673
|
+
init_components();
|
|
145674
|
+
init_errors4();
|
|
145675
|
+
init_operations();
|
|
145676
|
+
init_async();
|
|
145677
|
+
});
|
|
145678
|
+
|
|
145679
|
+
// src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
145680
|
+
var args340, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
|
|
145681
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
|
|
145682
|
+
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
|
|
145683
|
+
init_operations();
|
|
145684
|
+
init_tools();
|
|
145685
|
+
args340 = {
|
|
145686
|
+
request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
|
|
145687
|
+
};
|
|
145688
|
+
tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
|
|
145689
|
+
name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
|
|
145690
|
+
description: `Create Or Update`,
|
|
145691
|
+
args: args340,
|
|
145692
|
+
tool: async (client, args341, ctx) => {
|
|
145693
|
+
const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145694
|
+
if (!result.ok) {
|
|
145695
|
+
return {
|
|
145696
|
+
content: [{ type: "text", text: result.error.message }],
|
|
145697
|
+
isError: true
|
|
145698
|
+
};
|
|
145699
|
+
}
|
|
145700
|
+
const value = result.value;
|
|
145701
|
+
return formatResult(value, apiCall);
|
|
145702
|
+
}
|
|
145703
|
+
};
|
|
145704
|
+
});
|
|
145705
|
+
|
|
145706
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
145707
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
145708
|
+
return new APIPromise($do350(client, request, options));
|
|
145709
|
+
}
|
|
145710
|
+
async function $do350(client, request, options) {
|
|
145379
145711
|
const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145380
145712
|
if (!parsed.ok) {
|
|
145381
145713
|
return [parsed, { status: "invalid" }];
|
|
@@ -145453,20 +145785,20 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
|
|
|
145453
145785
|
});
|
|
145454
145786
|
|
|
145455
145787
|
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
145456
|
-
var
|
|
145788
|
+
var args341, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
145457
145789
|
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
145458
145790
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
145459
145791
|
init_operations();
|
|
145460
145792
|
init_tools();
|
|
145461
|
-
|
|
145793
|
+
args341 = {
|
|
145462
145794
|
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
145463
145795
|
};
|
|
145464
145796
|
tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
|
|
145465
145797
|
name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
|
|
145466
145798
|
description: `Disconnect`,
|
|
145467
|
-
args:
|
|
145468
|
-
tool: async (client,
|
|
145469
|
-
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client,
|
|
145799
|
+
args: args341,
|
|
145800
|
+
tool: async (client, args342, ctx) => {
|
|
145801
|
+
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145470
145802
|
if (!result.ok) {
|
|
145471
145803
|
return {
|
|
145472
145804
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145480,9 +145812,9 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm
|
|
|
145480
145812
|
|
|
145481
145813
|
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
145482
145814
|
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
145483
|
-
return new APIPromise($
|
|
145815
|
+
return new APIPromise($do351(client, request, options));
|
|
145484
145816
|
}
|
|
145485
|
-
async function $
|
|
145817
|
+
async function $do351(client, request, options) {
|
|
145486
145818
|
const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145487
145819
|
if (!parsed.ok) {
|
|
145488
145820
|
return [parsed, { status: "invalid" }];
|
|
@@ -145490,6 +145822,9 @@ async function $do350(client, request, options) {
|
|
|
145490
145822
|
const payload = parsed.value;
|
|
145491
145823
|
const body = null;
|
|
145492
145824
|
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
145825
|
+
const query = encodeFormQuery({
|
|
145826
|
+
verify: payload.verify
|
|
145827
|
+
});
|
|
145493
145828
|
const headers = new Headers(compactMap({
|
|
145494
145829
|
Accept: "application/json",
|
|
145495
145830
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -145522,6 +145857,7 @@ async function $do350(client, request, options) {
|
|
|
145522
145857
|
baseURL: options?.serverURL,
|
|
145523
145858
|
path,
|
|
145524
145859
|
headers,
|
|
145860
|
+
query,
|
|
145525
145861
|
body,
|
|
145526
145862
|
userAgent: client._options.userAgent,
|
|
145527
145863
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -145540,7 +145876,10 @@ async function $do350(client, request, options) {
|
|
|
145540
145876
|
return [doResult, { status: "request-error", request: req }];
|
|
145541
145877
|
}
|
|
145542
145878
|
const response = doResult.value;
|
|
145543
|
-
const
|
|
145879
|
+
const responseFields = {
|
|
145880
|
+
HttpMeta: { Response: response, Request: req }
|
|
145881
|
+
};
|
|
145882
|
+
const [result] = await match(json(200, ConnectionEnvelope$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145544
145883
|
if (!result.ok) {
|
|
145545
145884
|
return [result, { status: "complete", request: req, response }];
|
|
145546
145885
|
}
|
|
@@ -145555,25 +145894,26 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
145555
145894
|
init_security();
|
|
145556
145895
|
init_url();
|
|
145557
145896
|
init_components();
|
|
145897
|
+
init_errors4();
|
|
145558
145898
|
init_operations();
|
|
145559
145899
|
init_async();
|
|
145560
145900
|
});
|
|
145561
145901
|
|
|
145562
145902
|
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
145563
|
-
var
|
|
145903
|
+
var args342, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
145564
145904
|
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
145565
145905
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
145566
145906
|
init_operations();
|
|
145567
145907
|
init_tools();
|
|
145568
|
-
|
|
145908
|
+
args342 = {
|
|
145569
145909
|
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
145570
145910
|
};
|
|
145571
145911
|
tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
|
|
145572
145912
|
name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
|
|
145573
145913
|
description: `Get Connection`,
|
|
145574
|
-
args:
|
|
145575
|
-
tool: async (client,
|
|
145576
|
-
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client,
|
|
145914
|
+
args: args342,
|
|
145915
|
+
tool: async (client, args343, ctx) => {
|
|
145916
|
+
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145577
145917
|
if (!result.ok) {
|
|
145578
145918
|
return {
|
|
145579
145919
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145588,9 +145928,9 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
|
|
|
145588
145928
|
|
|
145589
145929
|
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
145590
145930
|
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
145591
|
-
return new APIPromise($
|
|
145931
|
+
return new APIPromise($do352(client, request, options));
|
|
145592
145932
|
}
|
|
145593
|
-
async function $
|
|
145933
|
+
async function $do352(client, request, options) {
|
|
145594
145934
|
const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145595
145935
|
if (!parsed.ok) {
|
|
145596
145936
|
return [parsed, { status: "invalid" }];
|
|
@@ -145668,20 +146008,139 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
|
|
|
145668
146008
|
});
|
|
145669
146009
|
|
|
145670
146010
|
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
145671
|
-
var
|
|
146011
|
+
var args343, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
145672
146012
|
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
145673
146013
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
145674
146014
|
init_operations();
|
|
145675
146015
|
init_tools();
|
|
145676
|
-
|
|
146016
|
+
args343 = {
|
|
145677
146017
|
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
145678
146018
|
};
|
|
145679
146019
|
tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
|
|
145680
146020
|
name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
|
|
145681
146021
|
description: `List Repositories`,
|
|
145682
|
-
args:
|
|
145683
|
-
tool: async (client,
|
|
145684
|
-
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client,
|
|
146022
|
+
args: args343,
|
|
146023
|
+
tool: async (client, args344, ctx) => {
|
|
146024
|
+
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146025
|
+
if (!result.ok) {
|
|
146026
|
+
return {
|
|
146027
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146028
|
+
isError: true
|
|
146029
|
+
};
|
|
146030
|
+
}
|
|
146031
|
+
const value = result.value;
|
|
146032
|
+
return formatResult(value, apiCall);
|
|
146033
|
+
}
|
|
146034
|
+
};
|
|
146035
|
+
});
|
|
146036
|
+
|
|
146037
|
+
// src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
146038
|
+
function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
|
|
146039
|
+
return new APIPromise($do353(client, request, options));
|
|
146040
|
+
}
|
|
146041
|
+
async function $do353(client, request, options) {
|
|
146042
|
+
const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146043
|
+
if (!parsed.ok) {
|
|
146044
|
+
return [parsed, { status: "invalid" }];
|
|
146045
|
+
}
|
|
146046
|
+
const payload = parsed.value;
|
|
146047
|
+
const body = encodeJSON("body", payload.GitHubPushRequest, { explode: true });
|
|
146048
|
+
const pathParams = {
|
|
146049
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146050
|
+
explode: false,
|
|
146051
|
+
charEncoding: "percent"
|
|
146052
|
+
})
|
|
146053
|
+
};
|
|
146054
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/push")(pathParams);
|
|
146055
|
+
const headers = new Headers(compactMap({
|
|
146056
|
+
"Content-Type": "application/json",
|
|
146057
|
+
Accept: "application/json",
|
|
146058
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146059
|
+
}));
|
|
146060
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146061
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146062
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146063
|
+
const context = {
|
|
146064
|
+
options: client._options,
|
|
146065
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146066
|
+
operationID: "push_api_v1_sandbox_sessions__session_id__github_push_post",
|
|
146067
|
+
oAuth2Scopes: null,
|
|
146068
|
+
resolvedSecurity: requestSecurity,
|
|
146069
|
+
securitySource: client._options.bearerAuth,
|
|
146070
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146071
|
+
strategy: "backoff",
|
|
146072
|
+
backoff: {
|
|
146073
|
+
initialInterval: 500,
|
|
146074
|
+
maxInterval: 5000,
|
|
146075
|
+
exponent: 1.5,
|
|
146076
|
+
maxElapsedTime: 15000
|
|
146077
|
+
},
|
|
146078
|
+
retryConnectionErrors: true
|
|
146079
|
+
},
|
|
146080
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146081
|
+
};
|
|
146082
|
+
const requestRes = client._createRequest(context, {
|
|
146083
|
+
security: requestSecurity,
|
|
146084
|
+
method: "POST",
|
|
146085
|
+
baseURL: options?.serverURL,
|
|
146086
|
+
path,
|
|
146087
|
+
headers,
|
|
146088
|
+
body,
|
|
146089
|
+
userAgent: client._options.userAgent,
|
|
146090
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146091
|
+
}, options);
|
|
146092
|
+
if (!requestRes.ok) {
|
|
146093
|
+
return [requestRes, { status: "invalid" }];
|
|
146094
|
+
}
|
|
146095
|
+
const req = requestRes.value;
|
|
146096
|
+
const doResult = await client._do(req, {
|
|
146097
|
+
context,
|
|
146098
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146099
|
+
retryConfig: context.retryConfig,
|
|
146100
|
+
retryCodes: context.retryCodes
|
|
146101
|
+
});
|
|
146102
|
+
if (!doResult.ok) {
|
|
146103
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146104
|
+
}
|
|
146105
|
+
const response = doResult.value;
|
|
146106
|
+
const responseFields = {
|
|
146107
|
+
HttpMeta: { Response: response, Request: req }
|
|
146108
|
+
};
|
|
146109
|
+
const [result] = await match(json(200, GitHubPushResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146110
|
+
if (!result.ok) {
|
|
146111
|
+
return [result, { status: "complete", request: req, response }];
|
|
146112
|
+
}
|
|
146113
|
+
return [result, { status: "complete", request: req, response }];
|
|
146114
|
+
}
|
|
146115
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(() => {
|
|
146116
|
+
init_encodings();
|
|
146117
|
+
init_http();
|
|
146118
|
+
init_matchers();
|
|
146119
|
+
init_primitives();
|
|
146120
|
+
init_schemas4();
|
|
146121
|
+
init_security();
|
|
146122
|
+
init_url();
|
|
146123
|
+
init_components();
|
|
146124
|
+
init_errors4();
|
|
146125
|
+
init_operations();
|
|
146126
|
+
init_async();
|
|
146127
|
+
});
|
|
146128
|
+
|
|
146129
|
+
// src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
146130
|
+
var args344, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
|
|
146131
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
|
|
146132
|
+
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
|
|
146133
|
+
init_operations();
|
|
146134
|
+
init_tools();
|
|
146135
|
+
args344 = {
|
|
146136
|
+
request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
|
|
146137
|
+
};
|
|
146138
|
+
tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
|
|
146139
|
+
name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
|
|
146140
|
+
description: `Push`,
|
|
146141
|
+
args: args344,
|
|
146142
|
+
tool: async (client, args345, ctx) => {
|
|
146143
|
+
const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145685
146144
|
if (!result.ok) {
|
|
145686
146145
|
return {
|
|
145687
146146
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145696,9 +146155,9 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
|
|
|
145696
146155
|
|
|
145697
146156
|
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
145698
146157
|
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
145699
|
-
return new APIPromise($
|
|
146158
|
+
return new APIPromise($do354(client, request, options));
|
|
145700
146159
|
}
|
|
145701
|
-
async function $
|
|
146160
|
+
async function $do354(client, request, options) {
|
|
145702
146161
|
const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145703
146162
|
if (!parsed.ok) {
|
|
145704
146163
|
return [parsed, { status: "invalid" }];
|
|
@@ -145789,20 +146248,20 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
145789
146248
|
});
|
|
145790
146249
|
|
|
145791
146250
|
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
145792
|
-
var
|
|
146251
|
+
var args345, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
145793
146252
|
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
145794
146253
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
145795
146254
|
init_operations();
|
|
145796
146255
|
init_tools();
|
|
145797
|
-
|
|
146256
|
+
args345 = {
|
|
145798
146257
|
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
145799
146258
|
};
|
|
145800
146259
|
tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
|
|
145801
146260
|
name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
|
|
145802
146261
|
description: `Read Clone`,
|
|
145803
|
-
args:
|
|
145804
|
-
tool: async (client,
|
|
145805
|
-
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client,
|
|
146262
|
+
args: args345,
|
|
146263
|
+
tool: async (client, args346, ctx) => {
|
|
146264
|
+
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145806
146265
|
if (!result.ok) {
|
|
145807
146266
|
return {
|
|
145808
146267
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145817,9 +146276,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
145817
146276
|
|
|
145818
146277
|
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
145819
146278
|
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
145820
|
-
return new APIPromise($
|
|
146279
|
+
return new APIPromise($do355(client, request, options));
|
|
145821
146280
|
}
|
|
145822
|
-
async function $
|
|
146281
|
+
async function $do355(client, request, options) {
|
|
145823
146282
|
const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145824
146283
|
if (!parsed.ok) {
|
|
145825
146284
|
return [parsed, { status: "invalid" }];
|
|
@@ -145897,20 +146356,20 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
145897
146356
|
});
|
|
145898
146357
|
|
|
145899
146358
|
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
145900
|
-
var
|
|
146359
|
+
var args346, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
145901
146360
|
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
145902
146361
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
145903
146362
|
init_operations();
|
|
145904
146363
|
init_tools();
|
|
145905
|
-
|
|
146364
|
+
args346 = {
|
|
145906
146365
|
request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
145907
146366
|
};
|
|
145908
146367
|
tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
|
|
145909
146368
|
name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
|
|
145910
146369
|
description: `Refresh Repositories`,
|
|
145911
|
-
args:
|
|
145912
|
-
tool: async (client,
|
|
145913
|
-
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client,
|
|
146370
|
+
args: args346,
|
|
146371
|
+
tool: async (client, args347, ctx) => {
|
|
146372
|
+
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145914
146373
|
if (!result.ok) {
|
|
145915
146374
|
return {
|
|
145916
146375
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145925,9 +146384,9 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
145925
146384
|
|
|
145926
146385
|
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
145927
146386
|
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
145928
|
-
return new APIPromise($
|
|
146387
|
+
return new APIPromise($do356(client, request, options));
|
|
145929
146388
|
}
|
|
145930
|
-
async function $
|
|
146389
|
+
async function $do356(client, request, options) {
|
|
145931
146390
|
const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145932
146391
|
if (!parsed.ok) {
|
|
145933
146392
|
return [parsed, { status: "invalid" }];
|
|
@@ -146012,20 +146471,20 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
|
|
|
146012
146471
|
});
|
|
146013
146472
|
|
|
146014
146473
|
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
146015
|
-
var
|
|
146474
|
+
var args347, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
146016
146475
|
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
146017
146476
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
146018
146477
|
init_operations();
|
|
146019
146478
|
init_tools();
|
|
146020
|
-
|
|
146479
|
+
args347 = {
|
|
146021
146480
|
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
146022
146481
|
};
|
|
146023
146482
|
tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
|
|
146024
146483
|
name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
|
|
146025
146484
|
description: `Resolve Reference`,
|
|
146026
|
-
args:
|
|
146027
|
-
tool: async (client,
|
|
146028
|
-
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client,
|
|
146485
|
+
args: args347,
|
|
146486
|
+
tool: async (client, args348, ctx) => {
|
|
146487
|
+
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146029
146488
|
if (!result.ok) {
|
|
146030
146489
|
return {
|
|
146031
146490
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146040,9 +146499,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
|
|
|
146040
146499
|
|
|
146041
146500
|
// src/funcs/usageCosts.ts
|
|
146042
146501
|
function usageCosts(client, request, options) {
|
|
146043
|
-
return new APIPromise($
|
|
146502
|
+
return new APIPromise($do357(client, request, options));
|
|
146044
146503
|
}
|
|
146045
|
-
async function $
|
|
146504
|
+
async function $do357(client, request, options) {
|
|
146046
146505
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146047
146506
|
if (!parsed.ok) {
|
|
146048
146507
|
return [parsed, { status: "invalid" }];
|
|
@@ -146125,12 +146584,12 @@ var init_usageCosts = __esm(() => {
|
|
|
146125
146584
|
});
|
|
146126
146585
|
|
|
146127
146586
|
// src/mcp-server/tools/usageCosts.ts
|
|
146128
|
-
var
|
|
146587
|
+
var args348, tool$usageCosts;
|
|
146129
146588
|
var init_usageCosts2 = __esm(() => {
|
|
146130
146589
|
init_usageCosts();
|
|
146131
146590
|
init_operations();
|
|
146132
146591
|
init_tools();
|
|
146133
|
-
|
|
146592
|
+
args348 = {
|
|
146134
146593
|
request: GetCostsRequest$inboundSchema
|
|
146135
146594
|
};
|
|
146136
146595
|
tool$usageCosts = {
|
|
@@ -146138,9 +146597,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
146138
146597
|
description: `Aggregate cost by dimension
|
|
146139
146598
|
|
|
146140
146599
|
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:
|
|
146142
|
-
tool: async (client,
|
|
146143
|
-
const [result, apiCall] = await usageCosts(client,
|
|
146600
|
+
args: args348,
|
|
146601
|
+
tool: async (client, args349, ctx) => {
|
|
146602
|
+
const [result, apiCall] = await usageCosts(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146144
146603
|
if (!result.ok) {
|
|
146145
146604
|
return {
|
|
146146
146605
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146155,9 +146614,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
146155
146614
|
|
|
146156
146615
|
// src/funcs/usageSandbox.ts
|
|
146157
146616
|
function usageSandbox(client, request, options) {
|
|
146158
|
-
return new APIPromise($
|
|
146617
|
+
return new APIPromise($do358(client, request, options));
|
|
146159
146618
|
}
|
|
146160
|
-
async function $
|
|
146619
|
+
async function $do358(client, request, options) {
|
|
146161
146620
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146162
146621
|
if (!parsed.ok) {
|
|
146163
146622
|
return [parsed, { status: "invalid" }];
|
|
@@ -146248,12 +146707,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
146248
146707
|
});
|
|
146249
146708
|
|
|
146250
146709
|
// src/mcp-server/tools/usageSandbox.ts
|
|
146251
|
-
var
|
|
146710
|
+
var args349, tool$usageSandbox;
|
|
146252
146711
|
var init_usageSandbox2 = __esm(() => {
|
|
146253
146712
|
init_usageSandbox();
|
|
146254
146713
|
init_operations();
|
|
146255
146714
|
init_tools();
|
|
146256
|
-
|
|
146715
|
+
args349 = {
|
|
146257
146716
|
request: GetSandboxUsageRequest$inboundSchema
|
|
146258
146717
|
};
|
|
146259
146718
|
tool$usageSandbox = {
|
|
@@ -146261,9 +146720,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
146261
146720
|
description: `Get Sandbox Usage
|
|
146262
146721
|
|
|
146263
146722
|
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:
|
|
146265
|
-
tool: async (client,
|
|
146266
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
146723
|
+
args: args349,
|
|
146724
|
+
tool: async (client, args350, ctx) => {
|
|
146725
|
+
const [result, apiCall] = await usageSandbox(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146267
146726
|
if (!result.ok) {
|
|
146268
146727
|
return {
|
|
146269
146728
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146280,7 +146739,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
146280
146739
|
function createMCPServer(deps) {
|
|
146281
146740
|
const server = new McpServer({
|
|
146282
146741
|
name: "SDK",
|
|
146283
|
-
version: "0.54.
|
|
146742
|
+
version: "0.54.4"
|
|
146284
146743
|
});
|
|
146285
146744
|
const client = new SDKCore({
|
|
146286
146745
|
bearerAuth: deps.bearerAuth,
|
|
@@ -146300,13 +146759,15 @@ function createMCPServer(deps) {
|
|
|
146300
146759
|
tool(tool$guardrailsListGuardrailsPolicies);
|
|
146301
146760
|
tool(tool$guardrailsTestGuardrails);
|
|
146302
146761
|
tool(tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost);
|
|
146303
|
-
tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
|
|
146304
146762
|
tool(tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost);
|
|
146763
|
+
tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
|
|
146305
146764
|
tool(tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete);
|
|
146306
146765
|
tool(tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet);
|
|
146307
146766
|
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
146308
146767
|
tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
|
|
146309
146768
|
tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
|
|
146769
|
+
tool(tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost);
|
|
146770
|
+
tool(tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost);
|
|
146310
146771
|
tool(tool$sandboxCreate);
|
|
146311
146772
|
tool(tool$sandboxList);
|
|
146312
146773
|
tool(tool$sandboxGet);
|
|
@@ -147005,9 +147466,11 @@ var init_server2 = __esm(() => {
|
|
|
147005
147466
|
init_sandboxUploadFile2();
|
|
147006
147467
|
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
147007
147468
|
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
147469
|
+
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2();
|
|
147008
147470
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
147009
147471
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
147010
147472
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
147473
|
+
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2();
|
|
147011
147474
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
147012
147475
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
147013
147476
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
@@ -148190,7 +148653,7 @@ var routes = rn({
|
|
|
148190
148653
|
var app = Ve(routes, {
|
|
148191
148654
|
name: "mcp",
|
|
148192
148655
|
versionInfo: {
|
|
148193
|
-
currentVersion: "0.54.
|
|
148656
|
+
currentVersion: "0.54.4"
|
|
148194
148657
|
}
|
|
148195
148658
|
});
|
|
148196
148659
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -148198,5 +148661,5 @@ export {
|
|
|
148198
148661
|
app
|
|
148199
148662
|
};
|
|
148200
148663
|
|
|
148201
|
-
//# debugId=
|
|
148664
|
+
//# debugId=8304397CE0FC72BE64756E2164756E21
|
|
148202
148665
|
//# sourceMappingURL=mcp-server.js.map
|