@meetkai/mka1 0.53.28 → 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 +1904 -688
- package/bin/mcp-server.js.map +50 -21
- package/dist/commonjs/funcs/llmEvalsListSamples.js +1 -0
- package/dist/commonjs/funcs/llmEvalsListSamples.js.map +1 -1
- 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/evalsampleobject.d.ts +5 -0
- package/dist/commonjs/models/components/evalsampleobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/evalsampleobject.js +2 -0
- package/dist/commonjs/models/components/evalsampleobject.js.map +1 -1
- package/dist/commonjs/models/components/evalsuiteobject.d.ts +10 -0
- package/dist/commonjs/models/components/evalsuiteobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/evalsuiteobject.js +8 -0
- package/dist/commonjs/models/components/evalsuiteobject.js.map +1 -1
- 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/cancelevalrun.d.ts +10 -0
- package/dist/commonjs/models/operations/cancelevalrun.d.ts.map +1 -1
- package/dist/commonjs/models/operations/cancelevalrun.js +8 -0
- package/dist/commonjs/models/operations/cancelevalrun.js.map +1 -1
- 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/createevalrun.d.ts +10 -0
- package/dist/commonjs/models/operations/createevalrun.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createevalrun.js +8 -0
- package/dist/commonjs/models/operations/createevalrun.js.map +1 -1
- 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/getevalrun.d.ts +10 -0
- package/dist/commonjs/models/operations/getevalrun.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getevalrun.js +8 -0
- package/dist/commonjs/models/operations/getevalrun.js.map +1 -1
- 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/listevalruns.d.ts +10 -0
- package/dist/commonjs/models/operations/listevalruns.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalruns.js +8 -0
- package/dist/commonjs/models/operations/listevalruns.js.map +1 -1
- package/dist/commonjs/models/operations/listevalsamples.d.ts +2 -0
- package/dist/commonjs/models/operations/listevalsamples.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalsamples.js +4 -0
- package/dist/commonjs/models/operations/listevalsamples.js.map +1 -1
- package/dist/commonjs/models/operations/listevalscheduleruns.d.ts +10 -0
- package/dist/commonjs/models/operations/listevalscheduleruns.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalscheduleruns.js +8 -0
- package/dist/commonjs/models/operations/listevalscheduleruns.js.map +1 -1
- package/dist/commonjs/models/operations/listevalsuiteleaderboardruns.d.ts +10 -0
- package/dist/commonjs/models/operations/listevalsuiteleaderboardruns.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalsuiteleaderboardruns.js +8 -0
- package/dist/commonjs/models/operations/listevalsuiteleaderboardruns.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/rerunfailedevalsamples.d.ts +10 -0
- package/dist/commonjs/models/operations/rerunfailedevalsamples.d.ts.map +1 -1
- package/dist/commonjs/models/operations/rerunfailedevalsamples.js +8 -0
- package/dist/commonjs/models/operations/rerunfailedevalsamples.js.map +1 -1
- 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/models/operations/retryfailedevalrun.d.ts +10 -0
- package/dist/commonjs/models/operations/retryfailedevalrun.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retryfailedevalrun.js +8 -0
- package/dist/commonjs/models/operations/retryfailedevalrun.js.map +1 -1
- 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/llmEvalsListSamples.core.d.ts +1 -0
- package/dist/commonjs/react-query/llmEvalsListSamples.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSamples.core.js +1 -0
- package/dist/commonjs/react-query/llmEvalsListSamples.core.js.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSamples.d.ts +2 -0
- package/dist/commonjs/react-query/llmEvalsListSamples.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSamples.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/llmEvalsListSamples.js +1 -0
- package/dist/esm/funcs/llmEvalsListSamples.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/evalsampleobject.d.ts +5 -0
- package/dist/esm/models/components/evalsampleobject.d.ts.map +1 -1
- package/dist/esm/models/components/evalsampleobject.js +2 -0
- package/dist/esm/models/components/evalsampleobject.js.map +1 -1
- package/dist/esm/models/components/evalsuiteobject.d.ts +10 -0
- package/dist/esm/models/components/evalsuiteobject.d.ts.map +1 -1
- package/dist/esm/models/components/evalsuiteobject.js +8 -0
- package/dist/esm/models/components/evalsuiteobject.js.map +1 -1
- 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/cancelevalrun.d.ts +10 -0
- package/dist/esm/models/operations/cancelevalrun.d.ts.map +1 -1
- package/dist/esm/models/operations/cancelevalrun.js +8 -0
- package/dist/esm/models/operations/cancelevalrun.js.map +1 -1
- 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/createevalrun.d.ts +10 -0
- package/dist/esm/models/operations/createevalrun.d.ts.map +1 -1
- package/dist/esm/models/operations/createevalrun.js +8 -0
- package/dist/esm/models/operations/createevalrun.js.map +1 -1
- 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/getevalrun.d.ts +10 -0
- package/dist/esm/models/operations/getevalrun.d.ts.map +1 -1
- package/dist/esm/models/operations/getevalrun.js +8 -0
- package/dist/esm/models/operations/getevalrun.js.map +1 -1
- 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/listevalruns.d.ts +10 -0
- package/dist/esm/models/operations/listevalruns.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalruns.js +8 -0
- package/dist/esm/models/operations/listevalruns.js.map +1 -1
- package/dist/esm/models/operations/listevalsamples.d.ts +2 -0
- package/dist/esm/models/operations/listevalsamples.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalsamples.js +4 -0
- package/dist/esm/models/operations/listevalsamples.js.map +1 -1
- package/dist/esm/models/operations/listevalscheduleruns.d.ts +10 -0
- package/dist/esm/models/operations/listevalscheduleruns.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalscheduleruns.js +8 -0
- package/dist/esm/models/operations/listevalscheduleruns.js.map +1 -1
- package/dist/esm/models/operations/listevalsuiteleaderboardruns.d.ts +10 -0
- package/dist/esm/models/operations/listevalsuiteleaderboardruns.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalsuiteleaderboardruns.js +8 -0
- package/dist/esm/models/operations/listevalsuiteleaderboardruns.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/rerunfailedevalsamples.d.ts +10 -0
- package/dist/esm/models/operations/rerunfailedevalsamples.d.ts.map +1 -1
- package/dist/esm/models/operations/rerunfailedevalsamples.js +8 -0
- package/dist/esm/models/operations/rerunfailedevalsamples.js.map +1 -1
- 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/models/operations/retryfailedevalrun.d.ts +10 -0
- package/dist/esm/models/operations/retryfailedevalrun.d.ts.map +1 -1
- package/dist/esm/models/operations/retryfailedevalrun.js +8 -0
- package/dist/esm/models/operations/retryfailedevalrun.js.map +1 -1
- 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/llmEvalsListSamples.core.d.ts +1 -0
- package/dist/esm/react-query/llmEvalsListSamples.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListSamples.core.js +1 -0
- package/dist/esm/react-query/llmEvalsListSamples.core.js.map +1 -1
- package/dist/esm/react-query/llmEvalsListSamples.d.ts +2 -0
- package/dist/esm/react-query/llmEvalsListSamples.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListSamples.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/llmEvalsListSamples.ts +1 -0
- 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/evalsampleobject.ts +7 -0
- package/src/models/components/evalsuiteobject.ts +18 -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/cancelevalrun.ts +18 -0
- package/src/models/operations/connectapiv1sandboxgithuboauthconnectionspost.ts +81 -0
- package/src/models/operations/createevalrun.ts +18 -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/getevalrun.ts +18 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/listevalruns.ts +18 -0
- package/src/models/operations/listevalsamples.ts +6 -0
- package/src/models/operations/listevalscheduleruns.ts +18 -0
- package/src/models/operations/listevalsuiteleaderboardruns.ts +18 -0
- package/src/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.ts +73 -0
- package/src/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.ts +76 -0
- package/src/models/operations/rerunfailedevalsamples.ts +18 -0
- package/src/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.ts +80 -0
- package/src/models/operations/retryfailedevalrun.ts +18 -0
- package/src/react-query/index.ts +7 -0
- package/src/react-query/llmEvalsListSamples.core.ts +2 -0
- package/src/react-query/llmEvalsListSamples.ts +2 -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(() => {
|
|
@@ -65697,6 +65816,7 @@ var init_evalsampleobject = __esm(() => {
|
|
|
65697
65816
|
target: nullableType(stringType()),
|
|
65698
65817
|
response_id: nullableType(stringType()),
|
|
65699
65818
|
output_text: nullableType(stringType()),
|
|
65819
|
+
reasoning: nullableType(stringType()),
|
|
65700
65820
|
extracted_output: nullableType(stringType()),
|
|
65701
65821
|
scores: recordType(anyType()),
|
|
65702
65822
|
judge: nullableType(recordType(anyType())),
|
|
@@ -65731,6 +65851,7 @@ var init_evalsampleobject = __esm(() => {
|
|
|
65731
65851
|
target: nullableType(stringType()),
|
|
65732
65852
|
responseId: nullableType(stringType()),
|
|
65733
65853
|
outputText: nullableType(stringType()),
|
|
65854
|
+
reasoning: nullableType(stringType()),
|
|
65734
65855
|
extractedOutput: nullableType(stringType()),
|
|
65735
65856
|
scores: recordType(anyType()),
|
|
65736
65857
|
judge: nullableType(recordType(anyType())),
|
|
@@ -65841,6 +65962,8 @@ var init_evalsuiteobject = __esm(() => {
|
|
|
65841
65962
|
object: literalType("eval.suite"),
|
|
65842
65963
|
name: stringType(),
|
|
65843
65964
|
description: nullableType(stringType()),
|
|
65965
|
+
org_id: stringType(),
|
|
65966
|
+
team_id: stringType(),
|
|
65844
65967
|
active_version: numberType().int(),
|
|
65845
65968
|
latest_version: numberType().int(),
|
|
65846
65969
|
metadata: recordType(stringType()),
|
|
@@ -65848,6 +65971,8 @@ var init_evalsuiteobject = __esm(() => {
|
|
|
65848
65971
|
updated_at: numberType().int()
|
|
65849
65972
|
}).transform((v2) => {
|
|
65850
65973
|
return remap(v2, {
|
|
65974
|
+
org_id: "orgId",
|
|
65975
|
+
team_id: "teamId",
|
|
65851
65976
|
active_version: "activeVersion",
|
|
65852
65977
|
latest_version: "latestVersion",
|
|
65853
65978
|
created_at: "createdAt",
|
|
@@ -65859,6 +65984,8 @@ var init_evalsuiteobject = __esm(() => {
|
|
|
65859
65984
|
object: literalType("eval.suite"),
|
|
65860
65985
|
name: stringType(),
|
|
65861
65986
|
description: nullableType(stringType()),
|
|
65987
|
+
orgId: stringType(),
|
|
65988
|
+
teamId: stringType(),
|
|
65862
65989
|
activeVersion: numberType().int(),
|
|
65863
65990
|
latestVersion: numberType().int(),
|
|
65864
65991
|
metadata: recordType(stringType()),
|
|
@@ -65866,6 +65993,8 @@ var init_evalsuiteobject = __esm(() => {
|
|
|
65866
65993
|
updatedAt: numberType().int()
|
|
65867
65994
|
}).transform((v2) => {
|
|
65868
65995
|
return remap(v2, {
|
|
65996
|
+
orgId: "org_id",
|
|
65997
|
+
teamId: "team_id",
|
|
65869
65998
|
activeVersion: "active_version",
|
|
65870
65999
|
latestVersion: "latest_version",
|
|
65871
66000
|
createdAt: "created_at",
|
|
@@ -67163,7 +67292,6 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67163
67292
|
init_primitives();
|
|
67164
67293
|
GitHubReadCloneRequest$inboundSchema = objectType({
|
|
67165
67294
|
assignment_generation: numberType().int(),
|
|
67166
|
-
installation_id: numberType().int(),
|
|
67167
67295
|
repository_id: numberType().int(),
|
|
67168
67296
|
owner: stringType(),
|
|
67169
67297
|
repository: stringType(),
|
|
@@ -67171,14 +67299,12 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67171
67299
|
}).transform((v2) => {
|
|
67172
67300
|
return remap(v2, {
|
|
67173
67301
|
assignment_generation: "assignmentGeneration",
|
|
67174
|
-
installation_id: "installationId",
|
|
67175
67302
|
repository_id: "repositoryId",
|
|
67176
67303
|
base_sha: "baseSha"
|
|
67177
67304
|
});
|
|
67178
67305
|
});
|
|
67179
67306
|
GitHubReadCloneRequest$outboundSchema = objectType({
|
|
67180
67307
|
assignmentGeneration: numberType().int(),
|
|
67181
|
-
installationId: numberType().int(),
|
|
67182
67308
|
repositoryId: numberType().int(),
|
|
67183
67309
|
owner: stringType(),
|
|
67184
67310
|
repository: stringType(),
|
|
@@ -67186,7 +67312,6 @@ var init_githubreadclonerequest = __esm(() => {
|
|
|
67186
67312
|
}).transform((v2) => {
|
|
67187
67313
|
return remap(v2, {
|
|
67188
67314
|
assignmentGeneration: "assignment_generation",
|
|
67189
|
-
installationId: "installation_id",
|
|
67190
67315
|
repositoryId: "repository_id",
|
|
67191
67316
|
baseSha: "base_sha"
|
|
67192
67317
|
});
|
|
@@ -71286,6 +71411,75 @@ var init_repo = __esm(() => {
|
|
|
71286
71411
|
});
|
|
71287
71412
|
});
|
|
71288
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
|
+
|
|
71289
71483
|
// src/models/components/responsestatus.ts
|
|
71290
71484
|
var ResponseStatus, ResponseStatus$inboundSchema, ResponseStatus$outboundSchema;
|
|
71291
71485
|
var init_responsestatus = __esm(() => {
|
|
@@ -77470,6 +77664,7 @@ var init_components = __esm(() => {
|
|
|
77470
77664
|
init_agentversion();
|
|
77471
77665
|
init_agentversionlist();
|
|
77472
77666
|
init_allowedtools();
|
|
77667
|
+
init_authorizeintent();
|
|
77473
77668
|
init_autochunkingstrategy();
|
|
77474
77669
|
init_autoendpoint();
|
|
77475
77670
|
init_banwordsconfig();
|
|
@@ -77575,6 +77770,10 @@ var init_components = __esm(() => {
|
|
|
77575
77770
|
init_computevolumedata();
|
|
77576
77771
|
init_computevolumedatainput();
|
|
77577
77772
|
init_computevolumeinput();
|
|
77773
|
+
init_connectedrepository();
|
|
77774
|
+
init_connection();
|
|
77775
|
+
init_connectionenvelope();
|
|
77776
|
+
init_connectrequest();
|
|
77578
77777
|
init_containerfilecitation();
|
|
77579
77778
|
init_conversation();
|
|
77580
77779
|
init_conversationdeletedobject();
|
|
@@ -77841,7 +78040,10 @@ var init_components = __esm(() => {
|
|
|
77841
78040
|
init_registrysource();
|
|
77842
78041
|
init_reinforcementhyperparameters();
|
|
77843
78042
|
init_repo();
|
|
78043
|
+
init_repositorylist();
|
|
77844
78044
|
init_requestcounts();
|
|
78045
|
+
init_resolvedreference();
|
|
78046
|
+
init_resolvereferencerequest();
|
|
77845
78047
|
init_resourcerole();
|
|
77846
78048
|
init_responsecancelledevent();
|
|
77847
78049
|
init_responsecodeinterpretercallcodedeltaevent();
|
|
@@ -84244,6 +84446,8 @@ var init_cancelevalrun = __esm(() => {
|
|
|
84244
84446
|
suite_id: stringType(),
|
|
84245
84447
|
suite_version: numberType().int(),
|
|
84246
84448
|
suite_version_id: stringType(),
|
|
84449
|
+
org_id: stringType(),
|
|
84450
|
+
team_id: stringType(),
|
|
84247
84451
|
status: EvalRunStatus$inboundSchema,
|
|
84248
84452
|
models: arrayType(stringType()),
|
|
84249
84453
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -84265,6 +84469,8 @@ var init_cancelevalrun = __esm(() => {
|
|
|
84265
84469
|
suite_id: "suiteId",
|
|
84266
84470
|
suite_version: "suiteVersion",
|
|
84267
84471
|
suite_version_id: "suiteVersionId",
|
|
84472
|
+
org_id: "orgId",
|
|
84473
|
+
team_id: "teamId",
|
|
84268
84474
|
task_ids: "taskIds",
|
|
84269
84475
|
judge_model: "judgeModel",
|
|
84270
84476
|
embedding_model: "embeddingModel",
|
|
@@ -84283,6 +84489,8 @@ var init_cancelevalrun = __esm(() => {
|
|
|
84283
84489
|
suiteId: stringType(),
|
|
84284
84490
|
suiteVersion: numberType().int(),
|
|
84285
84491
|
suiteVersionId: stringType(),
|
|
84492
|
+
orgId: stringType(),
|
|
84493
|
+
teamId: stringType(),
|
|
84286
84494
|
status: EvalRunStatus$outboundSchema,
|
|
84287
84495
|
models: arrayType(stringType()),
|
|
84288
84496
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -84304,6 +84512,8 @@ var init_cancelevalrun = __esm(() => {
|
|
|
84304
84512
|
suiteId: "suite_id",
|
|
84305
84513
|
suiteVersion: "suite_version",
|
|
84306
84514
|
suiteVersionId: "suite_version_id",
|
|
84515
|
+
orgId: "org_id",
|
|
84516
|
+
teamId: "team_id",
|
|
84307
84517
|
taskIds: "task_ids",
|
|
84308
84518
|
judgeModel: "judge_model",
|
|
84309
84519
|
embeddingModel: "embedding_model",
|
|
@@ -84483,6 +84693,32 @@ var init_compactresponse = __esm(() => {
|
|
|
84483
84693
|
});
|
|
84484
84694
|
});
|
|
84485
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
|
+
|
|
84486
84722
|
// src/models/operations/conversationscreate.ts
|
|
84487
84723
|
var ConversationsCreateRequest$inboundSchema, ConversationsCreateRequest$outboundSchema;
|
|
84488
84724
|
var init_conversationscreate = __esm(() => {
|
|
@@ -85819,6 +86055,8 @@ var init_createevalrun = __esm(() => {
|
|
|
85819
86055
|
suite_id: stringType(),
|
|
85820
86056
|
suite_version: numberType().int(),
|
|
85821
86057
|
suite_version_id: stringType(),
|
|
86058
|
+
org_id: stringType(),
|
|
86059
|
+
team_id: stringType(),
|
|
85822
86060
|
status: EvalRunStatus$inboundSchema,
|
|
85823
86061
|
models: arrayType(stringType()),
|
|
85824
86062
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -85840,6 +86078,8 @@ var init_createevalrun = __esm(() => {
|
|
|
85840
86078
|
suite_id: "suiteId",
|
|
85841
86079
|
suite_version: "suiteVersion",
|
|
85842
86080
|
suite_version_id: "suiteVersionId",
|
|
86081
|
+
org_id: "orgId",
|
|
86082
|
+
team_id: "teamId",
|
|
85843
86083
|
task_ids: "taskIds",
|
|
85844
86084
|
judge_model: "judgeModel",
|
|
85845
86085
|
embedding_model: "embeddingModel",
|
|
@@ -85858,6 +86098,8 @@ var init_createevalrun = __esm(() => {
|
|
|
85858
86098
|
suiteId: stringType(),
|
|
85859
86099
|
suiteVersion: numberType().int(),
|
|
85860
86100
|
suiteVersionId: stringType(),
|
|
86101
|
+
orgId: stringType(),
|
|
86102
|
+
teamId: stringType(),
|
|
85861
86103
|
status: EvalRunStatus$outboundSchema,
|
|
85862
86104
|
models: arrayType(stringType()),
|
|
85863
86105
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -85879,6 +86121,8 @@ var init_createevalrun = __esm(() => {
|
|
|
85879
86121
|
suiteId: "suite_id",
|
|
85880
86122
|
suiteVersion: "suite_version",
|
|
85881
86123
|
suiteVersionId: "suite_version_id",
|
|
86124
|
+
orgId: "org_id",
|
|
86125
|
+
teamId: "team_id",
|
|
85882
86126
|
taskIds: "task_ids",
|
|
85883
86127
|
judgeModel: "judge_model",
|
|
85884
86128
|
embeddingModel: "embedding_model",
|
|
@@ -86327,6 +86571,27 @@ var init_createimage = __esm(() => {
|
|
|
86327
86571
|
});
|
|
86328
86572
|
});
|
|
86329
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
|
+
|
|
86330
86595
|
// src/models/operations/createjob.ts
|
|
86331
86596
|
var CreateJobRequest$inboundSchema, CreateJobRequest$outboundSchema, CreateJobResponse$inboundSchema, CreateJobResponse$outboundSchema;
|
|
86332
86597
|
var init_createjob = __esm(() => {
|
|
@@ -88185,6 +88450,27 @@ var init_deletevectorstorefile = __esm(() => {
|
|
|
88185
88450
|
});
|
|
88186
88451
|
});
|
|
88187
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
|
+
|
|
88188
88474
|
// src/models/operations/downloadworkspacearchive.ts
|
|
88189
88475
|
var DownloadWorkspaceArchiveRequest$inboundSchema, DownloadWorkspaceArchiveRequest$outboundSchema;
|
|
88190
88476
|
var init_downloadworkspacearchive = __esm(() => {
|
|
@@ -89334,6 +89620,27 @@ var init_getcomputeusage = __esm(() => {
|
|
|
89334
89620
|
]);
|
|
89335
89621
|
});
|
|
89336
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
|
+
|
|
89337
89644
|
// src/models/operations/getconversationsusage.ts
|
|
89338
89645
|
var GetConversationsUsageRequest$inboundSchema, GetConversationsUsageRequest$outboundSchema, GetConversationsUsageData$inboundSchema, GetConversationsUsageData$outboundSchema, GetConversationsUsageResponseBody$inboundSchema, GetConversationsUsageResponseBody$outboundSchema;
|
|
89339
89646
|
var init_getconversationsusage = __esm(() => {
|
|
@@ -89902,6 +90209,8 @@ var init_getevalrun = __esm(() => {
|
|
|
89902
90209
|
suite_id: stringType(),
|
|
89903
90210
|
suite_version: numberType().int(),
|
|
89904
90211
|
suite_version_id: stringType(),
|
|
90212
|
+
org_id: stringType(),
|
|
90213
|
+
team_id: stringType(),
|
|
89905
90214
|
status: EvalRunStatus$inboundSchema,
|
|
89906
90215
|
models: arrayType(stringType()),
|
|
89907
90216
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -89923,6 +90232,8 @@ var init_getevalrun = __esm(() => {
|
|
|
89923
90232
|
suite_id: "suiteId",
|
|
89924
90233
|
suite_version: "suiteVersion",
|
|
89925
90234
|
suite_version_id: "suiteVersionId",
|
|
90235
|
+
org_id: "orgId",
|
|
90236
|
+
team_id: "teamId",
|
|
89926
90237
|
task_ids: "taskIds",
|
|
89927
90238
|
judge_model: "judgeModel",
|
|
89928
90239
|
embedding_model: "embeddingModel",
|
|
@@ -89941,6 +90252,8 @@ var init_getevalrun = __esm(() => {
|
|
|
89941
90252
|
suiteId: stringType(),
|
|
89942
90253
|
suiteVersion: numberType().int(),
|
|
89943
90254
|
suiteVersionId: stringType(),
|
|
90255
|
+
orgId: stringType(),
|
|
90256
|
+
teamId: stringType(),
|
|
89944
90257
|
status: EvalRunStatus$outboundSchema,
|
|
89945
90258
|
models: arrayType(stringType()),
|
|
89946
90259
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -89962,6 +90275,8 @@ var init_getevalrun = __esm(() => {
|
|
|
89962
90275
|
suiteId: "suite_id",
|
|
89963
90276
|
suiteVersion: "suite_version",
|
|
89964
90277
|
suiteVersionId: "suite_version_id",
|
|
90278
|
+
orgId: "org_id",
|
|
90279
|
+
teamId: "team_id",
|
|
89965
90280
|
taskIds: "task_ids",
|
|
89966
90281
|
judgeModel: "judge_model",
|
|
89967
90282
|
embeddingModel: "embedding_model",
|
|
@@ -93132,6 +93447,8 @@ var init_listevalruns = __esm(() => {
|
|
|
93132
93447
|
suite_id: stringType(),
|
|
93133
93448
|
suite_version: numberType().int(),
|
|
93134
93449
|
suite_version_id: stringType(),
|
|
93450
|
+
org_id: stringType(),
|
|
93451
|
+
team_id: stringType(),
|
|
93135
93452
|
status: EvalRunStatus$inboundSchema,
|
|
93136
93453
|
models: arrayType(stringType()),
|
|
93137
93454
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -93153,6 +93470,8 @@ var init_listevalruns = __esm(() => {
|
|
|
93153
93470
|
suite_id: "suiteId",
|
|
93154
93471
|
suite_version: "suiteVersion",
|
|
93155
93472
|
suite_version_id: "suiteVersionId",
|
|
93473
|
+
org_id: "orgId",
|
|
93474
|
+
team_id: "teamId",
|
|
93156
93475
|
task_ids: "taskIds",
|
|
93157
93476
|
judge_model: "judgeModel",
|
|
93158
93477
|
embedding_model: "embeddingModel",
|
|
@@ -93171,6 +93490,8 @@ var init_listevalruns = __esm(() => {
|
|
|
93171
93490
|
suiteId: stringType(),
|
|
93172
93491
|
suiteVersion: numberType().int(),
|
|
93173
93492
|
suiteVersionId: stringType(),
|
|
93493
|
+
orgId: stringType(),
|
|
93494
|
+
teamId: stringType(),
|
|
93174
93495
|
status: EvalRunStatus$outboundSchema,
|
|
93175
93496
|
models: arrayType(stringType()),
|
|
93176
93497
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -93192,6 +93513,8 @@ var init_listevalruns = __esm(() => {
|
|
|
93192
93513
|
suiteId: "suite_id",
|
|
93193
93514
|
suiteVersion: "suite_version",
|
|
93194
93515
|
suiteVersionId: "suite_version_id",
|
|
93516
|
+
orgId: "org_id",
|
|
93517
|
+
teamId: "team_id",
|
|
93195
93518
|
taskIds: "task_ids",
|
|
93196
93519
|
judgeModel: "judge_model",
|
|
93197
93520
|
embeddingModel: "embedding_model",
|
|
@@ -93259,6 +93582,7 @@ var init_listevalsamples = __esm(() => {
|
|
|
93259
93582
|
score_min: numberType().optional(),
|
|
93260
93583
|
score_max: numberType().optional(),
|
|
93261
93584
|
include_dataset_row: booleanType().default(true),
|
|
93585
|
+
include_reasoning: booleanType().default(false),
|
|
93262
93586
|
sample_index: stringType().optional(),
|
|
93263
93587
|
"X-On-Behalf-Of": stringType().optional()
|
|
93264
93588
|
}).transform((v2) => {
|
|
@@ -93269,6 +93593,7 @@ var init_listevalsamples = __esm(() => {
|
|
|
93269
93593
|
score_min: "scoreMin",
|
|
93270
93594
|
score_max: "scoreMax",
|
|
93271
93595
|
include_dataset_row: "includeDatasetRow",
|
|
93596
|
+
include_reasoning: "includeReasoning",
|
|
93272
93597
|
sample_index: "sampleIndex",
|
|
93273
93598
|
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
93274
93599
|
});
|
|
@@ -93284,6 +93609,7 @@ var init_listevalsamples = __esm(() => {
|
|
|
93284
93609
|
scoreMin: numberType().optional(),
|
|
93285
93610
|
scoreMax: numberType().optional(),
|
|
93286
93611
|
includeDatasetRow: booleanType().default(true),
|
|
93612
|
+
includeReasoning: booleanType().default(false),
|
|
93287
93613
|
sampleIndex: stringType().optional(),
|
|
93288
93614
|
xOnBehalfOf: stringType().optional()
|
|
93289
93615
|
}).transform((v2) => {
|
|
@@ -93294,6 +93620,7 @@ var init_listevalsamples = __esm(() => {
|
|
|
93294
93620
|
scoreMin: "score_min",
|
|
93295
93621
|
scoreMax: "score_max",
|
|
93296
93622
|
includeDatasetRow: "include_dataset_row",
|
|
93623
|
+
includeReasoning: "include_reasoning",
|
|
93297
93624
|
sampleIndex: "sample_index",
|
|
93298
93625
|
xOnBehalfOf: "X-On-Behalf-Of"
|
|
93299
93626
|
});
|
|
@@ -93495,6 +93822,8 @@ var init_listevalscheduleruns = __esm(() => {
|
|
|
93495
93822
|
suite_id: stringType(),
|
|
93496
93823
|
suite_version: numberType().int(),
|
|
93497
93824
|
suite_version_id: stringType(),
|
|
93825
|
+
org_id: stringType(),
|
|
93826
|
+
team_id: stringType(),
|
|
93498
93827
|
status: EvalRunStatus$inboundSchema,
|
|
93499
93828
|
models: arrayType(stringType()),
|
|
93500
93829
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -93516,6 +93845,8 @@ var init_listevalscheduleruns = __esm(() => {
|
|
|
93516
93845
|
suite_id: "suiteId",
|
|
93517
93846
|
suite_version: "suiteVersion",
|
|
93518
93847
|
suite_version_id: "suiteVersionId",
|
|
93848
|
+
org_id: "orgId",
|
|
93849
|
+
team_id: "teamId",
|
|
93519
93850
|
task_ids: "taskIds",
|
|
93520
93851
|
judge_model: "judgeModel",
|
|
93521
93852
|
embedding_model: "embeddingModel",
|
|
@@ -93534,6 +93865,8 @@ var init_listevalscheduleruns = __esm(() => {
|
|
|
93534
93865
|
suiteId: stringType(),
|
|
93535
93866
|
suiteVersion: numberType().int(),
|
|
93536
93867
|
suiteVersionId: stringType(),
|
|
93868
|
+
orgId: stringType(),
|
|
93869
|
+
teamId: stringType(),
|
|
93537
93870
|
status: EvalRunStatus$outboundSchema,
|
|
93538
93871
|
models: arrayType(stringType()),
|
|
93539
93872
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -93555,6 +93888,8 @@ var init_listevalscheduleruns = __esm(() => {
|
|
|
93555
93888
|
suiteId: "suite_id",
|
|
93556
93889
|
suiteVersion: "suite_version",
|
|
93557
93890
|
suiteVersionId: "suite_version_id",
|
|
93891
|
+
orgId: "org_id",
|
|
93892
|
+
teamId: "team_id",
|
|
93558
93893
|
taskIds: "task_ids",
|
|
93559
93894
|
judgeModel: "judge_model",
|
|
93560
93895
|
embeddingModel: "embedding_model",
|
|
@@ -94085,6 +94420,8 @@ var init_listevalsuiteleaderboardruns = __esm(() => {
|
|
|
94085
94420
|
suite_id: stringType(),
|
|
94086
94421
|
suite_version: numberType().int(),
|
|
94087
94422
|
suite_version_id: stringType(),
|
|
94423
|
+
org_id: stringType(),
|
|
94424
|
+
team_id: stringType(),
|
|
94088
94425
|
status: EvalRunStatus$inboundSchema,
|
|
94089
94426
|
models: arrayType(stringType()),
|
|
94090
94427
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -94106,6 +94443,8 @@ var init_listevalsuiteleaderboardruns = __esm(() => {
|
|
|
94106
94443
|
suite_id: "suiteId",
|
|
94107
94444
|
suite_version: "suiteVersion",
|
|
94108
94445
|
suite_version_id: "suiteVersionId",
|
|
94446
|
+
org_id: "orgId",
|
|
94447
|
+
team_id: "teamId",
|
|
94109
94448
|
task_ids: "taskIds",
|
|
94110
94449
|
judge_model: "judgeModel",
|
|
94111
94450
|
embedding_model: "embeddingModel",
|
|
@@ -94124,6 +94463,8 @@ var init_listevalsuiteleaderboardruns = __esm(() => {
|
|
|
94124
94463
|
suiteId: stringType(),
|
|
94125
94464
|
suiteVersion: numberType().int(),
|
|
94126
94465
|
suiteVersionId: stringType(),
|
|
94466
|
+
orgId: stringType(),
|
|
94467
|
+
teamId: stringType(),
|
|
94127
94468
|
status: EvalRunStatus$outboundSchema,
|
|
94128
94469
|
models: arrayType(stringType()),
|
|
94129
94470
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -94145,6 +94486,8 @@ var init_listevalsuiteleaderboardruns = __esm(() => {
|
|
|
94145
94486
|
suiteId: "suite_id",
|
|
94146
94487
|
suiteVersion: "suite_version",
|
|
94147
94488
|
suiteVersionId: "suite_version_id",
|
|
94489
|
+
orgId: "org_id",
|
|
94490
|
+
teamId: "team_id",
|
|
94148
94491
|
taskIds: "task_ids",
|
|
94149
94492
|
judgeModel: "judge_model",
|
|
94150
94493
|
embeddingModel: "embedding_model",
|
|
@@ -95086,6 +95429,27 @@ var init_listrepos = __esm(() => {
|
|
|
95086
95429
|
});
|
|
95087
95430
|
});
|
|
95088
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
|
+
|
|
95089
95453
|
// src/models/operations/listresponsefeedback.ts
|
|
95090
95454
|
var ListResponseFeedbackQueryParamOrder, ListResponseFeedbackQueryParamRating, ListResponseFeedbackQueryParamOrder$inboundSchema, ListResponseFeedbackQueryParamOrder$outboundSchema, ListResponseFeedbackQueryParamRating$inboundSchema, ListResponseFeedbackQueryParamRating$outboundSchema, ListResponseFeedbackRequest$inboundSchema, ListResponseFeedbackRequest$outboundSchema;
|
|
95091
95455
|
var init_listresponsefeedback = __esm(() => {
|
|
@@ -96196,6 +96560,27 @@ var init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost = __esm(() =>
|
|
|
96196
96560
|
});
|
|
96197
96561
|
});
|
|
96198
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
|
+
|
|
96199
96584
|
// src/models/operations/regeneratescopedapikey.ts
|
|
96200
96585
|
var RegenerateScopedApiKeyRequestBody$inboundSchema, RegenerateScopedApiKeyRequestBody$outboundSchema, RegenerateScopedApiKeyRequest$inboundSchema, RegenerateScopedApiKeyRequest$outboundSchema, RegenerateScopedApiKeyResponseBody$inboundSchema2, RegenerateScopedApiKeyResponseBody$outboundSchema2;
|
|
96201
96586
|
var init_regeneratescopedapikey2 = __esm(() => {
|
|
@@ -96580,6 +96965,8 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96580
96965
|
suite_id: stringType(),
|
|
96581
96966
|
suite_version: numberType().int(),
|
|
96582
96967
|
suite_version_id: stringType(),
|
|
96968
|
+
org_id: stringType(),
|
|
96969
|
+
team_id: stringType(),
|
|
96583
96970
|
status: EvalRunStatus$inboundSchema,
|
|
96584
96971
|
models: arrayType(stringType()),
|
|
96585
96972
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -96601,6 +96988,8 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96601
96988
|
suite_id: "suiteId",
|
|
96602
96989
|
suite_version: "suiteVersion",
|
|
96603
96990
|
suite_version_id: "suiteVersionId",
|
|
96991
|
+
org_id: "orgId",
|
|
96992
|
+
team_id: "teamId",
|
|
96604
96993
|
task_ids: "taskIds",
|
|
96605
96994
|
judge_model: "judgeModel",
|
|
96606
96995
|
embedding_model: "embeddingModel",
|
|
@@ -96619,6 +97008,8 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96619
97008
|
suiteId: stringType(),
|
|
96620
97009
|
suiteVersion: numberType().int(),
|
|
96621
97010
|
suiteVersionId: stringType(),
|
|
97011
|
+
orgId: stringType(),
|
|
97012
|
+
teamId: stringType(),
|
|
96622
97013
|
status: EvalRunStatus$outboundSchema,
|
|
96623
97014
|
models: arrayType(stringType()),
|
|
96624
97015
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -96640,6 +97031,8 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96640
97031
|
suiteId: "suite_id",
|
|
96641
97032
|
suiteVersion: "suite_version",
|
|
96642
97033
|
suiteVersionId: "suite_version_id",
|
|
97034
|
+
orgId: "org_id",
|
|
97035
|
+
teamId: "team_id",
|
|
96643
97036
|
taskIds: "task_ids",
|
|
96644
97037
|
judgeModel: "judge_model",
|
|
96645
97038
|
embeddingModel: "embedding_model",
|
|
@@ -96654,6 +97047,32 @@ var init_rerunfailedevalsamples = __esm(() => {
|
|
|
96654
97047
|
});
|
|
96655
97048
|
});
|
|
96656
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
|
+
|
|
96657
97076
|
// src/models/operations/resumeagentschedule.ts
|
|
96658
97077
|
var ResumeAgentScheduleRequest$inboundSchema, ResumeAgentScheduleRequest$outboundSchema;
|
|
96659
97078
|
var init_resumeagentschedule = __esm(() => {
|
|
@@ -96895,6 +97314,8 @@ var init_retryfailedevalrun = __esm(() => {
|
|
|
96895
97314
|
suite_id: stringType(),
|
|
96896
97315
|
suite_version: numberType().int(),
|
|
96897
97316
|
suite_version_id: stringType(),
|
|
97317
|
+
org_id: stringType(),
|
|
97318
|
+
team_id: stringType(),
|
|
96898
97319
|
status: EvalRunStatus$inboundSchema,
|
|
96899
97320
|
models: arrayType(stringType()),
|
|
96900
97321
|
task_ids: nullableType(arrayType(stringType())),
|
|
@@ -96916,6 +97337,8 @@ var init_retryfailedevalrun = __esm(() => {
|
|
|
96916
97337
|
suite_id: "suiteId",
|
|
96917
97338
|
suite_version: "suiteVersion",
|
|
96918
97339
|
suite_version_id: "suiteVersionId",
|
|
97340
|
+
org_id: "orgId",
|
|
97341
|
+
team_id: "teamId",
|
|
96919
97342
|
task_ids: "taskIds",
|
|
96920
97343
|
judge_model: "judgeModel",
|
|
96921
97344
|
embedding_model: "embeddingModel",
|
|
@@ -96934,6 +97357,8 @@ var init_retryfailedevalrun = __esm(() => {
|
|
|
96934
97357
|
suiteId: stringType(),
|
|
96935
97358
|
suiteVersion: numberType().int(),
|
|
96936
97359
|
suiteVersionId: stringType(),
|
|
97360
|
+
orgId: stringType(),
|
|
97361
|
+
teamId: stringType(),
|
|
96937
97362
|
status: EvalRunStatus$outboundSchema,
|
|
96938
97363
|
models: arrayType(stringType()),
|
|
96939
97364
|
taskIds: nullableType(arrayType(stringType())),
|
|
@@ -96955,6 +97380,8 @@ var init_retryfailedevalrun = __esm(() => {
|
|
|
96955
97380
|
suiteId: "suite_id",
|
|
96956
97381
|
suiteVersion: "suite_version",
|
|
96957
97382
|
suiteVersionId: "suite_version_id",
|
|
97383
|
+
orgId: "org_id",
|
|
97384
|
+
teamId: "team_id",
|
|
96958
97385
|
taskIds: "task_ids",
|
|
96959
97386
|
judgeModel: "judge_model",
|
|
96960
97387
|
embeddingModel: "embedding_model",
|
|
@@ -99531,6 +99958,7 @@ var init_operations = __esm(() => {
|
|
|
99531
99958
|
init_clearclusterprice();
|
|
99532
99959
|
init_clearorgprice();
|
|
99533
99960
|
init_compactresponse();
|
|
99961
|
+
init_connectapiv1sandboxgithuboauthconnectionspost();
|
|
99534
99962
|
init_conversationscreate();
|
|
99535
99963
|
init_conversationsdelete();
|
|
99536
99964
|
init_conversationsitemscreate();
|
|
@@ -99558,6 +99986,7 @@ var init_operations = __esm(() => {
|
|
|
99558
99986
|
init_createevalsuiteversion();
|
|
99559
99987
|
init_createextractschema();
|
|
99560
99988
|
init_createimage();
|
|
99989
|
+
init_createintentapiv1sandboxgithuboauthintentspost();
|
|
99561
99990
|
init_createjob();
|
|
99562
99991
|
init_createmcpcredential();
|
|
99563
99992
|
init_createmcpserver();
|
|
@@ -99611,6 +100040,7 @@ var init_operations = __esm(() => {
|
|
|
99611
100040
|
init_deletetexttospeechhistory();
|
|
99612
100041
|
init_deletevectorstore();
|
|
99613
100042
|
init_deletevectorstorefile();
|
|
100043
|
+
init_disconnectapiv1sandboxgithuboauthconnectionsdelete();
|
|
99614
100044
|
init_downloadworkspacearchive();
|
|
99615
100045
|
init_downloadworkspacefile();
|
|
99616
100046
|
init_embed();
|
|
@@ -99636,6 +100066,7 @@ var init_operations = __esm(() => {
|
|
|
99636
100066
|
init_getcomputesecret();
|
|
99637
100067
|
init_getcomputetenant();
|
|
99638
100068
|
init_getcomputeusage();
|
|
100069
|
+
init_getconnectionapiv1sandboxgithuboauthconnectionsget();
|
|
99639
100070
|
init_getconversationsusage();
|
|
99640
100071
|
init_getcosts();
|
|
99641
100072
|
init_getcostsusage();
|
|
@@ -99738,6 +100169,7 @@ var init_operations = __esm(() => {
|
|
|
99738
100169
|
init_listprompts();
|
|
99739
100170
|
init_listpromptversions();
|
|
99740
100171
|
init_listrepos();
|
|
100172
|
+
init_listrepositoriesapiv1sandboxgithubrepositoriesget();
|
|
99741
100173
|
init_listresponsefeedback();
|
|
99742
100174
|
init_listresponses();
|
|
99743
100175
|
init_listscopedapikeys2();
|
|
@@ -99769,12 +100201,14 @@ var init_operations = __esm(() => {
|
|
|
99769
100201
|
init_putcomputetenant();
|
|
99770
100202
|
init_putorgautomodel();
|
|
99771
100203
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
100204
|
+
init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost();
|
|
99772
100205
|
init_regeneratescopedapikey2();
|
|
99773
100206
|
init_regenerateserviceaccountapikey2();
|
|
99774
100207
|
init_reissueownerkey2();
|
|
99775
100208
|
init_removeteammember2();
|
|
99776
100209
|
init_replacemodelcatalogorgaccess();
|
|
99777
100210
|
init_rerunfailedevalsamples();
|
|
100211
|
+
init_resolvereferenceapiv1sandboxgithubrepositoriesresolvepost();
|
|
99778
100212
|
init_resumeagentschedule();
|
|
99779
100213
|
init_resumefinetuningjob();
|
|
99780
100214
|
init_retrievefinetuningjob();
|
|
@@ -116485,6 +116919,7 @@ async function $do143(client, request, options) {
|
|
|
116485
116919
|
const query = encodeFormQuery({
|
|
116486
116920
|
after: payload.after,
|
|
116487
116921
|
include_dataset_row: payload.include_dataset_row,
|
|
116922
|
+
include_reasoning: payload.include_reasoning,
|
|
116488
116923
|
limit: payload.limit,
|
|
116489
116924
|
model: payload.model,
|
|
116490
116925
|
sample_index: payload.sample_index,
|
|
@@ -135614,13 +136049,978 @@ async function $do305(client, request, options) {
|
|
|
135614
136049
|
const responseFields = {
|
|
135615
136050
|
HttpMeta: { Response: response, Request: req }
|
|
135616
136051
|
};
|
|
135617
|
-
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 });
|
|
135618
137018
|
if (!result.ok) {
|
|
135619
137019
|
return [result, { status: "complete", request: req, response }];
|
|
135620
137020
|
}
|
|
135621
137021
|
return [result, { status: "complete", request: req, response }];
|
|
135622
137022
|
}
|
|
135623
|
-
var
|
|
137023
|
+
var init_sandboxGetWorkspace = __esm(() => {
|
|
135624
137024
|
init_encodings();
|
|
135625
137025
|
init_http();
|
|
135626
137026
|
init_matchers();
|
|
@@ -135628,30 +137028,29 @@ var init_reposList = __esm(() => {
|
|
|
135628
137028
|
init_schemas4();
|
|
135629
137029
|
init_security();
|
|
135630
137030
|
init_url();
|
|
137031
|
+
init_components();
|
|
135631
137032
|
init_errors4();
|
|
135632
137033
|
init_operations();
|
|
135633
137034
|
init_async();
|
|
135634
137035
|
});
|
|
135635
137036
|
|
|
135636
|
-
// src/mcp-server/tools/
|
|
135637
|
-
var
|
|
135638
|
-
var
|
|
135639
|
-
|
|
137037
|
+
// src/mcp-server/tools/sandboxGetWorkspace.ts
|
|
137038
|
+
var args304, tool$sandboxGetWorkspace;
|
|
137039
|
+
var init_sandboxGetWorkspace2 = __esm(() => {
|
|
137040
|
+
init_sandboxGetWorkspace();
|
|
135640
137041
|
init_operations();
|
|
135641
137042
|
init_tools();
|
|
135642
|
-
|
|
135643
|
-
request:
|
|
137043
|
+
args304 = {
|
|
137044
|
+
request: GetWorkspaceRequest$inboundSchema
|
|
135644
137045
|
};
|
|
135645
|
-
tool$
|
|
135646
|
-
name: "
|
|
135647
|
-
description: `
|
|
137046
|
+
tool$sandboxGetWorkspace = {
|
|
137047
|
+
name: "sandbox-get-workspace",
|
|
137048
|
+
description: `Get Workspace Manifest
|
|
135648
137049
|
|
|
135649
|
-
|
|
135650
|
-
|
|
135651
|
-
|
|
135652
|
-
|
|
135653
|
-
tool: async (client, args298, ctx) => {
|
|
135654
|
-
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();
|
|
135655
137054
|
if (!result.ok) {
|
|
135656
137055
|
return {
|
|
135657
137056
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135664,30 +137063,19 @@ Pure DB read.
|
|
|
135664
137063
|
};
|
|
135665
137064
|
});
|
|
135666
137065
|
|
|
135667
|
-
// src/funcs/
|
|
135668
|
-
function
|
|
135669
|
-
return new APIPromise($
|
|
137066
|
+
// src/funcs/sandboxList.ts
|
|
137067
|
+
function sandboxList(client, request, options) {
|
|
137068
|
+
return new APIPromise($do314(client, request, options));
|
|
135670
137069
|
}
|
|
135671
|
-
async function $
|
|
135672
|
-
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");
|
|
135673
137072
|
if (!parsed.ok) {
|
|
135674
137073
|
return [parsed, { status: "invalid" }];
|
|
135675
137074
|
}
|
|
135676
137075
|
const payload = parsed.value;
|
|
135677
|
-
const body =
|
|
135678
|
-
const
|
|
135679
|
-
name: encodeSimple("name", payload.name, {
|
|
135680
|
-
explode: false,
|
|
135681
|
-
charEncoding: "percent"
|
|
135682
|
-
}),
|
|
135683
|
-
org: encodeSimple("org", payload.org, {
|
|
135684
|
-
explode: false,
|
|
135685
|
-
charEncoding: "percent"
|
|
135686
|
-
})
|
|
135687
|
-
};
|
|
135688
|
-
const path = pathToFunc("/api/v1/repos/{org}/{name}")(pathParams);
|
|
137076
|
+
const body = null;
|
|
137077
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
135689
137078
|
const headers = new Headers(compactMap({
|
|
135690
|
-
"Content-Type": "application/json",
|
|
135691
137079
|
Accept: "application/json",
|
|
135692
137080
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135693
137081
|
}));
|
|
@@ -135697,7 +137085,7 @@ async function $do306(client, request, options) {
|
|
|
135697
137085
|
const context = {
|
|
135698
137086
|
options: client._options,
|
|
135699
137087
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135700
|
-
operationID: "
|
|
137088
|
+
operationID: "listSessions",
|
|
135701
137089
|
oAuth2Scopes: null,
|
|
135702
137090
|
resolvedSecurity: requestSecurity,
|
|
135703
137091
|
securitySource: client._options.bearerAuth,
|
|
@@ -135715,7 +137103,7 @@ async function $do306(client, request, options) {
|
|
|
135715
137103
|
};
|
|
135716
137104
|
const requestRes = client._createRequest(context, {
|
|
135717
137105
|
security: requestSecurity,
|
|
135718
|
-
method: "
|
|
137106
|
+
method: "GET",
|
|
135719
137107
|
baseURL: options?.serverURL,
|
|
135720
137108
|
path,
|
|
135721
137109
|
headers,
|
|
@@ -135740,13 +137128,14 @@ async function $do306(client, request, options) {
|
|
|
135740
137128
|
const responseFields = {
|
|
135741
137129
|
HttpMeta: { Response: response, Request: req }
|
|
135742
137130
|
};
|
|
135743
|
-
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 });
|
|
135744
137132
|
if (!result.ok) {
|
|
135745
137133
|
return [result, { status: "complete", request: req, response }];
|
|
135746
137134
|
}
|
|
135747
137135
|
return [result, { status: "complete", request: req, response }];
|
|
135748
137136
|
}
|
|
135749
|
-
var
|
|
137137
|
+
var init_sandboxList = __esm(() => {
|
|
137138
|
+
init_esm();
|
|
135750
137139
|
init_encodings();
|
|
135751
137140
|
init_http();
|
|
135752
137141
|
init_matchers();
|
|
@@ -135760,26 +137149,23 @@ var init_reposUpdate = __esm(() => {
|
|
|
135760
137149
|
init_async();
|
|
135761
137150
|
});
|
|
135762
137151
|
|
|
135763
|
-
// src/mcp-server/tools/
|
|
135764
|
-
var
|
|
135765
|
-
var
|
|
135766
|
-
|
|
137152
|
+
// src/mcp-server/tools/sandboxList.ts
|
|
137153
|
+
var args305, tool$sandboxList;
|
|
137154
|
+
var init_sandboxList2 = __esm(() => {
|
|
137155
|
+
init_sandboxList();
|
|
135767
137156
|
init_operations();
|
|
135768
137157
|
init_tools();
|
|
135769
|
-
|
|
135770
|
-
request:
|
|
137158
|
+
args305 = {
|
|
137159
|
+
request: ListSessionsRequest$inboundSchema
|
|
135771
137160
|
};
|
|
135772
|
-
tool$
|
|
135773
|
-
name: "
|
|
135774
|
-
description: `
|
|
137161
|
+
tool$sandboxList = {
|
|
137162
|
+
name: "sandbox-list",
|
|
137163
|
+
description: `List Sessions
|
|
135775
137164
|
|
|
135776
|
-
|
|
135777
|
-
|
|
135778
|
-
|
|
135779
|
-
|
|
135780
|
-
args: args298,
|
|
135781
|
-
tool: async (client, args299, ctx) => {
|
|
135782
|
-
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();
|
|
135783
137169
|
if (!result.ok) {
|
|
135784
137170
|
return {
|
|
135785
137171
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135792,22 +137178,36 @@ Gitea write. Omitted fields are left unchanged.
|
|
|
135792
137178
|
};
|
|
135793
137179
|
});
|
|
135794
137180
|
|
|
135795
|
-
// src/funcs/
|
|
135796
|
-
function
|
|
135797
|
-
return new APIPromise($
|
|
137181
|
+
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
137182
|
+
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
137183
|
+
return new APIPromise($do315(client, request, options));
|
|
135798
137184
|
}
|
|
135799
|
-
async function $
|
|
135800
|
-
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");
|
|
135801
137187
|
if (!parsed.ok) {
|
|
135802
137188
|
return [parsed, { status: "invalid" }];
|
|
135803
137189
|
}
|
|
135804
137190
|
const payload = parsed.value;
|
|
135805
|
-
const body =
|
|
135806
|
-
|
|
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
|
|
135807
137209
|
});
|
|
135808
|
-
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
135809
137210
|
const headers = new Headers(compactMap({
|
|
135810
|
-
"Content-Type": "application/json",
|
|
135811
137211
|
Accept: "application/json",
|
|
135812
137212
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135813
137213
|
}));
|
|
@@ -135817,7 +137217,7 @@ async function $do307(client, request, options) {
|
|
|
135817
137217
|
const context = {
|
|
135818
137218
|
options: client._options,
|
|
135819
137219
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135820
|
-
operationID: "
|
|
137220
|
+
operationID: "proxyBrowserPortRequest",
|
|
135821
137221
|
oAuth2Scopes: null,
|
|
135822
137222
|
resolvedSecurity: requestSecurity,
|
|
135823
137223
|
securitySource: client._options.bearerAuth,
|
|
@@ -135835,10 +137235,11 @@ async function $do307(client, request, options) {
|
|
|
135835
137235
|
};
|
|
135836
137236
|
const requestRes = client._createRequest(context, {
|
|
135837
137237
|
security: requestSecurity,
|
|
135838
|
-
method: "
|
|
137238
|
+
method: "GET",
|
|
135839
137239
|
baseURL: options?.serverURL,
|
|
135840
137240
|
path,
|
|
135841
137241
|
headers,
|
|
137242
|
+
query,
|
|
135842
137243
|
body,
|
|
135843
137244
|
userAgent: client._options.userAgent,
|
|
135844
137245
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -135860,13 +137261,14 @@ async function $do307(client, request, options) {
|
|
|
135860
137261
|
const responseFields = {
|
|
135861
137262
|
HttpMeta: { Response: response, Request: req }
|
|
135862
137263
|
};
|
|
135863
|
-
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 });
|
|
135864
137265
|
if (!result.ok) {
|
|
135865
137266
|
return [result, { status: "complete", request: req, response }];
|
|
135866
137267
|
}
|
|
135867
137268
|
return [result, { status: "complete", request: req, response }];
|
|
135868
137269
|
}
|
|
135869
|
-
var
|
|
137270
|
+
var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
137271
|
+
init_esm();
|
|
135870
137272
|
init_encodings();
|
|
135871
137273
|
init_http();
|
|
135872
137274
|
init_matchers();
|
|
@@ -135874,29 +137276,28 @@ var init_sandboxCreate = __esm(() => {
|
|
|
135874
137276
|
init_schemas4();
|
|
135875
137277
|
init_security();
|
|
135876
137278
|
init_url();
|
|
135877
|
-
init_components();
|
|
135878
137279
|
init_errors4();
|
|
135879
137280
|
init_operations();
|
|
135880
137281
|
init_async();
|
|
135881
137282
|
});
|
|
135882
137283
|
|
|
135883
|
-
// src/mcp-server/tools/
|
|
135884
|
-
var
|
|
135885
|
-
var
|
|
135886
|
-
|
|
137284
|
+
// src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
|
|
137285
|
+
var args306, tool$sandboxProxyBrowserPortRequest;
|
|
137286
|
+
var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
137287
|
+
init_sandboxProxyBrowserPortRequest();
|
|
135887
137288
|
init_operations();
|
|
135888
137289
|
init_tools();
|
|
135889
|
-
|
|
135890
|
-
request:
|
|
137290
|
+
args306 = {
|
|
137291
|
+
request: ProxyBrowserPortRequestRequest$inboundSchema
|
|
135891
137292
|
};
|
|
135892
|
-
tool$
|
|
135893
|
-
name: "sandbox-
|
|
135894
|
-
description: `
|
|
137293
|
+
tool$sandboxProxyBrowserPortRequest = {
|
|
137294
|
+
name: "sandbox-proxy-browser-port-request",
|
|
137295
|
+
description: `Proxy Browser Port Request
|
|
135895
137296
|
|
|
135896
|
-
|
|
135897
|
-
args:
|
|
135898
|
-
tool: async (client,
|
|
135899
|
-
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();
|
|
135900
137301
|
if (!result.ok) {
|
|
135901
137302
|
return {
|
|
135902
137303
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135909,32 +137310,27 @@ Create a sandbox session and return its public session metadata, session token,
|
|
|
135909
137310
|
};
|
|
135910
137311
|
});
|
|
135911
137312
|
|
|
135912
|
-
// src/funcs/
|
|
135913
|
-
function
|
|
135914
|
-
return new APIPromise($
|
|
137313
|
+
// src/funcs/sandboxRunCode.ts
|
|
137314
|
+
function sandboxRunCode(client, request, options) {
|
|
137315
|
+
return new APIPromise($do316(client, request, options));
|
|
135915
137316
|
}
|
|
135916
|
-
async function $
|
|
135917
|
-
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");
|
|
135918
137319
|
if (!parsed.ok) {
|
|
135919
137320
|
return [parsed, { status: "invalid" }];
|
|
135920
137321
|
}
|
|
135921
137322
|
const payload = parsed.value;
|
|
135922
|
-
const body = encodeJSON("body", payload.
|
|
135923
|
-
explode: true
|
|
135924
|
-
});
|
|
137323
|
+
const body = encodeJSON("body", payload.CodeRequest, { explode: true });
|
|
135925
137324
|
const pathParams = {
|
|
135926
137325
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
135927
137326
|
explode: false,
|
|
135928
137327
|
charEncoding: "percent"
|
|
135929
137328
|
})
|
|
135930
137329
|
};
|
|
135931
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
135932
|
-
const query = encodeFormQuery({
|
|
135933
|
-
session_token: payload.session_token
|
|
135934
|
-
});
|
|
137330
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
135935
137331
|
const headers = new Headers(compactMap({
|
|
135936
137332
|
"Content-Type": "application/json",
|
|
135937
|
-
Accept: "application/
|
|
137333
|
+
Accept: "application/json",
|
|
135938
137334
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135939
137335
|
}));
|
|
135940
137336
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -135943,7 +137339,7 @@ async function $do308(client, request, options) {
|
|
|
135943
137339
|
const context = {
|
|
135944
137340
|
options: client._options,
|
|
135945
137341
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135946
|
-
operationID: "
|
|
137342
|
+
operationID: "runCode",
|
|
135947
137343
|
oAuth2Scopes: null,
|
|
135948
137344
|
resolvedSecurity: requestSecurity,
|
|
135949
137345
|
securitySource: client._options.bearerAuth,
|
|
@@ -135965,7 +137361,6 @@ async function $do308(client, request, options) {
|
|
|
135965
137361
|
baseURL: options?.serverURL,
|
|
135966
137362
|
path,
|
|
135967
137363
|
headers,
|
|
135968
|
-
query,
|
|
135969
137364
|
body,
|
|
135970
137365
|
userAgent: client._options.userAgent,
|
|
135971
137366
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -135987,16 +137382,13 @@ async function $do308(client, request, options) {
|
|
|
135987
137382
|
const responseFields = {
|
|
135988
137383
|
HttpMeta: { Response: response, Request: req }
|
|
135989
137384
|
};
|
|
135990
|
-
const [result] = await match(
|
|
135991
|
-
ctype: "application/zip"
|
|
135992
|
-
}), 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 });
|
|
135993
137386
|
if (!result.ok) {
|
|
135994
137387
|
return [result, { status: "complete", request: req, response }];
|
|
135995
137388
|
}
|
|
135996
137389
|
return [result, { status: "complete", request: req, response }];
|
|
135997
137390
|
}
|
|
135998
|
-
var
|
|
135999
|
-
init_esm();
|
|
137391
|
+
var init_sandboxRunCode = __esm(() => {
|
|
136000
137392
|
init_encodings();
|
|
136001
137393
|
init_http();
|
|
136002
137394
|
init_matchers();
|
|
@@ -136004,28 +137396,29 @@ var init_sandboxDownloadArchive = __esm(() => {
|
|
|
136004
137396
|
init_schemas4();
|
|
136005
137397
|
init_security();
|
|
136006
137398
|
init_url();
|
|
137399
|
+
init_components();
|
|
136007
137400
|
init_errors4();
|
|
136008
137401
|
init_operations();
|
|
136009
137402
|
init_async();
|
|
136010
137403
|
});
|
|
136011
137404
|
|
|
136012
|
-
// src/mcp-server/tools/
|
|
136013
|
-
var
|
|
136014
|
-
var
|
|
136015
|
-
|
|
137405
|
+
// src/mcp-server/tools/sandboxRunCode.ts
|
|
137406
|
+
var args307, tool$sandboxRunCode;
|
|
137407
|
+
var init_sandboxRunCode2 = __esm(() => {
|
|
137408
|
+
init_sandboxRunCode();
|
|
136016
137409
|
init_operations();
|
|
136017
137410
|
init_tools();
|
|
136018
|
-
|
|
136019
|
-
request:
|
|
137411
|
+
args307 = {
|
|
137412
|
+
request: RunCodeRequest$inboundSchema
|
|
136020
137413
|
};
|
|
136021
|
-
tool$
|
|
136022
|
-
name: "sandbox-
|
|
136023
|
-
description: `
|
|
137414
|
+
tool$sandboxRunCode = {
|
|
137415
|
+
name: "sandbox-run-code",
|
|
137416
|
+
description: `Run Code
|
|
136024
137417
|
|
|
136025
|
-
|
|
136026
|
-
args:
|
|
136027
|
-
tool: async (client,
|
|
136028
|
-
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();
|
|
136029
137422
|
if (!result.ok) {
|
|
136030
137423
|
return {
|
|
136031
137424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136038,33 +137431,27 @@ Download a zip archive containing the selected workspace paths.`,
|
|
|
136038
137431
|
};
|
|
136039
137432
|
});
|
|
136040
137433
|
|
|
136041
|
-
// src/funcs/
|
|
136042
|
-
function
|
|
136043
|
-
return new APIPromise($
|
|
137434
|
+
// src/funcs/sandboxRunCommand.ts
|
|
137435
|
+
function sandboxRunCommand(client, request, options) {
|
|
137436
|
+
return new APIPromise($do317(client, request, options));
|
|
136044
137437
|
}
|
|
136045
|
-
async function $
|
|
136046
|
-
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");
|
|
136047
137440
|
if (!parsed.ok) {
|
|
136048
137441
|
return [parsed, { status: "invalid" }];
|
|
136049
137442
|
}
|
|
136050
137443
|
const payload = parsed.value;
|
|
136051
|
-
const body =
|
|
137444
|
+
const body = encodeJSON("body", payload.CommandRequest, { explode: true });
|
|
136052
137445
|
const pathParams = {
|
|
136053
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
136054
|
-
explode: false,
|
|
136055
|
-
charEncoding: "percent"
|
|
136056
|
-
}),
|
|
136057
137446
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136058
137447
|
explode: false,
|
|
136059
137448
|
charEncoding: "percent"
|
|
136060
137449
|
})
|
|
136061
137450
|
};
|
|
136062
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
136063
|
-
const query = encodeFormQuery({
|
|
136064
|
-
session_token: payload.session_token
|
|
136065
|
-
});
|
|
137451
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
|
|
136066
137452
|
const headers = new Headers(compactMap({
|
|
136067
|
-
|
|
137453
|
+
"Content-Type": "application/json",
|
|
137454
|
+
Accept: "application/json",
|
|
136068
137455
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136069
137456
|
}));
|
|
136070
137457
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -136073,7 +137460,7 @@ async function $do309(client, request, options) {
|
|
|
136073
137460
|
const context = {
|
|
136074
137461
|
options: client._options,
|
|
136075
137462
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136076
|
-
operationID: "
|
|
137463
|
+
operationID: "runCommand",
|
|
136077
137464
|
oAuth2Scopes: null,
|
|
136078
137465
|
resolvedSecurity: requestSecurity,
|
|
136079
137466
|
securitySource: client._options.bearerAuth,
|
|
@@ -136091,11 +137478,10 @@ async function $do309(client, request, options) {
|
|
|
136091
137478
|
};
|
|
136092
137479
|
const requestRes = client._createRequest(context, {
|
|
136093
137480
|
security: requestSecurity,
|
|
136094
|
-
method: "
|
|
137481
|
+
method: "POST",
|
|
136095
137482
|
baseURL: options?.serverURL,
|
|
136096
137483
|
path,
|
|
136097
137484
|
headers,
|
|
136098
|
-
query,
|
|
136099
137485
|
body,
|
|
136100
137486
|
userAgent: client._options.userAgent,
|
|
136101
137487
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136117,14 +137503,13 @@ async function $do309(client, request, options) {
|
|
|
136117
137503
|
const responseFields = {
|
|
136118
137504
|
HttpMeta: { Response: response, Request: req }
|
|
136119
137505
|
};
|
|
136120
|
-
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 });
|
|
136121
137507
|
if (!result.ok) {
|
|
136122
137508
|
return [result, { status: "complete", request: req, response }];
|
|
136123
137509
|
}
|
|
136124
137510
|
return [result, { status: "complete", request: req, response }];
|
|
136125
137511
|
}
|
|
136126
|
-
var
|
|
136127
|
-
init_esm();
|
|
137512
|
+
var init_sandboxRunCommand = __esm(() => {
|
|
136128
137513
|
init_encodings();
|
|
136129
137514
|
init_http();
|
|
136130
137515
|
init_matchers();
|
|
@@ -136132,28 +137517,29 @@ var init_sandboxDownloadFile = __esm(() => {
|
|
|
136132
137517
|
init_schemas4();
|
|
136133
137518
|
init_security();
|
|
136134
137519
|
init_url();
|
|
137520
|
+
init_components();
|
|
136135
137521
|
init_errors4();
|
|
136136
137522
|
init_operations();
|
|
136137
137523
|
init_async();
|
|
136138
137524
|
});
|
|
136139
137525
|
|
|
136140
|
-
// src/mcp-server/tools/
|
|
136141
|
-
var
|
|
136142
|
-
var
|
|
136143
|
-
|
|
137526
|
+
// src/mcp-server/tools/sandboxRunCommand.ts
|
|
137527
|
+
var args308, tool$sandboxRunCommand;
|
|
137528
|
+
var init_sandboxRunCommand2 = __esm(() => {
|
|
137529
|
+
init_sandboxRunCommand();
|
|
136144
137530
|
init_operations();
|
|
136145
137531
|
init_tools();
|
|
136146
|
-
|
|
136147
|
-
request:
|
|
137532
|
+
args308 = {
|
|
137533
|
+
request: RunCommandRequest$inboundSchema
|
|
136148
137534
|
};
|
|
136149
|
-
tool$
|
|
136150
|
-
name: "sandbox-
|
|
136151
|
-
description: `
|
|
137535
|
+
tool$sandboxRunCommand = {
|
|
137536
|
+
name: "sandbox-run-command",
|
|
137537
|
+
description: `Run Command
|
|
136152
137538
|
|
|
136153
|
-
|
|
136154
|
-
args:
|
|
136155
|
-
tool: async (client,
|
|
136156
|
-
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();
|
|
136157
137543
|
if (!result.ok) {
|
|
136158
137544
|
return {
|
|
136159
137545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136166,27 +137552,21 @@ Download raw bytes from a file in the session workspace.`,
|
|
|
136166
137552
|
};
|
|
136167
137553
|
});
|
|
136168
137554
|
|
|
136169
|
-
// src/funcs/
|
|
136170
|
-
function
|
|
136171
|
-
return new APIPromise($
|
|
137555
|
+
// src/funcs/sandboxSetPricing.ts
|
|
137556
|
+
function sandboxSetPricing(client, request, options) {
|
|
137557
|
+
return new APIPromise($do318(client, request, options));
|
|
136172
137558
|
}
|
|
136173
|
-
async function $
|
|
136174
|
-
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");
|
|
136175
137561
|
if (!parsed.ok) {
|
|
136176
137562
|
return [parsed, { status: "invalid" }];
|
|
136177
137563
|
}
|
|
136178
137564
|
const payload = parsed.value;
|
|
136179
|
-
const body =
|
|
136180
|
-
const
|
|
136181
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136182
|
-
explode: false,
|
|
136183
|
-
charEncoding: "percent"
|
|
136184
|
-
})
|
|
136185
|
-
};
|
|
136186
|
-
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")();
|
|
136187
137567
|
const headers = new Headers(compactMap({
|
|
136188
|
-
|
|
136189
|
-
|
|
137568
|
+
"Content-Type": "application/json",
|
|
137569
|
+
Accept: "application/json"
|
|
136190
137570
|
}));
|
|
136191
137571
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136192
137572
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -136194,7 +137574,7 @@ async function $do310(client, request, options) {
|
|
|
136194
137574
|
const context = {
|
|
136195
137575
|
options: client._options,
|
|
136196
137576
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136197
|
-
operationID: "
|
|
137577
|
+
operationID: "setSandboxPricing",
|
|
136198
137578
|
oAuth2Scopes: null,
|
|
136199
137579
|
resolvedSecurity: requestSecurity,
|
|
136200
137580
|
securitySource: client._options.bearerAuth,
|
|
@@ -136212,7 +137592,7 @@ async function $do310(client, request, options) {
|
|
|
136212
137592
|
};
|
|
136213
137593
|
const requestRes = client._createRequest(context, {
|
|
136214
137594
|
security: requestSecurity,
|
|
136215
|
-
method: "
|
|
137595
|
+
method: "PUT",
|
|
136216
137596
|
baseURL: options?.serverURL,
|
|
136217
137597
|
path,
|
|
136218
137598
|
headers,
|
|
@@ -136237,13 +137617,13 @@ async function $do310(client, request, options) {
|
|
|
136237
137617
|
const responseFields = {
|
|
136238
137618
|
HttpMeta: { Response: response, Request: req }
|
|
136239
137619
|
};
|
|
136240
|
-
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 });
|
|
136241
137621
|
if (!result.ok) {
|
|
136242
137622
|
return [result, { status: "complete", request: req, response }];
|
|
136243
137623
|
}
|
|
136244
137624
|
return [result, { status: "complete", request: req, response }];
|
|
136245
137625
|
}
|
|
136246
|
-
var
|
|
137626
|
+
var init_sandboxSetPricing = __esm(() => {
|
|
136247
137627
|
init_encodings();
|
|
136248
137628
|
init_http();
|
|
136249
137629
|
init_matchers();
|
|
@@ -136253,27 +137633,26 @@ var init_sandboxGet = __esm(() => {
|
|
|
136253
137633
|
init_url();
|
|
136254
137634
|
init_components();
|
|
136255
137635
|
init_errors4();
|
|
136256
|
-
init_operations();
|
|
136257
137636
|
init_async();
|
|
136258
137637
|
});
|
|
136259
137638
|
|
|
136260
|
-
// src/mcp-server/tools/
|
|
136261
|
-
var
|
|
136262
|
-
var
|
|
136263
|
-
|
|
136264
|
-
|
|
137639
|
+
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
137640
|
+
var args309, tool$sandboxSetPricing;
|
|
137641
|
+
var init_sandboxSetPricing2 = __esm(() => {
|
|
137642
|
+
init_sandboxSetPricing();
|
|
137643
|
+
init_components();
|
|
136265
137644
|
init_tools();
|
|
136266
|
-
|
|
136267
|
-
request:
|
|
137645
|
+
args309 = {
|
|
137646
|
+
request: SandboxPricingUpdate$inboundSchema
|
|
136268
137647
|
};
|
|
136269
|
-
tool$
|
|
136270
|
-
name: "sandbox-
|
|
136271
|
-
description: `
|
|
137648
|
+
tool$sandboxSetPricing = {
|
|
137649
|
+
name: "sandbox-set-pricing",
|
|
137650
|
+
description: `Set Sandbox Pricing
|
|
136272
137651
|
|
|
136273
|
-
|
|
136274
|
-
args:
|
|
136275
|
-
tool: async (client,
|
|
136276
|
-
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();
|
|
136277
137656
|
if (!result.ok) {
|
|
136278
137657
|
return {
|
|
136279
137658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136286,28 +137665,28 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
136286
137665
|
};
|
|
136287
137666
|
});
|
|
136288
137667
|
|
|
136289
|
-
// src/funcs/
|
|
136290
|
-
function
|
|
136291
|
-
return new APIPromise($
|
|
137668
|
+
// src/funcs/sandboxTerminate.ts
|
|
137669
|
+
function sandboxTerminate(client, request, options) {
|
|
137670
|
+
return new APIPromise($do319(client, request, options));
|
|
136292
137671
|
}
|
|
136293
|
-
async function $
|
|
136294
|
-
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");
|
|
136295
137674
|
if (!parsed.ok) {
|
|
136296
137675
|
return [parsed, { status: "invalid" }];
|
|
136297
137676
|
}
|
|
136298
137677
|
const payload = parsed.value;
|
|
136299
|
-
const body =
|
|
137678
|
+
const body = encodeJSON("body", payload.TerminateSessionRequest, {
|
|
137679
|
+
explode: true
|
|
137680
|
+
});
|
|
136300
137681
|
const pathParams = {
|
|
136301
137682
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136302
137683
|
explode: false,
|
|
136303
137684
|
charEncoding: "percent"
|
|
136304
137685
|
})
|
|
136305
137686
|
};
|
|
136306
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
136307
|
-
const query = encodeFormQuery({
|
|
136308
|
-
session_token: payload.session_token
|
|
136309
|
-
});
|
|
137687
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
136310
137688
|
const headers = new Headers(compactMap({
|
|
137689
|
+
"Content-Type": "application/json",
|
|
136311
137690
|
Accept: "application/json",
|
|
136312
137691
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136313
137692
|
}));
|
|
@@ -136317,7 +137696,7 @@ async function $do311(client, request, options) {
|
|
|
136317
137696
|
const context = {
|
|
136318
137697
|
options: client._options,
|
|
136319
137698
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136320
|
-
operationID: "
|
|
137699
|
+
operationID: "terminateSession",
|
|
136321
137700
|
oAuth2Scopes: null,
|
|
136322
137701
|
resolvedSecurity: requestSecurity,
|
|
136323
137702
|
securitySource: client._options.bearerAuth,
|
|
@@ -136335,11 +137714,10 @@ async function $do311(client, request, options) {
|
|
|
136335
137714
|
};
|
|
136336
137715
|
const requestRes = client._createRequest(context, {
|
|
136337
137716
|
security: requestSecurity,
|
|
136338
|
-
method: "
|
|
137717
|
+
method: "POST",
|
|
136339
137718
|
baseURL: options?.serverURL,
|
|
136340
137719
|
path,
|
|
136341
137720
|
headers,
|
|
136342
|
-
query,
|
|
136343
137721
|
body,
|
|
136344
137722
|
userAgent: client._options.userAgent,
|
|
136345
137723
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136361,13 +137739,13 @@ async function $do311(client, request, options) {
|
|
|
136361
137739
|
const responseFields = {
|
|
136362
137740
|
HttpMeta: { Response: response, Request: req }
|
|
136363
137741
|
};
|
|
136364
|
-
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 });
|
|
136365
137743
|
if (!result.ok) {
|
|
136366
137744
|
return [result, { status: "complete", request: req, response }];
|
|
136367
137745
|
}
|
|
136368
137746
|
return [result, { status: "complete", request: req, response }];
|
|
136369
137747
|
}
|
|
136370
|
-
var
|
|
137748
|
+
var init_sandboxTerminate = __esm(() => {
|
|
136371
137749
|
init_encodings();
|
|
136372
137750
|
init_http();
|
|
136373
137751
|
init_matchers();
|
|
@@ -136381,23 +137759,23 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
136381
137759
|
init_async();
|
|
136382
137760
|
});
|
|
136383
137761
|
|
|
136384
|
-
// src/mcp-server/tools/
|
|
136385
|
-
var
|
|
136386
|
-
var
|
|
136387
|
-
|
|
137762
|
+
// src/mcp-server/tools/sandboxTerminate.ts
|
|
137763
|
+
var args310, tool$sandboxTerminate;
|
|
137764
|
+
var init_sandboxTerminate2 = __esm(() => {
|
|
137765
|
+
init_sandboxTerminate();
|
|
136388
137766
|
init_operations();
|
|
136389
137767
|
init_tools();
|
|
136390
|
-
|
|
136391
|
-
request:
|
|
137768
|
+
args310 = {
|
|
137769
|
+
request: TerminateSessionRequest$inboundSchema2
|
|
136392
137770
|
};
|
|
136393
|
-
tool$
|
|
136394
|
-
name: "sandbox-
|
|
136395
|
-
description: `
|
|
137771
|
+
tool$sandboxTerminate = {
|
|
137772
|
+
name: "sandbox-terminate",
|
|
137773
|
+
description: `Terminate Session
|
|
136396
137774
|
|
|
136397
|
-
|
|
136398
|
-
args:
|
|
136399
|
-
tool: async (client,
|
|
136400
|
-
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();
|
|
136401
137779
|
if (!result.ok) {
|
|
136402
137780
|
return {
|
|
136403
137781
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136410,14 +137788,31 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
136410
137788
|
};
|
|
136411
137789
|
});
|
|
136412
137790
|
|
|
136413
|
-
// src/funcs/
|
|
136414
|
-
function
|
|
136415
|
-
return new APIPromise($
|
|
137791
|
+
// src/funcs/sandboxUploadArchive.ts
|
|
137792
|
+
function sandboxUploadArchive(client, request, options) {
|
|
137793
|
+
return new APIPromise($do320(client, request, options));
|
|
136416
137794
|
}
|
|
136417
|
-
async function $
|
|
136418
|
-
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
|
+
});
|
|
136419
137812
|
const headers = new Headers(compactMap({
|
|
136420
|
-
|
|
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" })
|
|
136421
137816
|
}));
|
|
136422
137817
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136423
137818
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -136425,7 +137820,7 @@ async function $do312(client, options) {
|
|
|
136425
137820
|
const context = {
|
|
136426
137821
|
options: client._options,
|
|
136427
137822
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136428
|
-
operationID: "
|
|
137823
|
+
operationID: "uploadWorkspaceArchive",
|
|
136429
137824
|
oAuth2Scopes: null,
|
|
136430
137825
|
resolvedSecurity: requestSecurity,
|
|
136431
137826
|
securitySource: client._options.bearerAuth,
|
|
@@ -136443,10 +137838,12 @@ async function $do312(client, options) {
|
|
|
136443
137838
|
};
|
|
136444
137839
|
const requestRes = client._createRequest(context, {
|
|
136445
137840
|
security: requestSecurity,
|
|
136446
|
-
method: "
|
|
137841
|
+
method: "PUT",
|
|
136447
137842
|
baseURL: options?.serverURL,
|
|
136448
137843
|
path,
|
|
136449
137844
|
headers,
|
|
137845
|
+
query,
|
|
137846
|
+
body,
|
|
136450
137847
|
userAgent: client._options.userAgent,
|
|
136451
137848
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136452
137849
|
}, options);
|
|
@@ -136464,34 +137861,46 @@ async function $do312(client, options) {
|
|
|
136464
137861
|
return [doResult, { status: "request-error", request: req }];
|
|
136465
137862
|
}
|
|
136466
137863
|
const response = doResult.value;
|
|
136467
|
-
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 });
|
|
136468
137868
|
if (!result.ok) {
|
|
136469
137869
|
return [result, { status: "complete", request: req, response }];
|
|
136470
137870
|
}
|
|
136471
137871
|
return [result, { status: "complete", request: req, response }];
|
|
136472
137872
|
}
|
|
136473
|
-
var
|
|
137873
|
+
var init_sandboxUploadArchive = __esm(() => {
|
|
137874
|
+
init_esm();
|
|
137875
|
+
init_encodings();
|
|
136474
137876
|
init_http();
|
|
136475
137877
|
init_matchers();
|
|
136476
137878
|
init_primitives();
|
|
137879
|
+
init_schemas4();
|
|
136477
137880
|
init_security();
|
|
136478
137881
|
init_url();
|
|
136479
|
-
|
|
137882
|
+
init_errors4();
|
|
137883
|
+
init_operations();
|
|
136480
137884
|
init_async();
|
|
136481
137885
|
});
|
|
136482
137886
|
|
|
136483
|
-
// src/mcp-server/tools/
|
|
136484
|
-
var tool$
|
|
136485
|
-
var
|
|
136486
|
-
|
|
137887
|
+
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
137888
|
+
var args311, tool$sandboxUploadArchive;
|
|
137889
|
+
var init_sandboxUploadArchive2 = __esm(() => {
|
|
137890
|
+
init_sandboxUploadArchive();
|
|
137891
|
+
init_operations();
|
|
136487
137892
|
init_tools();
|
|
136488
|
-
|
|
136489
|
-
|
|
136490
|
-
|
|
137893
|
+
args311 = {
|
|
137894
|
+
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
137895
|
+
};
|
|
137896
|
+
tool$sandboxUploadArchive = {
|
|
137897
|
+
name: "sandbox-upload-archive",
|
|
137898
|
+
description: `Upload Workspace Archive
|
|
136491
137899
|
|
|
136492
|
-
|
|
136493
|
-
|
|
136494
|
-
|
|
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();
|
|
136495
137904
|
if (!result.ok) {
|
|
136496
137905
|
return {
|
|
136497
137906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136504,28 +137913,33 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
136504
137913
|
};
|
|
136505
137914
|
});
|
|
136506
137915
|
|
|
136507
|
-
// src/funcs/
|
|
136508
|
-
function
|
|
136509
|
-
return new APIPromise($
|
|
137916
|
+
// src/funcs/sandboxUploadFile.ts
|
|
137917
|
+
function sandboxUploadFile(client, request, options) {
|
|
137918
|
+
return new APIPromise($do321(client, request, options));
|
|
136510
137919
|
}
|
|
136511
|
-
async function $
|
|
136512
|
-
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");
|
|
136513
137922
|
if (!parsed.ok) {
|
|
136514
137923
|
return [parsed, { status: "invalid" }];
|
|
136515
137924
|
}
|
|
136516
137925
|
const payload = parsed.value;
|
|
136517
|
-
const body =
|
|
137926
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
136518
137927
|
const pathParams = {
|
|
137928
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
137929
|
+
explode: false,
|
|
137930
|
+
charEncoding: "percent"
|
|
137931
|
+
}),
|
|
136519
137932
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136520
137933
|
explode: false,
|
|
136521
137934
|
charEncoding: "percent"
|
|
136522
137935
|
})
|
|
136523
137936
|
};
|
|
136524
|
-
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);
|
|
136525
137938
|
const query = encodeFormQuery({
|
|
136526
137939
|
session_token: payload.session_token
|
|
136527
137940
|
});
|
|
136528
137941
|
const headers = new Headers(compactMap({
|
|
137942
|
+
"Content-Type": "application/octet-stream",
|
|
136529
137943
|
Accept: "application/json",
|
|
136530
137944
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136531
137945
|
}));
|
|
@@ -136535,7 +137949,7 @@ async function $do313(client, request, options) {
|
|
|
136535
137949
|
const context = {
|
|
136536
137950
|
options: client._options,
|
|
136537
137951
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136538
|
-
operationID: "
|
|
137952
|
+
operationID: "uploadWorkspaceFile",
|
|
136539
137953
|
oAuth2Scopes: null,
|
|
136540
137954
|
resolvedSecurity: requestSecurity,
|
|
136541
137955
|
securitySource: client._options.bearerAuth,
|
|
@@ -136553,7 +137967,7 @@ async function $do313(client, request, options) {
|
|
|
136553
137967
|
};
|
|
136554
137968
|
const requestRes = client._createRequest(context, {
|
|
136555
137969
|
security: requestSecurity,
|
|
136556
|
-
method: "
|
|
137970
|
+
method: "PUT",
|
|
136557
137971
|
baseURL: options?.serverURL,
|
|
136558
137972
|
path,
|
|
136559
137973
|
headers,
|
|
@@ -136579,13 +137993,14 @@ async function $do313(client, request, options) {
|
|
|
136579
137993
|
const responseFields = {
|
|
136580
137994
|
HttpMeta: { Response: response, Request: req }
|
|
136581
137995
|
};
|
|
136582
|
-
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 });
|
|
136583
137997
|
if (!result.ok) {
|
|
136584
137998
|
return [result, { status: "complete", request: req, response }];
|
|
136585
137999
|
}
|
|
136586
138000
|
return [result, { status: "complete", request: req, response }];
|
|
136587
138001
|
}
|
|
136588
|
-
var
|
|
138002
|
+
var init_sandboxUploadFile = __esm(() => {
|
|
138003
|
+
init_esm();
|
|
136589
138004
|
init_encodings();
|
|
136590
138005
|
init_http();
|
|
136591
138006
|
init_matchers();
|
|
@@ -136593,29 +138008,28 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
136593
138008
|
init_schemas4();
|
|
136594
138009
|
init_security();
|
|
136595
138010
|
init_url();
|
|
136596
|
-
init_components();
|
|
136597
138011
|
init_errors4();
|
|
136598
138012
|
init_operations();
|
|
136599
138013
|
init_async();
|
|
136600
138014
|
});
|
|
136601
138015
|
|
|
136602
|
-
// src/mcp-server/tools/
|
|
136603
|
-
var
|
|
136604
|
-
var
|
|
136605
|
-
|
|
138016
|
+
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
138017
|
+
var args312, tool$sandboxUploadFile;
|
|
138018
|
+
var init_sandboxUploadFile2 = __esm(() => {
|
|
138019
|
+
init_sandboxUploadFile();
|
|
136606
138020
|
init_operations();
|
|
136607
138021
|
init_tools();
|
|
136608
|
-
|
|
136609
|
-
request:
|
|
138022
|
+
args312 = {
|
|
138023
|
+
request: UploadWorkspaceFileRequest$inboundSchema
|
|
136610
138024
|
};
|
|
136611
|
-
tool$
|
|
136612
|
-
name: "sandbox-
|
|
136613
|
-
description: `
|
|
138025
|
+
tool$sandboxUploadFile = {
|
|
138026
|
+
name: "sandbox-upload-file",
|
|
138027
|
+
description: `Upload Workspace File
|
|
136614
138028
|
|
|
136615
|
-
|
|
136616
|
-
args:
|
|
136617
|
-
tool: async (client,
|
|
136618
|
-
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();
|
|
136619
138033
|
if (!result.ok) {
|
|
136620
138034
|
return {
|
|
136621
138035
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136628,19 +138042,20 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
136628
138042
|
};
|
|
136629
138043
|
});
|
|
136630
138044
|
|
|
136631
|
-
// src/funcs/
|
|
136632
|
-
function
|
|
136633
|
-
return new APIPromise($
|
|
138045
|
+
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
138046
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
138047
|
+
return new APIPromise($do322(client, request, options));
|
|
136634
138048
|
}
|
|
136635
|
-
async function $
|
|
136636
|
-
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");
|
|
136637
138051
|
if (!parsed.ok) {
|
|
136638
138052
|
return [parsed, { status: "invalid" }];
|
|
136639
138053
|
}
|
|
136640
138054
|
const payload = parsed.value;
|
|
136641
|
-
const body =
|
|
136642
|
-
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")();
|
|
136643
138057
|
const headers = new Headers(compactMap({
|
|
138058
|
+
"Content-Type": "application/json",
|
|
136644
138059
|
Accept: "application/json",
|
|
136645
138060
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136646
138061
|
}));
|
|
@@ -136650,7 +138065,7 @@ async function $do314(client, request, options) {
|
|
|
136650
138065
|
const context = {
|
|
136651
138066
|
options: client._options,
|
|
136652
138067
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136653
|
-
operationID: "
|
|
138068
|
+
operationID: "connect_api_v1_sandbox_github_oauth_connections_post",
|
|
136654
138069
|
oAuth2Scopes: null,
|
|
136655
138070
|
resolvedSecurity: requestSecurity,
|
|
136656
138071
|
securitySource: client._options.bearerAuth,
|
|
@@ -136668,7 +138083,7 @@ async function $do314(client, request, options) {
|
|
|
136668
138083
|
};
|
|
136669
138084
|
const requestRes = client._createRequest(context, {
|
|
136670
138085
|
security: requestSecurity,
|
|
136671
|
-
method: "
|
|
138086
|
+
method: "POST",
|
|
136672
138087
|
baseURL: options?.serverURL,
|
|
136673
138088
|
path,
|
|
136674
138089
|
headers,
|
|
@@ -136693,14 +138108,13 @@ async function $do314(client, request, options) {
|
|
|
136693
138108
|
const responseFields = {
|
|
136694
138109
|
HttpMeta: { Response: response, Request: req }
|
|
136695
138110
|
};
|
|
136696
|
-
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 });
|
|
136697
138112
|
if (!result.ok) {
|
|
136698
138113
|
return [result, { status: "complete", request: req, response }];
|
|
136699
138114
|
}
|
|
136700
138115
|
return [result, { status: "complete", request: req, response }];
|
|
136701
138116
|
}
|
|
136702
|
-
var
|
|
136703
|
-
init_esm();
|
|
138117
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() => {
|
|
136704
138118
|
init_encodings();
|
|
136705
138119
|
init_http();
|
|
136706
138120
|
init_matchers();
|
|
@@ -136714,23 +138128,21 @@ var init_sandboxList = __esm(() => {
|
|
|
136714
138128
|
init_async();
|
|
136715
138129
|
});
|
|
136716
138130
|
|
|
136717
|
-
// src/mcp-server/tools/
|
|
136718
|
-
var
|
|
136719
|
-
var
|
|
136720
|
-
|
|
138131
|
+
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
138132
|
+
var args313, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
138133
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
138134
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
136721
138135
|
init_operations();
|
|
136722
138136
|
init_tools();
|
|
136723
|
-
|
|
136724
|
-
request:
|
|
138137
|
+
args313 = {
|
|
138138
|
+
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
136725
138139
|
};
|
|
136726
|
-
tool$
|
|
136727
|
-
name: "sandbox-
|
|
136728
|
-
description: `
|
|
136729
|
-
|
|
136730
|
-
|
|
136731
|
-
|
|
136732
|
-
tool: async (client, args306, ctx) => {
|
|
136733
|
-
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();
|
|
136734
138146
|
if (!result.ok) {
|
|
136735
138147
|
return {
|
|
136736
138148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136743,35 +138155,18 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
136743
138155
|
};
|
|
136744
138156
|
});
|
|
136745
138157
|
|
|
136746
|
-
// src/funcs/
|
|
136747
|
-
function
|
|
136748
|
-
return new APIPromise($
|
|
138158
|
+
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
138159
|
+
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
138160
|
+
return new APIPromise($do323(client, request, options));
|
|
136749
138161
|
}
|
|
136750
|
-
async function $
|
|
136751
|
-
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");
|
|
136752
138164
|
if (!parsed.ok) {
|
|
136753
138165
|
return [parsed, { status: "invalid" }];
|
|
136754
138166
|
}
|
|
136755
138167
|
const payload = parsed.value;
|
|
136756
138168
|
const body = null;
|
|
136757
|
-
const
|
|
136758
|
-
port: encodeSimple("port", payload.port, {
|
|
136759
|
-
explode: false,
|
|
136760
|
-
charEncoding: "percent"
|
|
136761
|
-
}),
|
|
136762
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136763
|
-
explode: false,
|
|
136764
|
-
charEncoding: "percent"
|
|
136765
|
-
}),
|
|
136766
|
-
subpath: encodeSimple("subpath", payload.subpath, {
|
|
136767
|
-
explode: false,
|
|
136768
|
-
charEncoding: "percent"
|
|
136769
|
-
})
|
|
136770
|
-
};
|
|
136771
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
136772
|
-
const query = encodeFormQuery({
|
|
136773
|
-
session_token: payload.session_token
|
|
136774
|
-
});
|
|
138169
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/intents")();
|
|
136775
138170
|
const headers = new Headers(compactMap({
|
|
136776
138171
|
Accept: "application/json",
|
|
136777
138172
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -136782,7 +138177,7 @@ async function $do315(client, request, options) {
|
|
|
136782
138177
|
const context = {
|
|
136783
138178
|
options: client._options,
|
|
136784
138179
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136785
|
-
operationID: "
|
|
138180
|
+
operationID: "create_intent_api_v1_sandbox_github_oauth_intents_post",
|
|
136786
138181
|
oAuth2Scopes: null,
|
|
136787
138182
|
resolvedSecurity: requestSecurity,
|
|
136788
138183
|
securitySource: client._options.bearerAuth,
|
|
@@ -136800,11 +138195,10 @@ async function $do315(client, request, options) {
|
|
|
136800
138195
|
};
|
|
136801
138196
|
const requestRes = client._createRequest(context, {
|
|
136802
138197
|
security: requestSecurity,
|
|
136803
|
-
method: "
|
|
138198
|
+
method: "POST",
|
|
136804
138199
|
baseURL: options?.serverURL,
|
|
136805
138200
|
path,
|
|
136806
138201
|
headers,
|
|
136807
|
-
query,
|
|
136808
138202
|
body,
|
|
136809
138203
|
userAgent: client._options.userAgent,
|
|
136810
138204
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -136823,17 +138217,13 @@ async function $do315(client, request, options) {
|
|
|
136823
138217
|
return [doResult, { status: "request-error", request: req }];
|
|
136824
138218
|
}
|
|
136825
138219
|
const response = doResult.value;
|
|
136826
|
-
const
|
|
136827
|
-
HttpMeta: { Response: response, Request: req }
|
|
136828
|
-
};
|
|
136829
|
-
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);
|
|
136830
138221
|
if (!result.ok) {
|
|
136831
138222
|
return [result, { status: "complete", request: req, response }];
|
|
136832
138223
|
}
|
|
136833
138224
|
return [result, { status: "complete", request: req, response }];
|
|
136834
138225
|
}
|
|
136835
|
-
var
|
|
136836
|
-
init_esm();
|
|
138226
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() => {
|
|
136837
138227
|
init_encodings();
|
|
136838
138228
|
init_http();
|
|
136839
138229
|
init_matchers();
|
|
@@ -136841,28 +138231,26 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
136841
138231
|
init_schemas4();
|
|
136842
138232
|
init_security();
|
|
136843
138233
|
init_url();
|
|
136844
|
-
|
|
138234
|
+
init_components();
|
|
136845
138235
|
init_operations();
|
|
136846
138236
|
init_async();
|
|
136847
138237
|
});
|
|
136848
138238
|
|
|
136849
|
-
// src/mcp-server/tools/
|
|
136850
|
-
var
|
|
136851
|
-
var
|
|
136852
|
-
|
|
138239
|
+
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
138240
|
+
var args314, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
138241
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
138242
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
136853
138243
|
init_operations();
|
|
136854
138244
|
init_tools();
|
|
136855
|
-
|
|
136856
|
-
request:
|
|
138245
|
+
args314 = {
|
|
138246
|
+
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
136857
138247
|
};
|
|
136858
|
-
tool$
|
|
136859
|
-
name: "sandbox-
|
|
136860
|
-
description: `
|
|
136861
|
-
|
|
136862
|
-
|
|
136863
|
-
|
|
136864
|
-
tool: async (client, args307, ctx) => {
|
|
136865
|
-
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();
|
|
136866
138254
|
if (!result.ok) {
|
|
136867
138255
|
return {
|
|
136868
138256
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136875,27 +138263,20 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
136875
138263
|
};
|
|
136876
138264
|
});
|
|
136877
138265
|
|
|
136878
|
-
// src/funcs/
|
|
136879
|
-
function
|
|
136880
|
-
return new APIPromise($
|
|
138266
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
138267
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
138268
|
+
return new APIPromise($do324(client, request, options));
|
|
136881
138269
|
}
|
|
136882
|
-
async function $
|
|
136883
|
-
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");
|
|
136884
138272
|
if (!parsed.ok) {
|
|
136885
138273
|
return [parsed, { status: "invalid" }];
|
|
136886
138274
|
}
|
|
136887
138275
|
const payload = parsed.value;
|
|
136888
|
-
const body =
|
|
136889
|
-
const
|
|
136890
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
136891
|
-
explode: false,
|
|
136892
|
-
charEncoding: "percent"
|
|
136893
|
-
})
|
|
136894
|
-
};
|
|
136895
|
-
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")();
|
|
136896
138278
|
const headers = new Headers(compactMap({
|
|
136897
|
-
|
|
136898
|
-
Accept: "application/json",
|
|
138279
|
+
Accept: "*/*",
|
|
136899
138280
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136900
138281
|
}));
|
|
136901
138282
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -136904,7 +138285,7 @@ async function $do316(client, request, options) {
|
|
|
136904
138285
|
const context = {
|
|
136905
138286
|
options: client._options,
|
|
136906
138287
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136907
|
-
operationID: "
|
|
138288
|
+
operationID: "disconnect_api_v1_sandbox_github_oauth_connections_delete",
|
|
136908
138289
|
oAuth2Scopes: null,
|
|
136909
138290
|
resolvedSecurity: requestSecurity,
|
|
136910
138291
|
securitySource: client._options.bearerAuth,
|
|
@@ -136922,7 +138303,7 @@ async function $do316(client, request, options) {
|
|
|
136922
138303
|
};
|
|
136923
138304
|
const requestRes = client._createRequest(context, {
|
|
136924
138305
|
security: requestSecurity,
|
|
136925
|
-
method: "
|
|
138306
|
+
method: "DELETE",
|
|
136926
138307
|
baseURL: options?.serverURL,
|
|
136927
138308
|
path,
|
|
136928
138309
|
headers,
|
|
@@ -136944,16 +138325,14 @@ async function $do316(client, request, options) {
|
|
|
136944
138325
|
return [doResult, { status: "request-error", request: req }];
|
|
136945
138326
|
}
|
|
136946
138327
|
const response = doResult.value;
|
|
136947
|
-
const
|
|
136948
|
-
HttpMeta: { Response: response, Request: req }
|
|
136949
|
-
};
|
|
136950
|
-
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);
|
|
136951
138329
|
if (!result.ok) {
|
|
136952
138330
|
return [result, { status: "complete", request: req, response }];
|
|
136953
138331
|
}
|
|
136954
138332
|
return [result, { status: "complete", request: req, response }];
|
|
136955
138333
|
}
|
|
136956
|
-
var
|
|
138334
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(() => {
|
|
138335
|
+
init_esm();
|
|
136957
138336
|
init_encodings();
|
|
136958
138337
|
init_http();
|
|
136959
138338
|
init_matchers();
|
|
@@ -136961,61 +138340,49 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
136961
138340
|
init_schemas4();
|
|
136962
138341
|
init_security();
|
|
136963
138342
|
init_url();
|
|
136964
|
-
init_components();
|
|
136965
|
-
init_errors4();
|
|
136966
138343
|
init_operations();
|
|
136967
138344
|
init_async();
|
|
136968
138345
|
});
|
|
136969
138346
|
|
|
136970
|
-
// src/mcp-server/tools/
|
|
136971
|
-
var
|
|
136972
|
-
var
|
|
136973
|
-
|
|
138347
|
+
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
138348
|
+
var args315, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
138349
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
138350
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
136974
138351
|
init_operations();
|
|
136975
138352
|
init_tools();
|
|
136976
|
-
|
|
136977
|
-
request:
|
|
138353
|
+
args315 = {
|
|
138354
|
+
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
136978
138355
|
};
|
|
136979
|
-
tool$
|
|
136980
|
-
name: "sandbox-
|
|
136981
|
-
description: `
|
|
136982
|
-
|
|
136983
|
-
|
|
136984
|
-
|
|
136985
|
-
tool: async (client, args308, ctx) => {
|
|
136986
|
-
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();
|
|
136987
138362
|
if (!result.ok) {
|
|
136988
138363
|
return {
|
|
136989
138364
|
content: [{ type: "text", text: result.error.message }],
|
|
136990
138365
|
isError: true
|
|
136991
138366
|
};
|
|
136992
138367
|
}
|
|
136993
|
-
|
|
136994
|
-
return formatResult(value, apiCall);
|
|
138368
|
+
return formatResult(undefined, apiCall);
|
|
136995
138369
|
}
|
|
136996
138370
|
};
|
|
136997
138371
|
});
|
|
136998
138372
|
|
|
136999
|
-
// src/funcs/
|
|
137000
|
-
function
|
|
137001
|
-
return new APIPromise($
|
|
138373
|
+
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
138374
|
+
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
138375
|
+
return new APIPromise($do325(client, request, options));
|
|
137002
138376
|
}
|
|
137003
|
-
async function $
|
|
137004
|
-
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");
|
|
137005
138379
|
if (!parsed.ok) {
|
|
137006
138380
|
return [parsed, { status: "invalid" }];
|
|
137007
138381
|
}
|
|
137008
138382
|
const payload = parsed.value;
|
|
137009
|
-
const body =
|
|
137010
|
-
const
|
|
137011
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137012
|
-
explode: false,
|
|
137013
|
-
charEncoding: "percent"
|
|
137014
|
-
})
|
|
137015
|
-
};
|
|
137016
|
-
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")();
|
|
137017
138385
|
const headers = new Headers(compactMap({
|
|
137018
|
-
"Content-Type": "application/json",
|
|
137019
138386
|
Accept: "application/json",
|
|
137020
138387
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137021
138388
|
}));
|
|
@@ -137025,7 +138392,7 @@ async function $do317(client, request, options) {
|
|
|
137025
138392
|
const context = {
|
|
137026
138393
|
options: client._options,
|
|
137027
138394
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137028
|
-
operationID: "
|
|
138395
|
+
operationID: "get_connection_api_v1_sandbox_github_oauth_connections_get",
|
|
137029
138396
|
oAuth2Scopes: null,
|
|
137030
138397
|
resolvedSecurity: requestSecurity,
|
|
137031
138398
|
securitySource: client._options.bearerAuth,
|
|
@@ -137043,7 +138410,7 @@ async function $do317(client, request, options) {
|
|
|
137043
138410
|
};
|
|
137044
138411
|
const requestRes = client._createRequest(context, {
|
|
137045
138412
|
security: requestSecurity,
|
|
137046
|
-
method: "
|
|
138413
|
+
method: "GET",
|
|
137047
138414
|
baseURL: options?.serverURL,
|
|
137048
138415
|
path,
|
|
137049
138416
|
headers,
|
|
@@ -137065,16 +138432,13 @@ async function $do317(client, request, options) {
|
|
|
137065
138432
|
return [doResult, { status: "request-error", request: req }];
|
|
137066
138433
|
}
|
|
137067
138434
|
const response = doResult.value;
|
|
137068
|
-
const
|
|
137069
|
-
HttpMeta: { Response: response, Request: req }
|
|
137070
|
-
};
|
|
137071
|
-
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);
|
|
137072
138436
|
if (!result.ok) {
|
|
137073
138437
|
return [result, { status: "complete", request: req, response }];
|
|
137074
138438
|
}
|
|
137075
138439
|
return [result, { status: "complete", request: req, response }];
|
|
137076
138440
|
}
|
|
137077
|
-
var
|
|
138441
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(() => {
|
|
137078
138442
|
init_encodings();
|
|
137079
138443
|
init_http();
|
|
137080
138444
|
init_matchers();
|
|
@@ -137083,28 +138447,25 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
137083
138447
|
init_security();
|
|
137084
138448
|
init_url();
|
|
137085
138449
|
init_components();
|
|
137086
|
-
init_errors4();
|
|
137087
138450
|
init_operations();
|
|
137088
138451
|
init_async();
|
|
137089
138452
|
});
|
|
137090
138453
|
|
|
137091
|
-
// src/mcp-server/tools/
|
|
137092
|
-
var
|
|
137093
|
-
var
|
|
137094
|
-
|
|
138454
|
+
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
138455
|
+
var args316, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
138456
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
138457
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
137095
138458
|
init_operations();
|
|
137096
138459
|
init_tools();
|
|
137097
|
-
|
|
137098
|
-
request:
|
|
137099
|
-
};
|
|
137100
|
-
tool$
|
|
137101
|
-
name: "sandbox-
|
|
137102
|
-
description: `
|
|
137103
|
-
|
|
137104
|
-
|
|
137105
|
-
|
|
137106
|
-
tool: async (client, args309, ctx) => {
|
|
137107
|
-
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();
|
|
137108
138469
|
if (!result.ok) {
|
|
137109
138470
|
return {
|
|
137110
138471
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137117,21 +138478,21 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
137117
138478
|
};
|
|
137118
138479
|
});
|
|
137119
138480
|
|
|
137120
|
-
// src/funcs/
|
|
137121
|
-
function
|
|
137122
|
-
return new APIPromise($
|
|
138481
|
+
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
138482
|
+
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
138483
|
+
return new APIPromise($do326(client, request, options));
|
|
137123
138484
|
}
|
|
137124
|
-
async function $
|
|
137125
|
-
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");
|
|
137126
138487
|
if (!parsed.ok) {
|
|
137127
138488
|
return [parsed, { status: "invalid" }];
|
|
137128
138489
|
}
|
|
137129
138490
|
const payload = parsed.value;
|
|
137130
|
-
const body =
|
|
137131
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
138491
|
+
const body = null;
|
|
138492
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories")();
|
|
137132
138493
|
const headers = new Headers(compactMap({
|
|
137133
|
-
|
|
137134
|
-
|
|
138494
|
+
Accept: "application/json",
|
|
138495
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137135
138496
|
}));
|
|
137136
138497
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
137137
138498
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -137139,7 +138500,7 @@ async function $do318(client, request, options) {
|
|
|
137139
138500
|
const context = {
|
|
137140
138501
|
options: client._options,
|
|
137141
138502
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137142
|
-
operationID: "
|
|
138503
|
+
operationID: "list_repositories_api_v1_sandbox_github_repositories_get",
|
|
137143
138504
|
oAuth2Scopes: null,
|
|
137144
138505
|
resolvedSecurity: requestSecurity,
|
|
137145
138506
|
securitySource: client._options.bearerAuth,
|
|
@@ -137157,7 +138518,7 @@ async function $do318(client, request, options) {
|
|
|
137157
138518
|
};
|
|
137158
138519
|
const requestRes = client._createRequest(context, {
|
|
137159
138520
|
security: requestSecurity,
|
|
137160
|
-
method: "
|
|
138521
|
+
method: "GET",
|
|
137161
138522
|
baseURL: options?.serverURL,
|
|
137162
138523
|
path,
|
|
137163
138524
|
headers,
|
|
@@ -137179,16 +138540,13 @@ async function $do318(client, request, options) {
|
|
|
137179
138540
|
return [doResult, { status: "request-error", request: req }];
|
|
137180
138541
|
}
|
|
137181
138542
|
const response = doResult.value;
|
|
137182
|
-
const
|
|
137183
|
-
HttpMeta: { Response: response, Request: req }
|
|
137184
|
-
};
|
|
137185
|
-
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);
|
|
137186
138544
|
if (!result.ok) {
|
|
137187
138545
|
return [result, { status: "complete", request: req, response }];
|
|
137188
138546
|
}
|
|
137189
138547
|
return [result, { status: "complete", request: req, response }];
|
|
137190
138548
|
}
|
|
137191
|
-
var
|
|
138549
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm(() => {
|
|
137192
138550
|
init_encodings();
|
|
137193
138551
|
init_http();
|
|
137194
138552
|
init_matchers();
|
|
@@ -137197,27 +138555,25 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
137197
138555
|
init_security();
|
|
137198
138556
|
init_url();
|
|
137199
138557
|
init_components();
|
|
137200
|
-
|
|
138558
|
+
init_operations();
|
|
137201
138559
|
init_async();
|
|
137202
138560
|
});
|
|
137203
138561
|
|
|
137204
|
-
// src/mcp-server/tools/
|
|
137205
|
-
var
|
|
137206
|
-
var
|
|
137207
|
-
|
|
137208
|
-
|
|
138562
|
+
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
138563
|
+
var args317, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
138564
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
138565
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
138566
|
+
init_operations();
|
|
137209
138567
|
init_tools();
|
|
137210
|
-
|
|
137211
|
-
request:
|
|
137212
|
-
};
|
|
137213
|
-
tool$
|
|
137214
|
-
name: "sandbox-
|
|
137215
|
-
description: `
|
|
137216
|
-
|
|
137217
|
-
|
|
137218
|
-
|
|
137219
|
-
tool: async (client, args310, ctx) => {
|
|
137220
|
-
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();
|
|
137221
138577
|
if (!result.ok) {
|
|
137222
138578
|
return {
|
|
137223
138579
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137230,17 +138586,17 @@ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from
|
|
|
137230
138586
|
};
|
|
137231
138587
|
});
|
|
137232
138588
|
|
|
137233
|
-
// src/funcs/
|
|
137234
|
-
function
|
|
137235
|
-
return new APIPromise($
|
|
138589
|
+
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
138590
|
+
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
138591
|
+
return new APIPromise($do327(client, request, options));
|
|
137236
138592
|
}
|
|
137237
|
-
async function $
|
|
137238
|
-
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");
|
|
137239
138595
|
if (!parsed.ok) {
|
|
137240
138596
|
return [parsed, { status: "invalid" }];
|
|
137241
138597
|
}
|
|
137242
138598
|
const payload = parsed.value;
|
|
137243
|
-
const body = encodeJSON("body", payload.
|
|
138599
|
+
const body = encodeJSON("body", payload.GitHubReadCloneRequest, {
|
|
137244
138600
|
explode: true
|
|
137245
138601
|
});
|
|
137246
138602
|
const pathParams = {
|
|
@@ -137249,7 +138605,7 @@ async function $do319(client, request, options) {
|
|
|
137249
138605
|
charEncoding: "percent"
|
|
137250
138606
|
})
|
|
137251
138607
|
};
|
|
137252
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
138608
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
137253
138609
|
const headers = new Headers(compactMap({
|
|
137254
138610
|
"Content-Type": "application/json",
|
|
137255
138611
|
Accept: "application/json",
|
|
@@ -137261,7 +138617,7 @@ async function $do319(client, request, options) {
|
|
|
137261
138617
|
const context = {
|
|
137262
138618
|
options: client._options,
|
|
137263
138619
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137264
|
-
operationID: "
|
|
138620
|
+
operationID: "read_clone_api_v1_sandbox_sessions__session_id__github_read_clone_post",
|
|
137265
138621
|
oAuth2Scopes: null,
|
|
137266
138622
|
resolvedSecurity: requestSecurity,
|
|
137267
138623
|
securitySource: client._options.bearerAuth,
|
|
@@ -137304,13 +138660,13 @@ async function $do319(client, request, options) {
|
|
|
137304
138660
|
const responseFields = {
|
|
137305
138661
|
HttpMeta: { Response: response, Request: req }
|
|
137306
138662
|
};
|
|
137307
|
-
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 });
|
|
137308
138664
|
if (!result.ok) {
|
|
137309
138665
|
return [result, { status: "complete", request: req, response }];
|
|
137310
138666
|
}
|
|
137311
138667
|
return [result, { status: "complete", request: req, response }];
|
|
137312
138668
|
}
|
|
137313
|
-
var
|
|
138669
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = __esm(() => {
|
|
137314
138670
|
init_encodings();
|
|
137315
138671
|
init_http();
|
|
137316
138672
|
init_matchers();
|
|
@@ -137324,148 +138680,21 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
137324
138680
|
init_async();
|
|
137325
138681
|
});
|
|
137326
138682
|
|
|
137327
|
-
// src/mcp-server/tools/
|
|
137328
|
-
var
|
|
137329
|
-
var
|
|
137330
|
-
|
|
137331
|
-
init_operations();
|
|
137332
|
-
init_tools();
|
|
137333
|
-
args310 = {
|
|
137334
|
-
request: TerminateSessionRequest$inboundSchema2
|
|
137335
|
-
};
|
|
137336
|
-
tool$sandboxTerminate = {
|
|
137337
|
-
name: "sandbox-terminate",
|
|
137338
|
-
description: `Terminate Session
|
|
137339
|
-
|
|
137340
|
-
Stop a sandbox session and release the backing sandbox resources.`,
|
|
137341
|
-
args: args310,
|
|
137342
|
-
tool: async (client, args311, ctx) => {
|
|
137343
|
-
const [result, apiCall] = await sandboxTerminate(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137344
|
-
if (!result.ok) {
|
|
137345
|
-
return {
|
|
137346
|
-
content: [{ type: "text", text: result.error.message }],
|
|
137347
|
-
isError: true
|
|
137348
|
-
};
|
|
137349
|
-
}
|
|
137350
|
-
const value = result.value;
|
|
137351
|
-
return formatResult(value, apiCall);
|
|
137352
|
-
}
|
|
137353
|
-
};
|
|
137354
|
-
});
|
|
137355
|
-
|
|
137356
|
-
// src/funcs/sandboxUploadArchive.ts
|
|
137357
|
-
function sandboxUploadArchive(client, request, options) {
|
|
137358
|
-
return new APIPromise($do320(client, request, options));
|
|
137359
|
-
}
|
|
137360
|
-
async function $do320(client, request, options) {
|
|
137361
|
-
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137362
|
-
if (!parsed.ok) {
|
|
137363
|
-
return [parsed, { status: "invalid" }];
|
|
137364
|
-
}
|
|
137365
|
-
const payload = parsed.value;
|
|
137366
|
-
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
137367
|
-
const pathParams = {
|
|
137368
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137369
|
-
explode: false,
|
|
137370
|
-
charEncoding: "percent"
|
|
137371
|
-
})
|
|
137372
|
-
};
|
|
137373
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
137374
|
-
const query = encodeFormQuery({
|
|
137375
|
-
session_token: payload.session_token
|
|
137376
|
-
});
|
|
137377
|
-
const headers = new Headers(compactMap({
|
|
137378
|
-
"Content-Type": "application/zip",
|
|
137379
|
-
Accept: "application/json",
|
|
137380
|
-
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137381
|
-
}));
|
|
137382
|
-
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
137383
|
-
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
137384
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
137385
|
-
const context = {
|
|
137386
|
-
options: client._options,
|
|
137387
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137388
|
-
operationID: "uploadWorkspaceArchive",
|
|
137389
|
-
oAuth2Scopes: null,
|
|
137390
|
-
resolvedSecurity: requestSecurity,
|
|
137391
|
-
securitySource: client._options.bearerAuth,
|
|
137392
|
-
retryConfig: options?.retries || client._options.retryConfig || {
|
|
137393
|
-
strategy: "backoff",
|
|
137394
|
-
backoff: {
|
|
137395
|
-
initialInterval: 500,
|
|
137396
|
-
maxInterval: 5000,
|
|
137397
|
-
exponent: 1.5,
|
|
137398
|
-
maxElapsedTime: 15000
|
|
137399
|
-
},
|
|
137400
|
-
retryConnectionErrors: true
|
|
137401
|
-
},
|
|
137402
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
137403
|
-
};
|
|
137404
|
-
const requestRes = client._createRequest(context, {
|
|
137405
|
-
security: requestSecurity,
|
|
137406
|
-
method: "PUT",
|
|
137407
|
-
baseURL: options?.serverURL,
|
|
137408
|
-
path,
|
|
137409
|
-
headers,
|
|
137410
|
-
query,
|
|
137411
|
-
body,
|
|
137412
|
-
userAgent: client._options.userAgent,
|
|
137413
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
137414
|
-
}, options);
|
|
137415
|
-
if (!requestRes.ok) {
|
|
137416
|
-
return [requestRes, { status: "invalid" }];
|
|
137417
|
-
}
|
|
137418
|
-
const req = requestRes.value;
|
|
137419
|
-
const doResult = await client._do(req, {
|
|
137420
|
-
context,
|
|
137421
|
-
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
137422
|
-
retryConfig: context.retryConfig,
|
|
137423
|
-
retryCodes: context.retryCodes
|
|
137424
|
-
});
|
|
137425
|
-
if (!doResult.ok) {
|
|
137426
|
-
return [doResult, { status: "request-error", request: req }];
|
|
137427
|
-
}
|
|
137428
|
-
const response = doResult.value;
|
|
137429
|
-
const responseFields = {
|
|
137430
|
-
HttpMeta: { Response: response, Request: req }
|
|
137431
|
-
};
|
|
137432
|
-
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
137433
|
-
if (!result.ok) {
|
|
137434
|
-
return [result, { status: "complete", request: req, response }];
|
|
137435
|
-
}
|
|
137436
|
-
return [result, { status: "complete", request: req, response }];
|
|
137437
|
-
}
|
|
137438
|
-
var init_sandboxUploadArchive = __esm(() => {
|
|
137439
|
-
init_esm();
|
|
137440
|
-
init_encodings();
|
|
137441
|
-
init_http();
|
|
137442
|
-
init_matchers();
|
|
137443
|
-
init_primitives();
|
|
137444
|
-
init_schemas4();
|
|
137445
|
-
init_security();
|
|
137446
|
-
init_url();
|
|
137447
|
-
init_errors4();
|
|
137448
|
-
init_operations();
|
|
137449
|
-
init_async();
|
|
137450
|
-
});
|
|
137451
|
-
|
|
137452
|
-
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
137453
|
-
var args311, tool$sandboxUploadArchive;
|
|
137454
|
-
var init_sandboxUploadArchive2 = __esm(() => {
|
|
137455
|
-
init_sandboxUploadArchive();
|
|
138683
|
+
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
138684
|
+
var args318, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
138685
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
138686
|
+
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
137456
138687
|
init_operations();
|
|
137457
138688
|
init_tools();
|
|
137458
|
-
|
|
137459
|
-
request:
|
|
138689
|
+
args318 = {
|
|
138690
|
+
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
137460
138691
|
};
|
|
137461
|
-
tool$
|
|
137462
|
-
name: "sandbox-
|
|
137463
|
-
description: `
|
|
137464
|
-
|
|
137465
|
-
|
|
137466
|
-
|
|
137467
|
-
tool: async (client, args312, ctx) => {
|
|
137468
|
-
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();
|
|
137469
138698
|
if (!result.ok) {
|
|
137470
138699
|
return {
|
|
137471
138700
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137478,33 +138707,19 @@ Upload a zip archive and extract its files into the session workspace.`,
|
|
|
137478
138707
|
};
|
|
137479
138708
|
});
|
|
137480
138709
|
|
|
137481
|
-
// src/funcs/
|
|
137482
|
-
function
|
|
137483
|
-
return new APIPromise($
|
|
138710
|
+
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
138711
|
+
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
138712
|
+
return new APIPromise($do328(client, request, options));
|
|
137484
138713
|
}
|
|
137485
|
-
async function $
|
|
137486
|
-
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");
|
|
137487
138716
|
if (!parsed.ok) {
|
|
137488
138717
|
return [parsed, { status: "invalid" }];
|
|
137489
138718
|
}
|
|
137490
138719
|
const payload = parsed.value;
|
|
137491
|
-
const body =
|
|
137492
|
-
const
|
|
137493
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
137494
|
-
explode: false,
|
|
137495
|
-
charEncoding: "percent"
|
|
137496
|
-
}),
|
|
137497
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137498
|
-
explode: false,
|
|
137499
|
-
charEncoding: "percent"
|
|
137500
|
-
})
|
|
137501
|
-
};
|
|
137502
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
137503
|
-
const query = encodeFormQuery({
|
|
137504
|
-
session_token: payload.session_token
|
|
137505
|
-
});
|
|
138720
|
+
const body = null;
|
|
138721
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/refresh")();
|
|
137506
138722
|
const headers = new Headers(compactMap({
|
|
137507
|
-
"Content-Type": "application/octet-stream",
|
|
137508
138723
|
Accept: "application/json",
|
|
137509
138724
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
137510
138725
|
}));
|
|
@@ -137514,7 +138729,7 @@ async function $do321(client, request, options) {
|
|
|
137514
138729
|
const context = {
|
|
137515
138730
|
options: client._options,
|
|
137516
138731
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137517
|
-
operationID: "
|
|
138732
|
+
operationID: "refresh_repositories_api_v1_sandbox_github_repositories_refresh_post",
|
|
137518
138733
|
oAuth2Scopes: null,
|
|
137519
138734
|
resolvedSecurity: requestSecurity,
|
|
137520
138735
|
securitySource: client._options.bearerAuth,
|
|
@@ -137532,11 +138747,10 @@ async function $do321(client, request, options) {
|
|
|
137532
138747
|
};
|
|
137533
138748
|
const requestRes = client._createRequest(context, {
|
|
137534
138749
|
security: requestSecurity,
|
|
137535
|
-
method: "
|
|
138750
|
+
method: "POST",
|
|
137536
138751
|
baseURL: options?.serverURL,
|
|
137537
138752
|
path,
|
|
137538
138753
|
headers,
|
|
137539
|
-
query,
|
|
137540
138754
|
body,
|
|
137541
138755
|
userAgent: client._options.userAgent,
|
|
137542
138756
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -137555,17 +138769,13 @@ async function $do321(client, request, options) {
|
|
|
137555
138769
|
return [doResult, { status: "request-error", request: req }];
|
|
137556
138770
|
}
|
|
137557
138771
|
const response = doResult.value;
|
|
137558
|
-
const
|
|
137559
|
-
HttpMeta: { Response: response, Request: req }
|
|
137560
|
-
};
|
|
137561
|
-
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);
|
|
137562
138773
|
if (!result.ok) {
|
|
137563
138774
|
return [result, { status: "complete", request: req, response }];
|
|
137564
138775
|
}
|
|
137565
138776
|
return [result, { status: "complete", request: req, response }];
|
|
137566
138777
|
}
|
|
137567
|
-
var
|
|
137568
|
-
init_esm();
|
|
138778
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = __esm(() => {
|
|
137569
138779
|
init_encodings();
|
|
137570
138780
|
init_http();
|
|
137571
138781
|
init_matchers();
|
|
@@ -137573,28 +138783,26 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
137573
138783
|
init_schemas4();
|
|
137574
138784
|
init_security();
|
|
137575
138785
|
init_url();
|
|
137576
|
-
|
|
138786
|
+
init_components();
|
|
137577
138787
|
init_operations();
|
|
137578
138788
|
init_async();
|
|
137579
138789
|
});
|
|
137580
138790
|
|
|
137581
|
-
// src/mcp-server/tools/
|
|
137582
|
-
var
|
|
137583
|
-
var
|
|
137584
|
-
|
|
138791
|
+
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
138792
|
+
var args319, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
138793
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
138794
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
137585
138795
|
init_operations();
|
|
137586
138796
|
init_tools();
|
|
137587
|
-
|
|
137588
|
-
request:
|
|
137589
|
-
};
|
|
137590
|
-
tool$
|
|
137591
|
-
name: "sandbox-
|
|
137592
|
-
description: `
|
|
137593
|
-
|
|
137594
|
-
|
|
137595
|
-
|
|
137596
|
-
tool: async (client, args313, ctx) => {
|
|
137597
|
-
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();
|
|
137598
138806
|
if (!result.ok) {
|
|
137599
138807
|
return {
|
|
137600
138808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137607,26 +138815,20 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
137607
138815
|
};
|
|
137608
138816
|
});
|
|
137609
138817
|
|
|
137610
|
-
// src/funcs/
|
|
137611
|
-
function
|
|
137612
|
-
return new APIPromise($
|
|
138818
|
+
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
138819
|
+
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
138820
|
+
return new APIPromise($do329(client, request, options));
|
|
137613
138821
|
}
|
|
137614
|
-
async function $
|
|
137615
|
-
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");
|
|
137616
138824
|
if (!parsed.ok) {
|
|
137617
138825
|
return [parsed, { status: "invalid" }];
|
|
137618
138826
|
}
|
|
137619
138827
|
const payload = parsed.value;
|
|
137620
|
-
const body = encodeJSON("body", payload.
|
|
138828
|
+
const body = encodeJSON("body", payload.ResolveReferenceRequest, {
|
|
137621
138829
|
explode: true
|
|
137622
138830
|
});
|
|
137623
|
-
const
|
|
137624
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
137625
|
-
explode: false,
|
|
137626
|
-
charEncoding: "percent"
|
|
137627
|
-
})
|
|
137628
|
-
};
|
|
137629
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
138831
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/resolve")();
|
|
137630
138832
|
const headers = new Headers(compactMap({
|
|
137631
138833
|
"Content-Type": "application/json",
|
|
137632
138834
|
Accept: "application/json",
|
|
@@ -137638,7 +138840,7 @@ async function $do322(client, request, options) {
|
|
|
137638
138840
|
const context = {
|
|
137639
138841
|
options: client._options,
|
|
137640
138842
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
137641
|
-
operationID: "
|
|
138843
|
+
operationID: "resolve_reference_api_v1_sandbox_github_repositories_resolve_post",
|
|
137642
138844
|
oAuth2Scopes: null,
|
|
137643
138845
|
resolvedSecurity: requestSecurity,
|
|
137644
138846
|
securitySource: client._options.bearerAuth,
|
|
@@ -137681,13 +138883,13 @@ async function $do322(client, request, options) {
|
|
|
137681
138883
|
const responseFields = {
|
|
137682
138884
|
HttpMeta: { Response: response, Request: req }
|
|
137683
138885
|
};
|
|
137684
|
-
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 });
|
|
137685
138887
|
if (!result.ok) {
|
|
137686
138888
|
return [result, { status: "complete", request: req, response }];
|
|
137687
138889
|
}
|
|
137688
138890
|
return [result, { status: "complete", request: req, response }];
|
|
137689
138891
|
}
|
|
137690
|
-
var
|
|
138892
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = __esm(() => {
|
|
137691
138893
|
init_encodings();
|
|
137692
138894
|
init_http();
|
|
137693
138895
|
init_matchers();
|
|
@@ -137701,21 +138903,21 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
137701
138903
|
init_async();
|
|
137702
138904
|
});
|
|
137703
138905
|
|
|
137704
|
-
// src/mcp-server/tools/
|
|
137705
|
-
var
|
|
137706
|
-
var
|
|
137707
|
-
|
|
138906
|
+
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
138907
|
+
var args320, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
138908
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
138909
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
137708
138910
|
init_operations();
|
|
137709
138911
|
init_tools();
|
|
137710
|
-
|
|
137711
|
-
request:
|
|
137712
|
-
};
|
|
137713
|
-
tool$
|
|
137714
|
-
name: "schema-3-other-
|
|
137715
|
-
description: `
|
|
137716
|
-
args:
|
|
137717
|
-
tool: async (client,
|
|
137718
|
-
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();
|
|
137719
138921
|
if (!result.ok) {
|
|
137720
138922
|
return {
|
|
137721
138923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137730,9 +138932,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
137730
138932
|
|
|
137731
138933
|
// src/funcs/usageCosts.ts
|
|
137732
138934
|
function usageCosts(client, request, options) {
|
|
137733
|
-
return new APIPromise($
|
|
138935
|
+
return new APIPromise($do330(client, request, options));
|
|
137734
138936
|
}
|
|
137735
|
-
async function $
|
|
138937
|
+
async function $do330(client, request, options) {
|
|
137736
138938
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137737
138939
|
if (!parsed.ok) {
|
|
137738
138940
|
return [parsed, { status: "invalid" }];
|
|
@@ -137815,12 +139017,12 @@ var init_usageCosts = __esm(() => {
|
|
|
137815
139017
|
});
|
|
137816
139018
|
|
|
137817
139019
|
// src/mcp-server/tools/usageCosts.ts
|
|
137818
|
-
var
|
|
139020
|
+
var args321, tool$usageCosts;
|
|
137819
139021
|
var init_usageCosts2 = __esm(() => {
|
|
137820
139022
|
init_usageCosts();
|
|
137821
139023
|
init_operations();
|
|
137822
139024
|
init_tools();
|
|
137823
|
-
|
|
139025
|
+
args321 = {
|
|
137824
139026
|
request: GetCostsRequest$inboundSchema
|
|
137825
139027
|
};
|
|
137826
139028
|
tool$usageCosts = {
|
|
@@ -137828,9 +139030,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
137828
139030
|
description: `Aggregate cost by dimension
|
|
137829
139031
|
|
|
137830
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.`,
|
|
137831
|
-
args:
|
|
137832
|
-
tool: async (client,
|
|
137833
|
-
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();
|
|
137834
139036
|
if (!result.ok) {
|
|
137835
139037
|
return {
|
|
137836
139038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137845,9 +139047,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
137845
139047
|
|
|
137846
139048
|
// src/funcs/usageSandbox.ts
|
|
137847
139049
|
function usageSandbox(client, request, options) {
|
|
137848
|
-
return new APIPromise($
|
|
139050
|
+
return new APIPromise($do331(client, request, options));
|
|
137849
139051
|
}
|
|
137850
|
-
async function $
|
|
139052
|
+
async function $do331(client, request, options) {
|
|
137851
139053
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137852
139054
|
if (!parsed.ok) {
|
|
137853
139055
|
return [parsed, { status: "invalid" }];
|
|
@@ -137938,12 +139140,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
137938
139140
|
});
|
|
137939
139141
|
|
|
137940
139142
|
// src/mcp-server/tools/usageSandbox.ts
|
|
137941
|
-
var
|
|
139143
|
+
var args322, tool$usageSandbox;
|
|
137942
139144
|
var init_usageSandbox2 = __esm(() => {
|
|
137943
139145
|
init_usageSandbox();
|
|
137944
139146
|
init_operations();
|
|
137945
139147
|
init_tools();
|
|
137946
|
-
|
|
139148
|
+
args322 = {
|
|
137947
139149
|
request: GetSandboxUsageRequest$inboundSchema
|
|
137948
139150
|
};
|
|
137949
139151
|
tool$usageSandbox = {
|
|
@@ -137951,9 +139153,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
137951
139153
|
description: `Get Sandbox Usage
|
|
137952
139154
|
|
|
137953
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\`).`,
|
|
137954
|
-
args:
|
|
137955
|
-
tool: async (client,
|
|
137956
|
-
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();
|
|
137957
139159
|
if (!result.ok) {
|
|
137958
139160
|
return {
|
|
137959
139161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137970,7 +139172,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
137970
139172
|
function createMCPServer(deps) {
|
|
137971
139173
|
const server = new McpServer({
|
|
137972
139174
|
name: "SDK",
|
|
137973
|
-
version: "0.53.
|
|
139175
|
+
version: "0.53.30"
|
|
137974
139176
|
});
|
|
137975
139177
|
const client = new SDKCore({
|
|
137976
139178
|
bearerAuth: deps.bearerAuth,
|
|
@@ -137989,6 +139191,13 @@ function createMCPServer(deps) {
|
|
|
137989
139191
|
tool(tool$guardrailsDeleteGuardrails);
|
|
137990
139192
|
tool(tool$guardrailsListGuardrailsPolicies);
|
|
137991
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);
|
|
137992
139201
|
tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
|
|
137993
139202
|
tool(tool$sandboxCreate);
|
|
137994
139203
|
tool(tool$sandboxList);
|
|
@@ -138636,7 +139845,14 @@ var init_server2 = __esm(() => {
|
|
|
138636
139845
|
init_sandboxTerminate2();
|
|
138637
139846
|
init_sandboxUploadArchive2();
|
|
138638
139847
|
init_sandboxUploadFile2();
|
|
139848
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
139849
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
139850
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
139851
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
139852
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
138639
139853
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
139854
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
139855
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
138640
139856
|
init_usageCosts2();
|
|
138641
139857
|
init_usageSandbox2();
|
|
138642
139858
|
});
|
|
@@ -139816,7 +141032,7 @@ var routes = rn({
|
|
|
139816
141032
|
var app = Ve(routes, {
|
|
139817
141033
|
name: "mcp",
|
|
139818
141034
|
versionInfo: {
|
|
139819
|
-
currentVersion: "0.53.
|
|
141035
|
+
currentVersion: "0.53.30"
|
|
139820
141036
|
}
|
|
139821
141037
|
});
|
|
139822
141038
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -139824,5 +141040,5 @@ export {
|
|
|
139824
141040
|
app
|
|
139825
141041
|
};
|
|
139826
141042
|
|
|
139827
|
-
//# debugId=
|
|
141043
|
+
//# debugId=9E12A5F4A668EBC064756E2164756E21
|
|
139828
141044
|
//# sourceMappingURL=mcp-server.js.map
|