@meetkai/mka1 0.54.10 → 0.54.12
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 +304 -276
- package/bin/mcp-server.js +2431 -641
- package/bin/mcp-server.js.map +53 -13
- package/dist/commonjs/funcs/authClusterAcceptInvite.d.ts +1 -1
- package/dist/commonjs/funcs/authClusterAcceptInvite.d.ts.map +1 -1
- package/dist/commonjs/funcs/authClusterAcceptInvite.js +2 -1
- package/dist/commonjs/funcs/authClusterAcceptInvite.js.map +1 -1
- package/dist/commonjs/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +134 -0
- package/dist/commonjs/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +17 -0
- package/dist/commonjs/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +137 -0
- package/dist/commonjs/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +17 -0
- package/dist/commonjs/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +144 -0
- package/dist/commonjs/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +137 -0
- package/dist/commonjs/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +17 -0
- package/dist/commonjs/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +127 -0
- package/dist/commonjs/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +137 -0
- package/dist/commonjs/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +144 -0
- package/dist/commonjs/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +137 -0
- package/dist/commonjs/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +18 -0
- package/dist/commonjs/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +140 -0
- package/dist/commonjs/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +19 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +62 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +62 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +62 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/commonjs/models/components/clusterinviteseedbudget.d.ts +35 -0
- package/dist/commonjs/models/components/clusterinviteseedbudget.d.ts.map +1 -0
- package/dist/commonjs/models/components/clusterinviteseedbudget.js +71 -0
- package/dist/commonjs/models/components/clusterinviteseedbudget.js.map +1 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.d.ts +17 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.js +67 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.js.map +1 -0
- package/dist/commonjs/models/components/environmentlist.d.ts +20 -0
- package/dist/commonjs/models/components/environmentlist.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentlist.js +70 -0
- package/dist/commonjs/models/components/environmentlist.js.map +1 -0
- package/dist/commonjs/models/components/environmentmodel.d.ts +36 -0
- package/dist/commonjs/models/components/environmentmodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentmodel.js +92 -0
- package/dist/commonjs/models/components/environmentmodel.js.map +1 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.d.ts +19 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.js +69 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.js.map +1 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.d.ts +34 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.js +84 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +13 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +13 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/putsessionrepositoryrequest.d.ts +19 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.js +69 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.js.map +1 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.d.ts +28 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.js +76 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.js.map +1 -0
- package/dist/commonjs/models/components/sessionrepositoryfailure.d.ts +21 -0
- package/dist/commonjs/models/components/sessionrepositoryfailure.d.ts.map +1 -0
- package/dist/commonjs/models/components/sessionrepositoryfailure.js +62 -0
- package/dist/commonjs/models/components/sessionrepositoryfailure.js.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorymanifest.d.ts +20 -0
- package/dist/commonjs/models/components/sessionrepositorymanifest.d.ts.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorymanifest.js +70 -0
- package/dist/commonjs/models/components/sessionrepositorymanifest.js.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorymodel.d.ts +59 -0
- package/dist/commonjs/models/components/sessionrepositorymodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorymodel.js +127 -0
- package/dist/commonjs/models/components/sessionrepositorymodel.js.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorypullrequest.d.ts +29 -0
- package/dist/commonjs/models/components/sessionrepositorypullrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorypullrequest.js +83 -0
- package/dist/commonjs/models/components/sessionrepositorypullrequest.js.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorypush.d.ts +21 -0
- package/dist/commonjs/models/components/sessionrepositorypush.d.ts.map +1 -0
- package/dist/commonjs/models/components/sessionrepositorypush.js +73 -0
- package/dist/commonjs/models/components/sessionrepositorypush.js.map +1 -0
- package/dist/commonjs/models/errors/acceptclusterinvite.d.ts +26 -0
- package/dist/commonjs/models/errors/acceptclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/errors/acceptclusterinvite.js +33 -1
- package/dist/commonjs/models/errors/acceptclusterinvite.js.map +1 -1
- package/dist/commonjs/models/operations/createclusterinvite.d.ts +10 -0
- package/dist/commonjs/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createclusterinvite.js +4 -0
- package/dist/commonjs/models/operations/createclusterinvite.js.map +1 -1
- package/dist/commonjs/models/operations/createenvironmentapiv1sandboxenvironmentspost.d.ts +23 -0
- package/dist/commonjs/models/operations/createenvironmentapiv1sandboxenvironmentspost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createenvironmentapiv1sandboxenvironmentspost.js +72 -0
- package/dist/commonjs/models/operations/createenvironmentapiv1sandboxenvironmentspost.js.map +1 -0
- package/dist/commonjs/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.d.ts +22 -0
- package/dist/commonjs/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.js +73 -0
- package/dist/commonjs/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.js.map +1 -0
- package/dist/commonjs/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.d.ts +27 -0
- package/dist/commonjs/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.js +82 -0
- package/dist/commonjs/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.js.map +1 -0
- package/dist/commonjs/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.d.ts +22 -0
- package/dist/commonjs/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.js +73 -0
- package/dist/commonjs/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.d.ts +5 -0
- package/dist/commonjs/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.js +2 -0
- package/dist/commonjs/models/operations/listclusterinvites.js.map +1 -1
- package/dist/commonjs/models/operations/listenvironmentsapiv1sandboxenvironmentsget.d.ts +20 -0
- package/dist/commonjs/models/operations/listenvironmentsapiv1sandboxenvironmentsget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listenvironmentsapiv1sandboxenvironmentsget.js +67 -0
- package/dist/commonjs/models/operations/listenvironmentsapiv1sandboxenvironmentsget.js.map +1 -0
- package/dist/commonjs/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.d.ts +22 -0
- package/dist/commonjs/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.js +73 -0
- package/dist/commonjs/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.js.map +1 -0
- package/dist/commonjs/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.d.ts +27 -0
- package/dist/commonjs/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.d.ts.map +1 -0
- package/dist/commonjs/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.js +82 -0
- package/dist/commonjs/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.js.map +1 -0
- package/dist/commonjs/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.d.ts +22 -0
- package/dist/commonjs/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.js +73 -0
- package/dist/commonjs/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.js.map +1 -0
- package/dist/commonjs/models/operations/updateclusterinvite.d.ts +10 -0
- package/dist/commonjs/models/operations/updateclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateclusterinvite.js +4 -0
- package/dist/commonjs/models/operations/updateclusterinvite.js.map +1 -1
- package/dist/commonjs/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.d.ts +25 -0
- package/dist/commonjs/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.js +78 -0
- package/dist/commonjs/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.js.map +1 -0
- package/dist/commonjs/react-query/authClusterAcceptInvite.d.ts +1 -1
- package/dist/commonjs/react-query/authClusterAcceptInvite.d.ts.map +1 -1
- package/dist/commonjs/react-query/authClusterAcceptInvite.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +9 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +9 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +48 -0
- package/dist/commonjs/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +48 -0
- package/dist/commonjs/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.js +40 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +33 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.js +41 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +28 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.js +40 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +33 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +48 -0
- package/dist/commonjs/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +48 -0
- package/dist/commonjs/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/commonjs/sdk/schema3other.d.ts +36 -0
- package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
- package/dist/commonjs/sdk/schema3other.js +63 -0
- package/dist/commonjs/sdk/schema3other.js.map +1 -1
- package/dist/esm/funcs/authClusterAcceptInvite.d.ts +1 -1
- package/dist/esm/funcs/authClusterAcceptInvite.d.ts.map +1 -1
- package/dist/esm/funcs/authClusterAcceptInvite.js +2 -1
- package/dist/esm/funcs/authClusterAcceptInvite.js.map +1 -1
- package/dist/esm/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +98 -0
- package/dist/esm/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +17 -0
- package/dist/esm/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +101 -0
- package/dist/esm/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/esm/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +17 -0
- package/dist/esm/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +108 -0
- package/dist/esm/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/esm/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +101 -0
- package/dist/esm/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +17 -0
- package/dist/esm/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +91 -0
- package/dist/esm/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +101 -0
- package/dist/esm/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +108 -0
- package/dist/esm/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/esm/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +101 -0
- package/dist/esm/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +18 -0
- package/dist/esm/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +104 -0
- package/dist/esm/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +19 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +26 -0
- package/dist/esm/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +26 -0
- package/dist/esm/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +26 -0
- package/dist/esm/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/esm/models/components/clusterinviteseedbudget.d.ts +35 -0
- package/dist/esm/models/components/clusterinviteseedbudget.d.ts.map +1 -0
- package/dist/esm/models/components/clusterinviteseedbudget.js +33 -0
- package/dist/esm/models/components/clusterinviteseedbudget.js.map +1 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.d.ts +17 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.d.ts.map +1 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.js +29 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.js.map +1 -0
- package/dist/esm/models/components/environmentlist.d.ts +20 -0
- package/dist/esm/models/components/environmentlist.d.ts.map +1 -0
- package/dist/esm/models/components/environmentlist.js +32 -0
- package/dist/esm/models/components/environmentlist.js.map +1 -0
- package/dist/esm/models/components/environmentmodel.d.ts +36 -0
- package/dist/esm/models/components/environmentmodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentmodel.js +54 -0
- package/dist/esm/models/components/environmentmodel.js.map +1 -0
- package/dist/esm/models/components/environmentrepositorymodel.d.ts +19 -0
- package/dist/esm/models/components/environmentrepositorymodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentrepositorymodel.js +31 -0
- package/dist/esm/models/components/environmentrepositorymodel.js.map +1 -0
- package/dist/esm/models/components/environmentsetuprunmodel.d.ts +34 -0
- package/dist/esm/models/components/environmentsetuprunmodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentsetuprunmodel.js +46 -0
- package/dist/esm/models/components/environmentsetuprunmodel.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +13 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +13 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/putsessionrepositoryrequest.d.ts +19 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.d.ts.map +1 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.js +31 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.js.map +1 -0
- package/dist/esm/models/components/saveenvironmentrequest.d.ts +28 -0
- package/dist/esm/models/components/saveenvironmentrequest.d.ts.map +1 -0
- package/dist/esm/models/components/saveenvironmentrequest.js +38 -0
- package/dist/esm/models/components/saveenvironmentrequest.js.map +1 -0
- package/dist/esm/models/components/sessionrepositoryfailure.d.ts +21 -0
- package/dist/esm/models/components/sessionrepositoryfailure.d.ts.map +1 -0
- package/dist/esm/models/components/sessionrepositoryfailure.js +24 -0
- package/dist/esm/models/components/sessionrepositoryfailure.js.map +1 -0
- package/dist/esm/models/components/sessionrepositorymanifest.d.ts +20 -0
- package/dist/esm/models/components/sessionrepositorymanifest.d.ts.map +1 -0
- package/dist/esm/models/components/sessionrepositorymanifest.js +32 -0
- package/dist/esm/models/components/sessionrepositorymanifest.js.map +1 -0
- package/dist/esm/models/components/sessionrepositorymodel.d.ts +59 -0
- package/dist/esm/models/components/sessionrepositorymodel.d.ts.map +1 -0
- package/dist/esm/models/components/sessionrepositorymodel.js +89 -0
- package/dist/esm/models/components/sessionrepositorymodel.js.map +1 -0
- package/dist/esm/models/components/sessionrepositorypullrequest.d.ts +29 -0
- package/dist/esm/models/components/sessionrepositorypullrequest.d.ts.map +1 -0
- package/dist/esm/models/components/sessionrepositorypullrequest.js +45 -0
- package/dist/esm/models/components/sessionrepositorypullrequest.js.map +1 -0
- package/dist/esm/models/components/sessionrepositorypush.d.ts +21 -0
- package/dist/esm/models/components/sessionrepositorypush.d.ts.map +1 -0
- package/dist/esm/models/components/sessionrepositorypush.js +35 -0
- package/dist/esm/models/components/sessionrepositorypush.js.map +1 -0
- package/dist/esm/models/errors/acceptclusterinvite.d.ts +26 -0
- package/dist/esm/models/errors/acceptclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/errors/acceptclusterinvite.js +31 -0
- package/dist/esm/models/errors/acceptclusterinvite.js.map +1 -1
- package/dist/esm/models/operations/createclusterinvite.d.ts +10 -0
- package/dist/esm/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/operations/createclusterinvite.js +4 -0
- package/dist/esm/models/operations/createclusterinvite.js.map +1 -1
- package/dist/esm/models/operations/createenvironmentapiv1sandboxenvironmentspost.d.ts +23 -0
- package/dist/esm/models/operations/createenvironmentapiv1sandboxenvironmentspost.d.ts.map +1 -0
- package/dist/esm/models/operations/createenvironmentapiv1sandboxenvironmentspost.js +34 -0
- package/dist/esm/models/operations/createenvironmentapiv1sandboxenvironmentspost.js.map +1 -0
- package/dist/esm/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.d.ts +22 -0
- package/dist/esm/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.d.ts.map +1 -0
- package/dist/esm/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.js +35 -0
- package/dist/esm/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.js.map +1 -0
- package/dist/esm/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.d.ts +27 -0
- package/dist/esm/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.d.ts.map +1 -0
- package/dist/esm/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.js +44 -0
- package/dist/esm/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.js.map +1 -0
- package/dist/esm/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.d.ts +22 -0
- package/dist/esm/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.d.ts.map +1 -0
- package/dist/esm/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.js +35 -0
- package/dist/esm/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.d.ts +5 -0
- package/dist/esm/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.js +2 -0
- package/dist/esm/models/operations/listclusterinvites.js.map +1 -1
- package/dist/esm/models/operations/listenvironmentsapiv1sandboxenvironmentsget.d.ts +20 -0
- package/dist/esm/models/operations/listenvironmentsapiv1sandboxenvironmentsget.d.ts.map +1 -0
- package/dist/esm/models/operations/listenvironmentsapiv1sandboxenvironmentsget.js +29 -0
- package/dist/esm/models/operations/listenvironmentsapiv1sandboxenvironmentsget.js.map +1 -0
- package/dist/esm/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.d.ts +22 -0
- package/dist/esm/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.d.ts.map +1 -0
- package/dist/esm/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.js +35 -0
- package/dist/esm/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.js.map +1 -0
- package/dist/esm/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.d.ts +27 -0
- package/dist/esm/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.d.ts.map +1 -0
- package/dist/esm/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.js +44 -0
- package/dist/esm/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.js.map +1 -0
- package/dist/esm/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.d.ts +22 -0
- package/dist/esm/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.d.ts.map +1 -0
- package/dist/esm/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.js +35 -0
- package/dist/esm/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.js.map +1 -0
- package/dist/esm/models/operations/updateclusterinvite.d.ts +10 -0
- package/dist/esm/models/operations/updateclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/operations/updateclusterinvite.js +4 -0
- package/dist/esm/models/operations/updateclusterinvite.js.map +1 -1
- package/dist/esm/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.d.ts +25 -0
- package/dist/esm/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.d.ts.map +1 -0
- package/dist/esm/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.js +40 -0
- package/dist/esm/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.js.map +1 -0
- package/dist/esm/react-query/authClusterAcceptInvite.d.ts +1 -1
- package/dist/esm/react-query/authClusterAcceptInvite.d.ts.map +1 -1
- package/dist/esm/react-query/authClusterAcceptInvite.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +9 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +9 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js +43 -0
- package/dist/esm/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js +43 -0
- package/dist/esm/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.js.map +1 -0
- package/dist/esm/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js +43 -0
- package/dist/esm/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.js +35 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts +33 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js +53 -0
- package/dist/esm/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.js +36 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts +28 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js +53 -0
- package/dist/esm/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.js +35 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts +33 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js +53 -0
- package/dist/esm/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js +43 -0
- package/dist/esm/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.js.map +1 -0
- package/dist/esm/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js +43 -0
- package/dist/esm/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js +43 -0
- package/dist/esm/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.js.map +1 -0
- package/dist/esm/sdk/schema3other.d.ts +36 -0
- package/dist/esm/sdk/schema3other.d.ts.map +1 -1
- package/dist/esm/sdk/schema3other.js +63 -0
- package/dist/esm/sdk/schema3other.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authClusterAcceptInvite.ts +8 -0
- package/src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts +191 -0
- package/src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts +199 -0
- package/src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts +206 -0
- package/src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts +199 -0
- package/src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts +179 -0
- package/src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts +199 -0
- package/src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts +206 -0
- package/src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts +199 -0
- package/src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts +202 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +37 -1
- package/src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts +39 -0
- package/src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts +38 -0
- package/src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts +40 -0
- package/src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts +38 -0
- package/src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts +42 -0
- package/src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts +40 -0
- package/src/models/components/clusterinviteseedbudget.ts +81 -0
- package/src/models/components/dismisssessionrepositoryrequest.ts +62 -0
- package/src/models/components/environmentlist.ts +68 -0
- package/src/models/components/environmentmodel.ts +104 -0
- package/src/models/components/environmentrepositorymodel.ts +64 -0
- package/src/models/components/environmentsetuprunmodel.ts +93 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/putsessionrepositoryrequest.ts +66 -0
- package/src/models/components/saveenvironmentrequest.ts +80 -0
- package/src/models/components/sessionrepositoryfailure.ts +59 -0
- package/src/models/components/sessionrepositorymanifest.ts +70 -0
- package/src/models/components/sessionrepositorymodel.ts +173 -0
- package/src/models/components/sessionrepositorypullrequest.ts +92 -0
- package/src/models/components/sessionrepositorypush.ts +70 -0
- package/src/models/errors/acceptclusterinvite.ts +65 -0
- package/src/models/operations/createclusterinvite.ts +14 -0
- package/src/models/operations/createenvironmentapiv1sandboxenvironmentspost.ts +81 -0
- package/src/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.ts +82 -0
- package/src/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.ts +98 -0
- package/src/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.ts +79 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/listclusterinvites.ts +7 -0
- package/src/models/operations/listenvironmentsapiv1sandboxenvironmentsget.ts +74 -0
- package/src/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.ts +80 -0
- package/src/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.ts +98 -0
- package/src/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.ts +82 -0
- package/src/models/operations/updateclusterinvite.ts +14 -0
- package/src/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.ts +86 -0
- package/src/react-query/authClusterAcceptInvite.ts +1 -0
- package/src/react-query/index.ts +9 -0
- package/src/react-query/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts +128 -0
- package/src/react-query/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts +128 -0
- package/src/react-query/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts +130 -0
- package/src/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.core.ts +94 -0
- package/src/react-query/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts +157 -0
- package/src/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.core.ts +88 -0
- package/src/react-query/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts +148 -0
- package/src/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.core.ts +94 -0
- package/src/react-query/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts +157 -0
- package/src/react-query/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts +131 -0
- package/src/react-query/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts +129 -0
- package/src/react-query/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts +129 -0
- package/src/sdk/schema3other.ts +162 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52917,9 +52917,9 @@ var init_config = __esm(() => {
|
|
|
52917
52917
|
SDK_METADATA = {
|
|
52918
52918
|
language: "typescript",
|
|
52919
52919
|
openapiDocVersion: "1.1.0",
|
|
52920
|
-
sdkVersion: "0.54.
|
|
52920
|
+
sdkVersion: "0.54.12",
|
|
52921
52921
|
genVersion: "2.933.0",
|
|
52922
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
52922
|
+
userAgent: "speakeasy-sdk/typescript 0.54.12 2.933.0 1.1.0 @meetkai/mka1"
|
|
52923
52923
|
};
|
|
52924
52924
|
});
|
|
52925
52925
|
|
|
@@ -57583,6 +57583,29 @@ var init_clustercurrencyresponse = __esm(() => {
|
|
|
57583
57583
|
});
|
|
57584
57584
|
});
|
|
57585
57585
|
|
|
57586
|
+
// src/models/components/clusterinviteseedbudget.ts
|
|
57587
|
+
var ClusterInviteSeedBudgetPeriod, ClusterInviteSeedBudgetPeriod$inboundSchema, ClusterInviteSeedBudgetPeriod$outboundSchema, ClusterInviteSeedBudget$inboundSchema, ClusterInviteSeedBudget$outboundSchema;
|
|
57588
|
+
var init_clusterinviteseedbudget = __esm(() => {
|
|
57589
|
+
init_esm();
|
|
57590
|
+
ClusterInviteSeedBudgetPeriod = {
|
|
57591
|
+
Daily: "daily",
|
|
57592
|
+
Weekly: "weekly",
|
|
57593
|
+
Monthly: "monthly"
|
|
57594
|
+
};
|
|
57595
|
+
ClusterInviteSeedBudgetPeriod$inboundSchema = nativeEnumType(ClusterInviteSeedBudgetPeriod);
|
|
57596
|
+
ClusterInviteSeedBudgetPeriod$outboundSchema = ClusterInviteSeedBudgetPeriod$inboundSchema;
|
|
57597
|
+
ClusterInviteSeedBudget$inboundSchema = objectType({
|
|
57598
|
+
enabled: booleanType(),
|
|
57599
|
+
period: nullableType(ClusterInviteSeedBudgetPeriod$inboundSchema),
|
|
57600
|
+
limit: nullableType(numberType())
|
|
57601
|
+
});
|
|
57602
|
+
ClusterInviteSeedBudget$outboundSchema = objectType({
|
|
57603
|
+
enabled: booleanType(),
|
|
57604
|
+
period: nullableType(ClusterInviteSeedBudgetPeriod$outboundSchema),
|
|
57605
|
+
limit: nullableType(numberType())
|
|
57606
|
+
});
|
|
57607
|
+
});
|
|
57608
|
+
|
|
57586
57609
|
// src/models/components/clusterinviteseedcompute.ts
|
|
57587
57610
|
var ClusterInviteSeedCompute$inboundSchema, ClusterInviteSeedCompute$outboundSchema;
|
|
57588
57611
|
var init_clusterinviteseedcompute = __esm(() => {
|
|
@@ -65855,6 +65878,27 @@ var init_deleteresponseobject = __esm(() => {
|
|
|
65855
65878
|
});
|
|
65856
65879
|
});
|
|
65857
65880
|
|
|
65881
|
+
// src/models/components/dismisssessionrepositoryrequest.ts
|
|
65882
|
+
var DismissSessionRepositoryRequest$inboundSchema, DismissSessionRepositoryRequest$outboundSchema;
|
|
65883
|
+
var init_dismisssessionrepositoryrequest = __esm(() => {
|
|
65884
|
+
init_esm();
|
|
65885
|
+
init_primitives();
|
|
65886
|
+
DismissSessionRepositoryRequest$inboundSchema = objectType({
|
|
65887
|
+
assignment_generation: numberType().int()
|
|
65888
|
+
}).transform((v2) => {
|
|
65889
|
+
return remap(v2, {
|
|
65890
|
+
assignment_generation: "assignmentGeneration"
|
|
65891
|
+
});
|
|
65892
|
+
});
|
|
65893
|
+
DismissSessionRepositoryRequest$outboundSchema = objectType({
|
|
65894
|
+
assignmentGeneration: numberType().int()
|
|
65895
|
+
}).transform((v2) => {
|
|
65896
|
+
return remap(v2, {
|
|
65897
|
+
assignmentGeneration: "assignment_generation"
|
|
65898
|
+
});
|
|
65899
|
+
});
|
|
65900
|
+
});
|
|
65901
|
+
|
|
65858
65902
|
// src/models/components/effectivepricerow.ts
|
|
65859
65903
|
var EffectivePriceRowSource, EffectivePriceRowRates$inboundSchema, EffectivePriceRowRates$outboundSchema, EffectivePriceRowSource$inboundSchema, EffectivePriceRowSource$outboundSchema, EffectivePriceRow$inboundSchema, EffectivePriceRow$outboundSchema;
|
|
65860
65904
|
var init_effectivepricerow = __esm(() => {
|
|
@@ -66097,6 +66141,135 @@ var init_embeddingsresponse = __esm(() => {
|
|
|
66097
66141
|
});
|
|
66098
66142
|
});
|
|
66099
66143
|
|
|
66144
|
+
// src/models/components/environmentrepositorymodel.ts
|
|
66145
|
+
var EnvironmentRepositoryModel$inboundSchema, EnvironmentRepositoryModel$outboundSchema;
|
|
66146
|
+
var init_environmentrepositorymodel = __esm(() => {
|
|
66147
|
+
init_esm();
|
|
66148
|
+
init_primitives();
|
|
66149
|
+
EnvironmentRepositoryModel$inboundSchema = objectType({
|
|
66150
|
+
repository_id: numberType().int(),
|
|
66151
|
+
ref: nullableType(stringType()).optional()
|
|
66152
|
+
}).transform((v2) => {
|
|
66153
|
+
return remap(v2, {
|
|
66154
|
+
repository_id: "repositoryId"
|
|
66155
|
+
});
|
|
66156
|
+
});
|
|
66157
|
+
EnvironmentRepositoryModel$outboundSchema = objectType({
|
|
66158
|
+
repositoryId: numberType().int(),
|
|
66159
|
+
ref: nullableType(stringType()).optional()
|
|
66160
|
+
}).transform((v2) => {
|
|
66161
|
+
return remap(v2, {
|
|
66162
|
+
repositoryId: "repository_id"
|
|
66163
|
+
});
|
|
66164
|
+
});
|
|
66165
|
+
});
|
|
66166
|
+
|
|
66167
|
+
// src/models/components/environmentmodel.ts
|
|
66168
|
+
var EnvironmentModel$inboundSchema, EnvironmentModel$outboundSchema;
|
|
66169
|
+
var init_environmentmodel = __esm(() => {
|
|
66170
|
+
init_esm();
|
|
66171
|
+
init_primitives();
|
|
66172
|
+
init_environmentrepositorymodel();
|
|
66173
|
+
EnvironmentModel$inboundSchema = objectType({
|
|
66174
|
+
environment_id: numberType().int(),
|
|
66175
|
+
name: stringType(),
|
|
66176
|
+
environment_variables: recordType(stringType()),
|
|
66177
|
+
setup_script: nullableType(stringType()).optional(),
|
|
66178
|
+
repositories: arrayType(EnvironmentRepositoryModel$inboundSchema),
|
|
66179
|
+
created_by_user_id: stringType(),
|
|
66180
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
66181
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
66182
|
+
}).transform((v2) => {
|
|
66183
|
+
return remap(v2, {
|
|
66184
|
+
environment_id: "environmentId",
|
|
66185
|
+
environment_variables: "environmentVariables",
|
|
66186
|
+
setup_script: "setupScript",
|
|
66187
|
+
created_by_user_id: "createdByUserId",
|
|
66188
|
+
created_at: "createdAt",
|
|
66189
|
+
updated_at: "updatedAt"
|
|
66190
|
+
});
|
|
66191
|
+
});
|
|
66192
|
+
EnvironmentModel$outboundSchema = objectType({
|
|
66193
|
+
environmentId: numberType().int(),
|
|
66194
|
+
name: stringType(),
|
|
66195
|
+
environmentVariables: recordType(stringType()),
|
|
66196
|
+
setupScript: nullableType(stringType()).optional(),
|
|
66197
|
+
repositories: arrayType(EnvironmentRepositoryModel$outboundSchema),
|
|
66198
|
+
createdByUserId: stringType(),
|
|
66199
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
66200
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
66201
|
+
}).transform((v2) => {
|
|
66202
|
+
return remap(v2, {
|
|
66203
|
+
environmentId: "environment_id",
|
|
66204
|
+
environmentVariables: "environment_variables",
|
|
66205
|
+
setupScript: "setup_script",
|
|
66206
|
+
createdByUserId: "created_by_user_id",
|
|
66207
|
+
createdAt: "created_at",
|
|
66208
|
+
updatedAt: "updated_at"
|
|
66209
|
+
});
|
|
66210
|
+
});
|
|
66211
|
+
});
|
|
66212
|
+
|
|
66213
|
+
// src/models/components/environmentlist.ts
|
|
66214
|
+
var EnvironmentList$inboundSchema, EnvironmentList$outboundSchema;
|
|
66215
|
+
var init_environmentlist = __esm(() => {
|
|
66216
|
+
init_esm();
|
|
66217
|
+
init_primitives();
|
|
66218
|
+
init_environmentmodel();
|
|
66219
|
+
EnvironmentList$inboundSchema = objectType({
|
|
66220
|
+
max_repositories: numberType().int().default(5),
|
|
66221
|
+
environments: arrayType(EnvironmentModel$inboundSchema)
|
|
66222
|
+
}).transform((v2) => {
|
|
66223
|
+
return remap(v2, {
|
|
66224
|
+
max_repositories: "maxRepositories"
|
|
66225
|
+
});
|
|
66226
|
+
});
|
|
66227
|
+
EnvironmentList$outboundSchema = objectType({
|
|
66228
|
+
maxRepositories: numberType().int().default(5),
|
|
66229
|
+
environments: arrayType(EnvironmentModel$outboundSchema)
|
|
66230
|
+
}).transform((v2) => {
|
|
66231
|
+
return remap(v2, {
|
|
66232
|
+
maxRepositories: "max_repositories"
|
|
66233
|
+
});
|
|
66234
|
+
});
|
|
66235
|
+
});
|
|
66236
|
+
|
|
66237
|
+
// src/models/components/environmentsetuprunmodel.ts
|
|
66238
|
+
var EnvironmentSetupRunModelStatus, EnvironmentSetupRunModelStatus$inboundSchema, EnvironmentSetupRunModelStatus$outboundSchema, EnvironmentSetupRunModel$inboundSchema, EnvironmentSetupRunModel$outboundSchema;
|
|
66239
|
+
var init_environmentsetuprunmodel = __esm(() => {
|
|
66240
|
+
init_esm();
|
|
66241
|
+
init_primitives();
|
|
66242
|
+
EnvironmentSetupRunModelStatus = {
|
|
66243
|
+
Succeeded: "succeeded",
|
|
66244
|
+
Failed: "failed",
|
|
66245
|
+
Running: "running"
|
|
66246
|
+
};
|
|
66247
|
+
EnvironmentSetupRunModelStatus$inboundSchema = nativeEnumType(EnvironmentSetupRunModelStatus);
|
|
66248
|
+
EnvironmentSetupRunModelStatus$outboundSchema = EnvironmentSetupRunModelStatus$inboundSchema;
|
|
66249
|
+
EnvironmentSetupRunModel$inboundSchema = objectType({
|
|
66250
|
+
session_id: stringType(),
|
|
66251
|
+
status: EnvironmentSetupRunModelStatus$inboundSchema,
|
|
66252
|
+
exit_code: nullableType(numberType().int()).optional(),
|
|
66253
|
+
detail: nullableType(stringType()).optional()
|
|
66254
|
+
}).transform((v2) => {
|
|
66255
|
+
return remap(v2, {
|
|
66256
|
+
session_id: "sessionId",
|
|
66257
|
+
exit_code: "exitCode"
|
|
66258
|
+
});
|
|
66259
|
+
});
|
|
66260
|
+
EnvironmentSetupRunModel$outboundSchema = objectType({
|
|
66261
|
+
sessionId: stringType(),
|
|
66262
|
+
status: EnvironmentSetupRunModelStatus$outboundSchema,
|
|
66263
|
+
exitCode: nullableType(numberType().int()).optional(),
|
|
66264
|
+
detail: nullableType(stringType()).optional()
|
|
66265
|
+
}).transform((v2) => {
|
|
66266
|
+
return remap(v2, {
|
|
66267
|
+
sessionId: "session_id",
|
|
66268
|
+
exitCode: "exit_code"
|
|
66269
|
+
});
|
|
66270
|
+
});
|
|
66271
|
+
});
|
|
66272
|
+
|
|
66100
66273
|
// src/models/components/error.ts
|
|
66101
66274
|
var ErrorT$inboundSchema, ErrorT$outboundSchema;
|
|
66102
66275
|
var init_error = __esm(() => {
|
|
@@ -72011,6 +72184,29 @@ var init_putorgautomodelrequest = __esm(() => {
|
|
|
72011
72184
|
});
|
|
72012
72185
|
});
|
|
72013
72186
|
|
|
72187
|
+
// src/models/components/putsessionrepositoryrequest.ts
|
|
72188
|
+
var PutSessionRepositoryRequest$inboundSchema, PutSessionRepositoryRequest$outboundSchema;
|
|
72189
|
+
var init_putsessionrepositoryrequest = __esm(() => {
|
|
72190
|
+
init_esm();
|
|
72191
|
+
init_primitives();
|
|
72192
|
+
PutSessionRepositoryRequest$inboundSchema = objectType({
|
|
72193
|
+
assignment_generation: numberType().int(),
|
|
72194
|
+
ref: nullableType(stringType()).optional()
|
|
72195
|
+
}).transform((v2) => {
|
|
72196
|
+
return remap(v2, {
|
|
72197
|
+
assignment_generation: "assignmentGeneration"
|
|
72198
|
+
});
|
|
72199
|
+
});
|
|
72200
|
+
PutSessionRepositoryRequest$outboundSchema = objectType({
|
|
72201
|
+
assignmentGeneration: numberType().int(),
|
|
72202
|
+
ref: nullableType(stringType()).optional()
|
|
72203
|
+
}).transform((v2) => {
|
|
72204
|
+
return remap(v2, {
|
|
72205
|
+
assignmentGeneration: "assignment_generation"
|
|
72206
|
+
});
|
|
72207
|
+
});
|
|
72208
|
+
});
|
|
72209
|
+
|
|
72014
72210
|
// src/models/components/reasoningwithid.ts
|
|
72015
72211
|
var ReasoningWithId$inboundSchema, ReasoningWithId$outboundSchema;
|
|
72016
72212
|
var init_reasoningwithid = __esm(() => {
|
|
@@ -75818,6 +76014,36 @@ var init_sandboxusagepage = __esm(() => {
|
|
|
75818
76014
|
});
|
|
75819
76015
|
});
|
|
75820
76016
|
|
|
76017
|
+
// src/models/components/saveenvironmentrequest.ts
|
|
76018
|
+
var SaveEnvironmentRequest$inboundSchema, SaveEnvironmentRequest$outboundSchema;
|
|
76019
|
+
var init_saveenvironmentrequest = __esm(() => {
|
|
76020
|
+
init_esm();
|
|
76021
|
+
init_primitives();
|
|
76022
|
+
init_environmentrepositorymodel();
|
|
76023
|
+
SaveEnvironmentRequest$inboundSchema = objectType({
|
|
76024
|
+
name: stringType(),
|
|
76025
|
+
environment_variables: recordType(stringType()).optional(),
|
|
76026
|
+
setup_script: nullableType(stringType()).optional(),
|
|
76027
|
+
repositories: arrayType(EnvironmentRepositoryModel$inboundSchema).optional()
|
|
76028
|
+
}).transform((v2) => {
|
|
76029
|
+
return remap(v2, {
|
|
76030
|
+
environment_variables: "environmentVariables",
|
|
76031
|
+
setup_script: "setupScript"
|
|
76032
|
+
});
|
|
76033
|
+
});
|
|
76034
|
+
SaveEnvironmentRequest$outboundSchema = objectType({
|
|
76035
|
+
name: stringType(),
|
|
76036
|
+
environmentVariables: recordType(stringType()).optional(),
|
|
76037
|
+
setupScript: nullableType(stringType()).optional(),
|
|
76038
|
+
repositories: arrayType(EnvironmentRepositoryModel$outboundSchema).optional()
|
|
76039
|
+
}).transform((v2) => {
|
|
76040
|
+
return remap(v2, {
|
|
76041
|
+
environmentVariables: "environment_variables",
|
|
76042
|
+
setupScript: "setup_script"
|
|
76043
|
+
});
|
|
76044
|
+
});
|
|
76045
|
+
});
|
|
76046
|
+
|
|
75821
76047
|
// src/models/components/schemacreateresponse.ts
|
|
75822
76048
|
var SchemaCreateResponseData$inboundSchema, SchemaCreateResponseData$outboundSchema, SchemaCreateResponse$inboundSchema, SchemaCreateResponse$outboundSchema;
|
|
75823
76049
|
var init_schemacreateresponse = __esm(() => {
|
|
@@ -75998,6 +76224,187 @@ var init_security2 = __esm(() => {
|
|
|
75998
76224
|
});
|
|
75999
76225
|
});
|
|
76000
76226
|
|
|
76227
|
+
// src/models/components/sessionrepositoryfailure.ts
|
|
76228
|
+
var SessionRepositoryFailure$inboundSchema, SessionRepositoryFailure$outboundSchema;
|
|
76229
|
+
var init_sessionrepositoryfailure = __esm(() => {
|
|
76230
|
+
init_esm();
|
|
76231
|
+
SessionRepositoryFailure$inboundSchema = objectType({
|
|
76232
|
+
code: stringType(),
|
|
76233
|
+
message: stringType(),
|
|
76234
|
+
retryable: booleanType()
|
|
76235
|
+
});
|
|
76236
|
+
SessionRepositoryFailure$outboundSchema = objectType({
|
|
76237
|
+
code: stringType(),
|
|
76238
|
+
message: stringType(),
|
|
76239
|
+
retryable: booleanType()
|
|
76240
|
+
});
|
|
76241
|
+
});
|
|
76242
|
+
|
|
76243
|
+
// src/models/components/sessionrepositorypullrequest.ts
|
|
76244
|
+
var SessionRepositoryPullRequest$inboundSchema, SessionRepositoryPullRequest$outboundSchema;
|
|
76245
|
+
var init_sessionrepositorypullrequest = __esm(() => {
|
|
76246
|
+
init_esm();
|
|
76247
|
+
init_primitives();
|
|
76248
|
+
SessionRepositoryPullRequest$inboundSchema = objectType({
|
|
76249
|
+
number: numberType().int(),
|
|
76250
|
+
url: nullableType(stringType()).optional(),
|
|
76251
|
+
state: nullableType(stringType()).optional(),
|
|
76252
|
+
draft: nullableType(booleanType()).optional(),
|
|
76253
|
+
head_branch: nullableType(stringType()).optional(),
|
|
76254
|
+
base_branch: nullableType(stringType()).optional(),
|
|
76255
|
+
updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
|
|
76256
|
+
}).transform((v2) => {
|
|
76257
|
+
return remap(v2, {
|
|
76258
|
+
head_branch: "headBranch",
|
|
76259
|
+
base_branch: "baseBranch",
|
|
76260
|
+
updated_at: "updatedAt"
|
|
76261
|
+
});
|
|
76262
|
+
});
|
|
76263
|
+
SessionRepositoryPullRequest$outboundSchema = objectType({
|
|
76264
|
+
number: numberType().int(),
|
|
76265
|
+
url: nullableType(stringType()).optional(),
|
|
76266
|
+
state: nullableType(stringType()).optional(),
|
|
76267
|
+
draft: nullableType(booleanType()).optional(),
|
|
76268
|
+
headBranch: nullableType(stringType()).optional(),
|
|
76269
|
+
baseBranch: nullableType(stringType()).optional(),
|
|
76270
|
+
updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
76271
|
+
}).transform((v2) => {
|
|
76272
|
+
return remap(v2, {
|
|
76273
|
+
headBranch: "head_branch",
|
|
76274
|
+
baseBranch: "base_branch",
|
|
76275
|
+
updatedAt: "updated_at"
|
|
76276
|
+
});
|
|
76277
|
+
});
|
|
76278
|
+
});
|
|
76279
|
+
|
|
76280
|
+
// src/models/components/sessionrepositorypush.ts
|
|
76281
|
+
var SessionRepositoryPush$inboundSchema, SessionRepositoryPush$outboundSchema;
|
|
76282
|
+
var init_sessionrepositorypush = __esm(() => {
|
|
76283
|
+
init_esm();
|
|
76284
|
+
init_primitives();
|
|
76285
|
+
SessionRepositoryPush$inboundSchema = objectType({
|
|
76286
|
+
branch: stringType(),
|
|
76287
|
+
head_sha: stringType(),
|
|
76288
|
+
pushed_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
76289
|
+
}).transform((v2) => {
|
|
76290
|
+
return remap(v2, {
|
|
76291
|
+
head_sha: "headSha",
|
|
76292
|
+
pushed_at: "pushedAt"
|
|
76293
|
+
});
|
|
76294
|
+
});
|
|
76295
|
+
SessionRepositoryPush$outboundSchema = objectType({
|
|
76296
|
+
branch: stringType(),
|
|
76297
|
+
headSha: stringType(),
|
|
76298
|
+
pushedAt: dateType().transform((v2) => v2.toISOString())
|
|
76299
|
+
}).transform((v2) => {
|
|
76300
|
+
return remap(v2, {
|
|
76301
|
+
headSha: "head_sha",
|
|
76302
|
+
pushedAt: "pushed_at"
|
|
76303
|
+
});
|
|
76304
|
+
});
|
|
76305
|
+
});
|
|
76306
|
+
|
|
76307
|
+
// src/models/components/sessionrepositorymodel.ts
|
|
76308
|
+
var SessionRepositoryModelStatus, SessionRepositoryModelStatus$inboundSchema, SessionRepositoryModelStatus$outboundSchema, SessionRepositoryModel$inboundSchema, SessionRepositoryModel$outboundSchema;
|
|
76309
|
+
var init_sessionrepositorymodel = __esm(() => {
|
|
76310
|
+
init_esm();
|
|
76311
|
+
init_primitives();
|
|
76312
|
+
init_sessionrepositoryfailure();
|
|
76313
|
+
init_sessionrepositorypullrequest();
|
|
76314
|
+
init_sessionrepositorypush();
|
|
76315
|
+
SessionRepositoryModelStatus = {
|
|
76316
|
+
Cloning: "cloning",
|
|
76317
|
+
Ready: "ready",
|
|
76318
|
+
Failed: "failed"
|
|
76319
|
+
};
|
|
76320
|
+
SessionRepositoryModelStatus$inboundSchema = nativeEnumType(SessionRepositoryModelStatus);
|
|
76321
|
+
SessionRepositoryModelStatus$outboundSchema = SessionRepositoryModelStatus$inboundSchema;
|
|
76322
|
+
SessionRepositoryModel$inboundSchema = objectType({
|
|
76323
|
+
repository_id: numberType().int(),
|
|
76324
|
+
owner: stringType(),
|
|
76325
|
+
repository: stringType(),
|
|
76326
|
+
requested_ref: nullableType(stringType()).optional(),
|
|
76327
|
+
ref: stringType(),
|
|
76328
|
+
default_branch: nullableType(stringType()).optional(),
|
|
76329
|
+
base_sha: stringType(),
|
|
76330
|
+
checkout_alias: stringType(),
|
|
76331
|
+
checkout_path: stringType(),
|
|
76332
|
+
status: SessionRepositoryModelStatus$inboundSchema,
|
|
76333
|
+
failure: nullableType(SessionRepositoryFailure$inboundSchema).optional(),
|
|
76334
|
+
last_push: nullableType(SessionRepositoryPush$inboundSchema).optional(),
|
|
76335
|
+
pull_request: nullableType(SessionRepositoryPullRequest$inboundSchema).optional(),
|
|
76336
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
76337
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
76338
|
+
}).transform((v2) => {
|
|
76339
|
+
return remap(v2, {
|
|
76340
|
+
repository_id: "repositoryId",
|
|
76341
|
+
requested_ref: "requestedRef",
|
|
76342
|
+
default_branch: "defaultBranch",
|
|
76343
|
+
base_sha: "baseSha",
|
|
76344
|
+
checkout_alias: "checkoutAlias",
|
|
76345
|
+
checkout_path: "checkoutPath",
|
|
76346
|
+
last_push: "lastPush",
|
|
76347
|
+
pull_request: "pullRequest",
|
|
76348
|
+
created_at: "createdAt",
|
|
76349
|
+
updated_at: "updatedAt"
|
|
76350
|
+
});
|
|
76351
|
+
});
|
|
76352
|
+
SessionRepositoryModel$outboundSchema = objectType({
|
|
76353
|
+
repositoryId: numberType().int(),
|
|
76354
|
+
owner: stringType(),
|
|
76355
|
+
repository: stringType(),
|
|
76356
|
+
requestedRef: nullableType(stringType()).optional(),
|
|
76357
|
+
ref: stringType(),
|
|
76358
|
+
defaultBranch: nullableType(stringType()).optional(),
|
|
76359
|
+
baseSha: stringType(),
|
|
76360
|
+
checkoutAlias: stringType(),
|
|
76361
|
+
checkoutPath: stringType(),
|
|
76362
|
+
status: SessionRepositoryModelStatus$outboundSchema,
|
|
76363
|
+
failure: nullableType(SessionRepositoryFailure$outboundSchema).optional(),
|
|
76364
|
+
lastPush: nullableType(SessionRepositoryPush$outboundSchema).optional(),
|
|
76365
|
+
pullRequest: nullableType(SessionRepositoryPullRequest$outboundSchema).optional(),
|
|
76366
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
76367
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
76368
|
+
}).transform((v2) => {
|
|
76369
|
+
return remap(v2, {
|
|
76370
|
+
repositoryId: "repository_id",
|
|
76371
|
+
requestedRef: "requested_ref",
|
|
76372
|
+
defaultBranch: "default_branch",
|
|
76373
|
+
baseSha: "base_sha",
|
|
76374
|
+
checkoutAlias: "checkout_alias",
|
|
76375
|
+
checkoutPath: "checkout_path",
|
|
76376
|
+
lastPush: "last_push",
|
|
76377
|
+
pullRequest: "pull_request",
|
|
76378
|
+
createdAt: "created_at",
|
|
76379
|
+
updatedAt: "updated_at"
|
|
76380
|
+
});
|
|
76381
|
+
});
|
|
76382
|
+
});
|
|
76383
|
+
|
|
76384
|
+
// src/models/components/sessionrepositorymanifest.ts
|
|
76385
|
+
var SessionRepositoryManifest$inboundSchema, SessionRepositoryManifest$outboundSchema;
|
|
76386
|
+
var init_sessionrepositorymanifest = __esm(() => {
|
|
76387
|
+
init_esm();
|
|
76388
|
+
init_primitives();
|
|
76389
|
+
init_sessionrepositorymodel();
|
|
76390
|
+
SessionRepositoryManifest$inboundSchema = objectType({
|
|
76391
|
+
max_repositories: numberType().int().default(5),
|
|
76392
|
+
repositories: arrayType(SessionRepositoryModel$inboundSchema)
|
|
76393
|
+
}).transform((v2) => {
|
|
76394
|
+
return remap(v2, {
|
|
76395
|
+
max_repositories: "maxRepositories"
|
|
76396
|
+
});
|
|
76397
|
+
});
|
|
76398
|
+
SessionRepositoryManifest$outboundSchema = objectType({
|
|
76399
|
+
maxRepositories: numberType().int().default(5),
|
|
76400
|
+
repositories: arrayType(SessionRepositoryModel$outboundSchema)
|
|
76401
|
+
}).transform((v2) => {
|
|
76402
|
+
return remap(v2, {
|
|
76403
|
+
maxRepositories: "max_repositories"
|
|
76404
|
+
});
|
|
76405
|
+
});
|
|
76406
|
+
});
|
|
76407
|
+
|
|
76001
76408
|
// src/models/components/sessionurlresponse.ts
|
|
76002
76409
|
var SessionUrlResponse$inboundSchema, SessionUrlResponse$outboundSchema;
|
|
76003
76410
|
var init_sessionurlresponse = __esm(() => {
|
|
@@ -78414,6 +78821,7 @@ var init_components = __esm(() => {
|
|
|
78414
78821
|
init_classifygroupby();
|
|
78415
78822
|
init_clickaction();
|
|
78416
78823
|
init_clustercurrencyresponse();
|
|
78824
|
+
init_clusterinviteseedbudget();
|
|
78417
78825
|
init_clusterinviteseedcompute();
|
|
78418
78826
|
init_clusterinviteseedquota();
|
|
78419
78827
|
init_codeinterpretercontainerauto();
|
|
@@ -78566,6 +78974,7 @@ var init_components = __esm(() => {
|
|
|
78566
78974
|
init_deleteorgautomodelresponse();
|
|
78567
78975
|
init_deletepromptresponse();
|
|
78568
78976
|
init_deleteresponseobject();
|
|
78977
|
+
init_dismisssessionrepositoryrequest();
|
|
78569
78978
|
init_doubleclickaction();
|
|
78570
78979
|
init_dpohyperparameters();
|
|
78571
78980
|
init_dragaction();
|
|
@@ -78577,6 +78986,10 @@ var init_components = __esm(() => {
|
|
|
78577
78986
|
init_embeddingsgroupby();
|
|
78578
78987
|
init_embeddingsrequest();
|
|
78579
78988
|
init_embeddingsresponse();
|
|
78989
|
+
init_environmentlist();
|
|
78990
|
+
init_environmentmodel();
|
|
78991
|
+
init_environmentrepositorymodel();
|
|
78992
|
+
init_environmentsetuprunmodel();
|
|
78580
78993
|
init_error();
|
|
78581
78994
|
init_errorevent();
|
|
78582
78995
|
init_evalartifactsobject();
|
|
@@ -78769,6 +79182,7 @@ var init_components = __esm(() => {
|
|
|
78769
79182
|
init_putclustercurrencybody();
|
|
78770
79183
|
init_putmodelpricebody();
|
|
78771
79184
|
init_putorgautomodelrequest();
|
|
79185
|
+
init_putsessionrepositoryrequest();
|
|
78772
79186
|
init_rankingoptions();
|
|
78773
79187
|
init_reasoning();
|
|
78774
79188
|
init_reasoningconfiguration();
|
|
@@ -78875,6 +79289,7 @@ var init_components = __esm(() => {
|
|
|
78875
79289
|
init_sandboxusageoperation();
|
|
78876
79290
|
init_sandboxusagepage();
|
|
78877
79291
|
init_sandboxusageresult();
|
|
79292
|
+
init_saveenvironmentrequest();
|
|
78878
79293
|
init_schemacreateresponse();
|
|
78879
79294
|
init_schemadeleteresponse();
|
|
78880
79295
|
init_schemagetresponse();
|
|
@@ -78887,6 +79302,11 @@ var init_components = __esm(() => {
|
|
|
78887
79302
|
init_security2();
|
|
78888
79303
|
init_sessionkind();
|
|
78889
79304
|
init_sessionrecord();
|
|
79305
|
+
init_sessionrepositoryfailure();
|
|
79306
|
+
init_sessionrepositorymanifest();
|
|
79307
|
+
init_sessionrepositorymodel();
|
|
79308
|
+
init_sessionrepositorypullrequest();
|
|
79309
|
+
init_sessionrepositorypush();
|
|
78890
79310
|
init_sessionstatus();
|
|
78891
79311
|
init_sessionurlresponse();
|
|
78892
79312
|
init_shellcall();
|
|
@@ -78983,10 +79403,19 @@ var init_components = __esm(() => {
|
|
|
78983
79403
|
});
|
|
78984
79404
|
|
|
78985
79405
|
// src/models/errors/acceptclusterinvite.ts
|
|
78986
|
-
var AcceptClusterInviteAuthClusterResponse429ResponseBody, AcceptClusterInviteAuthClusterResponse410ResponseBody, AcceptClusterInviteAuthClusterResponse409ResponseBody, AcceptClusterInviteAuthClusterResponse404ResponseBody, AcceptClusterInviteAuthClusterResponseResponseBody, AcceptClusterInviteAuthClusterResponseBody, AcceptClusterInviteResponseBody, AcceptClusterInviteAuthClusterResponse429ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse429ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse410ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse410ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse409ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse409ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse404ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse404ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponseResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponseResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponseBody$outboundSchema, AcceptClusterInviteResponseBody$inboundSchema, AcceptClusterInviteResponseBody$outboundSchema;
|
|
79406
|
+
var AcceptClusterInviteAuthClusterResponse503ResponseBody, AcceptClusterInviteAuthClusterResponse429ResponseBody, AcceptClusterInviteAuthClusterResponse410ResponseBody, AcceptClusterInviteAuthClusterResponse409ResponseBody, AcceptClusterInviteAuthClusterResponse404ResponseBody, AcceptClusterInviteAuthClusterResponseResponseBody, AcceptClusterInviteAuthClusterResponseBody, AcceptClusterInviteResponseBody, AcceptClusterInviteAuthClusterResponse503ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse503ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse429ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse429ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse410ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse410ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse409ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse409ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponse404ResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponse404ResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponseResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponseResponseBody$outboundSchema, AcceptClusterInviteAuthClusterResponseBody$inboundSchema, AcceptClusterInviteAuthClusterResponseBody$outboundSchema, AcceptClusterInviteResponseBody$inboundSchema, AcceptClusterInviteResponseBody$outboundSchema;
|
|
78987
79407
|
var init_acceptclusterinvite = __esm(() => {
|
|
78988
79408
|
init_esm();
|
|
78989
79409
|
init_sdkerror();
|
|
79410
|
+
AcceptClusterInviteAuthClusterResponse503ResponseBody = class AcceptClusterInviteAuthClusterResponse503ResponseBody extends SDKError {
|
|
79411
|
+
data$;
|
|
79412
|
+
constructor(err, httpMeta) {
|
|
79413
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
79414
|
+
super(message, httpMeta);
|
|
79415
|
+
this.data$ = err;
|
|
79416
|
+
this.name = "AcceptClusterInviteAuthClusterResponse503ResponseBody";
|
|
79417
|
+
}
|
|
79418
|
+
};
|
|
78990
79419
|
AcceptClusterInviteAuthClusterResponse429ResponseBody = class AcceptClusterInviteAuthClusterResponse429ResponseBody extends SDKError {
|
|
78991
79420
|
data$;
|
|
78992
79421
|
constructor(err, httpMeta) {
|
|
@@ -79053,6 +79482,21 @@ var init_acceptclusterinvite = __esm(() => {
|
|
|
79053
79482
|
this.name = "AcceptClusterInviteResponseBody";
|
|
79054
79483
|
}
|
|
79055
79484
|
};
|
|
79485
|
+
AcceptClusterInviteAuthClusterResponse503ResponseBody$inboundSchema = objectType({
|
|
79486
|
+
message: stringType(),
|
|
79487
|
+
request$: instanceOfType(Request),
|
|
79488
|
+
response$: instanceOfType(Response),
|
|
79489
|
+
body$: stringType()
|
|
79490
|
+
}).transform((v2) => {
|
|
79491
|
+
return new AcceptClusterInviteAuthClusterResponse503ResponseBody(v2, {
|
|
79492
|
+
request: v2.request$,
|
|
79493
|
+
response: v2.response$,
|
|
79494
|
+
body: v2.body$
|
|
79495
|
+
});
|
|
79496
|
+
});
|
|
79497
|
+
AcceptClusterInviteAuthClusterResponse503ResponseBody$outboundSchema = instanceOfType(AcceptClusterInviteAuthClusterResponse503ResponseBody).transform((v2) => v2.data$).pipe(objectType({
|
|
79498
|
+
message: stringType()
|
|
79499
|
+
}));
|
|
79056
79500
|
AcceptClusterInviteAuthClusterResponse429ResponseBody$inboundSchema = objectType({
|
|
79057
79501
|
message: stringType(),
|
|
79058
79502
|
request$: instanceOfType(Request),
|
|
@@ -87716,7 +88160,8 @@ var init_createclusterinvite2 = __esm(() => {
|
|
|
87716
88160
|
expiresInDays: numberType().int().optional(),
|
|
87717
88161
|
modelIds: arrayType(stringType()).optional(),
|
|
87718
88162
|
seedQuota: ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
87719
|
-
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional()
|
|
88163
|
+
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
88164
|
+
seedBudget: ClusterInviteSeedBudget$inboundSchema.optional()
|
|
87720
88165
|
});
|
|
87721
88166
|
CreateClusterInviteRequestBody$outboundSchema = objectType({
|
|
87722
88167
|
email: stringType().optional(),
|
|
@@ -87724,7 +88169,8 @@ var init_createclusterinvite2 = __esm(() => {
|
|
|
87724
88169
|
expiresInDays: numberType().int().optional(),
|
|
87725
88170
|
modelIds: arrayType(stringType()).optional(),
|
|
87726
88171
|
seedQuota: ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
87727
|
-
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional()
|
|
88172
|
+
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
88173
|
+
seedBudget: ClusterInviteSeedBudget$outboundSchema.optional()
|
|
87728
88174
|
});
|
|
87729
88175
|
CreateClusterInviteRequest$inboundSchema = objectType({
|
|
87730
88176
|
"X-On-Behalf-Of": stringType().optional(),
|
|
@@ -87752,6 +88198,7 @@ var init_createclusterinvite2 = __esm(() => {
|
|
|
87752
88198
|
seedAvailableModels: arrayType(stringType()),
|
|
87753
88199
|
seedQuota: ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
87754
88200
|
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
88201
|
+
seedBudget: ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
87755
88202
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
87756
88203
|
expiresAt: stringType(),
|
|
87757
88204
|
createdAt: stringType(),
|
|
@@ -87767,6 +88214,7 @@ var init_createclusterinvite2 = __esm(() => {
|
|
|
87767
88214
|
seedAvailableModels: arrayType(stringType()),
|
|
87768
88215
|
seedQuota: ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
87769
88216
|
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
88217
|
+
seedBudget: ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
87770
88218
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
87771
88219
|
expiresAt: stringType(),
|
|
87772
88220
|
createdAt: stringType(),
|
|
@@ -87876,6 +88324,32 @@ var init_createcomputesecret = __esm(() => {
|
|
|
87876
88324
|
]);
|
|
87877
88325
|
});
|
|
87878
88326
|
|
|
88327
|
+
// src/models/operations/createenvironmentapiv1sandboxenvironmentspost.ts
|
|
88328
|
+
var CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema, CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema;
|
|
88329
|
+
var init_createenvironmentapiv1sandboxenvironmentspost = __esm(() => {
|
|
88330
|
+
init_esm();
|
|
88331
|
+
init_primitives();
|
|
88332
|
+
init_components();
|
|
88333
|
+
CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema = objectType({
|
|
88334
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
88335
|
+
SaveEnvironmentRequest: SaveEnvironmentRequest$inboundSchema
|
|
88336
|
+
}).transform((v2) => {
|
|
88337
|
+
return remap(v2, {
|
|
88338
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
88339
|
+
SaveEnvironmentRequest: "saveEnvironmentRequest"
|
|
88340
|
+
});
|
|
88341
|
+
});
|
|
88342
|
+
CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema = objectType({
|
|
88343
|
+
xOnBehalfOf: stringType().optional(),
|
|
88344
|
+
saveEnvironmentRequest: SaveEnvironmentRequest$outboundSchema
|
|
88345
|
+
}).transform((v2) => {
|
|
88346
|
+
return remap(v2, {
|
|
88347
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
88348
|
+
saveEnvironmentRequest: "SaveEnvironmentRequest"
|
|
88349
|
+
});
|
|
88350
|
+
});
|
|
88351
|
+
});
|
|
88352
|
+
|
|
87879
88353
|
// src/models/operations/createevalrun.ts
|
|
87880
88354
|
var Truncation2, ServiceTier2, CreateEvalRunRequest$inboundSchema2, CreateEvalRunRequest$outboundSchema2, Stop$inboundSchema2, Stop$outboundSchema2, Truncation$inboundSchema2, Truncation$outboundSchema2, ServiceTier$inboundSchema2, ServiceTier$outboundSchema2, PrefillThink$inboundSchema2, PrefillThink$outboundSchema2, Generation$inboundSchema, Generation$outboundSchema, RequestCounts$inboundSchema2, RequestCounts$outboundSchema2, CreateEvalRunResponseBody$inboundSchema, CreateEvalRunResponseBody$outboundSchema;
|
|
87881
88355
|
var init_createevalrun = __esm(() => {
|
|
@@ -89836,6 +90310,31 @@ var init_deletecomputesecret = __esm(() => {
|
|
|
89836
90310
|
});
|
|
89837
90311
|
});
|
|
89838
90312
|
|
|
90313
|
+
// src/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.ts
|
|
90314
|
+
var DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema, DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema;
|
|
90315
|
+
var init_deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete = __esm(() => {
|
|
90316
|
+
init_esm();
|
|
90317
|
+
init_primitives();
|
|
90318
|
+
DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema = objectType({
|
|
90319
|
+
environment_id: numberType().int(),
|
|
90320
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
90321
|
+
}).transform((v2) => {
|
|
90322
|
+
return remap(v2, {
|
|
90323
|
+
environment_id: "environmentId",
|
|
90324
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
90325
|
+
});
|
|
90326
|
+
});
|
|
90327
|
+
DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema = objectType({
|
|
90328
|
+
environmentId: numberType().int(),
|
|
90329
|
+
xOnBehalfOf: stringType().optional()
|
|
90330
|
+
}).transform((v2) => {
|
|
90331
|
+
return remap(v2, {
|
|
90332
|
+
environmentId: "environment_id",
|
|
90333
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
90334
|
+
});
|
|
90335
|
+
});
|
|
90336
|
+
});
|
|
90337
|
+
|
|
89839
90338
|
// src/models/operations/deleteevalrun.ts
|
|
89840
90339
|
var DeleteEvalRunRequest$inboundSchema, DeleteEvalRunRequest$outboundSchema;
|
|
89841
90340
|
var init_deleteevalrun = __esm(() => {
|
|
@@ -90982,6 +91481,40 @@ var init_disconnectapiv1sandboxgithuboauthconnectionsdelete = __esm(() => {
|
|
|
90982
91481
|
});
|
|
90983
91482
|
});
|
|
90984
91483
|
|
|
91484
|
+
// src/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.ts
|
|
91485
|
+
var DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema, DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema;
|
|
91486
|
+
var init_dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete = __esm(() => {
|
|
91487
|
+
init_esm();
|
|
91488
|
+
init_primitives();
|
|
91489
|
+
init_components();
|
|
91490
|
+
DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema = objectType({
|
|
91491
|
+
session_id: stringType(),
|
|
91492
|
+
repository_id: numberType().int(),
|
|
91493
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
91494
|
+
DismissSessionRepositoryRequest: DismissSessionRepositoryRequest$inboundSchema
|
|
91495
|
+
}).transform((v2) => {
|
|
91496
|
+
return remap(v2, {
|
|
91497
|
+
session_id: "sessionId",
|
|
91498
|
+
repository_id: "repositoryId",
|
|
91499
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
91500
|
+
DismissSessionRepositoryRequest: "dismissSessionRepositoryRequest"
|
|
91501
|
+
});
|
|
91502
|
+
});
|
|
91503
|
+
DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema = objectType({
|
|
91504
|
+
sessionId: stringType(),
|
|
91505
|
+
repositoryId: numberType().int(),
|
|
91506
|
+
xOnBehalfOf: stringType().optional(),
|
|
91507
|
+
dismissSessionRepositoryRequest: DismissSessionRepositoryRequest$outboundSchema
|
|
91508
|
+
}).transform((v2) => {
|
|
91509
|
+
return remap(v2, {
|
|
91510
|
+
sessionId: "session_id",
|
|
91511
|
+
repositoryId: "repository_id",
|
|
91512
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
91513
|
+
dismissSessionRepositoryRequest: "DismissSessionRepositoryRequest"
|
|
91514
|
+
});
|
|
91515
|
+
});
|
|
91516
|
+
});
|
|
91517
|
+
|
|
90985
91518
|
// src/models/operations/downloadworkspacearchive.ts
|
|
90986
91519
|
var DownloadWorkspaceArchiveRequest$inboundSchema, DownloadWorkspaceArchiveRequest$outboundSchema;
|
|
90987
91520
|
var init_downloadworkspacearchive = __esm(() => {
|
|
@@ -92596,6 +93129,31 @@ var init_getembeddingsusage = __esm(() => {
|
|
|
92596
93129
|
});
|
|
92597
93130
|
});
|
|
92598
93131
|
|
|
93132
|
+
// src/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.ts
|
|
93133
|
+
var GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema, GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema;
|
|
93134
|
+
var init_getenvironmentapiv1sandboxenvironmentsenvironmentidget = __esm(() => {
|
|
93135
|
+
init_esm();
|
|
93136
|
+
init_primitives();
|
|
93137
|
+
GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema = objectType({
|
|
93138
|
+
environment_id: numberType().int(),
|
|
93139
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
93140
|
+
}).transform((v2) => {
|
|
93141
|
+
return remap(v2, {
|
|
93142
|
+
environment_id: "environmentId",
|
|
93143
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
93144
|
+
});
|
|
93145
|
+
});
|
|
93146
|
+
GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema = objectType({
|
|
93147
|
+
environmentId: numberType().int(),
|
|
93148
|
+
xOnBehalfOf: stringType().optional()
|
|
93149
|
+
}).transform((v2) => {
|
|
93150
|
+
return remap(v2, {
|
|
93151
|
+
environmentId: "environment_id",
|
|
93152
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
93153
|
+
});
|
|
93154
|
+
});
|
|
93155
|
+
});
|
|
93156
|
+
|
|
92599
93157
|
// src/models/operations/getevalartifacts.ts
|
|
92600
93158
|
var GetEvalArtifactsRequest$inboundSchema, GetEvalArtifactsRequest$outboundSchema;
|
|
92601
93159
|
var init_getevalartifacts = __esm(() => {
|
|
@@ -96424,6 +96982,7 @@ var init_listclusterinvites2 = __esm(() => {
|
|
|
96424
96982
|
seedAvailableModels: arrayType(stringType()),
|
|
96425
96983
|
seedQuota: ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
96426
96984
|
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
96985
|
+
seedBudget: ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
96427
96986
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
96428
96987
|
expiresAt: stringType(),
|
|
96429
96988
|
createdAt: stringType(),
|
|
@@ -96439,6 +96998,7 @@ var init_listclusterinvites2 = __esm(() => {
|
|
|
96439
96998
|
seedAvailableModels: arrayType(stringType()),
|
|
96440
96999
|
seedQuota: ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
96441
97000
|
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
97001
|
+
seedBudget: ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
96442
97002
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
96443
97003
|
expiresAt: stringType(),
|
|
96444
97004
|
createdAt: stringType(),
|
|
@@ -96762,6 +97322,27 @@ var init_listembeddingmodels = __esm(() => {
|
|
|
96762
97322
|
});
|
|
96763
97323
|
});
|
|
96764
97324
|
|
|
97325
|
+
// src/models/operations/listenvironmentsapiv1sandboxenvironmentsget.ts
|
|
97326
|
+
var ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema, ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema;
|
|
97327
|
+
var init_listenvironmentsapiv1sandboxenvironmentsget = __esm(() => {
|
|
97328
|
+
init_esm();
|
|
97329
|
+
init_primitives();
|
|
97330
|
+
ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema = objectType({
|
|
97331
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
97332
|
+
}).transform((v2) => {
|
|
97333
|
+
return remap(v2, {
|
|
97334
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
97335
|
+
});
|
|
97336
|
+
});
|
|
97337
|
+
ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema = objectType({
|
|
97338
|
+
xOnBehalfOf: stringType().optional()
|
|
97339
|
+
}).transform((v2) => {
|
|
97340
|
+
return remap(v2, {
|
|
97341
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
97342
|
+
});
|
|
97343
|
+
});
|
|
97344
|
+
});
|
|
97345
|
+
|
|
96765
97346
|
// src/models/operations/listevalruns.ts
|
|
96766
97347
|
var Status17, ListEvalRunsTruncation, ListEvalRunsServiceTier, Status$inboundSchema2, Status$outboundSchema2, ListEvalRunsRequest$inboundSchema, ListEvalRunsRequest$outboundSchema, ListEvalRunsStop$inboundSchema, ListEvalRunsStop$outboundSchema, ListEvalRunsTruncation$inboundSchema, ListEvalRunsTruncation$outboundSchema, ListEvalRunsServiceTier$inboundSchema, ListEvalRunsServiceTier$outboundSchema, ListEvalRunsPrefillThink$inboundSchema, ListEvalRunsPrefillThink$outboundSchema, ListEvalRunsGeneration$inboundSchema, ListEvalRunsGeneration$outboundSchema, ListEvalRunsRequestCounts$inboundSchema, ListEvalRunsRequestCounts$outboundSchema, ListEvalRunsData$inboundSchema, ListEvalRunsData$outboundSchema, ListEvalRunsResponseBody$inboundSchema, ListEvalRunsResponseBody$outboundSchema;
|
|
96767
97348
|
var init_listevalruns = __esm(() => {
|
|
@@ -100385,6 +100966,31 @@ var init_llmrevoke = __esm(() => {
|
|
|
100385
100966
|
});
|
|
100386
100967
|
});
|
|
100387
100968
|
|
|
100969
|
+
// src/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.ts
|
|
100970
|
+
var ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema, ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema;
|
|
100971
|
+
var init_manifestapiv1sandboxsessionssessionidgithubrepositoriesget = __esm(() => {
|
|
100972
|
+
init_esm();
|
|
100973
|
+
init_primitives();
|
|
100974
|
+
ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema = objectType({
|
|
100975
|
+
session_id: stringType(),
|
|
100976
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
100977
|
+
}).transform((v2) => {
|
|
100978
|
+
return remap(v2, {
|
|
100979
|
+
session_id: "sessionId",
|
|
100980
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
100981
|
+
});
|
|
100982
|
+
});
|
|
100983
|
+
ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema = objectType({
|
|
100984
|
+
sessionId: stringType(),
|
|
100985
|
+
xOnBehalfOf: stringType().optional()
|
|
100986
|
+
}).transform((v2) => {
|
|
100987
|
+
return remap(v2, {
|
|
100988
|
+
sessionId: "session_id",
|
|
100989
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
100990
|
+
});
|
|
100991
|
+
});
|
|
100992
|
+
});
|
|
100993
|
+
|
|
100388
100994
|
// src/models/operations/modifyvectorstore.ts
|
|
100389
100995
|
var ModifyVectorStoreRequest$inboundSchema2, ModifyVectorStoreRequest$outboundSchema2;
|
|
100390
100996
|
var init_modifyvectorstore = __esm(() => {
|
|
@@ -100686,6 +101292,40 @@ var init_putpricing = __esm(() => {
|
|
|
100686
101292
|
});
|
|
100687
101293
|
});
|
|
100688
101294
|
|
|
101295
|
+
// src/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.ts
|
|
101296
|
+
var PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema, PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema;
|
|
101297
|
+
var init_putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput = __esm(() => {
|
|
101298
|
+
init_esm();
|
|
101299
|
+
init_primitives();
|
|
101300
|
+
init_components();
|
|
101301
|
+
PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema = objectType({
|
|
101302
|
+
session_id: stringType(),
|
|
101303
|
+
repository_id: numberType().int(),
|
|
101304
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
101305
|
+
PutSessionRepositoryRequest: PutSessionRepositoryRequest$inboundSchema
|
|
101306
|
+
}).transform((v2) => {
|
|
101307
|
+
return remap(v2, {
|
|
101308
|
+
session_id: "sessionId",
|
|
101309
|
+
repository_id: "repositoryId",
|
|
101310
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
101311
|
+
PutSessionRepositoryRequest: "putSessionRepositoryRequest"
|
|
101312
|
+
});
|
|
101313
|
+
});
|
|
101314
|
+
PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema = objectType({
|
|
101315
|
+
sessionId: stringType(),
|
|
101316
|
+
repositoryId: numberType().int(),
|
|
101317
|
+
xOnBehalfOf: stringType().optional(),
|
|
101318
|
+
putSessionRepositoryRequest: PutSessionRepositoryRequest$outboundSchema
|
|
101319
|
+
}).transform((v2) => {
|
|
101320
|
+
return remap(v2, {
|
|
101321
|
+
sessionId: "session_id",
|
|
101322
|
+
repositoryId: "repository_id",
|
|
101323
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
101324
|
+
putSessionRepositoryRequest: "PutSessionRepositoryRequest"
|
|
101325
|
+
});
|
|
101326
|
+
});
|
|
101327
|
+
});
|
|
101328
|
+
|
|
100689
101329
|
// src/models/operations/readcloneapiv1sandboxsessionssessionidgithubreadclonepost.ts
|
|
100690
101330
|
var ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema, ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema;
|
|
100691
101331
|
var init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost = __esm(() => {
|
|
@@ -101701,6 +102341,31 @@ var init_runcommand = __esm(() => {
|
|
|
101701
102341
|
});
|
|
101702
102342
|
});
|
|
101703
102343
|
|
|
102344
|
+
// src/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.ts
|
|
102345
|
+
var RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema, RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema;
|
|
102346
|
+
var init_runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost = __esm(() => {
|
|
102347
|
+
init_esm();
|
|
102348
|
+
init_primitives();
|
|
102349
|
+
RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema = objectType({
|
|
102350
|
+
session_id: stringType(),
|
|
102351
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
102352
|
+
}).transform((v2) => {
|
|
102353
|
+
return remap(v2, {
|
|
102354
|
+
session_id: "sessionId",
|
|
102355
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
102356
|
+
});
|
|
102357
|
+
});
|
|
102358
|
+
RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema = objectType({
|
|
102359
|
+
sessionId: stringType(),
|
|
102360
|
+
xOnBehalfOf: stringType().optional()
|
|
102361
|
+
}).transform((v2) => {
|
|
102362
|
+
return remap(v2, {
|
|
102363
|
+
sessionId: "session_id",
|
|
102364
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
102365
|
+
});
|
|
102366
|
+
});
|
|
102367
|
+
});
|
|
102368
|
+
|
|
101704
102369
|
// src/models/operations/searchvectorstore.ts
|
|
101705
102370
|
var SearchVectorStoreRequest$inboundSchema2, SearchVectorStoreRequest$outboundSchema2;
|
|
101706
102371
|
var init_searchvectorstore = __esm(() => {
|
|
@@ -103929,13 +104594,15 @@ var init_updateclusterinvite2 = __esm(() => {
|
|
|
103929
104594
|
expiresAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
103930
104595
|
modelIds: arrayType(stringType()).optional(),
|
|
103931
104596
|
seedQuota: ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
103932
|
-
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional()
|
|
104597
|
+
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
104598
|
+
seedBudget: ClusterInviteSeedBudget$inboundSchema.optional()
|
|
103933
104599
|
});
|
|
103934
104600
|
UpdateClusterInviteRequestBody$outboundSchema = objectType({
|
|
103935
104601
|
expiresAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
103936
104602
|
modelIds: arrayType(stringType()).optional(),
|
|
103937
104603
|
seedQuota: ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
103938
|
-
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional()
|
|
104604
|
+
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
104605
|
+
seedBudget: ClusterInviteSeedBudget$outboundSchema.optional()
|
|
103939
104606
|
});
|
|
103940
104607
|
UpdateClusterInviteRequest$inboundSchema = objectType({
|
|
103941
104608
|
id: stringType(),
|
|
@@ -103965,6 +104632,7 @@ var init_updateclusterinvite2 = __esm(() => {
|
|
|
103965
104632
|
seedAvailableModels: arrayType(stringType()),
|
|
103966
104633
|
seedQuota: ClusterInviteSeedQuota$inboundSchema.optional(),
|
|
103967
104634
|
seedCompute: ClusterInviteSeedCompute$inboundSchema.optional(),
|
|
104635
|
+
seedBudget: ClusterInviteSeedBudget$inboundSchema.optional(),
|
|
103968
104636
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
103969
104637
|
expiresAt: stringType(),
|
|
103970
104638
|
createdAt: stringType(),
|
|
@@ -103980,6 +104648,7 @@ var init_updateclusterinvite2 = __esm(() => {
|
|
|
103980
104648
|
seedAvailableModels: arrayType(stringType()),
|
|
103981
104649
|
seedQuota: ClusterInviteSeedQuota$outboundSchema.optional(),
|
|
103982
104650
|
seedCompute: ClusterInviteSeedCompute$outboundSchema.optional(),
|
|
104651
|
+
seedBudget: ClusterInviteSeedBudget$outboundSchema.optional(),
|
|
103983
104652
|
provisioningConfiguredByUserId: stringType().optional(),
|
|
103984
104653
|
expiresAt: stringType(),
|
|
103985
104654
|
createdAt: stringType(),
|
|
@@ -104036,6 +104705,36 @@ var init_updatecompletionfeedback = __esm(() => {
|
|
|
104036
104705
|
});
|
|
104037
104706
|
});
|
|
104038
104707
|
|
|
104708
|
+
// src/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.ts
|
|
104709
|
+
var UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema, UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema;
|
|
104710
|
+
var init_updateenvironmentapiv1sandboxenvironmentsenvironmentidput = __esm(() => {
|
|
104711
|
+
init_esm();
|
|
104712
|
+
init_primitives();
|
|
104713
|
+
init_components();
|
|
104714
|
+
UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema = objectType({
|
|
104715
|
+
environment_id: numberType().int(),
|
|
104716
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
104717
|
+
SaveEnvironmentRequest: SaveEnvironmentRequest$inboundSchema
|
|
104718
|
+
}).transform((v2) => {
|
|
104719
|
+
return remap(v2, {
|
|
104720
|
+
environment_id: "environmentId",
|
|
104721
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
104722
|
+
SaveEnvironmentRequest: "saveEnvironmentRequest"
|
|
104723
|
+
});
|
|
104724
|
+
});
|
|
104725
|
+
UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema = objectType({
|
|
104726
|
+
environmentId: numberType().int(),
|
|
104727
|
+
xOnBehalfOf: stringType().optional(),
|
|
104728
|
+
saveEnvironmentRequest: SaveEnvironmentRequest$outboundSchema
|
|
104729
|
+
}).transform((v2) => {
|
|
104730
|
+
return remap(v2, {
|
|
104731
|
+
environmentId: "environment_id",
|
|
104732
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
104733
|
+
saveEnvironmentRequest: "SaveEnvironmentRequest"
|
|
104734
|
+
});
|
|
104735
|
+
});
|
|
104736
|
+
});
|
|
104737
|
+
|
|
104039
104738
|
// src/models/operations/updateevalschedule.ts
|
|
104040
104739
|
var UpdateEvalScheduleTruncation, UpdateEvalScheduleServiceTier, UpdateEvalScheduleRequest$inboundSchema2, UpdateEvalScheduleRequest$outboundSchema2, UpdateEvalScheduleStop$inboundSchema, UpdateEvalScheduleStop$outboundSchema, UpdateEvalScheduleTruncation$inboundSchema, UpdateEvalScheduleTruncation$outboundSchema, UpdateEvalScheduleServiceTier$inboundSchema, UpdateEvalScheduleServiceTier$outboundSchema, UpdateEvalSchedulePrefillThink$inboundSchema, UpdateEvalSchedulePrefillThink$outboundSchema, UpdateEvalScheduleGeneration$inboundSchema, UpdateEvalScheduleGeneration$outboundSchema, UpdateEvalScheduleRun$inboundSchema, UpdateEvalScheduleRun$outboundSchema, UpdateEvalScheduleResponseBody$inboundSchema, UpdateEvalScheduleResponseBody$outboundSchema;
|
|
104041
104740
|
var init_updateevalschedule = __esm(() => {
|
|
@@ -105226,6 +105925,7 @@ var init_operations = __esm(() => {
|
|
|
105226
105925
|
init_createcompletionfeedback();
|
|
105227
105926
|
init_createcomputequote();
|
|
105228
105927
|
init_createcomputesecret();
|
|
105928
|
+
init_createenvironmentapiv1sandboxenvironmentspost();
|
|
105229
105929
|
init_createevalrun();
|
|
105230
105930
|
init_createevalschedule();
|
|
105231
105931
|
init_createevalsuite();
|
|
@@ -105263,6 +105963,7 @@ var init_operations = __esm(() => {
|
|
|
105263
105963
|
init_deleteapikeybudget();
|
|
105264
105964
|
init_deleteclusterorg2();
|
|
105265
105965
|
init_deletecomputesecret();
|
|
105966
|
+
init_deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete();
|
|
105266
105967
|
init_deleteevalrun();
|
|
105267
105968
|
init_deleteevalschedule();
|
|
105268
105969
|
init_deleteevalsuite();
|
|
@@ -105296,6 +105997,7 @@ var init_operations = __esm(() => {
|
|
|
105296
105997
|
init_deletevectorstore();
|
|
105297
105998
|
init_deletevectorstorefile();
|
|
105298
105999
|
init_disconnectapiv1sandboxgithuboauthconnectionsdelete();
|
|
106000
|
+
init_dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete();
|
|
105299
106001
|
init_downloadworkspacearchive();
|
|
105300
106002
|
init_downloadworkspacefile();
|
|
105301
106003
|
init_embed();
|
|
@@ -105328,6 +106030,7 @@ var init_operations = __esm(() => {
|
|
|
105328
106030
|
init_getcostsusage();
|
|
105329
106031
|
init_getcurrency();
|
|
105330
106032
|
init_getembeddingsusage();
|
|
106033
|
+
init_getenvironmentapiv1sandboxenvironmentsenvironmentidget();
|
|
105331
106034
|
init_getevalartifacts();
|
|
105332
106035
|
init_getevalrun();
|
|
105333
106036
|
init_getevalsampleaudio();
|
|
@@ -105403,6 +106106,7 @@ var init_operations = __esm(() => {
|
|
|
105403
106106
|
init_listcomputetenants();
|
|
105404
106107
|
init_listeffectiveprices();
|
|
105405
106108
|
init_listembeddingmodels();
|
|
106109
|
+
init_listenvironmentsapiv1sandboxenvironmentsget();
|
|
105406
106110
|
init_listevalruns();
|
|
105407
106111
|
init_listevalsamples();
|
|
105408
106112
|
init_listevalscheduleruns();
|
|
@@ -105465,6 +106169,7 @@ var init_operations = __esm(() => {
|
|
|
105465
106169
|
init_llmcheck();
|
|
105466
106170
|
init_llmgrant();
|
|
105467
106171
|
init_llmrevoke();
|
|
106172
|
+
init_manifestapiv1sandboxsessionssessionidgithubrepositoriesget();
|
|
105468
106173
|
init_modifyvectorstore();
|
|
105469
106174
|
init_patchrepo();
|
|
105470
106175
|
init_pauseagentschedule();
|
|
@@ -105474,6 +106179,7 @@ var init_operations = __esm(() => {
|
|
|
105474
106179
|
init_putcomputetenant();
|
|
105475
106180
|
init_putorgautomodel();
|
|
105476
106181
|
init_putpricing();
|
|
106182
|
+
init_putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput();
|
|
105477
106183
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
105478
106184
|
init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost();
|
|
105479
106185
|
init_regeneratescopedapikey2();
|
|
@@ -105492,6 +106198,7 @@ var init_operations = __esm(() => {
|
|
|
105492
106198
|
init_rollbackprompt();
|
|
105493
106199
|
init_runcode();
|
|
105494
106200
|
init_runcommand();
|
|
106201
|
+
init_runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost();
|
|
105495
106202
|
init_searchvectorstore();
|
|
105496
106203
|
init_setapikeybudget();
|
|
105497
106204
|
init_setcurrency();
|
|
@@ -105520,6 +106227,7 @@ var init_operations = __esm(() => {
|
|
|
105520
106227
|
init_updateagentschedule();
|
|
105521
106228
|
init_updateclusterinvite2();
|
|
105522
106229
|
init_updatecompletionfeedback();
|
|
106230
|
+
init_updateenvironmentapiv1sandboxenvironmentsenvironmentidput();
|
|
105523
106231
|
init_updateevalschedule();
|
|
105524
106232
|
init_updateextractschema();
|
|
105525
106233
|
init_updateguardrails();
|
|
@@ -109635,7 +110343,7 @@ async function $do34(client, request, options) {
|
|
|
109635
110343
|
const responseFields = {
|
|
109636
110344
|
HttpMeta: { Response: response, Request: req }
|
|
109637
110345
|
};
|
|
109638
|
-
const [result] = await match(json(200, AcceptClusterInviteResponseBody$inboundSchema2), jsonErr(400, AcceptClusterInviteResponseBody$inboundSchema), jsonErr(401, AcceptClusterInviteAuthClusterResponseBody$inboundSchema), jsonErr(403, AcceptClusterInviteAuthClusterResponseResponseBody$inboundSchema), jsonErr(404, AcceptClusterInviteAuthClusterResponse404ResponseBody$inboundSchema), jsonErr(409, AcceptClusterInviteAuthClusterResponse409ResponseBody$inboundSchema), jsonErr(410, AcceptClusterInviteAuthClusterResponse410ResponseBody$inboundSchema), jsonErr(429, AcceptClusterInviteAuthClusterResponse429ResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
110346
|
+
const [result] = await match(json(200, AcceptClusterInviteResponseBody$inboundSchema2), jsonErr(400, AcceptClusterInviteResponseBody$inboundSchema), jsonErr(401, AcceptClusterInviteAuthClusterResponseBody$inboundSchema), jsonErr(403, AcceptClusterInviteAuthClusterResponseResponseBody$inboundSchema), jsonErr(404, AcceptClusterInviteAuthClusterResponse404ResponseBody$inboundSchema), jsonErr(409, AcceptClusterInviteAuthClusterResponse409ResponseBody$inboundSchema), jsonErr(410, AcceptClusterInviteAuthClusterResponse410ResponseBody$inboundSchema), jsonErr(429, AcceptClusterInviteAuthClusterResponse429ResponseBody$inboundSchema), jsonErr(503, AcceptClusterInviteAuthClusterResponse503ResponseBody$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
109639
110347
|
if (!result.ok) {
|
|
109640
110348
|
return [result, { status: "complete", request: req, response }];
|
|
109641
110349
|
}
|
|
@@ -145658,13 +146366,958 @@ async function $do342(client, request, options) {
|
|
|
145658
146366
|
const responseFields = {
|
|
145659
146367
|
HttpMeta: { Response: response, Request: req }
|
|
145660
146368
|
};
|
|
145661
|
-
const [result] = await match(json(200, SessionRecord$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146369
|
+
const [result] = await match(json(200, SessionRecord$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146370
|
+
if (!result.ok) {
|
|
146371
|
+
return [result, { status: "complete", request: req, response }];
|
|
146372
|
+
}
|
|
146373
|
+
return [result, { status: "complete", request: req, response }];
|
|
146374
|
+
}
|
|
146375
|
+
var init_sandboxGet = __esm(() => {
|
|
146376
|
+
init_encodings();
|
|
146377
|
+
init_http();
|
|
146378
|
+
init_matchers();
|
|
146379
|
+
init_primitives();
|
|
146380
|
+
init_schemas4();
|
|
146381
|
+
init_security();
|
|
146382
|
+
init_url();
|
|
146383
|
+
init_components();
|
|
146384
|
+
init_errors4();
|
|
146385
|
+
init_operations();
|
|
146386
|
+
init_async();
|
|
146387
|
+
});
|
|
146388
|
+
|
|
146389
|
+
// src/mcp-server/tools/sandboxGet.ts
|
|
146390
|
+
var args334, tool$sandboxGet;
|
|
146391
|
+
var init_sandboxGet2 = __esm(() => {
|
|
146392
|
+
init_sandboxGet();
|
|
146393
|
+
init_operations();
|
|
146394
|
+
init_tools();
|
|
146395
|
+
args334 = {
|
|
146396
|
+
request: GetSessionRequest$inboundSchema
|
|
146397
|
+
};
|
|
146398
|
+
tool$sandboxGet = {
|
|
146399
|
+
name: "sandbox-get",
|
|
146400
|
+
description: `Get Session
|
|
146401
|
+
|
|
146402
|
+
Return the current state, configuration, and resource allocation for a sandbox session.`,
|
|
146403
|
+
args: args334,
|
|
146404
|
+
tool: async (client, args335, ctx) => {
|
|
146405
|
+
const [result, apiCall] = await sandboxGet(client, args335.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146406
|
+
if (!result.ok) {
|
|
146407
|
+
return {
|
|
146408
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146409
|
+
isError: true
|
|
146410
|
+
};
|
|
146411
|
+
}
|
|
146412
|
+
const value = result.value;
|
|
146413
|
+
return formatResult(value, apiCall);
|
|
146414
|
+
}
|
|
146415
|
+
};
|
|
146416
|
+
});
|
|
146417
|
+
|
|
146418
|
+
// src/funcs/sandboxGetBrowserUrl.ts
|
|
146419
|
+
function sandboxGetBrowserUrl(client, request, options) {
|
|
146420
|
+
return new APIPromise($do343(client, request, options));
|
|
146421
|
+
}
|
|
146422
|
+
async function $do343(client, request, options) {
|
|
146423
|
+
const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146424
|
+
if (!parsed.ok) {
|
|
146425
|
+
return [parsed, { status: "invalid" }];
|
|
146426
|
+
}
|
|
146427
|
+
const payload = parsed.value;
|
|
146428
|
+
const body = null;
|
|
146429
|
+
const pathParams = {
|
|
146430
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146431
|
+
explode: false,
|
|
146432
|
+
charEncoding: "percent"
|
|
146433
|
+
})
|
|
146434
|
+
};
|
|
146435
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/browser-url")(pathParams);
|
|
146436
|
+
const query = encodeFormQuery({
|
|
146437
|
+
session_token: payload.session_token
|
|
146438
|
+
});
|
|
146439
|
+
const headers = new Headers(compactMap({
|
|
146440
|
+
Accept: "application/json",
|
|
146441
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146442
|
+
}));
|
|
146443
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146444
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146445
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146446
|
+
const context = {
|
|
146447
|
+
options: client._options,
|
|
146448
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146449
|
+
operationID: "getBrowserSessionUrl",
|
|
146450
|
+
oAuth2Scopes: null,
|
|
146451
|
+
resolvedSecurity: requestSecurity,
|
|
146452
|
+
securitySource: client._options.bearerAuth,
|
|
146453
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146454
|
+
strategy: "backoff",
|
|
146455
|
+
backoff: {
|
|
146456
|
+
initialInterval: 500,
|
|
146457
|
+
maxInterval: 5000,
|
|
146458
|
+
exponent: 1.5,
|
|
146459
|
+
maxElapsedTime: 15000
|
|
146460
|
+
},
|
|
146461
|
+
retryConnectionErrors: true
|
|
146462
|
+
},
|
|
146463
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146464
|
+
};
|
|
146465
|
+
const requestRes = client._createRequest(context, {
|
|
146466
|
+
security: requestSecurity,
|
|
146467
|
+
method: "GET",
|
|
146468
|
+
baseURL: options?.serverURL,
|
|
146469
|
+
path,
|
|
146470
|
+
headers,
|
|
146471
|
+
query,
|
|
146472
|
+
body,
|
|
146473
|
+
userAgent: client._options.userAgent,
|
|
146474
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146475
|
+
}, options);
|
|
146476
|
+
if (!requestRes.ok) {
|
|
146477
|
+
return [requestRes, { status: "invalid" }];
|
|
146478
|
+
}
|
|
146479
|
+
const req = requestRes.value;
|
|
146480
|
+
const doResult = await client._do(req, {
|
|
146481
|
+
context,
|
|
146482
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146483
|
+
retryConfig: context.retryConfig,
|
|
146484
|
+
retryCodes: context.retryCodes
|
|
146485
|
+
});
|
|
146486
|
+
if (!doResult.ok) {
|
|
146487
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146488
|
+
}
|
|
146489
|
+
const response = doResult.value;
|
|
146490
|
+
const responseFields = {
|
|
146491
|
+
HttpMeta: { Response: response, Request: req }
|
|
146492
|
+
};
|
|
146493
|
+
const [result] = await match(json(200, SessionUrlResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail([501, "5XX"]))(response, req, { extraFields: responseFields });
|
|
146494
|
+
if (!result.ok) {
|
|
146495
|
+
return [result, { status: "complete", request: req, response }];
|
|
146496
|
+
}
|
|
146497
|
+
return [result, { status: "complete", request: req, response }];
|
|
146498
|
+
}
|
|
146499
|
+
var init_sandboxGetBrowserUrl = __esm(() => {
|
|
146500
|
+
init_encodings();
|
|
146501
|
+
init_http();
|
|
146502
|
+
init_matchers();
|
|
146503
|
+
init_primitives();
|
|
146504
|
+
init_schemas4();
|
|
146505
|
+
init_security();
|
|
146506
|
+
init_url();
|
|
146507
|
+
init_components();
|
|
146508
|
+
init_errors4();
|
|
146509
|
+
init_operations();
|
|
146510
|
+
init_async();
|
|
146511
|
+
});
|
|
146512
|
+
|
|
146513
|
+
// src/mcp-server/tools/sandboxGetBrowserUrl.ts
|
|
146514
|
+
var args335, tool$sandboxGetBrowserUrl;
|
|
146515
|
+
var init_sandboxGetBrowserUrl2 = __esm(() => {
|
|
146516
|
+
init_sandboxGetBrowserUrl();
|
|
146517
|
+
init_operations();
|
|
146518
|
+
init_tools();
|
|
146519
|
+
args335 = {
|
|
146520
|
+
request: GetBrowserSessionUrlRequest$inboundSchema
|
|
146521
|
+
};
|
|
146522
|
+
tool$sandboxGetBrowserUrl = {
|
|
146523
|
+
name: "sandbox-get-browser-url",
|
|
146524
|
+
description: `Get Browser Session URL
|
|
146525
|
+
|
|
146526
|
+
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.`,
|
|
146527
|
+
args: args335,
|
|
146528
|
+
tool: async (client, args336, ctx) => {
|
|
146529
|
+
const [result, apiCall] = await sandboxGetBrowserUrl(client, args336.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146530
|
+
if (!result.ok) {
|
|
146531
|
+
return {
|
|
146532
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146533
|
+
isError: true
|
|
146534
|
+
};
|
|
146535
|
+
}
|
|
146536
|
+
const value = result.value;
|
|
146537
|
+
return formatResult(value, apiCall);
|
|
146538
|
+
}
|
|
146539
|
+
};
|
|
146540
|
+
});
|
|
146541
|
+
|
|
146542
|
+
// src/funcs/sandboxGetPricing.ts
|
|
146543
|
+
function sandboxGetPricing(client, options) {
|
|
146544
|
+
return new APIPromise($do344(client, options));
|
|
146545
|
+
}
|
|
146546
|
+
async function $do344(client, options) {
|
|
146547
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
146548
|
+
const headers = new Headers(compactMap({
|
|
146549
|
+
Accept: "application/json"
|
|
146550
|
+
}));
|
|
146551
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146552
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146553
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146554
|
+
const context = {
|
|
146555
|
+
options: client._options,
|
|
146556
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146557
|
+
operationID: "getSandboxPricing",
|
|
146558
|
+
oAuth2Scopes: null,
|
|
146559
|
+
resolvedSecurity: requestSecurity,
|
|
146560
|
+
securitySource: client._options.bearerAuth,
|
|
146561
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146562
|
+
strategy: "backoff",
|
|
146563
|
+
backoff: {
|
|
146564
|
+
initialInterval: 500,
|
|
146565
|
+
maxInterval: 5000,
|
|
146566
|
+
exponent: 1.5,
|
|
146567
|
+
maxElapsedTime: 15000
|
|
146568
|
+
},
|
|
146569
|
+
retryConnectionErrors: true
|
|
146570
|
+
},
|
|
146571
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146572
|
+
};
|
|
146573
|
+
const requestRes = client._createRequest(context, {
|
|
146574
|
+
security: requestSecurity,
|
|
146575
|
+
method: "GET",
|
|
146576
|
+
baseURL: options?.serverURL,
|
|
146577
|
+
path,
|
|
146578
|
+
headers,
|
|
146579
|
+
userAgent: client._options.userAgent,
|
|
146580
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146581
|
+
}, options);
|
|
146582
|
+
if (!requestRes.ok) {
|
|
146583
|
+
return [requestRes, { status: "invalid" }];
|
|
146584
|
+
}
|
|
146585
|
+
const req = requestRes.value;
|
|
146586
|
+
const doResult = await client._do(req, {
|
|
146587
|
+
context,
|
|
146588
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146589
|
+
retryConfig: context.retryConfig,
|
|
146590
|
+
retryCodes: context.retryCodes
|
|
146591
|
+
});
|
|
146592
|
+
if (!doResult.ok) {
|
|
146593
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146594
|
+
}
|
|
146595
|
+
const response = doResult.value;
|
|
146596
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
146597
|
+
if (!result.ok) {
|
|
146598
|
+
return [result, { status: "complete", request: req, response }];
|
|
146599
|
+
}
|
|
146600
|
+
return [result, { status: "complete", request: req, response }];
|
|
146601
|
+
}
|
|
146602
|
+
var init_sandboxGetPricing = __esm(() => {
|
|
146603
|
+
init_http();
|
|
146604
|
+
init_matchers();
|
|
146605
|
+
init_primitives();
|
|
146606
|
+
init_security();
|
|
146607
|
+
init_url();
|
|
146608
|
+
init_components();
|
|
146609
|
+
init_async();
|
|
146610
|
+
});
|
|
146611
|
+
|
|
146612
|
+
// src/mcp-server/tools/sandboxGetPricing.ts
|
|
146613
|
+
var tool$sandboxGetPricing;
|
|
146614
|
+
var init_sandboxGetPricing2 = __esm(() => {
|
|
146615
|
+
init_sandboxGetPricing();
|
|
146616
|
+
init_tools();
|
|
146617
|
+
tool$sandboxGetPricing = {
|
|
146618
|
+
name: "sandbox-get-pricing",
|
|
146619
|
+
description: `Get Sandbox Pricing
|
|
146620
|
+
|
|
146621
|
+
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.`,
|
|
146622
|
+
tool: async (client, ctx) => {
|
|
146623
|
+
const [result, apiCall] = await sandboxGetPricing(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146624
|
+
if (!result.ok) {
|
|
146625
|
+
return {
|
|
146626
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146627
|
+
isError: true
|
|
146628
|
+
};
|
|
146629
|
+
}
|
|
146630
|
+
const value = result.value;
|
|
146631
|
+
return formatResult(value, apiCall);
|
|
146632
|
+
}
|
|
146633
|
+
};
|
|
146634
|
+
});
|
|
146635
|
+
|
|
146636
|
+
// src/funcs/sandboxGetWorkspace.ts
|
|
146637
|
+
function sandboxGetWorkspace(client, request, options) {
|
|
146638
|
+
return new APIPromise($do345(client, request, options));
|
|
146639
|
+
}
|
|
146640
|
+
async function $do345(client, request, options) {
|
|
146641
|
+
const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146642
|
+
if (!parsed.ok) {
|
|
146643
|
+
return [parsed, { status: "invalid" }];
|
|
146644
|
+
}
|
|
146645
|
+
const payload = parsed.value;
|
|
146646
|
+
const body = null;
|
|
146647
|
+
const pathParams = {
|
|
146648
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146649
|
+
explode: false,
|
|
146650
|
+
charEncoding: "percent"
|
|
146651
|
+
})
|
|
146652
|
+
};
|
|
146653
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
146654
|
+
const query = encodeFormQuery({
|
|
146655
|
+
session_token: payload.session_token
|
|
146656
|
+
});
|
|
146657
|
+
const headers = new Headers(compactMap({
|
|
146658
|
+
Accept: "application/json",
|
|
146659
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146660
|
+
}));
|
|
146661
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146662
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146663
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146664
|
+
const context = {
|
|
146665
|
+
options: client._options,
|
|
146666
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146667
|
+
operationID: "getWorkspace",
|
|
146668
|
+
oAuth2Scopes: null,
|
|
146669
|
+
resolvedSecurity: requestSecurity,
|
|
146670
|
+
securitySource: client._options.bearerAuth,
|
|
146671
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146672
|
+
strategy: "backoff",
|
|
146673
|
+
backoff: {
|
|
146674
|
+
initialInterval: 500,
|
|
146675
|
+
maxInterval: 5000,
|
|
146676
|
+
exponent: 1.5,
|
|
146677
|
+
maxElapsedTime: 15000
|
|
146678
|
+
},
|
|
146679
|
+
retryConnectionErrors: true
|
|
146680
|
+
},
|
|
146681
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146682
|
+
};
|
|
146683
|
+
const requestRes = client._createRequest(context, {
|
|
146684
|
+
security: requestSecurity,
|
|
146685
|
+
method: "GET",
|
|
146686
|
+
baseURL: options?.serverURL,
|
|
146687
|
+
path,
|
|
146688
|
+
headers,
|
|
146689
|
+
query,
|
|
146690
|
+
body,
|
|
146691
|
+
userAgent: client._options.userAgent,
|
|
146692
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146693
|
+
}, options);
|
|
146694
|
+
if (!requestRes.ok) {
|
|
146695
|
+
return [requestRes, { status: "invalid" }];
|
|
146696
|
+
}
|
|
146697
|
+
const req = requestRes.value;
|
|
146698
|
+
const doResult = await client._do(req, {
|
|
146699
|
+
context,
|
|
146700
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146701
|
+
retryConfig: context.retryConfig,
|
|
146702
|
+
retryCodes: context.retryCodes
|
|
146703
|
+
});
|
|
146704
|
+
if (!doResult.ok) {
|
|
146705
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146706
|
+
}
|
|
146707
|
+
const response = doResult.value;
|
|
146708
|
+
const responseFields = {
|
|
146709
|
+
HttpMeta: { Response: response, Request: req }
|
|
146710
|
+
};
|
|
146711
|
+
const [result] = await match(json(200, WorkspaceManifest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146712
|
+
if (!result.ok) {
|
|
146713
|
+
return [result, { status: "complete", request: req, response }];
|
|
146714
|
+
}
|
|
146715
|
+
return [result, { status: "complete", request: req, response }];
|
|
146716
|
+
}
|
|
146717
|
+
var init_sandboxGetWorkspace = __esm(() => {
|
|
146718
|
+
init_encodings();
|
|
146719
|
+
init_http();
|
|
146720
|
+
init_matchers();
|
|
146721
|
+
init_primitives();
|
|
146722
|
+
init_schemas4();
|
|
146723
|
+
init_security();
|
|
146724
|
+
init_url();
|
|
146725
|
+
init_components();
|
|
146726
|
+
init_errors4();
|
|
146727
|
+
init_operations();
|
|
146728
|
+
init_async();
|
|
146729
|
+
});
|
|
146730
|
+
|
|
146731
|
+
// src/mcp-server/tools/sandboxGetWorkspace.ts
|
|
146732
|
+
var args336, tool$sandboxGetWorkspace;
|
|
146733
|
+
var init_sandboxGetWorkspace2 = __esm(() => {
|
|
146734
|
+
init_sandboxGetWorkspace();
|
|
146735
|
+
init_operations();
|
|
146736
|
+
init_tools();
|
|
146737
|
+
args336 = {
|
|
146738
|
+
request: GetWorkspaceRequest$inboundSchema
|
|
146739
|
+
};
|
|
146740
|
+
tool$sandboxGetWorkspace = {
|
|
146741
|
+
name: "sandbox-get-workspace",
|
|
146742
|
+
description: `Get Workspace Manifest
|
|
146743
|
+
|
|
146744
|
+
List files currently stored in the session workspace, including paths, sizes, and etags.`,
|
|
146745
|
+
args: args336,
|
|
146746
|
+
tool: async (client, args337, ctx) => {
|
|
146747
|
+
const [result, apiCall] = await sandboxGetWorkspace(client, args337.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146748
|
+
if (!result.ok) {
|
|
146749
|
+
return {
|
|
146750
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146751
|
+
isError: true
|
|
146752
|
+
};
|
|
146753
|
+
}
|
|
146754
|
+
const value = result.value;
|
|
146755
|
+
return formatResult(value, apiCall);
|
|
146756
|
+
}
|
|
146757
|
+
};
|
|
146758
|
+
});
|
|
146759
|
+
|
|
146760
|
+
// src/funcs/sandboxList.ts
|
|
146761
|
+
function sandboxList(client, request, options) {
|
|
146762
|
+
return new APIPromise($do346(client, request, options));
|
|
146763
|
+
}
|
|
146764
|
+
async function $do346(client, request, options) {
|
|
146765
|
+
const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146766
|
+
if (!parsed.ok) {
|
|
146767
|
+
return [parsed, { status: "invalid" }];
|
|
146768
|
+
}
|
|
146769
|
+
const payload = parsed.value;
|
|
146770
|
+
const body = null;
|
|
146771
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
146772
|
+
const headers = new Headers(compactMap({
|
|
146773
|
+
Accept: "application/json",
|
|
146774
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146775
|
+
}));
|
|
146776
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146777
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146778
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146779
|
+
const context = {
|
|
146780
|
+
options: client._options,
|
|
146781
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146782
|
+
operationID: "listSessions",
|
|
146783
|
+
oAuth2Scopes: null,
|
|
146784
|
+
resolvedSecurity: requestSecurity,
|
|
146785
|
+
securitySource: client._options.bearerAuth,
|
|
146786
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146787
|
+
strategy: "backoff",
|
|
146788
|
+
backoff: {
|
|
146789
|
+
initialInterval: 500,
|
|
146790
|
+
maxInterval: 5000,
|
|
146791
|
+
exponent: 1.5,
|
|
146792
|
+
maxElapsedTime: 15000
|
|
146793
|
+
},
|
|
146794
|
+
retryConnectionErrors: true
|
|
146795
|
+
},
|
|
146796
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146797
|
+
};
|
|
146798
|
+
const requestRes = client._createRequest(context, {
|
|
146799
|
+
security: requestSecurity,
|
|
146800
|
+
method: "GET",
|
|
146801
|
+
baseURL: options?.serverURL,
|
|
146802
|
+
path,
|
|
146803
|
+
headers,
|
|
146804
|
+
body,
|
|
146805
|
+
userAgent: client._options.userAgent,
|
|
146806
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146807
|
+
}, options);
|
|
146808
|
+
if (!requestRes.ok) {
|
|
146809
|
+
return [requestRes, { status: "invalid" }];
|
|
146810
|
+
}
|
|
146811
|
+
const req = requestRes.value;
|
|
146812
|
+
const doResult = await client._do(req, {
|
|
146813
|
+
context,
|
|
146814
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146815
|
+
retryConfig: context.retryConfig,
|
|
146816
|
+
retryCodes: context.retryCodes
|
|
146817
|
+
});
|
|
146818
|
+
if (!doResult.ok) {
|
|
146819
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146820
|
+
}
|
|
146821
|
+
const response = doResult.value;
|
|
146822
|
+
const responseFields = {
|
|
146823
|
+
HttpMeta: { Response: response, Request: req }
|
|
146824
|
+
};
|
|
146825
|
+
const [result] = await match(json(200, arrayType(SessionRecord$inboundSchema)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146826
|
+
if (!result.ok) {
|
|
146827
|
+
return [result, { status: "complete", request: req, response }];
|
|
146828
|
+
}
|
|
146829
|
+
return [result, { status: "complete", request: req, response }];
|
|
146830
|
+
}
|
|
146831
|
+
var init_sandboxList = __esm(() => {
|
|
146832
|
+
init_esm();
|
|
146833
|
+
init_encodings();
|
|
146834
|
+
init_http();
|
|
146835
|
+
init_matchers();
|
|
146836
|
+
init_primitives();
|
|
146837
|
+
init_schemas4();
|
|
146838
|
+
init_security();
|
|
146839
|
+
init_url();
|
|
146840
|
+
init_components();
|
|
146841
|
+
init_errors4();
|
|
146842
|
+
init_operations();
|
|
146843
|
+
init_async();
|
|
146844
|
+
});
|
|
146845
|
+
|
|
146846
|
+
// src/mcp-server/tools/sandboxList.ts
|
|
146847
|
+
var args337, tool$sandboxList;
|
|
146848
|
+
var init_sandboxList2 = __esm(() => {
|
|
146849
|
+
init_sandboxList();
|
|
146850
|
+
init_operations();
|
|
146851
|
+
init_tools();
|
|
146852
|
+
args337 = {
|
|
146853
|
+
request: ListSessionsRequest$inboundSchema
|
|
146854
|
+
};
|
|
146855
|
+
tool$sandboxList = {
|
|
146856
|
+
name: "sandbox-list",
|
|
146857
|
+
description: `List Sessions
|
|
146858
|
+
|
|
146859
|
+
List sandbox sessions visible to the authenticated caller.`,
|
|
146860
|
+
args: args337,
|
|
146861
|
+
tool: async (client, args338, ctx) => {
|
|
146862
|
+
const [result, apiCall] = await sandboxList(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146863
|
+
if (!result.ok) {
|
|
146864
|
+
return {
|
|
146865
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146866
|
+
isError: true
|
|
146867
|
+
};
|
|
146868
|
+
}
|
|
146869
|
+
const value = result.value;
|
|
146870
|
+
return formatResult(value, apiCall);
|
|
146871
|
+
}
|
|
146872
|
+
};
|
|
146873
|
+
});
|
|
146874
|
+
|
|
146875
|
+
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
146876
|
+
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
146877
|
+
return new APIPromise($do347(client, request, options));
|
|
146878
|
+
}
|
|
146879
|
+
async function $do347(client, request, options) {
|
|
146880
|
+
const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146881
|
+
if (!parsed.ok) {
|
|
146882
|
+
return [parsed, { status: "invalid" }];
|
|
146883
|
+
}
|
|
146884
|
+
const payload = parsed.value;
|
|
146885
|
+
const body = null;
|
|
146886
|
+
const pathParams = {
|
|
146887
|
+
port: encodeSimple("port", payload.port, {
|
|
146888
|
+
explode: false,
|
|
146889
|
+
charEncoding: "percent"
|
|
146890
|
+
}),
|
|
146891
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146892
|
+
explode: false,
|
|
146893
|
+
charEncoding: "percent"
|
|
146894
|
+
}),
|
|
146895
|
+
subpath: encodeSimple("subpath", payload.subpath, {
|
|
146896
|
+
explode: false,
|
|
146897
|
+
charEncoding: "percent"
|
|
146898
|
+
})
|
|
146899
|
+
};
|
|
146900
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
146901
|
+
const query = encodeFormQuery({
|
|
146902
|
+
session_token: payload.session_token
|
|
146903
|
+
});
|
|
146904
|
+
const headers = new Headers(compactMap({
|
|
146905
|
+
Accept: "application/json",
|
|
146906
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146907
|
+
}));
|
|
146908
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146909
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146910
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146911
|
+
const context = {
|
|
146912
|
+
options: client._options,
|
|
146913
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146914
|
+
operationID: "proxyBrowserPortRequest",
|
|
146915
|
+
oAuth2Scopes: null,
|
|
146916
|
+
resolvedSecurity: requestSecurity,
|
|
146917
|
+
securitySource: client._options.bearerAuth,
|
|
146918
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146919
|
+
strategy: "backoff",
|
|
146920
|
+
backoff: {
|
|
146921
|
+
initialInterval: 500,
|
|
146922
|
+
maxInterval: 5000,
|
|
146923
|
+
exponent: 1.5,
|
|
146924
|
+
maxElapsedTime: 15000
|
|
146925
|
+
},
|
|
146926
|
+
retryConnectionErrors: true
|
|
146927
|
+
},
|
|
146928
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146929
|
+
};
|
|
146930
|
+
const requestRes = client._createRequest(context, {
|
|
146931
|
+
security: requestSecurity,
|
|
146932
|
+
method: "GET",
|
|
146933
|
+
baseURL: options?.serverURL,
|
|
146934
|
+
path,
|
|
146935
|
+
headers,
|
|
146936
|
+
query,
|
|
146937
|
+
body,
|
|
146938
|
+
userAgent: client._options.userAgent,
|
|
146939
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146940
|
+
}, options);
|
|
146941
|
+
if (!requestRes.ok) {
|
|
146942
|
+
return [requestRes, { status: "invalid" }];
|
|
146943
|
+
}
|
|
146944
|
+
const req = requestRes.value;
|
|
146945
|
+
const doResult = await client._do(req, {
|
|
146946
|
+
context,
|
|
146947
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146948
|
+
retryConfig: context.retryConfig,
|
|
146949
|
+
retryCodes: context.retryCodes
|
|
146950
|
+
});
|
|
146951
|
+
if (!doResult.ok) {
|
|
146952
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146953
|
+
}
|
|
146954
|
+
const response = doResult.value;
|
|
146955
|
+
const responseFields = {
|
|
146956
|
+
HttpMeta: { Response: response, Request: req }
|
|
146957
|
+
};
|
|
146958
|
+
const [result] = await match(json(200, anyType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146959
|
+
if (!result.ok) {
|
|
146960
|
+
return [result, { status: "complete", request: req, response }];
|
|
146961
|
+
}
|
|
146962
|
+
return [result, { status: "complete", request: req, response }];
|
|
146963
|
+
}
|
|
146964
|
+
var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
146965
|
+
init_esm();
|
|
146966
|
+
init_encodings();
|
|
146967
|
+
init_http();
|
|
146968
|
+
init_matchers();
|
|
146969
|
+
init_primitives();
|
|
146970
|
+
init_schemas4();
|
|
146971
|
+
init_security();
|
|
146972
|
+
init_url();
|
|
146973
|
+
init_errors4();
|
|
146974
|
+
init_operations();
|
|
146975
|
+
init_async();
|
|
146976
|
+
});
|
|
146977
|
+
|
|
146978
|
+
// src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
|
|
146979
|
+
var args338, tool$sandboxProxyBrowserPortRequest;
|
|
146980
|
+
var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
146981
|
+
init_sandboxProxyBrowserPortRequest();
|
|
146982
|
+
init_operations();
|
|
146983
|
+
init_tools();
|
|
146984
|
+
args338 = {
|
|
146985
|
+
request: ProxyBrowserPortRequestRequest$inboundSchema
|
|
146986
|
+
};
|
|
146987
|
+
tool$sandboxProxyBrowserPortRequest = {
|
|
146988
|
+
name: "sandbox-proxy-browser-port-request",
|
|
146989
|
+
description: `Proxy Browser Port Request
|
|
146990
|
+
|
|
146991
|
+
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.`,
|
|
146992
|
+
args: args338,
|
|
146993
|
+
tool: async (client, args339, ctx) => {
|
|
146994
|
+
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146995
|
+
if (!result.ok) {
|
|
146996
|
+
return {
|
|
146997
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146998
|
+
isError: true
|
|
146999
|
+
};
|
|
147000
|
+
}
|
|
147001
|
+
const value = result.value;
|
|
147002
|
+
return formatResult(value, apiCall);
|
|
147003
|
+
}
|
|
147004
|
+
};
|
|
147005
|
+
});
|
|
147006
|
+
|
|
147007
|
+
// src/funcs/sandboxRunCode.ts
|
|
147008
|
+
function sandboxRunCode(client, request, options) {
|
|
147009
|
+
return new APIPromise($do348(client, request, options));
|
|
147010
|
+
}
|
|
147011
|
+
async function $do348(client, request, options) {
|
|
147012
|
+
const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147013
|
+
if (!parsed.ok) {
|
|
147014
|
+
return [parsed, { status: "invalid" }];
|
|
147015
|
+
}
|
|
147016
|
+
const payload = parsed.value;
|
|
147017
|
+
const body = encodeJSON("body", payload.CodeRequest, { explode: true });
|
|
147018
|
+
const pathParams = {
|
|
147019
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147020
|
+
explode: false,
|
|
147021
|
+
charEncoding: "percent"
|
|
147022
|
+
})
|
|
147023
|
+
};
|
|
147024
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
147025
|
+
const headers = new Headers(compactMap({
|
|
147026
|
+
"Content-Type": "application/json",
|
|
147027
|
+
Accept: "application/json",
|
|
147028
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147029
|
+
}));
|
|
147030
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147031
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147032
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147033
|
+
const context = {
|
|
147034
|
+
options: client._options,
|
|
147035
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147036
|
+
operationID: "runCode",
|
|
147037
|
+
oAuth2Scopes: null,
|
|
147038
|
+
resolvedSecurity: requestSecurity,
|
|
147039
|
+
securitySource: client._options.bearerAuth,
|
|
147040
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147041
|
+
strategy: "backoff",
|
|
147042
|
+
backoff: {
|
|
147043
|
+
initialInterval: 500,
|
|
147044
|
+
maxInterval: 5000,
|
|
147045
|
+
exponent: 1.5,
|
|
147046
|
+
maxElapsedTime: 15000
|
|
147047
|
+
},
|
|
147048
|
+
retryConnectionErrors: true
|
|
147049
|
+
},
|
|
147050
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147051
|
+
};
|
|
147052
|
+
const requestRes = client._createRequest(context, {
|
|
147053
|
+
security: requestSecurity,
|
|
147054
|
+
method: "POST",
|
|
147055
|
+
baseURL: options?.serverURL,
|
|
147056
|
+
path,
|
|
147057
|
+
headers,
|
|
147058
|
+
body,
|
|
147059
|
+
userAgent: client._options.userAgent,
|
|
147060
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147061
|
+
}, options);
|
|
147062
|
+
if (!requestRes.ok) {
|
|
147063
|
+
return [requestRes, { status: "invalid" }];
|
|
147064
|
+
}
|
|
147065
|
+
const req = requestRes.value;
|
|
147066
|
+
const doResult = await client._do(req, {
|
|
147067
|
+
context,
|
|
147068
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147069
|
+
retryConfig: context.retryConfig,
|
|
147070
|
+
retryCodes: context.retryCodes
|
|
147071
|
+
});
|
|
147072
|
+
if (!doResult.ok) {
|
|
147073
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147074
|
+
}
|
|
147075
|
+
const response = doResult.value;
|
|
147076
|
+
const responseFields = {
|
|
147077
|
+
HttpMeta: { Response: response, Request: req }
|
|
147078
|
+
};
|
|
147079
|
+
const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147080
|
+
if (!result.ok) {
|
|
147081
|
+
return [result, { status: "complete", request: req, response }];
|
|
147082
|
+
}
|
|
147083
|
+
return [result, { status: "complete", request: req, response }];
|
|
147084
|
+
}
|
|
147085
|
+
var init_sandboxRunCode = __esm(() => {
|
|
147086
|
+
init_encodings();
|
|
147087
|
+
init_http();
|
|
147088
|
+
init_matchers();
|
|
147089
|
+
init_primitives();
|
|
147090
|
+
init_schemas4();
|
|
147091
|
+
init_security();
|
|
147092
|
+
init_url();
|
|
147093
|
+
init_components();
|
|
147094
|
+
init_errors4();
|
|
147095
|
+
init_operations();
|
|
147096
|
+
init_async();
|
|
147097
|
+
});
|
|
147098
|
+
|
|
147099
|
+
// src/mcp-server/tools/sandboxRunCode.ts
|
|
147100
|
+
var args339, tool$sandboxRunCode;
|
|
147101
|
+
var init_sandboxRunCode2 = __esm(() => {
|
|
147102
|
+
init_sandboxRunCode();
|
|
147103
|
+
init_operations();
|
|
147104
|
+
init_tools();
|
|
147105
|
+
args339 = {
|
|
147106
|
+
request: RunCodeRequest$inboundSchema
|
|
147107
|
+
};
|
|
147108
|
+
tool$sandboxRunCode = {
|
|
147109
|
+
name: "sandbox-run-code",
|
|
147110
|
+
description: `Run Code
|
|
147111
|
+
|
|
147112
|
+
Execute source code in the session workspace using a supported runtime and return the execution result.`,
|
|
147113
|
+
args: args339,
|
|
147114
|
+
tool: async (client, args340, ctx) => {
|
|
147115
|
+
const [result, apiCall] = await sandboxRunCode(client, args340.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147116
|
+
if (!result.ok) {
|
|
147117
|
+
return {
|
|
147118
|
+
content: [{ type: "text", text: result.error.message }],
|
|
147119
|
+
isError: true
|
|
147120
|
+
};
|
|
147121
|
+
}
|
|
147122
|
+
const value = result.value;
|
|
147123
|
+
return formatResult(value, apiCall);
|
|
147124
|
+
}
|
|
147125
|
+
};
|
|
147126
|
+
});
|
|
147127
|
+
|
|
147128
|
+
// src/funcs/sandboxRunCommand.ts
|
|
147129
|
+
function sandboxRunCommand(client, request, options) {
|
|
147130
|
+
return new APIPromise($do349(client, request, options));
|
|
147131
|
+
}
|
|
147132
|
+
async function $do349(client, request, options) {
|
|
147133
|
+
const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147134
|
+
if (!parsed.ok) {
|
|
147135
|
+
return [parsed, { status: "invalid" }];
|
|
147136
|
+
}
|
|
147137
|
+
const payload = parsed.value;
|
|
147138
|
+
const body = encodeJSON("body", payload.CommandRequest, { explode: true });
|
|
147139
|
+
const pathParams = {
|
|
147140
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147141
|
+
explode: false,
|
|
147142
|
+
charEncoding: "percent"
|
|
147143
|
+
})
|
|
147144
|
+
};
|
|
147145
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
|
|
147146
|
+
const headers = new Headers(compactMap({
|
|
147147
|
+
"Content-Type": "application/json",
|
|
147148
|
+
Accept: "application/json",
|
|
147149
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147150
|
+
}));
|
|
147151
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147152
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147153
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147154
|
+
const context = {
|
|
147155
|
+
options: client._options,
|
|
147156
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147157
|
+
operationID: "runCommand",
|
|
147158
|
+
oAuth2Scopes: null,
|
|
147159
|
+
resolvedSecurity: requestSecurity,
|
|
147160
|
+
securitySource: client._options.bearerAuth,
|
|
147161
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147162
|
+
strategy: "backoff",
|
|
147163
|
+
backoff: {
|
|
147164
|
+
initialInterval: 500,
|
|
147165
|
+
maxInterval: 5000,
|
|
147166
|
+
exponent: 1.5,
|
|
147167
|
+
maxElapsedTime: 15000
|
|
147168
|
+
},
|
|
147169
|
+
retryConnectionErrors: true
|
|
147170
|
+
},
|
|
147171
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147172
|
+
};
|
|
147173
|
+
const requestRes = client._createRequest(context, {
|
|
147174
|
+
security: requestSecurity,
|
|
147175
|
+
method: "POST",
|
|
147176
|
+
baseURL: options?.serverURL,
|
|
147177
|
+
path,
|
|
147178
|
+
headers,
|
|
147179
|
+
body,
|
|
147180
|
+
userAgent: client._options.userAgent,
|
|
147181
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147182
|
+
}, options);
|
|
147183
|
+
if (!requestRes.ok) {
|
|
147184
|
+
return [requestRes, { status: "invalid" }];
|
|
147185
|
+
}
|
|
147186
|
+
const req = requestRes.value;
|
|
147187
|
+
const doResult = await client._do(req, {
|
|
147188
|
+
context,
|
|
147189
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147190
|
+
retryConfig: context.retryConfig,
|
|
147191
|
+
retryCodes: context.retryCodes
|
|
147192
|
+
});
|
|
147193
|
+
if (!doResult.ok) {
|
|
147194
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147195
|
+
}
|
|
147196
|
+
const response = doResult.value;
|
|
147197
|
+
const responseFields = {
|
|
147198
|
+
HttpMeta: { Response: response, Request: req }
|
|
147199
|
+
};
|
|
147200
|
+
const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147201
|
+
if (!result.ok) {
|
|
147202
|
+
return [result, { status: "complete", request: req, response }];
|
|
147203
|
+
}
|
|
147204
|
+
return [result, { status: "complete", request: req, response }];
|
|
147205
|
+
}
|
|
147206
|
+
var init_sandboxRunCommand = __esm(() => {
|
|
147207
|
+
init_encodings();
|
|
147208
|
+
init_http();
|
|
147209
|
+
init_matchers();
|
|
147210
|
+
init_primitives();
|
|
147211
|
+
init_schemas4();
|
|
147212
|
+
init_security();
|
|
147213
|
+
init_url();
|
|
147214
|
+
init_components();
|
|
147215
|
+
init_errors4();
|
|
147216
|
+
init_operations();
|
|
147217
|
+
init_async();
|
|
147218
|
+
});
|
|
147219
|
+
|
|
147220
|
+
// src/mcp-server/tools/sandboxRunCommand.ts
|
|
147221
|
+
var args340, tool$sandboxRunCommand;
|
|
147222
|
+
var init_sandboxRunCommand2 = __esm(() => {
|
|
147223
|
+
init_sandboxRunCommand();
|
|
147224
|
+
init_operations();
|
|
147225
|
+
init_tools();
|
|
147226
|
+
args340 = {
|
|
147227
|
+
request: RunCommandRequest$inboundSchema
|
|
147228
|
+
};
|
|
147229
|
+
tool$sandboxRunCommand = {
|
|
147230
|
+
name: "sandbox-run-command",
|
|
147231
|
+
description: `Run Command
|
|
147232
|
+
|
|
147233
|
+
Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
|
|
147234
|
+
args: args340,
|
|
147235
|
+
tool: async (client, args341, ctx) => {
|
|
147236
|
+
const [result, apiCall] = await sandboxRunCommand(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147237
|
+
if (!result.ok) {
|
|
147238
|
+
return {
|
|
147239
|
+
content: [{ type: "text", text: result.error.message }],
|
|
147240
|
+
isError: true
|
|
147241
|
+
};
|
|
147242
|
+
}
|
|
147243
|
+
const value = result.value;
|
|
147244
|
+
return formatResult(value, apiCall);
|
|
147245
|
+
}
|
|
147246
|
+
};
|
|
147247
|
+
});
|
|
147248
|
+
|
|
147249
|
+
// src/funcs/sandboxSetPricing.ts
|
|
147250
|
+
function sandboxSetPricing(client, request, options) {
|
|
147251
|
+
return new APIPromise($do350(client, request, options));
|
|
147252
|
+
}
|
|
147253
|
+
async function $do350(client, request, options) {
|
|
147254
|
+
const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
147255
|
+
if (!parsed.ok) {
|
|
147256
|
+
return [parsed, { status: "invalid" }];
|
|
147257
|
+
}
|
|
147258
|
+
const payload = parsed.value;
|
|
147259
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
147260
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
147261
|
+
const headers = new Headers(compactMap({
|
|
147262
|
+
"Content-Type": "application/json",
|
|
147263
|
+
Accept: "application/json"
|
|
147264
|
+
}));
|
|
147265
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147266
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147267
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147268
|
+
const context = {
|
|
147269
|
+
options: client._options,
|
|
147270
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147271
|
+
operationID: "setSandboxPricing",
|
|
147272
|
+
oAuth2Scopes: null,
|
|
147273
|
+
resolvedSecurity: requestSecurity,
|
|
147274
|
+
securitySource: client._options.bearerAuth,
|
|
147275
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147276
|
+
strategy: "backoff",
|
|
147277
|
+
backoff: {
|
|
147278
|
+
initialInterval: 500,
|
|
147279
|
+
maxInterval: 5000,
|
|
147280
|
+
exponent: 1.5,
|
|
147281
|
+
maxElapsedTime: 15000
|
|
147282
|
+
},
|
|
147283
|
+
retryConnectionErrors: true
|
|
147284
|
+
},
|
|
147285
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147286
|
+
};
|
|
147287
|
+
const requestRes = client._createRequest(context, {
|
|
147288
|
+
security: requestSecurity,
|
|
147289
|
+
method: "PUT",
|
|
147290
|
+
baseURL: options?.serverURL,
|
|
147291
|
+
path,
|
|
147292
|
+
headers,
|
|
147293
|
+
body,
|
|
147294
|
+
userAgent: client._options.userAgent,
|
|
147295
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147296
|
+
}, options);
|
|
147297
|
+
if (!requestRes.ok) {
|
|
147298
|
+
return [requestRes, { status: "invalid" }];
|
|
147299
|
+
}
|
|
147300
|
+
const req = requestRes.value;
|
|
147301
|
+
const doResult = await client._do(req, {
|
|
147302
|
+
context,
|
|
147303
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147304
|
+
retryConfig: context.retryConfig,
|
|
147305
|
+
retryCodes: context.retryCodes
|
|
147306
|
+
});
|
|
147307
|
+
if (!doResult.ok) {
|
|
147308
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147309
|
+
}
|
|
147310
|
+
const response = doResult.value;
|
|
147311
|
+
const responseFields = {
|
|
147312
|
+
HttpMeta: { Response: response, Request: req }
|
|
147313
|
+
};
|
|
147314
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145662
147315
|
if (!result.ok) {
|
|
145663
147316
|
return [result, { status: "complete", request: req, response }];
|
|
145664
147317
|
}
|
|
145665
147318
|
return [result, { status: "complete", request: req, response }];
|
|
145666
147319
|
}
|
|
145667
|
-
var
|
|
147320
|
+
var init_sandboxSetPricing = __esm(() => {
|
|
145668
147321
|
init_encodings();
|
|
145669
147322
|
init_http();
|
|
145670
147323
|
init_matchers();
|
|
@@ -145674,27 +147327,26 @@ var init_sandboxGet = __esm(() => {
|
|
|
145674
147327
|
init_url();
|
|
145675
147328
|
init_components();
|
|
145676
147329
|
init_errors4();
|
|
145677
|
-
init_operations();
|
|
145678
147330
|
init_async();
|
|
145679
147331
|
});
|
|
145680
147332
|
|
|
145681
|
-
// src/mcp-server/tools/
|
|
145682
|
-
var
|
|
145683
|
-
var
|
|
145684
|
-
|
|
145685
|
-
|
|
147333
|
+
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
147334
|
+
var args341, tool$sandboxSetPricing;
|
|
147335
|
+
var init_sandboxSetPricing2 = __esm(() => {
|
|
147336
|
+
init_sandboxSetPricing();
|
|
147337
|
+
init_components();
|
|
145686
147338
|
init_tools();
|
|
145687
|
-
|
|
145688
|
-
request:
|
|
147339
|
+
args341 = {
|
|
147340
|
+
request: SandboxPricingUpdate$inboundSchema
|
|
145689
147341
|
};
|
|
145690
|
-
tool$
|
|
145691
|
-
name: "sandbox-
|
|
145692
|
-
description: `
|
|
147342
|
+
tool$sandboxSetPricing = {
|
|
147343
|
+
name: "sandbox-set-pricing",
|
|
147344
|
+
description: `Set Sandbox Pricing
|
|
145693
147345
|
|
|
145694
|
-
|
|
145695
|
-
args:
|
|
145696
|
-
tool: async (client,
|
|
145697
|
-
const [result, apiCall] = await
|
|
147346
|
+
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.`,
|
|
147347
|
+
args: args341,
|
|
147348
|
+
tool: async (client, args342, ctx) => {
|
|
147349
|
+
const [result, apiCall] = await sandboxSetPricing(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145698
147350
|
if (!result.ok) {
|
|
145699
147351
|
return {
|
|
145700
147352
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145707,28 +147359,28 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
145707
147359
|
};
|
|
145708
147360
|
});
|
|
145709
147361
|
|
|
145710
|
-
// src/funcs/
|
|
145711
|
-
function
|
|
145712
|
-
return new APIPromise($
|
|
147362
|
+
// src/funcs/sandboxTerminate.ts
|
|
147363
|
+
function sandboxTerminate(client, request, options) {
|
|
147364
|
+
return new APIPromise($do351(client, request, options));
|
|
145713
147365
|
}
|
|
145714
|
-
async function $
|
|
145715
|
-
const parsed = safeParse4(request, (value) =>
|
|
147366
|
+
async function $do351(client, request, options) {
|
|
147367
|
+
const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
145716
147368
|
if (!parsed.ok) {
|
|
145717
147369
|
return [parsed, { status: "invalid" }];
|
|
145718
147370
|
}
|
|
145719
147371
|
const payload = parsed.value;
|
|
145720
|
-
const body =
|
|
147372
|
+
const body = encodeJSON("body", payload.TerminateSessionRequest, {
|
|
147373
|
+
explode: true
|
|
147374
|
+
});
|
|
145721
147375
|
const pathParams = {
|
|
145722
147376
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145723
147377
|
explode: false,
|
|
145724
147378
|
charEncoding: "percent"
|
|
145725
147379
|
})
|
|
145726
147380
|
};
|
|
145727
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
145728
|
-
const query = encodeFormQuery({
|
|
145729
|
-
session_token: payload.session_token
|
|
145730
|
-
});
|
|
147381
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
145731
147382
|
const headers = new Headers(compactMap({
|
|
147383
|
+
"Content-Type": "application/json",
|
|
145732
147384
|
Accept: "application/json",
|
|
145733
147385
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145734
147386
|
}));
|
|
@@ -145738,7 +147390,7 @@ async function $do343(client, request, options) {
|
|
|
145738
147390
|
const context = {
|
|
145739
147391
|
options: client._options,
|
|
145740
147392
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145741
|
-
operationID: "
|
|
147393
|
+
operationID: "terminateSession",
|
|
145742
147394
|
oAuth2Scopes: null,
|
|
145743
147395
|
resolvedSecurity: requestSecurity,
|
|
145744
147396
|
securitySource: client._options.bearerAuth,
|
|
@@ -145756,11 +147408,10 @@ async function $do343(client, request, options) {
|
|
|
145756
147408
|
};
|
|
145757
147409
|
const requestRes = client._createRequest(context, {
|
|
145758
147410
|
security: requestSecurity,
|
|
145759
|
-
method: "
|
|
147411
|
+
method: "POST",
|
|
145760
147412
|
baseURL: options?.serverURL,
|
|
145761
147413
|
path,
|
|
145762
147414
|
headers,
|
|
145763
|
-
query,
|
|
145764
147415
|
body,
|
|
145765
147416
|
userAgent: client._options.userAgent,
|
|
145766
147417
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -145782,13 +147433,13 @@ async function $do343(client, request, options) {
|
|
|
145782
147433
|
const responseFields = {
|
|
145783
147434
|
HttpMeta: { Response: response, Request: req }
|
|
145784
147435
|
};
|
|
145785
|
-
const [result] = await match(json(200,
|
|
147436
|
+
const [result] = await match(json(200, TerminateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145786
147437
|
if (!result.ok) {
|
|
145787
147438
|
return [result, { status: "complete", request: req, response }];
|
|
145788
147439
|
}
|
|
145789
147440
|
return [result, { status: "complete", request: req, response }];
|
|
145790
147441
|
}
|
|
145791
|
-
var
|
|
147442
|
+
var init_sandboxTerminate = __esm(() => {
|
|
145792
147443
|
init_encodings();
|
|
145793
147444
|
init_http();
|
|
145794
147445
|
init_matchers();
|
|
@@ -145802,23 +147453,23 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
145802
147453
|
init_async();
|
|
145803
147454
|
});
|
|
145804
147455
|
|
|
145805
|
-
// src/mcp-server/tools/
|
|
145806
|
-
var
|
|
145807
|
-
var
|
|
145808
|
-
|
|
147456
|
+
// src/mcp-server/tools/sandboxTerminate.ts
|
|
147457
|
+
var args342, tool$sandboxTerminate;
|
|
147458
|
+
var init_sandboxTerminate2 = __esm(() => {
|
|
147459
|
+
init_sandboxTerminate();
|
|
145809
147460
|
init_operations();
|
|
145810
147461
|
init_tools();
|
|
145811
|
-
|
|
145812
|
-
request:
|
|
147462
|
+
args342 = {
|
|
147463
|
+
request: TerminateSessionRequest$inboundSchema2
|
|
145813
147464
|
};
|
|
145814
|
-
tool$
|
|
145815
|
-
name: "sandbox-
|
|
145816
|
-
description: `
|
|
147465
|
+
tool$sandboxTerminate = {
|
|
147466
|
+
name: "sandbox-terminate",
|
|
147467
|
+
description: `Terminate Session
|
|
145817
147468
|
|
|
145818
|
-
|
|
145819
|
-
args:
|
|
145820
|
-
tool: async (client,
|
|
145821
|
-
const [result, apiCall] = await
|
|
147469
|
+
Stop a sandbox session and release the backing sandbox resources.`,
|
|
147470
|
+
args: args342,
|
|
147471
|
+
tool: async (client, args343, ctx) => {
|
|
147472
|
+
const [result, apiCall] = await sandboxTerminate(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145822
147473
|
if (!result.ok) {
|
|
145823
147474
|
return {
|
|
145824
147475
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145831,14 +147482,31 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
145831
147482
|
};
|
|
145832
147483
|
});
|
|
145833
147484
|
|
|
145834
|
-
// src/funcs/
|
|
145835
|
-
function
|
|
145836
|
-
return new APIPromise($
|
|
147485
|
+
// src/funcs/sandboxUploadArchive.ts
|
|
147486
|
+
function sandboxUploadArchive(client, request, options) {
|
|
147487
|
+
return new APIPromise($do352(client, request, options));
|
|
145837
147488
|
}
|
|
145838
|
-
async function $
|
|
145839
|
-
const
|
|
147489
|
+
async function $do352(client, request, options) {
|
|
147490
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147491
|
+
if (!parsed.ok) {
|
|
147492
|
+
return [parsed, { status: "invalid" }];
|
|
147493
|
+
}
|
|
147494
|
+
const payload = parsed.value;
|
|
147495
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
147496
|
+
const pathParams = {
|
|
147497
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147498
|
+
explode: false,
|
|
147499
|
+
charEncoding: "percent"
|
|
147500
|
+
})
|
|
147501
|
+
};
|
|
147502
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
147503
|
+
const query = encodeFormQuery({
|
|
147504
|
+
session_token: payload.session_token
|
|
147505
|
+
});
|
|
145840
147506
|
const headers = new Headers(compactMap({
|
|
145841
|
-
|
|
147507
|
+
"Content-Type": "application/zip",
|
|
147508
|
+
Accept: "application/json",
|
|
147509
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145842
147510
|
}));
|
|
145843
147511
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
145844
147512
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -145846,7 +147514,7 @@ async function $do344(client, options) {
|
|
|
145846
147514
|
const context = {
|
|
145847
147515
|
options: client._options,
|
|
145848
147516
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145849
|
-
operationID: "
|
|
147517
|
+
operationID: "uploadWorkspaceArchive",
|
|
145850
147518
|
oAuth2Scopes: null,
|
|
145851
147519
|
resolvedSecurity: requestSecurity,
|
|
145852
147520
|
securitySource: client._options.bearerAuth,
|
|
@@ -145864,10 +147532,12 @@ async function $do344(client, options) {
|
|
|
145864
147532
|
};
|
|
145865
147533
|
const requestRes = client._createRequest(context, {
|
|
145866
147534
|
security: requestSecurity,
|
|
145867
|
-
method: "
|
|
147535
|
+
method: "PUT",
|
|
145868
147536
|
baseURL: options?.serverURL,
|
|
145869
147537
|
path,
|
|
145870
147538
|
headers,
|
|
147539
|
+
query,
|
|
147540
|
+
body,
|
|
145871
147541
|
userAgent: client._options.userAgent,
|
|
145872
147542
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
145873
147543
|
}, options);
|
|
@@ -145885,34 +147555,46 @@ async function $do344(client, options) {
|
|
|
145885
147555
|
return [doResult, { status: "request-error", request: req }];
|
|
145886
147556
|
}
|
|
145887
147557
|
const response = doResult.value;
|
|
145888
|
-
const
|
|
147558
|
+
const responseFields = {
|
|
147559
|
+
HttpMeta: { Response: response, Request: req }
|
|
147560
|
+
};
|
|
147561
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145889
147562
|
if (!result.ok) {
|
|
145890
147563
|
return [result, { status: "complete", request: req, response }];
|
|
145891
147564
|
}
|
|
145892
147565
|
return [result, { status: "complete", request: req, response }];
|
|
145893
147566
|
}
|
|
145894
|
-
var
|
|
147567
|
+
var init_sandboxUploadArchive = __esm(() => {
|
|
147568
|
+
init_esm();
|
|
147569
|
+
init_encodings();
|
|
145895
147570
|
init_http();
|
|
145896
147571
|
init_matchers();
|
|
145897
147572
|
init_primitives();
|
|
147573
|
+
init_schemas4();
|
|
145898
147574
|
init_security();
|
|
145899
147575
|
init_url();
|
|
145900
|
-
|
|
147576
|
+
init_errors4();
|
|
147577
|
+
init_operations();
|
|
145901
147578
|
init_async();
|
|
145902
147579
|
});
|
|
145903
147580
|
|
|
145904
|
-
// src/mcp-server/tools/
|
|
145905
|
-
var tool$
|
|
145906
|
-
var
|
|
145907
|
-
|
|
147581
|
+
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
147582
|
+
var args343, tool$sandboxUploadArchive;
|
|
147583
|
+
var init_sandboxUploadArchive2 = __esm(() => {
|
|
147584
|
+
init_sandboxUploadArchive();
|
|
147585
|
+
init_operations();
|
|
145908
147586
|
init_tools();
|
|
145909
|
-
|
|
145910
|
-
|
|
145911
|
-
|
|
147587
|
+
args343 = {
|
|
147588
|
+
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
147589
|
+
};
|
|
147590
|
+
tool$sandboxUploadArchive = {
|
|
147591
|
+
name: "sandbox-upload-archive",
|
|
147592
|
+
description: `Upload Workspace Archive
|
|
145912
147593
|
|
|
145913
|
-
|
|
145914
|
-
|
|
145915
|
-
|
|
147594
|
+
Upload a zip archive and extract its files into the session workspace.`,
|
|
147595
|
+
args: args343,
|
|
147596
|
+
tool: async (client, args344, ctx) => {
|
|
147597
|
+
const [result, apiCall] = await sandboxUploadArchive(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145916
147598
|
if (!result.ok) {
|
|
145917
147599
|
return {
|
|
145918
147600
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145925,28 +147607,33 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
145925
147607
|
};
|
|
145926
147608
|
});
|
|
145927
147609
|
|
|
145928
|
-
// src/funcs/
|
|
145929
|
-
function
|
|
145930
|
-
return new APIPromise($
|
|
147610
|
+
// src/funcs/sandboxUploadFile.ts
|
|
147611
|
+
function sandboxUploadFile(client, request, options) {
|
|
147612
|
+
return new APIPromise($do353(client, request, options));
|
|
145931
147613
|
}
|
|
145932
|
-
async function $
|
|
145933
|
-
const parsed = safeParse4(request, (value) =>
|
|
147614
|
+
async function $do353(client, request, options) {
|
|
147615
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145934
147616
|
if (!parsed.ok) {
|
|
145935
147617
|
return [parsed, { status: "invalid" }];
|
|
145936
147618
|
}
|
|
145937
147619
|
const payload = parsed.value;
|
|
145938
|
-
const body =
|
|
147620
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
145939
147621
|
const pathParams = {
|
|
147622
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
147623
|
+
explode: false,
|
|
147624
|
+
charEncoding: "percent"
|
|
147625
|
+
}),
|
|
145940
147626
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145941
147627
|
explode: false,
|
|
145942
147628
|
charEncoding: "percent"
|
|
145943
147629
|
})
|
|
145944
147630
|
};
|
|
145945
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
147631
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
145946
147632
|
const query = encodeFormQuery({
|
|
145947
147633
|
session_token: payload.session_token
|
|
145948
147634
|
});
|
|
145949
147635
|
const headers = new Headers(compactMap({
|
|
147636
|
+
"Content-Type": "application/octet-stream",
|
|
145950
147637
|
Accept: "application/json",
|
|
145951
147638
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145952
147639
|
}));
|
|
@@ -145956,7 +147643,7 @@ async function $do345(client, request, options) {
|
|
|
145956
147643
|
const context = {
|
|
145957
147644
|
options: client._options,
|
|
145958
147645
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145959
|
-
operationID: "
|
|
147646
|
+
operationID: "uploadWorkspaceFile",
|
|
145960
147647
|
oAuth2Scopes: null,
|
|
145961
147648
|
resolvedSecurity: requestSecurity,
|
|
145962
147649
|
securitySource: client._options.bearerAuth,
|
|
@@ -145974,7 +147661,7 @@ async function $do345(client, request, options) {
|
|
|
145974
147661
|
};
|
|
145975
147662
|
const requestRes = client._createRequest(context, {
|
|
145976
147663
|
security: requestSecurity,
|
|
145977
|
-
method: "
|
|
147664
|
+
method: "PUT",
|
|
145978
147665
|
baseURL: options?.serverURL,
|
|
145979
147666
|
path,
|
|
145980
147667
|
headers,
|
|
@@ -146000,13 +147687,14 @@ async function $do345(client, request, options) {
|
|
|
146000
147687
|
const responseFields = {
|
|
146001
147688
|
HttpMeta: { Response: response, Request: req }
|
|
146002
147689
|
};
|
|
146003
|
-
const [result] = await match(json(200,
|
|
147690
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146004
147691
|
if (!result.ok) {
|
|
146005
147692
|
return [result, { status: "complete", request: req, response }];
|
|
146006
147693
|
}
|
|
146007
147694
|
return [result, { status: "complete", request: req, response }];
|
|
146008
147695
|
}
|
|
146009
|
-
var
|
|
147696
|
+
var init_sandboxUploadFile = __esm(() => {
|
|
147697
|
+
init_esm();
|
|
146010
147698
|
init_encodings();
|
|
146011
147699
|
init_http();
|
|
146012
147700
|
init_matchers();
|
|
@@ -146014,29 +147702,28 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
146014
147702
|
init_schemas4();
|
|
146015
147703
|
init_security();
|
|
146016
147704
|
init_url();
|
|
146017
|
-
init_components();
|
|
146018
147705
|
init_errors4();
|
|
146019
147706
|
init_operations();
|
|
146020
147707
|
init_async();
|
|
146021
147708
|
});
|
|
146022
147709
|
|
|
146023
|
-
// src/mcp-server/tools/
|
|
146024
|
-
var
|
|
146025
|
-
var
|
|
146026
|
-
|
|
147710
|
+
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
147711
|
+
var args344, tool$sandboxUploadFile;
|
|
147712
|
+
var init_sandboxUploadFile2 = __esm(() => {
|
|
147713
|
+
init_sandboxUploadFile();
|
|
146027
147714
|
init_operations();
|
|
146028
147715
|
init_tools();
|
|
146029
|
-
|
|
146030
|
-
request:
|
|
147716
|
+
args344 = {
|
|
147717
|
+
request: UploadWorkspaceFileRequest$inboundSchema
|
|
146031
147718
|
};
|
|
146032
|
-
tool$
|
|
146033
|
-
name: "sandbox-
|
|
146034
|
-
description: `
|
|
147719
|
+
tool$sandboxUploadFile = {
|
|
147720
|
+
name: "sandbox-upload-file",
|
|
147721
|
+
description: `Upload Workspace File
|
|
146035
147722
|
|
|
146036
|
-
|
|
146037
|
-
args:
|
|
146038
|
-
tool: async (client,
|
|
146039
|
-
const [result, apiCall] = await
|
|
147723
|
+
Upload raw bytes into the session workspace at the given path.`,
|
|
147724
|
+
args: args344,
|
|
147725
|
+
tool: async (client, args345, ctx) => {
|
|
147726
|
+
const [result, apiCall] = await sandboxUploadFile(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146040
147727
|
if (!result.ok) {
|
|
146041
147728
|
return {
|
|
146042
147729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146049,19 +147736,20 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
146049
147736
|
};
|
|
146050
147737
|
});
|
|
146051
147738
|
|
|
146052
|
-
// src/funcs/
|
|
146053
|
-
function
|
|
146054
|
-
return new APIPromise($
|
|
147739
|
+
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147740
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
147741
|
+
return new APIPromise($do354(client, request, options));
|
|
146055
147742
|
}
|
|
146056
|
-
async function $
|
|
146057
|
-
const parsed = safeParse4(request, (value) =>
|
|
147743
|
+
async function $do354(client, request, options) {
|
|
147744
|
+
const parsed = safeParse4(request, (value) => ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146058
147745
|
if (!parsed.ok) {
|
|
146059
147746
|
return [parsed, { status: "invalid" }];
|
|
146060
147747
|
}
|
|
146061
147748
|
const payload = parsed.value;
|
|
146062
|
-
const body =
|
|
146063
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
147749
|
+
const body = encodeJSON("body", payload.ConnectRequest, { explode: true });
|
|
147750
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146064
147751
|
const headers = new Headers(compactMap({
|
|
147752
|
+
"Content-Type": "application/json",
|
|
146065
147753
|
Accept: "application/json",
|
|
146066
147754
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146067
147755
|
}));
|
|
@@ -146071,7 +147759,7 @@ async function $do346(client, request, options) {
|
|
|
146071
147759
|
const context = {
|
|
146072
147760
|
options: client._options,
|
|
146073
147761
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146074
|
-
operationID: "
|
|
147762
|
+
operationID: "connect_api_v1_sandbox_github_oauth_connections_post",
|
|
146075
147763
|
oAuth2Scopes: null,
|
|
146076
147764
|
resolvedSecurity: requestSecurity,
|
|
146077
147765
|
securitySource: client._options.bearerAuth,
|
|
@@ -146089,7 +147777,7 @@ async function $do346(client, request, options) {
|
|
|
146089
147777
|
};
|
|
146090
147778
|
const requestRes = client._createRequest(context, {
|
|
146091
147779
|
security: requestSecurity,
|
|
146092
|
-
method: "
|
|
147780
|
+
method: "POST",
|
|
146093
147781
|
baseURL: options?.serverURL,
|
|
146094
147782
|
path,
|
|
146095
147783
|
headers,
|
|
@@ -146114,14 +147802,13 @@ async function $do346(client, request, options) {
|
|
|
146114
147802
|
const responseFields = {
|
|
146115
147803
|
HttpMeta: { Response: response, Request: req }
|
|
146116
147804
|
};
|
|
146117
|
-
const [result] = await match(json(
|
|
147805
|
+
const [result] = await match(json(201, Connection$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146118
147806
|
if (!result.ok) {
|
|
146119
147807
|
return [result, { status: "complete", request: req, response }];
|
|
146120
147808
|
}
|
|
146121
147809
|
return [result, { status: "complete", request: req, response }];
|
|
146122
147810
|
}
|
|
146123
|
-
var
|
|
146124
|
-
init_esm();
|
|
147811
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() => {
|
|
146125
147812
|
init_encodings();
|
|
146126
147813
|
init_http();
|
|
146127
147814
|
init_matchers();
|
|
@@ -146135,23 +147822,21 @@ var init_sandboxList = __esm(() => {
|
|
|
146135
147822
|
init_async();
|
|
146136
147823
|
});
|
|
146137
147824
|
|
|
146138
|
-
// src/mcp-server/tools/
|
|
146139
|
-
var
|
|
146140
|
-
var
|
|
146141
|
-
|
|
147825
|
+
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147826
|
+
var args345, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
147827
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
147828
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
146142
147829
|
init_operations();
|
|
146143
147830
|
init_tools();
|
|
146144
|
-
|
|
146145
|
-
request:
|
|
147831
|
+
args345 = {
|
|
147832
|
+
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
146146
147833
|
};
|
|
146147
|
-
tool$
|
|
146148
|
-
name: "sandbox-
|
|
146149
|
-
description: `
|
|
146150
|
-
|
|
146151
|
-
|
|
146152
|
-
|
|
146153
|
-
tool: async (client, args338, ctx) => {
|
|
146154
|
-
const [result, apiCall] = await sandboxList(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147834
|
+
tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = {
|
|
147835
|
+
name: "schema-3-other-connect-api-v1-sandbox-github-oauth-connections-post",
|
|
147836
|
+
description: `Connect`,
|
|
147837
|
+
args: args345,
|
|
147838
|
+
tool: async (client, args346, ctx) => {
|
|
147839
|
+
const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146155
147840
|
if (!result.ok) {
|
|
146156
147841
|
return {
|
|
146157
147842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146164,36 +147849,22 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
146164
147849
|
};
|
|
146165
147850
|
});
|
|
146166
147851
|
|
|
146167
|
-
// src/funcs/
|
|
146168
|
-
function
|
|
146169
|
-
return new APIPromise($
|
|
147852
|
+
// src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147853
|
+
function schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, request, options) {
|
|
147854
|
+
return new APIPromise($do355(client, request, options));
|
|
146170
147855
|
}
|
|
146171
|
-
async function $
|
|
146172
|
-
const parsed = safeParse4(request, (value) =>
|
|
147856
|
+
async function $do355(client, request, options) {
|
|
147857
|
+
const parsed = safeParse4(request, (value) => CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146173
147858
|
if (!parsed.ok) {
|
|
146174
147859
|
return [parsed, { status: "invalid" }];
|
|
146175
147860
|
}
|
|
146176
147861
|
const payload = parsed.value;
|
|
146177
|
-
const body =
|
|
146178
|
-
|
|
146179
|
-
port: encodeSimple("port", payload.port, {
|
|
146180
|
-
explode: false,
|
|
146181
|
-
charEncoding: "percent"
|
|
146182
|
-
}),
|
|
146183
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146184
|
-
explode: false,
|
|
146185
|
-
charEncoding: "percent"
|
|
146186
|
-
}),
|
|
146187
|
-
subpath: encodeSimple("subpath", payload.subpath, {
|
|
146188
|
-
explode: false,
|
|
146189
|
-
charEncoding: "percent"
|
|
146190
|
-
})
|
|
146191
|
-
};
|
|
146192
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
146193
|
-
const query = encodeFormQuery({
|
|
146194
|
-
session_token: payload.session_token
|
|
147862
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
147863
|
+
explode: true
|
|
146195
147864
|
});
|
|
147865
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
146196
147866
|
const headers = new Headers(compactMap({
|
|
147867
|
+
"Content-Type": "application/json",
|
|
146197
147868
|
Accept: "application/json",
|
|
146198
147869
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146199
147870
|
}));
|
|
@@ -146203,7 +147874,7 @@ async function $do347(client, request, options) {
|
|
|
146203
147874
|
const context = {
|
|
146204
147875
|
options: client._options,
|
|
146205
147876
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146206
|
-
operationID: "
|
|
147877
|
+
operationID: "create_environment_api_v1_sandbox_environments_post",
|
|
146207
147878
|
oAuth2Scopes: null,
|
|
146208
147879
|
resolvedSecurity: requestSecurity,
|
|
146209
147880
|
securitySource: client._options.bearerAuth,
|
|
@@ -146221,11 +147892,10 @@ async function $do347(client, request, options) {
|
|
|
146221
147892
|
};
|
|
146222
147893
|
const requestRes = client._createRequest(context, {
|
|
146223
147894
|
security: requestSecurity,
|
|
146224
|
-
method: "
|
|
147895
|
+
method: "POST",
|
|
146225
147896
|
baseURL: options?.serverURL,
|
|
146226
147897
|
path,
|
|
146227
147898
|
headers,
|
|
146228
|
-
query,
|
|
146229
147899
|
body,
|
|
146230
147900
|
userAgent: client._options.userAgent,
|
|
146231
147901
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146247,14 +147917,13 @@ async function $do347(client, request, options) {
|
|
|
146247
147917
|
const responseFields = {
|
|
146248
147918
|
HttpMeta: { Response: response, Request: req }
|
|
146249
147919
|
};
|
|
146250
|
-
const [result] = await match(json(
|
|
147920
|
+
const [result] = await match(json(201, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146251
147921
|
if (!result.ok) {
|
|
146252
147922
|
return [result, { status: "complete", request: req, response }];
|
|
146253
147923
|
}
|
|
146254
147924
|
return [result, { status: "complete", request: req, response }];
|
|
146255
147925
|
}
|
|
146256
|
-
var
|
|
146257
|
-
init_esm();
|
|
147926
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = __esm(() => {
|
|
146258
147927
|
init_encodings();
|
|
146259
147928
|
init_http();
|
|
146260
147929
|
init_matchers();
|
|
@@ -146262,28 +147931,27 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
146262
147931
|
init_schemas4();
|
|
146263
147932
|
init_security();
|
|
146264
147933
|
init_url();
|
|
147934
|
+
init_components();
|
|
146265
147935
|
init_errors4();
|
|
146266
147936
|
init_operations();
|
|
146267
147937
|
init_async();
|
|
146268
147938
|
});
|
|
146269
147939
|
|
|
146270
|
-
// src/mcp-server/tools/
|
|
146271
|
-
var
|
|
146272
|
-
var
|
|
146273
|
-
|
|
147940
|
+
// src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147941
|
+
var args346, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
|
|
147942
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() => {
|
|
147943
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost();
|
|
146274
147944
|
init_operations();
|
|
146275
147945
|
init_tools();
|
|
146276
|
-
|
|
146277
|
-
request:
|
|
147946
|
+
args346 = {
|
|
147947
|
+
request: CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema
|
|
146278
147948
|
};
|
|
146279
|
-
tool$
|
|
146280
|
-
name: "
|
|
146281
|
-
description: `
|
|
146282
|
-
|
|
146283
|
-
|
|
146284
|
-
|
|
146285
|
-
tool: async (client, args339, ctx) => {
|
|
146286
|
-
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147949
|
+
tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = {
|
|
147950
|
+
name: "schema-3-other-create-environment-api-v1-sandbox-environments-post",
|
|
147951
|
+
description: `Create Environment`,
|
|
147952
|
+
args: args346,
|
|
147953
|
+
tool: async (client, args347, ctx) => {
|
|
147954
|
+
const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146287
147955
|
if (!result.ok) {
|
|
146288
147956
|
return {
|
|
146289
147957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146296,26 +147964,19 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
146296
147964
|
};
|
|
146297
147965
|
});
|
|
146298
147966
|
|
|
146299
|
-
// src/funcs/
|
|
146300
|
-
function
|
|
146301
|
-
return new APIPromise($
|
|
147967
|
+
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
147968
|
+
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
147969
|
+
return new APIPromise($do356(client, request, options));
|
|
146302
147970
|
}
|
|
146303
|
-
async function $
|
|
146304
|
-
const parsed = safeParse4(request, (value) =>
|
|
147971
|
+
async function $do356(client, request, options) {
|
|
147972
|
+
const parsed = safeParse4(request, (value) => CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146305
147973
|
if (!parsed.ok) {
|
|
146306
147974
|
return [parsed, { status: "invalid" }];
|
|
146307
147975
|
}
|
|
146308
147976
|
const payload = parsed.value;
|
|
146309
|
-
const body =
|
|
146310
|
-
const
|
|
146311
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146312
|
-
explode: false,
|
|
146313
|
-
charEncoding: "percent"
|
|
146314
|
-
})
|
|
146315
|
-
};
|
|
146316
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
147977
|
+
const body = null;
|
|
147978
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/intents")();
|
|
146317
147979
|
const headers = new Headers(compactMap({
|
|
146318
|
-
"Content-Type": "application/json",
|
|
146319
147980
|
Accept: "application/json",
|
|
146320
147981
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146321
147982
|
}));
|
|
@@ -146325,7 +147986,7 @@ async function $do348(client, request, options) {
|
|
|
146325
147986
|
const context = {
|
|
146326
147987
|
options: client._options,
|
|
146327
147988
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146328
|
-
operationID: "
|
|
147989
|
+
operationID: "create_intent_api_v1_sandbox_github_oauth_intents_post",
|
|
146329
147990
|
oAuth2Scopes: null,
|
|
146330
147991
|
resolvedSecurity: requestSecurity,
|
|
146331
147992
|
securitySource: client._options.bearerAuth,
|
|
@@ -146365,16 +148026,13 @@ async function $do348(client, request, options) {
|
|
|
146365
148026
|
return [doResult, { status: "request-error", request: req }];
|
|
146366
148027
|
}
|
|
146367
148028
|
const response = doResult.value;
|
|
146368
|
-
const
|
|
146369
|
-
HttpMeta: { Response: response, Request: req }
|
|
146370
|
-
};
|
|
146371
|
-
const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148029
|
+
const [result] = await match(json(201, AuthorizeIntent$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
146372
148030
|
if (!result.ok) {
|
|
146373
148031
|
return [result, { status: "complete", request: req, response }];
|
|
146374
148032
|
}
|
|
146375
148033
|
return [result, { status: "complete", request: req, response }];
|
|
146376
148034
|
}
|
|
146377
|
-
var
|
|
148035
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() => {
|
|
146378
148036
|
init_encodings();
|
|
146379
148037
|
init_http();
|
|
146380
148038
|
init_matchers();
|
|
@@ -146383,28 +148041,25 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
146383
148041
|
init_security();
|
|
146384
148042
|
init_url();
|
|
146385
148043
|
init_components();
|
|
146386
|
-
init_errors4();
|
|
146387
148044
|
init_operations();
|
|
146388
148045
|
init_async();
|
|
146389
148046
|
});
|
|
146390
148047
|
|
|
146391
|
-
// src/mcp-server/tools/
|
|
146392
|
-
var
|
|
146393
|
-
var
|
|
146394
|
-
|
|
148048
|
+
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
148049
|
+
var args347, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
148050
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
148051
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
146395
148052
|
init_operations();
|
|
146396
148053
|
init_tools();
|
|
146397
|
-
|
|
146398
|
-
request:
|
|
148054
|
+
args347 = {
|
|
148055
|
+
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
146399
148056
|
};
|
|
146400
|
-
tool$
|
|
146401
|
-
name: "sandbox-
|
|
146402
|
-
description: `
|
|
146403
|
-
|
|
146404
|
-
|
|
146405
|
-
|
|
146406
|
-
tool: async (client, args340, ctx) => {
|
|
146407
|
-
const [result, apiCall] = await sandboxRunCode(client, args340.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148057
|
+
tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = {
|
|
148058
|
+
name: "schema-3-other-create-intent-api-v1-sandbox-github-oauth-intents-post",
|
|
148059
|
+
description: `Create Intent`,
|
|
148060
|
+
args: args347,
|
|
148061
|
+
tool: async (client, args348, ctx) => {
|
|
148062
|
+
const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146408
148063
|
if (!result.ok) {
|
|
146409
148064
|
return {
|
|
146410
148065
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146417,24 +148072,26 @@ Execute source code in the session workspace using a supported runtime and retur
|
|
|
146417
148072
|
};
|
|
146418
148073
|
});
|
|
146419
148074
|
|
|
146420
|
-
// src/funcs/
|
|
146421
|
-
function
|
|
146422
|
-
return new APIPromise($
|
|
148075
|
+
// src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148076
|
+
function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
|
|
148077
|
+
return new APIPromise($do357(client, request, options));
|
|
146423
148078
|
}
|
|
146424
|
-
async function $
|
|
146425
|
-
const parsed = safeParse4(request, (value) =>
|
|
148079
|
+
async function $do357(client, request, options) {
|
|
148080
|
+
const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146426
148081
|
if (!parsed.ok) {
|
|
146427
148082
|
return [parsed, { status: "invalid" }];
|
|
146428
148083
|
}
|
|
146429
148084
|
const payload = parsed.value;
|
|
146430
|
-
const body = encodeJSON("body", payload.
|
|
148085
|
+
const body = encodeJSON("body", payload.GitHubPullRequestRequest, {
|
|
148086
|
+
explode: true
|
|
148087
|
+
});
|
|
146431
148088
|
const pathParams = {
|
|
146432
148089
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146433
148090
|
explode: false,
|
|
146434
148091
|
charEncoding: "percent"
|
|
146435
148092
|
})
|
|
146436
148093
|
};
|
|
146437
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
148094
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
|
|
146438
148095
|
const headers = new Headers(compactMap({
|
|
146439
148096
|
"Content-Type": "application/json",
|
|
146440
148097
|
Accept: "application/json",
|
|
@@ -146446,7 +148103,7 @@ async function $do349(client, request, options) {
|
|
|
146446
148103
|
const context = {
|
|
146447
148104
|
options: client._options,
|
|
146448
148105
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146449
|
-
operationID: "
|
|
148106
|
+
operationID: "create_or_update_api_v1_sandbox_sessions__session_id__github_pull_request_post",
|
|
146450
148107
|
oAuth2Scopes: null,
|
|
146451
148108
|
resolvedSecurity: requestSecurity,
|
|
146452
148109
|
securitySource: client._options.bearerAuth,
|
|
@@ -146489,13 +148146,13 @@ async function $do349(client, request, options) {
|
|
|
146489
148146
|
const responseFields = {
|
|
146490
148147
|
HttpMeta: { Response: response, Request: req }
|
|
146491
148148
|
};
|
|
146492
|
-
const [result] = await match(json(200,
|
|
148149
|
+
const [result] = await match(json(200, GitHubPullRequestResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146493
148150
|
if (!result.ok) {
|
|
146494
148151
|
return [result, { status: "complete", request: req, response }];
|
|
146495
148152
|
}
|
|
146496
148153
|
return [result, { status: "complete", request: req, response }];
|
|
146497
148154
|
}
|
|
146498
|
-
var
|
|
148155
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = __esm(() => {
|
|
146499
148156
|
init_encodings();
|
|
146500
148157
|
init_http();
|
|
146501
148158
|
init_matchers();
|
|
@@ -146509,23 +148166,21 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
146509
148166
|
init_async();
|
|
146510
148167
|
});
|
|
146511
148168
|
|
|
146512
|
-
// src/mcp-server/tools/
|
|
146513
|
-
var
|
|
146514
|
-
var
|
|
146515
|
-
|
|
148169
|
+
// src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148170
|
+
var args348, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
|
|
148171
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
|
|
148172
|
+
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
|
|
146516
148173
|
init_operations();
|
|
146517
148174
|
init_tools();
|
|
146518
|
-
|
|
146519
|
-
request:
|
|
148175
|
+
args348 = {
|
|
148176
|
+
request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
|
|
146520
148177
|
};
|
|
146521
|
-
tool$
|
|
146522
|
-
name: "sandbox-
|
|
146523
|
-
description: `
|
|
146524
|
-
|
|
146525
|
-
|
|
146526
|
-
|
|
146527
|
-
tool: async (client, args341, ctx) => {
|
|
146528
|
-
const [result, apiCall] = await sandboxRunCommand(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148178
|
+
tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
|
|
148179
|
+
name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
|
|
148180
|
+
description: `Create Or Update`,
|
|
148181
|
+
args: args348,
|
|
148182
|
+
tool: async (client, args349, ctx) => {
|
|
148183
|
+
const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146529
148184
|
if (!result.ok) {
|
|
146530
148185
|
return {
|
|
146531
148186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146538,21 +148193,27 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
146538
148193
|
};
|
|
146539
148194
|
});
|
|
146540
148195
|
|
|
146541
|
-
// src/funcs/
|
|
146542
|
-
function
|
|
146543
|
-
return new APIPromise($
|
|
148196
|
+
// src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148197
|
+
function schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, request, options) {
|
|
148198
|
+
return new APIPromise($do358(client, request, options));
|
|
146544
148199
|
}
|
|
146545
|
-
async function $
|
|
146546
|
-
const parsed = safeParse4(request, (value) =>
|
|
148200
|
+
async function $do358(client, request, options) {
|
|
148201
|
+
const parsed = safeParse4(request, (value) => DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146547
148202
|
if (!parsed.ok) {
|
|
146548
148203
|
return [parsed, { status: "invalid" }];
|
|
146549
148204
|
}
|
|
146550
148205
|
const payload = parsed.value;
|
|
146551
|
-
const body =
|
|
146552
|
-
const
|
|
148206
|
+
const body = null;
|
|
148207
|
+
const pathParams = {
|
|
148208
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
148209
|
+
explode: false,
|
|
148210
|
+
charEncoding: "percent"
|
|
148211
|
+
})
|
|
148212
|
+
};
|
|
148213
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
146553
148214
|
const headers = new Headers(compactMap({
|
|
146554
|
-
|
|
146555
|
-
|
|
148215
|
+
Accept: "application/json",
|
|
148216
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146556
148217
|
}));
|
|
146557
148218
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146558
148219
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -146560,7 +148221,7 @@ async function $do350(client, request, options) {
|
|
|
146560
148221
|
const context = {
|
|
146561
148222
|
options: client._options,
|
|
146562
148223
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146563
|
-
operationID: "
|
|
148224
|
+
operationID: "delete_environment_api_v1_sandbox_environments__environment_id__delete",
|
|
146564
148225
|
oAuth2Scopes: null,
|
|
146565
148226
|
resolvedSecurity: requestSecurity,
|
|
146566
148227
|
securitySource: client._options.bearerAuth,
|
|
@@ -146578,7 +148239,7 @@ async function $do350(client, request, options) {
|
|
|
146578
148239
|
};
|
|
146579
148240
|
const requestRes = client._createRequest(context, {
|
|
146580
148241
|
security: requestSecurity,
|
|
146581
|
-
method: "
|
|
148242
|
+
method: "DELETE",
|
|
146582
148243
|
baseURL: options?.serverURL,
|
|
146583
148244
|
path,
|
|
146584
148245
|
headers,
|
|
@@ -146603,13 +148264,14 @@ async function $do350(client, request, options) {
|
|
|
146603
148264
|
const responseFields = {
|
|
146604
148265
|
HttpMeta: { Response: response, Request: req }
|
|
146605
148266
|
};
|
|
146606
|
-
const [result] = await match(
|
|
148267
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146607
148268
|
if (!result.ok) {
|
|
146608
148269
|
return [result, { status: "complete", request: req, response }];
|
|
146609
148270
|
}
|
|
146610
148271
|
return [result, { status: "complete", request: req, response }];
|
|
146611
148272
|
}
|
|
146612
|
-
var
|
|
148273
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = __esm(() => {
|
|
148274
|
+
init_esm();
|
|
146613
148275
|
init_encodings();
|
|
146614
148276
|
init_http();
|
|
146615
148277
|
init_matchers();
|
|
@@ -146617,63 +148279,51 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
146617
148279
|
init_schemas4();
|
|
146618
148280
|
init_security();
|
|
146619
148281
|
init_url();
|
|
146620
|
-
init_components();
|
|
146621
148282
|
init_errors4();
|
|
148283
|
+
init_operations();
|
|
146622
148284
|
init_async();
|
|
146623
148285
|
});
|
|
146624
148286
|
|
|
146625
|
-
// src/mcp-server/tools/
|
|
146626
|
-
var
|
|
146627
|
-
var
|
|
146628
|
-
|
|
146629
|
-
|
|
148287
|
+
// src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148288
|
+
var args349, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
|
|
148289
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2 = __esm(() => {
|
|
148290
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete();
|
|
148291
|
+
init_operations();
|
|
146630
148292
|
init_tools();
|
|
146631
|
-
|
|
146632
|
-
request:
|
|
148293
|
+
args349 = {
|
|
148294
|
+
request: DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema
|
|
146633
148295
|
};
|
|
146634
|
-
tool$
|
|
146635
|
-
name: "sandbox-
|
|
146636
|
-
description: `
|
|
146637
|
-
|
|
146638
|
-
|
|
146639
|
-
|
|
146640
|
-
tool: async (client, args342, ctx) => {
|
|
146641
|
-
const [result, apiCall] = await sandboxSetPricing(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148296
|
+
tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = {
|
|
148297
|
+
name: "schema-3-other-delete-environment-api-v1-sandbox-environments-environment-id-delete",
|
|
148298
|
+
description: `Delete Environment`,
|
|
148299
|
+
args: args349,
|
|
148300
|
+
tool: async (client, args350, ctx) => {
|
|
148301
|
+
const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146642
148302
|
if (!result.ok) {
|
|
146643
148303
|
return {
|
|
146644
148304
|
content: [{ type: "text", text: result.error.message }],
|
|
146645
148305
|
isError: true
|
|
146646
148306
|
};
|
|
146647
148307
|
}
|
|
146648
|
-
|
|
146649
|
-
return formatResult(value, apiCall);
|
|
148308
|
+
return formatResult(undefined, apiCall);
|
|
146650
148309
|
}
|
|
146651
148310
|
};
|
|
146652
148311
|
});
|
|
146653
148312
|
|
|
146654
|
-
// src/funcs/
|
|
146655
|
-
function
|
|
146656
|
-
return new APIPromise($
|
|
148313
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148314
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
148315
|
+
return new APIPromise($do359(client, request, options));
|
|
146657
148316
|
}
|
|
146658
|
-
async function $
|
|
146659
|
-
const parsed = safeParse4(request, (value) =>
|
|
148317
|
+
async function $do359(client, request, options) {
|
|
148318
|
+
const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146660
148319
|
if (!parsed.ok) {
|
|
146661
148320
|
return [parsed, { status: "invalid" }];
|
|
146662
148321
|
}
|
|
146663
148322
|
const payload = parsed.value;
|
|
146664
|
-
const body =
|
|
146665
|
-
|
|
146666
|
-
});
|
|
146667
|
-
const pathParams = {
|
|
146668
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146669
|
-
explode: false,
|
|
146670
|
-
charEncoding: "percent"
|
|
146671
|
-
})
|
|
146672
|
-
};
|
|
146673
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
148323
|
+
const body = null;
|
|
148324
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146674
148325
|
const headers = new Headers(compactMap({
|
|
146675
|
-
|
|
146676
|
-
Accept: "application/json",
|
|
148326
|
+
Accept: "*/*",
|
|
146677
148327
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146678
148328
|
}));
|
|
146679
148329
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -146682,7 +148332,7 @@ async function $do351(client, request, options) {
|
|
|
146682
148332
|
const context = {
|
|
146683
148333
|
options: client._options,
|
|
146684
148334
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146685
|
-
operationID: "
|
|
148335
|
+
operationID: "disconnect_api_v1_sandbox_github_oauth_connections_delete",
|
|
146686
148336
|
oAuth2Scopes: null,
|
|
146687
148337
|
resolvedSecurity: requestSecurity,
|
|
146688
148338
|
securitySource: client._options.bearerAuth,
|
|
@@ -146700,7 +148350,7 @@ async function $do351(client, request, options) {
|
|
|
146700
148350
|
};
|
|
146701
148351
|
const requestRes = client._createRequest(context, {
|
|
146702
148352
|
security: requestSecurity,
|
|
146703
|
-
method: "
|
|
148353
|
+
method: "DELETE",
|
|
146704
148354
|
baseURL: options?.serverURL,
|
|
146705
148355
|
path,
|
|
146706
148356
|
headers,
|
|
@@ -146722,16 +148372,14 @@ async function $do351(client, request, options) {
|
|
|
146722
148372
|
return [doResult, { status: "request-error", request: req }];
|
|
146723
148373
|
}
|
|
146724
148374
|
const response = doResult.value;
|
|
146725
|
-
const
|
|
146726
|
-
HttpMeta: { Response: response, Request: req }
|
|
146727
|
-
};
|
|
146728
|
-
const [result] = await match(json(200, TerminateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148375
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
146729
148376
|
if (!result.ok) {
|
|
146730
148377
|
return [result, { status: "complete", request: req, response }];
|
|
146731
148378
|
}
|
|
146732
148379
|
return [result, { status: "complete", request: req, response }];
|
|
146733
148380
|
}
|
|
146734
|
-
var
|
|
148381
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(() => {
|
|
148382
|
+
init_esm();
|
|
146735
148383
|
init_encodings();
|
|
146736
148384
|
init_http();
|
|
146737
148385
|
init_matchers();
|
|
@@ -146739,64 +148387,62 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
146739
148387
|
init_schemas4();
|
|
146740
148388
|
init_security();
|
|
146741
148389
|
init_url();
|
|
146742
|
-
init_components();
|
|
146743
|
-
init_errors4();
|
|
146744
148390
|
init_operations();
|
|
146745
148391
|
init_async();
|
|
146746
148392
|
});
|
|
146747
148393
|
|
|
146748
|
-
// src/mcp-server/tools/
|
|
146749
|
-
var
|
|
146750
|
-
var
|
|
146751
|
-
|
|
148394
|
+
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148395
|
+
var args350, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
148396
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
148397
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
146752
148398
|
init_operations();
|
|
146753
148399
|
init_tools();
|
|
146754
|
-
|
|
146755
|
-
request:
|
|
148400
|
+
args350 = {
|
|
148401
|
+
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
146756
148402
|
};
|
|
146757
|
-
tool$
|
|
146758
|
-
name: "sandbox-
|
|
146759
|
-
description: `
|
|
146760
|
-
|
|
146761
|
-
|
|
146762
|
-
|
|
146763
|
-
tool: async (client, args343, ctx) => {
|
|
146764
|
-
const [result, apiCall] = await sandboxTerminate(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148403
|
+
tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
|
|
148404
|
+
name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
|
|
148405
|
+
description: `Disconnect`,
|
|
148406
|
+
args: args350,
|
|
148407
|
+
tool: async (client, args351, ctx) => {
|
|
148408
|
+
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args351.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146765
148409
|
if (!result.ok) {
|
|
146766
148410
|
return {
|
|
146767
148411
|
content: [{ type: "text", text: result.error.message }],
|
|
146768
148412
|
isError: true
|
|
146769
148413
|
};
|
|
146770
148414
|
}
|
|
146771
|
-
|
|
146772
|
-
return formatResult(value, apiCall);
|
|
148415
|
+
return formatResult(undefined, apiCall);
|
|
146773
148416
|
}
|
|
146774
148417
|
};
|
|
146775
148418
|
});
|
|
146776
148419
|
|
|
146777
|
-
// src/funcs/
|
|
146778
|
-
function
|
|
146779
|
-
return new APIPromise($
|
|
148420
|
+
// src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148421
|
+
function schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, request, options) {
|
|
148422
|
+
return new APIPromise($do360(client, request, options));
|
|
146780
148423
|
}
|
|
146781
|
-
async function $
|
|
146782
|
-
const parsed = safeParse4(request, (value) =>
|
|
148424
|
+
async function $do360(client, request, options) {
|
|
148425
|
+
const parsed = safeParse4(request, (value) => DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146783
148426
|
if (!parsed.ok) {
|
|
146784
148427
|
return [parsed, { status: "invalid" }];
|
|
146785
148428
|
}
|
|
146786
148429
|
const payload = parsed.value;
|
|
146787
|
-
const body =
|
|
148430
|
+
const body = encodeJSON("body", payload.DismissSessionRepositoryRequest, {
|
|
148431
|
+
explode: true
|
|
148432
|
+
});
|
|
146788
148433
|
const pathParams = {
|
|
148434
|
+
repository_id: encodeSimple("repository_id", payload.repository_id, {
|
|
148435
|
+
explode: false,
|
|
148436
|
+
charEncoding: "percent"
|
|
148437
|
+
}),
|
|
146789
148438
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146790
148439
|
explode: false,
|
|
146791
148440
|
charEncoding: "percent"
|
|
146792
148441
|
})
|
|
146793
148442
|
};
|
|
146794
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
146795
|
-
const query = encodeFormQuery({
|
|
146796
|
-
session_token: payload.session_token
|
|
146797
|
-
});
|
|
148443
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}")(pathParams);
|
|
146798
148444
|
const headers = new Headers(compactMap({
|
|
146799
|
-
"Content-Type": "application/
|
|
148445
|
+
"Content-Type": "application/json",
|
|
146800
148446
|
Accept: "application/json",
|
|
146801
148447
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146802
148448
|
}));
|
|
@@ -146806,7 +148452,7 @@ async function $do352(client, request, options) {
|
|
|
146806
148452
|
const context = {
|
|
146807
148453
|
options: client._options,
|
|
146808
148454
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146809
|
-
operationID: "
|
|
148455
|
+
operationID: "dismiss_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__delete",
|
|
146810
148456
|
oAuth2Scopes: null,
|
|
146811
148457
|
resolvedSecurity: requestSecurity,
|
|
146812
148458
|
securitySource: client._options.bearerAuth,
|
|
@@ -146824,11 +148470,10 @@ async function $do352(client, request, options) {
|
|
|
146824
148470
|
};
|
|
146825
148471
|
const requestRes = client._createRequest(context, {
|
|
146826
148472
|
security: requestSecurity,
|
|
146827
|
-
method: "
|
|
148473
|
+
method: "DELETE",
|
|
146828
148474
|
baseURL: options?.serverURL,
|
|
146829
148475
|
path,
|
|
146830
148476
|
headers,
|
|
146831
|
-
query,
|
|
146832
148477
|
body,
|
|
146833
148478
|
userAgent: client._options.userAgent,
|
|
146834
148479
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146850,13 +148495,13 @@ async function $do352(client, request, options) {
|
|
|
146850
148495
|
const responseFields = {
|
|
146851
148496
|
HttpMeta: { Response: response, Request: req }
|
|
146852
148497
|
};
|
|
146853
|
-
const [result] = await match(
|
|
148498
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146854
148499
|
if (!result.ok) {
|
|
146855
148500
|
return [result, { status: "complete", request: req, response }];
|
|
146856
148501
|
}
|
|
146857
148502
|
return [result, { status: "complete", request: req, response }];
|
|
146858
148503
|
}
|
|
146859
|
-
var
|
|
148504
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = __esm(() => {
|
|
146860
148505
|
init_esm();
|
|
146861
148506
|
init_encodings();
|
|
146862
148507
|
init_http();
|
|
@@ -146870,62 +148515,48 @@ var init_sandboxUploadArchive = __esm(() => {
|
|
|
146870
148515
|
init_async();
|
|
146871
148516
|
});
|
|
146872
148517
|
|
|
146873
|
-
// src/mcp-server/tools/
|
|
146874
|
-
var
|
|
146875
|
-
var
|
|
146876
|
-
|
|
148518
|
+
// src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148519
|
+
var args351, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
|
|
148520
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2 = __esm(() => {
|
|
148521
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete();
|
|
146877
148522
|
init_operations();
|
|
146878
148523
|
init_tools();
|
|
146879
|
-
|
|
146880
|
-
request:
|
|
148524
|
+
args351 = {
|
|
148525
|
+
request: DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema
|
|
146881
148526
|
};
|
|
146882
|
-
tool$
|
|
146883
|
-
name: "sandbox-
|
|
146884
|
-
description: `
|
|
146885
|
-
|
|
146886
|
-
|
|
146887
|
-
|
|
146888
|
-
tool: async (client, args344, ctx) => {
|
|
146889
|
-
const [result, apiCall] = await sandboxUploadArchive(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148527
|
+
tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = {
|
|
148528
|
+
name: "schema-3-other-dismiss-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-delete",
|
|
148529
|
+
description: `Dismiss Repository`,
|
|
148530
|
+
args: args351,
|
|
148531
|
+
tool: async (client, args352, ctx) => {
|
|
148532
|
+
const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, args352.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146890
148533
|
if (!result.ok) {
|
|
146891
148534
|
return {
|
|
146892
148535
|
content: [{ type: "text", text: result.error.message }],
|
|
146893
148536
|
isError: true
|
|
146894
148537
|
};
|
|
146895
148538
|
}
|
|
146896
|
-
|
|
146897
|
-
return formatResult(value, apiCall);
|
|
148539
|
+
return formatResult(undefined, apiCall);
|
|
146898
148540
|
}
|
|
146899
148541
|
};
|
|
146900
148542
|
});
|
|
146901
148543
|
|
|
146902
|
-
// src/funcs/
|
|
146903
|
-
function
|
|
146904
|
-
return new APIPromise($
|
|
148544
|
+
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148545
|
+
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
148546
|
+
return new APIPromise($do361(client, request, options));
|
|
146905
148547
|
}
|
|
146906
|
-
async function $
|
|
146907
|
-
const parsed = safeParse4(request, (value) =>
|
|
148548
|
+
async function $do361(client, request, options) {
|
|
148549
|
+
const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146908
148550
|
if (!parsed.ok) {
|
|
146909
148551
|
return [parsed, { status: "invalid" }];
|
|
146910
148552
|
}
|
|
146911
148553
|
const payload = parsed.value;
|
|
146912
|
-
const body =
|
|
146913
|
-
const
|
|
146914
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
146915
|
-
explode: false,
|
|
146916
|
-
charEncoding: "percent"
|
|
146917
|
-
}),
|
|
146918
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146919
|
-
explode: false,
|
|
146920
|
-
charEncoding: "percent"
|
|
146921
|
-
})
|
|
146922
|
-
};
|
|
146923
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
148554
|
+
const body = null;
|
|
148555
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146924
148556
|
const query = encodeFormQuery({
|
|
146925
|
-
|
|
148557
|
+
verify: payload.verify
|
|
146926
148558
|
});
|
|
146927
148559
|
const headers = new Headers(compactMap({
|
|
146928
|
-
"Content-Type": "application/octet-stream",
|
|
146929
148560
|
Accept: "application/json",
|
|
146930
148561
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146931
148562
|
}));
|
|
@@ -146935,7 +148566,7 @@ async function $do353(client, request, options) {
|
|
|
146935
148566
|
const context = {
|
|
146936
148567
|
options: client._options,
|
|
146937
148568
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146938
|
-
operationID: "
|
|
148569
|
+
operationID: "get_connection_api_v1_sandbox_github_oauth_connections_get",
|
|
146939
148570
|
oAuth2Scopes: null,
|
|
146940
148571
|
resolvedSecurity: requestSecurity,
|
|
146941
148572
|
securitySource: client._options.bearerAuth,
|
|
@@ -146953,7 +148584,7 @@ async function $do353(client, request, options) {
|
|
|
146953
148584
|
};
|
|
146954
148585
|
const requestRes = client._createRequest(context, {
|
|
146955
148586
|
security: requestSecurity,
|
|
146956
|
-
method: "
|
|
148587
|
+
method: "GET",
|
|
146957
148588
|
baseURL: options?.serverURL,
|
|
146958
148589
|
path,
|
|
146959
148590
|
headers,
|
|
@@ -146979,14 +148610,13 @@ async function $do353(client, request, options) {
|
|
|
146979
148610
|
const responseFields = {
|
|
146980
148611
|
HttpMeta: { Response: response, Request: req }
|
|
146981
148612
|
};
|
|
146982
|
-
const [result] = await match(json(200,
|
|
148613
|
+
const [result] = await match(json(200, ConnectionEnvelope$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146983
148614
|
if (!result.ok) {
|
|
146984
148615
|
return [result, { status: "complete", request: req, response }];
|
|
146985
148616
|
}
|
|
146986
148617
|
return [result, { status: "complete", request: req, response }];
|
|
146987
148618
|
}
|
|
146988
|
-
var
|
|
146989
|
-
init_esm();
|
|
148619
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(() => {
|
|
146990
148620
|
init_encodings();
|
|
146991
148621
|
init_http();
|
|
146992
148622
|
init_matchers();
|
|
@@ -146994,28 +148624,27 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
146994
148624
|
init_schemas4();
|
|
146995
148625
|
init_security();
|
|
146996
148626
|
init_url();
|
|
148627
|
+
init_components();
|
|
146997
148628
|
init_errors4();
|
|
146998
148629
|
init_operations();
|
|
146999
148630
|
init_async();
|
|
147000
148631
|
});
|
|
147001
148632
|
|
|
147002
|
-
// src/mcp-server/tools/
|
|
147003
|
-
var
|
|
147004
|
-
var
|
|
147005
|
-
|
|
148633
|
+
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148634
|
+
var args352, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
148635
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
148636
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
147006
148637
|
init_operations();
|
|
147007
148638
|
init_tools();
|
|
147008
|
-
|
|
147009
|
-
request:
|
|
148639
|
+
args352 = {
|
|
148640
|
+
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
147010
148641
|
};
|
|
147011
|
-
tool$
|
|
147012
|
-
name: "sandbox-
|
|
147013
|
-
description: `
|
|
147014
|
-
|
|
147015
|
-
|
|
147016
|
-
|
|
147017
|
-
tool: async (client, args345, ctx) => {
|
|
147018
|
-
const [result, apiCall] = await sandboxUploadFile(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148642
|
+
tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
|
|
148643
|
+
name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
|
|
148644
|
+
description: `Get Connection`,
|
|
148645
|
+
args: args352,
|
|
148646
|
+
tool: async (client, args353, ctx) => {
|
|
148647
|
+
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args353.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147019
148648
|
if (!result.ok) {
|
|
147020
148649
|
return {
|
|
147021
148650
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147028,20 +148657,25 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
147028
148657
|
};
|
|
147029
148658
|
});
|
|
147030
148659
|
|
|
147031
|
-
// src/funcs/
|
|
147032
|
-
function
|
|
147033
|
-
return new APIPromise($
|
|
148660
|
+
// src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148661
|
+
function schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, request, options) {
|
|
148662
|
+
return new APIPromise($do362(client, request, options));
|
|
147034
148663
|
}
|
|
147035
|
-
async function $
|
|
147036
|
-
const parsed = safeParse4(request, (value) =>
|
|
148664
|
+
async function $do362(client, request, options) {
|
|
148665
|
+
const parsed = safeParse4(request, (value) => GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147037
148666
|
if (!parsed.ok) {
|
|
147038
148667
|
return [parsed, { status: "invalid" }];
|
|
147039
148668
|
}
|
|
147040
148669
|
const payload = parsed.value;
|
|
147041
|
-
const body =
|
|
147042
|
-
const
|
|
148670
|
+
const body = null;
|
|
148671
|
+
const pathParams = {
|
|
148672
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
148673
|
+
explode: false,
|
|
148674
|
+
charEncoding: "percent"
|
|
148675
|
+
})
|
|
148676
|
+
};
|
|
148677
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
147043
148678
|
const headers = new Headers(compactMap({
|
|
147044
|
-
"Content-Type": "application/json",
|
|
147045
148679
|
Accept: "application/json",
|
|
147046
148680
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147047
148681
|
}));
|
|
@@ -147051,7 +148685,7 @@ async function $do354(client, request, options) {
|
|
|
147051
148685
|
const context = {
|
|
147052
148686
|
options: client._options,
|
|
147053
148687
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147054
|
-
operationID: "
|
|
148688
|
+
operationID: "get_environment_api_v1_sandbox_environments__environment_id__get",
|
|
147055
148689
|
oAuth2Scopes: null,
|
|
147056
148690
|
resolvedSecurity: requestSecurity,
|
|
147057
148691
|
securitySource: client._options.bearerAuth,
|
|
@@ -147069,7 +148703,7 @@ async function $do354(client, request, options) {
|
|
|
147069
148703
|
};
|
|
147070
148704
|
const requestRes = client._createRequest(context, {
|
|
147071
148705
|
security: requestSecurity,
|
|
147072
|
-
method: "
|
|
148706
|
+
method: "GET",
|
|
147073
148707
|
baseURL: options?.serverURL,
|
|
147074
148708
|
path,
|
|
147075
148709
|
headers,
|
|
@@ -147094,13 +148728,13 @@ async function $do354(client, request, options) {
|
|
|
147094
148728
|
const responseFields = {
|
|
147095
148729
|
HttpMeta: { Response: response, Request: req }
|
|
147096
148730
|
};
|
|
147097
|
-
const [result] = await match(json(
|
|
148731
|
+
const [result] = await match(json(200, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147098
148732
|
if (!result.ok) {
|
|
147099
148733
|
return [result, { status: "complete", request: req, response }];
|
|
147100
148734
|
}
|
|
147101
148735
|
return [result, { status: "complete", request: req, response }];
|
|
147102
148736
|
}
|
|
147103
|
-
var
|
|
148737
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = __esm(() => {
|
|
147104
148738
|
init_encodings();
|
|
147105
148739
|
init_http();
|
|
147106
148740
|
init_matchers();
|
|
@@ -147114,21 +148748,21 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() =>
|
|
|
147114
148748
|
init_async();
|
|
147115
148749
|
});
|
|
147116
148750
|
|
|
147117
|
-
// src/mcp-server/tools/
|
|
147118
|
-
var
|
|
147119
|
-
var
|
|
147120
|
-
|
|
148751
|
+
// src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148752
|
+
var args353, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
|
|
148753
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = __esm(() => {
|
|
148754
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet();
|
|
147121
148755
|
init_operations();
|
|
147122
148756
|
init_tools();
|
|
147123
|
-
|
|
147124
|
-
request:
|
|
148757
|
+
args353 = {
|
|
148758
|
+
request: GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema
|
|
147125
148759
|
};
|
|
147126
|
-
tool$
|
|
147127
|
-
name: "schema-3-other-
|
|
147128
|
-
description: `
|
|
147129
|
-
args:
|
|
147130
|
-
tool: async (client,
|
|
147131
|
-
const [result, apiCall] = await
|
|
148760
|
+
tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = {
|
|
148761
|
+
name: "schema-3-other-get-environment-api-v1-sandbox-environments-environment-id-get",
|
|
148762
|
+
description: `Get Environment`,
|
|
148763
|
+
args: args353,
|
|
148764
|
+
tool: async (client, args354, ctx) => {
|
|
148765
|
+
const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, args354.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147132
148766
|
if (!result.ok) {
|
|
147133
148767
|
return {
|
|
147134
148768
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147141,18 +148775,18 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() =
|
|
|
147141
148775
|
};
|
|
147142
148776
|
});
|
|
147143
148777
|
|
|
147144
|
-
// src/funcs/
|
|
147145
|
-
function
|
|
147146
|
-
return new APIPromise($
|
|
148778
|
+
// src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148779
|
+
function schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, request, options) {
|
|
148780
|
+
return new APIPromise($do363(client, request, options));
|
|
147147
148781
|
}
|
|
147148
|
-
async function $
|
|
147149
|
-
const parsed = safeParse4(request, (value) =>
|
|
148782
|
+
async function $do363(client, request, options) {
|
|
148783
|
+
const parsed = safeParse4(request, (value) => ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147150
148784
|
if (!parsed.ok) {
|
|
147151
148785
|
return [parsed, { status: "invalid" }];
|
|
147152
148786
|
}
|
|
147153
148787
|
const payload = parsed.value;
|
|
147154
148788
|
const body = null;
|
|
147155
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
148789
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
147156
148790
|
const headers = new Headers(compactMap({
|
|
147157
148791
|
Accept: "application/json",
|
|
147158
148792
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -147163,7 +148797,7 @@ async function $do355(client, request, options) {
|
|
|
147163
148797
|
const context = {
|
|
147164
148798
|
options: client._options,
|
|
147165
148799
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147166
|
-
operationID: "
|
|
148800
|
+
operationID: "list_environments_api_v1_sandbox_environments_get",
|
|
147167
148801
|
oAuth2Scopes: null,
|
|
147168
148802
|
resolvedSecurity: requestSecurity,
|
|
147169
148803
|
securitySource: client._options.bearerAuth,
|
|
@@ -147181,7 +148815,7 @@ async function $do355(client, request, options) {
|
|
|
147181
148815
|
};
|
|
147182
148816
|
const requestRes = client._createRequest(context, {
|
|
147183
148817
|
security: requestSecurity,
|
|
147184
|
-
method: "
|
|
148818
|
+
method: "GET",
|
|
147185
148819
|
baseURL: options?.serverURL,
|
|
147186
148820
|
path,
|
|
147187
148821
|
headers,
|
|
@@ -147203,13 +148837,13 @@ async function $do355(client, request, options) {
|
|
|
147203
148837
|
return [doResult, { status: "request-error", request: req }];
|
|
147204
148838
|
}
|
|
147205
148839
|
const response = doResult.value;
|
|
147206
|
-
const [result] = await match(json(
|
|
148840
|
+
const [result] = await match(json(200, EnvironmentList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
147207
148841
|
if (!result.ok) {
|
|
147208
148842
|
return [result, { status: "complete", request: req, response }];
|
|
147209
148843
|
}
|
|
147210
148844
|
return [result, { status: "complete", request: req, response }];
|
|
147211
148845
|
}
|
|
147212
|
-
var
|
|
148846
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = __esm(() => {
|
|
147213
148847
|
init_encodings();
|
|
147214
148848
|
init_http();
|
|
147215
148849
|
init_matchers();
|
|
@@ -147222,21 +148856,21 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() =
|
|
|
147222
148856
|
init_async();
|
|
147223
148857
|
});
|
|
147224
148858
|
|
|
147225
|
-
// src/mcp-server/tools/
|
|
147226
|
-
var
|
|
147227
|
-
var
|
|
147228
|
-
|
|
148859
|
+
// src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148860
|
+
var args354, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
|
|
148861
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() => {
|
|
148862
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet();
|
|
147229
148863
|
init_operations();
|
|
147230
148864
|
init_tools();
|
|
147231
|
-
|
|
147232
|
-
request:
|
|
148865
|
+
args354 = {
|
|
148866
|
+
request: ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema
|
|
147233
148867
|
};
|
|
147234
|
-
tool$
|
|
147235
|
-
name: "schema-3-other-
|
|
147236
|
-
description: `
|
|
147237
|
-
args:
|
|
147238
|
-
tool: async (client,
|
|
147239
|
-
const [result, apiCall] = await
|
|
148868
|
+
tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = {
|
|
148869
|
+
name: "schema-3-other-list-environments-api-v1-sandbox-environments-get",
|
|
148870
|
+
description: `List Environments`,
|
|
148871
|
+
args: args354,
|
|
148872
|
+
tool: async (client, args355, ctx) => {
|
|
148873
|
+
const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, args355.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147240
148874
|
if (!result.ok) {
|
|
147241
148875
|
return {
|
|
147242
148876
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147249,28 +148883,19 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
|
|
|
147249
148883
|
};
|
|
147250
148884
|
});
|
|
147251
148885
|
|
|
147252
|
-
// src/funcs/
|
|
147253
|
-
function
|
|
147254
|
-
return new APIPromise($
|
|
148886
|
+
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
148887
|
+
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
148888
|
+
return new APIPromise($do364(client, request, options));
|
|
147255
148889
|
}
|
|
147256
|
-
async function $
|
|
147257
|
-
const parsed = safeParse4(request, (value) =>
|
|
148890
|
+
async function $do364(client, request, options) {
|
|
148891
|
+
const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147258
148892
|
if (!parsed.ok) {
|
|
147259
148893
|
return [parsed, { status: "invalid" }];
|
|
147260
148894
|
}
|
|
147261
148895
|
const payload = parsed.value;
|
|
147262
|
-
const body =
|
|
147263
|
-
|
|
147264
|
-
});
|
|
147265
|
-
const pathParams = {
|
|
147266
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147267
|
-
explode: false,
|
|
147268
|
-
charEncoding: "percent"
|
|
147269
|
-
})
|
|
147270
|
-
};
|
|
147271
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
|
|
148896
|
+
const body = null;
|
|
148897
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories")();
|
|
147272
148898
|
const headers = new Headers(compactMap({
|
|
147273
|
-
"Content-Type": "application/json",
|
|
147274
148899
|
Accept: "application/json",
|
|
147275
148900
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147276
148901
|
}));
|
|
@@ -147280,7 +148905,7 @@ async function $do356(client, request, options) {
|
|
|
147280
148905
|
const context = {
|
|
147281
148906
|
options: client._options,
|
|
147282
148907
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147283
|
-
operationID: "
|
|
148908
|
+
operationID: "list_repositories_api_v1_sandbox_github_repositories_get",
|
|
147284
148909
|
oAuth2Scopes: null,
|
|
147285
148910
|
resolvedSecurity: requestSecurity,
|
|
147286
148911
|
securitySource: client._options.bearerAuth,
|
|
@@ -147298,7 +148923,7 @@ async function $do356(client, request, options) {
|
|
|
147298
148923
|
};
|
|
147299
148924
|
const requestRes = client._createRequest(context, {
|
|
147300
148925
|
security: requestSecurity,
|
|
147301
|
-
method: "
|
|
148926
|
+
method: "GET",
|
|
147302
148927
|
baseURL: options?.serverURL,
|
|
147303
148928
|
path,
|
|
147304
148929
|
headers,
|
|
@@ -147320,16 +148945,13 @@ async function $do356(client, request, options) {
|
|
|
147320
148945
|
return [doResult, { status: "request-error", request: req }];
|
|
147321
148946
|
}
|
|
147322
148947
|
const response = doResult.value;
|
|
147323
|
-
const
|
|
147324
|
-
HttpMeta: { Response: response, Request: req }
|
|
147325
|
-
};
|
|
147326
|
-
const [result] = await match(json(200, GitHubPullRequestResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148948
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
147327
148949
|
if (!result.ok) {
|
|
147328
148950
|
return [result, { status: "complete", request: req, response }];
|
|
147329
148951
|
}
|
|
147330
148952
|
return [result, { status: "complete", request: req, response }];
|
|
147331
148953
|
}
|
|
147332
|
-
var
|
|
148954
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm(() => {
|
|
147333
148955
|
init_encodings();
|
|
147334
148956
|
init_http();
|
|
147335
148957
|
init_matchers();
|
|
@@ -147338,26 +148960,25 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147338
148960
|
init_security();
|
|
147339
148961
|
init_url();
|
|
147340
148962
|
init_components();
|
|
147341
|
-
init_errors4();
|
|
147342
148963
|
init_operations();
|
|
147343
148964
|
init_async();
|
|
147344
148965
|
});
|
|
147345
148966
|
|
|
147346
|
-
// src/mcp-server/tools/
|
|
147347
|
-
var
|
|
147348
|
-
var
|
|
147349
|
-
|
|
148967
|
+
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
148968
|
+
var args355, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
148969
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
148970
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
147350
148971
|
init_operations();
|
|
147351
148972
|
init_tools();
|
|
147352
|
-
|
|
147353
|
-
request:
|
|
148973
|
+
args355 = {
|
|
148974
|
+
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
147354
148975
|
};
|
|
147355
|
-
tool$
|
|
147356
|
-
name: "schema-3-other-
|
|
147357
|
-
description: `
|
|
147358
|
-
args:
|
|
147359
|
-
tool: async (client,
|
|
147360
|
-
const [result, apiCall] = await
|
|
148976
|
+
tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
|
|
148977
|
+
name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
|
|
148978
|
+
description: `List Repositories`,
|
|
148979
|
+
args: args355,
|
|
148980
|
+
tool: async (client, args356, ctx) => {
|
|
148981
|
+
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args356.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147361
148982
|
if (!result.ok) {
|
|
147362
148983
|
return {
|
|
147363
148984
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147370,20 +148991,26 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147370
148991
|
};
|
|
147371
148992
|
});
|
|
147372
148993
|
|
|
147373
|
-
// src/funcs/
|
|
147374
|
-
function
|
|
147375
|
-
return new APIPromise($
|
|
148994
|
+
// src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
148995
|
+
function schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, request, options) {
|
|
148996
|
+
return new APIPromise($do365(client, request, options));
|
|
147376
148997
|
}
|
|
147377
|
-
async function $
|
|
147378
|
-
const parsed = safeParse4(request, (value) =>
|
|
148998
|
+
async function $do365(client, request, options) {
|
|
148999
|
+
const parsed = safeParse4(request, (value) => ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147379
149000
|
if (!parsed.ok) {
|
|
147380
149001
|
return [parsed, { status: "invalid" }];
|
|
147381
149002
|
}
|
|
147382
149003
|
const payload = parsed.value;
|
|
147383
149004
|
const body = null;
|
|
147384
|
-
const
|
|
149005
|
+
const pathParams = {
|
|
149006
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149007
|
+
explode: false,
|
|
149008
|
+
charEncoding: "percent"
|
|
149009
|
+
})
|
|
149010
|
+
};
|
|
149011
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories")(pathParams);
|
|
147385
149012
|
const headers = new Headers(compactMap({
|
|
147386
|
-
Accept: "
|
|
149013
|
+
Accept: "application/json",
|
|
147387
149014
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147388
149015
|
}));
|
|
147389
149016
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -147392,7 +149019,7 @@ async function $do357(client, request, options) {
|
|
|
147392
149019
|
const context = {
|
|
147393
149020
|
options: client._options,
|
|
147394
149021
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147395
|
-
operationID: "
|
|
149022
|
+
operationID: "manifest_api_v1_sandbox_sessions__session_id__github_repositories_get",
|
|
147396
149023
|
oAuth2Scopes: null,
|
|
147397
149024
|
resolvedSecurity: requestSecurity,
|
|
147398
149025
|
securitySource: client._options.bearerAuth,
|
|
@@ -147410,7 +149037,7 @@ async function $do357(client, request, options) {
|
|
|
147410
149037
|
};
|
|
147411
149038
|
const requestRes = client._createRequest(context, {
|
|
147412
149039
|
security: requestSecurity,
|
|
147413
|
-
method: "
|
|
149040
|
+
method: "GET",
|
|
147414
149041
|
baseURL: options?.serverURL,
|
|
147415
149042
|
path,
|
|
147416
149043
|
headers,
|
|
@@ -147432,14 +149059,16 @@ async function $do357(client, request, options) {
|
|
|
147432
149059
|
return [doResult, { status: "request-error", request: req }];
|
|
147433
149060
|
}
|
|
147434
149061
|
const response = doResult.value;
|
|
147435
|
-
const
|
|
149062
|
+
const responseFields = {
|
|
149063
|
+
HttpMeta: { Response: response, Request: req }
|
|
149064
|
+
};
|
|
149065
|
+
const [result] = await match(json(200, SessionRepositoryManifest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147436
149066
|
if (!result.ok) {
|
|
147437
149067
|
return [result, { status: "complete", request: req, response }];
|
|
147438
149068
|
}
|
|
147439
149069
|
return [result, { status: "complete", request: req, response }];
|
|
147440
149070
|
}
|
|
147441
|
-
var
|
|
147442
|
-
init_esm();
|
|
149071
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = __esm(() => {
|
|
147443
149072
|
init_encodings();
|
|
147444
149073
|
init_http();
|
|
147445
149074
|
init_matchers();
|
|
@@ -147447,52 +149076,59 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
|
|
|
147447
149076
|
init_schemas4();
|
|
147448
149077
|
init_security();
|
|
147449
149078
|
init_url();
|
|
149079
|
+
init_components();
|
|
149080
|
+
init_errors4();
|
|
147450
149081
|
init_operations();
|
|
147451
149082
|
init_async();
|
|
147452
149083
|
});
|
|
147453
149084
|
|
|
147454
|
-
// src/mcp-server/tools/
|
|
147455
|
-
var
|
|
147456
|
-
var
|
|
147457
|
-
|
|
149085
|
+
// src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
149086
|
+
var args356, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
|
|
149087
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2 = __esm(() => {
|
|
149088
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet();
|
|
147458
149089
|
init_operations();
|
|
147459
149090
|
init_tools();
|
|
147460
|
-
|
|
147461
|
-
request:
|
|
149091
|
+
args356 = {
|
|
149092
|
+
request: ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema
|
|
147462
149093
|
};
|
|
147463
|
-
tool$
|
|
147464
|
-
name: "schema-3-other-
|
|
147465
|
-
description: `
|
|
147466
|
-
args:
|
|
147467
|
-
tool: async (client,
|
|
147468
|
-
const [result, apiCall] = await
|
|
149094
|
+
tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = {
|
|
149095
|
+
name: "schema-3-other-manifest-api-v1-sandbox-sessions-session-id-github-repositories-get",
|
|
149096
|
+
description: `Manifest`,
|
|
149097
|
+
args: args356,
|
|
149098
|
+
tool: async (client, args357, ctx) => {
|
|
149099
|
+
const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, args357.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147469
149100
|
if (!result.ok) {
|
|
147470
149101
|
return {
|
|
147471
149102
|
content: [{ type: "text", text: result.error.message }],
|
|
147472
149103
|
isError: true
|
|
147473
149104
|
};
|
|
147474
149105
|
}
|
|
147475
|
-
|
|
149106
|
+
const value = result.value;
|
|
149107
|
+
return formatResult(value, apiCall);
|
|
147476
149108
|
}
|
|
147477
149109
|
};
|
|
147478
149110
|
});
|
|
147479
149111
|
|
|
147480
|
-
// src/funcs/
|
|
147481
|
-
function
|
|
147482
|
-
return new APIPromise($
|
|
149112
|
+
// src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149113
|
+
function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
|
|
149114
|
+
return new APIPromise($do366(client, request, options));
|
|
147483
149115
|
}
|
|
147484
|
-
async function $
|
|
147485
|
-
const parsed = safeParse4(request, (value) =>
|
|
149116
|
+
async function $do366(client, request, options) {
|
|
149117
|
+
const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147486
149118
|
if (!parsed.ok) {
|
|
147487
149119
|
return [parsed, { status: "invalid" }];
|
|
147488
149120
|
}
|
|
147489
149121
|
const payload = parsed.value;
|
|
147490
|
-
const body =
|
|
147491
|
-
const
|
|
147492
|
-
|
|
147493
|
-
|
|
147494
|
-
|
|
149122
|
+
const body = encodeJSON("body", payload.GitHubPushRequest, { explode: true });
|
|
149123
|
+
const pathParams = {
|
|
149124
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149125
|
+
explode: false,
|
|
149126
|
+
charEncoding: "percent"
|
|
149127
|
+
})
|
|
149128
|
+
};
|
|
149129
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/push")(pathParams);
|
|
147495
149130
|
const headers = new Headers(compactMap({
|
|
149131
|
+
"Content-Type": "application/json",
|
|
147496
149132
|
Accept: "application/json",
|
|
147497
149133
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147498
149134
|
}));
|
|
@@ -147502,7 +149138,7 @@ async function $do358(client, request, options) {
|
|
|
147502
149138
|
const context = {
|
|
147503
149139
|
options: client._options,
|
|
147504
149140
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147505
|
-
operationID: "
|
|
149141
|
+
operationID: "push_api_v1_sandbox_sessions__session_id__github_push_post",
|
|
147506
149142
|
oAuth2Scopes: null,
|
|
147507
149143
|
resolvedSecurity: requestSecurity,
|
|
147508
149144
|
securitySource: client._options.bearerAuth,
|
|
@@ -147520,11 +149156,10 @@ async function $do358(client, request, options) {
|
|
|
147520
149156
|
};
|
|
147521
149157
|
const requestRes = client._createRequest(context, {
|
|
147522
149158
|
security: requestSecurity,
|
|
147523
|
-
method: "
|
|
149159
|
+
method: "POST",
|
|
147524
149160
|
baseURL: options?.serverURL,
|
|
147525
149161
|
path,
|
|
147526
149162
|
headers,
|
|
147527
|
-
query,
|
|
147528
149163
|
body,
|
|
147529
149164
|
userAgent: client._options.userAgent,
|
|
147530
149165
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -147546,13 +149181,13 @@ async function $do358(client, request, options) {
|
|
|
147546
149181
|
const responseFields = {
|
|
147547
149182
|
HttpMeta: { Response: response, Request: req }
|
|
147548
149183
|
};
|
|
147549
|
-
const [result] = await match(json(200,
|
|
149184
|
+
const [result] = await match(json(200, GitHubPushResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147550
149185
|
if (!result.ok) {
|
|
147551
149186
|
return [result, { status: "complete", request: req, response }];
|
|
147552
149187
|
}
|
|
147553
149188
|
return [result, { status: "complete", request: req, response }];
|
|
147554
149189
|
}
|
|
147555
|
-
var
|
|
149190
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(() => {
|
|
147556
149191
|
init_encodings();
|
|
147557
149192
|
init_http();
|
|
147558
149193
|
init_matchers();
|
|
@@ -147566,21 +149201,21 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
147566
149201
|
init_async();
|
|
147567
149202
|
});
|
|
147568
149203
|
|
|
147569
|
-
// src/mcp-server/tools/
|
|
147570
|
-
var
|
|
147571
|
-
var
|
|
147572
|
-
|
|
149204
|
+
// src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149205
|
+
var args357, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
|
|
149206
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
|
|
149207
|
+
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
|
|
147573
149208
|
init_operations();
|
|
147574
149209
|
init_tools();
|
|
147575
|
-
|
|
147576
|
-
request:
|
|
149210
|
+
args357 = {
|
|
149211
|
+
request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
|
|
147577
149212
|
};
|
|
147578
|
-
tool$
|
|
147579
|
-
name: "schema-3-other-
|
|
147580
|
-
description: `
|
|
147581
|
-
args:
|
|
147582
|
-
tool: async (client,
|
|
147583
|
-
const [result, apiCall] = await
|
|
149213
|
+
tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
|
|
149214
|
+
name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
|
|
149215
|
+
description: `Push`,
|
|
149216
|
+
args: args357,
|
|
149217
|
+
tool: async (client, args358, ctx) => {
|
|
149218
|
+
const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args358.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147584
149219
|
if (!result.ok) {
|
|
147585
149220
|
return {
|
|
147586
149221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147593,19 +149228,32 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
|
|
|
147593
149228
|
};
|
|
147594
149229
|
});
|
|
147595
149230
|
|
|
147596
|
-
// src/funcs/
|
|
147597
|
-
function
|
|
147598
|
-
return new APIPromise($
|
|
149231
|
+
// src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149232
|
+
function schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, request, options) {
|
|
149233
|
+
return new APIPromise($do367(client, request, options));
|
|
147599
149234
|
}
|
|
147600
|
-
async function $
|
|
147601
|
-
const parsed = safeParse4(request, (value) =>
|
|
149235
|
+
async function $do367(client, request, options) {
|
|
149236
|
+
const parsed = safeParse4(request, (value) => PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147602
149237
|
if (!parsed.ok) {
|
|
147603
149238
|
return [parsed, { status: "invalid" }];
|
|
147604
149239
|
}
|
|
147605
149240
|
const payload = parsed.value;
|
|
147606
|
-
const body =
|
|
147607
|
-
|
|
149241
|
+
const body = encodeJSON("body", payload.PutSessionRepositoryRequest, {
|
|
149242
|
+
explode: true
|
|
149243
|
+
});
|
|
149244
|
+
const pathParams = {
|
|
149245
|
+
repository_id: encodeSimple("repository_id", payload.repository_id, {
|
|
149246
|
+
explode: false,
|
|
149247
|
+
charEncoding: "percent"
|
|
149248
|
+
}),
|
|
149249
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149250
|
+
explode: false,
|
|
149251
|
+
charEncoding: "percent"
|
|
149252
|
+
})
|
|
149253
|
+
};
|
|
149254
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}")(pathParams);
|
|
147608
149255
|
const headers = new Headers(compactMap({
|
|
149256
|
+
"Content-Type": "application/json",
|
|
147609
149257
|
Accept: "application/json",
|
|
147610
149258
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147611
149259
|
}));
|
|
@@ -147615,7 +149263,7 @@ async function $do359(client, request, options) {
|
|
|
147615
149263
|
const context = {
|
|
147616
149264
|
options: client._options,
|
|
147617
149265
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147618
|
-
operationID: "
|
|
149266
|
+
operationID: "put_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__put",
|
|
147619
149267
|
oAuth2Scopes: null,
|
|
147620
149268
|
resolvedSecurity: requestSecurity,
|
|
147621
149269
|
securitySource: client._options.bearerAuth,
|
|
@@ -147633,7 +149281,7 @@ async function $do359(client, request, options) {
|
|
|
147633
149281
|
};
|
|
147634
149282
|
const requestRes = client._createRequest(context, {
|
|
147635
149283
|
security: requestSecurity,
|
|
147636
|
-
method: "
|
|
149284
|
+
method: "PUT",
|
|
147637
149285
|
baseURL: options?.serverURL,
|
|
147638
149286
|
path,
|
|
147639
149287
|
headers,
|
|
@@ -147655,13 +149303,16 @@ async function $do359(client, request, options) {
|
|
|
147655
149303
|
return [doResult, { status: "request-error", request: req }];
|
|
147656
149304
|
}
|
|
147657
149305
|
const response = doResult.value;
|
|
147658
|
-
const
|
|
149306
|
+
const responseFields = {
|
|
149307
|
+
HttpMeta: { Response: response, Request: req }
|
|
149308
|
+
};
|
|
149309
|
+
const [result] = await match(json(200, SessionRepositoryModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147659
149310
|
if (!result.ok) {
|
|
147660
149311
|
return [result, { status: "complete", request: req, response }];
|
|
147661
149312
|
}
|
|
147662
149313
|
return [result, { status: "complete", request: req, response }];
|
|
147663
149314
|
}
|
|
147664
|
-
var
|
|
149315
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = __esm(() => {
|
|
147665
149316
|
init_encodings();
|
|
147666
149317
|
init_http();
|
|
147667
149318
|
init_matchers();
|
|
@@ -147670,25 +149321,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
|
|
|
147670
149321
|
init_security();
|
|
147671
149322
|
init_url();
|
|
147672
149323
|
init_components();
|
|
149324
|
+
init_errors4();
|
|
147673
149325
|
init_operations();
|
|
147674
149326
|
init_async();
|
|
147675
149327
|
});
|
|
147676
149328
|
|
|
147677
|
-
// src/mcp-server/tools/
|
|
147678
|
-
var
|
|
147679
|
-
var
|
|
147680
|
-
|
|
149329
|
+
// src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149330
|
+
var args358, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
|
|
149331
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2 = __esm(() => {
|
|
149332
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut();
|
|
147681
149333
|
init_operations();
|
|
147682
149334
|
init_tools();
|
|
147683
|
-
|
|
147684
|
-
request:
|
|
147685
|
-
};
|
|
147686
|
-
tool$
|
|
147687
|
-
name: "schema-3-other-
|
|
147688
|
-
description: `
|
|
147689
|
-
args:
|
|
147690
|
-
tool: async (client,
|
|
147691
|
-
const [result, apiCall] = await
|
|
149335
|
+
args358 = {
|
|
149336
|
+
request: PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema
|
|
149337
|
+
};
|
|
149338
|
+
tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = {
|
|
149339
|
+
name: "schema-3-other-put-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-put",
|
|
149340
|
+
description: `Put Repository`,
|
|
149341
|
+
args: args358,
|
|
149342
|
+
tool: async (client, args359, ctx) => {
|
|
149343
|
+
const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, args359.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147692
149344
|
if (!result.ok) {
|
|
147693
149345
|
return {
|
|
147694
149346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147701,24 +149353,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
|
|
|
147701
149353
|
};
|
|
147702
149354
|
});
|
|
147703
149355
|
|
|
147704
|
-
// src/funcs/
|
|
147705
|
-
function
|
|
147706
|
-
return new APIPromise($
|
|
149356
|
+
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149357
|
+
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
149358
|
+
return new APIPromise($do368(client, request, options));
|
|
147707
149359
|
}
|
|
147708
|
-
async function $
|
|
147709
|
-
const parsed = safeParse4(request, (value) =>
|
|
149360
|
+
async function $do368(client, request, options) {
|
|
149361
|
+
const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147710
149362
|
if (!parsed.ok) {
|
|
147711
149363
|
return [parsed, { status: "invalid" }];
|
|
147712
149364
|
}
|
|
147713
149365
|
const payload = parsed.value;
|
|
147714
|
-
const body = encodeJSON("body", payload.
|
|
149366
|
+
const body = encodeJSON("body", payload.GitHubReadCloneRequest, {
|
|
149367
|
+
explode: true
|
|
149368
|
+
});
|
|
147715
149369
|
const pathParams = {
|
|
147716
149370
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147717
149371
|
explode: false,
|
|
147718
149372
|
charEncoding: "percent"
|
|
147719
149373
|
})
|
|
147720
149374
|
};
|
|
147721
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/
|
|
149375
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
147722
149376
|
const headers = new Headers(compactMap({
|
|
147723
149377
|
"Content-Type": "application/json",
|
|
147724
149378
|
Accept: "application/json",
|
|
@@ -147730,7 +149384,7 @@ async function $do360(client, request, options) {
|
|
|
147730
149384
|
const context = {
|
|
147731
149385
|
options: client._options,
|
|
147732
149386
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147733
|
-
operationID: "
|
|
149387
|
+
operationID: "read_clone_api_v1_sandbox_sessions__session_id__github_read_clone_post",
|
|
147734
149388
|
oAuth2Scopes: null,
|
|
147735
149389
|
resolvedSecurity: requestSecurity,
|
|
147736
149390
|
securitySource: client._options.bearerAuth,
|
|
@@ -147773,13 +149427,13 @@ async function $do360(client, request, options) {
|
|
|
147773
149427
|
const responseFields = {
|
|
147774
149428
|
HttpMeta: { Response: response, Request: req }
|
|
147775
149429
|
};
|
|
147776
|
-
const [result] = await match(json(200,
|
|
149430
|
+
const [result] = await match(json(200, GitHubReadCloneResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147777
149431
|
if (!result.ok) {
|
|
147778
149432
|
return [result, { status: "complete", request: req, response }];
|
|
147779
149433
|
}
|
|
147780
149434
|
return [result, { status: "complete", request: req, response }];
|
|
147781
149435
|
}
|
|
147782
|
-
var
|
|
149436
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = __esm(() => {
|
|
147783
149437
|
init_encodings();
|
|
147784
149438
|
init_http();
|
|
147785
149439
|
init_matchers();
|
|
@@ -147793,21 +149447,21 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(()
|
|
|
147793
149447
|
init_async();
|
|
147794
149448
|
});
|
|
147795
149449
|
|
|
147796
|
-
// src/mcp-server/tools/
|
|
147797
|
-
var
|
|
147798
|
-
var
|
|
147799
|
-
|
|
149450
|
+
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149451
|
+
var args359, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
149452
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
149453
|
+
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
147800
149454
|
init_operations();
|
|
147801
149455
|
init_tools();
|
|
147802
|
-
|
|
147803
|
-
request:
|
|
149456
|
+
args359 = {
|
|
149457
|
+
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
147804
149458
|
};
|
|
147805
|
-
tool$
|
|
147806
|
-
name: "schema-3-other-
|
|
147807
|
-
description: `
|
|
147808
|
-
args:
|
|
147809
|
-
tool: async (client,
|
|
147810
|
-
const [result, apiCall] = await
|
|
149459
|
+
tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
|
|
149460
|
+
name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
|
|
149461
|
+
description: `Read Clone`,
|
|
149462
|
+
args: args359,
|
|
149463
|
+
tool: async (client, args360, ctx) => {
|
|
149464
|
+
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args360.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147811
149465
|
if (!result.ok) {
|
|
147812
149466
|
return {
|
|
147813
149467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147820,26 +149474,128 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(()
|
|
|
147820
149474
|
};
|
|
147821
149475
|
});
|
|
147822
149476
|
|
|
147823
|
-
// src/funcs/
|
|
147824
|
-
function
|
|
147825
|
-
return new APIPromise($
|
|
149477
|
+
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
149478
|
+
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
149479
|
+
return new APIPromise($do369(client, request, options));
|
|
147826
149480
|
}
|
|
147827
|
-
async function $
|
|
147828
|
-
const parsed = safeParse4(request, (value) =>
|
|
149481
|
+
async function $do369(client, request, options) {
|
|
149482
|
+
const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147829
149483
|
if (!parsed.ok) {
|
|
147830
149484
|
return [parsed, { status: "invalid" }];
|
|
147831
149485
|
}
|
|
147832
149486
|
const payload = parsed.value;
|
|
147833
|
-
const body =
|
|
147834
|
-
|
|
149487
|
+
const body = null;
|
|
149488
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/refresh")();
|
|
149489
|
+
const headers = new Headers(compactMap({
|
|
149490
|
+
Accept: "application/json",
|
|
149491
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
149492
|
+
}));
|
|
149493
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
149494
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
149495
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
149496
|
+
const context = {
|
|
149497
|
+
options: client._options,
|
|
149498
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
149499
|
+
operationID: "refresh_repositories_api_v1_sandbox_github_repositories_refresh_post",
|
|
149500
|
+
oAuth2Scopes: null,
|
|
149501
|
+
resolvedSecurity: requestSecurity,
|
|
149502
|
+
securitySource: client._options.bearerAuth,
|
|
149503
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
149504
|
+
strategy: "backoff",
|
|
149505
|
+
backoff: {
|
|
149506
|
+
initialInterval: 500,
|
|
149507
|
+
maxInterval: 5000,
|
|
149508
|
+
exponent: 1.5,
|
|
149509
|
+
maxElapsedTime: 15000
|
|
149510
|
+
},
|
|
149511
|
+
retryConnectionErrors: true
|
|
149512
|
+
},
|
|
149513
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
149514
|
+
};
|
|
149515
|
+
const requestRes = client._createRequest(context, {
|
|
149516
|
+
security: requestSecurity,
|
|
149517
|
+
method: "POST",
|
|
149518
|
+
baseURL: options?.serverURL,
|
|
149519
|
+
path,
|
|
149520
|
+
headers,
|
|
149521
|
+
body,
|
|
149522
|
+
userAgent: client._options.userAgent,
|
|
149523
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
149524
|
+
}, options);
|
|
149525
|
+
if (!requestRes.ok) {
|
|
149526
|
+
return [requestRes, { status: "invalid" }];
|
|
149527
|
+
}
|
|
149528
|
+
const req = requestRes.value;
|
|
149529
|
+
const doResult = await client._do(req, {
|
|
149530
|
+
context,
|
|
149531
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
149532
|
+
retryConfig: context.retryConfig,
|
|
149533
|
+
retryCodes: context.retryCodes
|
|
147835
149534
|
});
|
|
147836
|
-
|
|
147837
|
-
|
|
147838
|
-
|
|
147839
|
-
|
|
147840
|
-
|
|
149535
|
+
if (!doResult.ok) {
|
|
149536
|
+
return [doResult, { status: "request-error", request: req }];
|
|
149537
|
+
}
|
|
149538
|
+
const response = doResult.value;
|
|
149539
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
149540
|
+
if (!result.ok) {
|
|
149541
|
+
return [result, { status: "complete", request: req, response }];
|
|
149542
|
+
}
|
|
149543
|
+
return [result, { status: "complete", request: req, response }];
|
|
149544
|
+
}
|
|
149545
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = __esm(() => {
|
|
149546
|
+
init_encodings();
|
|
149547
|
+
init_http();
|
|
149548
|
+
init_matchers();
|
|
149549
|
+
init_primitives();
|
|
149550
|
+
init_schemas4();
|
|
149551
|
+
init_security();
|
|
149552
|
+
init_url();
|
|
149553
|
+
init_components();
|
|
149554
|
+
init_operations();
|
|
149555
|
+
init_async();
|
|
149556
|
+
});
|
|
149557
|
+
|
|
149558
|
+
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
149559
|
+
var args360, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
149560
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
149561
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
149562
|
+
init_operations();
|
|
149563
|
+
init_tools();
|
|
149564
|
+
args360 = {
|
|
149565
|
+
request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
147841
149566
|
};
|
|
147842
|
-
|
|
149567
|
+
tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
|
|
149568
|
+
name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
|
|
149569
|
+
description: `Refresh Repositories`,
|
|
149570
|
+
args: args360,
|
|
149571
|
+
tool: async (client, args361, ctx) => {
|
|
149572
|
+
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args361.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
149573
|
+
if (!result.ok) {
|
|
149574
|
+
return {
|
|
149575
|
+
content: [{ type: "text", text: result.error.message }],
|
|
149576
|
+
isError: true
|
|
149577
|
+
};
|
|
149578
|
+
}
|
|
149579
|
+
const value = result.value;
|
|
149580
|
+
return formatResult(value, apiCall);
|
|
149581
|
+
}
|
|
149582
|
+
};
|
|
149583
|
+
});
|
|
149584
|
+
|
|
149585
|
+
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
149586
|
+
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
149587
|
+
return new APIPromise($do370(client, request, options));
|
|
149588
|
+
}
|
|
149589
|
+
async function $do370(client, request, options) {
|
|
149590
|
+
const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
149591
|
+
if (!parsed.ok) {
|
|
149592
|
+
return [parsed, { status: "invalid" }];
|
|
149593
|
+
}
|
|
149594
|
+
const payload = parsed.value;
|
|
149595
|
+
const body = encodeJSON("body", payload.ResolveReferenceRequest, {
|
|
149596
|
+
explode: true
|
|
149597
|
+
});
|
|
149598
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/resolve")();
|
|
147843
149599
|
const headers = new Headers(compactMap({
|
|
147844
149600
|
"Content-Type": "application/json",
|
|
147845
149601
|
Accept: "application/json",
|
|
@@ -147851,7 +149607,7 @@ async function $do361(client, request, options) {
|
|
|
147851
149607
|
const context = {
|
|
147852
149608
|
options: client._options,
|
|
147853
149609
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147854
|
-
operationID: "
|
|
149610
|
+
operationID: "resolve_reference_api_v1_sandbox_github_repositories_resolve_post",
|
|
147855
149611
|
oAuth2Scopes: null,
|
|
147856
149612
|
resolvedSecurity: requestSecurity,
|
|
147857
149613
|
securitySource: client._options.bearerAuth,
|
|
@@ -147894,13 +149650,13 @@ async function $do361(client, request, options) {
|
|
|
147894
149650
|
const responseFields = {
|
|
147895
149651
|
HttpMeta: { Response: response, Request: req }
|
|
147896
149652
|
};
|
|
147897
|
-
const [result] = await match(json(200,
|
|
149653
|
+
const [result] = await match(json(200, ResolvedReference$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147898
149654
|
if (!result.ok) {
|
|
147899
149655
|
return [result, { status: "complete", request: req, response }];
|
|
147900
149656
|
}
|
|
147901
149657
|
return [result, { status: "complete", request: req, response }];
|
|
147902
149658
|
}
|
|
147903
|
-
var
|
|
149659
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = __esm(() => {
|
|
147904
149660
|
init_encodings();
|
|
147905
149661
|
init_http();
|
|
147906
149662
|
init_matchers();
|
|
@@ -147914,21 +149670,21 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
147914
149670
|
init_async();
|
|
147915
149671
|
});
|
|
147916
149672
|
|
|
147917
|
-
// src/mcp-server/tools/
|
|
147918
|
-
var
|
|
147919
|
-
var
|
|
147920
|
-
|
|
149673
|
+
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
149674
|
+
var args361, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
149675
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
149676
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
147921
149677
|
init_operations();
|
|
147922
149678
|
init_tools();
|
|
147923
|
-
|
|
147924
|
-
request:
|
|
149679
|
+
args361 = {
|
|
149680
|
+
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
147925
149681
|
};
|
|
147926
|
-
tool$
|
|
147927
|
-
name: "schema-3-other-
|
|
147928
|
-
description: `
|
|
147929
|
-
args:
|
|
147930
|
-
tool: async (client,
|
|
147931
|
-
const [result, apiCall] = await
|
|
149682
|
+
tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
|
|
149683
|
+
name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
|
|
149684
|
+
description: `Resolve Reference`,
|
|
149685
|
+
args: args361,
|
|
149686
|
+
tool: async (client, args362, ctx) => {
|
|
149687
|
+
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args362.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147932
149688
|
if (!result.ok) {
|
|
147933
149689
|
return {
|
|
147934
149690
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147941,18 +149697,24 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
147941
149697
|
};
|
|
147942
149698
|
});
|
|
147943
149699
|
|
|
147944
|
-
// src/funcs/
|
|
147945
|
-
function
|
|
147946
|
-
return new APIPromise($
|
|
149700
|
+
// src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149701
|
+
function schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, request, options) {
|
|
149702
|
+
return new APIPromise($do371(client, request, options));
|
|
147947
149703
|
}
|
|
147948
|
-
async function $
|
|
147949
|
-
const parsed = safeParse4(request, (value) =>
|
|
149704
|
+
async function $do371(client, request, options) {
|
|
149705
|
+
const parsed = safeParse4(request, (value) => RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147950
149706
|
if (!parsed.ok) {
|
|
147951
149707
|
return [parsed, { status: "invalid" }];
|
|
147952
149708
|
}
|
|
147953
149709
|
const payload = parsed.value;
|
|
147954
149710
|
const body = null;
|
|
147955
|
-
const
|
|
149711
|
+
const pathParams = {
|
|
149712
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149713
|
+
explode: false,
|
|
149714
|
+
charEncoding: "percent"
|
|
149715
|
+
})
|
|
149716
|
+
};
|
|
149717
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/environment-setup")(pathParams);
|
|
147956
149718
|
const headers = new Headers(compactMap({
|
|
147957
149719
|
Accept: "application/json",
|
|
147958
149720
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -147963,7 +149725,7 @@ async function $do362(client, request, options) {
|
|
|
147963
149725
|
const context = {
|
|
147964
149726
|
options: client._options,
|
|
147965
149727
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147966
|
-
operationID: "
|
|
149728
|
+
operationID: "run_environment_setup_api_v1_sandbox_sessions__session_id__environment_setup_post",
|
|
147967
149729
|
oAuth2Scopes: null,
|
|
147968
149730
|
resolvedSecurity: requestSecurity,
|
|
147969
149731
|
securitySource: client._options.bearerAuth,
|
|
@@ -148003,13 +149765,16 @@ async function $do362(client, request, options) {
|
|
|
148003
149765
|
return [doResult, { status: "request-error", request: req }];
|
|
148004
149766
|
}
|
|
148005
149767
|
const response = doResult.value;
|
|
148006
|
-
const
|
|
149768
|
+
const responseFields = {
|
|
149769
|
+
HttpMeta: { Response: response, Request: req }
|
|
149770
|
+
};
|
|
149771
|
+
const [result] = await match(json(200, EnvironmentSetupRunModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148007
149772
|
if (!result.ok) {
|
|
148008
149773
|
return [result, { status: "complete", request: req, response }];
|
|
148009
149774
|
}
|
|
148010
149775
|
return [result, { status: "complete", request: req, response }];
|
|
148011
149776
|
}
|
|
148012
|
-
var
|
|
149777
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = __esm(() => {
|
|
148013
149778
|
init_encodings();
|
|
148014
149779
|
init_http();
|
|
148015
149780
|
init_matchers();
|
|
@@ -148018,25 +149783,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148018
149783
|
init_security();
|
|
148019
149784
|
init_url();
|
|
148020
149785
|
init_components();
|
|
149786
|
+
init_errors4();
|
|
148021
149787
|
init_operations();
|
|
148022
149788
|
init_async();
|
|
148023
149789
|
});
|
|
148024
149790
|
|
|
148025
|
-
// src/mcp-server/tools/
|
|
148026
|
-
var
|
|
148027
|
-
var
|
|
148028
|
-
|
|
149791
|
+
// src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149792
|
+
var args362, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
|
|
149793
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2 = __esm(() => {
|
|
149794
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost();
|
|
148029
149795
|
init_operations();
|
|
148030
149796
|
init_tools();
|
|
148031
|
-
|
|
148032
|
-
request:
|
|
148033
|
-
};
|
|
148034
|
-
tool$
|
|
148035
|
-
name: "schema-3-other-
|
|
148036
|
-
description: `
|
|
148037
|
-
args:
|
|
148038
|
-
tool: async (client,
|
|
148039
|
-
const [result, apiCall] = await
|
|
149797
|
+
args362 = {
|
|
149798
|
+
request: RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema
|
|
149799
|
+
};
|
|
149800
|
+
tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = {
|
|
149801
|
+
name: "schema-3-other-run-environment-setup-api-v1-sandbox-sessions-session-id-environment-setup-post",
|
|
149802
|
+
description: `Run Environment Setup`,
|
|
149803
|
+
args: args362,
|
|
149804
|
+
tool: async (client, args363, ctx) => {
|
|
149805
|
+
const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, args363.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148040
149806
|
if (!result.ok) {
|
|
148041
149807
|
return {
|
|
148042
149808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148049,20 +149815,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148049
149815
|
};
|
|
148050
149816
|
});
|
|
148051
149817
|
|
|
148052
|
-
// src/funcs/
|
|
148053
|
-
function
|
|
148054
|
-
return new APIPromise($
|
|
149818
|
+
// src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149819
|
+
function schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, request, options) {
|
|
149820
|
+
return new APIPromise($do372(client, request, options));
|
|
148055
149821
|
}
|
|
148056
|
-
async function $
|
|
148057
|
-
const parsed = safeParse4(request, (value) =>
|
|
149822
|
+
async function $do372(client, request, options) {
|
|
149823
|
+
const parsed = safeParse4(request, (value) => UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148058
149824
|
if (!parsed.ok) {
|
|
148059
149825
|
return [parsed, { status: "invalid" }];
|
|
148060
149826
|
}
|
|
148061
149827
|
const payload = parsed.value;
|
|
148062
|
-
const body = encodeJSON("body", payload.
|
|
149828
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
148063
149829
|
explode: true
|
|
148064
149830
|
});
|
|
148065
|
-
const
|
|
149831
|
+
const pathParams = {
|
|
149832
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
149833
|
+
explode: false,
|
|
149834
|
+
charEncoding: "percent"
|
|
149835
|
+
})
|
|
149836
|
+
};
|
|
149837
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
148066
149838
|
const headers = new Headers(compactMap({
|
|
148067
149839
|
"Content-Type": "application/json",
|
|
148068
149840
|
Accept: "application/json",
|
|
@@ -148074,7 +149846,7 @@ async function $do363(client, request, options) {
|
|
|
148074
149846
|
const context = {
|
|
148075
149847
|
options: client._options,
|
|
148076
149848
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148077
|
-
operationID: "
|
|
149849
|
+
operationID: "update_environment_api_v1_sandbox_environments__environment_id__put",
|
|
148078
149850
|
oAuth2Scopes: null,
|
|
148079
149851
|
resolvedSecurity: requestSecurity,
|
|
148080
149852
|
securitySource: client._options.bearerAuth,
|
|
@@ -148092,7 +149864,7 @@ async function $do363(client, request, options) {
|
|
|
148092
149864
|
};
|
|
148093
149865
|
const requestRes = client._createRequest(context, {
|
|
148094
149866
|
security: requestSecurity,
|
|
148095
|
-
method: "
|
|
149867
|
+
method: "PUT",
|
|
148096
149868
|
baseURL: options?.serverURL,
|
|
148097
149869
|
path,
|
|
148098
149870
|
headers,
|
|
@@ -148117,13 +149889,13 @@ async function $do363(client, request, options) {
|
|
|
148117
149889
|
const responseFields = {
|
|
148118
149890
|
HttpMeta: { Response: response, Request: req }
|
|
148119
149891
|
};
|
|
148120
|
-
const [result] = await match(json(200,
|
|
149892
|
+
const [result] = await match(json(200, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148121
149893
|
if (!result.ok) {
|
|
148122
149894
|
return [result, { status: "complete", request: req, response }];
|
|
148123
149895
|
}
|
|
148124
149896
|
return [result, { status: "complete", request: req, response }];
|
|
148125
149897
|
}
|
|
148126
|
-
var
|
|
149898
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = __esm(() => {
|
|
148127
149899
|
init_encodings();
|
|
148128
149900
|
init_http();
|
|
148129
149901
|
init_matchers();
|
|
@@ -148137,21 +149909,21 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
|
|
|
148137
149909
|
init_async();
|
|
148138
149910
|
});
|
|
148139
149911
|
|
|
148140
|
-
// src/mcp-server/tools/
|
|
148141
|
-
var
|
|
148142
|
-
var
|
|
148143
|
-
|
|
149912
|
+
// src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149913
|
+
var args363, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
|
|
149914
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2 = __esm(() => {
|
|
149915
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut();
|
|
148144
149916
|
init_operations();
|
|
148145
149917
|
init_tools();
|
|
148146
|
-
|
|
148147
|
-
request:
|
|
148148
|
-
};
|
|
148149
|
-
tool$
|
|
148150
|
-
name: "schema-3-other-
|
|
148151
|
-
description: `
|
|
148152
|
-
args:
|
|
148153
|
-
tool: async (client,
|
|
148154
|
-
const [result, apiCall] = await
|
|
149918
|
+
args363 = {
|
|
149919
|
+
request: UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema
|
|
149920
|
+
};
|
|
149921
|
+
tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = {
|
|
149922
|
+
name: "schema-3-other-update-environment-api-v1-sandbox-environments-environment-id-put",
|
|
149923
|
+
description: `Update Environment`,
|
|
149924
|
+
args: args363,
|
|
149925
|
+
tool: async (client, args364, ctx) => {
|
|
149926
|
+
const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, args364.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148155
149927
|
if (!result.ok) {
|
|
148156
149928
|
return {
|
|
148157
149929
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148166,9 +149938,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
|
|
|
148166
149938
|
|
|
148167
149939
|
// src/funcs/usageCosts.ts
|
|
148168
149940
|
function usageCosts(client, request, options) {
|
|
148169
|
-
return new APIPromise($
|
|
149941
|
+
return new APIPromise($do373(client, request, options));
|
|
148170
149942
|
}
|
|
148171
|
-
async function $
|
|
149943
|
+
async function $do373(client, request, options) {
|
|
148172
149944
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148173
149945
|
if (!parsed.ok) {
|
|
148174
149946
|
return [parsed, { status: "invalid" }];
|
|
@@ -148251,12 +150023,12 @@ var init_usageCosts = __esm(() => {
|
|
|
148251
150023
|
});
|
|
148252
150024
|
|
|
148253
150025
|
// src/mcp-server/tools/usageCosts.ts
|
|
148254
|
-
var
|
|
150026
|
+
var args364, tool$usageCosts;
|
|
148255
150027
|
var init_usageCosts2 = __esm(() => {
|
|
148256
150028
|
init_usageCosts();
|
|
148257
150029
|
init_operations();
|
|
148258
150030
|
init_tools();
|
|
148259
|
-
|
|
150031
|
+
args364 = {
|
|
148260
150032
|
request: GetCostsRequest$inboundSchema
|
|
148261
150033
|
};
|
|
148262
150034
|
tool$usageCosts = {
|
|
@@ -148264,9 +150036,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
148264
150036
|
description: `Aggregate cost by dimension
|
|
148265
150037
|
|
|
148266
150038
|
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.`,
|
|
148267
|
-
args:
|
|
148268
|
-
tool: async (client,
|
|
148269
|
-
const [result, apiCall] = await usageCosts(client,
|
|
150039
|
+
args: args364,
|
|
150040
|
+
tool: async (client, args365, ctx) => {
|
|
150041
|
+
const [result, apiCall] = await usageCosts(client, args365.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148270
150042
|
if (!result.ok) {
|
|
148271
150043
|
return {
|
|
148272
150044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148281,9 +150053,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
148281
150053
|
|
|
148282
150054
|
// src/funcs/usageSandbox.ts
|
|
148283
150055
|
function usageSandbox(client, request, options) {
|
|
148284
|
-
return new APIPromise($
|
|
150056
|
+
return new APIPromise($do374(client, request, options));
|
|
148285
150057
|
}
|
|
148286
|
-
async function $
|
|
150058
|
+
async function $do374(client, request, options) {
|
|
148287
150059
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148288
150060
|
if (!parsed.ok) {
|
|
148289
150061
|
return [parsed, { status: "invalid" }];
|
|
@@ -148374,12 +150146,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
148374
150146
|
});
|
|
148375
150147
|
|
|
148376
150148
|
// src/mcp-server/tools/usageSandbox.ts
|
|
148377
|
-
var
|
|
150149
|
+
var args365, tool$usageSandbox;
|
|
148378
150150
|
var init_usageSandbox2 = __esm(() => {
|
|
148379
150151
|
init_usageSandbox();
|
|
148380
150152
|
init_operations();
|
|
148381
150153
|
init_tools();
|
|
148382
|
-
|
|
150154
|
+
args365 = {
|
|
148383
150155
|
request: GetSandboxUsageRequest$inboundSchema
|
|
148384
150156
|
};
|
|
148385
150157
|
tool$usageSandbox = {
|
|
@@ -148387,9 +150159,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
148387
150159
|
description: `Get Sandbox Usage
|
|
148388
150160
|
|
|
148389
150161
|
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\`).`,
|
|
148390
|
-
args:
|
|
148391
|
-
tool: async (client,
|
|
148392
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
150162
|
+
args: args365,
|
|
150163
|
+
tool: async (client, args366, ctx) => {
|
|
150164
|
+
const [result, apiCall] = await usageSandbox(client, args366.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148393
150165
|
if (!result.ok) {
|
|
148394
150166
|
return {
|
|
148395
150167
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148406,7 +150178,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
148406
150178
|
function createMCPServer(deps) {
|
|
148407
150179
|
const server = new McpServer({
|
|
148408
150180
|
name: "SDK",
|
|
148409
|
-
version: "0.54.
|
|
150181
|
+
version: "0.54.12"
|
|
148410
150182
|
});
|
|
148411
150183
|
const client = new SDKCore({
|
|
148412
150184
|
bearerAuth: deps.bearerAuth,
|
|
@@ -148433,6 +150205,15 @@ function createMCPServer(deps) {
|
|
|
148433
150205
|
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
148434
150206
|
tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
|
|
148435
150207
|
tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
|
|
150208
|
+
tool(tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet);
|
|
150209
|
+
tool(tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut);
|
|
150210
|
+
tool(tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete);
|
|
150211
|
+
tool(tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet);
|
|
150212
|
+
tool(tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost);
|
|
150213
|
+
tool(tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet);
|
|
150214
|
+
tool(tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut);
|
|
150215
|
+
tool(tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete);
|
|
150216
|
+
tool(tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost);
|
|
148436
150217
|
tool(tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost);
|
|
148437
150218
|
tool(tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost);
|
|
148438
150219
|
tool(tool$sandboxCreate);
|
|
@@ -149146,15 +150927,24 @@ var init_server2 = __esm(() => {
|
|
|
149146
150927
|
init_sandboxUploadArchive2();
|
|
149147
150928
|
init_sandboxUploadFile2();
|
|
149148
150929
|
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
150930
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2();
|
|
149149
150931
|
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
149150
150932
|
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2();
|
|
150933
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2();
|
|
149151
150934
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
150935
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2();
|
|
149152
150936
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
150937
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2();
|
|
150938
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2();
|
|
149153
150939
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
150940
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2();
|
|
149154
150941
|
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2();
|
|
150942
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2();
|
|
149155
150943
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
149156
150944
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
149157
150945
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
150946
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2();
|
|
150947
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2();
|
|
149158
150948
|
init_usageCosts2();
|
|
149159
150949
|
init_usageSandbox2();
|
|
149160
150950
|
});
|
|
@@ -150334,7 +152124,7 @@ var routes = rn({
|
|
|
150334
152124
|
var app = Ve(routes, {
|
|
150335
152125
|
name: "mcp",
|
|
150336
152126
|
versionInfo: {
|
|
150337
|
-
currentVersion: "0.54.
|
|
152127
|
+
currentVersion: "0.54.12"
|
|
150338
152128
|
}
|
|
150339
152129
|
});
|
|
150340
152130
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -150342,5 +152132,5 @@ export {
|
|
|
150342
152132
|
app
|
|
150343
152133
|
};
|
|
150344
152134
|
|
|
150345
|
-
//# debugId=
|
|
152135
|
+
//# debugId=F45DBD9E8941C0BC64756E2164756E21
|
|
150346
152136
|
//# sourceMappingURL=mcp-server.js.map
|