@meetkai/mka1 0.54.11 → 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 +303 -276
- package/bin/mcp-server.js +2367 -635
- package/bin/mcp-server.js.map +47 -8
- 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/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 +12 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +12 -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/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/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/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/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/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/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 +12 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +12 -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/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/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/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/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/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/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 +12 -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/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/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/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.ts +86 -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
|
|
|
@@ -65878,6 +65878,27 @@ var init_deleteresponseobject = __esm(() => {
|
|
|
65878
65878
|
});
|
|
65879
65879
|
});
|
|
65880
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
|
+
|
|
65881
65902
|
// src/models/components/effectivepricerow.ts
|
|
65882
65903
|
var EffectivePriceRowSource, EffectivePriceRowRates$inboundSchema, EffectivePriceRowRates$outboundSchema, EffectivePriceRowSource$inboundSchema, EffectivePriceRowSource$outboundSchema, EffectivePriceRow$inboundSchema, EffectivePriceRow$outboundSchema;
|
|
65883
65904
|
var init_effectivepricerow = __esm(() => {
|
|
@@ -66120,6 +66141,135 @@ var init_embeddingsresponse = __esm(() => {
|
|
|
66120
66141
|
});
|
|
66121
66142
|
});
|
|
66122
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
|
+
|
|
66123
66273
|
// src/models/components/error.ts
|
|
66124
66274
|
var ErrorT$inboundSchema, ErrorT$outboundSchema;
|
|
66125
66275
|
var init_error = __esm(() => {
|
|
@@ -72034,6 +72184,29 @@ var init_putorgautomodelrequest = __esm(() => {
|
|
|
72034
72184
|
});
|
|
72035
72185
|
});
|
|
72036
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
|
+
|
|
72037
72210
|
// src/models/components/reasoningwithid.ts
|
|
72038
72211
|
var ReasoningWithId$inboundSchema, ReasoningWithId$outboundSchema;
|
|
72039
72212
|
var init_reasoningwithid = __esm(() => {
|
|
@@ -75841,6 +76014,36 @@ var init_sandboxusagepage = __esm(() => {
|
|
|
75841
76014
|
});
|
|
75842
76015
|
});
|
|
75843
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
|
+
|
|
75844
76047
|
// src/models/components/schemacreateresponse.ts
|
|
75845
76048
|
var SchemaCreateResponseData$inboundSchema, SchemaCreateResponseData$outboundSchema, SchemaCreateResponse$inboundSchema, SchemaCreateResponse$outboundSchema;
|
|
75846
76049
|
var init_schemacreateresponse = __esm(() => {
|
|
@@ -76021,6 +76224,187 @@ var init_security2 = __esm(() => {
|
|
|
76021
76224
|
});
|
|
76022
76225
|
});
|
|
76023
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
|
+
|
|
76024
76408
|
// src/models/components/sessionurlresponse.ts
|
|
76025
76409
|
var SessionUrlResponse$inboundSchema, SessionUrlResponse$outboundSchema;
|
|
76026
76410
|
var init_sessionurlresponse = __esm(() => {
|
|
@@ -78590,6 +78974,7 @@ var init_components = __esm(() => {
|
|
|
78590
78974
|
init_deleteorgautomodelresponse();
|
|
78591
78975
|
init_deletepromptresponse();
|
|
78592
78976
|
init_deleteresponseobject();
|
|
78977
|
+
init_dismisssessionrepositoryrequest();
|
|
78593
78978
|
init_doubleclickaction();
|
|
78594
78979
|
init_dpohyperparameters();
|
|
78595
78980
|
init_dragaction();
|
|
@@ -78601,6 +78986,10 @@ var init_components = __esm(() => {
|
|
|
78601
78986
|
init_embeddingsgroupby();
|
|
78602
78987
|
init_embeddingsrequest();
|
|
78603
78988
|
init_embeddingsresponse();
|
|
78989
|
+
init_environmentlist();
|
|
78990
|
+
init_environmentmodel();
|
|
78991
|
+
init_environmentrepositorymodel();
|
|
78992
|
+
init_environmentsetuprunmodel();
|
|
78604
78993
|
init_error();
|
|
78605
78994
|
init_errorevent();
|
|
78606
78995
|
init_evalartifactsobject();
|
|
@@ -78793,6 +79182,7 @@ var init_components = __esm(() => {
|
|
|
78793
79182
|
init_putclustercurrencybody();
|
|
78794
79183
|
init_putmodelpricebody();
|
|
78795
79184
|
init_putorgautomodelrequest();
|
|
79185
|
+
init_putsessionrepositoryrequest();
|
|
78796
79186
|
init_rankingoptions();
|
|
78797
79187
|
init_reasoning();
|
|
78798
79188
|
init_reasoningconfiguration();
|
|
@@ -78899,6 +79289,7 @@ var init_components = __esm(() => {
|
|
|
78899
79289
|
init_sandboxusageoperation();
|
|
78900
79290
|
init_sandboxusagepage();
|
|
78901
79291
|
init_sandboxusageresult();
|
|
79292
|
+
init_saveenvironmentrequest();
|
|
78902
79293
|
init_schemacreateresponse();
|
|
78903
79294
|
init_schemadeleteresponse();
|
|
78904
79295
|
init_schemagetresponse();
|
|
@@ -78911,6 +79302,11 @@ var init_components = __esm(() => {
|
|
|
78911
79302
|
init_security2();
|
|
78912
79303
|
init_sessionkind();
|
|
78913
79304
|
init_sessionrecord();
|
|
79305
|
+
init_sessionrepositoryfailure();
|
|
79306
|
+
init_sessionrepositorymanifest();
|
|
79307
|
+
init_sessionrepositorymodel();
|
|
79308
|
+
init_sessionrepositorypullrequest();
|
|
79309
|
+
init_sessionrepositorypush();
|
|
78914
79310
|
init_sessionstatus();
|
|
78915
79311
|
init_sessionurlresponse();
|
|
78916
79312
|
init_shellcall();
|
|
@@ -87928,6 +88324,32 @@ var init_createcomputesecret = __esm(() => {
|
|
|
87928
88324
|
]);
|
|
87929
88325
|
});
|
|
87930
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
|
+
|
|
87931
88353
|
// src/models/operations/createevalrun.ts
|
|
87932
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;
|
|
87933
88355
|
var init_createevalrun = __esm(() => {
|
|
@@ -89888,6 +90310,31 @@ var init_deletecomputesecret = __esm(() => {
|
|
|
89888
90310
|
});
|
|
89889
90311
|
});
|
|
89890
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
|
+
|
|
89891
90338
|
// src/models/operations/deleteevalrun.ts
|
|
89892
90339
|
var DeleteEvalRunRequest$inboundSchema, DeleteEvalRunRequest$outboundSchema;
|
|
89893
90340
|
var init_deleteevalrun = __esm(() => {
|
|
@@ -91034,6 +91481,40 @@ var init_disconnectapiv1sandboxgithuboauthconnectionsdelete = __esm(() => {
|
|
|
91034
91481
|
});
|
|
91035
91482
|
});
|
|
91036
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
|
+
|
|
91037
91518
|
// src/models/operations/downloadworkspacearchive.ts
|
|
91038
91519
|
var DownloadWorkspaceArchiveRequest$inboundSchema, DownloadWorkspaceArchiveRequest$outboundSchema;
|
|
91039
91520
|
var init_downloadworkspacearchive = __esm(() => {
|
|
@@ -92648,6 +93129,31 @@ var init_getembeddingsusage = __esm(() => {
|
|
|
92648
93129
|
});
|
|
92649
93130
|
});
|
|
92650
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
|
+
|
|
92651
93157
|
// src/models/operations/getevalartifacts.ts
|
|
92652
93158
|
var GetEvalArtifactsRequest$inboundSchema, GetEvalArtifactsRequest$outboundSchema;
|
|
92653
93159
|
var init_getevalartifacts = __esm(() => {
|
|
@@ -96816,6 +97322,27 @@ var init_listembeddingmodels = __esm(() => {
|
|
|
96816
97322
|
});
|
|
96817
97323
|
});
|
|
96818
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
|
+
|
|
96819
97346
|
// src/models/operations/listevalruns.ts
|
|
96820
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;
|
|
96821
97348
|
var init_listevalruns = __esm(() => {
|
|
@@ -100439,6 +100966,31 @@ var init_llmrevoke = __esm(() => {
|
|
|
100439
100966
|
});
|
|
100440
100967
|
});
|
|
100441
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
|
+
|
|
100442
100994
|
// src/models/operations/modifyvectorstore.ts
|
|
100443
100995
|
var ModifyVectorStoreRequest$inboundSchema2, ModifyVectorStoreRequest$outboundSchema2;
|
|
100444
100996
|
var init_modifyvectorstore = __esm(() => {
|
|
@@ -100740,6 +101292,40 @@ var init_putpricing = __esm(() => {
|
|
|
100740
101292
|
});
|
|
100741
101293
|
});
|
|
100742
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
|
+
|
|
100743
101329
|
// src/models/operations/readcloneapiv1sandboxsessionssessionidgithubreadclonepost.ts
|
|
100744
101330
|
var ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema, ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema;
|
|
100745
101331
|
var init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost = __esm(() => {
|
|
@@ -101755,6 +102341,31 @@ var init_runcommand = __esm(() => {
|
|
|
101755
102341
|
});
|
|
101756
102342
|
});
|
|
101757
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
|
+
|
|
101758
102369
|
// src/models/operations/searchvectorstore.ts
|
|
101759
102370
|
var SearchVectorStoreRequest$inboundSchema2, SearchVectorStoreRequest$outboundSchema2;
|
|
101760
102371
|
var init_searchvectorstore = __esm(() => {
|
|
@@ -104094,6 +104705,36 @@ var init_updatecompletionfeedback = __esm(() => {
|
|
|
104094
104705
|
});
|
|
104095
104706
|
});
|
|
104096
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
|
+
|
|
104097
104738
|
// src/models/operations/updateevalschedule.ts
|
|
104098
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;
|
|
104099
104740
|
var init_updateevalschedule = __esm(() => {
|
|
@@ -105284,6 +105925,7 @@ var init_operations = __esm(() => {
|
|
|
105284
105925
|
init_createcompletionfeedback();
|
|
105285
105926
|
init_createcomputequote();
|
|
105286
105927
|
init_createcomputesecret();
|
|
105928
|
+
init_createenvironmentapiv1sandboxenvironmentspost();
|
|
105287
105929
|
init_createevalrun();
|
|
105288
105930
|
init_createevalschedule();
|
|
105289
105931
|
init_createevalsuite();
|
|
@@ -105321,6 +105963,7 @@ var init_operations = __esm(() => {
|
|
|
105321
105963
|
init_deleteapikeybudget();
|
|
105322
105964
|
init_deleteclusterorg2();
|
|
105323
105965
|
init_deletecomputesecret();
|
|
105966
|
+
init_deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete();
|
|
105324
105967
|
init_deleteevalrun();
|
|
105325
105968
|
init_deleteevalschedule();
|
|
105326
105969
|
init_deleteevalsuite();
|
|
@@ -105354,6 +105997,7 @@ var init_operations = __esm(() => {
|
|
|
105354
105997
|
init_deletevectorstore();
|
|
105355
105998
|
init_deletevectorstorefile();
|
|
105356
105999
|
init_disconnectapiv1sandboxgithuboauthconnectionsdelete();
|
|
106000
|
+
init_dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete();
|
|
105357
106001
|
init_downloadworkspacearchive();
|
|
105358
106002
|
init_downloadworkspacefile();
|
|
105359
106003
|
init_embed();
|
|
@@ -105386,6 +106030,7 @@ var init_operations = __esm(() => {
|
|
|
105386
106030
|
init_getcostsusage();
|
|
105387
106031
|
init_getcurrency();
|
|
105388
106032
|
init_getembeddingsusage();
|
|
106033
|
+
init_getenvironmentapiv1sandboxenvironmentsenvironmentidget();
|
|
105389
106034
|
init_getevalartifacts();
|
|
105390
106035
|
init_getevalrun();
|
|
105391
106036
|
init_getevalsampleaudio();
|
|
@@ -105461,6 +106106,7 @@ var init_operations = __esm(() => {
|
|
|
105461
106106
|
init_listcomputetenants();
|
|
105462
106107
|
init_listeffectiveprices();
|
|
105463
106108
|
init_listembeddingmodels();
|
|
106109
|
+
init_listenvironmentsapiv1sandboxenvironmentsget();
|
|
105464
106110
|
init_listevalruns();
|
|
105465
106111
|
init_listevalsamples();
|
|
105466
106112
|
init_listevalscheduleruns();
|
|
@@ -105523,6 +106169,7 @@ var init_operations = __esm(() => {
|
|
|
105523
106169
|
init_llmcheck();
|
|
105524
106170
|
init_llmgrant();
|
|
105525
106171
|
init_llmrevoke();
|
|
106172
|
+
init_manifestapiv1sandboxsessionssessionidgithubrepositoriesget();
|
|
105526
106173
|
init_modifyvectorstore();
|
|
105527
106174
|
init_patchrepo();
|
|
105528
106175
|
init_pauseagentschedule();
|
|
@@ -105532,6 +106179,7 @@ var init_operations = __esm(() => {
|
|
|
105532
106179
|
init_putcomputetenant();
|
|
105533
106180
|
init_putorgautomodel();
|
|
105534
106181
|
init_putpricing();
|
|
106182
|
+
init_putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput();
|
|
105535
106183
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
105536
106184
|
init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost();
|
|
105537
106185
|
init_regeneratescopedapikey2();
|
|
@@ -105550,6 +106198,7 @@ var init_operations = __esm(() => {
|
|
|
105550
106198
|
init_rollbackprompt();
|
|
105551
106199
|
init_runcode();
|
|
105552
106200
|
init_runcommand();
|
|
106201
|
+
init_runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost();
|
|
105553
106202
|
init_searchvectorstore();
|
|
105554
106203
|
init_setapikeybudget();
|
|
105555
106204
|
init_setcurrency();
|
|
@@ -105578,6 +106227,7 @@ var init_operations = __esm(() => {
|
|
|
105578
106227
|
init_updateagentschedule();
|
|
105579
106228
|
init_updateclusterinvite2();
|
|
105580
106229
|
init_updatecompletionfeedback();
|
|
106230
|
+
init_updateenvironmentapiv1sandboxenvironmentsenvironmentidput();
|
|
105581
106231
|
init_updateevalschedule();
|
|
105582
106232
|
init_updateextractschema();
|
|
105583
106233
|
init_updateguardrails();
|
|
@@ -145716,13 +146366,958 @@ async function $do342(client, request, options) {
|
|
|
145716
146366
|
const responseFields = {
|
|
145717
146367
|
HttpMeta: { Response: response, Request: req }
|
|
145718
146368
|
};
|
|
145719
|
-
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 });
|
|
145720
147315
|
if (!result.ok) {
|
|
145721
147316
|
return [result, { status: "complete", request: req, response }];
|
|
145722
147317
|
}
|
|
145723
147318
|
return [result, { status: "complete", request: req, response }];
|
|
145724
147319
|
}
|
|
145725
|
-
var
|
|
147320
|
+
var init_sandboxSetPricing = __esm(() => {
|
|
145726
147321
|
init_encodings();
|
|
145727
147322
|
init_http();
|
|
145728
147323
|
init_matchers();
|
|
@@ -145732,27 +147327,26 @@ var init_sandboxGet = __esm(() => {
|
|
|
145732
147327
|
init_url();
|
|
145733
147328
|
init_components();
|
|
145734
147329
|
init_errors4();
|
|
145735
|
-
init_operations();
|
|
145736
147330
|
init_async();
|
|
145737
147331
|
});
|
|
145738
147332
|
|
|
145739
|
-
// src/mcp-server/tools/
|
|
145740
|
-
var
|
|
145741
|
-
var
|
|
145742
|
-
|
|
145743
|
-
|
|
147333
|
+
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
147334
|
+
var args341, tool$sandboxSetPricing;
|
|
147335
|
+
var init_sandboxSetPricing2 = __esm(() => {
|
|
147336
|
+
init_sandboxSetPricing();
|
|
147337
|
+
init_components();
|
|
145744
147338
|
init_tools();
|
|
145745
|
-
|
|
145746
|
-
request:
|
|
147339
|
+
args341 = {
|
|
147340
|
+
request: SandboxPricingUpdate$inboundSchema
|
|
145747
147341
|
};
|
|
145748
|
-
tool$
|
|
145749
|
-
name: "sandbox-
|
|
145750
|
-
description: `
|
|
147342
|
+
tool$sandboxSetPricing = {
|
|
147343
|
+
name: "sandbox-set-pricing",
|
|
147344
|
+
description: `Set Sandbox Pricing
|
|
145751
147345
|
|
|
145752
|
-
|
|
145753
|
-
args:
|
|
145754
|
-
tool: async (client,
|
|
145755
|
-
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();
|
|
145756
147350
|
if (!result.ok) {
|
|
145757
147351
|
return {
|
|
145758
147352
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145765,28 +147359,28 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
145765
147359
|
};
|
|
145766
147360
|
});
|
|
145767
147361
|
|
|
145768
|
-
// src/funcs/
|
|
145769
|
-
function
|
|
145770
|
-
return new APIPromise($
|
|
147362
|
+
// src/funcs/sandboxTerminate.ts
|
|
147363
|
+
function sandboxTerminate(client, request, options) {
|
|
147364
|
+
return new APIPromise($do351(client, request, options));
|
|
145771
147365
|
}
|
|
145772
|
-
async function $
|
|
145773
|
-
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");
|
|
145774
147368
|
if (!parsed.ok) {
|
|
145775
147369
|
return [parsed, { status: "invalid" }];
|
|
145776
147370
|
}
|
|
145777
147371
|
const payload = parsed.value;
|
|
145778
|
-
const body =
|
|
147372
|
+
const body = encodeJSON("body", payload.TerminateSessionRequest, {
|
|
147373
|
+
explode: true
|
|
147374
|
+
});
|
|
145779
147375
|
const pathParams = {
|
|
145780
147376
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145781
147377
|
explode: false,
|
|
145782
147378
|
charEncoding: "percent"
|
|
145783
147379
|
})
|
|
145784
147380
|
};
|
|
145785
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
145786
|
-
const query = encodeFormQuery({
|
|
145787
|
-
session_token: payload.session_token
|
|
145788
|
-
});
|
|
147381
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
145789
147382
|
const headers = new Headers(compactMap({
|
|
147383
|
+
"Content-Type": "application/json",
|
|
145790
147384
|
Accept: "application/json",
|
|
145791
147385
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145792
147386
|
}));
|
|
@@ -145796,7 +147390,7 @@ async function $do343(client, request, options) {
|
|
|
145796
147390
|
const context = {
|
|
145797
147391
|
options: client._options,
|
|
145798
147392
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145799
|
-
operationID: "
|
|
147393
|
+
operationID: "terminateSession",
|
|
145800
147394
|
oAuth2Scopes: null,
|
|
145801
147395
|
resolvedSecurity: requestSecurity,
|
|
145802
147396
|
securitySource: client._options.bearerAuth,
|
|
@@ -145814,11 +147408,10 @@ async function $do343(client, request, options) {
|
|
|
145814
147408
|
};
|
|
145815
147409
|
const requestRes = client._createRequest(context, {
|
|
145816
147410
|
security: requestSecurity,
|
|
145817
|
-
method: "
|
|
147411
|
+
method: "POST",
|
|
145818
147412
|
baseURL: options?.serverURL,
|
|
145819
147413
|
path,
|
|
145820
147414
|
headers,
|
|
145821
|
-
query,
|
|
145822
147415
|
body,
|
|
145823
147416
|
userAgent: client._options.userAgent,
|
|
145824
147417
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -145840,13 +147433,13 @@ async function $do343(client, request, options) {
|
|
|
145840
147433
|
const responseFields = {
|
|
145841
147434
|
HttpMeta: { Response: response, Request: req }
|
|
145842
147435
|
};
|
|
145843
|
-
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 });
|
|
145844
147437
|
if (!result.ok) {
|
|
145845
147438
|
return [result, { status: "complete", request: req, response }];
|
|
145846
147439
|
}
|
|
145847
147440
|
return [result, { status: "complete", request: req, response }];
|
|
145848
147441
|
}
|
|
145849
|
-
var
|
|
147442
|
+
var init_sandboxTerminate = __esm(() => {
|
|
145850
147443
|
init_encodings();
|
|
145851
147444
|
init_http();
|
|
145852
147445
|
init_matchers();
|
|
@@ -145860,23 +147453,23 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
145860
147453
|
init_async();
|
|
145861
147454
|
});
|
|
145862
147455
|
|
|
145863
|
-
// src/mcp-server/tools/
|
|
145864
|
-
var
|
|
145865
|
-
var
|
|
145866
|
-
|
|
147456
|
+
// src/mcp-server/tools/sandboxTerminate.ts
|
|
147457
|
+
var args342, tool$sandboxTerminate;
|
|
147458
|
+
var init_sandboxTerminate2 = __esm(() => {
|
|
147459
|
+
init_sandboxTerminate();
|
|
145867
147460
|
init_operations();
|
|
145868
147461
|
init_tools();
|
|
145869
|
-
|
|
145870
|
-
request:
|
|
147462
|
+
args342 = {
|
|
147463
|
+
request: TerminateSessionRequest$inboundSchema2
|
|
145871
147464
|
};
|
|
145872
|
-
tool$
|
|
145873
|
-
name: "sandbox-
|
|
145874
|
-
description: `
|
|
147465
|
+
tool$sandboxTerminate = {
|
|
147466
|
+
name: "sandbox-terminate",
|
|
147467
|
+
description: `Terminate Session
|
|
145875
147468
|
|
|
145876
|
-
|
|
145877
|
-
args:
|
|
145878
|
-
tool: async (client,
|
|
145879
|
-
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();
|
|
145880
147473
|
if (!result.ok) {
|
|
145881
147474
|
return {
|
|
145882
147475
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145889,14 +147482,31 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
145889
147482
|
};
|
|
145890
147483
|
});
|
|
145891
147484
|
|
|
145892
|
-
// src/funcs/
|
|
145893
|
-
function
|
|
145894
|
-
return new APIPromise($
|
|
147485
|
+
// src/funcs/sandboxUploadArchive.ts
|
|
147486
|
+
function sandboxUploadArchive(client, request, options) {
|
|
147487
|
+
return new APIPromise($do352(client, request, options));
|
|
145895
147488
|
}
|
|
145896
|
-
async function $
|
|
145897
|
-
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
|
+
});
|
|
145898
147506
|
const headers = new Headers(compactMap({
|
|
145899
|
-
|
|
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" })
|
|
145900
147510
|
}));
|
|
145901
147511
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
145902
147512
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -145904,7 +147514,7 @@ async function $do344(client, options) {
|
|
|
145904
147514
|
const context = {
|
|
145905
147515
|
options: client._options,
|
|
145906
147516
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145907
|
-
operationID: "
|
|
147517
|
+
operationID: "uploadWorkspaceArchive",
|
|
145908
147518
|
oAuth2Scopes: null,
|
|
145909
147519
|
resolvedSecurity: requestSecurity,
|
|
145910
147520
|
securitySource: client._options.bearerAuth,
|
|
@@ -145922,10 +147532,12 @@ async function $do344(client, options) {
|
|
|
145922
147532
|
};
|
|
145923
147533
|
const requestRes = client._createRequest(context, {
|
|
145924
147534
|
security: requestSecurity,
|
|
145925
|
-
method: "
|
|
147535
|
+
method: "PUT",
|
|
145926
147536
|
baseURL: options?.serverURL,
|
|
145927
147537
|
path,
|
|
145928
147538
|
headers,
|
|
147539
|
+
query,
|
|
147540
|
+
body,
|
|
145929
147541
|
userAgent: client._options.userAgent,
|
|
145930
147542
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
145931
147543
|
}, options);
|
|
@@ -145943,34 +147555,46 @@ async function $do344(client, options) {
|
|
|
145943
147555
|
return [doResult, { status: "request-error", request: req }];
|
|
145944
147556
|
}
|
|
145945
147557
|
const response = doResult.value;
|
|
145946
|
-
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 });
|
|
145947
147562
|
if (!result.ok) {
|
|
145948
147563
|
return [result, { status: "complete", request: req, response }];
|
|
145949
147564
|
}
|
|
145950
147565
|
return [result, { status: "complete", request: req, response }];
|
|
145951
147566
|
}
|
|
145952
|
-
var
|
|
147567
|
+
var init_sandboxUploadArchive = __esm(() => {
|
|
147568
|
+
init_esm();
|
|
147569
|
+
init_encodings();
|
|
145953
147570
|
init_http();
|
|
145954
147571
|
init_matchers();
|
|
145955
147572
|
init_primitives();
|
|
147573
|
+
init_schemas4();
|
|
145956
147574
|
init_security();
|
|
145957
147575
|
init_url();
|
|
145958
|
-
|
|
147576
|
+
init_errors4();
|
|
147577
|
+
init_operations();
|
|
145959
147578
|
init_async();
|
|
145960
147579
|
});
|
|
145961
147580
|
|
|
145962
|
-
// src/mcp-server/tools/
|
|
145963
|
-
var tool$
|
|
145964
|
-
var
|
|
145965
|
-
|
|
147581
|
+
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
147582
|
+
var args343, tool$sandboxUploadArchive;
|
|
147583
|
+
var init_sandboxUploadArchive2 = __esm(() => {
|
|
147584
|
+
init_sandboxUploadArchive();
|
|
147585
|
+
init_operations();
|
|
145966
147586
|
init_tools();
|
|
145967
|
-
|
|
145968
|
-
|
|
145969
|
-
|
|
147587
|
+
args343 = {
|
|
147588
|
+
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
147589
|
+
};
|
|
147590
|
+
tool$sandboxUploadArchive = {
|
|
147591
|
+
name: "sandbox-upload-archive",
|
|
147592
|
+
description: `Upload Workspace Archive
|
|
145970
147593
|
|
|
145971
|
-
|
|
145972
|
-
|
|
145973
|
-
|
|
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();
|
|
145974
147598
|
if (!result.ok) {
|
|
145975
147599
|
return {
|
|
145976
147600
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145983,28 +147607,33 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
145983
147607
|
};
|
|
145984
147608
|
});
|
|
145985
147609
|
|
|
145986
|
-
// src/funcs/
|
|
145987
|
-
function
|
|
145988
|
-
return new APIPromise($
|
|
147610
|
+
// src/funcs/sandboxUploadFile.ts
|
|
147611
|
+
function sandboxUploadFile(client, request, options) {
|
|
147612
|
+
return new APIPromise($do353(client, request, options));
|
|
145989
147613
|
}
|
|
145990
|
-
async function $
|
|
145991
|
-
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");
|
|
145992
147616
|
if (!parsed.ok) {
|
|
145993
147617
|
return [parsed, { status: "invalid" }];
|
|
145994
147618
|
}
|
|
145995
147619
|
const payload = parsed.value;
|
|
145996
|
-
const body =
|
|
147620
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
145997
147621
|
const pathParams = {
|
|
147622
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
147623
|
+
explode: false,
|
|
147624
|
+
charEncoding: "percent"
|
|
147625
|
+
}),
|
|
145998
147626
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145999
147627
|
explode: false,
|
|
146000
147628
|
charEncoding: "percent"
|
|
146001
147629
|
})
|
|
146002
147630
|
};
|
|
146003
|
-
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);
|
|
146004
147632
|
const query = encodeFormQuery({
|
|
146005
147633
|
session_token: payload.session_token
|
|
146006
147634
|
});
|
|
146007
147635
|
const headers = new Headers(compactMap({
|
|
147636
|
+
"Content-Type": "application/octet-stream",
|
|
146008
147637
|
Accept: "application/json",
|
|
146009
147638
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146010
147639
|
}));
|
|
@@ -146014,7 +147643,7 @@ async function $do345(client, request, options) {
|
|
|
146014
147643
|
const context = {
|
|
146015
147644
|
options: client._options,
|
|
146016
147645
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146017
|
-
operationID: "
|
|
147646
|
+
operationID: "uploadWorkspaceFile",
|
|
146018
147647
|
oAuth2Scopes: null,
|
|
146019
147648
|
resolvedSecurity: requestSecurity,
|
|
146020
147649
|
securitySource: client._options.bearerAuth,
|
|
@@ -146032,7 +147661,7 @@ async function $do345(client, request, options) {
|
|
|
146032
147661
|
};
|
|
146033
147662
|
const requestRes = client._createRequest(context, {
|
|
146034
147663
|
security: requestSecurity,
|
|
146035
|
-
method: "
|
|
147664
|
+
method: "PUT",
|
|
146036
147665
|
baseURL: options?.serverURL,
|
|
146037
147666
|
path,
|
|
146038
147667
|
headers,
|
|
@@ -146058,13 +147687,14 @@ async function $do345(client, request, options) {
|
|
|
146058
147687
|
const responseFields = {
|
|
146059
147688
|
HttpMeta: { Response: response, Request: req }
|
|
146060
147689
|
};
|
|
146061
|
-
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 });
|
|
146062
147691
|
if (!result.ok) {
|
|
146063
147692
|
return [result, { status: "complete", request: req, response }];
|
|
146064
147693
|
}
|
|
146065
147694
|
return [result, { status: "complete", request: req, response }];
|
|
146066
147695
|
}
|
|
146067
|
-
var
|
|
147696
|
+
var init_sandboxUploadFile = __esm(() => {
|
|
147697
|
+
init_esm();
|
|
146068
147698
|
init_encodings();
|
|
146069
147699
|
init_http();
|
|
146070
147700
|
init_matchers();
|
|
@@ -146072,29 +147702,28 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
146072
147702
|
init_schemas4();
|
|
146073
147703
|
init_security();
|
|
146074
147704
|
init_url();
|
|
146075
|
-
init_components();
|
|
146076
147705
|
init_errors4();
|
|
146077
147706
|
init_operations();
|
|
146078
147707
|
init_async();
|
|
146079
147708
|
});
|
|
146080
147709
|
|
|
146081
|
-
// src/mcp-server/tools/
|
|
146082
|
-
var
|
|
146083
|
-
var
|
|
146084
|
-
|
|
147710
|
+
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
147711
|
+
var args344, tool$sandboxUploadFile;
|
|
147712
|
+
var init_sandboxUploadFile2 = __esm(() => {
|
|
147713
|
+
init_sandboxUploadFile();
|
|
146085
147714
|
init_operations();
|
|
146086
147715
|
init_tools();
|
|
146087
|
-
|
|
146088
|
-
request:
|
|
147716
|
+
args344 = {
|
|
147717
|
+
request: UploadWorkspaceFileRequest$inboundSchema
|
|
146089
147718
|
};
|
|
146090
|
-
tool$
|
|
146091
|
-
name: "sandbox-
|
|
146092
|
-
description: `
|
|
147719
|
+
tool$sandboxUploadFile = {
|
|
147720
|
+
name: "sandbox-upload-file",
|
|
147721
|
+
description: `Upload Workspace File
|
|
146093
147722
|
|
|
146094
|
-
|
|
146095
|
-
args:
|
|
146096
|
-
tool: async (client,
|
|
146097
|
-
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();
|
|
146098
147727
|
if (!result.ok) {
|
|
146099
147728
|
return {
|
|
146100
147729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146107,19 +147736,20 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
146107
147736
|
};
|
|
146108
147737
|
});
|
|
146109
147738
|
|
|
146110
|
-
// src/funcs/
|
|
146111
|
-
function
|
|
146112
|
-
return new APIPromise($
|
|
147739
|
+
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147740
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
147741
|
+
return new APIPromise($do354(client, request, options));
|
|
146113
147742
|
}
|
|
146114
|
-
async function $
|
|
146115
|
-
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");
|
|
146116
147745
|
if (!parsed.ok) {
|
|
146117
147746
|
return [parsed, { status: "invalid" }];
|
|
146118
147747
|
}
|
|
146119
147748
|
const payload = parsed.value;
|
|
146120
|
-
const body =
|
|
146121
|
-
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")();
|
|
146122
147751
|
const headers = new Headers(compactMap({
|
|
147752
|
+
"Content-Type": "application/json",
|
|
146123
147753
|
Accept: "application/json",
|
|
146124
147754
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146125
147755
|
}));
|
|
@@ -146129,7 +147759,7 @@ async function $do346(client, request, options) {
|
|
|
146129
147759
|
const context = {
|
|
146130
147760
|
options: client._options,
|
|
146131
147761
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146132
|
-
operationID: "
|
|
147762
|
+
operationID: "connect_api_v1_sandbox_github_oauth_connections_post",
|
|
146133
147763
|
oAuth2Scopes: null,
|
|
146134
147764
|
resolvedSecurity: requestSecurity,
|
|
146135
147765
|
securitySource: client._options.bearerAuth,
|
|
@@ -146147,7 +147777,7 @@ async function $do346(client, request, options) {
|
|
|
146147
147777
|
};
|
|
146148
147778
|
const requestRes = client._createRequest(context, {
|
|
146149
147779
|
security: requestSecurity,
|
|
146150
|
-
method: "
|
|
147780
|
+
method: "POST",
|
|
146151
147781
|
baseURL: options?.serverURL,
|
|
146152
147782
|
path,
|
|
146153
147783
|
headers,
|
|
@@ -146172,14 +147802,13 @@ async function $do346(client, request, options) {
|
|
|
146172
147802
|
const responseFields = {
|
|
146173
147803
|
HttpMeta: { Response: response, Request: req }
|
|
146174
147804
|
};
|
|
146175
|
-
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 });
|
|
146176
147806
|
if (!result.ok) {
|
|
146177
147807
|
return [result, { status: "complete", request: req, response }];
|
|
146178
147808
|
}
|
|
146179
147809
|
return [result, { status: "complete", request: req, response }];
|
|
146180
147810
|
}
|
|
146181
|
-
var
|
|
146182
|
-
init_esm();
|
|
147811
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() => {
|
|
146183
147812
|
init_encodings();
|
|
146184
147813
|
init_http();
|
|
146185
147814
|
init_matchers();
|
|
@@ -146193,23 +147822,21 @@ var init_sandboxList = __esm(() => {
|
|
|
146193
147822
|
init_async();
|
|
146194
147823
|
});
|
|
146195
147824
|
|
|
146196
|
-
// src/mcp-server/tools/
|
|
146197
|
-
var
|
|
146198
|
-
var
|
|
146199
|
-
|
|
147825
|
+
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147826
|
+
var args345, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
147827
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
147828
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
146200
147829
|
init_operations();
|
|
146201
147830
|
init_tools();
|
|
146202
|
-
|
|
146203
|
-
request:
|
|
147831
|
+
args345 = {
|
|
147832
|
+
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
146204
147833
|
};
|
|
146205
|
-
tool$
|
|
146206
|
-
name: "sandbox-
|
|
146207
|
-
description: `
|
|
146208
|
-
|
|
146209
|
-
|
|
146210
|
-
|
|
146211
|
-
tool: async (client, args338, ctx) => {
|
|
146212
|
-
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();
|
|
146213
147840
|
if (!result.ok) {
|
|
146214
147841
|
return {
|
|
146215
147842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146222,36 +147849,22 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
146222
147849
|
};
|
|
146223
147850
|
});
|
|
146224
147851
|
|
|
146225
|
-
// src/funcs/
|
|
146226
|
-
function
|
|
146227
|
-
return new APIPromise($
|
|
147852
|
+
// src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147853
|
+
function schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, request, options) {
|
|
147854
|
+
return new APIPromise($do355(client, request, options));
|
|
146228
147855
|
}
|
|
146229
|
-
async function $
|
|
146230
|
-
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");
|
|
146231
147858
|
if (!parsed.ok) {
|
|
146232
147859
|
return [parsed, { status: "invalid" }];
|
|
146233
147860
|
}
|
|
146234
147861
|
const payload = parsed.value;
|
|
146235
|
-
const body =
|
|
146236
|
-
|
|
146237
|
-
port: encodeSimple("port", payload.port, {
|
|
146238
|
-
explode: false,
|
|
146239
|
-
charEncoding: "percent"
|
|
146240
|
-
}),
|
|
146241
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146242
|
-
explode: false,
|
|
146243
|
-
charEncoding: "percent"
|
|
146244
|
-
}),
|
|
146245
|
-
subpath: encodeSimple("subpath", payload.subpath, {
|
|
146246
|
-
explode: false,
|
|
146247
|
-
charEncoding: "percent"
|
|
146248
|
-
})
|
|
146249
|
-
};
|
|
146250
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
146251
|
-
const query = encodeFormQuery({
|
|
146252
|
-
session_token: payload.session_token
|
|
147862
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
147863
|
+
explode: true
|
|
146253
147864
|
});
|
|
147865
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
146254
147866
|
const headers = new Headers(compactMap({
|
|
147867
|
+
"Content-Type": "application/json",
|
|
146255
147868
|
Accept: "application/json",
|
|
146256
147869
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146257
147870
|
}));
|
|
@@ -146261,7 +147874,7 @@ async function $do347(client, request, options) {
|
|
|
146261
147874
|
const context = {
|
|
146262
147875
|
options: client._options,
|
|
146263
147876
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146264
|
-
operationID: "
|
|
147877
|
+
operationID: "create_environment_api_v1_sandbox_environments_post",
|
|
146265
147878
|
oAuth2Scopes: null,
|
|
146266
147879
|
resolvedSecurity: requestSecurity,
|
|
146267
147880
|
securitySource: client._options.bearerAuth,
|
|
@@ -146279,11 +147892,10 @@ async function $do347(client, request, options) {
|
|
|
146279
147892
|
};
|
|
146280
147893
|
const requestRes = client._createRequest(context, {
|
|
146281
147894
|
security: requestSecurity,
|
|
146282
|
-
method: "
|
|
147895
|
+
method: "POST",
|
|
146283
147896
|
baseURL: options?.serverURL,
|
|
146284
147897
|
path,
|
|
146285
147898
|
headers,
|
|
146286
|
-
query,
|
|
146287
147899
|
body,
|
|
146288
147900
|
userAgent: client._options.userAgent,
|
|
146289
147901
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146305,14 +147917,13 @@ async function $do347(client, request, options) {
|
|
|
146305
147917
|
const responseFields = {
|
|
146306
147918
|
HttpMeta: { Response: response, Request: req }
|
|
146307
147919
|
};
|
|
146308
|
-
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 });
|
|
146309
147921
|
if (!result.ok) {
|
|
146310
147922
|
return [result, { status: "complete", request: req, response }];
|
|
146311
147923
|
}
|
|
146312
147924
|
return [result, { status: "complete", request: req, response }];
|
|
146313
147925
|
}
|
|
146314
|
-
var
|
|
146315
|
-
init_esm();
|
|
147926
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = __esm(() => {
|
|
146316
147927
|
init_encodings();
|
|
146317
147928
|
init_http();
|
|
146318
147929
|
init_matchers();
|
|
@@ -146320,28 +147931,27 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
146320
147931
|
init_schemas4();
|
|
146321
147932
|
init_security();
|
|
146322
147933
|
init_url();
|
|
147934
|
+
init_components();
|
|
146323
147935
|
init_errors4();
|
|
146324
147936
|
init_operations();
|
|
146325
147937
|
init_async();
|
|
146326
147938
|
});
|
|
146327
147939
|
|
|
146328
|
-
// src/mcp-server/tools/
|
|
146329
|
-
var
|
|
146330
|
-
var
|
|
146331
|
-
|
|
147940
|
+
// src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147941
|
+
var args346, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
|
|
147942
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() => {
|
|
147943
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost();
|
|
146332
147944
|
init_operations();
|
|
146333
147945
|
init_tools();
|
|
146334
|
-
|
|
146335
|
-
request:
|
|
147946
|
+
args346 = {
|
|
147947
|
+
request: CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema
|
|
146336
147948
|
};
|
|
146337
|
-
tool$
|
|
146338
|
-
name: "
|
|
146339
|
-
description: `
|
|
146340
|
-
|
|
146341
|
-
|
|
146342
|
-
|
|
146343
|
-
tool: async (client, args339, ctx) => {
|
|
146344
|
-
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();
|
|
146345
147955
|
if (!result.ok) {
|
|
146346
147956
|
return {
|
|
146347
147957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146354,26 +147964,19 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
146354
147964
|
};
|
|
146355
147965
|
});
|
|
146356
147966
|
|
|
146357
|
-
// src/funcs/
|
|
146358
|
-
function
|
|
146359
|
-
return new APIPromise($
|
|
147967
|
+
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
147968
|
+
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
147969
|
+
return new APIPromise($do356(client, request, options));
|
|
146360
147970
|
}
|
|
146361
|
-
async function $
|
|
146362
|
-
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");
|
|
146363
147973
|
if (!parsed.ok) {
|
|
146364
147974
|
return [parsed, { status: "invalid" }];
|
|
146365
147975
|
}
|
|
146366
147976
|
const payload = parsed.value;
|
|
146367
|
-
const body =
|
|
146368
|
-
const
|
|
146369
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146370
|
-
explode: false,
|
|
146371
|
-
charEncoding: "percent"
|
|
146372
|
-
})
|
|
146373
|
-
};
|
|
146374
|
-
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")();
|
|
146375
147979
|
const headers = new Headers(compactMap({
|
|
146376
|
-
"Content-Type": "application/json",
|
|
146377
147980
|
Accept: "application/json",
|
|
146378
147981
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146379
147982
|
}));
|
|
@@ -146383,7 +147986,7 @@ async function $do348(client, request, options) {
|
|
|
146383
147986
|
const context = {
|
|
146384
147987
|
options: client._options,
|
|
146385
147988
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146386
|
-
operationID: "
|
|
147989
|
+
operationID: "create_intent_api_v1_sandbox_github_oauth_intents_post",
|
|
146387
147990
|
oAuth2Scopes: null,
|
|
146388
147991
|
resolvedSecurity: requestSecurity,
|
|
146389
147992
|
securitySource: client._options.bearerAuth,
|
|
@@ -146423,16 +148026,13 @@ async function $do348(client, request, options) {
|
|
|
146423
148026
|
return [doResult, { status: "request-error", request: req }];
|
|
146424
148027
|
}
|
|
146425
148028
|
const response = doResult.value;
|
|
146426
|
-
const
|
|
146427
|
-
HttpMeta: { Response: response, Request: req }
|
|
146428
|
-
};
|
|
146429
|
-
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);
|
|
146430
148030
|
if (!result.ok) {
|
|
146431
148031
|
return [result, { status: "complete", request: req, response }];
|
|
146432
148032
|
}
|
|
146433
148033
|
return [result, { status: "complete", request: req, response }];
|
|
146434
148034
|
}
|
|
146435
|
-
var
|
|
148035
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() => {
|
|
146436
148036
|
init_encodings();
|
|
146437
148037
|
init_http();
|
|
146438
148038
|
init_matchers();
|
|
@@ -146441,28 +148041,25 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
146441
148041
|
init_security();
|
|
146442
148042
|
init_url();
|
|
146443
148043
|
init_components();
|
|
146444
|
-
init_errors4();
|
|
146445
148044
|
init_operations();
|
|
146446
148045
|
init_async();
|
|
146447
148046
|
});
|
|
146448
148047
|
|
|
146449
|
-
// src/mcp-server/tools/
|
|
146450
|
-
var
|
|
146451
|
-
var
|
|
146452
|
-
|
|
148048
|
+
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
148049
|
+
var args347, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
148050
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
148051
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
146453
148052
|
init_operations();
|
|
146454
148053
|
init_tools();
|
|
146455
|
-
|
|
146456
|
-
request:
|
|
148054
|
+
args347 = {
|
|
148055
|
+
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
146457
148056
|
};
|
|
146458
|
-
tool$
|
|
146459
|
-
name: "sandbox-
|
|
146460
|
-
description: `
|
|
146461
|
-
|
|
146462
|
-
|
|
146463
|
-
|
|
146464
|
-
tool: async (client, args340, ctx) => {
|
|
146465
|
-
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();
|
|
146466
148063
|
if (!result.ok) {
|
|
146467
148064
|
return {
|
|
146468
148065
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146475,24 +148072,26 @@ Execute source code in the session workspace using a supported runtime and retur
|
|
|
146475
148072
|
};
|
|
146476
148073
|
});
|
|
146477
148074
|
|
|
146478
|
-
// src/funcs/
|
|
146479
|
-
function
|
|
146480
|
-
return new APIPromise($
|
|
148075
|
+
// src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148076
|
+
function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
|
|
148077
|
+
return new APIPromise($do357(client, request, options));
|
|
146481
148078
|
}
|
|
146482
|
-
async function $
|
|
146483
|
-
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");
|
|
146484
148081
|
if (!parsed.ok) {
|
|
146485
148082
|
return [parsed, { status: "invalid" }];
|
|
146486
148083
|
}
|
|
146487
148084
|
const payload = parsed.value;
|
|
146488
|
-
const body = encodeJSON("body", payload.
|
|
148085
|
+
const body = encodeJSON("body", payload.GitHubPullRequestRequest, {
|
|
148086
|
+
explode: true
|
|
148087
|
+
});
|
|
146489
148088
|
const pathParams = {
|
|
146490
148089
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146491
148090
|
explode: false,
|
|
146492
148091
|
charEncoding: "percent"
|
|
146493
148092
|
})
|
|
146494
148093
|
};
|
|
146495
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
148094
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
|
|
146496
148095
|
const headers = new Headers(compactMap({
|
|
146497
148096
|
"Content-Type": "application/json",
|
|
146498
148097
|
Accept: "application/json",
|
|
@@ -146504,7 +148103,7 @@ async function $do349(client, request, options) {
|
|
|
146504
148103
|
const context = {
|
|
146505
148104
|
options: client._options,
|
|
146506
148105
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146507
|
-
operationID: "
|
|
148106
|
+
operationID: "create_or_update_api_v1_sandbox_sessions__session_id__github_pull_request_post",
|
|
146508
148107
|
oAuth2Scopes: null,
|
|
146509
148108
|
resolvedSecurity: requestSecurity,
|
|
146510
148109
|
securitySource: client._options.bearerAuth,
|
|
@@ -146547,13 +148146,13 @@ async function $do349(client, request, options) {
|
|
|
146547
148146
|
const responseFields = {
|
|
146548
148147
|
HttpMeta: { Response: response, Request: req }
|
|
146549
148148
|
};
|
|
146550
|
-
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 });
|
|
146551
148150
|
if (!result.ok) {
|
|
146552
148151
|
return [result, { status: "complete", request: req, response }];
|
|
146553
148152
|
}
|
|
146554
148153
|
return [result, { status: "complete", request: req, response }];
|
|
146555
148154
|
}
|
|
146556
|
-
var
|
|
148155
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = __esm(() => {
|
|
146557
148156
|
init_encodings();
|
|
146558
148157
|
init_http();
|
|
146559
148158
|
init_matchers();
|
|
@@ -146567,23 +148166,21 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
146567
148166
|
init_async();
|
|
146568
148167
|
});
|
|
146569
148168
|
|
|
146570
|
-
// src/mcp-server/tools/
|
|
146571
|
-
var
|
|
146572
|
-
var
|
|
146573
|
-
|
|
148169
|
+
// src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148170
|
+
var args348, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
|
|
148171
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
|
|
148172
|
+
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
|
|
146574
148173
|
init_operations();
|
|
146575
148174
|
init_tools();
|
|
146576
|
-
|
|
146577
|
-
request:
|
|
148175
|
+
args348 = {
|
|
148176
|
+
request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
|
|
146578
148177
|
};
|
|
146579
|
-
tool$
|
|
146580
|
-
name: "sandbox-
|
|
146581
|
-
description: `
|
|
146582
|
-
|
|
146583
|
-
|
|
146584
|
-
|
|
146585
|
-
tool: async (client, args341, ctx) => {
|
|
146586
|
-
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();
|
|
146587
148184
|
if (!result.ok) {
|
|
146588
148185
|
return {
|
|
146589
148186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146596,21 +148193,27 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
146596
148193
|
};
|
|
146597
148194
|
});
|
|
146598
148195
|
|
|
146599
|
-
// src/funcs/
|
|
146600
|
-
function
|
|
146601
|
-
return new APIPromise($
|
|
148196
|
+
// src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148197
|
+
function schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, request, options) {
|
|
148198
|
+
return new APIPromise($do358(client, request, options));
|
|
146602
148199
|
}
|
|
146603
|
-
async function $
|
|
146604
|
-
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");
|
|
146605
148202
|
if (!parsed.ok) {
|
|
146606
148203
|
return [parsed, { status: "invalid" }];
|
|
146607
148204
|
}
|
|
146608
148205
|
const payload = parsed.value;
|
|
146609
|
-
const body =
|
|
146610
|
-
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);
|
|
146611
148214
|
const headers = new Headers(compactMap({
|
|
146612
|
-
|
|
146613
|
-
|
|
148215
|
+
Accept: "application/json",
|
|
148216
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146614
148217
|
}));
|
|
146615
148218
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146616
148219
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -146618,7 +148221,7 @@ async function $do350(client, request, options) {
|
|
|
146618
148221
|
const context = {
|
|
146619
148222
|
options: client._options,
|
|
146620
148223
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146621
|
-
operationID: "
|
|
148224
|
+
operationID: "delete_environment_api_v1_sandbox_environments__environment_id__delete",
|
|
146622
148225
|
oAuth2Scopes: null,
|
|
146623
148226
|
resolvedSecurity: requestSecurity,
|
|
146624
148227
|
securitySource: client._options.bearerAuth,
|
|
@@ -146636,7 +148239,7 @@ async function $do350(client, request, options) {
|
|
|
146636
148239
|
};
|
|
146637
148240
|
const requestRes = client._createRequest(context, {
|
|
146638
148241
|
security: requestSecurity,
|
|
146639
|
-
method: "
|
|
148242
|
+
method: "DELETE",
|
|
146640
148243
|
baseURL: options?.serverURL,
|
|
146641
148244
|
path,
|
|
146642
148245
|
headers,
|
|
@@ -146661,13 +148264,14 @@ async function $do350(client, request, options) {
|
|
|
146661
148264
|
const responseFields = {
|
|
146662
148265
|
HttpMeta: { Response: response, Request: req }
|
|
146663
148266
|
};
|
|
146664
|
-
const [result] = await match(
|
|
148267
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146665
148268
|
if (!result.ok) {
|
|
146666
148269
|
return [result, { status: "complete", request: req, response }];
|
|
146667
148270
|
}
|
|
146668
148271
|
return [result, { status: "complete", request: req, response }];
|
|
146669
148272
|
}
|
|
146670
|
-
var
|
|
148273
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = __esm(() => {
|
|
148274
|
+
init_esm();
|
|
146671
148275
|
init_encodings();
|
|
146672
148276
|
init_http();
|
|
146673
148277
|
init_matchers();
|
|
@@ -146675,63 +148279,51 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
146675
148279
|
init_schemas4();
|
|
146676
148280
|
init_security();
|
|
146677
148281
|
init_url();
|
|
146678
|
-
init_components();
|
|
146679
148282
|
init_errors4();
|
|
148283
|
+
init_operations();
|
|
146680
148284
|
init_async();
|
|
146681
148285
|
});
|
|
146682
148286
|
|
|
146683
|
-
// src/mcp-server/tools/
|
|
146684
|
-
var
|
|
146685
|
-
var
|
|
146686
|
-
|
|
146687
|
-
|
|
148287
|
+
// src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148288
|
+
var args349, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
|
|
148289
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2 = __esm(() => {
|
|
148290
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete();
|
|
148291
|
+
init_operations();
|
|
146688
148292
|
init_tools();
|
|
146689
|
-
|
|
146690
|
-
request:
|
|
148293
|
+
args349 = {
|
|
148294
|
+
request: DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema
|
|
146691
148295
|
};
|
|
146692
|
-
tool$
|
|
146693
|
-
name: "sandbox-
|
|
146694
|
-
description: `
|
|
146695
|
-
|
|
146696
|
-
|
|
146697
|
-
|
|
146698
|
-
tool: async (client, args342, ctx) => {
|
|
146699
|
-
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();
|
|
146700
148302
|
if (!result.ok) {
|
|
146701
148303
|
return {
|
|
146702
148304
|
content: [{ type: "text", text: result.error.message }],
|
|
146703
148305
|
isError: true
|
|
146704
148306
|
};
|
|
146705
148307
|
}
|
|
146706
|
-
|
|
146707
|
-
return formatResult(value, apiCall);
|
|
148308
|
+
return formatResult(undefined, apiCall);
|
|
146708
148309
|
}
|
|
146709
148310
|
};
|
|
146710
148311
|
});
|
|
146711
148312
|
|
|
146712
|
-
// src/funcs/
|
|
146713
|
-
function
|
|
146714
|
-
return new APIPromise($
|
|
148313
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148314
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
148315
|
+
return new APIPromise($do359(client, request, options));
|
|
146715
148316
|
}
|
|
146716
|
-
async function $
|
|
146717
|
-
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");
|
|
146718
148319
|
if (!parsed.ok) {
|
|
146719
148320
|
return [parsed, { status: "invalid" }];
|
|
146720
148321
|
}
|
|
146721
148322
|
const payload = parsed.value;
|
|
146722
|
-
const body =
|
|
146723
|
-
|
|
146724
|
-
});
|
|
146725
|
-
const pathParams = {
|
|
146726
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146727
|
-
explode: false,
|
|
146728
|
-
charEncoding: "percent"
|
|
146729
|
-
})
|
|
146730
|
-
};
|
|
146731
|
-
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")();
|
|
146732
148325
|
const headers = new Headers(compactMap({
|
|
146733
|
-
|
|
146734
|
-
Accept: "application/json",
|
|
148326
|
+
Accept: "*/*",
|
|
146735
148327
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146736
148328
|
}));
|
|
146737
148329
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -146740,7 +148332,7 @@ async function $do351(client, request, options) {
|
|
|
146740
148332
|
const context = {
|
|
146741
148333
|
options: client._options,
|
|
146742
148334
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146743
|
-
operationID: "
|
|
148335
|
+
operationID: "disconnect_api_v1_sandbox_github_oauth_connections_delete",
|
|
146744
148336
|
oAuth2Scopes: null,
|
|
146745
148337
|
resolvedSecurity: requestSecurity,
|
|
146746
148338
|
securitySource: client._options.bearerAuth,
|
|
@@ -146758,7 +148350,7 @@ async function $do351(client, request, options) {
|
|
|
146758
148350
|
};
|
|
146759
148351
|
const requestRes = client._createRequest(context, {
|
|
146760
148352
|
security: requestSecurity,
|
|
146761
|
-
method: "
|
|
148353
|
+
method: "DELETE",
|
|
146762
148354
|
baseURL: options?.serverURL,
|
|
146763
148355
|
path,
|
|
146764
148356
|
headers,
|
|
@@ -146780,16 +148372,14 @@ async function $do351(client, request, options) {
|
|
|
146780
148372
|
return [doResult, { status: "request-error", request: req }];
|
|
146781
148373
|
}
|
|
146782
148374
|
const response = doResult.value;
|
|
146783
|
-
const
|
|
146784
|
-
HttpMeta: { Response: response, Request: req }
|
|
146785
|
-
};
|
|
146786
|
-
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);
|
|
146787
148376
|
if (!result.ok) {
|
|
146788
148377
|
return [result, { status: "complete", request: req, response }];
|
|
146789
148378
|
}
|
|
146790
148379
|
return [result, { status: "complete", request: req, response }];
|
|
146791
148380
|
}
|
|
146792
|
-
var
|
|
148381
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(() => {
|
|
148382
|
+
init_esm();
|
|
146793
148383
|
init_encodings();
|
|
146794
148384
|
init_http();
|
|
146795
148385
|
init_matchers();
|
|
@@ -146797,64 +148387,62 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
146797
148387
|
init_schemas4();
|
|
146798
148388
|
init_security();
|
|
146799
148389
|
init_url();
|
|
146800
|
-
init_components();
|
|
146801
|
-
init_errors4();
|
|
146802
148390
|
init_operations();
|
|
146803
148391
|
init_async();
|
|
146804
148392
|
});
|
|
146805
148393
|
|
|
146806
|
-
// src/mcp-server/tools/
|
|
146807
|
-
var
|
|
146808
|
-
var
|
|
146809
|
-
|
|
148394
|
+
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148395
|
+
var args350, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
148396
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
148397
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
146810
148398
|
init_operations();
|
|
146811
148399
|
init_tools();
|
|
146812
|
-
|
|
146813
|
-
request:
|
|
148400
|
+
args350 = {
|
|
148401
|
+
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
146814
148402
|
};
|
|
146815
|
-
tool$
|
|
146816
|
-
name: "sandbox-
|
|
146817
|
-
description: `
|
|
146818
|
-
|
|
146819
|
-
|
|
146820
|
-
|
|
146821
|
-
tool: async (client, args343, ctx) => {
|
|
146822
|
-
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();
|
|
146823
148409
|
if (!result.ok) {
|
|
146824
148410
|
return {
|
|
146825
148411
|
content: [{ type: "text", text: result.error.message }],
|
|
146826
148412
|
isError: true
|
|
146827
148413
|
};
|
|
146828
148414
|
}
|
|
146829
|
-
|
|
146830
|
-
return formatResult(value, apiCall);
|
|
148415
|
+
return formatResult(undefined, apiCall);
|
|
146831
148416
|
}
|
|
146832
148417
|
};
|
|
146833
148418
|
});
|
|
146834
148419
|
|
|
146835
|
-
// src/funcs/
|
|
146836
|
-
function
|
|
146837
|
-
return new APIPromise($
|
|
148420
|
+
// src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148421
|
+
function schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, request, options) {
|
|
148422
|
+
return new APIPromise($do360(client, request, options));
|
|
146838
148423
|
}
|
|
146839
|
-
async function $
|
|
146840
|
-
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");
|
|
146841
148426
|
if (!parsed.ok) {
|
|
146842
148427
|
return [parsed, { status: "invalid" }];
|
|
146843
148428
|
}
|
|
146844
148429
|
const payload = parsed.value;
|
|
146845
|
-
const body =
|
|
148430
|
+
const body = encodeJSON("body", payload.DismissSessionRepositoryRequest, {
|
|
148431
|
+
explode: true
|
|
148432
|
+
});
|
|
146846
148433
|
const pathParams = {
|
|
148434
|
+
repository_id: encodeSimple("repository_id", payload.repository_id, {
|
|
148435
|
+
explode: false,
|
|
148436
|
+
charEncoding: "percent"
|
|
148437
|
+
}),
|
|
146847
148438
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146848
148439
|
explode: false,
|
|
146849
148440
|
charEncoding: "percent"
|
|
146850
148441
|
})
|
|
146851
148442
|
};
|
|
146852
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
146853
|
-
const query = encodeFormQuery({
|
|
146854
|
-
session_token: payload.session_token
|
|
146855
|
-
});
|
|
148443
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}")(pathParams);
|
|
146856
148444
|
const headers = new Headers(compactMap({
|
|
146857
|
-
"Content-Type": "application/
|
|
148445
|
+
"Content-Type": "application/json",
|
|
146858
148446
|
Accept: "application/json",
|
|
146859
148447
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146860
148448
|
}));
|
|
@@ -146864,7 +148452,7 @@ async function $do352(client, request, options) {
|
|
|
146864
148452
|
const context = {
|
|
146865
148453
|
options: client._options,
|
|
146866
148454
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146867
|
-
operationID: "
|
|
148455
|
+
operationID: "dismiss_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__delete",
|
|
146868
148456
|
oAuth2Scopes: null,
|
|
146869
148457
|
resolvedSecurity: requestSecurity,
|
|
146870
148458
|
securitySource: client._options.bearerAuth,
|
|
@@ -146882,11 +148470,10 @@ async function $do352(client, request, options) {
|
|
|
146882
148470
|
};
|
|
146883
148471
|
const requestRes = client._createRequest(context, {
|
|
146884
148472
|
security: requestSecurity,
|
|
146885
|
-
method: "
|
|
148473
|
+
method: "DELETE",
|
|
146886
148474
|
baseURL: options?.serverURL,
|
|
146887
148475
|
path,
|
|
146888
148476
|
headers,
|
|
146889
|
-
query,
|
|
146890
148477
|
body,
|
|
146891
148478
|
userAgent: client._options.userAgent,
|
|
146892
148479
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146908,13 +148495,13 @@ async function $do352(client, request, options) {
|
|
|
146908
148495
|
const responseFields = {
|
|
146909
148496
|
HttpMeta: { Response: response, Request: req }
|
|
146910
148497
|
};
|
|
146911
|
-
const [result] = await match(
|
|
148498
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146912
148499
|
if (!result.ok) {
|
|
146913
148500
|
return [result, { status: "complete", request: req, response }];
|
|
146914
148501
|
}
|
|
146915
148502
|
return [result, { status: "complete", request: req, response }];
|
|
146916
148503
|
}
|
|
146917
|
-
var
|
|
148504
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = __esm(() => {
|
|
146918
148505
|
init_esm();
|
|
146919
148506
|
init_encodings();
|
|
146920
148507
|
init_http();
|
|
@@ -146928,62 +148515,48 @@ var init_sandboxUploadArchive = __esm(() => {
|
|
|
146928
148515
|
init_async();
|
|
146929
148516
|
});
|
|
146930
148517
|
|
|
146931
|
-
// src/mcp-server/tools/
|
|
146932
|
-
var
|
|
146933
|
-
var
|
|
146934
|
-
|
|
148518
|
+
// src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148519
|
+
var args351, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
|
|
148520
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2 = __esm(() => {
|
|
148521
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete();
|
|
146935
148522
|
init_operations();
|
|
146936
148523
|
init_tools();
|
|
146937
|
-
|
|
146938
|
-
request:
|
|
148524
|
+
args351 = {
|
|
148525
|
+
request: DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema
|
|
146939
148526
|
};
|
|
146940
|
-
tool$
|
|
146941
|
-
name: "sandbox-
|
|
146942
|
-
description: `
|
|
146943
|
-
|
|
146944
|
-
|
|
146945
|
-
|
|
146946
|
-
tool: async (client, args344, ctx) => {
|
|
146947
|
-
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();
|
|
146948
148533
|
if (!result.ok) {
|
|
146949
148534
|
return {
|
|
146950
148535
|
content: [{ type: "text", text: result.error.message }],
|
|
146951
148536
|
isError: true
|
|
146952
148537
|
};
|
|
146953
148538
|
}
|
|
146954
|
-
|
|
146955
|
-
return formatResult(value, apiCall);
|
|
148539
|
+
return formatResult(undefined, apiCall);
|
|
146956
148540
|
}
|
|
146957
148541
|
};
|
|
146958
148542
|
});
|
|
146959
148543
|
|
|
146960
|
-
// src/funcs/
|
|
146961
|
-
function
|
|
146962
|
-
return new APIPromise($
|
|
148544
|
+
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148545
|
+
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
148546
|
+
return new APIPromise($do361(client, request, options));
|
|
146963
148547
|
}
|
|
146964
|
-
async function $
|
|
146965
|
-
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");
|
|
146966
148550
|
if (!parsed.ok) {
|
|
146967
148551
|
return [parsed, { status: "invalid" }];
|
|
146968
148552
|
}
|
|
146969
148553
|
const payload = parsed.value;
|
|
146970
|
-
const body =
|
|
146971
|
-
const
|
|
146972
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
146973
|
-
explode: false,
|
|
146974
|
-
charEncoding: "percent"
|
|
146975
|
-
}),
|
|
146976
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146977
|
-
explode: false,
|
|
146978
|
-
charEncoding: "percent"
|
|
146979
|
-
})
|
|
146980
|
-
};
|
|
146981
|
-
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")();
|
|
146982
148556
|
const query = encodeFormQuery({
|
|
146983
|
-
|
|
148557
|
+
verify: payload.verify
|
|
146984
148558
|
});
|
|
146985
148559
|
const headers = new Headers(compactMap({
|
|
146986
|
-
"Content-Type": "application/octet-stream",
|
|
146987
148560
|
Accept: "application/json",
|
|
146988
148561
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146989
148562
|
}));
|
|
@@ -146993,7 +148566,7 @@ async function $do353(client, request, options) {
|
|
|
146993
148566
|
const context = {
|
|
146994
148567
|
options: client._options,
|
|
146995
148568
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146996
|
-
operationID: "
|
|
148569
|
+
operationID: "get_connection_api_v1_sandbox_github_oauth_connections_get",
|
|
146997
148570
|
oAuth2Scopes: null,
|
|
146998
148571
|
resolvedSecurity: requestSecurity,
|
|
146999
148572
|
securitySource: client._options.bearerAuth,
|
|
@@ -147011,7 +148584,7 @@ async function $do353(client, request, options) {
|
|
|
147011
148584
|
};
|
|
147012
148585
|
const requestRes = client._createRequest(context, {
|
|
147013
148586
|
security: requestSecurity,
|
|
147014
|
-
method: "
|
|
148587
|
+
method: "GET",
|
|
147015
148588
|
baseURL: options?.serverURL,
|
|
147016
148589
|
path,
|
|
147017
148590
|
headers,
|
|
@@ -147037,14 +148610,13 @@ async function $do353(client, request, options) {
|
|
|
147037
148610
|
const responseFields = {
|
|
147038
148611
|
HttpMeta: { Response: response, Request: req }
|
|
147039
148612
|
};
|
|
147040
|
-
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 });
|
|
147041
148614
|
if (!result.ok) {
|
|
147042
148615
|
return [result, { status: "complete", request: req, response }];
|
|
147043
148616
|
}
|
|
147044
148617
|
return [result, { status: "complete", request: req, response }];
|
|
147045
148618
|
}
|
|
147046
|
-
var
|
|
147047
|
-
init_esm();
|
|
148619
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(() => {
|
|
147048
148620
|
init_encodings();
|
|
147049
148621
|
init_http();
|
|
147050
148622
|
init_matchers();
|
|
@@ -147052,28 +148624,27 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
147052
148624
|
init_schemas4();
|
|
147053
148625
|
init_security();
|
|
147054
148626
|
init_url();
|
|
148627
|
+
init_components();
|
|
147055
148628
|
init_errors4();
|
|
147056
148629
|
init_operations();
|
|
147057
148630
|
init_async();
|
|
147058
148631
|
});
|
|
147059
148632
|
|
|
147060
|
-
// src/mcp-server/tools/
|
|
147061
|
-
var
|
|
147062
|
-
var
|
|
147063
|
-
|
|
148633
|
+
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148634
|
+
var args352, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
148635
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
148636
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
147064
148637
|
init_operations();
|
|
147065
148638
|
init_tools();
|
|
147066
|
-
|
|
147067
|
-
request:
|
|
148639
|
+
args352 = {
|
|
148640
|
+
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
147068
148641
|
};
|
|
147069
|
-
tool$
|
|
147070
|
-
name: "sandbox-
|
|
147071
|
-
description: `
|
|
147072
|
-
|
|
147073
|
-
|
|
147074
|
-
|
|
147075
|
-
tool: async (client, args345, ctx) => {
|
|
147076
|
-
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();
|
|
147077
148648
|
if (!result.ok) {
|
|
147078
148649
|
return {
|
|
147079
148650
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147086,20 +148657,25 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
147086
148657
|
};
|
|
147087
148658
|
});
|
|
147088
148659
|
|
|
147089
|
-
// src/funcs/
|
|
147090
|
-
function
|
|
147091
|
-
return new APIPromise($
|
|
148660
|
+
// src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148661
|
+
function schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, request, options) {
|
|
148662
|
+
return new APIPromise($do362(client, request, options));
|
|
147092
148663
|
}
|
|
147093
|
-
async function $
|
|
147094
|
-
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");
|
|
147095
148666
|
if (!parsed.ok) {
|
|
147096
148667
|
return [parsed, { status: "invalid" }];
|
|
147097
148668
|
}
|
|
147098
148669
|
const payload = parsed.value;
|
|
147099
|
-
const body =
|
|
147100
|
-
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);
|
|
147101
148678
|
const headers = new Headers(compactMap({
|
|
147102
|
-
"Content-Type": "application/json",
|
|
147103
148679
|
Accept: "application/json",
|
|
147104
148680
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147105
148681
|
}));
|
|
@@ -147109,7 +148685,7 @@ async function $do354(client, request, options) {
|
|
|
147109
148685
|
const context = {
|
|
147110
148686
|
options: client._options,
|
|
147111
148687
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147112
|
-
operationID: "
|
|
148688
|
+
operationID: "get_environment_api_v1_sandbox_environments__environment_id__get",
|
|
147113
148689
|
oAuth2Scopes: null,
|
|
147114
148690
|
resolvedSecurity: requestSecurity,
|
|
147115
148691
|
securitySource: client._options.bearerAuth,
|
|
@@ -147127,7 +148703,7 @@ async function $do354(client, request, options) {
|
|
|
147127
148703
|
};
|
|
147128
148704
|
const requestRes = client._createRequest(context, {
|
|
147129
148705
|
security: requestSecurity,
|
|
147130
|
-
method: "
|
|
148706
|
+
method: "GET",
|
|
147131
148707
|
baseURL: options?.serverURL,
|
|
147132
148708
|
path,
|
|
147133
148709
|
headers,
|
|
@@ -147152,13 +148728,13 @@ async function $do354(client, request, options) {
|
|
|
147152
148728
|
const responseFields = {
|
|
147153
148729
|
HttpMeta: { Response: response, Request: req }
|
|
147154
148730
|
};
|
|
147155
|
-
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 });
|
|
147156
148732
|
if (!result.ok) {
|
|
147157
148733
|
return [result, { status: "complete", request: req, response }];
|
|
147158
148734
|
}
|
|
147159
148735
|
return [result, { status: "complete", request: req, response }];
|
|
147160
148736
|
}
|
|
147161
|
-
var
|
|
148737
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = __esm(() => {
|
|
147162
148738
|
init_encodings();
|
|
147163
148739
|
init_http();
|
|
147164
148740
|
init_matchers();
|
|
@@ -147172,21 +148748,21 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() =>
|
|
|
147172
148748
|
init_async();
|
|
147173
148749
|
});
|
|
147174
148750
|
|
|
147175
|
-
// src/mcp-server/tools/
|
|
147176
|
-
var
|
|
147177
|
-
var
|
|
147178
|
-
|
|
148751
|
+
// src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148752
|
+
var args353, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
|
|
148753
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = __esm(() => {
|
|
148754
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet();
|
|
147179
148755
|
init_operations();
|
|
147180
148756
|
init_tools();
|
|
147181
|
-
|
|
147182
|
-
request:
|
|
148757
|
+
args353 = {
|
|
148758
|
+
request: GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema
|
|
147183
148759
|
};
|
|
147184
|
-
tool$
|
|
147185
|
-
name: "schema-3-other-
|
|
147186
|
-
description: `
|
|
147187
|
-
args:
|
|
147188
|
-
tool: async (client,
|
|
147189
|
-
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();
|
|
147190
148766
|
if (!result.ok) {
|
|
147191
148767
|
return {
|
|
147192
148768
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147199,18 +148775,18 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() =
|
|
|
147199
148775
|
};
|
|
147200
148776
|
});
|
|
147201
148777
|
|
|
147202
|
-
// src/funcs/
|
|
147203
|
-
function
|
|
147204
|
-
return new APIPromise($
|
|
148778
|
+
// src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148779
|
+
function schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, request, options) {
|
|
148780
|
+
return new APIPromise($do363(client, request, options));
|
|
147205
148781
|
}
|
|
147206
|
-
async function $
|
|
147207
|
-
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");
|
|
147208
148784
|
if (!parsed.ok) {
|
|
147209
148785
|
return [parsed, { status: "invalid" }];
|
|
147210
148786
|
}
|
|
147211
148787
|
const payload = parsed.value;
|
|
147212
148788
|
const body = null;
|
|
147213
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
148789
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
147214
148790
|
const headers = new Headers(compactMap({
|
|
147215
148791
|
Accept: "application/json",
|
|
147216
148792
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -147221,7 +148797,7 @@ async function $do355(client, request, options) {
|
|
|
147221
148797
|
const context = {
|
|
147222
148798
|
options: client._options,
|
|
147223
148799
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147224
|
-
operationID: "
|
|
148800
|
+
operationID: "list_environments_api_v1_sandbox_environments_get",
|
|
147225
148801
|
oAuth2Scopes: null,
|
|
147226
148802
|
resolvedSecurity: requestSecurity,
|
|
147227
148803
|
securitySource: client._options.bearerAuth,
|
|
@@ -147239,7 +148815,7 @@ async function $do355(client, request, options) {
|
|
|
147239
148815
|
};
|
|
147240
148816
|
const requestRes = client._createRequest(context, {
|
|
147241
148817
|
security: requestSecurity,
|
|
147242
|
-
method: "
|
|
148818
|
+
method: "GET",
|
|
147243
148819
|
baseURL: options?.serverURL,
|
|
147244
148820
|
path,
|
|
147245
148821
|
headers,
|
|
@@ -147261,13 +148837,13 @@ async function $do355(client, request, options) {
|
|
|
147261
148837
|
return [doResult, { status: "request-error", request: req }];
|
|
147262
148838
|
}
|
|
147263
148839
|
const response = doResult.value;
|
|
147264
|
-
const [result] = await match(json(
|
|
148840
|
+
const [result] = await match(json(200, EnvironmentList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
147265
148841
|
if (!result.ok) {
|
|
147266
148842
|
return [result, { status: "complete", request: req, response }];
|
|
147267
148843
|
}
|
|
147268
148844
|
return [result, { status: "complete", request: req, response }];
|
|
147269
148845
|
}
|
|
147270
|
-
var
|
|
148846
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = __esm(() => {
|
|
147271
148847
|
init_encodings();
|
|
147272
148848
|
init_http();
|
|
147273
148849
|
init_matchers();
|
|
@@ -147280,21 +148856,21 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() =
|
|
|
147280
148856
|
init_async();
|
|
147281
148857
|
});
|
|
147282
148858
|
|
|
147283
|
-
// src/mcp-server/tools/
|
|
147284
|
-
var
|
|
147285
|
-
var
|
|
147286
|
-
|
|
148859
|
+
// src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148860
|
+
var args354, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
|
|
148861
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() => {
|
|
148862
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet();
|
|
147287
148863
|
init_operations();
|
|
147288
148864
|
init_tools();
|
|
147289
|
-
|
|
147290
|
-
request:
|
|
148865
|
+
args354 = {
|
|
148866
|
+
request: ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema
|
|
147291
148867
|
};
|
|
147292
|
-
tool$
|
|
147293
|
-
name: "schema-3-other-
|
|
147294
|
-
description: `
|
|
147295
|
-
args:
|
|
147296
|
-
tool: async (client,
|
|
147297
|
-
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();
|
|
147298
148874
|
if (!result.ok) {
|
|
147299
148875
|
return {
|
|
147300
148876
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147307,28 +148883,19 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
|
|
|
147307
148883
|
};
|
|
147308
148884
|
});
|
|
147309
148885
|
|
|
147310
|
-
// src/funcs/
|
|
147311
|
-
function
|
|
147312
|
-
return new APIPromise($
|
|
148886
|
+
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
148887
|
+
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
148888
|
+
return new APIPromise($do364(client, request, options));
|
|
147313
148889
|
}
|
|
147314
|
-
async function $
|
|
147315
|
-
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");
|
|
147316
148892
|
if (!parsed.ok) {
|
|
147317
148893
|
return [parsed, { status: "invalid" }];
|
|
147318
148894
|
}
|
|
147319
148895
|
const payload = parsed.value;
|
|
147320
|
-
const body =
|
|
147321
|
-
|
|
147322
|
-
});
|
|
147323
|
-
const pathParams = {
|
|
147324
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147325
|
-
explode: false,
|
|
147326
|
-
charEncoding: "percent"
|
|
147327
|
-
})
|
|
147328
|
-
};
|
|
147329
|
-
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")();
|
|
147330
148898
|
const headers = new Headers(compactMap({
|
|
147331
|
-
"Content-Type": "application/json",
|
|
147332
148899
|
Accept: "application/json",
|
|
147333
148900
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147334
148901
|
}));
|
|
@@ -147338,7 +148905,7 @@ async function $do356(client, request, options) {
|
|
|
147338
148905
|
const context = {
|
|
147339
148906
|
options: client._options,
|
|
147340
148907
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147341
|
-
operationID: "
|
|
148908
|
+
operationID: "list_repositories_api_v1_sandbox_github_repositories_get",
|
|
147342
148909
|
oAuth2Scopes: null,
|
|
147343
148910
|
resolvedSecurity: requestSecurity,
|
|
147344
148911
|
securitySource: client._options.bearerAuth,
|
|
@@ -147356,7 +148923,7 @@ async function $do356(client, request, options) {
|
|
|
147356
148923
|
};
|
|
147357
148924
|
const requestRes = client._createRequest(context, {
|
|
147358
148925
|
security: requestSecurity,
|
|
147359
|
-
method: "
|
|
148926
|
+
method: "GET",
|
|
147360
148927
|
baseURL: options?.serverURL,
|
|
147361
148928
|
path,
|
|
147362
148929
|
headers,
|
|
@@ -147378,16 +148945,13 @@ async function $do356(client, request, options) {
|
|
|
147378
148945
|
return [doResult, { status: "request-error", request: req }];
|
|
147379
148946
|
}
|
|
147380
148947
|
const response = doResult.value;
|
|
147381
|
-
const
|
|
147382
|
-
HttpMeta: { Response: response, Request: req }
|
|
147383
|
-
};
|
|
147384
|
-
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);
|
|
147385
148949
|
if (!result.ok) {
|
|
147386
148950
|
return [result, { status: "complete", request: req, response }];
|
|
147387
148951
|
}
|
|
147388
148952
|
return [result, { status: "complete", request: req, response }];
|
|
147389
148953
|
}
|
|
147390
|
-
var
|
|
148954
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm(() => {
|
|
147391
148955
|
init_encodings();
|
|
147392
148956
|
init_http();
|
|
147393
148957
|
init_matchers();
|
|
@@ -147396,26 +148960,25 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147396
148960
|
init_security();
|
|
147397
148961
|
init_url();
|
|
147398
148962
|
init_components();
|
|
147399
|
-
init_errors4();
|
|
147400
148963
|
init_operations();
|
|
147401
148964
|
init_async();
|
|
147402
148965
|
});
|
|
147403
148966
|
|
|
147404
|
-
// src/mcp-server/tools/
|
|
147405
|
-
var
|
|
147406
|
-
var
|
|
147407
|
-
|
|
148967
|
+
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
148968
|
+
var args355, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
148969
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
148970
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
147408
148971
|
init_operations();
|
|
147409
148972
|
init_tools();
|
|
147410
|
-
|
|
147411
|
-
request:
|
|
148973
|
+
args355 = {
|
|
148974
|
+
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
147412
148975
|
};
|
|
147413
|
-
tool$
|
|
147414
|
-
name: "schema-3-other-
|
|
147415
|
-
description: `
|
|
147416
|
-
args:
|
|
147417
|
-
tool: async (client,
|
|
147418
|
-
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();
|
|
147419
148982
|
if (!result.ok) {
|
|
147420
148983
|
return {
|
|
147421
148984
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147428,20 +148991,26 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147428
148991
|
};
|
|
147429
148992
|
});
|
|
147430
148993
|
|
|
147431
|
-
// src/funcs/
|
|
147432
|
-
function
|
|
147433
|
-
return new APIPromise($
|
|
148994
|
+
// src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
148995
|
+
function schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, request, options) {
|
|
148996
|
+
return new APIPromise($do365(client, request, options));
|
|
147434
148997
|
}
|
|
147435
|
-
async function $
|
|
147436
|
-
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");
|
|
147437
149000
|
if (!parsed.ok) {
|
|
147438
149001
|
return [parsed, { status: "invalid" }];
|
|
147439
149002
|
}
|
|
147440
149003
|
const payload = parsed.value;
|
|
147441
149004
|
const body = null;
|
|
147442
|
-
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);
|
|
147443
149012
|
const headers = new Headers(compactMap({
|
|
147444
|
-
Accept: "
|
|
149013
|
+
Accept: "application/json",
|
|
147445
149014
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147446
149015
|
}));
|
|
147447
149016
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -147450,7 +149019,7 @@ async function $do357(client, request, options) {
|
|
|
147450
149019
|
const context = {
|
|
147451
149020
|
options: client._options,
|
|
147452
149021
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147453
|
-
operationID: "
|
|
149022
|
+
operationID: "manifest_api_v1_sandbox_sessions__session_id__github_repositories_get",
|
|
147454
149023
|
oAuth2Scopes: null,
|
|
147455
149024
|
resolvedSecurity: requestSecurity,
|
|
147456
149025
|
securitySource: client._options.bearerAuth,
|
|
@@ -147468,7 +149037,7 @@ async function $do357(client, request, options) {
|
|
|
147468
149037
|
};
|
|
147469
149038
|
const requestRes = client._createRequest(context, {
|
|
147470
149039
|
security: requestSecurity,
|
|
147471
|
-
method: "
|
|
149040
|
+
method: "GET",
|
|
147472
149041
|
baseURL: options?.serverURL,
|
|
147473
149042
|
path,
|
|
147474
149043
|
headers,
|
|
@@ -147490,14 +149059,16 @@ async function $do357(client, request, options) {
|
|
|
147490
149059
|
return [doResult, { status: "request-error", request: req }];
|
|
147491
149060
|
}
|
|
147492
149061
|
const response = doResult.value;
|
|
147493
|
-
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 });
|
|
147494
149066
|
if (!result.ok) {
|
|
147495
149067
|
return [result, { status: "complete", request: req, response }];
|
|
147496
149068
|
}
|
|
147497
149069
|
return [result, { status: "complete", request: req, response }];
|
|
147498
149070
|
}
|
|
147499
|
-
var
|
|
147500
|
-
init_esm();
|
|
149071
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = __esm(() => {
|
|
147501
149072
|
init_encodings();
|
|
147502
149073
|
init_http();
|
|
147503
149074
|
init_matchers();
|
|
@@ -147505,52 +149076,59 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
|
|
|
147505
149076
|
init_schemas4();
|
|
147506
149077
|
init_security();
|
|
147507
149078
|
init_url();
|
|
149079
|
+
init_components();
|
|
149080
|
+
init_errors4();
|
|
147508
149081
|
init_operations();
|
|
147509
149082
|
init_async();
|
|
147510
149083
|
});
|
|
147511
149084
|
|
|
147512
|
-
// src/mcp-server/tools/
|
|
147513
|
-
var
|
|
147514
|
-
var
|
|
147515
|
-
|
|
149085
|
+
// src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
149086
|
+
var args356, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
|
|
149087
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2 = __esm(() => {
|
|
149088
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet();
|
|
147516
149089
|
init_operations();
|
|
147517
149090
|
init_tools();
|
|
147518
|
-
|
|
147519
|
-
request:
|
|
149091
|
+
args356 = {
|
|
149092
|
+
request: ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema
|
|
147520
149093
|
};
|
|
147521
|
-
tool$
|
|
147522
|
-
name: "schema-3-other-
|
|
147523
|
-
description: `
|
|
147524
|
-
args:
|
|
147525
|
-
tool: async (client,
|
|
147526
|
-
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();
|
|
147527
149100
|
if (!result.ok) {
|
|
147528
149101
|
return {
|
|
147529
149102
|
content: [{ type: "text", text: result.error.message }],
|
|
147530
149103
|
isError: true
|
|
147531
149104
|
};
|
|
147532
149105
|
}
|
|
147533
|
-
|
|
149106
|
+
const value = result.value;
|
|
149107
|
+
return formatResult(value, apiCall);
|
|
147534
149108
|
}
|
|
147535
149109
|
};
|
|
147536
149110
|
});
|
|
147537
149111
|
|
|
147538
|
-
// src/funcs/
|
|
147539
|
-
function
|
|
147540
|
-
return new APIPromise($
|
|
149112
|
+
// src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149113
|
+
function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
|
|
149114
|
+
return new APIPromise($do366(client, request, options));
|
|
147541
149115
|
}
|
|
147542
|
-
async function $
|
|
147543
|
-
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");
|
|
147544
149118
|
if (!parsed.ok) {
|
|
147545
149119
|
return [parsed, { status: "invalid" }];
|
|
147546
149120
|
}
|
|
147547
149121
|
const payload = parsed.value;
|
|
147548
|
-
const body =
|
|
147549
|
-
const
|
|
147550
|
-
|
|
147551
|
-
|
|
147552
|
-
|
|
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);
|
|
147553
149130
|
const headers = new Headers(compactMap({
|
|
149131
|
+
"Content-Type": "application/json",
|
|
147554
149132
|
Accept: "application/json",
|
|
147555
149133
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147556
149134
|
}));
|
|
@@ -147560,7 +149138,7 @@ async function $do358(client, request, options) {
|
|
|
147560
149138
|
const context = {
|
|
147561
149139
|
options: client._options,
|
|
147562
149140
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147563
|
-
operationID: "
|
|
149141
|
+
operationID: "push_api_v1_sandbox_sessions__session_id__github_push_post",
|
|
147564
149142
|
oAuth2Scopes: null,
|
|
147565
149143
|
resolvedSecurity: requestSecurity,
|
|
147566
149144
|
securitySource: client._options.bearerAuth,
|
|
@@ -147578,11 +149156,10 @@ async function $do358(client, request, options) {
|
|
|
147578
149156
|
};
|
|
147579
149157
|
const requestRes = client._createRequest(context, {
|
|
147580
149158
|
security: requestSecurity,
|
|
147581
|
-
method: "
|
|
149159
|
+
method: "POST",
|
|
147582
149160
|
baseURL: options?.serverURL,
|
|
147583
149161
|
path,
|
|
147584
149162
|
headers,
|
|
147585
|
-
query,
|
|
147586
149163
|
body,
|
|
147587
149164
|
userAgent: client._options.userAgent,
|
|
147588
149165
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -147604,13 +149181,13 @@ async function $do358(client, request, options) {
|
|
|
147604
149181
|
const responseFields = {
|
|
147605
149182
|
HttpMeta: { Response: response, Request: req }
|
|
147606
149183
|
};
|
|
147607
|
-
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 });
|
|
147608
149185
|
if (!result.ok) {
|
|
147609
149186
|
return [result, { status: "complete", request: req, response }];
|
|
147610
149187
|
}
|
|
147611
149188
|
return [result, { status: "complete", request: req, response }];
|
|
147612
149189
|
}
|
|
147613
|
-
var
|
|
149190
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(() => {
|
|
147614
149191
|
init_encodings();
|
|
147615
149192
|
init_http();
|
|
147616
149193
|
init_matchers();
|
|
@@ -147624,21 +149201,21 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
147624
149201
|
init_async();
|
|
147625
149202
|
});
|
|
147626
149203
|
|
|
147627
|
-
// src/mcp-server/tools/
|
|
147628
|
-
var
|
|
147629
|
-
var
|
|
147630
|
-
|
|
149204
|
+
// src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149205
|
+
var args357, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
|
|
149206
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
|
|
149207
|
+
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
|
|
147631
149208
|
init_operations();
|
|
147632
149209
|
init_tools();
|
|
147633
|
-
|
|
147634
|
-
request:
|
|
149210
|
+
args357 = {
|
|
149211
|
+
request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
|
|
147635
149212
|
};
|
|
147636
|
-
tool$
|
|
147637
|
-
name: "schema-3-other-
|
|
147638
|
-
description: `
|
|
147639
|
-
args:
|
|
147640
|
-
tool: async (client,
|
|
147641
|
-
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();
|
|
147642
149219
|
if (!result.ok) {
|
|
147643
149220
|
return {
|
|
147644
149221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147651,19 +149228,32 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
|
|
|
147651
149228
|
};
|
|
147652
149229
|
});
|
|
147653
149230
|
|
|
147654
|
-
// src/funcs/
|
|
147655
|
-
function
|
|
147656
|
-
return new APIPromise($
|
|
149231
|
+
// src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149232
|
+
function schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, request, options) {
|
|
149233
|
+
return new APIPromise($do367(client, request, options));
|
|
147657
149234
|
}
|
|
147658
|
-
async function $
|
|
147659
|
-
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");
|
|
147660
149237
|
if (!parsed.ok) {
|
|
147661
149238
|
return [parsed, { status: "invalid" }];
|
|
147662
149239
|
}
|
|
147663
149240
|
const payload = parsed.value;
|
|
147664
|
-
const body =
|
|
147665
|
-
|
|
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);
|
|
147666
149255
|
const headers = new Headers(compactMap({
|
|
149256
|
+
"Content-Type": "application/json",
|
|
147667
149257
|
Accept: "application/json",
|
|
147668
149258
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147669
149259
|
}));
|
|
@@ -147673,7 +149263,7 @@ async function $do359(client, request, options) {
|
|
|
147673
149263
|
const context = {
|
|
147674
149264
|
options: client._options,
|
|
147675
149265
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147676
|
-
operationID: "
|
|
149266
|
+
operationID: "put_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__put",
|
|
147677
149267
|
oAuth2Scopes: null,
|
|
147678
149268
|
resolvedSecurity: requestSecurity,
|
|
147679
149269
|
securitySource: client._options.bearerAuth,
|
|
@@ -147691,7 +149281,7 @@ async function $do359(client, request, options) {
|
|
|
147691
149281
|
};
|
|
147692
149282
|
const requestRes = client._createRequest(context, {
|
|
147693
149283
|
security: requestSecurity,
|
|
147694
|
-
method: "
|
|
149284
|
+
method: "PUT",
|
|
147695
149285
|
baseURL: options?.serverURL,
|
|
147696
149286
|
path,
|
|
147697
149287
|
headers,
|
|
@@ -147713,13 +149303,16 @@ async function $do359(client, request, options) {
|
|
|
147713
149303
|
return [doResult, { status: "request-error", request: req }];
|
|
147714
149304
|
}
|
|
147715
149305
|
const response = doResult.value;
|
|
147716
|
-
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 });
|
|
147717
149310
|
if (!result.ok) {
|
|
147718
149311
|
return [result, { status: "complete", request: req, response }];
|
|
147719
149312
|
}
|
|
147720
149313
|
return [result, { status: "complete", request: req, response }];
|
|
147721
149314
|
}
|
|
147722
|
-
var
|
|
149315
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = __esm(() => {
|
|
147723
149316
|
init_encodings();
|
|
147724
149317
|
init_http();
|
|
147725
149318
|
init_matchers();
|
|
@@ -147728,25 +149321,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
|
|
|
147728
149321
|
init_security();
|
|
147729
149322
|
init_url();
|
|
147730
149323
|
init_components();
|
|
149324
|
+
init_errors4();
|
|
147731
149325
|
init_operations();
|
|
147732
149326
|
init_async();
|
|
147733
149327
|
});
|
|
147734
149328
|
|
|
147735
|
-
// src/mcp-server/tools/
|
|
147736
|
-
var
|
|
147737
|
-
var
|
|
147738
|
-
|
|
149329
|
+
// src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149330
|
+
var args358, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
|
|
149331
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2 = __esm(() => {
|
|
149332
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut();
|
|
147739
149333
|
init_operations();
|
|
147740
149334
|
init_tools();
|
|
147741
|
-
|
|
147742
|
-
request:
|
|
147743
|
-
};
|
|
147744
|
-
tool$
|
|
147745
|
-
name: "schema-3-other-
|
|
147746
|
-
description: `
|
|
147747
|
-
args:
|
|
147748
|
-
tool: async (client,
|
|
147749
|
-
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();
|
|
147750
149344
|
if (!result.ok) {
|
|
147751
149345
|
return {
|
|
147752
149346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147759,24 +149353,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
|
|
|
147759
149353
|
};
|
|
147760
149354
|
});
|
|
147761
149355
|
|
|
147762
|
-
// src/funcs/
|
|
147763
|
-
function
|
|
147764
|
-
return new APIPromise($
|
|
149356
|
+
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149357
|
+
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
149358
|
+
return new APIPromise($do368(client, request, options));
|
|
147765
149359
|
}
|
|
147766
|
-
async function $
|
|
147767
|
-
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");
|
|
147768
149362
|
if (!parsed.ok) {
|
|
147769
149363
|
return [parsed, { status: "invalid" }];
|
|
147770
149364
|
}
|
|
147771
149365
|
const payload = parsed.value;
|
|
147772
|
-
const body = encodeJSON("body", payload.
|
|
149366
|
+
const body = encodeJSON("body", payload.GitHubReadCloneRequest, {
|
|
149367
|
+
explode: true
|
|
149368
|
+
});
|
|
147773
149369
|
const pathParams = {
|
|
147774
149370
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147775
149371
|
explode: false,
|
|
147776
149372
|
charEncoding: "percent"
|
|
147777
149373
|
})
|
|
147778
149374
|
};
|
|
147779
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/
|
|
149375
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
147780
149376
|
const headers = new Headers(compactMap({
|
|
147781
149377
|
"Content-Type": "application/json",
|
|
147782
149378
|
Accept: "application/json",
|
|
@@ -147788,7 +149384,7 @@ async function $do360(client, request, options) {
|
|
|
147788
149384
|
const context = {
|
|
147789
149385
|
options: client._options,
|
|
147790
149386
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147791
|
-
operationID: "
|
|
149387
|
+
operationID: "read_clone_api_v1_sandbox_sessions__session_id__github_read_clone_post",
|
|
147792
149388
|
oAuth2Scopes: null,
|
|
147793
149389
|
resolvedSecurity: requestSecurity,
|
|
147794
149390
|
securitySource: client._options.bearerAuth,
|
|
@@ -147831,13 +149427,13 @@ async function $do360(client, request, options) {
|
|
|
147831
149427
|
const responseFields = {
|
|
147832
149428
|
HttpMeta: { Response: response, Request: req }
|
|
147833
149429
|
};
|
|
147834
|
-
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 });
|
|
147835
149431
|
if (!result.ok) {
|
|
147836
149432
|
return [result, { status: "complete", request: req, response }];
|
|
147837
149433
|
}
|
|
147838
149434
|
return [result, { status: "complete", request: req, response }];
|
|
147839
149435
|
}
|
|
147840
|
-
var
|
|
149436
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = __esm(() => {
|
|
147841
149437
|
init_encodings();
|
|
147842
149438
|
init_http();
|
|
147843
149439
|
init_matchers();
|
|
@@ -147851,21 +149447,21 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(()
|
|
|
147851
149447
|
init_async();
|
|
147852
149448
|
});
|
|
147853
149449
|
|
|
147854
|
-
// src/mcp-server/tools/
|
|
147855
|
-
var
|
|
147856
|
-
var
|
|
147857
|
-
|
|
149450
|
+
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149451
|
+
var args359, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
149452
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
149453
|
+
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
147858
149454
|
init_operations();
|
|
147859
149455
|
init_tools();
|
|
147860
|
-
|
|
147861
|
-
request:
|
|
149456
|
+
args359 = {
|
|
149457
|
+
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
147862
149458
|
};
|
|
147863
|
-
tool$
|
|
147864
|
-
name: "schema-3-other-
|
|
147865
|
-
description: `
|
|
147866
|
-
args:
|
|
147867
|
-
tool: async (client,
|
|
147868
|
-
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();
|
|
147869
149465
|
if (!result.ok) {
|
|
147870
149466
|
return {
|
|
147871
149467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147878,26 +149474,128 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(()
|
|
|
147878
149474
|
};
|
|
147879
149475
|
});
|
|
147880
149476
|
|
|
147881
|
-
// src/funcs/
|
|
147882
|
-
function
|
|
147883
|
-
return new APIPromise($
|
|
149477
|
+
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
149478
|
+
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
149479
|
+
return new APIPromise($do369(client, request, options));
|
|
147884
149480
|
}
|
|
147885
|
-
async function $
|
|
147886
|
-
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");
|
|
147887
149483
|
if (!parsed.ok) {
|
|
147888
149484
|
return [parsed, { status: "invalid" }];
|
|
147889
149485
|
}
|
|
147890
149486
|
const payload = parsed.value;
|
|
147891
|
-
const body =
|
|
147892
|
-
|
|
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
|
|
147893
149534
|
});
|
|
147894
|
-
|
|
147895
|
-
|
|
147896
|
-
|
|
147897
|
-
|
|
147898
|
-
|
|
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
|
|
147899
149566
|
};
|
|
147900
|
-
|
|
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")();
|
|
147901
149599
|
const headers = new Headers(compactMap({
|
|
147902
149600
|
"Content-Type": "application/json",
|
|
147903
149601
|
Accept: "application/json",
|
|
@@ -147909,7 +149607,7 @@ async function $do361(client, request, options) {
|
|
|
147909
149607
|
const context = {
|
|
147910
149608
|
options: client._options,
|
|
147911
149609
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147912
|
-
operationID: "
|
|
149610
|
+
operationID: "resolve_reference_api_v1_sandbox_github_repositories_resolve_post",
|
|
147913
149611
|
oAuth2Scopes: null,
|
|
147914
149612
|
resolvedSecurity: requestSecurity,
|
|
147915
149613
|
securitySource: client._options.bearerAuth,
|
|
@@ -147952,13 +149650,13 @@ async function $do361(client, request, options) {
|
|
|
147952
149650
|
const responseFields = {
|
|
147953
149651
|
HttpMeta: { Response: response, Request: req }
|
|
147954
149652
|
};
|
|
147955
|
-
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 });
|
|
147956
149654
|
if (!result.ok) {
|
|
147957
149655
|
return [result, { status: "complete", request: req, response }];
|
|
147958
149656
|
}
|
|
147959
149657
|
return [result, { status: "complete", request: req, response }];
|
|
147960
149658
|
}
|
|
147961
|
-
var
|
|
149659
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = __esm(() => {
|
|
147962
149660
|
init_encodings();
|
|
147963
149661
|
init_http();
|
|
147964
149662
|
init_matchers();
|
|
@@ -147972,21 +149670,21 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
147972
149670
|
init_async();
|
|
147973
149671
|
});
|
|
147974
149672
|
|
|
147975
|
-
// src/mcp-server/tools/
|
|
147976
|
-
var
|
|
147977
|
-
var
|
|
147978
|
-
|
|
149673
|
+
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
149674
|
+
var args361, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
149675
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
149676
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
147979
149677
|
init_operations();
|
|
147980
149678
|
init_tools();
|
|
147981
|
-
|
|
147982
|
-
request:
|
|
149679
|
+
args361 = {
|
|
149680
|
+
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
147983
149681
|
};
|
|
147984
|
-
tool$
|
|
147985
|
-
name: "schema-3-other-
|
|
147986
|
-
description: `
|
|
147987
|
-
args:
|
|
147988
|
-
tool: async (client,
|
|
147989
|
-
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();
|
|
147990
149688
|
if (!result.ok) {
|
|
147991
149689
|
return {
|
|
147992
149690
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147999,18 +149697,24 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
147999
149697
|
};
|
|
148000
149698
|
});
|
|
148001
149699
|
|
|
148002
|
-
// src/funcs/
|
|
148003
|
-
function
|
|
148004
|
-
return new APIPromise($
|
|
149700
|
+
// src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149701
|
+
function schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, request, options) {
|
|
149702
|
+
return new APIPromise($do371(client, request, options));
|
|
148005
149703
|
}
|
|
148006
|
-
async function $
|
|
148007
|
-
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");
|
|
148008
149706
|
if (!parsed.ok) {
|
|
148009
149707
|
return [parsed, { status: "invalid" }];
|
|
148010
149708
|
}
|
|
148011
149709
|
const payload = parsed.value;
|
|
148012
149710
|
const body = null;
|
|
148013
|
-
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);
|
|
148014
149718
|
const headers = new Headers(compactMap({
|
|
148015
149719
|
Accept: "application/json",
|
|
148016
149720
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -148021,7 +149725,7 @@ async function $do362(client, request, options) {
|
|
|
148021
149725
|
const context = {
|
|
148022
149726
|
options: client._options,
|
|
148023
149727
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148024
|
-
operationID: "
|
|
149728
|
+
operationID: "run_environment_setup_api_v1_sandbox_sessions__session_id__environment_setup_post",
|
|
148025
149729
|
oAuth2Scopes: null,
|
|
148026
149730
|
resolvedSecurity: requestSecurity,
|
|
148027
149731
|
securitySource: client._options.bearerAuth,
|
|
@@ -148061,13 +149765,16 @@ async function $do362(client, request, options) {
|
|
|
148061
149765
|
return [doResult, { status: "request-error", request: req }];
|
|
148062
149766
|
}
|
|
148063
149767
|
const response = doResult.value;
|
|
148064
|
-
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 });
|
|
148065
149772
|
if (!result.ok) {
|
|
148066
149773
|
return [result, { status: "complete", request: req, response }];
|
|
148067
149774
|
}
|
|
148068
149775
|
return [result, { status: "complete", request: req, response }];
|
|
148069
149776
|
}
|
|
148070
|
-
var
|
|
149777
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = __esm(() => {
|
|
148071
149778
|
init_encodings();
|
|
148072
149779
|
init_http();
|
|
148073
149780
|
init_matchers();
|
|
@@ -148076,25 +149783,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148076
149783
|
init_security();
|
|
148077
149784
|
init_url();
|
|
148078
149785
|
init_components();
|
|
149786
|
+
init_errors4();
|
|
148079
149787
|
init_operations();
|
|
148080
149788
|
init_async();
|
|
148081
149789
|
});
|
|
148082
149790
|
|
|
148083
|
-
// src/mcp-server/tools/
|
|
148084
|
-
var
|
|
148085
|
-
var
|
|
148086
|
-
|
|
149791
|
+
// src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149792
|
+
var args362, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
|
|
149793
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2 = __esm(() => {
|
|
149794
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost();
|
|
148087
149795
|
init_operations();
|
|
148088
149796
|
init_tools();
|
|
148089
|
-
|
|
148090
|
-
request:
|
|
148091
|
-
};
|
|
148092
|
-
tool$
|
|
148093
|
-
name: "schema-3-other-
|
|
148094
|
-
description: `
|
|
148095
|
-
args:
|
|
148096
|
-
tool: async (client,
|
|
148097
|
-
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();
|
|
148098
149806
|
if (!result.ok) {
|
|
148099
149807
|
return {
|
|
148100
149808
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148107,20 +149815,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148107
149815
|
};
|
|
148108
149816
|
});
|
|
148109
149817
|
|
|
148110
|
-
// src/funcs/
|
|
148111
|
-
function
|
|
148112
|
-
return new APIPromise($
|
|
149818
|
+
// src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149819
|
+
function schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, request, options) {
|
|
149820
|
+
return new APIPromise($do372(client, request, options));
|
|
148113
149821
|
}
|
|
148114
|
-
async function $
|
|
148115
|
-
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");
|
|
148116
149824
|
if (!parsed.ok) {
|
|
148117
149825
|
return [parsed, { status: "invalid" }];
|
|
148118
149826
|
}
|
|
148119
149827
|
const payload = parsed.value;
|
|
148120
|
-
const body = encodeJSON("body", payload.
|
|
149828
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
148121
149829
|
explode: true
|
|
148122
149830
|
});
|
|
148123
|
-
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);
|
|
148124
149838
|
const headers = new Headers(compactMap({
|
|
148125
149839
|
"Content-Type": "application/json",
|
|
148126
149840
|
Accept: "application/json",
|
|
@@ -148132,7 +149846,7 @@ async function $do363(client, request, options) {
|
|
|
148132
149846
|
const context = {
|
|
148133
149847
|
options: client._options,
|
|
148134
149848
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148135
|
-
operationID: "
|
|
149849
|
+
operationID: "update_environment_api_v1_sandbox_environments__environment_id__put",
|
|
148136
149850
|
oAuth2Scopes: null,
|
|
148137
149851
|
resolvedSecurity: requestSecurity,
|
|
148138
149852
|
securitySource: client._options.bearerAuth,
|
|
@@ -148150,7 +149864,7 @@ async function $do363(client, request, options) {
|
|
|
148150
149864
|
};
|
|
148151
149865
|
const requestRes = client._createRequest(context, {
|
|
148152
149866
|
security: requestSecurity,
|
|
148153
|
-
method: "
|
|
149867
|
+
method: "PUT",
|
|
148154
149868
|
baseURL: options?.serverURL,
|
|
148155
149869
|
path,
|
|
148156
149870
|
headers,
|
|
@@ -148175,13 +149889,13 @@ async function $do363(client, request, options) {
|
|
|
148175
149889
|
const responseFields = {
|
|
148176
149890
|
HttpMeta: { Response: response, Request: req }
|
|
148177
149891
|
};
|
|
148178
|
-
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 });
|
|
148179
149893
|
if (!result.ok) {
|
|
148180
149894
|
return [result, { status: "complete", request: req, response }];
|
|
148181
149895
|
}
|
|
148182
149896
|
return [result, { status: "complete", request: req, response }];
|
|
148183
149897
|
}
|
|
148184
|
-
var
|
|
149898
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = __esm(() => {
|
|
148185
149899
|
init_encodings();
|
|
148186
149900
|
init_http();
|
|
148187
149901
|
init_matchers();
|
|
@@ -148195,21 +149909,21 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
|
|
|
148195
149909
|
init_async();
|
|
148196
149910
|
});
|
|
148197
149911
|
|
|
148198
|
-
// src/mcp-server/tools/
|
|
148199
|
-
var
|
|
148200
|
-
var
|
|
148201
|
-
|
|
149912
|
+
// src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149913
|
+
var args363, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
|
|
149914
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2 = __esm(() => {
|
|
149915
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut();
|
|
148202
149916
|
init_operations();
|
|
148203
149917
|
init_tools();
|
|
148204
|
-
|
|
148205
|
-
request:
|
|
148206
|
-
};
|
|
148207
|
-
tool$
|
|
148208
|
-
name: "schema-3-other-
|
|
148209
|
-
description: `
|
|
148210
|
-
args:
|
|
148211
|
-
tool: async (client,
|
|
148212
|
-
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();
|
|
148213
149927
|
if (!result.ok) {
|
|
148214
149928
|
return {
|
|
148215
149929
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148224,9 +149938,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
|
|
|
148224
149938
|
|
|
148225
149939
|
// src/funcs/usageCosts.ts
|
|
148226
149940
|
function usageCosts(client, request, options) {
|
|
148227
|
-
return new APIPromise($
|
|
149941
|
+
return new APIPromise($do373(client, request, options));
|
|
148228
149942
|
}
|
|
148229
|
-
async function $
|
|
149943
|
+
async function $do373(client, request, options) {
|
|
148230
149944
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148231
149945
|
if (!parsed.ok) {
|
|
148232
149946
|
return [parsed, { status: "invalid" }];
|
|
@@ -148309,12 +150023,12 @@ var init_usageCosts = __esm(() => {
|
|
|
148309
150023
|
});
|
|
148310
150024
|
|
|
148311
150025
|
// src/mcp-server/tools/usageCosts.ts
|
|
148312
|
-
var
|
|
150026
|
+
var args364, tool$usageCosts;
|
|
148313
150027
|
var init_usageCosts2 = __esm(() => {
|
|
148314
150028
|
init_usageCosts();
|
|
148315
150029
|
init_operations();
|
|
148316
150030
|
init_tools();
|
|
148317
|
-
|
|
150031
|
+
args364 = {
|
|
148318
150032
|
request: GetCostsRequest$inboundSchema
|
|
148319
150033
|
};
|
|
148320
150034
|
tool$usageCosts = {
|
|
@@ -148322,9 +150036,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
148322
150036
|
description: `Aggregate cost by dimension
|
|
148323
150037
|
|
|
148324
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.`,
|
|
148325
|
-
args:
|
|
148326
|
-
tool: async (client,
|
|
148327
|
-
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();
|
|
148328
150042
|
if (!result.ok) {
|
|
148329
150043
|
return {
|
|
148330
150044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148339,9 +150053,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
148339
150053
|
|
|
148340
150054
|
// src/funcs/usageSandbox.ts
|
|
148341
150055
|
function usageSandbox(client, request, options) {
|
|
148342
|
-
return new APIPromise($
|
|
150056
|
+
return new APIPromise($do374(client, request, options));
|
|
148343
150057
|
}
|
|
148344
|
-
async function $
|
|
150058
|
+
async function $do374(client, request, options) {
|
|
148345
150059
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148346
150060
|
if (!parsed.ok) {
|
|
148347
150061
|
return [parsed, { status: "invalid" }];
|
|
@@ -148432,12 +150146,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
148432
150146
|
});
|
|
148433
150147
|
|
|
148434
150148
|
// src/mcp-server/tools/usageSandbox.ts
|
|
148435
|
-
var
|
|
150149
|
+
var args365, tool$usageSandbox;
|
|
148436
150150
|
var init_usageSandbox2 = __esm(() => {
|
|
148437
150151
|
init_usageSandbox();
|
|
148438
150152
|
init_operations();
|
|
148439
150153
|
init_tools();
|
|
148440
|
-
|
|
150154
|
+
args365 = {
|
|
148441
150155
|
request: GetSandboxUsageRequest$inboundSchema
|
|
148442
150156
|
};
|
|
148443
150157
|
tool$usageSandbox = {
|
|
@@ -148445,9 +150159,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
148445
150159
|
description: `Get Sandbox Usage
|
|
148446
150160
|
|
|
148447
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\`).`,
|
|
148448
|
-
args:
|
|
148449
|
-
tool: async (client,
|
|
148450
|
-
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();
|
|
148451
150165
|
if (!result.ok) {
|
|
148452
150166
|
return {
|
|
148453
150167
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148464,7 +150178,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
148464
150178
|
function createMCPServer(deps) {
|
|
148465
150179
|
const server = new McpServer({
|
|
148466
150180
|
name: "SDK",
|
|
148467
|
-
version: "0.54.
|
|
150181
|
+
version: "0.54.12"
|
|
148468
150182
|
});
|
|
148469
150183
|
const client = new SDKCore({
|
|
148470
150184
|
bearerAuth: deps.bearerAuth,
|
|
@@ -148491,6 +150205,15 @@ function createMCPServer(deps) {
|
|
|
148491
150205
|
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
148492
150206
|
tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
|
|
148493
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);
|
|
148494
150217
|
tool(tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost);
|
|
148495
150218
|
tool(tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost);
|
|
148496
150219
|
tool(tool$sandboxCreate);
|
|
@@ -149204,15 +150927,24 @@ var init_server2 = __esm(() => {
|
|
|
149204
150927
|
init_sandboxUploadArchive2();
|
|
149205
150928
|
init_sandboxUploadFile2();
|
|
149206
150929
|
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
150930
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2();
|
|
149207
150931
|
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
149208
150932
|
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2();
|
|
150933
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2();
|
|
149209
150934
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
150935
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2();
|
|
149210
150936
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
150937
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2();
|
|
150938
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2();
|
|
149211
150939
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
150940
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2();
|
|
149212
150941
|
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2();
|
|
150942
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2();
|
|
149213
150943
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
149214
150944
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
149215
150945
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
150946
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2();
|
|
150947
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2();
|
|
149216
150948
|
init_usageCosts2();
|
|
149217
150949
|
init_usageSandbox2();
|
|
149218
150950
|
});
|
|
@@ -150392,7 +152124,7 @@ var routes = rn({
|
|
|
150392
152124
|
var app = Ve(routes, {
|
|
150393
152125
|
name: "mcp",
|
|
150394
152126
|
versionInfo: {
|
|
150395
|
-
currentVersion: "0.54.
|
|
152127
|
+
currentVersion: "0.54.12"
|
|
150396
152128
|
}
|
|
150397
152129
|
});
|
|
150398
152130
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -150400,5 +152132,5 @@ export {
|
|
|
150400
152132
|
app
|
|
150401
152133
|
};
|
|
150402
152134
|
|
|
150403
|
-
//# debugId=
|
|
152135
|
+
//# debugId=F45DBD9E8941C0BC64756E2164756E21
|
|
150404
152136
|
//# sourceMappingURL=mcp-server.js.map
|