@meetkai/mka1 0.53.29 → 0.53.30
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 +247 -226
- package/bin/mcp-server.js +1825 -688
- package/bin/mcp-server.js.map +38 -9
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +16 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +130 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +125 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +14 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +125 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +125 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +125 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +125 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +16 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +132 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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 +15 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +62 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/models/components/authorizeintent.d.ts +21 -0
- package/dist/commonjs/models/components/authorizeintent.d.ts.map +1 -0
- package/dist/commonjs/models/components/authorizeintent.js +73 -0
- package/dist/commonjs/models/components/authorizeintent.js.map +1 -0
- package/dist/commonjs/models/components/connectedrepository.d.ts +25 -0
- package/dist/commonjs/models/components/connectedrepository.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectedrepository.js +77 -0
- package/dist/commonjs/models/components/connectedrepository.js.map +1 -0
- package/dist/commonjs/models/components/connection.d.ts +26 -0
- package/dist/commonjs/models/components/connection.d.ts.map +1 -0
- package/dist/commonjs/models/components/connection.js +80 -0
- package/dist/commonjs/models/components/connection.js.map +1 -0
- package/dist/commonjs/models/components/connectionenvelope.d.ts +21 -0
- package/dist/commonjs/models/components/connectionenvelope.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectionenvelope.js +59 -0
- package/dist/commonjs/models/components/connectionenvelope.js.map +1 -0
- package/dist/commonjs/models/components/connectrequest.d.ts +19 -0
- package/dist/commonjs/models/components/connectrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectrequest.js +60 -0
- package/dist/commonjs/models/components/connectrequest.js.map +1 -0
- package/dist/commonjs/models/components/githubreadclonerequest.d.ts +0 -2
- package/dist/commonjs/models/components/githubreadclonerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/githubreadclonerequest.js +0 -4
- package/dist/commonjs/models/components/githubreadclonerequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +8 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +8 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/repositorylist.d.ts +18 -0
- package/dist/commonjs/models/components/repositorylist.d.ts.map +1 -0
- package/dist/commonjs/models/components/repositorylist.js +59 -0
- package/dist/commonjs/models/components/repositorylist.js.map +1 -0
- package/dist/commonjs/models/components/resolvedreference.d.ts +27 -0
- package/dist/commonjs/models/components/resolvedreference.d.ts.map +1 -0
- package/dist/commonjs/models/components/resolvedreference.js +79 -0
- package/dist/commonjs/models/components/resolvedreference.js.map +1 -0
- package/dist/commonjs/models/components/resolvereferencerequest.d.ts +19 -0
- package/dist/commonjs/models/components/resolvereferencerequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/resolvereferencerequest.js +69 -0
- package/dist/commonjs/models/components/resolvereferencerequest.js.map +1 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts +23 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js +72 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js.map +1 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts +20 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.js +67 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.js.map +1 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts +20 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js +69 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js.map +1 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +20 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +69 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +7 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +7 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts +20 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js +69 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js.map +1 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts +20 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js +69 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js.map +1 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts +23 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js +74 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +7 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +7 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +25 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +48 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +41 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +28 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js +41 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +28 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/sdk/schema3other.d.ts +28 -0
- package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
- package/dist/commonjs/sdk/schema3other.js +49 -0
- package/dist/commonjs/sdk/schema3other.js.map +1 -1
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +16 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +94 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +89 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +14 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +89 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +89 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +89 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +89 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +16 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +96 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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 +15 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +26 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/models/components/authorizeintent.d.ts +21 -0
- package/dist/esm/models/components/authorizeintent.d.ts.map +1 -0
- package/dist/esm/models/components/authorizeintent.js +35 -0
- package/dist/esm/models/components/authorizeintent.js.map +1 -0
- package/dist/esm/models/components/connectedrepository.d.ts +25 -0
- package/dist/esm/models/components/connectedrepository.d.ts.map +1 -0
- package/dist/esm/models/components/connectedrepository.js +39 -0
- package/dist/esm/models/components/connectedrepository.js.map +1 -0
- package/dist/esm/models/components/connection.d.ts +26 -0
- package/dist/esm/models/components/connection.d.ts.map +1 -0
- package/dist/esm/models/components/connection.js +42 -0
- package/dist/esm/models/components/connection.js.map +1 -0
- package/dist/esm/models/components/connectionenvelope.d.ts +21 -0
- package/dist/esm/models/components/connectionenvelope.d.ts.map +1 -0
- package/dist/esm/models/components/connectionenvelope.js +21 -0
- package/dist/esm/models/components/connectionenvelope.js.map +1 -0
- package/dist/esm/models/components/connectrequest.d.ts +19 -0
- package/dist/esm/models/components/connectrequest.d.ts.map +1 -0
- package/dist/esm/models/components/connectrequest.js +22 -0
- package/dist/esm/models/components/connectrequest.js.map +1 -0
- package/dist/esm/models/components/githubreadclonerequest.d.ts +0 -2
- package/dist/esm/models/components/githubreadclonerequest.d.ts.map +1 -1
- package/dist/esm/models/components/githubreadclonerequest.js +0 -4
- package/dist/esm/models/components/githubreadclonerequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +8 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +8 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/repositorylist.d.ts +18 -0
- package/dist/esm/models/components/repositorylist.d.ts.map +1 -0
- package/dist/esm/models/components/repositorylist.js +21 -0
- package/dist/esm/models/components/repositorylist.js.map +1 -0
- package/dist/esm/models/components/resolvedreference.d.ts +27 -0
- package/dist/esm/models/components/resolvedreference.d.ts.map +1 -0
- package/dist/esm/models/components/resolvedreference.js +41 -0
- package/dist/esm/models/components/resolvedreference.js.map +1 -0
- package/dist/esm/models/components/resolvereferencerequest.d.ts +19 -0
- package/dist/esm/models/components/resolvereferencerequest.d.ts.map +1 -0
- package/dist/esm/models/components/resolvereferencerequest.js +31 -0
- package/dist/esm/models/components/resolvereferencerequest.js.map +1 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts +23 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts.map +1 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js +34 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js.map +1 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts +20 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts.map +1 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.js +29 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.js.map +1 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts +20 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts.map +1 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js +31 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js.map +1 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +20 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +31 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +7 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +7 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts +20 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts.map +1 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js +31 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js.map +1 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts +20 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts.map +1 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js +31 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js.map +1 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts +23 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts.map +1 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js +36 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +7 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +7 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +43 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +43 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +25 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +43 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +36 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +28 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +53 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js +36 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +28 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +53 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +43 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +43 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/sdk/schema3other.d.ts +28 -0
- package/dist/esm/sdk/schema3other.d.ts.map +1 -1
- package/dist/esm/sdk/schema3other.js +49 -0
- package/dist/esm/sdk/schema3other.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +187 -0
- package/src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +177 -0
- package/src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +177 -0
- package/src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +177 -0
- package/src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +177 -0
- package/src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +180 -0
- package/src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +192 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -1
- package/src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +39 -0
- package/src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +38 -0
- package/src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +40 -0
- package/src/models/components/authorizeintent.ts +68 -0
- package/src/models/components/connectedrepository.ts +78 -0
- package/src/models/components/connection.ts +82 -0
- package/src/models/components/connectionenvelope.ts +60 -0
- package/src/models/components/connectrequest.ts +51 -0
- package/src/models/components/githubreadclonerequest.ts +0 -6
- package/src/models/components/index.ts +8 -0
- package/src/models/components/repositorylist.ts +53 -0
- package/src/models/components/resolvedreference.ts +82 -0
- package/src/models/components/resolvereferencerequest.ts +64 -0
- package/src/models/operations/connectapiv1sandboxgithuboauthconnectionspost.ts +81 -0
- package/src/models/operations/createintentapiv1sandboxgithuboauthintentspost.ts +74 -0
- package/src/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.ts +73 -0
- package/src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts +73 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.ts +73 -0
- package/src/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.ts +76 -0
- package/src/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.ts +80 -0
- package/src/react-query/index.ts +7 -0
- package/src/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +128 -0
- package/src/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +126 -0
- package/src/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +126 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.ts +89 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +149 -0
- package/src/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.ts +89 -0
- package/src/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +149 -0
- package/src/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +127 -0
- package/src/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +129 -0
- package/src/sdk/schema3other.ts +124 -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.53.
|
|
52880
|
-
genVersion: "2.
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.53.
|
|
52879
|
+
sdkVersion: "0.53.30",
|
|
52880
|
+
genVersion: "2.931.0",
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.53.30 2.931.0 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -56701,6 +56701,33 @@ var init_allowedtools = __esm(() => {
|
|
|
56701
56701
|
});
|
|
56702
56702
|
});
|
|
56703
56703
|
|
|
56704
|
+
// src/models/components/authorizeintent.ts
|
|
56705
|
+
var AuthorizeIntent$inboundSchema, AuthorizeIntent$outboundSchema;
|
|
56706
|
+
var init_authorizeintent = __esm(() => {
|
|
56707
|
+
init_esm();
|
|
56708
|
+
init_primitives();
|
|
56709
|
+
AuthorizeIntent$inboundSchema = objectType({
|
|
56710
|
+
state: stringType(),
|
|
56711
|
+
authorize_url: stringType(),
|
|
56712
|
+
expires_in_seconds: numberType().int()
|
|
56713
|
+
}).transform((v2) => {
|
|
56714
|
+
return remap(v2, {
|
|
56715
|
+
authorize_url: "authorizeUrl",
|
|
56716
|
+
expires_in_seconds: "expiresInSeconds"
|
|
56717
|
+
});
|
|
56718
|
+
});
|
|
56719
|
+
AuthorizeIntent$outboundSchema = objectType({
|
|
56720
|
+
state: stringType(),
|
|
56721
|
+
authorizeUrl: stringType(),
|
|
56722
|
+
expiresInSeconds: numberType().int()
|
|
56723
|
+
}).transform((v2) => {
|
|
56724
|
+
return remap(v2, {
|
|
56725
|
+
authorizeUrl: "authorize_url",
|
|
56726
|
+
expiresInSeconds: "expires_in_seconds"
|
|
56727
|
+
});
|
|
56728
|
+
});
|
|
56729
|
+
});
|
|
56730
|
+
|
|
56704
56731
|
// src/models/components/autochunkingstrategy.ts
|
|
56705
56732
|
var AutoChunkingStrategy$inboundSchema, AutoChunkingStrategy$outboundSchema;
|
|
56706
56733
|
var init_autochunkingstrategy = __esm(() => {
|
|
@@ -61721,6 +61748,98 @@ var init_computeusage = __esm(() => {
|
|
|
61721
61748
|
});
|
|
61722
61749
|
});
|
|
61723
61750
|
|
|
61751
|
+
// src/models/components/connectedrepository.ts
|
|
61752
|
+
var ConnectedRepository$inboundSchema, ConnectedRepository$outboundSchema;
|
|
61753
|
+
var init_connectedrepository = __esm(() => {
|
|
61754
|
+
init_esm();
|
|
61755
|
+
init_primitives();
|
|
61756
|
+
ConnectedRepository$inboundSchema = objectType({
|
|
61757
|
+
repository_id: numberType().int(),
|
|
61758
|
+
owner: stringType(),
|
|
61759
|
+
repository: stringType(),
|
|
61760
|
+
private: booleanType(),
|
|
61761
|
+
default_branch: nullableType(stringType()).optional()
|
|
61762
|
+
}).transform((v2) => {
|
|
61763
|
+
return remap(v2, {
|
|
61764
|
+
repository_id: "repositoryId",
|
|
61765
|
+
default_branch: "defaultBranch"
|
|
61766
|
+
});
|
|
61767
|
+
});
|
|
61768
|
+
ConnectedRepository$outboundSchema = objectType({
|
|
61769
|
+
repositoryId: numberType().int(),
|
|
61770
|
+
owner: stringType(),
|
|
61771
|
+
repository: stringType(),
|
|
61772
|
+
private: booleanType(),
|
|
61773
|
+
defaultBranch: nullableType(stringType()).optional()
|
|
61774
|
+
}).transform((v2) => {
|
|
61775
|
+
return remap(v2, {
|
|
61776
|
+
repositoryId: "repository_id",
|
|
61777
|
+
defaultBranch: "default_branch"
|
|
61778
|
+
});
|
|
61779
|
+
});
|
|
61780
|
+
});
|
|
61781
|
+
|
|
61782
|
+
// src/models/components/connection.ts
|
|
61783
|
+
var Connection$inboundSchema, Connection$outboundSchema;
|
|
61784
|
+
var init_connection = __esm(() => {
|
|
61785
|
+
init_esm();
|
|
61786
|
+
init_primitives();
|
|
61787
|
+
init_connectedrepository();
|
|
61788
|
+
Connection$inboundSchema = objectType({
|
|
61789
|
+
github_login: stringType(),
|
|
61790
|
+
github_user_id: numberType().int(),
|
|
61791
|
+
scopes: stringType(),
|
|
61792
|
+
synced_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
61793
|
+
repositories: arrayType(ConnectedRepository$inboundSchema)
|
|
61794
|
+
}).transform((v2) => {
|
|
61795
|
+
return remap(v2, {
|
|
61796
|
+
github_login: "githubLogin",
|
|
61797
|
+
github_user_id: "githubUserId",
|
|
61798
|
+
synced_at: "syncedAt"
|
|
61799
|
+
});
|
|
61800
|
+
});
|
|
61801
|
+
Connection$outboundSchema = objectType({
|
|
61802
|
+
githubLogin: stringType(),
|
|
61803
|
+
githubUserId: numberType().int(),
|
|
61804
|
+
scopes: stringType(),
|
|
61805
|
+
syncedAt: dateType().transform((v2) => v2.toISOString()),
|
|
61806
|
+
repositories: arrayType(ConnectedRepository$outboundSchema)
|
|
61807
|
+
}).transform((v2) => {
|
|
61808
|
+
return remap(v2, {
|
|
61809
|
+
githubLogin: "github_login",
|
|
61810
|
+
githubUserId: "github_user_id",
|
|
61811
|
+
syncedAt: "synced_at"
|
|
61812
|
+
});
|
|
61813
|
+
});
|
|
61814
|
+
});
|
|
61815
|
+
|
|
61816
|
+
// src/models/components/connectionenvelope.ts
|
|
61817
|
+
var ConnectionEnvelope$inboundSchema, ConnectionEnvelope$outboundSchema;
|
|
61818
|
+
var init_connectionenvelope = __esm(() => {
|
|
61819
|
+
init_esm();
|
|
61820
|
+
init_connection();
|
|
61821
|
+
ConnectionEnvelope$inboundSchema = objectType({
|
|
61822
|
+
connection: nullableType(Connection$inboundSchema).optional()
|
|
61823
|
+
});
|
|
61824
|
+
ConnectionEnvelope$outboundSchema = objectType({
|
|
61825
|
+
connection: nullableType(Connection$outboundSchema).optional()
|
|
61826
|
+
});
|
|
61827
|
+
});
|
|
61828
|
+
|
|
61829
|
+
// src/models/components/connectrequest.ts
|
|
61830
|
+
var ConnectRequest$inboundSchema, ConnectRequest$outboundSchema;
|
|
61831
|
+
var init_connectrequest = __esm(() => {
|
|
61832
|
+
init_esm();
|
|
61833
|
+
ConnectRequest$inboundSchema = objectType({
|
|
61834
|
+
code: stringType(),
|
|
61835
|
+
state: stringType()
|
|
61836
|
+
});
|
|
61837
|
+
ConnectRequest$outboundSchema = objectType({
|
|
61838
|
+
code: stringType(),
|
|
61839
|
+
state: stringType()
|
|
61840
|
+
});
|
|
61841
|
+
});
|
|
61842
|
+
|
|
61724
61843
|
// src/models/components/conversation.ts
|
|
61725
61844
|
var Conversation$inboundSchema, Conversation$outboundSchema;
|
|
61726
61845
|
var init_conversation = __esm(() => {
|
|
@@ -67173,7 +67292,6 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67173
67292
|
init_primitives();
|
|
67174
67293
|
GitHubReadCloneRequest$inboundSchema = objectType({
|
|
67175
67294
|
assignment_generation: numberType().int(),
|
|
67176
|
-
installation_id: numberType().int(),
|
|
67177
67295
|
repository_id: numberType().int(),
|
|
67178
67296
|
owner: stringType(),
|
|
67179
67297
|
repository: stringType(),
|
|
@@ -67181,14 +67299,12 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67181
67299
|
}).transform((v2) => {
|
|
67182
67300
|
return remap(v2, {
|
|
67183
67301
|
assignment_generation: "assignmentGeneration",
|
|
67184
|
-
installation_id: "installationId",
|
|
67185
67302
|
repository_id: "repositoryId",
|
|
67186
67303
|
base_sha: "baseSha"
|
|
67187
67304
|
});
|
|
67188
67305
|
});
|
|
67189
67306
|
GitHubReadCloneRequest$outboundSchema = objectType({
|
|
67190
67307
|
assignmentGeneration: numberType().int(),
|
|
67191
|
-
installationId: numberType().int(),
|
|
67192
67308
|
repositoryId: numberType().int(),
|
|
67193
67309
|
owner: stringType(),
|
|
67194
67310
|
repository: stringType(),
|
|
@@ -67196,7 +67312,6 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67196
67312
|
}).transform((v2) => {
|
|
67197
67313
|
return remap(v2, {
|
|
67198
67314
|
assignmentGeneration: "assignment_generation",
|
|
67199
|
-
installationId: "installation_id",
|
|
67200
67315
|
repositoryId: "repository_id",
|
|
67201
67316
|
baseSha: "base_sha"
|
|
67202
67317
|
});
|
|
@@ -71296,6 +71411,75 @@ var init_repo = __esm(() => {
|
|
|
71296
71411
|
});
|
|
71297
71412
|
});
|
|
71298
71413
|
|
|
71414
|
+
// src/models/components/repositorylist.ts
|
|
71415
|
+
var RepositoryList$inboundSchema, RepositoryList$outboundSchema;
|
|
71416
|
+
var init_repositorylist = __esm(() => {
|
|
71417
|
+
init_esm();
|
|
71418
|
+
init_connectedrepository();
|
|
71419
|
+
RepositoryList$inboundSchema = objectType({
|
|
71420
|
+
repositories: arrayType(ConnectedRepository$inboundSchema)
|
|
71421
|
+
});
|
|
71422
|
+
RepositoryList$outboundSchema = objectType({
|
|
71423
|
+
repositories: arrayType(ConnectedRepository$outboundSchema)
|
|
71424
|
+
});
|
|
71425
|
+
});
|
|
71426
|
+
|
|
71427
|
+
// src/models/components/resolvedreference.ts
|
|
71428
|
+
var ResolvedReference$inboundSchema, ResolvedReference$outboundSchema;
|
|
71429
|
+
var init_resolvedreference = __esm(() => {
|
|
71430
|
+
init_esm();
|
|
71431
|
+
init_primitives();
|
|
71432
|
+
ResolvedReference$inboundSchema = objectType({
|
|
71433
|
+
repository_id: numberType().int(),
|
|
71434
|
+
owner: stringType(),
|
|
71435
|
+
repository: stringType(),
|
|
71436
|
+
ref: stringType(),
|
|
71437
|
+
sha: stringType(),
|
|
71438
|
+
default_branch: stringType()
|
|
71439
|
+
}).transform((v2) => {
|
|
71440
|
+
return remap(v2, {
|
|
71441
|
+
repository_id: "repositoryId",
|
|
71442
|
+
default_branch: "defaultBranch"
|
|
71443
|
+
});
|
|
71444
|
+
});
|
|
71445
|
+
ResolvedReference$outboundSchema = objectType({
|
|
71446
|
+
repositoryId: numberType().int(),
|
|
71447
|
+
owner: stringType(),
|
|
71448
|
+
repository: stringType(),
|
|
71449
|
+
ref: stringType(),
|
|
71450
|
+
sha: stringType(),
|
|
71451
|
+
defaultBranch: stringType()
|
|
71452
|
+
}).transform((v2) => {
|
|
71453
|
+
return remap(v2, {
|
|
71454
|
+
repositoryId: "repository_id",
|
|
71455
|
+
defaultBranch: "default_branch"
|
|
71456
|
+
});
|
|
71457
|
+
});
|
|
71458
|
+
});
|
|
71459
|
+
|
|
71460
|
+
// src/models/components/resolvereferencerequest.ts
|
|
71461
|
+
var ResolveReferenceRequest$inboundSchema, ResolveReferenceRequest$outboundSchema;
|
|
71462
|
+
var init_resolvereferencerequest = __esm(() => {
|
|
71463
|
+
init_esm();
|
|
71464
|
+
init_primitives();
|
|
71465
|
+
ResolveReferenceRequest$inboundSchema = objectType({
|
|
71466
|
+
repository_id: numberType().int(),
|
|
71467
|
+
ref: nullableType(stringType()).optional()
|
|
71468
|
+
}).transform((v2) => {
|
|
71469
|
+
return remap(v2, {
|
|
71470
|
+
repository_id: "repositoryId"
|
|
71471
|
+
});
|
|
71472
|
+
});
|
|
71473
|
+
ResolveReferenceRequest$outboundSchema = objectType({
|
|
71474
|
+
repositoryId: numberType().int(),
|
|
71475
|
+
ref: nullableType(stringType()).optional()
|
|
71476
|
+
}).transform((v2) => {
|
|
71477
|
+
return remap(v2, {
|
|
71478
|
+
repositoryId: "repository_id"
|
|
71479
|
+
});
|
|
71480
|
+
});
|
|
71481
|
+
});
|
|
71482
|
+
|
|
71299
71483
|
// src/models/components/responsestatus.ts
|
|
71300
71484
|
var ResponseStatus, ResponseStatus$inboundSchema, ResponseStatus$outboundSchema;
|
|
71301
71485
|
var init_responsestatus = __esm(() => {
|
|
@@ -77480,6 +77664,7 @@ var init_components = __esm(() => {
|
|
|
77480
77664
|
init_agentversion();
|
|
77481
77665
|
init_agentversionlist();
|
|
77482
77666
|
init_allowedtools();
|
|
77667
|
+
init_authorizeintent();
|
|
77483
77668
|
init_autochunkingstrategy();
|
|
77484
77669
|
init_autoendpoint();
|
|
77485
77670
|
init_banwordsconfig();
|
|
@@ -77585,6 +77770,10 @@ var init_components = __esm(() => {
|
|
|
77585
77770
|
init_computevolumedata();
|
|
77586
77771
|
init_computevolumedatainput();
|
|
77587
77772
|
init_computevolumeinput();
|
|
77773
|
+
init_connectedrepository();
|
|
77774
|
+
init_connection();
|
|
77775
|
+
init_connectionenvelope();
|
|
77776
|
+
init_connectrequest();
|
|
77588
77777
|
init_containerfilecitation();
|
|
77589
77778
|
init_conversation();
|
|
77590
77779
|
init_conversationdeletedobject();
|
|
@@ -77851,7 +78040,10 @@ var init_components = __esm(() => {
|
|
|
77851
78040
|
init_registrysource();
|
|
77852
78041
|
init_reinforcementhyperparameters();
|
|
77853
78042
|
init_repo();
|
|
78043
|
+
init_repositorylist();
|
|
77854
78044
|
init_requestcounts();
|
|
78045
|
+
init_resolvedreference();
|
|
78046
|
+
init_resolvereferencerequest();
|
|
77855
78047
|
init_resourcerole();
|
|
77856
78048
|
init_responsecancelledevent();
|
|
77857
78049
|
init_responsecodeinterpretercallcodedeltaevent();
|
|
@@ -84501,6 +84693,32 @@ var init_compactresponse = __esm(() => {
|
|
|
84501
84693
|
});
|
|
84502
84694
|
});
|
|
84503
84695
|
|
|
84696
|
+
// src/models/operations/connectapiv1sandboxgithuboauthconnectionspost.ts
|
|
84697
|
+
var ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema, ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema;
|
|
84698
|
+
var init_connectapiv1sandboxgithuboauthconnectionspost = __esm(() => {
|
|
84699
|
+
init_esm();
|
|
84700
|
+
init_primitives();
|
|
84701
|
+
init_components();
|
|
84702
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema = objectType({
|
|
84703
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
84704
|
+
ConnectRequest: ConnectRequest$inboundSchema
|
|
84705
|
+
}).transform((v2) => {
|
|
84706
|
+
return remap(v2, {
|
|
84707
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
84708
|
+
ConnectRequest: "connectRequest"
|
|
84709
|
+
});
|
|
84710
|
+
});
|
|
84711
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema = objectType({
|
|
84712
|
+
xOnBehalfOf: stringType().optional(),
|
|
84713
|
+
connectRequest: ConnectRequest$outboundSchema
|
|
84714
|
+
}).transform((v2) => {
|
|
84715
|
+
return remap(v2, {
|
|
84716
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
84717
|
+
connectRequest: "ConnectRequest"
|
|
84718
|
+
});
|
|
84719
|
+
});
|
|
84720
|
+
});
|
|
84721
|
+
|
|
84504
84722
|
// src/models/operations/conversationscreate.ts
|
|
84505
84723
|
var ConversationsCreateRequest$inboundSchema, ConversationsCreateRequest$outboundSchema;
|
|
84506
84724
|
var init_conversationscreate = __esm(() => {
|
|
@@ -86353,6 +86571,27 @@ var init_createimage = __esm(() => {
|
|
|
86353
86571
|
});
|
|
86354
86572
|
});
|
|
86355
86573
|
|
|
86574
|
+
// src/models/operations/createintentapiv1sandboxgithuboauthintentspost.ts
|
|
86575
|
+
var CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema, CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema;
|
|
86576
|
+
var init_createintentapiv1sandboxgithuboauthintentspost = __esm(() => {
|
|
86577
|
+
init_esm();
|
|
86578
|
+
init_primitives();
|
|
86579
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema = objectType({
|
|
86580
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
86581
|
+
}).transform((v2) => {
|
|
86582
|
+
return remap(v2, {
|
|
86583
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
86584
|
+
});
|
|
86585
|
+
});
|
|
86586
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema = objectType({
|
|
86587
|
+
xOnBehalfOf: stringType().optional()
|
|
86588
|
+
}).transform((v2) => {
|
|
86589
|
+
return remap(v2, {
|
|
86590
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
86591
|
+
});
|
|
86592
|
+
});
|
|
86593
|
+
});
|
|
86594
|
+
|
|
86356
86595
|
// src/models/operations/createjob.ts
|
|
86357
86596
|
var CreateJobRequest$inboundSchema, CreateJobRequest$outboundSchema, CreateJobResponse$inboundSchema, CreateJobResponse$outboundSchema;
|
|
86358
86597
|
var init_createjob = __esm(() => {
|
|
@@ -88211,6 +88450,27 @@ var init_deletevectorstorefile = __esm(() => {
|
|
|
88211
88450
|
});
|
|
88212
88451
|
});
|
|
88213
88452
|
|
|
88453
|
+
// src/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.ts
|
|
88454
|
+
var DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema, DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema;
|
|
88455
|
+
var init_disconnectapiv1sandboxgithuboauthconnectionsdelete = __esm(() => {
|
|
88456
|
+
init_esm();
|
|
88457
|
+
init_primitives();
|
|
88458
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema = objectType({
|
|
88459
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
88460
|
+
}).transform((v2) => {
|
|
88461
|
+
return remap(v2, {
|
|
88462
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
88463
|
+
});
|
|
88464
|
+
});
|
|
88465
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema = objectType({
|
|
88466
|
+
xOnBehalfOf: stringType().optional()
|
|
88467
|
+
}).transform((v2) => {
|
|
88468
|
+
return remap(v2, {
|
|
88469
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
88470
|
+
});
|
|
88471
|
+
});
|
|
88472
|
+
});
|
|
88473
|
+
|
|
88214
88474
|
// src/models/operations/downloadworkspacearchive.ts
|
|
88215
88475
|
var DownloadWorkspaceArchiveRequest$inboundSchema, DownloadWorkspaceArchiveRequest$outboundSchema;
|
|
88216
88476
|
var init_downloadworkspacearchive = __esm(() => {
|
|
@@ -89360,6 +89620,27 @@ var init_getcomputeusage = __esm(() => {
|
|
|
89360
89620
|
]);
|
|
89361
89621
|
});
|
|
89362
89622
|
|
|
89623
|
+
// src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts
|
|
89624
|
+
var GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema, GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema;
|
|
89625
|
+
var init_getconnectionapiv1sandboxgithuboauthconnectionsget = __esm(() => {
|
|
89626
|
+
init_esm();
|
|
89627
|
+
init_primitives();
|
|
89628
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema = objectType({
|
|
89629
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
89630
|
+
}).transform((v2) => {
|
|
89631
|
+
return remap(v2, {
|
|
89632
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
89633
|
+
});
|
|
89634
|
+
});
|
|
89635
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema = objectType({
|
|
89636
|
+
xOnBehalfOf: stringType().optional()
|
|
89637
|
+
}).transform((v2) => {
|
|
89638
|
+
return remap(v2, {
|
|
89639
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
89640
|
+
});
|
|
89641
|
+
});
|
|
89642
|
+
});
|
|
89643
|
+
|
|
89363
89644
|
// src/models/operations/getconversationsusage.ts
|
|
89364
89645
|
var GetConversationsUsageRequest$inboundSchema, GetConversationsUsageRequest$outboundSchema, GetConversationsUsageData$inboundSchema, GetConversationsUsageData$outboundSchema, GetConversationsUsageResponseBody$inboundSchema, GetConversationsUsageResponseBody$outboundSchema;
|
|
89365
89646
|
var init_getconversationsusage = __esm(() => {
|
|
@@ -95148,6 +95429,27 @@ var init_listrepos = __esm(() => {
|
|
|
95148
95429
|
});
|
|
95149
95430
|
});
|
|
95150
95431
|
|
|
95432
|
+
// src/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.ts
|
|
95433
|
+
var ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema, ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema;
|
|
95434
|
+
var init_listrepositoriesapiv1sandboxgithubrepositoriesget = __esm(() => {
|
|
95435
|
+
init_esm();
|
|
95436
|
+
init_primitives();
|
|
95437
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema = objectType({
|
|
95438
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
95439
|
+
}).transform((v2) => {
|
|
95440
|
+
return remap(v2, {
|
|
95441
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
95442
|
+
});
|
|
95443
|
+
});
|
|
95444
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema = objectType({
|
|
95445
|
+
xOnBehalfOf: stringType().optional()
|
|
95446
|
+
}).transform((v2) => {
|
|
95447
|
+
return remap(v2, {
|
|
95448
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
95449
|
+
});
|
|
95450
|
+
});
|
|
95451
|
+
});
|
|
95452
|
+
|
|
95151
95453
|
// src/models/operations/listresponsefeedback.ts
|
|
95152
95454
|
var ListResponseFeedbackQueryParamOrder, ListResponseFeedbackQueryParamRating, ListResponseFeedbackQueryParamOrder$inboundSchema, ListResponseFeedbackQueryParamOrder$outboundSchema, ListResponseFeedbackQueryParamRating$inboundSchema, ListResponseFeedbackQueryParamRating$outboundSchema, ListResponseFeedbackRequest$inboundSchema, ListResponseFeedbackRequest$outboundSchema;
|
|
95153
95455
|
var init_listresponsefeedback = __esm(() => {
|
|
@@ -96258,6 +96560,27 @@ var init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost = __esm(() =>
|
|
|
96258
96560
|
});
|
|
96259
96561
|
});
|
|
96260
96562
|
|
|
96563
|
+
// src/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.ts
|
|
96564
|
+
var RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema, RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema;
|
|
96565
|
+
var init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost = __esm(() => {
|
|
96566
|
+
init_esm();
|
|
96567
|
+
init_primitives();
|
|
96568
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema = objectType({
|
|
96569
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
96570
|
+
}).transform((v2) => {
|
|
96571
|
+
return remap(v2, {
|
|
96572
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
96573
|
+
});
|
|
96574
|
+
});
|
|
96575
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema = objectType({
|
|
96576
|
+
xOnBehalfOf: stringType().optional()
|
|
96577
|
+
}).transform((v2) => {
|
|
96578
|
+
return remap(v2, {
|
|
96579
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
96580
|
+
});
|
|
96581
|
+
});
|
|
96582
|
+
});
|
|
96583
|
+
|
|
96261
96584
|
// src/models/operations/regeneratescopedapikey.ts
|
|
96262
96585
|
var RegenerateScopedApiKeyRequestBody$inboundSchema, RegenerateScopedApiKeyRequestBody$outboundSchema, RegenerateScopedApiKeyRequest$inboundSchema, RegenerateScopedApiKeyRequest$outboundSchema, RegenerateScopedApiKeyResponseBody$inboundSchema2, RegenerateScopedApiKeyResponseBody$outboundSchema2;
|
|
96263
96586
|
var init_regeneratescopedapikey2 = __esm(() => {
|
|
@@ -96724,6 +97047,32 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96724
97047
|
});
|
|
96725
97048
|
});
|
|
96726
97049
|
|
|
97050
|
+
// src/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.ts
|
|
97051
|
+
var ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema, ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema;
|
|
97052
|
+
var init_resolvereferenceapiv1sandboxgithubrepositoriesresolvepost = __esm(() => {
|
|
97053
|
+
init_esm();
|
|
97054
|
+
init_primitives();
|
|
97055
|
+
init_components();
|
|
97056
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema = objectType({
|
|
97057
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
97058
|
+
ResolveReferenceRequest: ResolveReferenceRequest$inboundSchema
|
|
97059
|
+
}).transform((v2) => {
|
|
97060
|
+
return remap(v2, {
|
|
97061
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
97062
|
+
ResolveReferenceRequest: "resolveReferenceRequest"
|
|
97063
|
+
});
|
|
97064
|
+
});
|
|
97065
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema = objectType({
|
|
97066
|
+
xOnBehalfOf: stringType().optional(),
|
|
97067
|
+
resolveReferenceRequest: ResolveReferenceRequest$outboundSchema
|
|
97068
|
+
}).transform((v2) => {
|
|
97069
|
+
return remap(v2, {
|
|
97070
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
97071
|
+
resolveReferenceRequest: "ResolveReferenceRequest"
|
|
97072
|
+
});
|
|
97073
|
+
});
|
|
97074
|
+
});
|
|
97075
|
+
|
|
96727
97076
|
// src/models/operations/resumeagentschedule.ts
|
|
96728
97077
|
var ResumeAgentScheduleRequest$inboundSchema, ResumeAgentScheduleRequest$outboundSchema;
|
|
96729
97078
|
var init_resumeagentschedule = __esm(() => {
|
|
@@ -99609,6 +99958,7 @@ var init_operations = __esm(() => {
|
|
|
99609
99958
|
init_clearclusterprice();
|
|
99610
99959
|
init_clearorgprice();
|
|
99611
99960
|
init_compactresponse();
|
|
99961
|
+
init_connectapiv1sandboxgithuboauthconnectionspost();
|
|
99612
99962
|
init_conversationscreate();
|
|
99613
99963
|
init_conversationsdelete();
|
|
99614
99964
|
init_conversationsitemscreate();
|
|
@@ -99636,6 +99986,7 @@ var init_operations = __esm(() => {
|
|
|
99636
99986
|
init_createevalsuiteversion();
|
|
99637
99987
|
init_createextractschema();
|
|
99638
99988
|
init_createimage();
|
|
99989
|
+
init_createintentapiv1sandboxgithuboauthintentspost();
|
|
99639
99990
|
init_createjob();
|
|
99640
99991
|
init_createmcpcredential();
|
|
99641
99992
|
init_createmcpserver();
|
|
@@ -99689,6 +100040,7 @@ var init_operations = __esm(() => {
|
|
|
99689
100040
|
init_deletetexttospeechhistory();
|
|
99690
100041
|
init_deletevectorstore();
|
|
99691
100042
|
init_deletevectorstorefile();
|
|
100043
|
+
init_disconnectapiv1sandboxgithuboauthconnectionsdelete();
|
|
99692
100044
|
init_downloadworkspacearchive();
|
|
99693
100045
|
init_downloadworkspacefile();
|
|
99694
100046
|
init_embed();
|
|
@@ -99714,6 +100066,7 @@ var init_operations = __esm(() => {
|
|
|
99714
100066
|
init_getcomputesecret();
|
|
99715
100067
|
init_getcomputetenant();
|
|
99716
100068
|
init_getcomputeusage();
|
|
100069
|
+
init_getconnectionapiv1sandboxgithuboauthconnectionsget();
|
|
99717
100070
|
init_getconversationsusage();
|
|
99718
100071
|
init_getcosts();
|
|
99719
100072
|
init_getcostsusage();
|
|
@@ -99816,6 +100169,7 @@ var init_operations = __esm(() => {
|
|
|
99816
100169
|
init_listprompts();
|
|
99817
100170
|
init_listpromptversions();
|
|
99818
100171
|
init_listrepos();
|
|
100172
|
+
init_listrepositoriesapiv1sandboxgithubrepositoriesget();
|
|
99819
100173
|
init_listresponsefeedback();
|
|
99820
100174
|
init_listresponses();
|
|
99821
100175
|
init_listscopedapikeys2();
|
|
@@ -99847,12 +100201,14 @@ var init_operations = __esm(() => {
|
|
|
99847
100201
|
init_putcomputetenant();
|
|
99848
100202
|
init_putorgautomodel();
|
|
99849
100203
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
100204
|
+
init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost();
|
|
99850
100205
|
init_regeneratescopedapikey2();
|
|
99851
100206
|
init_regenerateserviceaccountapikey2();
|
|
99852
100207
|
init_reissueownerkey2();
|
|
99853
100208
|
init_removeteammember2();
|
|
99854
100209
|
init_replacemodelcatalogorgaccess();
|
|
99855
100210
|
init_rerunfailedevalsamples();
|
|
100211
|
+
init_resolvereferenceapiv1sandboxgithubrepositoriesresolvepost();
|
|
99856
100212
|
init_resumeagentschedule();
|
|
99857
100213
|
init_resumefinetuningjob();
|
|
99858
100214
|
init_retrievefinetuningjob();
|
|
@@ -135693,13 +136049,978 @@ async function $do305(client, request, options) {
|
|
|
135693
136049
|
const responseFields = {
|
|
135694
136050
|
HttpMeta: { Response: response, Request: req }
|
|
135695
136051
|
};
|
|
135696
|
-
const [result] = await match(json(200, ListReposResponseBody$inboundSchema), jsonErr([401, 403], RepoError$inboundSchema), jsonErr([500, 503], RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136052
|
+
const [result] = await match(json(200, ListReposResponseBody$inboundSchema), jsonErr([401, 403], RepoError$inboundSchema), jsonErr([500, 503], RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136053
|
+
if (!result.ok) {
|
|
136054
|
+
return [result, { status: "complete", request: req, response }];
|
|
136055
|
+
}
|
|
136056
|
+
return [result, { status: "complete", request: req, response }];
|
|
136057
|
+
}
|
|
136058
|
+
var init_reposList = __esm(() => {
|
|
136059
|
+
init_encodings();
|
|
136060
|
+
init_http();
|
|
136061
|
+
init_matchers();
|
|
136062
|
+
init_primitives();
|
|
136063
|
+
init_schemas4();
|
|
136064
|
+
init_security();
|
|
136065
|
+
init_url();
|
|
136066
|
+
init_errors4();
|
|
136067
|
+
init_operations();
|
|
136068
|
+
init_async();
|
|
136069
|
+
});
|
|
136070
|
+
|
|
136071
|
+
// src/mcp-server/tools/reposList.ts
|
|
136072
|
+
var args297, tool$reposList;
|
|
136073
|
+
var init_reposList2 = __esm(() => {
|
|
136074
|
+
init_reposList();
|
|
136075
|
+
init_operations();
|
|
136076
|
+
init_tools();
|
|
136077
|
+
args297 = {
|
|
136078
|
+
request: ListReposRequest$inboundSchema
|
|
136079
|
+
};
|
|
136080
|
+
tool$reposList = {
|
|
136081
|
+
name: "repos-list",
|
|
136082
|
+
description: `List the caller's org's repositories
|
|
136083
|
+
|
|
136084
|
+
Returns every repository in the caller's org (org owner/admin only).
|
|
136085
|
+
Pure DB read.
|
|
136086
|
+
`,
|
|
136087
|
+
args: args297,
|
|
136088
|
+
tool: async (client, args298, ctx) => {
|
|
136089
|
+
const [result, apiCall] = await reposList(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136090
|
+
if (!result.ok) {
|
|
136091
|
+
return {
|
|
136092
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136093
|
+
isError: true
|
|
136094
|
+
};
|
|
136095
|
+
}
|
|
136096
|
+
const value = result.value;
|
|
136097
|
+
return formatResult(value, apiCall);
|
|
136098
|
+
}
|
|
136099
|
+
};
|
|
136100
|
+
});
|
|
136101
|
+
|
|
136102
|
+
// src/funcs/reposUpdate.ts
|
|
136103
|
+
function reposUpdate(client, request, options) {
|
|
136104
|
+
return new APIPromise($do306(client, request, options));
|
|
136105
|
+
}
|
|
136106
|
+
async function $do306(client, request, options) {
|
|
136107
|
+
const parsed = safeParse4(request, (value) => PatchRepoRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
136108
|
+
if (!parsed.ok) {
|
|
136109
|
+
return [parsed, { status: "invalid" }];
|
|
136110
|
+
}
|
|
136111
|
+
const payload = parsed.value;
|
|
136112
|
+
const body = encodeJSON("body", payload.PatchRepoRequest, { explode: true });
|
|
136113
|
+
const pathParams = {
|
|
136114
|
+
name: encodeSimple("name", payload.name, {
|
|
136115
|
+
explode: false,
|
|
136116
|
+
charEncoding: "percent"
|
|
136117
|
+
}),
|
|
136118
|
+
org: encodeSimple("org", payload.org, {
|
|
136119
|
+
explode: false,
|
|
136120
|
+
charEncoding: "percent"
|
|
136121
|
+
})
|
|
136122
|
+
};
|
|
136123
|
+
const path = pathToFunc("/api/v1/repos/{org}/{name}")(pathParams);
|
|
136124
|
+
const headers = new Headers(compactMap({
|
|
136125
|
+
"Content-Type": "application/json",
|
|
136126
|
+
Accept: "application/json",
|
|
136127
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136128
|
+
}));
|
|
136129
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136130
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136131
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136132
|
+
const context = {
|
|
136133
|
+
options: client._options,
|
|
136134
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136135
|
+
operationID: "patchRepo",
|
|
136136
|
+
oAuth2Scopes: null,
|
|
136137
|
+
resolvedSecurity: requestSecurity,
|
|
136138
|
+
securitySource: client._options.bearerAuth,
|
|
136139
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136140
|
+
strategy: "backoff",
|
|
136141
|
+
backoff: {
|
|
136142
|
+
initialInterval: 500,
|
|
136143
|
+
maxInterval: 5000,
|
|
136144
|
+
exponent: 1.5,
|
|
136145
|
+
maxElapsedTime: 15000
|
|
136146
|
+
},
|
|
136147
|
+
retryConnectionErrors: true
|
|
136148
|
+
},
|
|
136149
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136150
|
+
};
|
|
136151
|
+
const requestRes = client._createRequest(context, {
|
|
136152
|
+
security: requestSecurity,
|
|
136153
|
+
method: "PATCH",
|
|
136154
|
+
baseURL: options?.serverURL,
|
|
136155
|
+
path,
|
|
136156
|
+
headers,
|
|
136157
|
+
body,
|
|
136158
|
+
userAgent: client._options.userAgent,
|
|
136159
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136160
|
+
}, options);
|
|
136161
|
+
if (!requestRes.ok) {
|
|
136162
|
+
return [requestRes, { status: "invalid" }];
|
|
136163
|
+
}
|
|
136164
|
+
const req = requestRes.value;
|
|
136165
|
+
const doResult = await client._do(req, {
|
|
136166
|
+
context,
|
|
136167
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136168
|
+
retryConfig: context.retryConfig,
|
|
136169
|
+
retryCodes: context.retryCodes
|
|
136170
|
+
});
|
|
136171
|
+
if (!doResult.ok) {
|
|
136172
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136173
|
+
}
|
|
136174
|
+
const response = doResult.value;
|
|
136175
|
+
const responseFields = {
|
|
136176
|
+
HttpMeta: { Response: response, Request: req }
|
|
136177
|
+
};
|
|
136178
|
+
const [result] = await match(json(200, Repo$inboundSchema), jsonErr([400, 401, 403, 404, 409], RepoError$inboundSchema), jsonErr(500, RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136179
|
+
if (!result.ok) {
|
|
136180
|
+
return [result, { status: "complete", request: req, response }];
|
|
136181
|
+
}
|
|
136182
|
+
return [result, { status: "complete", request: req, response }];
|
|
136183
|
+
}
|
|
136184
|
+
var init_reposUpdate = __esm(() => {
|
|
136185
|
+
init_encodings();
|
|
136186
|
+
init_http();
|
|
136187
|
+
init_matchers();
|
|
136188
|
+
init_primitives();
|
|
136189
|
+
init_schemas4();
|
|
136190
|
+
init_security();
|
|
136191
|
+
init_url();
|
|
136192
|
+
init_components();
|
|
136193
|
+
init_errors4();
|
|
136194
|
+
init_operations();
|
|
136195
|
+
init_async();
|
|
136196
|
+
});
|
|
136197
|
+
|
|
136198
|
+
// src/mcp-server/tools/reposUpdate.ts
|
|
136199
|
+
var args298, tool$reposUpdate;
|
|
136200
|
+
var init_reposUpdate2 = __esm(() => {
|
|
136201
|
+
init_reposUpdate();
|
|
136202
|
+
init_operations();
|
|
136203
|
+
init_tools();
|
|
136204
|
+
args298 = {
|
|
136205
|
+
request: PatchRepoRequest$inboundSchema2
|
|
136206
|
+
};
|
|
136207
|
+
tool$reposUpdate = {
|
|
136208
|
+
name: "repos-update",
|
|
136209
|
+
description: `Update a repository's labels
|
|
136210
|
+
|
|
136211
|
+
Applies a label-only update (name/description); org owner/admin only.
|
|
136212
|
+
The repository id is stable, so a rename is a one-row DB update — no
|
|
136213
|
+
Gitea write. Omitted fields are left unchanged.
|
|
136214
|
+
`,
|
|
136215
|
+
args: args298,
|
|
136216
|
+
tool: async (client, args299, ctx) => {
|
|
136217
|
+
const [result, apiCall] = await reposUpdate(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136218
|
+
if (!result.ok) {
|
|
136219
|
+
return {
|
|
136220
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136221
|
+
isError: true
|
|
136222
|
+
};
|
|
136223
|
+
}
|
|
136224
|
+
const value = result.value;
|
|
136225
|
+
return formatResult(value, apiCall);
|
|
136226
|
+
}
|
|
136227
|
+
};
|
|
136228
|
+
});
|
|
136229
|
+
|
|
136230
|
+
// src/funcs/sandboxCreate.ts
|
|
136231
|
+
function sandboxCreate(client, request, options) {
|
|
136232
|
+
return new APIPromise($do307(client, request, options));
|
|
136233
|
+
}
|
|
136234
|
+
async function $do307(client, request, options) {
|
|
136235
|
+
const parsed = safeParse4(request, (value) => CreateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
136236
|
+
if (!parsed.ok) {
|
|
136237
|
+
return [parsed, { status: "invalid" }];
|
|
136238
|
+
}
|
|
136239
|
+
const payload = parsed.value;
|
|
136240
|
+
const body = encodeJSON("body", payload.CreateSessionRequest, {
|
|
136241
|
+
explode: true
|
|
136242
|
+
});
|
|
136243
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
136244
|
+
const headers = new Headers(compactMap({
|
|
136245
|
+
"Content-Type": "application/json",
|
|
136246
|
+
Accept: "application/json",
|
|
136247
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136248
|
+
}));
|
|
136249
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136250
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136251
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136252
|
+
const context = {
|
|
136253
|
+
options: client._options,
|
|
136254
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136255
|
+
operationID: "createSession",
|
|
136256
|
+
oAuth2Scopes: null,
|
|
136257
|
+
resolvedSecurity: requestSecurity,
|
|
136258
|
+
securitySource: client._options.bearerAuth,
|
|
136259
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136260
|
+
strategy: "backoff",
|
|
136261
|
+
backoff: {
|
|
136262
|
+
initialInterval: 500,
|
|
136263
|
+
maxInterval: 5000,
|
|
136264
|
+
exponent: 1.5,
|
|
136265
|
+
maxElapsedTime: 15000
|
|
136266
|
+
},
|
|
136267
|
+
retryConnectionErrors: true
|
|
136268
|
+
},
|
|
136269
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136270
|
+
};
|
|
136271
|
+
const requestRes = client._createRequest(context, {
|
|
136272
|
+
security: requestSecurity,
|
|
136273
|
+
method: "POST",
|
|
136274
|
+
baseURL: options?.serverURL,
|
|
136275
|
+
path,
|
|
136276
|
+
headers,
|
|
136277
|
+
body,
|
|
136278
|
+
userAgent: client._options.userAgent,
|
|
136279
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136280
|
+
}, options);
|
|
136281
|
+
if (!requestRes.ok) {
|
|
136282
|
+
return [requestRes, { status: "invalid" }];
|
|
136283
|
+
}
|
|
136284
|
+
const req = requestRes.value;
|
|
136285
|
+
const doResult = await client._do(req, {
|
|
136286
|
+
context,
|
|
136287
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136288
|
+
retryConfig: context.retryConfig,
|
|
136289
|
+
retryCodes: context.retryCodes
|
|
136290
|
+
});
|
|
136291
|
+
if (!doResult.ok) {
|
|
136292
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136293
|
+
}
|
|
136294
|
+
const response = doResult.value;
|
|
136295
|
+
const responseFields = {
|
|
136296
|
+
HttpMeta: { Response: response, Request: req }
|
|
136297
|
+
};
|
|
136298
|
+
const [result] = await match(json([200, 202], CreateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail([501, "5XX"]))(response, req, { extraFields: responseFields });
|
|
136299
|
+
if (!result.ok) {
|
|
136300
|
+
return [result, { status: "complete", request: req, response }];
|
|
136301
|
+
}
|
|
136302
|
+
return [result, { status: "complete", request: req, response }];
|
|
136303
|
+
}
|
|
136304
|
+
var init_sandboxCreate = __esm(() => {
|
|
136305
|
+
init_encodings();
|
|
136306
|
+
init_http();
|
|
136307
|
+
init_matchers();
|
|
136308
|
+
init_primitives();
|
|
136309
|
+
init_schemas4();
|
|
136310
|
+
init_security();
|
|
136311
|
+
init_url();
|
|
136312
|
+
init_components();
|
|
136313
|
+
init_errors4();
|
|
136314
|
+
init_operations();
|
|
136315
|
+
init_async();
|
|
136316
|
+
});
|
|
136317
|
+
|
|
136318
|
+
// src/mcp-server/tools/sandboxCreate.ts
|
|
136319
|
+
var args299, tool$sandboxCreate;
|
|
136320
|
+
var init_sandboxCreate2 = __esm(() => {
|
|
136321
|
+
init_sandboxCreate();
|
|
136322
|
+
init_operations();
|
|
136323
|
+
init_tools();
|
|
136324
|
+
args299 = {
|
|
136325
|
+
request: CreateSessionRequest$inboundSchema2
|
|
136326
|
+
};
|
|
136327
|
+
tool$sandboxCreate = {
|
|
136328
|
+
name: "sandbox-create",
|
|
136329
|
+
description: `Create Session
|
|
136330
|
+
|
|
136331
|
+
Create a sandbox session and return its public session metadata, session token, and provider. Set \`session_kind\` to \`browser\` to start a browser-backed session instead of a standard command/code sandbox. Set \`queue_if_full\` to \`true\` to queue the request instead of failing when runner capacity is temporarily unavailable. It does not queue requests for session kinds the deployment does not support. Browser sessions require a Firecracker-backed deployment; standard-only deployments reject them immediately with \`browser_sessions_not_enabled\`.`,
|
|
136332
|
+
args: args299,
|
|
136333
|
+
tool: async (client, args300, ctx) => {
|
|
136334
|
+
const [result, apiCall] = await sandboxCreate(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136335
|
+
if (!result.ok) {
|
|
136336
|
+
return {
|
|
136337
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136338
|
+
isError: true
|
|
136339
|
+
};
|
|
136340
|
+
}
|
|
136341
|
+
const value = result.value;
|
|
136342
|
+
return formatResult(value, apiCall);
|
|
136343
|
+
}
|
|
136344
|
+
};
|
|
136345
|
+
});
|
|
136346
|
+
|
|
136347
|
+
// src/funcs/sandboxDownloadArchive.ts
|
|
136348
|
+
function sandboxDownloadArchive(client, request, options) {
|
|
136349
|
+
return new APIPromise($do308(client, request, options));
|
|
136350
|
+
}
|
|
136351
|
+
async function $do308(client, request, options) {
|
|
136352
|
+
const parsed = safeParse4(request, (value) => DownloadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136353
|
+
if (!parsed.ok) {
|
|
136354
|
+
return [parsed, { status: "invalid" }];
|
|
136355
|
+
}
|
|
136356
|
+
const payload = parsed.value;
|
|
136357
|
+
const body = encodeJSON("body", payload.WorkspaceArchiveRequest, {
|
|
136358
|
+
explode: true
|
|
136359
|
+
});
|
|
136360
|
+
const pathParams = {
|
|
136361
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136362
|
+
explode: false,
|
|
136363
|
+
charEncoding: "percent"
|
|
136364
|
+
})
|
|
136365
|
+
};
|
|
136366
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
136367
|
+
const query = encodeFormQuery({
|
|
136368
|
+
session_token: payload.session_token
|
|
136369
|
+
});
|
|
136370
|
+
const headers = new Headers(compactMap({
|
|
136371
|
+
"Content-Type": "application/json",
|
|
136372
|
+
Accept: "application/zip",
|
|
136373
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136374
|
+
}));
|
|
136375
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136376
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136377
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136378
|
+
const context = {
|
|
136379
|
+
options: client._options,
|
|
136380
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136381
|
+
operationID: "downloadWorkspaceArchive",
|
|
136382
|
+
oAuth2Scopes: null,
|
|
136383
|
+
resolvedSecurity: requestSecurity,
|
|
136384
|
+
securitySource: client._options.bearerAuth,
|
|
136385
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136386
|
+
strategy: "backoff",
|
|
136387
|
+
backoff: {
|
|
136388
|
+
initialInterval: 500,
|
|
136389
|
+
maxInterval: 5000,
|
|
136390
|
+
exponent: 1.5,
|
|
136391
|
+
maxElapsedTime: 15000
|
|
136392
|
+
},
|
|
136393
|
+
retryConnectionErrors: true
|
|
136394
|
+
},
|
|
136395
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136396
|
+
};
|
|
136397
|
+
const requestRes = client._createRequest(context, {
|
|
136398
|
+
security: requestSecurity,
|
|
136399
|
+
method: "POST",
|
|
136400
|
+
baseURL: options?.serverURL,
|
|
136401
|
+
path,
|
|
136402
|
+
headers,
|
|
136403
|
+
query,
|
|
136404
|
+
body,
|
|
136405
|
+
userAgent: client._options.userAgent,
|
|
136406
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136407
|
+
}, options);
|
|
136408
|
+
if (!requestRes.ok) {
|
|
136409
|
+
return [requestRes, { status: "invalid" }];
|
|
136410
|
+
}
|
|
136411
|
+
const req = requestRes.value;
|
|
136412
|
+
const doResult = await client._do(req, {
|
|
136413
|
+
context,
|
|
136414
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136415
|
+
retryConfig: context.retryConfig,
|
|
136416
|
+
retryCodes: context.retryCodes
|
|
136417
|
+
});
|
|
136418
|
+
if (!doResult.ok) {
|
|
136419
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136420
|
+
}
|
|
136421
|
+
const response = doResult.value;
|
|
136422
|
+
const responseFields = {
|
|
136423
|
+
HttpMeta: { Response: response, Request: req }
|
|
136424
|
+
};
|
|
136425
|
+
const [result] = await match(stream(200, instanceOfType(ReadableStream), {
|
|
136426
|
+
ctype: "application/zip"
|
|
136427
|
+
}), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136428
|
+
if (!result.ok) {
|
|
136429
|
+
return [result, { status: "complete", request: req, response }];
|
|
136430
|
+
}
|
|
136431
|
+
return [result, { status: "complete", request: req, response }];
|
|
136432
|
+
}
|
|
136433
|
+
var init_sandboxDownloadArchive = __esm(() => {
|
|
136434
|
+
init_esm();
|
|
136435
|
+
init_encodings();
|
|
136436
|
+
init_http();
|
|
136437
|
+
init_matchers();
|
|
136438
|
+
init_primitives();
|
|
136439
|
+
init_schemas4();
|
|
136440
|
+
init_security();
|
|
136441
|
+
init_url();
|
|
136442
|
+
init_errors4();
|
|
136443
|
+
init_operations();
|
|
136444
|
+
init_async();
|
|
136445
|
+
});
|
|
136446
|
+
|
|
136447
|
+
// src/mcp-server/tools/sandboxDownloadArchive.ts
|
|
136448
|
+
var args300, tool$sandboxDownloadArchive;
|
|
136449
|
+
var init_sandboxDownloadArchive2 = __esm(() => {
|
|
136450
|
+
init_sandboxDownloadArchive();
|
|
136451
|
+
init_operations();
|
|
136452
|
+
init_tools();
|
|
136453
|
+
args300 = {
|
|
136454
|
+
request: DownloadWorkspaceArchiveRequest$inboundSchema
|
|
136455
|
+
};
|
|
136456
|
+
tool$sandboxDownloadArchive = {
|
|
136457
|
+
name: "sandbox-download-archive",
|
|
136458
|
+
description: `Download Workspace Archive
|
|
136459
|
+
|
|
136460
|
+
Download a zip archive containing the selected workspace paths.`,
|
|
136461
|
+
args: args300,
|
|
136462
|
+
tool: async (client, args301, ctx) => {
|
|
136463
|
+
const [result, apiCall] = await sandboxDownloadArchive(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136464
|
+
if (!result.ok) {
|
|
136465
|
+
return {
|
|
136466
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136467
|
+
isError: true
|
|
136468
|
+
};
|
|
136469
|
+
}
|
|
136470
|
+
const value = result.value;
|
|
136471
|
+
return formatResult(value, apiCall);
|
|
136472
|
+
}
|
|
136473
|
+
};
|
|
136474
|
+
});
|
|
136475
|
+
|
|
136476
|
+
// src/funcs/sandboxDownloadFile.ts
|
|
136477
|
+
function sandboxDownloadFile(client, request, options) {
|
|
136478
|
+
return new APIPromise($do309(client, request, options));
|
|
136479
|
+
}
|
|
136480
|
+
async function $do309(client, request, options) {
|
|
136481
|
+
const parsed = safeParse4(request, (value) => DownloadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136482
|
+
if (!parsed.ok) {
|
|
136483
|
+
return [parsed, { status: "invalid" }];
|
|
136484
|
+
}
|
|
136485
|
+
const payload = parsed.value;
|
|
136486
|
+
const body = null;
|
|
136487
|
+
const pathParams = {
|
|
136488
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
136489
|
+
explode: false,
|
|
136490
|
+
charEncoding: "percent"
|
|
136491
|
+
}),
|
|
136492
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136493
|
+
explode: false,
|
|
136494
|
+
charEncoding: "percent"
|
|
136495
|
+
})
|
|
136496
|
+
};
|
|
136497
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
136498
|
+
const query = encodeFormQuery({
|
|
136499
|
+
session_token: payload.session_token
|
|
136500
|
+
});
|
|
136501
|
+
const headers = new Headers(compactMap({
|
|
136502
|
+
Accept: "application/octet-stream",
|
|
136503
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136504
|
+
}));
|
|
136505
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136506
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136507
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136508
|
+
const context = {
|
|
136509
|
+
options: client._options,
|
|
136510
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136511
|
+
operationID: "downloadWorkspaceFile",
|
|
136512
|
+
oAuth2Scopes: null,
|
|
136513
|
+
resolvedSecurity: requestSecurity,
|
|
136514
|
+
securitySource: client._options.bearerAuth,
|
|
136515
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136516
|
+
strategy: "backoff",
|
|
136517
|
+
backoff: {
|
|
136518
|
+
initialInterval: 500,
|
|
136519
|
+
maxInterval: 5000,
|
|
136520
|
+
exponent: 1.5,
|
|
136521
|
+
maxElapsedTime: 15000
|
|
136522
|
+
},
|
|
136523
|
+
retryConnectionErrors: true
|
|
136524
|
+
},
|
|
136525
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136526
|
+
};
|
|
136527
|
+
const requestRes = client._createRequest(context, {
|
|
136528
|
+
security: requestSecurity,
|
|
136529
|
+
method: "GET",
|
|
136530
|
+
baseURL: options?.serverURL,
|
|
136531
|
+
path,
|
|
136532
|
+
headers,
|
|
136533
|
+
query,
|
|
136534
|
+
body,
|
|
136535
|
+
userAgent: client._options.userAgent,
|
|
136536
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136537
|
+
}, options);
|
|
136538
|
+
if (!requestRes.ok) {
|
|
136539
|
+
return [requestRes, { status: "invalid" }];
|
|
136540
|
+
}
|
|
136541
|
+
const req = requestRes.value;
|
|
136542
|
+
const doResult = await client._do(req, {
|
|
136543
|
+
context,
|
|
136544
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136545
|
+
retryConfig: context.retryConfig,
|
|
136546
|
+
retryCodes: context.retryCodes
|
|
136547
|
+
});
|
|
136548
|
+
if (!doResult.ok) {
|
|
136549
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136550
|
+
}
|
|
136551
|
+
const response = doResult.value;
|
|
136552
|
+
const responseFields = {
|
|
136553
|
+
HttpMeta: { Response: response, Request: req }
|
|
136554
|
+
};
|
|
136555
|
+
const [result] = await match(stream(200, instanceOfType(ReadableStream)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136556
|
+
if (!result.ok) {
|
|
136557
|
+
return [result, { status: "complete", request: req, response }];
|
|
136558
|
+
}
|
|
136559
|
+
return [result, { status: "complete", request: req, response }];
|
|
136560
|
+
}
|
|
136561
|
+
var init_sandboxDownloadFile = __esm(() => {
|
|
136562
|
+
init_esm();
|
|
136563
|
+
init_encodings();
|
|
136564
|
+
init_http();
|
|
136565
|
+
init_matchers();
|
|
136566
|
+
init_primitives();
|
|
136567
|
+
init_schemas4();
|
|
136568
|
+
init_security();
|
|
136569
|
+
init_url();
|
|
136570
|
+
init_errors4();
|
|
136571
|
+
init_operations();
|
|
136572
|
+
init_async();
|
|
136573
|
+
});
|
|
136574
|
+
|
|
136575
|
+
// src/mcp-server/tools/sandboxDownloadFile.ts
|
|
136576
|
+
var args301, tool$sandboxDownloadFile;
|
|
136577
|
+
var init_sandboxDownloadFile2 = __esm(() => {
|
|
136578
|
+
init_sandboxDownloadFile();
|
|
136579
|
+
init_operations();
|
|
136580
|
+
init_tools();
|
|
136581
|
+
args301 = {
|
|
136582
|
+
request: DownloadWorkspaceFileRequest$inboundSchema
|
|
136583
|
+
};
|
|
136584
|
+
tool$sandboxDownloadFile = {
|
|
136585
|
+
name: "sandbox-download-file",
|
|
136586
|
+
description: `Download Workspace File
|
|
136587
|
+
|
|
136588
|
+
Download raw bytes from a file in the session workspace.`,
|
|
136589
|
+
args: args301,
|
|
136590
|
+
tool: async (client, args302, ctx) => {
|
|
136591
|
+
const [result, apiCall] = await sandboxDownloadFile(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136592
|
+
if (!result.ok) {
|
|
136593
|
+
return {
|
|
136594
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136595
|
+
isError: true
|
|
136596
|
+
};
|
|
136597
|
+
}
|
|
136598
|
+
const value = result.value;
|
|
136599
|
+
return formatResult(value, apiCall);
|
|
136600
|
+
}
|
|
136601
|
+
};
|
|
136602
|
+
});
|
|
136603
|
+
|
|
136604
|
+
// src/funcs/sandboxGet.ts
|
|
136605
|
+
function sandboxGet(client, request, options) {
|
|
136606
|
+
return new APIPromise($do310(client, request, options));
|
|
136607
|
+
}
|
|
136608
|
+
async function $do310(client, request, options) {
|
|
136609
|
+
const parsed = safeParse4(request, (value) => GetSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136610
|
+
if (!parsed.ok) {
|
|
136611
|
+
return [parsed, { status: "invalid" }];
|
|
136612
|
+
}
|
|
136613
|
+
const payload = parsed.value;
|
|
136614
|
+
const body = null;
|
|
136615
|
+
const pathParams = {
|
|
136616
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136617
|
+
explode: false,
|
|
136618
|
+
charEncoding: "percent"
|
|
136619
|
+
})
|
|
136620
|
+
};
|
|
136621
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}")(pathParams);
|
|
136622
|
+
const headers = new Headers(compactMap({
|
|
136623
|
+
Accept: "application/json",
|
|
136624
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136625
|
+
}));
|
|
136626
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136627
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136628
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136629
|
+
const context = {
|
|
136630
|
+
options: client._options,
|
|
136631
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136632
|
+
operationID: "getSession",
|
|
136633
|
+
oAuth2Scopes: null,
|
|
136634
|
+
resolvedSecurity: requestSecurity,
|
|
136635
|
+
securitySource: client._options.bearerAuth,
|
|
136636
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136637
|
+
strategy: "backoff",
|
|
136638
|
+
backoff: {
|
|
136639
|
+
initialInterval: 500,
|
|
136640
|
+
maxInterval: 5000,
|
|
136641
|
+
exponent: 1.5,
|
|
136642
|
+
maxElapsedTime: 15000
|
|
136643
|
+
},
|
|
136644
|
+
retryConnectionErrors: true
|
|
136645
|
+
},
|
|
136646
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136647
|
+
};
|
|
136648
|
+
const requestRes = client._createRequest(context, {
|
|
136649
|
+
security: requestSecurity,
|
|
136650
|
+
method: "GET",
|
|
136651
|
+
baseURL: options?.serverURL,
|
|
136652
|
+
path,
|
|
136653
|
+
headers,
|
|
136654
|
+
body,
|
|
136655
|
+
userAgent: client._options.userAgent,
|
|
136656
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136657
|
+
}, options);
|
|
136658
|
+
if (!requestRes.ok) {
|
|
136659
|
+
return [requestRes, { status: "invalid" }];
|
|
136660
|
+
}
|
|
136661
|
+
const req = requestRes.value;
|
|
136662
|
+
const doResult = await client._do(req, {
|
|
136663
|
+
context,
|
|
136664
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136665
|
+
retryConfig: context.retryConfig,
|
|
136666
|
+
retryCodes: context.retryCodes
|
|
136667
|
+
});
|
|
136668
|
+
if (!doResult.ok) {
|
|
136669
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136670
|
+
}
|
|
136671
|
+
const response = doResult.value;
|
|
136672
|
+
const responseFields = {
|
|
136673
|
+
HttpMeta: { Response: response, Request: req }
|
|
136674
|
+
};
|
|
136675
|
+
const [result] = await match(json(200, SessionRecord$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136676
|
+
if (!result.ok) {
|
|
136677
|
+
return [result, { status: "complete", request: req, response }];
|
|
136678
|
+
}
|
|
136679
|
+
return [result, { status: "complete", request: req, response }];
|
|
136680
|
+
}
|
|
136681
|
+
var init_sandboxGet = __esm(() => {
|
|
136682
|
+
init_encodings();
|
|
136683
|
+
init_http();
|
|
136684
|
+
init_matchers();
|
|
136685
|
+
init_primitives();
|
|
136686
|
+
init_schemas4();
|
|
136687
|
+
init_security();
|
|
136688
|
+
init_url();
|
|
136689
|
+
init_components();
|
|
136690
|
+
init_errors4();
|
|
136691
|
+
init_operations();
|
|
136692
|
+
init_async();
|
|
136693
|
+
});
|
|
136694
|
+
|
|
136695
|
+
// src/mcp-server/tools/sandboxGet.ts
|
|
136696
|
+
var args302, tool$sandboxGet;
|
|
136697
|
+
var init_sandboxGet2 = __esm(() => {
|
|
136698
|
+
init_sandboxGet();
|
|
136699
|
+
init_operations();
|
|
136700
|
+
init_tools();
|
|
136701
|
+
args302 = {
|
|
136702
|
+
request: GetSessionRequest$inboundSchema
|
|
136703
|
+
};
|
|
136704
|
+
tool$sandboxGet = {
|
|
136705
|
+
name: "sandbox-get",
|
|
136706
|
+
description: `Get Session
|
|
136707
|
+
|
|
136708
|
+
Return the current state, configuration, and resource allocation for a sandbox session.`,
|
|
136709
|
+
args: args302,
|
|
136710
|
+
tool: async (client, args303, ctx) => {
|
|
136711
|
+
const [result, apiCall] = await sandboxGet(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136712
|
+
if (!result.ok) {
|
|
136713
|
+
return {
|
|
136714
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136715
|
+
isError: true
|
|
136716
|
+
};
|
|
136717
|
+
}
|
|
136718
|
+
const value = result.value;
|
|
136719
|
+
return formatResult(value, apiCall);
|
|
136720
|
+
}
|
|
136721
|
+
};
|
|
136722
|
+
});
|
|
136723
|
+
|
|
136724
|
+
// src/funcs/sandboxGetBrowserUrl.ts
|
|
136725
|
+
function sandboxGetBrowserUrl(client, request, options) {
|
|
136726
|
+
return new APIPromise($do311(client, request, options));
|
|
136727
|
+
}
|
|
136728
|
+
async function $do311(client, request, options) {
|
|
136729
|
+
const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136730
|
+
if (!parsed.ok) {
|
|
136731
|
+
return [parsed, { status: "invalid" }];
|
|
136732
|
+
}
|
|
136733
|
+
const payload = parsed.value;
|
|
136734
|
+
const body = null;
|
|
136735
|
+
const pathParams = {
|
|
136736
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136737
|
+
explode: false,
|
|
136738
|
+
charEncoding: "percent"
|
|
136739
|
+
})
|
|
136740
|
+
};
|
|
136741
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/browser-url")(pathParams);
|
|
136742
|
+
const query = encodeFormQuery({
|
|
136743
|
+
session_token: payload.session_token
|
|
136744
|
+
});
|
|
136745
|
+
const headers = new Headers(compactMap({
|
|
136746
|
+
Accept: "application/json",
|
|
136747
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136748
|
+
}));
|
|
136749
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136750
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136751
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136752
|
+
const context = {
|
|
136753
|
+
options: client._options,
|
|
136754
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136755
|
+
operationID: "getBrowserSessionUrl",
|
|
136756
|
+
oAuth2Scopes: null,
|
|
136757
|
+
resolvedSecurity: requestSecurity,
|
|
136758
|
+
securitySource: client._options.bearerAuth,
|
|
136759
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136760
|
+
strategy: "backoff",
|
|
136761
|
+
backoff: {
|
|
136762
|
+
initialInterval: 500,
|
|
136763
|
+
maxInterval: 5000,
|
|
136764
|
+
exponent: 1.5,
|
|
136765
|
+
maxElapsedTime: 15000
|
|
136766
|
+
},
|
|
136767
|
+
retryConnectionErrors: true
|
|
136768
|
+
},
|
|
136769
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136770
|
+
};
|
|
136771
|
+
const requestRes = client._createRequest(context, {
|
|
136772
|
+
security: requestSecurity,
|
|
136773
|
+
method: "GET",
|
|
136774
|
+
baseURL: options?.serverURL,
|
|
136775
|
+
path,
|
|
136776
|
+
headers,
|
|
136777
|
+
query,
|
|
136778
|
+
body,
|
|
136779
|
+
userAgent: client._options.userAgent,
|
|
136780
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136781
|
+
}, options);
|
|
136782
|
+
if (!requestRes.ok) {
|
|
136783
|
+
return [requestRes, { status: "invalid" }];
|
|
136784
|
+
}
|
|
136785
|
+
const req = requestRes.value;
|
|
136786
|
+
const doResult = await client._do(req, {
|
|
136787
|
+
context,
|
|
136788
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136789
|
+
retryConfig: context.retryConfig,
|
|
136790
|
+
retryCodes: context.retryCodes
|
|
136791
|
+
});
|
|
136792
|
+
if (!doResult.ok) {
|
|
136793
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136794
|
+
}
|
|
136795
|
+
const response = doResult.value;
|
|
136796
|
+
const responseFields = {
|
|
136797
|
+
HttpMeta: { Response: response, Request: req }
|
|
136798
|
+
};
|
|
136799
|
+
const [result] = await match(json(200, SessionUrlResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail([501, "5XX"]))(response, req, { extraFields: responseFields });
|
|
136800
|
+
if (!result.ok) {
|
|
136801
|
+
return [result, { status: "complete", request: req, response }];
|
|
136802
|
+
}
|
|
136803
|
+
return [result, { status: "complete", request: req, response }];
|
|
136804
|
+
}
|
|
136805
|
+
var init_sandboxGetBrowserUrl = __esm(() => {
|
|
136806
|
+
init_encodings();
|
|
136807
|
+
init_http();
|
|
136808
|
+
init_matchers();
|
|
136809
|
+
init_primitives();
|
|
136810
|
+
init_schemas4();
|
|
136811
|
+
init_security();
|
|
136812
|
+
init_url();
|
|
136813
|
+
init_components();
|
|
136814
|
+
init_errors4();
|
|
136815
|
+
init_operations();
|
|
136816
|
+
init_async();
|
|
136817
|
+
});
|
|
136818
|
+
|
|
136819
|
+
// src/mcp-server/tools/sandboxGetBrowserUrl.ts
|
|
136820
|
+
var args303, tool$sandboxGetBrowserUrl;
|
|
136821
|
+
var init_sandboxGetBrowserUrl2 = __esm(() => {
|
|
136822
|
+
init_sandboxGetBrowserUrl();
|
|
136823
|
+
init_operations();
|
|
136824
|
+
init_tools();
|
|
136825
|
+
args303 = {
|
|
136826
|
+
request: GetBrowserSessionUrlRequest$inboundSchema
|
|
136827
|
+
};
|
|
136828
|
+
tool$sandboxGetBrowserUrl = {
|
|
136829
|
+
name: "sandbox-get-browser-url",
|
|
136830
|
+
description: `Get Browser Session URL
|
|
136831
|
+
|
|
136832
|
+
Return the public gateway URL for a browser session's Chrome DevTools Protocol endpoint. Playwright can use this HTTP endpoint directly. For clients that require a WebSocket endpoint, request \`json/version\` and use its rewritten \`webSocketDebuggerUrl\`. Insert subpaths before the query string; for example, use \`/ports/9222/json/version?session_token=...\`. Send the same MKA1 API-key authorization header on the HTTP and WebSocket requests. Standard sessions do not expose a public URL; use the command, code, and workspace operations instead.`,
|
|
136833
|
+
args: args303,
|
|
136834
|
+
tool: async (client, args304, ctx) => {
|
|
136835
|
+
const [result, apiCall] = await sandboxGetBrowserUrl(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136836
|
+
if (!result.ok) {
|
|
136837
|
+
return {
|
|
136838
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136839
|
+
isError: true
|
|
136840
|
+
};
|
|
136841
|
+
}
|
|
136842
|
+
const value = result.value;
|
|
136843
|
+
return formatResult(value, apiCall);
|
|
136844
|
+
}
|
|
136845
|
+
};
|
|
136846
|
+
});
|
|
136847
|
+
|
|
136848
|
+
// src/funcs/sandboxGetPricing.ts
|
|
136849
|
+
function sandboxGetPricing(client, options) {
|
|
136850
|
+
return new APIPromise($do312(client, options));
|
|
136851
|
+
}
|
|
136852
|
+
async function $do312(client, options) {
|
|
136853
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
136854
|
+
const headers = new Headers(compactMap({
|
|
136855
|
+
Accept: "application/json"
|
|
136856
|
+
}));
|
|
136857
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136858
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136859
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136860
|
+
const context = {
|
|
136861
|
+
options: client._options,
|
|
136862
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136863
|
+
operationID: "getSandboxPricing",
|
|
136864
|
+
oAuth2Scopes: null,
|
|
136865
|
+
resolvedSecurity: requestSecurity,
|
|
136866
|
+
securitySource: client._options.bearerAuth,
|
|
136867
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136868
|
+
strategy: "backoff",
|
|
136869
|
+
backoff: {
|
|
136870
|
+
initialInterval: 500,
|
|
136871
|
+
maxInterval: 5000,
|
|
136872
|
+
exponent: 1.5,
|
|
136873
|
+
maxElapsedTime: 15000
|
|
136874
|
+
},
|
|
136875
|
+
retryConnectionErrors: true
|
|
136876
|
+
},
|
|
136877
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136878
|
+
};
|
|
136879
|
+
const requestRes = client._createRequest(context, {
|
|
136880
|
+
security: requestSecurity,
|
|
136881
|
+
method: "GET",
|
|
136882
|
+
baseURL: options?.serverURL,
|
|
136883
|
+
path,
|
|
136884
|
+
headers,
|
|
136885
|
+
userAgent: client._options.userAgent,
|
|
136886
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136887
|
+
}, options);
|
|
136888
|
+
if (!requestRes.ok) {
|
|
136889
|
+
return [requestRes, { status: "invalid" }];
|
|
136890
|
+
}
|
|
136891
|
+
const req = requestRes.value;
|
|
136892
|
+
const doResult = await client._do(req, {
|
|
136893
|
+
context,
|
|
136894
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136895
|
+
retryConfig: context.retryConfig,
|
|
136896
|
+
retryCodes: context.retryCodes
|
|
136897
|
+
});
|
|
136898
|
+
if (!doResult.ok) {
|
|
136899
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136900
|
+
}
|
|
136901
|
+
const response = doResult.value;
|
|
136902
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
136903
|
+
if (!result.ok) {
|
|
136904
|
+
return [result, { status: "complete", request: req, response }];
|
|
136905
|
+
}
|
|
136906
|
+
return [result, { status: "complete", request: req, response }];
|
|
136907
|
+
}
|
|
136908
|
+
var init_sandboxGetPricing = __esm(() => {
|
|
136909
|
+
init_http();
|
|
136910
|
+
init_matchers();
|
|
136911
|
+
init_primitives();
|
|
136912
|
+
init_security();
|
|
136913
|
+
init_url();
|
|
136914
|
+
init_components();
|
|
136915
|
+
init_async();
|
|
136916
|
+
});
|
|
136917
|
+
|
|
136918
|
+
// src/mcp-server/tools/sandboxGetPricing.ts
|
|
136919
|
+
var tool$sandboxGetPricing;
|
|
136920
|
+
var init_sandboxGetPricing2 = __esm(() => {
|
|
136921
|
+
init_sandboxGetPricing();
|
|
136922
|
+
init_tools();
|
|
136923
|
+
tool$sandboxGetPricing = {
|
|
136924
|
+
name: "sandbox-get-pricing",
|
|
136925
|
+
description: `Get Sandbox Pricing
|
|
136926
|
+
|
|
136927
|
+
Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`eval-python\`). Metered sandbox usage is billed \`hours × (per_hour + reserved_memory_GiB × per_gib_hour)\`; SKUs without a configured rate accrue no spend. Cluster admins only.`,
|
|
136928
|
+
tool: async (client, ctx) => {
|
|
136929
|
+
const [result, apiCall] = await sandboxGetPricing(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136930
|
+
if (!result.ok) {
|
|
136931
|
+
return {
|
|
136932
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136933
|
+
isError: true
|
|
136934
|
+
};
|
|
136935
|
+
}
|
|
136936
|
+
const value = result.value;
|
|
136937
|
+
return formatResult(value, apiCall);
|
|
136938
|
+
}
|
|
136939
|
+
};
|
|
136940
|
+
});
|
|
136941
|
+
|
|
136942
|
+
// src/funcs/sandboxGetWorkspace.ts
|
|
136943
|
+
function sandboxGetWorkspace(client, request, options) {
|
|
136944
|
+
return new APIPromise($do313(client, request, options));
|
|
136945
|
+
}
|
|
136946
|
+
async function $do313(client, request, options) {
|
|
136947
|
+
const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136948
|
+
if (!parsed.ok) {
|
|
136949
|
+
return [parsed, { status: "invalid" }];
|
|
136950
|
+
}
|
|
136951
|
+
const payload = parsed.value;
|
|
136952
|
+
const body = null;
|
|
136953
|
+
const pathParams = {
|
|
136954
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136955
|
+
explode: false,
|
|
136956
|
+
charEncoding: "percent"
|
|
136957
|
+
})
|
|
136958
|
+
};
|
|
136959
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
136960
|
+
const query = encodeFormQuery({
|
|
136961
|
+
session_token: payload.session_token
|
|
136962
|
+
});
|
|
136963
|
+
const headers = new Headers(compactMap({
|
|
136964
|
+
Accept: "application/json",
|
|
136965
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136966
|
+
}));
|
|
136967
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136968
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136969
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136970
|
+
const context = {
|
|
136971
|
+
options: client._options,
|
|
136972
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136973
|
+
operationID: "getWorkspace",
|
|
136974
|
+
oAuth2Scopes: null,
|
|
136975
|
+
resolvedSecurity: requestSecurity,
|
|
136976
|
+
securitySource: client._options.bearerAuth,
|
|
136977
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136978
|
+
strategy: "backoff",
|
|
136979
|
+
backoff: {
|
|
136980
|
+
initialInterval: 500,
|
|
136981
|
+
maxInterval: 5000,
|
|
136982
|
+
exponent: 1.5,
|
|
136983
|
+
maxElapsedTime: 15000
|
|
136984
|
+
},
|
|
136985
|
+
retryConnectionErrors: true
|
|
136986
|
+
},
|
|
136987
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136988
|
+
};
|
|
136989
|
+
const requestRes = client._createRequest(context, {
|
|
136990
|
+
security: requestSecurity,
|
|
136991
|
+
method: "GET",
|
|
136992
|
+
baseURL: options?.serverURL,
|
|
136993
|
+
path,
|
|
136994
|
+
headers,
|
|
136995
|
+
query,
|
|
136996
|
+
body,
|
|
136997
|
+
userAgent: client._options.userAgent,
|
|
136998
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136999
|
+
}, options);
|
|
137000
|
+
if (!requestRes.ok) {
|
|
137001
|
+
return [requestRes, { status: "invalid" }];
|
|
137002
|
+
}
|
|
137003
|
+
const req = requestRes.value;
|
|
137004
|
+
const doResult = await client._do(req, {
|
|
137005
|
+
context,
|
|
137006
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
137007
|
+
retryConfig: context.retryConfig,
|
|
137008
|
+
retryCodes: context.retryCodes
|
|
137009
|
+
});
|
|
137010
|
+
if (!doResult.ok) {
|
|
137011
|
+
return [doResult, { status: "request-error", request: req }];
|
|
137012
|
+
}
|
|
137013
|
+
const response = doResult.value;
|
|
137014
|
+
const responseFields = {
|
|
137015
|
+
HttpMeta: { Response: response, Request: req }
|
|
137016
|
+
};
|
|
137017
|
+
const [result] = await match(json(200, WorkspaceManifest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135697
137018
|
if (!result.ok) {
|
|
135698
137019
|
return [result, { status: "complete", request: req, response }];
|
|
135699
137020
|
}
|
|
135700
137021
|
return [result, { status: "complete", request: req, response }];
|
|
135701
137022
|
}
|
|
135702
|
-
var
|
|
137023
|
+
var init_sandboxGetWorkspace = __esm(() => {
|
|
135703
137024
|
init_encodings();
|
|
135704
137025
|
init_http();
|
|
135705
137026
|
init_matchers();
|
|
@@ -135707,30 +137028,29 @@ var init_reposList = __esm(() => {
|
|
|
135707
137028
|
init_schemas4();
|
|
135708
137029
|
init_security();
|
|
135709
137030
|
init_url();
|
|
137031
|
+
init_components();
|
|
135710
137032
|
init_errors4();
|
|
135711
137033
|
init_operations();
|
|
135712
137034
|
init_async();
|
|
135713
137035
|
});
|
|
135714
137036
|
|
|
135715
|
-
// src/mcp-server/tools/
|
|
135716
|
-
var
|
|
135717
|
-
var
|
|
135718
|
-
|
|
137037
|
+
// src/mcp-server/tools/sandboxGetWorkspace.ts
|
|
137038
|
+
var args304, tool$sandboxGetWorkspace;
|
|
137039
|
+
var init_sandboxGetWorkspace2 = __esm(() => {
|
|
137040
|
+
init_sandboxGetWorkspace();
|
|
135719
137041
|
init_operations();
|
|
135720
137042
|
init_tools();
|
|
135721
|
-
|
|
135722
|
-
request:
|
|
137043
|
+
args304 = {
|
|
137044
|
+
request: GetWorkspaceRequest$inboundSchema
|
|
135723
137045
|
};
|
|
135724
|
-
tool$
|
|
135725
|
-
name: "
|
|
135726
|
-
description: `
|
|
137046
|
+
tool$sandboxGetWorkspace = {
|
|
137047
|
+
name: "sandbox-get-workspace",
|
|
137048
|
+
description: `Get Workspace Manifest
|
|
135727
137049
|
|
|
135728
|
-
|
|
135729
|
-
|
|
135730
|
-
|
|
135731
|
-
|
|
135732
|
-
tool: async (client, args298, ctx) => {
|
|
135733
|
-
const [result, apiCall] = await reposList(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137050
|
+
List files currently stored in the session workspace, including paths, sizes, and etags.`,
|
|
137051
|
+
args: args304,
|
|
137052
|
+
tool: async (client, args305, ctx) => {
|
|
137053
|
+
const [result, apiCall] = await sandboxGetWorkspace(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135734
137054
|
if (!result.ok) {
|
|
135735
137055
|
return {
|
|
135736
137056
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135743,30 +137063,19 @@ Pure DB read.
|
|
|
135743
137063
|
};
|
|
135744
137064
|
});
|
|
135745
137065
|
|
|
135746
|
-
// src/funcs/
|
|
135747
|
-
function
|
|
135748
|
-
return new APIPromise($
|
|
137066
|
+
// src/funcs/sandboxList.ts
|
|
137067
|
+
function sandboxList(client, request, options) {
|
|
137068
|
+
return new APIPromise($do314(client, request, options));
|
|
135749
137069
|
}
|
|
135750
|
-
async function $
|
|
135751
|
-
const parsed = safeParse4(request, (value) =>
|
|
137070
|
+
async function $do314(client, request, options) {
|
|
137071
|
+
const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135752
137072
|
if (!parsed.ok) {
|
|
135753
137073
|
return [parsed, { status: "invalid" }];
|
|
135754
137074
|
}
|
|
135755
137075
|
const payload = parsed.value;
|
|
135756
|
-
const body =
|
|
135757
|
-
const
|
|
135758
|
-
name: encodeSimple("name", payload.name, {
|
|
135759
|
-
explode: false,
|
|
135760
|
-
charEncoding: "percent"
|
|
135761
|
-
}),
|
|
135762
|
-
org: encodeSimple("org", payload.org, {
|
|
135763
|
-
explode: false,
|
|
135764
|
-
charEncoding: "percent"
|
|
135765
|
-
})
|
|
135766
|
-
};
|
|
135767
|
-
const path = pathToFunc("/api/v1/repos/{org}/{name}")(pathParams);
|
|
137076
|
+
const body = null;
|
|
137077
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
135768
137078
|
const headers = new Headers(compactMap({
|
|
135769
|
-
"Content-Type": "application/json",
|
|
135770
137079
|
Accept: "application/json",
|
|
135771
137080
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135772
137081
|
}));
|
|
@@ -135776,7 +137085,7 @@ async function $do306(client, request, options) {
|
|
|
135776
137085
|
const context = {
|
|
135777
137086
|
options: client._options,
|
|
135778
137087
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135779
|
-
operationID: "
|
|
137088
|
+
operationID: "listSessions",
|
|
135780
137089
|
oAuth2Scopes: null,
|
|
135781
137090
|
resolvedSecurity: requestSecurity,
|
|
135782
137091
|
securitySource: client._options.bearerAuth,
|
|
@@ -135794,7 +137103,7 @@ async function $do306(client, request, options) {
|
|
|
135794
137103
|
};
|
|
135795
137104
|
const requestRes = client._createRequest(context, {
|
|
135796
137105
|
security: requestSecurity,
|
|
135797
|
-
method: "
|
|
137106
|
+
method: "GET",
|
|
135798
137107
|
baseURL: options?.serverURL,
|
|
135799
137108
|
path,
|
|
135800
137109
|
headers,
|
|
@@ -135819,13 +137128,14 @@ async function $do306(client, request, options) {
|
|
|
135819
137128
|
const responseFields = {
|
|
135820
137129
|
HttpMeta: { Response: response, Request: req }
|
|
135821
137130
|
};
|
|
135822
|
-
const [result] = await match(json(200,
|
|
137131
|
+
const [result] = await match(json(200, arrayType(SessionRecord$inboundSchema)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135823
137132
|
if (!result.ok) {
|
|
135824
137133
|
return [result, { status: "complete", request: req, response }];
|
|
135825
137134
|
}
|
|
135826
137135
|
return [result, { status: "complete", request: req, response }];
|
|
135827
137136
|
}
|
|
135828
|
-
var
|
|
137137
|
+
var init_sandboxList = __esm(() => {
|
|
137138
|
+
init_esm();
|
|
135829
137139
|
init_encodings();
|
|
135830
137140
|
init_http();
|
|
135831
137141
|
init_matchers();
|
|
@@ -135839,26 +137149,23 @@ var init_reposUpdate = __esm(() => {
|
|
|
135839
137149
|
init_async();
|
|
135840
137150
|
});
|
|
135841
137151
|
|
|
135842
|
-
// src/mcp-server/tools/
|
|
135843
|
-
var
|
|
135844
|
-
var
|
|
135845
|
-
|
|
137152
|
+
// src/mcp-server/tools/sandboxList.ts
|
|
137153
|
+
var args305, tool$sandboxList;
|
|
137154
|
+
var init_sandboxList2 = __esm(() => {
|
|
137155
|
+
init_sandboxList();
|
|
135846
137156
|
init_operations();
|
|
135847
137157
|
init_tools();
|
|
135848
|
-
|
|
135849
|
-
request:
|
|
137158
|
+
args305 = {
|
|
137159
|
+
request: ListSessionsRequest$inboundSchema
|
|
135850
137160
|
};
|
|
135851
|
-
tool$
|
|
135852
|
-
name: "
|
|
135853
|
-
description: `
|
|
137161
|
+
tool$sandboxList = {
|
|
137162
|
+
name: "sandbox-list",
|
|
137163
|
+
description: `List Sessions
|
|
135854
137164
|
|
|
135855
|
-
|
|
135856
|
-
|
|
135857
|
-
|
|
135858
|
-
|
|
135859
|
-
args: args298,
|
|
135860
|
-
tool: async (client, args299, ctx) => {
|
|
135861
|
-
const [result, apiCall] = await reposUpdate(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137165
|
+
List sandbox sessions visible to the authenticated caller.`,
|
|
137166
|
+
args: args305,
|
|
137167
|
+
tool: async (client, args306, ctx) => {
|
|
137168
|
+
const [result, apiCall] = await sandboxList(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135862
137169
|
if (!result.ok) {
|
|
135863
137170
|
return {
|
|
135864
137171
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135871,22 +137178,36 @@ Gitea write. Omitted fields are left unchanged.
|
|
|
135871
137178
|
};
|
|
135872
137179
|
});
|
|
135873
137180
|
|
|
135874
|
-
// src/funcs/
|
|
135875
|
-
function
|
|
135876
|
-
return new APIPromise($
|
|
137181
|
+
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
137182
|
+
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
137183
|
+
return new APIPromise($do315(client, request, options));
|
|
135877
137184
|
}
|
|
135878
|
-
async function $
|
|
135879
|
-
const parsed = safeParse4(request, (value) =>
|
|
137185
|
+
async function $do315(client, request, options) {
|
|
137186
|
+
const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135880
137187
|
if (!parsed.ok) {
|
|
135881
137188
|
return [parsed, { status: "invalid" }];
|
|
135882
137189
|
}
|
|
135883
137190
|
const payload = parsed.value;
|
|
135884
|
-
const body =
|
|
135885
|
-
|
|
137191
|
+
const body = null;
|
|
137192
|
+
const pathParams = {
|
|
137193
|
+
port: encodeSimple("port", payload.port, {
|
|
137194
|
+
explode: false,
|
|
137195
|
+
charEncoding: "percent"
|
|
137196
|
+
}),
|
|
137197
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137198
|
+
explode: false,
|
|
137199
|
+
charEncoding: "percent"
|
|
137200
|
+
}),
|
|
137201
|
+
subpath: encodeSimple("subpath", payload.subpath, {
|
|
137202
|
+
explode: false,
|
|
137203
|
+
charEncoding: "percent"
|
|
137204
|
+
})
|
|
137205
|
+
};
|
|
137206
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
137207
|
+
const query = encodeFormQuery({
|
|
137208
|
+
session_token: payload.session_token
|
|
135886
137209
|
});
|
|
135887
|
-
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
135888
137210
|
const headers = new Headers(compactMap({
|
|
135889
|
-
"Content-Type": "application/json",
|
|
135890
137211
|
Accept: "application/json",
|
|
135891
137212
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135892
137213
|
}));
|
|
@@ -135896,7 +137217,7 @@ async function $do307(client, request, options) {
|
|
|
135896
137217
|
const context = {
|
|
135897
137218
|
options: client._options,
|
|
135898
137219
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135899
|
-
operationID: "
|
|
137220
|
+
operationID: "proxyBrowserPortRequest",
|
|
135900
137221
|
oAuth2Scopes: null,
|
|
135901
137222
|
resolvedSecurity: requestSecurity,
|
|
135902
137223
|
securitySource: client._options.bearerAuth,
|
|
@@ -135914,10 +137235,11 @@ async function $do307(client, request, options) {
|
|
|
135914
137235
|
};
|
|
135915
137236
|
const requestRes = client._createRequest(context, {
|
|
135916
137237
|
security: requestSecurity,
|
|
135917
|
-
method: "
|
|
137238
|
+
method: "GET",
|
|
135918
137239
|
baseURL: options?.serverURL,
|
|
135919
137240
|
path,
|
|
135920
137241
|
headers,
|
|
137242
|
+
query,
|
|
135921
137243
|
body,
|
|
135922
137244
|
userAgent: client._options.userAgent,
|
|
135923
137245
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -135939,13 +137261,14 @@ async function $do307(client, request, options) {
|
|
|
135939
137261
|
const responseFields = {
|
|
135940
137262
|
HttpMeta: { Response: response, Request: req }
|
|
135941
137263
|
};
|
|
135942
|
-
const [result] = await match(json(
|
|
137264
|
+
const [result] = await match(json(200, anyType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135943
137265
|
if (!result.ok) {
|
|
135944
137266
|
return [result, { status: "complete", request: req, response }];
|
|
135945
137267
|
}
|
|
135946
137268
|
return [result, { status: "complete", request: req, response }];
|
|
135947
137269
|
}
|
|
135948
|
-
var
|
|
137270
|
+
var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
137271
|
+
init_esm();
|
|
135949
137272
|
init_encodings();
|
|
135950
137273
|
init_http();
|
|
135951
137274
|
init_matchers();
|
|
@@ -135953,29 +137276,28 @@ var init_sandboxCreate = __esm(() => {
|
|
|
135953
137276
|
init_schemas4();
|
|
135954
137277
|
init_security();
|
|
135955
137278
|
init_url();
|
|
135956
|
-
init_components();
|
|
135957
137279
|
init_errors4();
|
|
135958
137280
|
init_operations();
|
|
135959
137281
|
init_async();
|
|
135960
137282
|
});
|
|
135961
137283
|
|
|
135962
|
-
// src/mcp-server/tools/
|
|
135963
|
-
var
|
|
135964
|
-
var
|
|
135965
|
-
|
|
137284
|
+
// src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
|
|
137285
|
+
var args306, tool$sandboxProxyBrowserPortRequest;
|
|
137286
|
+
var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
137287
|
+
init_sandboxProxyBrowserPortRequest();
|
|
135966
137288
|
init_operations();
|
|
135967
137289
|
init_tools();
|
|
135968
|
-
|
|
135969
|
-
request:
|
|
137290
|
+
args306 = {
|
|
137291
|
+
request: ProxyBrowserPortRequestRequest$inboundSchema
|
|
135970
137292
|
};
|
|
135971
|
-
tool$
|
|
135972
|
-
name: "sandbox-
|
|
135973
|
-
description: `
|
|
137293
|
+
tool$sandboxProxyBrowserPortRequest = {
|
|
137294
|
+
name: "sandbox-proxy-browser-port-request",
|
|
137295
|
+
description: `Proxy Browser Port Request
|
|
135974
137296
|
|
|
135975
|
-
|
|
135976
|
-
args:
|
|
135977
|
-
tool: async (client,
|
|
135978
|
-
const [result, apiCall] = await
|
|
137297
|
+
Proxy an HTTP request to an exposed browser-session port through the gateway. Use the URL returned by \`GET /sessions/{session_id}/browser-url\` as the base. Insert CDP subpaths such as \`json/version\` or \`json/list\` before its query string, preserving the \`session_token\` parameter. This low-level proxy is intended for browser sessions on port \`9222\` and still requires the normal MKA1 API-key authorization header.`,
|
|
137298
|
+
args: args306,
|
|
137299
|
+
tool: async (client, args307, ctx) => {
|
|
137300
|
+
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135979
137301
|
if (!result.ok) {
|
|
135980
137302
|
return {
|
|
135981
137303
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135988,32 +137310,27 @@ Create a sandbox session and return its public session metadata, session token,
|
|
|
135988
137310
|
};
|
|
135989
137311
|
});
|
|
135990
137312
|
|
|
135991
|
-
// src/funcs/
|
|
135992
|
-
function
|
|
135993
|
-
return new APIPromise($
|
|
137313
|
+
// src/funcs/sandboxRunCode.ts
|
|
137314
|
+
function sandboxRunCode(client, request, options) {
|
|
137315
|
+
return new APIPromise($do316(client, request, options));
|
|
135994
137316
|
}
|
|
135995
|
-
async function $
|
|
135996
|
-
const parsed = safeParse4(request, (value) =>
|
|
137317
|
+
async function $do316(client, request, options) {
|
|
137318
|
+
const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135997
137319
|
if (!parsed.ok) {
|
|
135998
137320
|
return [parsed, { status: "invalid" }];
|
|
135999
137321
|
}
|
|
136000
137322
|
const payload = parsed.value;
|
|
136001
|
-
const body = encodeJSON("body", payload.
|
|
136002
|
-
explode: true
|
|
136003
|
-
});
|
|
137323
|
+
const body = encodeJSON("body", payload.CodeRequest, { explode: true });
|
|
136004
137324
|
const pathParams = {
|
|
136005
137325
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136006
137326
|
explode: false,
|
|
136007
137327
|
charEncoding: "percent"
|
|
136008
137328
|
})
|
|
136009
137329
|
};
|
|
136010
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
136011
|
-
const query = encodeFormQuery({
|
|
136012
|
-
session_token: payload.session_token
|
|
136013
|
-
});
|
|
137330
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
136014
137331
|
const headers = new Headers(compactMap({
|
|
136015
137332
|
"Content-Type": "application/json",
|
|
136016
|
-
Accept: "application/
|
|
137333
|
+
Accept: "application/json",
|
|
136017
137334
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136018
137335
|
}));
|
|
136019
137336
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -136022,7 +137339,7 @@ async function $do308(client, request, options) {
|
|
|
136022
137339
|
const context = {
|
|
136023
137340
|
options: client._options,
|
|
136024
137341
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136025
|
-
operationID: "
|
|
137342
|
+
operationID: "runCode",
|
|
136026
137343
|
oAuth2Scopes: null,
|
|
136027
137344
|
resolvedSecurity: requestSecurity,
|
|
136028
137345
|
securitySource: client._options.bearerAuth,
|
|
@@ -136044,7 +137361,6 @@ async function $do308(client, request, options) {
|
|
|
136044
137361
|
baseURL: options?.serverURL,
|
|
136045
137362
|
path,
|
|
136046
137363
|
headers,
|
|
136047
|
-
query,
|
|
136048
137364
|
body,
|
|
136049
137365
|
userAgent: client._options.userAgent,
|
|
136050
137366
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136066,16 +137382,13 @@ async function $do308(client, request, options) {
|
|
|
136066
137382
|
const responseFields = {
|
|
136067
137383
|
HttpMeta: { Response: response, Request: req }
|
|
136068
137384
|
};
|
|
136069
|
-
const [result] = await match(
|
|
136070
|
-
ctype: "application/zip"
|
|
136071
|
-
}), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
137385
|
+
const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136072
137386
|
if (!result.ok) {
|
|
136073
137387
|
return [result, { status: "complete", request: req, response }];
|
|
136074
137388
|
}
|
|
136075
137389
|
return [result, { status: "complete", request: req, response }];
|
|
136076
137390
|
}
|
|
136077
|
-
var
|
|
136078
|
-
init_esm();
|
|
137391
|
+
var init_sandboxRunCode = __esm(() => {
|
|
136079
137392
|
init_encodings();
|
|
136080
137393
|
init_http();
|
|
136081
137394
|
init_matchers();
|
|
@@ -136083,28 +137396,29 @@ var init_sandboxDownloadArchive = __esm(() => {
|
|
|
136083
137396
|
init_schemas4();
|
|
136084
137397
|
init_security();
|
|
136085
137398
|
init_url();
|
|
137399
|
+
init_components();
|
|
136086
137400
|
init_errors4();
|
|
136087
137401
|
init_operations();
|
|
136088
137402
|
init_async();
|
|
136089
137403
|
});
|
|
136090
137404
|
|
|
136091
|
-
// src/mcp-server/tools/
|
|
136092
|
-
var
|
|
136093
|
-
var
|
|
136094
|
-
|
|
137405
|
+
// src/mcp-server/tools/sandboxRunCode.ts
|
|
137406
|
+
var args307, tool$sandboxRunCode;
|
|
137407
|
+
var init_sandboxRunCode2 = __esm(() => {
|
|
137408
|
+
init_sandboxRunCode();
|
|
136095
137409
|
init_operations();
|
|
136096
137410
|
init_tools();
|
|
136097
|
-
|
|
136098
|
-
request:
|
|
137411
|
+
args307 = {
|
|
137412
|
+
request: RunCodeRequest$inboundSchema
|
|
136099
137413
|
};
|
|
136100
|
-
tool$
|
|
136101
|
-
name: "sandbox-
|
|
136102
|
-
description: `
|
|
137414
|
+
tool$sandboxRunCode = {
|
|
137415
|
+
name: "sandbox-run-code",
|
|
137416
|
+
description: `Run Code
|
|
136103
137417
|
|
|
136104
|
-
|
|
136105
|
-
args:
|
|
136106
|
-
tool: async (client,
|
|
136107
|
-
const [result, apiCall] = await
|
|
137418
|
+
Execute source code in the session workspace using a supported runtime and return the execution result.`,
|
|
137419
|
+
args: args307,
|
|
137420
|
+
tool: async (client, args308, ctx) => {
|
|
137421
|
+
const [result, apiCall] = await sandboxRunCode(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136108
137422
|
if (!result.ok) {
|
|
136109
137423
|
return {
|
|
136110
137424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136117,33 +137431,27 @@ Download a zip archive containing the selected workspace paths.`,
|
|
|
136117
137431
|
};
|
|
136118
137432
|
});
|
|
136119
137433
|
|
|
136120
|
-
// src/funcs/
|
|
136121
|
-
function
|
|
136122
|
-
return new APIPromise($
|
|
137434
|
+
// src/funcs/sandboxRunCommand.ts
|
|
137435
|
+
function sandboxRunCommand(client, request, options) {
|
|
137436
|
+
return new APIPromise($do317(client, request, options));
|
|
136123
137437
|
}
|
|
136124
|
-
async function $
|
|
136125
|
-
const parsed = safeParse4(request, (value) =>
|
|
137438
|
+
async function $do317(client, request, options) {
|
|
137439
|
+
const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136126
137440
|
if (!parsed.ok) {
|
|
136127
137441
|
return [parsed, { status: "invalid" }];
|
|
136128
137442
|
}
|
|
136129
137443
|
const payload = parsed.value;
|
|
136130
|
-
const body =
|
|
137444
|
+
const body = encodeJSON("body", payload.CommandRequest, { explode: true });
|
|
136131
137445
|
const pathParams = {
|
|
136132
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
136133
|
-
explode: false,
|
|
136134
|
-
charEncoding: "percent"
|
|
136135
|
-
}),
|
|
136136
137446
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136137
137447
|
explode: false,
|
|
136138
137448
|
charEncoding: "percent"
|
|
136139
137449
|
})
|
|
136140
137450
|
};
|
|
136141
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
136142
|
-
const query = encodeFormQuery({
|
|
136143
|
-
session_token: payload.session_token
|
|
136144
|
-
});
|
|
137451
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
|
|
136145
137452
|
const headers = new Headers(compactMap({
|
|
136146
|
-
|
|
137453
|
+
"Content-Type": "application/json",
|
|
137454
|
+
Accept: "application/json",
|
|
136147
137455
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136148
137456
|
}));
|
|
136149
137457
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -136152,7 +137460,7 @@ async function $do309(client, request, options) {
|
|
|
136152
137460
|
const context = {
|
|
136153
137461
|
options: client._options,
|
|
136154
137462
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136155
|
-
operationID: "
|
|
137463
|
+
operationID: "runCommand",
|
|
136156
137464
|
oAuth2Scopes: null,
|
|
136157
137465
|
resolvedSecurity: requestSecurity,
|
|
136158
137466
|
securitySource: client._options.bearerAuth,
|
|
@@ -136170,11 +137478,10 @@ async function $do309(client, request, options) {
|
|
|
136170
137478
|
};
|
|
136171
137479
|
const requestRes = client._createRequest(context, {
|
|
136172
137480
|
security: requestSecurity,
|
|
136173
|
-
method: "
|
|
137481
|
+
method: "POST",
|
|
136174
137482
|
baseURL: options?.serverURL,
|
|
136175
137483
|
path,
|
|
136176
137484
|
headers,
|
|
136177
|
-
query,
|
|
136178
137485
|
body,
|
|
136179
137486
|
userAgent: client._options.userAgent,
|
|
136180
137487
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136196,14 +137503,13 @@ async function $do309(client, request, options) {
|
|
|
136196
137503
|
const responseFields = {
|
|
136197
137504
|
HttpMeta: { Response: response, Request: req }
|
|
136198
137505
|
};
|
|
136199
|
-
const [result] = await match(
|
|
137506
|
+
const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136200
137507
|
if (!result.ok) {
|
|
136201
137508
|
return [result, { status: "complete", request: req, response }];
|
|
136202
137509
|
}
|
|
136203
137510
|
return [result, { status: "complete", request: req, response }];
|
|
136204
137511
|
}
|
|
136205
|
-
var
|
|
136206
|
-
init_esm();
|
|
137512
|
+
var init_sandboxRunCommand = __esm(() => {
|
|
136207
137513
|
init_encodings();
|
|
136208
137514
|
init_http();
|
|
136209
137515
|
init_matchers();
|
|
@@ -136211,28 +137517,29 @@ var init_sandboxDownloadFile = __esm(() => {
|
|
|
136211
137517
|
init_schemas4();
|
|
136212
137518
|
init_security();
|
|
136213
137519
|
init_url();
|
|
137520
|
+
init_components();
|
|
136214
137521
|
init_errors4();
|
|
136215
137522
|
init_operations();
|
|
136216
137523
|
init_async();
|
|
136217
137524
|
});
|
|
136218
137525
|
|
|
136219
|
-
// src/mcp-server/tools/
|
|
136220
|
-
var
|
|
136221
|
-
var
|
|
136222
|
-
|
|
137526
|
+
// src/mcp-server/tools/sandboxRunCommand.ts
|
|
137527
|
+
var args308, tool$sandboxRunCommand;
|
|
137528
|
+
var init_sandboxRunCommand2 = __esm(() => {
|
|
137529
|
+
init_sandboxRunCommand();
|
|
136223
137530
|
init_operations();
|
|
136224
137531
|
init_tools();
|
|
136225
|
-
|
|
136226
|
-
request:
|
|
137532
|
+
args308 = {
|
|
137533
|
+
request: RunCommandRequest$inboundSchema
|
|
136227
137534
|
};
|
|
136228
|
-
tool$
|
|
136229
|
-
name: "sandbox-
|
|
136230
|
-
description: `
|
|
137535
|
+
tool$sandboxRunCommand = {
|
|
137536
|
+
name: "sandbox-run-command",
|
|
137537
|
+
description: `Run Command
|
|
136231
137538
|
|
|
136232
|
-
|
|
136233
|
-
args:
|
|
136234
|
-
tool: async (client,
|
|
136235
|
-
const [result, apiCall] = await
|
|
137539
|
+
Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
|
|
137540
|
+
args: args308,
|
|
137541
|
+
tool: async (client, args309, ctx) => {
|
|
137542
|
+
const [result, apiCall] = await sandboxRunCommand(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136236
137543
|
if (!result.ok) {
|
|
136237
137544
|
return {
|
|
136238
137545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136245,27 +137552,21 @@ Download raw bytes from a file in the session workspace.`,
|
|
|
136245
137552
|
};
|
|
136246
137553
|
});
|
|
136247
137554
|
|
|
136248
|
-
// src/funcs/
|
|
136249
|
-
function
|
|
136250
|
-
return new APIPromise($
|
|
137555
|
+
// src/funcs/sandboxSetPricing.ts
|
|
137556
|
+
function sandboxSetPricing(client, request, options) {
|
|
137557
|
+
return new APIPromise($do318(client, request, options));
|
|
136251
137558
|
}
|
|
136252
|
-
async function $
|
|
136253
|
-
const parsed = safeParse4(request, (value) =>
|
|
137559
|
+
async function $do318(client, request, options) {
|
|
137560
|
+
const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
136254
137561
|
if (!parsed.ok) {
|
|
136255
137562
|
return [parsed, { status: "invalid" }];
|
|
136256
137563
|
}
|
|
136257
137564
|
const payload = parsed.value;
|
|
136258
|
-
const body =
|
|
136259
|
-
const
|
|
136260
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136261
|
-
explode: false,
|
|
136262
|
-
charEncoding: "percent"
|
|
136263
|
-
})
|
|
136264
|
-
};
|
|
136265
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}")(pathParams);
|
|
137565
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
137566
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
136266
137567
|
const headers = new Headers(compactMap({
|
|
136267
|
-
|
|
136268
|
-
|
|
137568
|
+
"Content-Type": "application/json",
|
|
137569
|
+
Accept: "application/json"
|
|
136269
137570
|
}));
|
|
136270
137571
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136271
137572
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -136273,7 +137574,7 @@ async function $do310(client, request, options) {
|
|
|
136273
137574
|
const context = {
|
|
136274
137575
|
options: client._options,
|
|
136275
137576
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136276
|
-
operationID: "
|
|
137577
|
+
operationID: "setSandboxPricing",
|
|
136277
137578
|
oAuth2Scopes: null,
|
|
136278
137579
|
resolvedSecurity: requestSecurity,
|
|
136279
137580
|
securitySource: client._options.bearerAuth,
|
|
@@ -136291,7 +137592,7 @@ async function $do310(client, request, options) {
|
|
|
136291
137592
|
};
|
|
136292
137593
|
const requestRes = client._createRequest(context, {
|
|
136293
137594
|
security: requestSecurity,
|
|
136294
|
-
method: "
|
|
137595
|
+
method: "PUT",
|
|
136295
137596
|
baseURL: options?.serverURL,
|
|
136296
137597
|
path,
|
|
136297
137598
|
headers,
|
|
@@ -136316,13 +137617,13 @@ async function $do310(client, request, options) {
|
|
|
136316
137617
|
const responseFields = {
|
|
136317
137618
|
HttpMeta: { Response: response, Request: req }
|
|
136318
137619
|
};
|
|
136319
|
-
const [result] = await match(json(200,
|
|
137620
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136320
137621
|
if (!result.ok) {
|
|
136321
137622
|
return [result, { status: "complete", request: req, response }];
|
|
136322
137623
|
}
|
|
136323
137624
|
return [result, { status: "complete", request: req, response }];
|
|
136324
137625
|
}
|
|
136325
|
-
var
|
|
137626
|
+
var init_sandboxSetPricing = __esm(() => {
|
|
136326
137627
|
init_encodings();
|
|
136327
137628
|
init_http();
|
|
136328
137629
|
init_matchers();
|
|
@@ -136332,27 +137633,26 @@ var init_sandboxGet = __esm(() => {
|
|
|
136332
137633
|
init_url();
|
|
136333
137634
|
init_components();
|
|
136334
137635
|
init_errors4();
|
|
136335
|
-
init_operations();
|
|
136336
137636
|
init_async();
|
|
136337
137637
|
});
|
|
136338
137638
|
|
|
136339
|
-
// src/mcp-server/tools/
|
|
136340
|
-
var
|
|
136341
|
-
var
|
|
136342
|
-
|
|
136343
|
-
|
|
137639
|
+
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
137640
|
+
var args309, tool$sandboxSetPricing;
|
|
137641
|
+
var init_sandboxSetPricing2 = __esm(() => {
|
|
137642
|
+
init_sandboxSetPricing();
|
|
137643
|
+
init_components();
|
|
136344
137644
|
init_tools();
|
|
136345
|
-
|
|
136346
|
-
request:
|
|
137645
|
+
args309 = {
|
|
137646
|
+
request: SandboxPricingUpdate$inboundSchema
|
|
136347
137647
|
};
|
|
136348
|
-
tool$
|
|
136349
|
-
name: "sandbox-
|
|
136350
|
-
description: `
|
|
137648
|
+
tool$sandboxSetPricing = {
|
|
137649
|
+
name: "sandbox-set-pricing",
|
|
137650
|
+
description: `Set Sandbox Pricing
|
|
136351
137651
|
|
|
136352
|
-
|
|
136353
|
-
args:
|
|
136354
|
-
tool: async (client,
|
|
136355
|
-
const [result, apiCall] = await
|
|
137652
|
+
Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from the request become unpriced and accrue no spend. Takes effect on the next meter window without a restart. Cluster admins only.`,
|
|
137653
|
+
args: args309,
|
|
137654
|
+
tool: async (client, args310, ctx) => {
|
|
137655
|
+
const [result, apiCall] = await sandboxSetPricing(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136356
137656
|
if (!result.ok) {
|
|
136357
137657
|
return {
|
|
136358
137658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136365,28 +137665,28 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
136365
137665
|
};
|
|
136366
137666
|
});
|
|
136367
137667
|
|
|
136368
|
-
// src/funcs/
|
|
136369
|
-
function
|
|
136370
|
-
return new APIPromise($
|
|
137668
|
+
// src/funcs/sandboxTerminate.ts
|
|
137669
|
+
function sandboxTerminate(client, request, options) {
|
|
137670
|
+
return new APIPromise($do319(client, request, options));
|
|
136371
137671
|
}
|
|
136372
|
-
async function $
|
|
136373
|
-
const parsed = safeParse4(request, (value) =>
|
|
137672
|
+
async function $do319(client, request, options) {
|
|
137673
|
+
const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
136374
137674
|
if (!parsed.ok) {
|
|
136375
137675
|
return [parsed, { status: "invalid" }];
|
|
136376
137676
|
}
|
|
136377
137677
|
const payload = parsed.value;
|
|
136378
|
-
const body =
|
|
137678
|
+
const body = encodeJSON("body", payload.TerminateSessionRequest, {
|
|
137679
|
+
explode: true
|
|
137680
|
+
});
|
|
136379
137681
|
const pathParams = {
|
|
136380
137682
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136381
137683
|
explode: false,
|
|
136382
137684
|
charEncoding: "percent"
|
|
136383
137685
|
})
|
|
136384
137686
|
};
|
|
136385
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
136386
|
-
const query = encodeFormQuery({
|
|
136387
|
-
session_token: payload.session_token
|
|
136388
|
-
});
|
|
137687
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
136389
137688
|
const headers = new Headers(compactMap({
|
|
137689
|
+
"Content-Type": "application/json",
|
|
136390
137690
|
Accept: "application/json",
|
|
136391
137691
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136392
137692
|
}));
|
|
@@ -136396,7 +137696,7 @@ async function $do311(client, request, options) {
|
|
|
136396
137696
|
const context = {
|
|
136397
137697
|
options: client._options,
|
|
136398
137698
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136399
|
-
operationID: "
|
|
137699
|
+
operationID: "terminateSession",
|
|
136400
137700
|
oAuth2Scopes: null,
|
|
136401
137701
|
resolvedSecurity: requestSecurity,
|
|
136402
137702
|
securitySource: client._options.bearerAuth,
|
|
@@ -136414,11 +137714,10 @@ async function $do311(client, request, options) {
|
|
|
136414
137714
|
};
|
|
136415
137715
|
const requestRes = client._createRequest(context, {
|
|
136416
137716
|
security: requestSecurity,
|
|
136417
|
-
method: "
|
|
137717
|
+
method: "POST",
|
|
136418
137718
|
baseURL: options?.serverURL,
|
|
136419
137719
|
path,
|
|
136420
137720
|
headers,
|
|
136421
|
-
query,
|
|
136422
137721
|
body,
|
|
136423
137722
|
userAgent: client._options.userAgent,
|
|
136424
137723
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136440,13 +137739,13 @@ async function $do311(client, request, options) {
|
|
|
136440
137739
|
const responseFields = {
|
|
136441
137740
|
HttpMeta: { Response: response, Request: req }
|
|
136442
137741
|
};
|
|
136443
|
-
const [result] = await match(json(200,
|
|
137742
|
+
const [result] = await match(json(200, TerminateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136444
137743
|
if (!result.ok) {
|
|
136445
137744
|
return [result, { status: "complete", request: req, response }];
|
|
136446
137745
|
}
|
|
136447
137746
|
return [result, { status: "complete", request: req, response }];
|
|
136448
137747
|
}
|
|
136449
|
-
var
|
|
137748
|
+
var init_sandboxTerminate = __esm(() => {
|
|
136450
137749
|
init_encodings();
|
|
136451
137750
|
init_http();
|
|
136452
137751
|
init_matchers();
|
|
@@ -136460,23 +137759,23 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
136460
137759
|
init_async();
|
|
136461
137760
|
});
|
|
136462
137761
|
|
|
136463
|
-
// src/mcp-server/tools/
|
|
136464
|
-
var
|
|
136465
|
-
var
|
|
136466
|
-
|
|
137762
|
+
// src/mcp-server/tools/sandboxTerminate.ts
|
|
137763
|
+
var args310, tool$sandboxTerminate;
|
|
137764
|
+
var init_sandboxTerminate2 = __esm(() => {
|
|
137765
|
+
init_sandboxTerminate();
|
|
136467
137766
|
init_operations();
|
|
136468
137767
|
init_tools();
|
|
136469
|
-
|
|
136470
|
-
request:
|
|
137768
|
+
args310 = {
|
|
137769
|
+
request: TerminateSessionRequest$inboundSchema2
|
|
136471
137770
|
};
|
|
136472
|
-
tool$
|
|
136473
|
-
name: "sandbox-
|
|
136474
|
-
description: `
|
|
137771
|
+
tool$sandboxTerminate = {
|
|
137772
|
+
name: "sandbox-terminate",
|
|
137773
|
+
description: `Terminate Session
|
|
136475
137774
|
|
|
136476
|
-
|
|
136477
|
-
args:
|
|
136478
|
-
tool: async (client,
|
|
136479
|
-
const [result, apiCall] = await
|
|
137775
|
+
Stop a sandbox session and release the backing sandbox resources.`,
|
|
137776
|
+
args: args310,
|
|
137777
|
+
tool: async (client, args311, ctx) => {
|
|
137778
|
+
const [result, apiCall] = await sandboxTerminate(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136480
137779
|
if (!result.ok) {
|
|
136481
137780
|
return {
|
|
136482
137781
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136489,14 +137788,31 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
136489
137788
|
};
|
|
136490
137789
|
});
|
|
136491
137790
|
|
|
136492
|
-
// src/funcs/
|
|
136493
|
-
function
|
|
136494
|
-
return new APIPromise($
|
|
137791
|
+
// src/funcs/sandboxUploadArchive.ts
|
|
137792
|
+
function sandboxUploadArchive(client, request, options) {
|
|
137793
|
+
return new APIPromise($do320(client, request, options));
|
|
136495
137794
|
}
|
|
136496
|
-
async function $
|
|
136497
|
-
const
|
|
137795
|
+
async function $do320(client, request, options) {
|
|
137796
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137797
|
+
if (!parsed.ok) {
|
|
137798
|
+
return [parsed, { status: "invalid" }];
|
|
137799
|
+
}
|
|
137800
|
+
const payload = parsed.value;
|
|
137801
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
137802
|
+
const pathParams = {
|
|
137803
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137804
|
+
explode: false,
|
|
137805
|
+
charEncoding: "percent"
|
|
137806
|
+
})
|
|
137807
|
+
};
|
|
137808
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
137809
|
+
const query = encodeFormQuery({
|
|
137810
|
+
session_token: payload.session_token
|
|
137811
|
+
});
|
|
136498
137812
|
const headers = new Headers(compactMap({
|
|
136499
|
-
|
|
137813
|
+
"Content-Type": "application/zip",
|
|
137814
|
+
Accept: "application/json",
|
|
137815
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136500
137816
|
}));
|
|
136501
137817
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136502
137818
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -136504,7 +137820,7 @@ async function $do312(client, options) {
|
|
|
136504
137820
|
const context = {
|
|
136505
137821
|
options: client._options,
|
|
136506
137822
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136507
|
-
operationID: "
|
|
137823
|
+
operationID: "uploadWorkspaceArchive",
|
|
136508
137824
|
oAuth2Scopes: null,
|
|
136509
137825
|
resolvedSecurity: requestSecurity,
|
|
136510
137826
|
securitySource: client._options.bearerAuth,
|
|
@@ -136522,10 +137838,12 @@ async function $do312(client, options) {
|
|
|
136522
137838
|
};
|
|
136523
137839
|
const requestRes = client._createRequest(context, {
|
|
136524
137840
|
security: requestSecurity,
|
|
136525
|
-
method: "
|
|
137841
|
+
method: "PUT",
|
|
136526
137842
|
baseURL: options?.serverURL,
|
|
136527
137843
|
path,
|
|
136528
137844
|
headers,
|
|
137845
|
+
query,
|
|
137846
|
+
body,
|
|
136529
137847
|
userAgent: client._options.userAgent,
|
|
136530
137848
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136531
137849
|
}, options);
|
|
@@ -136543,34 +137861,46 @@ async function $do312(client, options) {
|
|
|
136543
137861
|
return [doResult, { status: "request-error", request: req }];
|
|
136544
137862
|
}
|
|
136545
137863
|
const response = doResult.value;
|
|
136546
|
-
const
|
|
137864
|
+
const responseFields = {
|
|
137865
|
+
HttpMeta: { Response: response, Request: req }
|
|
137866
|
+
};
|
|
137867
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136547
137868
|
if (!result.ok) {
|
|
136548
137869
|
return [result, { status: "complete", request: req, response }];
|
|
136549
137870
|
}
|
|
136550
137871
|
return [result, { status: "complete", request: req, response }];
|
|
136551
137872
|
}
|
|
136552
|
-
var
|
|
137873
|
+
var init_sandboxUploadArchive = __esm(() => {
|
|
137874
|
+
init_esm();
|
|
137875
|
+
init_encodings();
|
|
136553
137876
|
init_http();
|
|
136554
137877
|
init_matchers();
|
|
136555
137878
|
init_primitives();
|
|
137879
|
+
init_schemas4();
|
|
136556
137880
|
init_security();
|
|
136557
137881
|
init_url();
|
|
136558
|
-
|
|
137882
|
+
init_errors4();
|
|
137883
|
+
init_operations();
|
|
136559
137884
|
init_async();
|
|
136560
137885
|
});
|
|
136561
137886
|
|
|
136562
|
-
// src/mcp-server/tools/
|
|
136563
|
-
var tool$
|
|
136564
|
-
var
|
|
136565
|
-
|
|
137887
|
+
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
137888
|
+
var args311, tool$sandboxUploadArchive;
|
|
137889
|
+
var init_sandboxUploadArchive2 = __esm(() => {
|
|
137890
|
+
init_sandboxUploadArchive();
|
|
137891
|
+
init_operations();
|
|
136566
137892
|
init_tools();
|
|
136567
|
-
|
|
136568
|
-
|
|
136569
|
-
|
|
137893
|
+
args311 = {
|
|
137894
|
+
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
137895
|
+
};
|
|
137896
|
+
tool$sandboxUploadArchive = {
|
|
137897
|
+
name: "sandbox-upload-archive",
|
|
137898
|
+
description: `Upload Workspace Archive
|
|
136570
137899
|
|
|
136571
|
-
|
|
136572
|
-
|
|
136573
|
-
|
|
137900
|
+
Upload a zip archive and extract its files into the session workspace.`,
|
|
137901
|
+
args: args311,
|
|
137902
|
+
tool: async (client, args312, ctx) => {
|
|
137903
|
+
const [result, apiCall] = await sandboxUploadArchive(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136574
137904
|
if (!result.ok) {
|
|
136575
137905
|
return {
|
|
136576
137906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136583,28 +137913,33 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
136583
137913
|
};
|
|
136584
137914
|
});
|
|
136585
137915
|
|
|
136586
|
-
// src/funcs/
|
|
136587
|
-
function
|
|
136588
|
-
return new APIPromise($
|
|
137916
|
+
// src/funcs/sandboxUploadFile.ts
|
|
137917
|
+
function sandboxUploadFile(client, request, options) {
|
|
137918
|
+
return new APIPromise($do321(client, request, options));
|
|
136589
137919
|
}
|
|
136590
|
-
async function $
|
|
136591
|
-
const parsed = safeParse4(request, (value) =>
|
|
137920
|
+
async function $do321(client, request, options) {
|
|
137921
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136592
137922
|
if (!parsed.ok) {
|
|
136593
137923
|
return [parsed, { status: "invalid" }];
|
|
136594
137924
|
}
|
|
136595
137925
|
const payload = parsed.value;
|
|
136596
|
-
const body =
|
|
137926
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
136597
137927
|
const pathParams = {
|
|
137928
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
137929
|
+
explode: false,
|
|
137930
|
+
charEncoding: "percent"
|
|
137931
|
+
}),
|
|
136598
137932
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136599
137933
|
explode: false,
|
|
136600
137934
|
charEncoding: "percent"
|
|
136601
137935
|
})
|
|
136602
137936
|
};
|
|
136603
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
137937
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
136604
137938
|
const query = encodeFormQuery({
|
|
136605
137939
|
session_token: payload.session_token
|
|
136606
137940
|
});
|
|
136607
137941
|
const headers = new Headers(compactMap({
|
|
137942
|
+
"Content-Type": "application/octet-stream",
|
|
136608
137943
|
Accept: "application/json",
|
|
136609
137944
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136610
137945
|
}));
|
|
@@ -136614,7 +137949,7 @@ async function $do313(client, request, options) {
|
|
|
136614
137949
|
const context = {
|
|
136615
137950
|
options: client._options,
|
|
136616
137951
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136617
|
-
operationID: "
|
|
137952
|
+
operationID: "uploadWorkspaceFile",
|
|
136618
137953
|
oAuth2Scopes: null,
|
|
136619
137954
|
resolvedSecurity: requestSecurity,
|
|
136620
137955
|
securitySource: client._options.bearerAuth,
|
|
@@ -136632,7 +137967,7 @@ async function $do313(client, request, options) {
|
|
|
136632
137967
|
};
|
|
136633
137968
|
const requestRes = client._createRequest(context, {
|
|
136634
137969
|
security: requestSecurity,
|
|
136635
|
-
method: "
|
|
137970
|
+
method: "PUT",
|
|
136636
137971
|
baseURL: options?.serverURL,
|
|
136637
137972
|
path,
|
|
136638
137973
|
headers,
|
|
@@ -136658,13 +137993,14 @@ async function $do313(client, request, options) {
|
|
|
136658
137993
|
const responseFields = {
|
|
136659
137994
|
HttpMeta: { Response: response, Request: req }
|
|
136660
137995
|
};
|
|
136661
|
-
const [result] = await match(json(200,
|
|
137996
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136662
137997
|
if (!result.ok) {
|
|
136663
137998
|
return [result, { status: "complete", request: req, response }];
|
|
136664
137999
|
}
|
|
136665
138000
|
return [result, { status: "complete", request: req, response }];
|
|
136666
138001
|
}
|
|
136667
|
-
var
|
|
138002
|
+
var init_sandboxUploadFile = __esm(() => {
|
|
138003
|
+
init_esm();
|
|
136668
138004
|
init_encodings();
|
|
136669
138005
|
init_http();
|
|
136670
138006
|
init_matchers();
|
|
@@ -136672,29 +138008,28 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
136672
138008
|
init_schemas4();
|
|
136673
138009
|
init_security();
|
|
136674
138010
|
init_url();
|
|
136675
|
-
init_components();
|
|
136676
138011
|
init_errors4();
|
|
136677
138012
|
init_operations();
|
|
136678
138013
|
init_async();
|
|
136679
138014
|
});
|
|
136680
138015
|
|
|
136681
|
-
// src/mcp-server/tools/
|
|
136682
|
-
var
|
|
136683
|
-
var
|
|
136684
|
-
|
|
138016
|
+
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
138017
|
+
var args312, tool$sandboxUploadFile;
|
|
138018
|
+
var init_sandboxUploadFile2 = __esm(() => {
|
|
138019
|
+
init_sandboxUploadFile();
|
|
136685
138020
|
init_operations();
|
|
136686
138021
|
init_tools();
|
|
136687
|
-
|
|
136688
|
-
request:
|
|
138022
|
+
args312 = {
|
|
138023
|
+
request: UploadWorkspaceFileRequest$inboundSchema
|
|
136689
138024
|
};
|
|
136690
|
-
tool$
|
|
136691
|
-
name: "sandbox-
|
|
136692
|
-
description: `
|
|
138025
|
+
tool$sandboxUploadFile = {
|
|
138026
|
+
name: "sandbox-upload-file",
|
|
138027
|
+
description: `Upload Workspace File
|
|
136693
138028
|
|
|
136694
|
-
|
|
136695
|
-
args:
|
|
136696
|
-
tool: async (client,
|
|
136697
|
-
const [result, apiCall] = await
|
|
138029
|
+
Upload raw bytes into the session workspace at the given path.`,
|
|
138030
|
+
args: args312,
|
|
138031
|
+
tool: async (client, args313, ctx) => {
|
|
138032
|
+
const [result, apiCall] = await sandboxUploadFile(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136698
138033
|
if (!result.ok) {
|
|
136699
138034
|
return {
|
|
136700
138035
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136707,19 +138042,20 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
136707
138042
|
};
|
|
136708
138043
|
});
|
|
136709
138044
|
|
|
136710
|
-
// src/funcs/
|
|
136711
|
-
function
|
|
136712
|
-
return new APIPromise($
|
|
138045
|
+
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
138046
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
138047
|
+
return new APIPromise($do322(client, request, options));
|
|
136713
138048
|
}
|
|
136714
|
-
async function $
|
|
136715
|
-
const parsed = safeParse4(request, (value) =>
|
|
138049
|
+
async function $do322(client, request, options) {
|
|
138050
|
+
const parsed = safeParse4(request, (value) => ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136716
138051
|
if (!parsed.ok) {
|
|
136717
138052
|
return [parsed, { status: "invalid" }];
|
|
136718
138053
|
}
|
|
136719
138054
|
const payload = parsed.value;
|
|
136720
|
-
const body =
|
|
136721
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
138055
|
+
const body = encodeJSON("body", payload.ConnectRequest, { explode: true });
|
|
138056
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
136722
138057
|
const headers = new Headers(compactMap({
|
|
138058
|
+
"Content-Type": "application/json",
|
|
136723
138059
|
Accept: "application/json",
|
|
136724
138060
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136725
138061
|
}));
|
|
@@ -136729,7 +138065,7 @@ async function $do314(client, request, options) {
|
|
|
136729
138065
|
const context = {
|
|
136730
138066
|
options: client._options,
|
|
136731
138067
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136732
|
-
operationID: "
|
|
138068
|
+
operationID: "connect_api_v1_sandbox_github_oauth_connections_post",
|
|
136733
138069
|
oAuth2Scopes: null,
|
|
136734
138070
|
resolvedSecurity: requestSecurity,
|
|
136735
138071
|
securitySource: client._options.bearerAuth,
|
|
@@ -136747,7 +138083,7 @@ async function $do314(client, request, options) {
|
|
|
136747
138083
|
};
|
|
136748
138084
|
const requestRes = client._createRequest(context, {
|
|
136749
138085
|
security: requestSecurity,
|
|
136750
|
-
method: "
|
|
138086
|
+
method: "POST",
|
|
136751
138087
|
baseURL: options?.serverURL,
|
|
136752
138088
|
path,
|
|
136753
138089
|
headers,
|
|
@@ -136772,14 +138108,13 @@ async function $do314(client, request, options) {
|
|
|
136772
138108
|
const responseFields = {
|
|
136773
138109
|
HttpMeta: { Response: response, Request: req }
|
|
136774
138110
|
};
|
|
136775
|
-
const [result] = await match(json(
|
|
138111
|
+
const [result] = await match(json(201, Connection$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136776
138112
|
if (!result.ok) {
|
|
136777
138113
|
return [result, { status: "complete", request: req, response }];
|
|
136778
138114
|
}
|
|
136779
138115
|
return [result, { status: "complete", request: req, response }];
|
|
136780
138116
|
}
|
|
136781
|
-
var
|
|
136782
|
-
init_esm();
|
|
138117
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() => {
|
|
136783
138118
|
init_encodings();
|
|
136784
138119
|
init_http();
|
|
136785
138120
|
init_matchers();
|
|
@@ -136793,23 +138128,21 @@ var init_sandboxList = __esm(() => {
|
|
|
136793
138128
|
init_async();
|
|
136794
138129
|
});
|
|
136795
138130
|
|
|
136796
|
-
// src/mcp-server/tools/
|
|
136797
|
-
var
|
|
136798
|
-
var
|
|
136799
|
-
|
|
138131
|
+
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
138132
|
+
var args313, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
138133
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
138134
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
136800
138135
|
init_operations();
|
|
136801
138136
|
init_tools();
|
|
136802
|
-
|
|
136803
|
-
request:
|
|
138137
|
+
args313 = {
|
|
138138
|
+
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
136804
138139
|
};
|
|
136805
|
-
tool$
|
|
136806
|
-
name: "sandbox-
|
|
136807
|
-
description: `
|
|
136808
|
-
|
|
136809
|
-
|
|
136810
|
-
|
|
136811
|
-
tool: async (client, args306, ctx) => {
|
|
136812
|
-
const [result, apiCall] = await sandboxList(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138140
|
+
tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = {
|
|
138141
|
+
name: "schema-3-other-connect-api-v1-sandbox-github-oauth-connections-post",
|
|
138142
|
+
description: `Connect`,
|
|
138143
|
+
args: args313,
|
|
138144
|
+
tool: async (client, args314, ctx) => {
|
|
138145
|
+
const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136813
138146
|
if (!result.ok) {
|
|
136814
138147
|
return {
|
|
136815
138148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136822,35 +138155,18 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
136822
138155
|
};
|
|
136823
138156
|
});
|
|
136824
138157
|
|
|
136825
|
-
// src/funcs/
|
|
136826
|
-
function
|
|
136827
|
-
return new APIPromise($
|
|
138158
|
+
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
138159
|
+
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
138160
|
+
return new APIPromise($do323(client, request, options));
|
|
136828
138161
|
}
|
|
136829
|
-
async function $
|
|
136830
|
-
const parsed = safeParse4(request, (value) =>
|
|
138162
|
+
async function $do323(client, request, options) {
|
|
138163
|
+
const parsed = safeParse4(request, (value) => CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136831
138164
|
if (!parsed.ok) {
|
|
136832
138165
|
return [parsed, { status: "invalid" }];
|
|
136833
138166
|
}
|
|
136834
138167
|
const payload = parsed.value;
|
|
136835
138168
|
const body = null;
|
|
136836
|
-
const
|
|
136837
|
-
port: encodeSimple("port", payload.port, {
|
|
136838
|
-
explode: false,
|
|
136839
|
-
charEncoding: "percent"
|
|
136840
|
-
}),
|
|
136841
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136842
|
-
explode: false,
|
|
136843
|
-
charEncoding: "percent"
|
|
136844
|
-
}),
|
|
136845
|
-
subpath: encodeSimple("subpath", payload.subpath, {
|
|
136846
|
-
explode: false,
|
|
136847
|
-
charEncoding: "percent"
|
|
136848
|
-
})
|
|
136849
|
-
};
|
|
136850
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
136851
|
-
const query = encodeFormQuery({
|
|
136852
|
-
session_token: payload.session_token
|
|
136853
|
-
});
|
|
138169
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/intents")();
|
|
136854
138170
|
const headers = new Headers(compactMap({
|
|
136855
138171
|
Accept: "application/json",
|
|
136856
138172
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -136861,7 +138177,7 @@ async function $do315(client, request, options) {
|
|
|
136861
138177
|
const context = {
|
|
136862
138178
|
options: client._options,
|
|
136863
138179
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136864
|
-
operationID: "
|
|
138180
|
+
operationID: "create_intent_api_v1_sandbox_github_oauth_intents_post",
|
|
136865
138181
|
oAuth2Scopes: null,
|
|
136866
138182
|
resolvedSecurity: requestSecurity,
|
|
136867
138183
|
securitySource: client._options.bearerAuth,
|
|
@@ -136879,11 +138195,10 @@ async function $do315(client, request, options) {
|
|
|
136879
138195
|
};
|
|
136880
138196
|
const requestRes = client._createRequest(context, {
|
|
136881
138197
|
security: requestSecurity,
|
|
136882
|
-
method: "
|
|
138198
|
+
method: "POST",
|
|
136883
138199
|
baseURL: options?.serverURL,
|
|
136884
138200
|
path,
|
|
136885
138201
|
headers,
|
|
136886
|
-
query,
|
|
136887
138202
|
body,
|
|
136888
138203
|
userAgent: client._options.userAgent,
|
|
136889
138204
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136902,17 +138217,13 @@ async function $do315(client, request, options) {
|
|
|
136902
138217
|
return [doResult, { status: "request-error", request: req }];
|
|
136903
138218
|
}
|
|
136904
138219
|
const response = doResult.value;
|
|
136905
|
-
const
|
|
136906
|
-
HttpMeta: { Response: response, Request: req }
|
|
136907
|
-
};
|
|
136908
|
-
const [result] = await match(json(200, anyType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
138220
|
+
const [result] = await match(json(201, AuthorizeIntent$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
136909
138221
|
if (!result.ok) {
|
|
136910
138222
|
return [result, { status: "complete", request: req, response }];
|
|
136911
138223
|
}
|
|
136912
138224
|
return [result, { status: "complete", request: req, response }];
|
|
136913
138225
|
}
|
|
136914
|
-
var
|
|
136915
|
-
init_esm();
|
|
138226
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() => {
|
|
136916
138227
|
init_encodings();
|
|
136917
138228
|
init_http();
|
|
136918
138229
|
init_matchers();
|
|
@@ -136920,28 +138231,26 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
136920
138231
|
init_schemas4();
|
|
136921
138232
|
init_security();
|
|
136922
138233
|
init_url();
|
|
136923
|
-
|
|
138234
|
+
init_components();
|
|
136924
138235
|
init_operations();
|
|
136925
138236
|
init_async();
|
|
136926
138237
|
});
|
|
136927
138238
|
|
|
136928
|
-
// src/mcp-server/tools/
|
|
136929
|
-
var
|
|
136930
|
-
var
|
|
136931
|
-
|
|
138239
|
+
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
138240
|
+
var args314, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
138241
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
138242
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
136932
138243
|
init_operations();
|
|
136933
138244
|
init_tools();
|
|
136934
|
-
|
|
136935
|
-
request:
|
|
138245
|
+
args314 = {
|
|
138246
|
+
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
136936
138247
|
};
|
|
136937
|
-
tool$
|
|
136938
|
-
name: "sandbox-
|
|
136939
|
-
description: `
|
|
136940
|
-
|
|
136941
|
-
|
|
136942
|
-
|
|
136943
|
-
tool: async (client, args307, ctx) => {
|
|
136944
|
-
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138248
|
+
tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = {
|
|
138249
|
+
name: "schema-3-other-create-intent-api-v1-sandbox-github-oauth-intents-post",
|
|
138250
|
+
description: `Create Intent`,
|
|
138251
|
+
args: args314,
|
|
138252
|
+
tool: async (client, args315, ctx) => {
|
|
138253
|
+
const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136945
138254
|
if (!result.ok) {
|
|
136946
138255
|
return {
|
|
136947
138256
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136954,27 +138263,20 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
136954
138263
|
};
|
|
136955
138264
|
});
|
|
136956
138265
|
|
|
136957
|
-
// src/funcs/
|
|
136958
|
-
function
|
|
136959
|
-
return new APIPromise($
|
|
138266
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
138267
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
138268
|
+
return new APIPromise($do324(client, request, options));
|
|
136960
138269
|
}
|
|
136961
|
-
async function $
|
|
136962
|
-
const parsed = safeParse4(request, (value) =>
|
|
138270
|
+
async function $do324(client, request, options) {
|
|
138271
|
+
const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136963
138272
|
if (!parsed.ok) {
|
|
136964
138273
|
return [parsed, { status: "invalid" }];
|
|
136965
138274
|
}
|
|
136966
138275
|
const payload = parsed.value;
|
|
136967
|
-
const body =
|
|
136968
|
-
const
|
|
136969
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136970
|
-
explode: false,
|
|
136971
|
-
charEncoding: "percent"
|
|
136972
|
-
})
|
|
136973
|
-
};
|
|
136974
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
138276
|
+
const body = null;
|
|
138277
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
136975
138278
|
const headers = new Headers(compactMap({
|
|
136976
|
-
|
|
136977
|
-
Accept: "application/json",
|
|
138279
|
+
Accept: "*/*",
|
|
136978
138280
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136979
138281
|
}));
|
|
136980
138282
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -136983,7 +138285,7 @@ async function $do316(client, request, options) {
|
|
|
136983
138285
|
const context = {
|
|
136984
138286
|
options: client._options,
|
|
136985
138287
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136986
|
-
operationID: "
|
|
138288
|
+
operationID: "disconnect_api_v1_sandbox_github_oauth_connections_delete",
|
|
136987
138289
|
oAuth2Scopes: null,
|
|
136988
138290
|
resolvedSecurity: requestSecurity,
|
|
136989
138291
|
securitySource: client._options.bearerAuth,
|
|
@@ -137001,7 +138303,7 @@ async function $do316(client, request, options) {
|
|
|
137001
138303
|
};
|
|
137002
138304
|
const requestRes = client._createRequest(context, {
|
|
137003
138305
|
security: requestSecurity,
|
|
137004
|
-
method: "
|
|
138306
|
+
method: "DELETE",
|
|
137005
138307
|
baseURL: options?.serverURL,
|
|
137006
138308
|
path,
|
|
137007
138309
|
headers,
|
|
@@ -137023,16 +138325,14 @@ async function $do316(client, request, options) {
|
|
|
137023
138325
|
return [doResult, { status: "request-error", request: req }];
|
|
137024
138326
|
}
|
|
137025
138327
|
const response = doResult.value;
|
|
137026
|
-
const
|
|
137027
|
-
HttpMeta: { Response: response, Request: req }
|
|
137028
|
-
};
|
|
137029
|
-
const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
138328
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
137030
138329
|
if (!result.ok) {
|
|
137031
138330
|
return [result, { status: "complete", request: req, response }];
|
|
137032
138331
|
}
|
|
137033
138332
|
return [result, { status: "complete", request: req, response }];
|
|
137034
138333
|
}
|
|
137035
|
-
var
|
|
138334
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(() => {
|
|
138335
|
+
init_esm();
|
|
137036
138336
|
init_encodings();
|
|
137037
138337
|
init_http();
|
|
137038
138338
|
init_matchers();
|
|
@@ -137040,61 +138340,49 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
137040
138340
|
init_schemas4();
|
|
137041
138341
|
init_security();
|
|
137042
138342
|
init_url();
|
|
137043
|
-
init_components();
|
|
137044
|
-
init_errors4();
|
|
137045
138343
|
init_operations();
|
|
137046
138344
|
init_async();
|
|
137047
138345
|
});
|
|
137048
138346
|
|
|
137049
|
-
// src/mcp-server/tools/
|
|
137050
|
-
var
|
|
137051
|
-
var
|
|
137052
|
-
|
|
138347
|
+
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
138348
|
+
var args315, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
138349
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
138350
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
137053
138351
|
init_operations();
|
|
137054
138352
|
init_tools();
|
|
137055
|
-
|
|
137056
|
-
request:
|
|
138353
|
+
args315 = {
|
|
138354
|
+
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
137057
138355
|
};
|
|
137058
|
-
tool$
|
|
137059
|
-
name: "sandbox-
|
|
137060
|
-
description: `
|
|
137061
|
-
|
|
137062
|
-
|
|
137063
|
-
|
|
137064
|
-
tool: async (client, args308, ctx) => {
|
|
137065
|
-
const [result, apiCall] = await sandboxRunCode(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138356
|
+
tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
|
|
138357
|
+
name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
|
|
138358
|
+
description: `Disconnect`,
|
|
138359
|
+
args: args315,
|
|
138360
|
+
tool: async (client, args316, ctx) => {
|
|
138361
|
+
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137066
138362
|
if (!result.ok) {
|
|
137067
138363
|
return {
|
|
137068
138364
|
content: [{ type: "text", text: result.error.message }],
|
|
137069
138365
|
isError: true
|
|
137070
138366
|
};
|
|
137071
138367
|
}
|
|
137072
|
-
|
|
137073
|
-
return formatResult(value, apiCall);
|
|
138368
|
+
return formatResult(undefined, apiCall);
|
|
137074
138369
|
}
|
|
137075
138370
|
};
|
|
137076
138371
|
});
|
|
137077
138372
|
|
|
137078
|
-
// src/funcs/
|
|
137079
|
-
function
|
|
137080
|
-
return new APIPromise($
|
|
138373
|
+
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
138374
|
+
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
138375
|
+
return new APIPromise($do325(client, request, options));
|
|
137081
138376
|
}
|
|
137082
|
-
async function $
|
|
137083
|
-
const parsed = safeParse4(request, (value) =>
|
|
138377
|
+
async function $do325(client, request, options) {
|
|
138378
|
+
const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137084
138379
|
if (!parsed.ok) {
|
|
137085
138380
|
return [parsed, { status: "invalid" }];
|
|
137086
138381
|
}
|
|
137087
138382
|
const payload = parsed.value;
|
|
137088
|
-
const body =
|
|
137089
|
-
const
|
|
137090
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137091
|
-
explode: false,
|
|
137092
|
-
charEncoding: "percent"
|
|
137093
|
-
})
|
|
137094
|
-
};
|
|
137095
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
|
|
138383
|
+
const body = null;
|
|
138384
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
137096
138385
|
const headers = new Headers(compactMap({
|
|
137097
|
-
"Content-Type": "application/json",
|
|
137098
138386
|
Accept: "application/json",
|
|
137099
138387
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137100
138388
|
}));
|
|
@@ -137104,7 +138392,7 @@ async function $do317(client, request, options) {
|
|
|
137104
138392
|
const context = {
|
|
137105
138393
|
options: client._options,
|
|
137106
138394
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137107
|
-
operationID: "
|
|
138395
|
+
operationID: "get_connection_api_v1_sandbox_github_oauth_connections_get",
|
|
137108
138396
|
oAuth2Scopes: null,
|
|
137109
138397
|
resolvedSecurity: requestSecurity,
|
|
137110
138398
|
securitySource: client._options.bearerAuth,
|
|
@@ -137122,7 +138410,7 @@ async function $do317(client, request, options) {
|
|
|
137122
138410
|
};
|
|
137123
138411
|
const requestRes = client._createRequest(context, {
|
|
137124
138412
|
security: requestSecurity,
|
|
137125
|
-
method: "
|
|
138413
|
+
method: "GET",
|
|
137126
138414
|
baseURL: options?.serverURL,
|
|
137127
138415
|
path,
|
|
137128
138416
|
headers,
|
|
@@ -137144,16 +138432,13 @@ async function $do317(client, request, options) {
|
|
|
137144
138432
|
return [doResult, { status: "request-error", request: req }];
|
|
137145
138433
|
}
|
|
137146
138434
|
const response = doResult.value;
|
|
137147
|
-
const
|
|
137148
|
-
HttpMeta: { Response: response, Request: req }
|
|
137149
|
-
};
|
|
137150
|
-
const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
138435
|
+
const [result] = await match(json(200, ConnectionEnvelope$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
137151
138436
|
if (!result.ok) {
|
|
137152
138437
|
return [result, { status: "complete", request: req, response }];
|
|
137153
138438
|
}
|
|
137154
138439
|
return [result, { status: "complete", request: req, response }];
|
|
137155
138440
|
}
|
|
137156
|
-
var
|
|
138441
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(() => {
|
|
137157
138442
|
init_encodings();
|
|
137158
138443
|
init_http();
|
|
137159
138444
|
init_matchers();
|
|
@@ -137162,28 +138447,25 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
137162
138447
|
init_security();
|
|
137163
138448
|
init_url();
|
|
137164
138449
|
init_components();
|
|
137165
|
-
init_errors4();
|
|
137166
138450
|
init_operations();
|
|
137167
138451
|
init_async();
|
|
137168
138452
|
});
|
|
137169
138453
|
|
|
137170
|
-
// src/mcp-server/tools/
|
|
137171
|
-
var
|
|
137172
|
-
var
|
|
137173
|
-
|
|
138454
|
+
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
138455
|
+
var args316, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
138456
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
138457
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
137174
138458
|
init_operations();
|
|
137175
138459
|
init_tools();
|
|
137176
|
-
|
|
137177
|
-
request:
|
|
137178
|
-
};
|
|
137179
|
-
tool$
|
|
137180
|
-
name: "sandbox-
|
|
137181
|
-
description: `
|
|
137182
|
-
|
|
137183
|
-
|
|
137184
|
-
|
|
137185
|
-
tool: async (client, args309, ctx) => {
|
|
137186
|
-
const [result, apiCall] = await sandboxRunCommand(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138460
|
+
args316 = {
|
|
138461
|
+
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
138462
|
+
};
|
|
138463
|
+
tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
|
|
138464
|
+
name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
|
|
138465
|
+
description: `Get Connection`,
|
|
138466
|
+
args: args316,
|
|
138467
|
+
tool: async (client, args317, ctx) => {
|
|
138468
|
+
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137187
138469
|
if (!result.ok) {
|
|
137188
138470
|
return {
|
|
137189
138471
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137196,21 +138478,21 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
137196
138478
|
};
|
|
137197
138479
|
});
|
|
137198
138480
|
|
|
137199
|
-
// src/funcs/
|
|
137200
|
-
function
|
|
137201
|
-
return new APIPromise($
|
|
138481
|
+
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
138482
|
+
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
138483
|
+
return new APIPromise($do326(client, request, options));
|
|
137202
138484
|
}
|
|
137203
|
-
async function $
|
|
137204
|
-
const parsed = safeParse4(request, (value) =>
|
|
138485
|
+
async function $do326(client, request, options) {
|
|
138486
|
+
const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137205
138487
|
if (!parsed.ok) {
|
|
137206
138488
|
return [parsed, { status: "invalid" }];
|
|
137207
138489
|
}
|
|
137208
138490
|
const payload = parsed.value;
|
|
137209
|
-
const body =
|
|
137210
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
138491
|
+
const body = null;
|
|
138492
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories")();
|
|
137211
138493
|
const headers = new Headers(compactMap({
|
|
137212
|
-
|
|
137213
|
-
|
|
138494
|
+
Accept: "application/json",
|
|
138495
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137214
138496
|
}));
|
|
137215
138497
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
137216
138498
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -137218,7 +138500,7 @@ async function $do318(client, request, options) {
|
|
|
137218
138500
|
const context = {
|
|
137219
138501
|
options: client._options,
|
|
137220
138502
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137221
|
-
operationID: "
|
|
138503
|
+
operationID: "list_repositories_api_v1_sandbox_github_repositories_get",
|
|
137222
138504
|
oAuth2Scopes: null,
|
|
137223
138505
|
resolvedSecurity: requestSecurity,
|
|
137224
138506
|
securitySource: client._options.bearerAuth,
|
|
@@ -137236,7 +138518,7 @@ async function $do318(client, request, options) {
|
|
|
137236
138518
|
};
|
|
137237
138519
|
const requestRes = client._createRequest(context, {
|
|
137238
138520
|
security: requestSecurity,
|
|
137239
|
-
method: "
|
|
138521
|
+
method: "GET",
|
|
137240
138522
|
baseURL: options?.serverURL,
|
|
137241
138523
|
path,
|
|
137242
138524
|
headers,
|
|
@@ -137258,16 +138540,13 @@ async function $do318(client, request, options) {
|
|
|
137258
138540
|
return [doResult, { status: "request-error", request: req }];
|
|
137259
138541
|
}
|
|
137260
138542
|
const response = doResult.value;
|
|
137261
|
-
const
|
|
137262
|
-
HttpMeta: { Response: response, Request: req }
|
|
137263
|
-
};
|
|
137264
|
-
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
138543
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
137265
138544
|
if (!result.ok) {
|
|
137266
138545
|
return [result, { status: "complete", request: req, response }];
|
|
137267
138546
|
}
|
|
137268
138547
|
return [result, { status: "complete", request: req, response }];
|
|
137269
138548
|
}
|
|
137270
|
-
var
|
|
138549
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm(() => {
|
|
137271
138550
|
init_encodings();
|
|
137272
138551
|
init_http();
|
|
137273
138552
|
init_matchers();
|
|
@@ -137276,27 +138555,25 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
137276
138555
|
init_security();
|
|
137277
138556
|
init_url();
|
|
137278
138557
|
init_components();
|
|
137279
|
-
|
|
138558
|
+
init_operations();
|
|
137280
138559
|
init_async();
|
|
137281
138560
|
});
|
|
137282
138561
|
|
|
137283
|
-
// src/mcp-server/tools/
|
|
137284
|
-
var
|
|
137285
|
-
var
|
|
137286
|
-
|
|
137287
|
-
|
|
138562
|
+
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
138563
|
+
var args317, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
138564
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
138565
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
138566
|
+
init_operations();
|
|
137288
138567
|
init_tools();
|
|
137289
|
-
|
|
137290
|
-
request:
|
|
137291
|
-
};
|
|
137292
|
-
tool$
|
|
137293
|
-
name: "sandbox-
|
|
137294
|
-
description: `
|
|
137295
|
-
|
|
137296
|
-
|
|
137297
|
-
|
|
137298
|
-
tool: async (client, args310, ctx) => {
|
|
137299
|
-
const [result, apiCall] = await sandboxSetPricing(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138568
|
+
args317 = {
|
|
138569
|
+
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
138570
|
+
};
|
|
138571
|
+
tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
|
|
138572
|
+
name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
|
|
138573
|
+
description: `List Repositories`,
|
|
138574
|
+
args: args317,
|
|
138575
|
+
tool: async (client, args318, ctx) => {
|
|
138576
|
+
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137300
138577
|
if (!result.ok) {
|
|
137301
138578
|
return {
|
|
137302
138579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137309,17 +138586,17 @@ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from
|
|
|
137309
138586
|
};
|
|
137310
138587
|
});
|
|
137311
138588
|
|
|
137312
|
-
// src/funcs/
|
|
137313
|
-
function
|
|
137314
|
-
return new APIPromise($
|
|
138589
|
+
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
138590
|
+
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
138591
|
+
return new APIPromise($do327(client, request, options));
|
|
137315
138592
|
}
|
|
137316
|
-
async function $
|
|
137317
|
-
const parsed = safeParse4(request, (value) =>
|
|
138593
|
+
async function $do327(client, request, options) {
|
|
138594
|
+
const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137318
138595
|
if (!parsed.ok) {
|
|
137319
138596
|
return [parsed, { status: "invalid" }];
|
|
137320
138597
|
}
|
|
137321
138598
|
const payload = parsed.value;
|
|
137322
|
-
const body = encodeJSON("body", payload.
|
|
138599
|
+
const body = encodeJSON("body", payload.GitHubReadCloneRequest, {
|
|
137323
138600
|
explode: true
|
|
137324
138601
|
});
|
|
137325
138602
|
const pathParams = {
|
|
@@ -137328,7 +138605,7 @@ async function $do319(client, request, options) {
|
|
|
137328
138605
|
charEncoding: "percent"
|
|
137329
138606
|
})
|
|
137330
138607
|
};
|
|
137331
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
138608
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
137332
138609
|
const headers = new Headers(compactMap({
|
|
137333
138610
|
"Content-Type": "application/json",
|
|
137334
138611
|
Accept: "application/json",
|
|
@@ -137340,7 +138617,7 @@ async function $do319(client, request, options) {
|
|
|
137340
138617
|
const context = {
|
|
137341
138618
|
options: client._options,
|
|
137342
138619
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137343
|
-
operationID: "
|
|
138620
|
+
operationID: "read_clone_api_v1_sandbox_sessions__session_id__github_read_clone_post",
|
|
137344
138621
|
oAuth2Scopes: null,
|
|
137345
138622
|
resolvedSecurity: requestSecurity,
|
|
137346
138623
|
securitySource: client._options.bearerAuth,
|
|
@@ -137383,13 +138660,13 @@ async function $do319(client, request, options) {
|
|
|
137383
138660
|
const responseFields = {
|
|
137384
138661
|
HttpMeta: { Response: response, Request: req }
|
|
137385
138662
|
};
|
|
137386
|
-
const [result] = await match(json(200,
|
|
138663
|
+
const [result] = await match(json(200, GitHubReadCloneResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
137387
138664
|
if (!result.ok) {
|
|
137388
138665
|
return [result, { status: "complete", request: req, response }];
|
|
137389
138666
|
}
|
|
137390
138667
|
return [result, { status: "complete", request: req, response }];
|
|
137391
138668
|
}
|
|
137392
|
-
var
|
|
138669
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = __esm(() => {
|
|
137393
138670
|
init_encodings();
|
|
137394
138671
|
init_http();
|
|
137395
138672
|
init_matchers();
|
|
@@ -137403,148 +138680,21 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
137403
138680
|
init_async();
|
|
137404
138681
|
});
|
|
137405
138682
|
|
|
137406
|
-
// src/mcp-server/tools/
|
|
137407
|
-
var
|
|
137408
|
-
var
|
|
137409
|
-
|
|
137410
|
-
init_operations();
|
|
137411
|
-
init_tools();
|
|
137412
|
-
args310 = {
|
|
137413
|
-
request: TerminateSessionRequest$inboundSchema2
|
|
137414
|
-
};
|
|
137415
|
-
tool$sandboxTerminate = {
|
|
137416
|
-
name: "sandbox-terminate",
|
|
137417
|
-
description: `Terminate Session
|
|
137418
|
-
|
|
137419
|
-
Stop a sandbox session and release the backing sandbox resources.`,
|
|
137420
|
-
args: args310,
|
|
137421
|
-
tool: async (client, args311, ctx) => {
|
|
137422
|
-
const [result, apiCall] = await sandboxTerminate(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137423
|
-
if (!result.ok) {
|
|
137424
|
-
return {
|
|
137425
|
-
content: [{ type: "text", text: result.error.message }],
|
|
137426
|
-
isError: true
|
|
137427
|
-
};
|
|
137428
|
-
}
|
|
137429
|
-
const value = result.value;
|
|
137430
|
-
return formatResult(value, apiCall);
|
|
137431
|
-
}
|
|
137432
|
-
};
|
|
137433
|
-
});
|
|
137434
|
-
|
|
137435
|
-
// src/funcs/sandboxUploadArchive.ts
|
|
137436
|
-
function sandboxUploadArchive(client, request, options) {
|
|
137437
|
-
return new APIPromise($do320(client, request, options));
|
|
137438
|
-
}
|
|
137439
|
-
async function $do320(client, request, options) {
|
|
137440
|
-
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137441
|
-
if (!parsed.ok) {
|
|
137442
|
-
return [parsed, { status: "invalid" }];
|
|
137443
|
-
}
|
|
137444
|
-
const payload = parsed.value;
|
|
137445
|
-
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
137446
|
-
const pathParams = {
|
|
137447
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137448
|
-
explode: false,
|
|
137449
|
-
charEncoding: "percent"
|
|
137450
|
-
})
|
|
137451
|
-
};
|
|
137452
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
137453
|
-
const query = encodeFormQuery({
|
|
137454
|
-
session_token: payload.session_token
|
|
137455
|
-
});
|
|
137456
|
-
const headers = new Headers(compactMap({
|
|
137457
|
-
"Content-Type": "application/zip",
|
|
137458
|
-
Accept: "application/json",
|
|
137459
|
-
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137460
|
-
}));
|
|
137461
|
-
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
137462
|
-
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
137463
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
137464
|
-
const context = {
|
|
137465
|
-
options: client._options,
|
|
137466
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137467
|
-
operationID: "uploadWorkspaceArchive",
|
|
137468
|
-
oAuth2Scopes: null,
|
|
137469
|
-
resolvedSecurity: requestSecurity,
|
|
137470
|
-
securitySource: client._options.bearerAuth,
|
|
137471
|
-
retryConfig: options?.retries || client._options.retryConfig || {
|
|
137472
|
-
strategy: "backoff",
|
|
137473
|
-
backoff: {
|
|
137474
|
-
initialInterval: 500,
|
|
137475
|
-
maxInterval: 5000,
|
|
137476
|
-
exponent: 1.5,
|
|
137477
|
-
maxElapsedTime: 15000
|
|
137478
|
-
},
|
|
137479
|
-
retryConnectionErrors: true
|
|
137480
|
-
},
|
|
137481
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
137482
|
-
};
|
|
137483
|
-
const requestRes = client._createRequest(context, {
|
|
137484
|
-
security: requestSecurity,
|
|
137485
|
-
method: "PUT",
|
|
137486
|
-
baseURL: options?.serverURL,
|
|
137487
|
-
path,
|
|
137488
|
-
headers,
|
|
137489
|
-
query,
|
|
137490
|
-
body,
|
|
137491
|
-
userAgent: client._options.userAgent,
|
|
137492
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
137493
|
-
}, options);
|
|
137494
|
-
if (!requestRes.ok) {
|
|
137495
|
-
return [requestRes, { status: "invalid" }];
|
|
137496
|
-
}
|
|
137497
|
-
const req = requestRes.value;
|
|
137498
|
-
const doResult = await client._do(req, {
|
|
137499
|
-
context,
|
|
137500
|
-
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
137501
|
-
retryConfig: context.retryConfig,
|
|
137502
|
-
retryCodes: context.retryCodes
|
|
137503
|
-
});
|
|
137504
|
-
if (!doResult.ok) {
|
|
137505
|
-
return [doResult, { status: "request-error", request: req }];
|
|
137506
|
-
}
|
|
137507
|
-
const response = doResult.value;
|
|
137508
|
-
const responseFields = {
|
|
137509
|
-
HttpMeta: { Response: response, Request: req }
|
|
137510
|
-
};
|
|
137511
|
-
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
137512
|
-
if (!result.ok) {
|
|
137513
|
-
return [result, { status: "complete", request: req, response }];
|
|
137514
|
-
}
|
|
137515
|
-
return [result, { status: "complete", request: req, response }];
|
|
137516
|
-
}
|
|
137517
|
-
var init_sandboxUploadArchive = __esm(() => {
|
|
137518
|
-
init_esm();
|
|
137519
|
-
init_encodings();
|
|
137520
|
-
init_http();
|
|
137521
|
-
init_matchers();
|
|
137522
|
-
init_primitives();
|
|
137523
|
-
init_schemas4();
|
|
137524
|
-
init_security();
|
|
137525
|
-
init_url();
|
|
137526
|
-
init_errors4();
|
|
137527
|
-
init_operations();
|
|
137528
|
-
init_async();
|
|
137529
|
-
});
|
|
137530
|
-
|
|
137531
|
-
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
137532
|
-
var args311, tool$sandboxUploadArchive;
|
|
137533
|
-
var init_sandboxUploadArchive2 = __esm(() => {
|
|
137534
|
-
init_sandboxUploadArchive();
|
|
138683
|
+
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
138684
|
+
var args318, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
138685
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
138686
|
+
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
137535
138687
|
init_operations();
|
|
137536
138688
|
init_tools();
|
|
137537
|
-
|
|
137538
|
-
request:
|
|
138689
|
+
args318 = {
|
|
138690
|
+
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
137539
138691
|
};
|
|
137540
|
-
tool$
|
|
137541
|
-
name: "sandbox-
|
|
137542
|
-
description: `
|
|
137543
|
-
|
|
137544
|
-
|
|
137545
|
-
|
|
137546
|
-
tool: async (client, args312, ctx) => {
|
|
137547
|
-
const [result, apiCall] = await sandboxUploadArchive(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138692
|
+
tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
|
|
138693
|
+
name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
|
|
138694
|
+
description: `Read Clone`,
|
|
138695
|
+
args: args318,
|
|
138696
|
+
tool: async (client, args319, ctx) => {
|
|
138697
|
+
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137548
138698
|
if (!result.ok) {
|
|
137549
138699
|
return {
|
|
137550
138700
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137557,33 +138707,19 @@ Upload a zip archive and extract its files into the session workspace.`,
|
|
|
137557
138707
|
};
|
|
137558
138708
|
});
|
|
137559
138709
|
|
|
137560
|
-
// src/funcs/
|
|
137561
|
-
function
|
|
137562
|
-
return new APIPromise($
|
|
138710
|
+
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
138711
|
+
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
138712
|
+
return new APIPromise($do328(client, request, options));
|
|
137563
138713
|
}
|
|
137564
|
-
async function $
|
|
137565
|
-
const parsed = safeParse4(request, (value) =>
|
|
138714
|
+
async function $do328(client, request, options) {
|
|
138715
|
+
const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137566
138716
|
if (!parsed.ok) {
|
|
137567
138717
|
return [parsed, { status: "invalid" }];
|
|
137568
138718
|
}
|
|
137569
138719
|
const payload = parsed.value;
|
|
137570
|
-
const body =
|
|
137571
|
-
const
|
|
137572
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
137573
|
-
explode: false,
|
|
137574
|
-
charEncoding: "percent"
|
|
137575
|
-
}),
|
|
137576
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137577
|
-
explode: false,
|
|
137578
|
-
charEncoding: "percent"
|
|
137579
|
-
})
|
|
137580
|
-
};
|
|
137581
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
137582
|
-
const query = encodeFormQuery({
|
|
137583
|
-
session_token: payload.session_token
|
|
137584
|
-
});
|
|
138720
|
+
const body = null;
|
|
138721
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/refresh")();
|
|
137585
138722
|
const headers = new Headers(compactMap({
|
|
137586
|
-
"Content-Type": "application/octet-stream",
|
|
137587
138723
|
Accept: "application/json",
|
|
137588
138724
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137589
138725
|
}));
|
|
@@ -137593,7 +138729,7 @@ async function $do321(client, request, options) {
|
|
|
137593
138729
|
const context = {
|
|
137594
138730
|
options: client._options,
|
|
137595
138731
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137596
|
-
operationID: "
|
|
138732
|
+
operationID: "refresh_repositories_api_v1_sandbox_github_repositories_refresh_post",
|
|
137597
138733
|
oAuth2Scopes: null,
|
|
137598
138734
|
resolvedSecurity: requestSecurity,
|
|
137599
138735
|
securitySource: client._options.bearerAuth,
|
|
@@ -137611,11 +138747,10 @@ async function $do321(client, request, options) {
|
|
|
137611
138747
|
};
|
|
137612
138748
|
const requestRes = client._createRequest(context, {
|
|
137613
138749
|
security: requestSecurity,
|
|
137614
|
-
method: "
|
|
138750
|
+
method: "POST",
|
|
137615
138751
|
baseURL: options?.serverURL,
|
|
137616
138752
|
path,
|
|
137617
138753
|
headers,
|
|
137618
|
-
query,
|
|
137619
138754
|
body,
|
|
137620
138755
|
userAgent: client._options.userAgent,
|
|
137621
138756
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -137634,17 +138769,13 @@ async function $do321(client, request, options) {
|
|
|
137634
138769
|
return [doResult, { status: "request-error", request: req }];
|
|
137635
138770
|
}
|
|
137636
138771
|
const response = doResult.value;
|
|
137637
|
-
const
|
|
137638
|
-
HttpMeta: { Response: response, Request: req }
|
|
137639
|
-
};
|
|
137640
|
-
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
138772
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
137641
138773
|
if (!result.ok) {
|
|
137642
138774
|
return [result, { status: "complete", request: req, response }];
|
|
137643
138775
|
}
|
|
137644
138776
|
return [result, { status: "complete", request: req, response }];
|
|
137645
138777
|
}
|
|
137646
|
-
var
|
|
137647
|
-
init_esm();
|
|
138778
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = __esm(() => {
|
|
137648
138779
|
init_encodings();
|
|
137649
138780
|
init_http();
|
|
137650
138781
|
init_matchers();
|
|
@@ -137652,28 +138783,26 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
137652
138783
|
init_schemas4();
|
|
137653
138784
|
init_security();
|
|
137654
138785
|
init_url();
|
|
137655
|
-
|
|
138786
|
+
init_components();
|
|
137656
138787
|
init_operations();
|
|
137657
138788
|
init_async();
|
|
137658
138789
|
});
|
|
137659
138790
|
|
|
137660
|
-
// src/mcp-server/tools/
|
|
137661
|
-
var
|
|
137662
|
-
var
|
|
137663
|
-
|
|
138791
|
+
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
138792
|
+
var args319, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
138793
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
138794
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
137664
138795
|
init_operations();
|
|
137665
138796
|
init_tools();
|
|
137666
|
-
|
|
137667
|
-
request:
|
|
137668
|
-
};
|
|
137669
|
-
tool$
|
|
137670
|
-
name: "sandbox-
|
|
137671
|
-
description: `
|
|
137672
|
-
|
|
137673
|
-
|
|
137674
|
-
|
|
137675
|
-
tool: async (client, args313, ctx) => {
|
|
137676
|
-
const [result, apiCall] = await sandboxUploadFile(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138797
|
+
args319 = {
|
|
138798
|
+
request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
138799
|
+
};
|
|
138800
|
+
tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
|
|
138801
|
+
name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
|
|
138802
|
+
description: `Refresh Repositories`,
|
|
138803
|
+
args: args319,
|
|
138804
|
+
tool: async (client, args320, ctx) => {
|
|
138805
|
+
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137677
138806
|
if (!result.ok) {
|
|
137678
138807
|
return {
|
|
137679
138808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137686,26 +138815,20 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
137686
138815
|
};
|
|
137687
138816
|
});
|
|
137688
138817
|
|
|
137689
|
-
// src/funcs/
|
|
137690
|
-
function
|
|
137691
|
-
return new APIPromise($
|
|
138818
|
+
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
138819
|
+
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
138820
|
+
return new APIPromise($do329(client, request, options));
|
|
137692
138821
|
}
|
|
137693
|
-
async function $
|
|
137694
|
-
const parsed = safeParse4(request, (value) =>
|
|
138822
|
+
async function $do329(client, request, options) {
|
|
138823
|
+
const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137695
138824
|
if (!parsed.ok) {
|
|
137696
138825
|
return [parsed, { status: "invalid" }];
|
|
137697
138826
|
}
|
|
137698
138827
|
const payload = parsed.value;
|
|
137699
|
-
const body = encodeJSON("body", payload.
|
|
138828
|
+
const body = encodeJSON("body", payload.ResolveReferenceRequest, {
|
|
137700
138829
|
explode: true
|
|
137701
138830
|
});
|
|
137702
|
-
const
|
|
137703
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137704
|
-
explode: false,
|
|
137705
|
-
charEncoding: "percent"
|
|
137706
|
-
})
|
|
137707
|
-
};
|
|
137708
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
138831
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/resolve")();
|
|
137709
138832
|
const headers = new Headers(compactMap({
|
|
137710
138833
|
"Content-Type": "application/json",
|
|
137711
138834
|
Accept: "application/json",
|
|
@@ -137717,7 +138840,7 @@ async function $do322(client, request, options) {
|
|
|
137717
138840
|
const context = {
|
|
137718
138841
|
options: client._options,
|
|
137719
138842
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137720
|
-
operationID: "
|
|
138843
|
+
operationID: "resolve_reference_api_v1_sandbox_github_repositories_resolve_post",
|
|
137721
138844
|
oAuth2Scopes: null,
|
|
137722
138845
|
resolvedSecurity: requestSecurity,
|
|
137723
138846
|
securitySource: client._options.bearerAuth,
|
|
@@ -137760,13 +138883,13 @@ async function $do322(client, request, options) {
|
|
|
137760
138883
|
const responseFields = {
|
|
137761
138884
|
HttpMeta: { Response: response, Request: req }
|
|
137762
138885
|
};
|
|
137763
|
-
const [result] = await match(json(200,
|
|
138886
|
+
const [result] = await match(json(200, ResolvedReference$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
137764
138887
|
if (!result.ok) {
|
|
137765
138888
|
return [result, { status: "complete", request: req, response }];
|
|
137766
138889
|
}
|
|
137767
138890
|
return [result, { status: "complete", request: req, response }];
|
|
137768
138891
|
}
|
|
137769
|
-
var
|
|
138892
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = __esm(() => {
|
|
137770
138893
|
init_encodings();
|
|
137771
138894
|
init_http();
|
|
137772
138895
|
init_matchers();
|
|
@@ -137780,21 +138903,21 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
137780
138903
|
init_async();
|
|
137781
138904
|
});
|
|
137782
138905
|
|
|
137783
|
-
// src/mcp-server/tools/
|
|
137784
|
-
var
|
|
137785
|
-
var
|
|
137786
|
-
|
|
138906
|
+
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
138907
|
+
var args320, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
138908
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
138909
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
137787
138910
|
init_operations();
|
|
137788
138911
|
init_tools();
|
|
137789
|
-
|
|
137790
|
-
request:
|
|
137791
|
-
};
|
|
137792
|
-
tool$
|
|
137793
|
-
name: "schema-3-other-
|
|
137794
|
-
description: `
|
|
137795
|
-
args:
|
|
137796
|
-
tool: async (client,
|
|
137797
|
-
const [result, apiCall] = await
|
|
138912
|
+
args320 = {
|
|
138913
|
+
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
138914
|
+
};
|
|
138915
|
+
tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
|
|
138916
|
+
name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
|
|
138917
|
+
description: `Resolve Reference`,
|
|
138918
|
+
args: args320,
|
|
138919
|
+
tool: async (client, args321, ctx) => {
|
|
138920
|
+
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137798
138921
|
if (!result.ok) {
|
|
137799
138922
|
return {
|
|
137800
138923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137809,9 +138932,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
137809
138932
|
|
|
137810
138933
|
// src/funcs/usageCosts.ts
|
|
137811
138934
|
function usageCosts(client, request, options) {
|
|
137812
|
-
return new APIPromise($
|
|
138935
|
+
return new APIPromise($do330(client, request, options));
|
|
137813
138936
|
}
|
|
137814
|
-
async function $
|
|
138937
|
+
async function $do330(client, request, options) {
|
|
137815
138938
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137816
138939
|
if (!parsed.ok) {
|
|
137817
138940
|
return [parsed, { status: "invalid" }];
|
|
@@ -137894,12 +139017,12 @@ var init_usageCosts = __esm(() => {
|
|
|
137894
139017
|
});
|
|
137895
139018
|
|
|
137896
139019
|
// src/mcp-server/tools/usageCosts.ts
|
|
137897
|
-
var
|
|
139020
|
+
var args321, tool$usageCosts;
|
|
137898
139021
|
var init_usageCosts2 = __esm(() => {
|
|
137899
139022
|
init_usageCosts();
|
|
137900
139023
|
init_operations();
|
|
137901
139024
|
init_tools();
|
|
137902
|
-
|
|
139025
|
+
args321 = {
|
|
137903
139026
|
request: GetCostsRequest$inboundSchema
|
|
137904
139027
|
};
|
|
137905
139028
|
tool$usageCosts = {
|
|
@@ -137907,9 +139030,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
137907
139030
|
description: `Aggregate cost by dimension
|
|
137908
139031
|
|
|
137909
139032
|
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.`,
|
|
137910
|
-
args:
|
|
137911
|
-
tool: async (client,
|
|
137912
|
-
const [result, apiCall] = await usageCosts(client,
|
|
139033
|
+
args: args321,
|
|
139034
|
+
tool: async (client, args322, ctx) => {
|
|
139035
|
+
const [result, apiCall] = await usageCosts(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137913
139036
|
if (!result.ok) {
|
|
137914
139037
|
return {
|
|
137915
139038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137924,9 +139047,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
137924
139047
|
|
|
137925
139048
|
// src/funcs/usageSandbox.ts
|
|
137926
139049
|
function usageSandbox(client, request, options) {
|
|
137927
|
-
return new APIPromise($
|
|
139050
|
+
return new APIPromise($do331(client, request, options));
|
|
137928
139051
|
}
|
|
137929
|
-
async function $
|
|
139052
|
+
async function $do331(client, request, options) {
|
|
137930
139053
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137931
139054
|
if (!parsed.ok) {
|
|
137932
139055
|
return [parsed, { status: "invalid" }];
|
|
@@ -138017,12 +139140,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
138017
139140
|
});
|
|
138018
139141
|
|
|
138019
139142
|
// src/mcp-server/tools/usageSandbox.ts
|
|
138020
|
-
var
|
|
139143
|
+
var args322, tool$usageSandbox;
|
|
138021
139144
|
var init_usageSandbox2 = __esm(() => {
|
|
138022
139145
|
init_usageSandbox();
|
|
138023
139146
|
init_operations();
|
|
138024
139147
|
init_tools();
|
|
138025
|
-
|
|
139148
|
+
args322 = {
|
|
138026
139149
|
request: GetSandboxUsageRequest$inboundSchema
|
|
138027
139150
|
};
|
|
138028
139151
|
tool$usageSandbox = {
|
|
@@ -138030,9 +139153,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
138030
139153
|
description: `Get Sandbox Usage
|
|
138031
139154
|
|
|
138032
139155
|
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\`).`,
|
|
138033
|
-
args:
|
|
138034
|
-
tool: async (client,
|
|
138035
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
139156
|
+
args: args322,
|
|
139157
|
+
tool: async (client, args323, ctx) => {
|
|
139158
|
+
const [result, apiCall] = await usageSandbox(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138036
139159
|
if (!result.ok) {
|
|
138037
139160
|
return {
|
|
138038
139161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138049,7 +139172,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
138049
139172
|
function createMCPServer(deps) {
|
|
138050
139173
|
const server = new McpServer({
|
|
138051
139174
|
name: "SDK",
|
|
138052
|
-
version: "0.53.
|
|
139175
|
+
version: "0.53.30"
|
|
138053
139176
|
});
|
|
138054
139177
|
const client = new SDKCore({
|
|
138055
139178
|
bearerAuth: deps.bearerAuth,
|
|
@@ -138068,6 +139191,13 @@ function createMCPServer(deps) {
|
|
|
138068
139191
|
tool(tool$guardrailsDeleteGuardrails);
|
|
138069
139192
|
tool(tool$guardrailsListGuardrailsPolicies);
|
|
138070
139193
|
tool(tool$guardrailsTestGuardrails);
|
|
139194
|
+
tool(tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost);
|
|
139195
|
+
tool(tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet);
|
|
139196
|
+
tool(tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost);
|
|
139197
|
+
tool(tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete);
|
|
139198
|
+
tool(tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet);
|
|
139199
|
+
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
139200
|
+
tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
|
|
138071
139201
|
tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
|
|
138072
139202
|
tool(tool$sandboxCreate);
|
|
138073
139203
|
tool(tool$sandboxList);
|
|
@@ -138715,7 +139845,14 @@ var init_server2 = __esm(() => {
|
|
|
138715
139845
|
init_sandboxTerminate2();
|
|
138716
139846
|
init_sandboxUploadArchive2();
|
|
138717
139847
|
init_sandboxUploadFile2();
|
|
139848
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
139849
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
139850
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
139851
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
139852
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
138718
139853
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
139854
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
139855
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
138719
139856
|
init_usageCosts2();
|
|
138720
139857
|
init_usageSandbox2();
|
|
138721
139858
|
});
|
|
@@ -139895,7 +141032,7 @@ var routes = rn({
|
|
|
139895
141032
|
var app = Ve(routes, {
|
|
139896
141033
|
name: "mcp",
|
|
139897
141034
|
versionInfo: {
|
|
139898
|
-
currentVersion: "0.53.
|
|
141035
|
+
currentVersion: "0.53.30"
|
|
139899
141036
|
}
|
|
139900
141037
|
});
|
|
139901
141038
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -139903,5 +141040,5 @@ export {
|
|
|
139903
141040
|
app
|
|
139904
141041
|
};
|
|
139905
141042
|
|
|
139906
|
-
//# debugId=
|
|
141043
|
+
//# debugId=9E12A5F4A668EBC064756E2164756E21
|
|
139907
141044
|
//# sourceMappingURL=mcp-server.js.map
|