@meetkai/mka1 0.54.11 → 0.54.13
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 +2400 -635
- package/bin/mcp-server.js.map +49 -9
- 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/codingharnessstopreason.d.ts +35 -0
- package/dist/commonjs/models/components/codingharnessstopreason.d.ts.map +1 -0
- package/dist/commonjs/models/components/codingharnessstopreason.js +62 -0
- package/dist/commonjs/models/components/codingharnessstopreason.js.map +1 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.d.ts +17 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.js +67 -0
- package/dist/commonjs/models/components/dismisssessionrepositoryrequest.js.map +1 -0
- package/dist/commonjs/models/components/environmentlist.d.ts +20 -0
- package/dist/commonjs/models/components/environmentlist.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentlist.js +70 -0
- package/dist/commonjs/models/components/environmentlist.js.map +1 -0
- package/dist/commonjs/models/components/environmentmodel.d.ts +36 -0
- package/dist/commonjs/models/components/environmentmodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentmodel.js +92 -0
- package/dist/commonjs/models/components/environmentmodel.js.map +1 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.d.ts +19 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.js +69 -0
- package/dist/commonjs/models/components/environmentrepositorymodel.js.map +1 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.d.ts +34 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.d.ts.map +1 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.js +84 -0
- package/dist/commonjs/models/components/environmentsetuprunmodel.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +13 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +13 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/putsessionrepositoryrequest.d.ts +19 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.js +69 -0
- package/dist/commonjs/models/components/putsessionrepositoryrequest.js.map +1 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.d.ts +28 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.js +76 -0
- package/dist/commonjs/models/components/saveenvironmentrequest.js.map +1 -0
- package/dist/commonjs/models/components/sessionrecord.d.ts +9 -0
- package/dist/commonjs/models/components/sessionrecord.d.ts.map +1 -1
- package/dist/commonjs/models/components/sessionrecord.js +20 -0
- package/dist/commonjs/models/components/sessionrecord.js.map +1 -1
- 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/codingharnessstopreason.d.ts +35 -0
- package/dist/esm/models/components/codingharnessstopreason.d.ts.map +1 -0
- package/dist/esm/models/components/codingharnessstopreason.js +26 -0
- package/dist/esm/models/components/codingharnessstopreason.js.map +1 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.d.ts +17 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.d.ts.map +1 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.js +29 -0
- package/dist/esm/models/components/dismisssessionrepositoryrequest.js.map +1 -0
- package/dist/esm/models/components/environmentlist.d.ts +20 -0
- package/dist/esm/models/components/environmentlist.d.ts.map +1 -0
- package/dist/esm/models/components/environmentlist.js +32 -0
- package/dist/esm/models/components/environmentlist.js.map +1 -0
- package/dist/esm/models/components/environmentmodel.d.ts +36 -0
- package/dist/esm/models/components/environmentmodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentmodel.js +54 -0
- package/dist/esm/models/components/environmentmodel.js.map +1 -0
- package/dist/esm/models/components/environmentrepositorymodel.d.ts +19 -0
- package/dist/esm/models/components/environmentrepositorymodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentrepositorymodel.js +31 -0
- package/dist/esm/models/components/environmentrepositorymodel.js.map +1 -0
- package/dist/esm/models/components/environmentsetuprunmodel.d.ts +34 -0
- package/dist/esm/models/components/environmentsetuprunmodel.d.ts.map +1 -0
- package/dist/esm/models/components/environmentsetuprunmodel.js +46 -0
- package/dist/esm/models/components/environmentsetuprunmodel.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +13 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +13 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/putsessionrepositoryrequest.d.ts +19 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.d.ts.map +1 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.js +31 -0
- package/dist/esm/models/components/putsessionrepositoryrequest.js.map +1 -0
- package/dist/esm/models/components/saveenvironmentrequest.d.ts +28 -0
- package/dist/esm/models/components/saveenvironmentrequest.d.ts.map +1 -0
- package/dist/esm/models/components/saveenvironmentrequest.js +38 -0
- package/dist/esm/models/components/saveenvironmentrequest.js.map +1 -0
- package/dist/esm/models/components/sessionrecord.d.ts +9 -0
- package/dist/esm/models/components/sessionrecord.d.ts.map +1 -1
- package/dist/esm/models/components/sessionrecord.js +20 -0
- package/dist/esm/models/components/sessionrecord.js.map +1 -1
- 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/codingharnessstopreason.ts +46 -0
- package/src/models/components/dismisssessionrepositoryrequest.ts +62 -0
- package/src/models/components/environmentlist.ts +68 -0
- package/src/models/components/environmentmodel.ts +104 -0
- package/src/models/components/environmentrepositorymodel.ts +64 -0
- package/src/models/components/environmentsetuprunmodel.ts +93 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/putsessionrepositoryrequest.ts +66 -0
- package/src/models/components/saveenvironmentrequest.ts +80 -0
- package/src/models/components/sessionrecord.ts +38 -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.13",
|
|
52921
52921
|
genVersion: "2.933.0",
|
|
52922
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
52922
|
+
userAgent: "speakeasy-sdk/typescript 0.54.13 2.933.0 1.1.0 @meetkai/mka1"
|
|
52923
52923
|
};
|
|
52924
52924
|
});
|
|
52925
52925
|
|
|
@@ -57961,6 +57961,21 @@ var init_coderesult = __esm(() => {
|
|
|
57961
57961
|
});
|
|
57962
57962
|
});
|
|
57963
57963
|
|
|
57964
|
+
// src/models/components/codingharnessstopreason.ts
|
|
57965
|
+
var CodingHarnessStopReason, CodingHarnessStopReason$inboundSchema, CodingHarnessStopReason$outboundSchema;
|
|
57966
|
+
var init_codingharnessstopreason = __esm(() => {
|
|
57967
|
+
init_esm();
|
|
57968
|
+
CodingHarnessStopReason = {
|
|
57969
|
+
UserSuspend: "user_suspend",
|
|
57970
|
+
IdleExpired: "idle_expired",
|
|
57971
|
+
AbsoluteExpired: "absolute_expired",
|
|
57972
|
+
RunnerDrain: "runner_drain",
|
|
57973
|
+
RunnerRecovery: "runner_recovery"
|
|
57974
|
+
};
|
|
57975
|
+
CodingHarnessStopReason$inboundSchema = nativeEnumType(CodingHarnessStopReason);
|
|
57976
|
+
CodingHarnessStopReason$outboundSchema = CodingHarnessStopReason$inboundSchema;
|
|
57977
|
+
});
|
|
57978
|
+
|
|
57964
57979
|
// src/models/components/commandrequest.ts
|
|
57965
57980
|
var CommandRequest$inboundSchema, CommandRequest$outboundSchema;
|
|
57966
57981
|
var init_commandrequest = __esm(() => {
|
|
@@ -65132,6 +65147,7 @@ var SessionRecord$inboundSchema, SessionRecord$outboundSchema;
|
|
|
65132
65147
|
var init_sessionrecord = __esm(() => {
|
|
65133
65148
|
init_esm();
|
|
65134
65149
|
init_primitives();
|
|
65150
|
+
init_codingharnessstopreason();
|
|
65135
65151
|
init_managedservicerecord();
|
|
65136
65152
|
init_memorymount();
|
|
65137
65153
|
init_sandboxfeature();
|
|
@@ -65155,6 +65171,10 @@ var init_sessionrecord = __esm(() => {
|
|
|
65155
65171
|
environment_setup_status: nullableType(stringType()).optional(),
|
|
65156
65172
|
ttl_seconds: numberType().int().default(600),
|
|
65157
65173
|
workspace_expires_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
65174
|
+
last_user_activity_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
65175
|
+
idle_expires_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
65176
|
+
absolute_expires_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
65177
|
+
stop_reason: nullableType(CodingHarnessStopReason$inboundSchema).optional(),
|
|
65158
65178
|
sandbox_features: arrayType(SandboxFeature$inboundSchema).optional(),
|
|
65159
65179
|
runtime_profile: SandboxRuntimeProfile$inboundSchema.optional(),
|
|
65160
65180
|
memory_mounts: arrayType(MemoryMount$inboundSchema).optional(),
|
|
@@ -65179,6 +65199,10 @@ var init_sessionrecord = __esm(() => {
|
|
|
65179
65199
|
environment_setup_status: "environmentSetupStatus",
|
|
65180
65200
|
ttl_seconds: "ttlSeconds",
|
|
65181
65201
|
workspace_expires_at: "workspaceExpiresAt",
|
|
65202
|
+
last_user_activity_at: "lastUserActivityAt",
|
|
65203
|
+
idle_expires_at: "idleExpiresAt",
|
|
65204
|
+
absolute_expires_at: "absoluteExpiresAt",
|
|
65205
|
+
stop_reason: "stopReason",
|
|
65182
65206
|
sandbox_features: "sandboxFeatures",
|
|
65183
65207
|
runtime_profile: "runtimeProfile",
|
|
65184
65208
|
memory_mounts: "memoryMounts",
|
|
@@ -65204,6 +65228,10 @@ var init_sessionrecord = __esm(() => {
|
|
|
65204
65228
|
environmentSetupStatus: nullableType(stringType()).optional(),
|
|
65205
65229
|
ttlSeconds: numberType().int().default(600),
|
|
65206
65230
|
workspaceExpiresAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
65231
|
+
lastUserActivityAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
65232
|
+
idleExpiresAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
65233
|
+
absoluteExpiresAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
65234
|
+
stopReason: nullableType(CodingHarnessStopReason$outboundSchema).optional(),
|
|
65207
65235
|
sandboxFeatures: arrayType(SandboxFeature$outboundSchema).optional(),
|
|
65208
65236
|
runtimeProfile: SandboxRuntimeProfile$outboundSchema.optional(),
|
|
65209
65237
|
memoryMounts: arrayType(MemoryMount$outboundSchema).optional(),
|
|
@@ -65228,6 +65256,10 @@ var init_sessionrecord = __esm(() => {
|
|
|
65228
65256
|
environmentSetupStatus: "environment_setup_status",
|
|
65229
65257
|
ttlSeconds: "ttl_seconds",
|
|
65230
65258
|
workspaceExpiresAt: "workspace_expires_at",
|
|
65259
|
+
lastUserActivityAt: "last_user_activity_at",
|
|
65260
|
+
idleExpiresAt: "idle_expires_at",
|
|
65261
|
+
absoluteExpiresAt: "absolute_expires_at",
|
|
65262
|
+
stopReason: "stop_reason",
|
|
65231
65263
|
sandboxFeatures: "sandbox_features",
|
|
65232
65264
|
runtimeProfile: "runtime_profile",
|
|
65233
65265
|
memoryMounts: "memory_mounts",
|
|
@@ -65878,6 +65910,27 @@ var init_deleteresponseobject = __esm(() => {
|
|
|
65878
65910
|
});
|
|
65879
65911
|
});
|
|
65880
65912
|
|
|
65913
|
+
// src/models/components/dismisssessionrepositoryrequest.ts
|
|
65914
|
+
var DismissSessionRepositoryRequest$inboundSchema, DismissSessionRepositoryRequest$outboundSchema;
|
|
65915
|
+
var init_dismisssessionrepositoryrequest = __esm(() => {
|
|
65916
|
+
init_esm();
|
|
65917
|
+
init_primitives();
|
|
65918
|
+
DismissSessionRepositoryRequest$inboundSchema = objectType({
|
|
65919
|
+
assignment_generation: numberType().int()
|
|
65920
|
+
}).transform((v2) => {
|
|
65921
|
+
return remap(v2, {
|
|
65922
|
+
assignment_generation: "assignmentGeneration"
|
|
65923
|
+
});
|
|
65924
|
+
});
|
|
65925
|
+
DismissSessionRepositoryRequest$outboundSchema = objectType({
|
|
65926
|
+
assignmentGeneration: numberType().int()
|
|
65927
|
+
}).transform((v2) => {
|
|
65928
|
+
return remap(v2, {
|
|
65929
|
+
assignmentGeneration: "assignment_generation"
|
|
65930
|
+
});
|
|
65931
|
+
});
|
|
65932
|
+
});
|
|
65933
|
+
|
|
65881
65934
|
// src/models/components/effectivepricerow.ts
|
|
65882
65935
|
var EffectivePriceRowSource, EffectivePriceRowRates$inboundSchema, EffectivePriceRowRates$outboundSchema, EffectivePriceRowSource$inboundSchema, EffectivePriceRowSource$outboundSchema, EffectivePriceRow$inboundSchema, EffectivePriceRow$outboundSchema;
|
|
65883
65936
|
var init_effectivepricerow = __esm(() => {
|
|
@@ -66120,6 +66173,135 @@ var init_embeddingsresponse = __esm(() => {
|
|
|
66120
66173
|
});
|
|
66121
66174
|
});
|
|
66122
66175
|
|
|
66176
|
+
// src/models/components/environmentrepositorymodel.ts
|
|
66177
|
+
var EnvironmentRepositoryModel$inboundSchema, EnvironmentRepositoryModel$outboundSchema;
|
|
66178
|
+
var init_environmentrepositorymodel = __esm(() => {
|
|
66179
|
+
init_esm();
|
|
66180
|
+
init_primitives();
|
|
66181
|
+
EnvironmentRepositoryModel$inboundSchema = objectType({
|
|
66182
|
+
repository_id: numberType().int(),
|
|
66183
|
+
ref: nullableType(stringType()).optional()
|
|
66184
|
+
}).transform((v2) => {
|
|
66185
|
+
return remap(v2, {
|
|
66186
|
+
repository_id: "repositoryId"
|
|
66187
|
+
});
|
|
66188
|
+
});
|
|
66189
|
+
EnvironmentRepositoryModel$outboundSchema = objectType({
|
|
66190
|
+
repositoryId: numberType().int(),
|
|
66191
|
+
ref: nullableType(stringType()).optional()
|
|
66192
|
+
}).transform((v2) => {
|
|
66193
|
+
return remap(v2, {
|
|
66194
|
+
repositoryId: "repository_id"
|
|
66195
|
+
});
|
|
66196
|
+
});
|
|
66197
|
+
});
|
|
66198
|
+
|
|
66199
|
+
// src/models/components/environmentmodel.ts
|
|
66200
|
+
var EnvironmentModel$inboundSchema, EnvironmentModel$outboundSchema;
|
|
66201
|
+
var init_environmentmodel = __esm(() => {
|
|
66202
|
+
init_esm();
|
|
66203
|
+
init_primitives();
|
|
66204
|
+
init_environmentrepositorymodel();
|
|
66205
|
+
EnvironmentModel$inboundSchema = objectType({
|
|
66206
|
+
environment_id: numberType().int(),
|
|
66207
|
+
name: stringType(),
|
|
66208
|
+
environment_variables: recordType(stringType()),
|
|
66209
|
+
setup_script: nullableType(stringType()).optional(),
|
|
66210
|
+
repositories: arrayType(EnvironmentRepositoryModel$inboundSchema),
|
|
66211
|
+
created_by_user_id: stringType(),
|
|
66212
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
66213
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
66214
|
+
}).transform((v2) => {
|
|
66215
|
+
return remap(v2, {
|
|
66216
|
+
environment_id: "environmentId",
|
|
66217
|
+
environment_variables: "environmentVariables",
|
|
66218
|
+
setup_script: "setupScript",
|
|
66219
|
+
created_by_user_id: "createdByUserId",
|
|
66220
|
+
created_at: "createdAt",
|
|
66221
|
+
updated_at: "updatedAt"
|
|
66222
|
+
});
|
|
66223
|
+
});
|
|
66224
|
+
EnvironmentModel$outboundSchema = objectType({
|
|
66225
|
+
environmentId: numberType().int(),
|
|
66226
|
+
name: stringType(),
|
|
66227
|
+
environmentVariables: recordType(stringType()),
|
|
66228
|
+
setupScript: nullableType(stringType()).optional(),
|
|
66229
|
+
repositories: arrayType(EnvironmentRepositoryModel$outboundSchema),
|
|
66230
|
+
createdByUserId: stringType(),
|
|
66231
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
66232
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
66233
|
+
}).transform((v2) => {
|
|
66234
|
+
return remap(v2, {
|
|
66235
|
+
environmentId: "environment_id",
|
|
66236
|
+
environmentVariables: "environment_variables",
|
|
66237
|
+
setupScript: "setup_script",
|
|
66238
|
+
createdByUserId: "created_by_user_id",
|
|
66239
|
+
createdAt: "created_at",
|
|
66240
|
+
updatedAt: "updated_at"
|
|
66241
|
+
});
|
|
66242
|
+
});
|
|
66243
|
+
});
|
|
66244
|
+
|
|
66245
|
+
// src/models/components/environmentlist.ts
|
|
66246
|
+
var EnvironmentList$inboundSchema, EnvironmentList$outboundSchema;
|
|
66247
|
+
var init_environmentlist = __esm(() => {
|
|
66248
|
+
init_esm();
|
|
66249
|
+
init_primitives();
|
|
66250
|
+
init_environmentmodel();
|
|
66251
|
+
EnvironmentList$inboundSchema = objectType({
|
|
66252
|
+
max_repositories: numberType().int().default(5),
|
|
66253
|
+
environments: arrayType(EnvironmentModel$inboundSchema)
|
|
66254
|
+
}).transform((v2) => {
|
|
66255
|
+
return remap(v2, {
|
|
66256
|
+
max_repositories: "maxRepositories"
|
|
66257
|
+
});
|
|
66258
|
+
});
|
|
66259
|
+
EnvironmentList$outboundSchema = objectType({
|
|
66260
|
+
maxRepositories: numberType().int().default(5),
|
|
66261
|
+
environments: arrayType(EnvironmentModel$outboundSchema)
|
|
66262
|
+
}).transform((v2) => {
|
|
66263
|
+
return remap(v2, {
|
|
66264
|
+
maxRepositories: "max_repositories"
|
|
66265
|
+
});
|
|
66266
|
+
});
|
|
66267
|
+
});
|
|
66268
|
+
|
|
66269
|
+
// src/models/components/environmentsetuprunmodel.ts
|
|
66270
|
+
var EnvironmentSetupRunModelStatus, EnvironmentSetupRunModelStatus$inboundSchema, EnvironmentSetupRunModelStatus$outboundSchema, EnvironmentSetupRunModel$inboundSchema, EnvironmentSetupRunModel$outboundSchema;
|
|
66271
|
+
var init_environmentsetuprunmodel = __esm(() => {
|
|
66272
|
+
init_esm();
|
|
66273
|
+
init_primitives();
|
|
66274
|
+
EnvironmentSetupRunModelStatus = {
|
|
66275
|
+
Succeeded: "succeeded",
|
|
66276
|
+
Failed: "failed",
|
|
66277
|
+
Running: "running"
|
|
66278
|
+
};
|
|
66279
|
+
EnvironmentSetupRunModelStatus$inboundSchema = nativeEnumType(EnvironmentSetupRunModelStatus);
|
|
66280
|
+
EnvironmentSetupRunModelStatus$outboundSchema = EnvironmentSetupRunModelStatus$inboundSchema;
|
|
66281
|
+
EnvironmentSetupRunModel$inboundSchema = objectType({
|
|
66282
|
+
session_id: stringType(),
|
|
66283
|
+
status: EnvironmentSetupRunModelStatus$inboundSchema,
|
|
66284
|
+
exit_code: nullableType(numberType().int()).optional(),
|
|
66285
|
+
detail: nullableType(stringType()).optional()
|
|
66286
|
+
}).transform((v2) => {
|
|
66287
|
+
return remap(v2, {
|
|
66288
|
+
session_id: "sessionId",
|
|
66289
|
+
exit_code: "exitCode"
|
|
66290
|
+
});
|
|
66291
|
+
});
|
|
66292
|
+
EnvironmentSetupRunModel$outboundSchema = objectType({
|
|
66293
|
+
sessionId: stringType(),
|
|
66294
|
+
status: EnvironmentSetupRunModelStatus$outboundSchema,
|
|
66295
|
+
exitCode: nullableType(numberType().int()).optional(),
|
|
66296
|
+
detail: nullableType(stringType()).optional()
|
|
66297
|
+
}).transform((v2) => {
|
|
66298
|
+
return remap(v2, {
|
|
66299
|
+
sessionId: "session_id",
|
|
66300
|
+
exitCode: "exit_code"
|
|
66301
|
+
});
|
|
66302
|
+
});
|
|
66303
|
+
});
|
|
66304
|
+
|
|
66123
66305
|
// src/models/components/error.ts
|
|
66124
66306
|
var ErrorT$inboundSchema, ErrorT$outboundSchema;
|
|
66125
66307
|
var init_error = __esm(() => {
|
|
@@ -72034,6 +72216,29 @@ var init_putorgautomodelrequest = __esm(() => {
|
|
|
72034
72216
|
});
|
|
72035
72217
|
});
|
|
72036
72218
|
|
|
72219
|
+
// src/models/components/putsessionrepositoryrequest.ts
|
|
72220
|
+
var PutSessionRepositoryRequest$inboundSchema, PutSessionRepositoryRequest$outboundSchema;
|
|
72221
|
+
var init_putsessionrepositoryrequest = __esm(() => {
|
|
72222
|
+
init_esm();
|
|
72223
|
+
init_primitives();
|
|
72224
|
+
PutSessionRepositoryRequest$inboundSchema = objectType({
|
|
72225
|
+
assignment_generation: numberType().int(),
|
|
72226
|
+
ref: nullableType(stringType()).optional()
|
|
72227
|
+
}).transform((v2) => {
|
|
72228
|
+
return remap(v2, {
|
|
72229
|
+
assignment_generation: "assignmentGeneration"
|
|
72230
|
+
});
|
|
72231
|
+
});
|
|
72232
|
+
PutSessionRepositoryRequest$outboundSchema = objectType({
|
|
72233
|
+
assignmentGeneration: numberType().int(),
|
|
72234
|
+
ref: nullableType(stringType()).optional()
|
|
72235
|
+
}).transform((v2) => {
|
|
72236
|
+
return remap(v2, {
|
|
72237
|
+
assignmentGeneration: "assignment_generation"
|
|
72238
|
+
});
|
|
72239
|
+
});
|
|
72240
|
+
});
|
|
72241
|
+
|
|
72037
72242
|
// src/models/components/reasoningwithid.ts
|
|
72038
72243
|
var ReasoningWithId$inboundSchema, ReasoningWithId$outboundSchema;
|
|
72039
72244
|
var init_reasoningwithid = __esm(() => {
|
|
@@ -75841,6 +76046,36 @@ var init_sandboxusagepage = __esm(() => {
|
|
|
75841
76046
|
});
|
|
75842
76047
|
});
|
|
75843
76048
|
|
|
76049
|
+
// src/models/components/saveenvironmentrequest.ts
|
|
76050
|
+
var SaveEnvironmentRequest$inboundSchema, SaveEnvironmentRequest$outboundSchema;
|
|
76051
|
+
var init_saveenvironmentrequest = __esm(() => {
|
|
76052
|
+
init_esm();
|
|
76053
|
+
init_primitives();
|
|
76054
|
+
init_environmentrepositorymodel();
|
|
76055
|
+
SaveEnvironmentRequest$inboundSchema = objectType({
|
|
76056
|
+
name: stringType(),
|
|
76057
|
+
environment_variables: recordType(stringType()).optional(),
|
|
76058
|
+
setup_script: nullableType(stringType()).optional(),
|
|
76059
|
+
repositories: arrayType(EnvironmentRepositoryModel$inboundSchema).optional()
|
|
76060
|
+
}).transform((v2) => {
|
|
76061
|
+
return remap(v2, {
|
|
76062
|
+
environment_variables: "environmentVariables",
|
|
76063
|
+
setup_script: "setupScript"
|
|
76064
|
+
});
|
|
76065
|
+
});
|
|
76066
|
+
SaveEnvironmentRequest$outboundSchema = objectType({
|
|
76067
|
+
name: stringType(),
|
|
76068
|
+
environmentVariables: recordType(stringType()).optional(),
|
|
76069
|
+
setupScript: nullableType(stringType()).optional(),
|
|
76070
|
+
repositories: arrayType(EnvironmentRepositoryModel$outboundSchema).optional()
|
|
76071
|
+
}).transform((v2) => {
|
|
76072
|
+
return remap(v2, {
|
|
76073
|
+
environmentVariables: "environment_variables",
|
|
76074
|
+
setupScript: "setup_script"
|
|
76075
|
+
});
|
|
76076
|
+
});
|
|
76077
|
+
});
|
|
76078
|
+
|
|
75844
76079
|
// src/models/components/schemacreateresponse.ts
|
|
75845
76080
|
var SchemaCreateResponseData$inboundSchema, SchemaCreateResponseData$outboundSchema, SchemaCreateResponse$inboundSchema, SchemaCreateResponse$outboundSchema;
|
|
75846
76081
|
var init_schemacreateresponse = __esm(() => {
|
|
@@ -76021,6 +76256,187 @@ var init_security2 = __esm(() => {
|
|
|
76021
76256
|
});
|
|
76022
76257
|
});
|
|
76023
76258
|
|
|
76259
|
+
// src/models/components/sessionrepositoryfailure.ts
|
|
76260
|
+
var SessionRepositoryFailure$inboundSchema, SessionRepositoryFailure$outboundSchema;
|
|
76261
|
+
var init_sessionrepositoryfailure = __esm(() => {
|
|
76262
|
+
init_esm();
|
|
76263
|
+
SessionRepositoryFailure$inboundSchema = objectType({
|
|
76264
|
+
code: stringType(),
|
|
76265
|
+
message: stringType(),
|
|
76266
|
+
retryable: booleanType()
|
|
76267
|
+
});
|
|
76268
|
+
SessionRepositoryFailure$outboundSchema = objectType({
|
|
76269
|
+
code: stringType(),
|
|
76270
|
+
message: stringType(),
|
|
76271
|
+
retryable: booleanType()
|
|
76272
|
+
});
|
|
76273
|
+
});
|
|
76274
|
+
|
|
76275
|
+
// src/models/components/sessionrepositorypullrequest.ts
|
|
76276
|
+
var SessionRepositoryPullRequest$inboundSchema, SessionRepositoryPullRequest$outboundSchema;
|
|
76277
|
+
var init_sessionrepositorypullrequest = __esm(() => {
|
|
76278
|
+
init_esm();
|
|
76279
|
+
init_primitives();
|
|
76280
|
+
SessionRepositoryPullRequest$inboundSchema = objectType({
|
|
76281
|
+
number: numberType().int(),
|
|
76282
|
+
url: nullableType(stringType()).optional(),
|
|
76283
|
+
state: nullableType(stringType()).optional(),
|
|
76284
|
+
draft: nullableType(booleanType()).optional(),
|
|
76285
|
+
head_branch: nullableType(stringType()).optional(),
|
|
76286
|
+
base_branch: nullableType(stringType()).optional(),
|
|
76287
|
+
updated_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
|
|
76288
|
+
}).transform((v2) => {
|
|
76289
|
+
return remap(v2, {
|
|
76290
|
+
head_branch: "headBranch",
|
|
76291
|
+
base_branch: "baseBranch",
|
|
76292
|
+
updated_at: "updatedAt"
|
|
76293
|
+
});
|
|
76294
|
+
});
|
|
76295
|
+
SessionRepositoryPullRequest$outboundSchema = objectType({
|
|
76296
|
+
number: numberType().int(),
|
|
76297
|
+
url: nullableType(stringType()).optional(),
|
|
76298
|
+
state: nullableType(stringType()).optional(),
|
|
76299
|
+
draft: nullableType(booleanType()).optional(),
|
|
76300
|
+
headBranch: nullableType(stringType()).optional(),
|
|
76301
|
+
baseBranch: nullableType(stringType()).optional(),
|
|
76302
|
+
updatedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
76303
|
+
}).transform((v2) => {
|
|
76304
|
+
return remap(v2, {
|
|
76305
|
+
headBranch: "head_branch",
|
|
76306
|
+
baseBranch: "base_branch",
|
|
76307
|
+
updatedAt: "updated_at"
|
|
76308
|
+
});
|
|
76309
|
+
});
|
|
76310
|
+
});
|
|
76311
|
+
|
|
76312
|
+
// src/models/components/sessionrepositorypush.ts
|
|
76313
|
+
var SessionRepositoryPush$inboundSchema, SessionRepositoryPush$outboundSchema;
|
|
76314
|
+
var init_sessionrepositorypush = __esm(() => {
|
|
76315
|
+
init_esm();
|
|
76316
|
+
init_primitives();
|
|
76317
|
+
SessionRepositoryPush$inboundSchema = objectType({
|
|
76318
|
+
branch: stringType(),
|
|
76319
|
+
head_sha: stringType(),
|
|
76320
|
+
pushed_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
76321
|
+
}).transform((v2) => {
|
|
76322
|
+
return remap(v2, {
|
|
76323
|
+
head_sha: "headSha",
|
|
76324
|
+
pushed_at: "pushedAt"
|
|
76325
|
+
});
|
|
76326
|
+
});
|
|
76327
|
+
SessionRepositoryPush$outboundSchema = objectType({
|
|
76328
|
+
branch: stringType(),
|
|
76329
|
+
headSha: stringType(),
|
|
76330
|
+
pushedAt: dateType().transform((v2) => v2.toISOString())
|
|
76331
|
+
}).transform((v2) => {
|
|
76332
|
+
return remap(v2, {
|
|
76333
|
+
headSha: "head_sha",
|
|
76334
|
+
pushedAt: "pushed_at"
|
|
76335
|
+
});
|
|
76336
|
+
});
|
|
76337
|
+
});
|
|
76338
|
+
|
|
76339
|
+
// src/models/components/sessionrepositorymodel.ts
|
|
76340
|
+
var SessionRepositoryModelStatus, SessionRepositoryModelStatus$inboundSchema, SessionRepositoryModelStatus$outboundSchema, SessionRepositoryModel$inboundSchema, SessionRepositoryModel$outboundSchema;
|
|
76341
|
+
var init_sessionrepositorymodel = __esm(() => {
|
|
76342
|
+
init_esm();
|
|
76343
|
+
init_primitives();
|
|
76344
|
+
init_sessionrepositoryfailure();
|
|
76345
|
+
init_sessionrepositorypullrequest();
|
|
76346
|
+
init_sessionrepositorypush();
|
|
76347
|
+
SessionRepositoryModelStatus = {
|
|
76348
|
+
Cloning: "cloning",
|
|
76349
|
+
Ready: "ready",
|
|
76350
|
+
Failed: "failed"
|
|
76351
|
+
};
|
|
76352
|
+
SessionRepositoryModelStatus$inboundSchema = nativeEnumType(SessionRepositoryModelStatus);
|
|
76353
|
+
SessionRepositoryModelStatus$outboundSchema = SessionRepositoryModelStatus$inboundSchema;
|
|
76354
|
+
SessionRepositoryModel$inboundSchema = objectType({
|
|
76355
|
+
repository_id: numberType().int(),
|
|
76356
|
+
owner: stringType(),
|
|
76357
|
+
repository: stringType(),
|
|
76358
|
+
requested_ref: nullableType(stringType()).optional(),
|
|
76359
|
+
ref: stringType(),
|
|
76360
|
+
default_branch: nullableType(stringType()).optional(),
|
|
76361
|
+
base_sha: stringType(),
|
|
76362
|
+
checkout_alias: stringType(),
|
|
76363
|
+
checkout_path: stringType(),
|
|
76364
|
+
status: SessionRepositoryModelStatus$inboundSchema,
|
|
76365
|
+
failure: nullableType(SessionRepositoryFailure$inboundSchema).optional(),
|
|
76366
|
+
last_push: nullableType(SessionRepositoryPush$inboundSchema).optional(),
|
|
76367
|
+
pull_request: nullableType(SessionRepositoryPullRequest$inboundSchema).optional(),
|
|
76368
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
76369
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
76370
|
+
}).transform((v2) => {
|
|
76371
|
+
return remap(v2, {
|
|
76372
|
+
repository_id: "repositoryId",
|
|
76373
|
+
requested_ref: "requestedRef",
|
|
76374
|
+
default_branch: "defaultBranch",
|
|
76375
|
+
base_sha: "baseSha",
|
|
76376
|
+
checkout_alias: "checkoutAlias",
|
|
76377
|
+
checkout_path: "checkoutPath",
|
|
76378
|
+
last_push: "lastPush",
|
|
76379
|
+
pull_request: "pullRequest",
|
|
76380
|
+
created_at: "createdAt",
|
|
76381
|
+
updated_at: "updatedAt"
|
|
76382
|
+
});
|
|
76383
|
+
});
|
|
76384
|
+
SessionRepositoryModel$outboundSchema = objectType({
|
|
76385
|
+
repositoryId: numberType().int(),
|
|
76386
|
+
owner: stringType(),
|
|
76387
|
+
repository: stringType(),
|
|
76388
|
+
requestedRef: nullableType(stringType()).optional(),
|
|
76389
|
+
ref: stringType(),
|
|
76390
|
+
defaultBranch: nullableType(stringType()).optional(),
|
|
76391
|
+
baseSha: stringType(),
|
|
76392
|
+
checkoutAlias: stringType(),
|
|
76393
|
+
checkoutPath: stringType(),
|
|
76394
|
+
status: SessionRepositoryModelStatus$outboundSchema,
|
|
76395
|
+
failure: nullableType(SessionRepositoryFailure$outboundSchema).optional(),
|
|
76396
|
+
lastPush: nullableType(SessionRepositoryPush$outboundSchema).optional(),
|
|
76397
|
+
pullRequest: nullableType(SessionRepositoryPullRequest$outboundSchema).optional(),
|
|
76398
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
76399
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
76400
|
+
}).transform((v2) => {
|
|
76401
|
+
return remap(v2, {
|
|
76402
|
+
repositoryId: "repository_id",
|
|
76403
|
+
requestedRef: "requested_ref",
|
|
76404
|
+
defaultBranch: "default_branch",
|
|
76405
|
+
baseSha: "base_sha",
|
|
76406
|
+
checkoutAlias: "checkout_alias",
|
|
76407
|
+
checkoutPath: "checkout_path",
|
|
76408
|
+
lastPush: "last_push",
|
|
76409
|
+
pullRequest: "pull_request",
|
|
76410
|
+
createdAt: "created_at",
|
|
76411
|
+
updatedAt: "updated_at"
|
|
76412
|
+
});
|
|
76413
|
+
});
|
|
76414
|
+
});
|
|
76415
|
+
|
|
76416
|
+
// src/models/components/sessionrepositorymanifest.ts
|
|
76417
|
+
var SessionRepositoryManifest$inboundSchema, SessionRepositoryManifest$outboundSchema;
|
|
76418
|
+
var init_sessionrepositorymanifest = __esm(() => {
|
|
76419
|
+
init_esm();
|
|
76420
|
+
init_primitives();
|
|
76421
|
+
init_sessionrepositorymodel();
|
|
76422
|
+
SessionRepositoryManifest$inboundSchema = objectType({
|
|
76423
|
+
max_repositories: numberType().int().default(5),
|
|
76424
|
+
repositories: arrayType(SessionRepositoryModel$inboundSchema)
|
|
76425
|
+
}).transform((v2) => {
|
|
76426
|
+
return remap(v2, {
|
|
76427
|
+
max_repositories: "maxRepositories"
|
|
76428
|
+
});
|
|
76429
|
+
});
|
|
76430
|
+
SessionRepositoryManifest$outboundSchema = objectType({
|
|
76431
|
+
maxRepositories: numberType().int().default(5),
|
|
76432
|
+
repositories: arrayType(SessionRepositoryModel$outboundSchema)
|
|
76433
|
+
}).transform((v2) => {
|
|
76434
|
+
return remap(v2, {
|
|
76435
|
+
maxRepositories: "max_repositories"
|
|
76436
|
+
});
|
|
76437
|
+
});
|
|
76438
|
+
});
|
|
76439
|
+
|
|
76024
76440
|
// src/models/components/sessionurlresponse.ts
|
|
76025
76441
|
var SessionUrlResponse$inboundSchema, SessionUrlResponse$outboundSchema;
|
|
76026
76442
|
var init_sessionurlresponse = __esm(() => {
|
|
@@ -78450,6 +78866,7 @@ var init_components = __esm(() => {
|
|
|
78450
78866
|
init_coderequest();
|
|
78451
78867
|
init_coderesult();
|
|
78452
78868
|
init_coderuntime();
|
|
78869
|
+
init_codingharnessstopreason();
|
|
78453
78870
|
init_commandrequest();
|
|
78454
78871
|
init_commandresult();
|
|
78455
78872
|
init_compactedresponse();
|
|
@@ -78590,6 +79007,7 @@ var init_components = __esm(() => {
|
|
|
78590
79007
|
init_deleteorgautomodelresponse();
|
|
78591
79008
|
init_deletepromptresponse();
|
|
78592
79009
|
init_deleteresponseobject();
|
|
79010
|
+
init_dismisssessionrepositoryrequest();
|
|
78593
79011
|
init_doubleclickaction();
|
|
78594
79012
|
init_dpohyperparameters();
|
|
78595
79013
|
init_dragaction();
|
|
@@ -78601,6 +79019,10 @@ var init_components = __esm(() => {
|
|
|
78601
79019
|
init_embeddingsgroupby();
|
|
78602
79020
|
init_embeddingsrequest();
|
|
78603
79021
|
init_embeddingsresponse();
|
|
79022
|
+
init_environmentlist();
|
|
79023
|
+
init_environmentmodel();
|
|
79024
|
+
init_environmentrepositorymodel();
|
|
79025
|
+
init_environmentsetuprunmodel();
|
|
78604
79026
|
init_error();
|
|
78605
79027
|
init_errorevent();
|
|
78606
79028
|
init_evalartifactsobject();
|
|
@@ -78793,6 +79215,7 @@ var init_components = __esm(() => {
|
|
|
78793
79215
|
init_putclustercurrencybody();
|
|
78794
79216
|
init_putmodelpricebody();
|
|
78795
79217
|
init_putorgautomodelrequest();
|
|
79218
|
+
init_putsessionrepositoryrequest();
|
|
78796
79219
|
init_rankingoptions();
|
|
78797
79220
|
init_reasoning();
|
|
78798
79221
|
init_reasoningconfiguration();
|
|
@@ -78899,6 +79322,7 @@ var init_components = __esm(() => {
|
|
|
78899
79322
|
init_sandboxusageoperation();
|
|
78900
79323
|
init_sandboxusagepage();
|
|
78901
79324
|
init_sandboxusageresult();
|
|
79325
|
+
init_saveenvironmentrequest();
|
|
78902
79326
|
init_schemacreateresponse();
|
|
78903
79327
|
init_schemadeleteresponse();
|
|
78904
79328
|
init_schemagetresponse();
|
|
@@ -78911,6 +79335,11 @@ var init_components = __esm(() => {
|
|
|
78911
79335
|
init_security2();
|
|
78912
79336
|
init_sessionkind();
|
|
78913
79337
|
init_sessionrecord();
|
|
79338
|
+
init_sessionrepositoryfailure();
|
|
79339
|
+
init_sessionrepositorymanifest();
|
|
79340
|
+
init_sessionrepositorymodel();
|
|
79341
|
+
init_sessionrepositorypullrequest();
|
|
79342
|
+
init_sessionrepositorypush();
|
|
78914
79343
|
init_sessionstatus();
|
|
78915
79344
|
init_sessionurlresponse();
|
|
78916
79345
|
init_shellcall();
|
|
@@ -87928,6 +88357,32 @@ var init_createcomputesecret = __esm(() => {
|
|
|
87928
88357
|
]);
|
|
87929
88358
|
});
|
|
87930
88359
|
|
|
88360
|
+
// src/models/operations/createenvironmentapiv1sandboxenvironmentspost.ts
|
|
88361
|
+
var CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema, CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema;
|
|
88362
|
+
var init_createenvironmentapiv1sandboxenvironmentspost = __esm(() => {
|
|
88363
|
+
init_esm();
|
|
88364
|
+
init_primitives();
|
|
88365
|
+
init_components();
|
|
88366
|
+
CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema = objectType({
|
|
88367
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
88368
|
+
SaveEnvironmentRequest: SaveEnvironmentRequest$inboundSchema
|
|
88369
|
+
}).transform((v2) => {
|
|
88370
|
+
return remap(v2, {
|
|
88371
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
88372
|
+
SaveEnvironmentRequest: "saveEnvironmentRequest"
|
|
88373
|
+
});
|
|
88374
|
+
});
|
|
88375
|
+
CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema = objectType({
|
|
88376
|
+
xOnBehalfOf: stringType().optional(),
|
|
88377
|
+
saveEnvironmentRequest: SaveEnvironmentRequest$outboundSchema
|
|
88378
|
+
}).transform((v2) => {
|
|
88379
|
+
return remap(v2, {
|
|
88380
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
88381
|
+
saveEnvironmentRequest: "SaveEnvironmentRequest"
|
|
88382
|
+
});
|
|
88383
|
+
});
|
|
88384
|
+
});
|
|
88385
|
+
|
|
87931
88386
|
// src/models/operations/createevalrun.ts
|
|
87932
88387
|
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
88388
|
var init_createevalrun = __esm(() => {
|
|
@@ -89888,6 +90343,31 @@ var init_deletecomputesecret = __esm(() => {
|
|
|
89888
90343
|
});
|
|
89889
90344
|
});
|
|
89890
90345
|
|
|
90346
|
+
// src/models/operations/deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete.ts
|
|
90347
|
+
var DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema, DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema;
|
|
90348
|
+
var init_deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete = __esm(() => {
|
|
90349
|
+
init_esm();
|
|
90350
|
+
init_primitives();
|
|
90351
|
+
DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema = objectType({
|
|
90352
|
+
environment_id: numberType().int(),
|
|
90353
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
90354
|
+
}).transform((v2) => {
|
|
90355
|
+
return remap(v2, {
|
|
90356
|
+
environment_id: "environmentId",
|
|
90357
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
90358
|
+
});
|
|
90359
|
+
});
|
|
90360
|
+
DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema = objectType({
|
|
90361
|
+
environmentId: numberType().int(),
|
|
90362
|
+
xOnBehalfOf: stringType().optional()
|
|
90363
|
+
}).transform((v2) => {
|
|
90364
|
+
return remap(v2, {
|
|
90365
|
+
environmentId: "environment_id",
|
|
90366
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
90367
|
+
});
|
|
90368
|
+
});
|
|
90369
|
+
});
|
|
90370
|
+
|
|
89891
90371
|
// src/models/operations/deleteevalrun.ts
|
|
89892
90372
|
var DeleteEvalRunRequest$inboundSchema, DeleteEvalRunRequest$outboundSchema;
|
|
89893
90373
|
var init_deleteevalrun = __esm(() => {
|
|
@@ -91034,6 +91514,40 @@ var init_disconnectapiv1sandboxgithuboauthconnectionsdelete = __esm(() => {
|
|
|
91034
91514
|
});
|
|
91035
91515
|
});
|
|
91036
91516
|
|
|
91517
|
+
// src/models/operations/dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete.ts
|
|
91518
|
+
var DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema, DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema;
|
|
91519
|
+
var init_dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete = __esm(() => {
|
|
91520
|
+
init_esm();
|
|
91521
|
+
init_primitives();
|
|
91522
|
+
init_components();
|
|
91523
|
+
DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema = objectType({
|
|
91524
|
+
session_id: stringType(),
|
|
91525
|
+
repository_id: numberType().int(),
|
|
91526
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
91527
|
+
DismissSessionRepositoryRequest: DismissSessionRepositoryRequest$inboundSchema
|
|
91528
|
+
}).transform((v2) => {
|
|
91529
|
+
return remap(v2, {
|
|
91530
|
+
session_id: "sessionId",
|
|
91531
|
+
repository_id: "repositoryId",
|
|
91532
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
91533
|
+
DismissSessionRepositoryRequest: "dismissSessionRepositoryRequest"
|
|
91534
|
+
});
|
|
91535
|
+
});
|
|
91536
|
+
DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema = objectType({
|
|
91537
|
+
sessionId: stringType(),
|
|
91538
|
+
repositoryId: numberType().int(),
|
|
91539
|
+
xOnBehalfOf: stringType().optional(),
|
|
91540
|
+
dismissSessionRepositoryRequest: DismissSessionRepositoryRequest$outboundSchema
|
|
91541
|
+
}).transform((v2) => {
|
|
91542
|
+
return remap(v2, {
|
|
91543
|
+
sessionId: "session_id",
|
|
91544
|
+
repositoryId: "repository_id",
|
|
91545
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
91546
|
+
dismissSessionRepositoryRequest: "DismissSessionRepositoryRequest"
|
|
91547
|
+
});
|
|
91548
|
+
});
|
|
91549
|
+
});
|
|
91550
|
+
|
|
91037
91551
|
// src/models/operations/downloadworkspacearchive.ts
|
|
91038
91552
|
var DownloadWorkspaceArchiveRequest$inboundSchema, DownloadWorkspaceArchiveRequest$outboundSchema;
|
|
91039
91553
|
var init_downloadworkspacearchive = __esm(() => {
|
|
@@ -92648,6 +93162,31 @@ var init_getembeddingsusage = __esm(() => {
|
|
|
92648
93162
|
});
|
|
92649
93163
|
});
|
|
92650
93164
|
|
|
93165
|
+
// src/models/operations/getenvironmentapiv1sandboxenvironmentsenvironmentidget.ts
|
|
93166
|
+
var GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema, GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema;
|
|
93167
|
+
var init_getenvironmentapiv1sandboxenvironmentsenvironmentidget = __esm(() => {
|
|
93168
|
+
init_esm();
|
|
93169
|
+
init_primitives();
|
|
93170
|
+
GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema = objectType({
|
|
93171
|
+
environment_id: numberType().int(),
|
|
93172
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
93173
|
+
}).transform((v2) => {
|
|
93174
|
+
return remap(v2, {
|
|
93175
|
+
environment_id: "environmentId",
|
|
93176
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
93177
|
+
});
|
|
93178
|
+
});
|
|
93179
|
+
GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema = objectType({
|
|
93180
|
+
environmentId: numberType().int(),
|
|
93181
|
+
xOnBehalfOf: stringType().optional()
|
|
93182
|
+
}).transform((v2) => {
|
|
93183
|
+
return remap(v2, {
|
|
93184
|
+
environmentId: "environment_id",
|
|
93185
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
93186
|
+
});
|
|
93187
|
+
});
|
|
93188
|
+
});
|
|
93189
|
+
|
|
92651
93190
|
// src/models/operations/getevalartifacts.ts
|
|
92652
93191
|
var GetEvalArtifactsRequest$inboundSchema, GetEvalArtifactsRequest$outboundSchema;
|
|
92653
93192
|
var init_getevalartifacts = __esm(() => {
|
|
@@ -96816,6 +97355,27 @@ var init_listembeddingmodels = __esm(() => {
|
|
|
96816
97355
|
});
|
|
96817
97356
|
});
|
|
96818
97357
|
|
|
97358
|
+
// src/models/operations/listenvironmentsapiv1sandboxenvironmentsget.ts
|
|
97359
|
+
var ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema, ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema;
|
|
97360
|
+
var init_listenvironmentsapiv1sandboxenvironmentsget = __esm(() => {
|
|
97361
|
+
init_esm();
|
|
97362
|
+
init_primitives();
|
|
97363
|
+
ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema = objectType({
|
|
97364
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
97365
|
+
}).transform((v2) => {
|
|
97366
|
+
return remap(v2, {
|
|
97367
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
97368
|
+
});
|
|
97369
|
+
});
|
|
97370
|
+
ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema = objectType({
|
|
97371
|
+
xOnBehalfOf: stringType().optional()
|
|
97372
|
+
}).transform((v2) => {
|
|
97373
|
+
return remap(v2, {
|
|
97374
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
97375
|
+
});
|
|
97376
|
+
});
|
|
97377
|
+
});
|
|
97378
|
+
|
|
96819
97379
|
// src/models/operations/listevalruns.ts
|
|
96820
97380
|
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
97381
|
var init_listevalruns = __esm(() => {
|
|
@@ -100439,6 +100999,31 @@ var init_llmrevoke = __esm(() => {
|
|
|
100439
100999
|
});
|
|
100440
101000
|
});
|
|
100441
101001
|
|
|
101002
|
+
// src/models/operations/manifestapiv1sandboxsessionssessionidgithubrepositoriesget.ts
|
|
101003
|
+
var ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema, ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema;
|
|
101004
|
+
var init_manifestapiv1sandboxsessionssessionidgithubrepositoriesget = __esm(() => {
|
|
101005
|
+
init_esm();
|
|
101006
|
+
init_primitives();
|
|
101007
|
+
ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema = objectType({
|
|
101008
|
+
session_id: stringType(),
|
|
101009
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
101010
|
+
}).transform((v2) => {
|
|
101011
|
+
return remap(v2, {
|
|
101012
|
+
session_id: "sessionId",
|
|
101013
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
101014
|
+
});
|
|
101015
|
+
});
|
|
101016
|
+
ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema = objectType({
|
|
101017
|
+
sessionId: stringType(),
|
|
101018
|
+
xOnBehalfOf: stringType().optional()
|
|
101019
|
+
}).transform((v2) => {
|
|
101020
|
+
return remap(v2, {
|
|
101021
|
+
sessionId: "session_id",
|
|
101022
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
101023
|
+
});
|
|
101024
|
+
});
|
|
101025
|
+
});
|
|
101026
|
+
|
|
100442
101027
|
// src/models/operations/modifyvectorstore.ts
|
|
100443
101028
|
var ModifyVectorStoreRequest$inboundSchema2, ModifyVectorStoreRequest$outboundSchema2;
|
|
100444
101029
|
var init_modifyvectorstore = __esm(() => {
|
|
@@ -100740,6 +101325,40 @@ var init_putpricing = __esm(() => {
|
|
|
100740
101325
|
});
|
|
100741
101326
|
});
|
|
100742
101327
|
|
|
101328
|
+
// src/models/operations/putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput.ts
|
|
101329
|
+
var PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema, PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema;
|
|
101330
|
+
var init_putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput = __esm(() => {
|
|
101331
|
+
init_esm();
|
|
101332
|
+
init_primitives();
|
|
101333
|
+
init_components();
|
|
101334
|
+
PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema = objectType({
|
|
101335
|
+
session_id: stringType(),
|
|
101336
|
+
repository_id: numberType().int(),
|
|
101337
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
101338
|
+
PutSessionRepositoryRequest: PutSessionRepositoryRequest$inboundSchema
|
|
101339
|
+
}).transform((v2) => {
|
|
101340
|
+
return remap(v2, {
|
|
101341
|
+
session_id: "sessionId",
|
|
101342
|
+
repository_id: "repositoryId",
|
|
101343
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
101344
|
+
PutSessionRepositoryRequest: "putSessionRepositoryRequest"
|
|
101345
|
+
});
|
|
101346
|
+
});
|
|
101347
|
+
PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema = objectType({
|
|
101348
|
+
sessionId: stringType(),
|
|
101349
|
+
repositoryId: numberType().int(),
|
|
101350
|
+
xOnBehalfOf: stringType().optional(),
|
|
101351
|
+
putSessionRepositoryRequest: PutSessionRepositoryRequest$outboundSchema
|
|
101352
|
+
}).transform((v2) => {
|
|
101353
|
+
return remap(v2, {
|
|
101354
|
+
sessionId: "session_id",
|
|
101355
|
+
repositoryId: "repository_id",
|
|
101356
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
101357
|
+
putSessionRepositoryRequest: "PutSessionRepositoryRequest"
|
|
101358
|
+
});
|
|
101359
|
+
});
|
|
101360
|
+
});
|
|
101361
|
+
|
|
100743
101362
|
// src/models/operations/readcloneapiv1sandboxsessionssessionidgithubreadclonepost.ts
|
|
100744
101363
|
var ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema, ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema;
|
|
100745
101364
|
var init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost = __esm(() => {
|
|
@@ -101755,6 +102374,31 @@ var init_runcommand = __esm(() => {
|
|
|
101755
102374
|
});
|
|
101756
102375
|
});
|
|
101757
102376
|
|
|
102377
|
+
// src/models/operations/runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost.ts
|
|
102378
|
+
var RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema, RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema;
|
|
102379
|
+
var init_runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost = __esm(() => {
|
|
102380
|
+
init_esm();
|
|
102381
|
+
init_primitives();
|
|
102382
|
+
RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema = objectType({
|
|
102383
|
+
session_id: stringType(),
|
|
102384
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
102385
|
+
}).transform((v2) => {
|
|
102386
|
+
return remap(v2, {
|
|
102387
|
+
session_id: "sessionId",
|
|
102388
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
102389
|
+
});
|
|
102390
|
+
});
|
|
102391
|
+
RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema = objectType({
|
|
102392
|
+
sessionId: stringType(),
|
|
102393
|
+
xOnBehalfOf: stringType().optional()
|
|
102394
|
+
}).transform((v2) => {
|
|
102395
|
+
return remap(v2, {
|
|
102396
|
+
sessionId: "session_id",
|
|
102397
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
102398
|
+
});
|
|
102399
|
+
});
|
|
102400
|
+
});
|
|
102401
|
+
|
|
101758
102402
|
// src/models/operations/searchvectorstore.ts
|
|
101759
102403
|
var SearchVectorStoreRequest$inboundSchema2, SearchVectorStoreRequest$outboundSchema2;
|
|
101760
102404
|
var init_searchvectorstore = __esm(() => {
|
|
@@ -104094,6 +104738,36 @@ var init_updatecompletionfeedback = __esm(() => {
|
|
|
104094
104738
|
});
|
|
104095
104739
|
});
|
|
104096
104740
|
|
|
104741
|
+
// src/models/operations/updateenvironmentapiv1sandboxenvironmentsenvironmentidput.ts
|
|
104742
|
+
var UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema, UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema;
|
|
104743
|
+
var init_updateenvironmentapiv1sandboxenvironmentsenvironmentidput = __esm(() => {
|
|
104744
|
+
init_esm();
|
|
104745
|
+
init_primitives();
|
|
104746
|
+
init_components();
|
|
104747
|
+
UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema = objectType({
|
|
104748
|
+
environment_id: numberType().int(),
|
|
104749
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
104750
|
+
SaveEnvironmentRequest: SaveEnvironmentRequest$inboundSchema
|
|
104751
|
+
}).transform((v2) => {
|
|
104752
|
+
return remap(v2, {
|
|
104753
|
+
environment_id: "environmentId",
|
|
104754
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
104755
|
+
SaveEnvironmentRequest: "saveEnvironmentRequest"
|
|
104756
|
+
});
|
|
104757
|
+
});
|
|
104758
|
+
UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema = objectType({
|
|
104759
|
+
environmentId: numberType().int(),
|
|
104760
|
+
xOnBehalfOf: stringType().optional(),
|
|
104761
|
+
saveEnvironmentRequest: SaveEnvironmentRequest$outboundSchema
|
|
104762
|
+
}).transform((v2) => {
|
|
104763
|
+
return remap(v2, {
|
|
104764
|
+
environmentId: "environment_id",
|
|
104765
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
104766
|
+
saveEnvironmentRequest: "SaveEnvironmentRequest"
|
|
104767
|
+
});
|
|
104768
|
+
});
|
|
104769
|
+
});
|
|
104770
|
+
|
|
104097
104771
|
// src/models/operations/updateevalschedule.ts
|
|
104098
104772
|
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
104773
|
var init_updateevalschedule = __esm(() => {
|
|
@@ -105284,6 +105958,7 @@ var init_operations = __esm(() => {
|
|
|
105284
105958
|
init_createcompletionfeedback();
|
|
105285
105959
|
init_createcomputequote();
|
|
105286
105960
|
init_createcomputesecret();
|
|
105961
|
+
init_createenvironmentapiv1sandboxenvironmentspost();
|
|
105287
105962
|
init_createevalrun();
|
|
105288
105963
|
init_createevalschedule();
|
|
105289
105964
|
init_createevalsuite();
|
|
@@ -105321,6 +105996,7 @@ var init_operations = __esm(() => {
|
|
|
105321
105996
|
init_deleteapikeybudget();
|
|
105322
105997
|
init_deleteclusterorg2();
|
|
105323
105998
|
init_deletecomputesecret();
|
|
105999
|
+
init_deleteenvironmentapiv1sandboxenvironmentsenvironmentiddelete();
|
|
105324
106000
|
init_deleteevalrun();
|
|
105325
106001
|
init_deleteevalschedule();
|
|
105326
106002
|
init_deleteevalsuite();
|
|
@@ -105354,6 +106030,7 @@ var init_operations = __esm(() => {
|
|
|
105354
106030
|
init_deletevectorstore();
|
|
105355
106031
|
init_deletevectorstorefile();
|
|
105356
106032
|
init_disconnectapiv1sandboxgithuboauthconnectionsdelete();
|
|
106033
|
+
init_dismissrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryiddelete();
|
|
105357
106034
|
init_downloadworkspacearchive();
|
|
105358
106035
|
init_downloadworkspacefile();
|
|
105359
106036
|
init_embed();
|
|
@@ -105386,6 +106063,7 @@ var init_operations = __esm(() => {
|
|
|
105386
106063
|
init_getcostsusage();
|
|
105387
106064
|
init_getcurrency();
|
|
105388
106065
|
init_getembeddingsusage();
|
|
106066
|
+
init_getenvironmentapiv1sandboxenvironmentsenvironmentidget();
|
|
105389
106067
|
init_getevalartifacts();
|
|
105390
106068
|
init_getevalrun();
|
|
105391
106069
|
init_getevalsampleaudio();
|
|
@@ -105461,6 +106139,7 @@ var init_operations = __esm(() => {
|
|
|
105461
106139
|
init_listcomputetenants();
|
|
105462
106140
|
init_listeffectiveprices();
|
|
105463
106141
|
init_listembeddingmodels();
|
|
106142
|
+
init_listenvironmentsapiv1sandboxenvironmentsget();
|
|
105464
106143
|
init_listevalruns();
|
|
105465
106144
|
init_listevalsamples();
|
|
105466
106145
|
init_listevalscheduleruns();
|
|
@@ -105523,6 +106202,7 @@ var init_operations = __esm(() => {
|
|
|
105523
106202
|
init_llmcheck();
|
|
105524
106203
|
init_llmgrant();
|
|
105525
106204
|
init_llmrevoke();
|
|
106205
|
+
init_manifestapiv1sandboxsessionssessionidgithubrepositoriesget();
|
|
105526
106206
|
init_modifyvectorstore();
|
|
105527
106207
|
init_patchrepo();
|
|
105528
106208
|
init_pauseagentschedule();
|
|
@@ -105532,6 +106212,7 @@ var init_operations = __esm(() => {
|
|
|
105532
106212
|
init_putcomputetenant();
|
|
105533
106213
|
init_putorgautomodel();
|
|
105534
106214
|
init_putpricing();
|
|
106215
|
+
init_putrepositoryapiv1sandboxsessionssessionidgithubrepositoriesrepositoryidput();
|
|
105535
106216
|
init_readcloneapiv1sandboxsessionssessionidgithubreadclonepost();
|
|
105536
106217
|
init_refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost();
|
|
105537
106218
|
init_regeneratescopedapikey2();
|
|
@@ -105550,6 +106231,7 @@ var init_operations = __esm(() => {
|
|
|
105550
106231
|
init_rollbackprompt();
|
|
105551
106232
|
init_runcode();
|
|
105552
106233
|
init_runcommand();
|
|
106234
|
+
init_runenvironmentsetupapiv1sandboxsessionssessionidenvironmentsetuppost();
|
|
105553
106235
|
init_searchvectorstore();
|
|
105554
106236
|
init_setapikeybudget();
|
|
105555
106237
|
init_setcurrency();
|
|
@@ -105578,6 +106260,7 @@ var init_operations = __esm(() => {
|
|
|
105578
106260
|
init_updateagentschedule();
|
|
105579
106261
|
init_updateclusterinvite2();
|
|
105580
106262
|
init_updatecompletionfeedback();
|
|
106263
|
+
init_updateenvironmentapiv1sandboxenvironmentsenvironmentidput();
|
|
105581
106264
|
init_updateevalschedule();
|
|
105582
106265
|
init_updateextractschema();
|
|
105583
106266
|
init_updateguardrails();
|
|
@@ -145716,13 +146399,958 @@ async function $do342(client, request, options) {
|
|
|
145716
146399
|
const responseFields = {
|
|
145717
146400
|
HttpMeta: { Response: response, Request: req }
|
|
145718
146401
|
};
|
|
145719
|
-
const [result] = await match(json(200, SessionRecord$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146402
|
+
const [result] = await match(json(200, SessionRecord$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146403
|
+
if (!result.ok) {
|
|
146404
|
+
return [result, { status: "complete", request: req, response }];
|
|
146405
|
+
}
|
|
146406
|
+
return [result, { status: "complete", request: req, response }];
|
|
146407
|
+
}
|
|
146408
|
+
var init_sandboxGet = __esm(() => {
|
|
146409
|
+
init_encodings();
|
|
146410
|
+
init_http();
|
|
146411
|
+
init_matchers();
|
|
146412
|
+
init_primitives();
|
|
146413
|
+
init_schemas4();
|
|
146414
|
+
init_security();
|
|
146415
|
+
init_url();
|
|
146416
|
+
init_components();
|
|
146417
|
+
init_errors4();
|
|
146418
|
+
init_operations();
|
|
146419
|
+
init_async();
|
|
146420
|
+
});
|
|
146421
|
+
|
|
146422
|
+
// src/mcp-server/tools/sandboxGet.ts
|
|
146423
|
+
var args334, tool$sandboxGet;
|
|
146424
|
+
var init_sandboxGet2 = __esm(() => {
|
|
146425
|
+
init_sandboxGet();
|
|
146426
|
+
init_operations();
|
|
146427
|
+
init_tools();
|
|
146428
|
+
args334 = {
|
|
146429
|
+
request: GetSessionRequest$inboundSchema
|
|
146430
|
+
};
|
|
146431
|
+
tool$sandboxGet = {
|
|
146432
|
+
name: "sandbox-get",
|
|
146433
|
+
description: `Get Session
|
|
146434
|
+
|
|
146435
|
+
Return the current state, configuration, and resource allocation for a sandbox session.`,
|
|
146436
|
+
args: args334,
|
|
146437
|
+
tool: async (client, args335, ctx) => {
|
|
146438
|
+
const [result, apiCall] = await sandboxGet(client, args335.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146439
|
+
if (!result.ok) {
|
|
146440
|
+
return {
|
|
146441
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146442
|
+
isError: true
|
|
146443
|
+
};
|
|
146444
|
+
}
|
|
146445
|
+
const value = result.value;
|
|
146446
|
+
return formatResult(value, apiCall);
|
|
146447
|
+
}
|
|
146448
|
+
};
|
|
146449
|
+
});
|
|
146450
|
+
|
|
146451
|
+
// src/funcs/sandboxGetBrowserUrl.ts
|
|
146452
|
+
function sandboxGetBrowserUrl(client, request, options) {
|
|
146453
|
+
return new APIPromise($do343(client, request, options));
|
|
146454
|
+
}
|
|
146455
|
+
async function $do343(client, request, options) {
|
|
146456
|
+
const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146457
|
+
if (!parsed.ok) {
|
|
146458
|
+
return [parsed, { status: "invalid" }];
|
|
146459
|
+
}
|
|
146460
|
+
const payload = parsed.value;
|
|
146461
|
+
const body = null;
|
|
146462
|
+
const pathParams = {
|
|
146463
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146464
|
+
explode: false,
|
|
146465
|
+
charEncoding: "percent"
|
|
146466
|
+
})
|
|
146467
|
+
};
|
|
146468
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/browser-url")(pathParams);
|
|
146469
|
+
const query = encodeFormQuery({
|
|
146470
|
+
session_token: payload.session_token
|
|
146471
|
+
});
|
|
146472
|
+
const headers = new Headers(compactMap({
|
|
146473
|
+
Accept: "application/json",
|
|
146474
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146475
|
+
}));
|
|
146476
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146477
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146478
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146479
|
+
const context = {
|
|
146480
|
+
options: client._options,
|
|
146481
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146482
|
+
operationID: "getBrowserSessionUrl",
|
|
146483
|
+
oAuth2Scopes: null,
|
|
146484
|
+
resolvedSecurity: requestSecurity,
|
|
146485
|
+
securitySource: client._options.bearerAuth,
|
|
146486
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146487
|
+
strategy: "backoff",
|
|
146488
|
+
backoff: {
|
|
146489
|
+
initialInterval: 500,
|
|
146490
|
+
maxInterval: 5000,
|
|
146491
|
+
exponent: 1.5,
|
|
146492
|
+
maxElapsedTime: 15000
|
|
146493
|
+
},
|
|
146494
|
+
retryConnectionErrors: true
|
|
146495
|
+
},
|
|
146496
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146497
|
+
};
|
|
146498
|
+
const requestRes = client._createRequest(context, {
|
|
146499
|
+
security: requestSecurity,
|
|
146500
|
+
method: "GET",
|
|
146501
|
+
baseURL: options?.serverURL,
|
|
146502
|
+
path,
|
|
146503
|
+
headers,
|
|
146504
|
+
query,
|
|
146505
|
+
body,
|
|
146506
|
+
userAgent: client._options.userAgent,
|
|
146507
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146508
|
+
}, options);
|
|
146509
|
+
if (!requestRes.ok) {
|
|
146510
|
+
return [requestRes, { status: "invalid" }];
|
|
146511
|
+
}
|
|
146512
|
+
const req = requestRes.value;
|
|
146513
|
+
const doResult = await client._do(req, {
|
|
146514
|
+
context,
|
|
146515
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146516
|
+
retryConfig: context.retryConfig,
|
|
146517
|
+
retryCodes: context.retryCodes
|
|
146518
|
+
});
|
|
146519
|
+
if (!doResult.ok) {
|
|
146520
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146521
|
+
}
|
|
146522
|
+
const response = doResult.value;
|
|
146523
|
+
const responseFields = {
|
|
146524
|
+
HttpMeta: { Response: response, Request: req }
|
|
146525
|
+
};
|
|
146526
|
+
const [result] = await match(json(200, SessionUrlResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail([501, "5XX"]))(response, req, { extraFields: responseFields });
|
|
146527
|
+
if (!result.ok) {
|
|
146528
|
+
return [result, { status: "complete", request: req, response }];
|
|
146529
|
+
}
|
|
146530
|
+
return [result, { status: "complete", request: req, response }];
|
|
146531
|
+
}
|
|
146532
|
+
var init_sandboxGetBrowserUrl = __esm(() => {
|
|
146533
|
+
init_encodings();
|
|
146534
|
+
init_http();
|
|
146535
|
+
init_matchers();
|
|
146536
|
+
init_primitives();
|
|
146537
|
+
init_schemas4();
|
|
146538
|
+
init_security();
|
|
146539
|
+
init_url();
|
|
146540
|
+
init_components();
|
|
146541
|
+
init_errors4();
|
|
146542
|
+
init_operations();
|
|
146543
|
+
init_async();
|
|
146544
|
+
});
|
|
146545
|
+
|
|
146546
|
+
// src/mcp-server/tools/sandboxGetBrowserUrl.ts
|
|
146547
|
+
var args335, tool$sandboxGetBrowserUrl;
|
|
146548
|
+
var init_sandboxGetBrowserUrl2 = __esm(() => {
|
|
146549
|
+
init_sandboxGetBrowserUrl();
|
|
146550
|
+
init_operations();
|
|
146551
|
+
init_tools();
|
|
146552
|
+
args335 = {
|
|
146553
|
+
request: GetBrowserSessionUrlRequest$inboundSchema
|
|
146554
|
+
};
|
|
146555
|
+
tool$sandboxGetBrowserUrl = {
|
|
146556
|
+
name: "sandbox-get-browser-url",
|
|
146557
|
+
description: `Get Browser Session URL
|
|
146558
|
+
|
|
146559
|
+
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.`,
|
|
146560
|
+
args: args335,
|
|
146561
|
+
tool: async (client, args336, ctx) => {
|
|
146562
|
+
const [result, apiCall] = await sandboxGetBrowserUrl(client, args336.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146563
|
+
if (!result.ok) {
|
|
146564
|
+
return {
|
|
146565
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146566
|
+
isError: true
|
|
146567
|
+
};
|
|
146568
|
+
}
|
|
146569
|
+
const value = result.value;
|
|
146570
|
+
return formatResult(value, apiCall);
|
|
146571
|
+
}
|
|
146572
|
+
};
|
|
146573
|
+
});
|
|
146574
|
+
|
|
146575
|
+
// src/funcs/sandboxGetPricing.ts
|
|
146576
|
+
function sandboxGetPricing(client, options) {
|
|
146577
|
+
return new APIPromise($do344(client, options));
|
|
146578
|
+
}
|
|
146579
|
+
async function $do344(client, options) {
|
|
146580
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
146581
|
+
const headers = new Headers(compactMap({
|
|
146582
|
+
Accept: "application/json"
|
|
146583
|
+
}));
|
|
146584
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146585
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146586
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146587
|
+
const context = {
|
|
146588
|
+
options: client._options,
|
|
146589
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146590
|
+
operationID: "getSandboxPricing",
|
|
146591
|
+
oAuth2Scopes: null,
|
|
146592
|
+
resolvedSecurity: requestSecurity,
|
|
146593
|
+
securitySource: client._options.bearerAuth,
|
|
146594
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146595
|
+
strategy: "backoff",
|
|
146596
|
+
backoff: {
|
|
146597
|
+
initialInterval: 500,
|
|
146598
|
+
maxInterval: 5000,
|
|
146599
|
+
exponent: 1.5,
|
|
146600
|
+
maxElapsedTime: 15000
|
|
146601
|
+
},
|
|
146602
|
+
retryConnectionErrors: true
|
|
146603
|
+
},
|
|
146604
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146605
|
+
};
|
|
146606
|
+
const requestRes = client._createRequest(context, {
|
|
146607
|
+
security: requestSecurity,
|
|
146608
|
+
method: "GET",
|
|
146609
|
+
baseURL: options?.serverURL,
|
|
146610
|
+
path,
|
|
146611
|
+
headers,
|
|
146612
|
+
userAgent: client._options.userAgent,
|
|
146613
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146614
|
+
}, options);
|
|
146615
|
+
if (!requestRes.ok) {
|
|
146616
|
+
return [requestRes, { status: "invalid" }];
|
|
146617
|
+
}
|
|
146618
|
+
const req = requestRes.value;
|
|
146619
|
+
const doResult = await client._do(req, {
|
|
146620
|
+
context,
|
|
146621
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146622
|
+
retryConfig: context.retryConfig,
|
|
146623
|
+
retryCodes: context.retryCodes
|
|
146624
|
+
});
|
|
146625
|
+
if (!doResult.ok) {
|
|
146626
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146627
|
+
}
|
|
146628
|
+
const response = doResult.value;
|
|
146629
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
146630
|
+
if (!result.ok) {
|
|
146631
|
+
return [result, { status: "complete", request: req, response }];
|
|
146632
|
+
}
|
|
146633
|
+
return [result, { status: "complete", request: req, response }];
|
|
146634
|
+
}
|
|
146635
|
+
var init_sandboxGetPricing = __esm(() => {
|
|
146636
|
+
init_http();
|
|
146637
|
+
init_matchers();
|
|
146638
|
+
init_primitives();
|
|
146639
|
+
init_security();
|
|
146640
|
+
init_url();
|
|
146641
|
+
init_components();
|
|
146642
|
+
init_async();
|
|
146643
|
+
});
|
|
146644
|
+
|
|
146645
|
+
// src/mcp-server/tools/sandboxGetPricing.ts
|
|
146646
|
+
var tool$sandboxGetPricing;
|
|
146647
|
+
var init_sandboxGetPricing2 = __esm(() => {
|
|
146648
|
+
init_sandboxGetPricing();
|
|
146649
|
+
init_tools();
|
|
146650
|
+
tool$sandboxGetPricing = {
|
|
146651
|
+
name: "sandbox-get-pricing",
|
|
146652
|
+
description: `Get Sandbox Pricing
|
|
146653
|
+
|
|
146654
|
+
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.`,
|
|
146655
|
+
tool: async (client, ctx) => {
|
|
146656
|
+
const [result, apiCall] = await sandboxGetPricing(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146657
|
+
if (!result.ok) {
|
|
146658
|
+
return {
|
|
146659
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146660
|
+
isError: true
|
|
146661
|
+
};
|
|
146662
|
+
}
|
|
146663
|
+
const value = result.value;
|
|
146664
|
+
return formatResult(value, apiCall);
|
|
146665
|
+
}
|
|
146666
|
+
};
|
|
146667
|
+
});
|
|
146668
|
+
|
|
146669
|
+
// src/funcs/sandboxGetWorkspace.ts
|
|
146670
|
+
function sandboxGetWorkspace(client, request, options) {
|
|
146671
|
+
return new APIPromise($do345(client, request, options));
|
|
146672
|
+
}
|
|
146673
|
+
async function $do345(client, request, options) {
|
|
146674
|
+
const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146675
|
+
if (!parsed.ok) {
|
|
146676
|
+
return [parsed, { status: "invalid" }];
|
|
146677
|
+
}
|
|
146678
|
+
const payload = parsed.value;
|
|
146679
|
+
const body = null;
|
|
146680
|
+
const pathParams = {
|
|
146681
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146682
|
+
explode: false,
|
|
146683
|
+
charEncoding: "percent"
|
|
146684
|
+
})
|
|
146685
|
+
};
|
|
146686
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
146687
|
+
const query = encodeFormQuery({
|
|
146688
|
+
session_token: payload.session_token
|
|
146689
|
+
});
|
|
146690
|
+
const headers = new Headers(compactMap({
|
|
146691
|
+
Accept: "application/json",
|
|
146692
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146693
|
+
}));
|
|
146694
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146695
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146696
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146697
|
+
const context = {
|
|
146698
|
+
options: client._options,
|
|
146699
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146700
|
+
operationID: "getWorkspace",
|
|
146701
|
+
oAuth2Scopes: null,
|
|
146702
|
+
resolvedSecurity: requestSecurity,
|
|
146703
|
+
securitySource: client._options.bearerAuth,
|
|
146704
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146705
|
+
strategy: "backoff",
|
|
146706
|
+
backoff: {
|
|
146707
|
+
initialInterval: 500,
|
|
146708
|
+
maxInterval: 5000,
|
|
146709
|
+
exponent: 1.5,
|
|
146710
|
+
maxElapsedTime: 15000
|
|
146711
|
+
},
|
|
146712
|
+
retryConnectionErrors: true
|
|
146713
|
+
},
|
|
146714
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146715
|
+
};
|
|
146716
|
+
const requestRes = client._createRequest(context, {
|
|
146717
|
+
security: requestSecurity,
|
|
146718
|
+
method: "GET",
|
|
146719
|
+
baseURL: options?.serverURL,
|
|
146720
|
+
path,
|
|
146721
|
+
headers,
|
|
146722
|
+
query,
|
|
146723
|
+
body,
|
|
146724
|
+
userAgent: client._options.userAgent,
|
|
146725
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146726
|
+
}, options);
|
|
146727
|
+
if (!requestRes.ok) {
|
|
146728
|
+
return [requestRes, { status: "invalid" }];
|
|
146729
|
+
}
|
|
146730
|
+
const req = requestRes.value;
|
|
146731
|
+
const doResult = await client._do(req, {
|
|
146732
|
+
context,
|
|
146733
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146734
|
+
retryConfig: context.retryConfig,
|
|
146735
|
+
retryCodes: context.retryCodes
|
|
146736
|
+
});
|
|
146737
|
+
if (!doResult.ok) {
|
|
146738
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146739
|
+
}
|
|
146740
|
+
const response = doResult.value;
|
|
146741
|
+
const responseFields = {
|
|
146742
|
+
HttpMeta: { Response: response, Request: req }
|
|
146743
|
+
};
|
|
146744
|
+
const [result] = await match(json(200, WorkspaceManifest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146745
|
+
if (!result.ok) {
|
|
146746
|
+
return [result, { status: "complete", request: req, response }];
|
|
146747
|
+
}
|
|
146748
|
+
return [result, { status: "complete", request: req, response }];
|
|
146749
|
+
}
|
|
146750
|
+
var init_sandboxGetWorkspace = __esm(() => {
|
|
146751
|
+
init_encodings();
|
|
146752
|
+
init_http();
|
|
146753
|
+
init_matchers();
|
|
146754
|
+
init_primitives();
|
|
146755
|
+
init_schemas4();
|
|
146756
|
+
init_security();
|
|
146757
|
+
init_url();
|
|
146758
|
+
init_components();
|
|
146759
|
+
init_errors4();
|
|
146760
|
+
init_operations();
|
|
146761
|
+
init_async();
|
|
146762
|
+
});
|
|
146763
|
+
|
|
146764
|
+
// src/mcp-server/tools/sandboxGetWorkspace.ts
|
|
146765
|
+
var args336, tool$sandboxGetWorkspace;
|
|
146766
|
+
var init_sandboxGetWorkspace2 = __esm(() => {
|
|
146767
|
+
init_sandboxGetWorkspace();
|
|
146768
|
+
init_operations();
|
|
146769
|
+
init_tools();
|
|
146770
|
+
args336 = {
|
|
146771
|
+
request: GetWorkspaceRequest$inboundSchema
|
|
146772
|
+
};
|
|
146773
|
+
tool$sandboxGetWorkspace = {
|
|
146774
|
+
name: "sandbox-get-workspace",
|
|
146775
|
+
description: `Get Workspace Manifest
|
|
146776
|
+
|
|
146777
|
+
List files currently stored in the session workspace, including paths, sizes, and etags.`,
|
|
146778
|
+
args: args336,
|
|
146779
|
+
tool: async (client, args337, ctx) => {
|
|
146780
|
+
const [result, apiCall] = await sandboxGetWorkspace(client, args337.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146781
|
+
if (!result.ok) {
|
|
146782
|
+
return {
|
|
146783
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146784
|
+
isError: true
|
|
146785
|
+
};
|
|
146786
|
+
}
|
|
146787
|
+
const value = result.value;
|
|
146788
|
+
return formatResult(value, apiCall);
|
|
146789
|
+
}
|
|
146790
|
+
};
|
|
146791
|
+
});
|
|
146792
|
+
|
|
146793
|
+
// src/funcs/sandboxList.ts
|
|
146794
|
+
function sandboxList(client, request, options) {
|
|
146795
|
+
return new APIPromise($do346(client, request, options));
|
|
146796
|
+
}
|
|
146797
|
+
async function $do346(client, request, options) {
|
|
146798
|
+
const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146799
|
+
if (!parsed.ok) {
|
|
146800
|
+
return [parsed, { status: "invalid" }];
|
|
146801
|
+
}
|
|
146802
|
+
const payload = parsed.value;
|
|
146803
|
+
const body = null;
|
|
146804
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
146805
|
+
const headers = new Headers(compactMap({
|
|
146806
|
+
Accept: "application/json",
|
|
146807
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146808
|
+
}));
|
|
146809
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146810
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146811
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146812
|
+
const context = {
|
|
146813
|
+
options: client._options,
|
|
146814
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146815
|
+
operationID: "listSessions",
|
|
146816
|
+
oAuth2Scopes: null,
|
|
146817
|
+
resolvedSecurity: requestSecurity,
|
|
146818
|
+
securitySource: client._options.bearerAuth,
|
|
146819
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146820
|
+
strategy: "backoff",
|
|
146821
|
+
backoff: {
|
|
146822
|
+
initialInterval: 500,
|
|
146823
|
+
maxInterval: 5000,
|
|
146824
|
+
exponent: 1.5,
|
|
146825
|
+
maxElapsedTime: 15000
|
|
146826
|
+
},
|
|
146827
|
+
retryConnectionErrors: true
|
|
146828
|
+
},
|
|
146829
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146830
|
+
};
|
|
146831
|
+
const requestRes = client._createRequest(context, {
|
|
146832
|
+
security: requestSecurity,
|
|
146833
|
+
method: "GET",
|
|
146834
|
+
baseURL: options?.serverURL,
|
|
146835
|
+
path,
|
|
146836
|
+
headers,
|
|
146837
|
+
body,
|
|
146838
|
+
userAgent: client._options.userAgent,
|
|
146839
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146840
|
+
}, options);
|
|
146841
|
+
if (!requestRes.ok) {
|
|
146842
|
+
return [requestRes, { status: "invalid" }];
|
|
146843
|
+
}
|
|
146844
|
+
const req = requestRes.value;
|
|
146845
|
+
const doResult = await client._do(req, {
|
|
146846
|
+
context,
|
|
146847
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146848
|
+
retryConfig: context.retryConfig,
|
|
146849
|
+
retryCodes: context.retryCodes
|
|
146850
|
+
});
|
|
146851
|
+
if (!doResult.ok) {
|
|
146852
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146853
|
+
}
|
|
146854
|
+
const response = doResult.value;
|
|
146855
|
+
const responseFields = {
|
|
146856
|
+
HttpMeta: { Response: response, Request: req }
|
|
146857
|
+
};
|
|
146858
|
+
const [result] = await match(json(200, arrayType(SessionRecord$inboundSchema)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146859
|
+
if (!result.ok) {
|
|
146860
|
+
return [result, { status: "complete", request: req, response }];
|
|
146861
|
+
}
|
|
146862
|
+
return [result, { status: "complete", request: req, response }];
|
|
146863
|
+
}
|
|
146864
|
+
var init_sandboxList = __esm(() => {
|
|
146865
|
+
init_esm();
|
|
146866
|
+
init_encodings();
|
|
146867
|
+
init_http();
|
|
146868
|
+
init_matchers();
|
|
146869
|
+
init_primitives();
|
|
146870
|
+
init_schemas4();
|
|
146871
|
+
init_security();
|
|
146872
|
+
init_url();
|
|
146873
|
+
init_components();
|
|
146874
|
+
init_errors4();
|
|
146875
|
+
init_operations();
|
|
146876
|
+
init_async();
|
|
146877
|
+
});
|
|
146878
|
+
|
|
146879
|
+
// src/mcp-server/tools/sandboxList.ts
|
|
146880
|
+
var args337, tool$sandboxList;
|
|
146881
|
+
var init_sandboxList2 = __esm(() => {
|
|
146882
|
+
init_sandboxList();
|
|
146883
|
+
init_operations();
|
|
146884
|
+
init_tools();
|
|
146885
|
+
args337 = {
|
|
146886
|
+
request: ListSessionsRequest$inboundSchema
|
|
146887
|
+
};
|
|
146888
|
+
tool$sandboxList = {
|
|
146889
|
+
name: "sandbox-list",
|
|
146890
|
+
description: `List Sessions
|
|
146891
|
+
|
|
146892
|
+
List sandbox sessions visible to the authenticated caller.`,
|
|
146893
|
+
args: args337,
|
|
146894
|
+
tool: async (client, args338, ctx) => {
|
|
146895
|
+
const [result, apiCall] = await sandboxList(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146896
|
+
if (!result.ok) {
|
|
146897
|
+
return {
|
|
146898
|
+
content: [{ type: "text", text: result.error.message }],
|
|
146899
|
+
isError: true
|
|
146900
|
+
};
|
|
146901
|
+
}
|
|
146902
|
+
const value = result.value;
|
|
146903
|
+
return formatResult(value, apiCall);
|
|
146904
|
+
}
|
|
146905
|
+
};
|
|
146906
|
+
});
|
|
146907
|
+
|
|
146908
|
+
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
146909
|
+
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
146910
|
+
return new APIPromise($do347(client, request, options));
|
|
146911
|
+
}
|
|
146912
|
+
async function $do347(client, request, options) {
|
|
146913
|
+
const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146914
|
+
if (!parsed.ok) {
|
|
146915
|
+
return [parsed, { status: "invalid" }];
|
|
146916
|
+
}
|
|
146917
|
+
const payload = parsed.value;
|
|
146918
|
+
const body = null;
|
|
146919
|
+
const pathParams = {
|
|
146920
|
+
port: encodeSimple("port", payload.port, {
|
|
146921
|
+
explode: false,
|
|
146922
|
+
charEncoding: "percent"
|
|
146923
|
+
}),
|
|
146924
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146925
|
+
explode: false,
|
|
146926
|
+
charEncoding: "percent"
|
|
146927
|
+
}),
|
|
146928
|
+
subpath: encodeSimple("subpath", payload.subpath, {
|
|
146929
|
+
explode: false,
|
|
146930
|
+
charEncoding: "percent"
|
|
146931
|
+
})
|
|
146932
|
+
};
|
|
146933
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/ports/{port}/{subpath}")(pathParams);
|
|
146934
|
+
const query = encodeFormQuery({
|
|
146935
|
+
session_token: payload.session_token
|
|
146936
|
+
});
|
|
146937
|
+
const headers = new Headers(compactMap({
|
|
146938
|
+
Accept: "application/json",
|
|
146939
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146940
|
+
}));
|
|
146941
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146942
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
146943
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
146944
|
+
const context = {
|
|
146945
|
+
options: client._options,
|
|
146946
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146947
|
+
operationID: "proxyBrowserPortRequest",
|
|
146948
|
+
oAuth2Scopes: null,
|
|
146949
|
+
resolvedSecurity: requestSecurity,
|
|
146950
|
+
securitySource: client._options.bearerAuth,
|
|
146951
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
146952
|
+
strategy: "backoff",
|
|
146953
|
+
backoff: {
|
|
146954
|
+
initialInterval: 500,
|
|
146955
|
+
maxInterval: 5000,
|
|
146956
|
+
exponent: 1.5,
|
|
146957
|
+
maxElapsedTime: 15000
|
|
146958
|
+
},
|
|
146959
|
+
retryConnectionErrors: true
|
|
146960
|
+
},
|
|
146961
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
146962
|
+
};
|
|
146963
|
+
const requestRes = client._createRequest(context, {
|
|
146964
|
+
security: requestSecurity,
|
|
146965
|
+
method: "GET",
|
|
146966
|
+
baseURL: options?.serverURL,
|
|
146967
|
+
path,
|
|
146968
|
+
headers,
|
|
146969
|
+
query,
|
|
146970
|
+
body,
|
|
146971
|
+
userAgent: client._options.userAgent,
|
|
146972
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
146973
|
+
}, options);
|
|
146974
|
+
if (!requestRes.ok) {
|
|
146975
|
+
return [requestRes, { status: "invalid" }];
|
|
146976
|
+
}
|
|
146977
|
+
const req = requestRes.value;
|
|
146978
|
+
const doResult = await client._do(req, {
|
|
146979
|
+
context,
|
|
146980
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
146981
|
+
retryConfig: context.retryConfig,
|
|
146982
|
+
retryCodes: context.retryCodes
|
|
146983
|
+
});
|
|
146984
|
+
if (!doResult.ok) {
|
|
146985
|
+
return [doResult, { status: "request-error", request: req }];
|
|
146986
|
+
}
|
|
146987
|
+
const response = doResult.value;
|
|
146988
|
+
const responseFields = {
|
|
146989
|
+
HttpMeta: { Response: response, Request: req }
|
|
146990
|
+
};
|
|
146991
|
+
const [result] = await match(json(200, anyType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146992
|
+
if (!result.ok) {
|
|
146993
|
+
return [result, { status: "complete", request: req, response }];
|
|
146994
|
+
}
|
|
146995
|
+
return [result, { status: "complete", request: req, response }];
|
|
146996
|
+
}
|
|
146997
|
+
var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
146998
|
+
init_esm();
|
|
146999
|
+
init_encodings();
|
|
147000
|
+
init_http();
|
|
147001
|
+
init_matchers();
|
|
147002
|
+
init_primitives();
|
|
147003
|
+
init_schemas4();
|
|
147004
|
+
init_security();
|
|
147005
|
+
init_url();
|
|
147006
|
+
init_errors4();
|
|
147007
|
+
init_operations();
|
|
147008
|
+
init_async();
|
|
147009
|
+
});
|
|
147010
|
+
|
|
147011
|
+
// src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
|
|
147012
|
+
var args338, tool$sandboxProxyBrowserPortRequest;
|
|
147013
|
+
var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
147014
|
+
init_sandboxProxyBrowserPortRequest();
|
|
147015
|
+
init_operations();
|
|
147016
|
+
init_tools();
|
|
147017
|
+
args338 = {
|
|
147018
|
+
request: ProxyBrowserPortRequestRequest$inboundSchema
|
|
147019
|
+
};
|
|
147020
|
+
tool$sandboxProxyBrowserPortRequest = {
|
|
147021
|
+
name: "sandbox-proxy-browser-port-request",
|
|
147022
|
+
description: `Proxy Browser Port Request
|
|
147023
|
+
|
|
147024
|
+
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.`,
|
|
147025
|
+
args: args338,
|
|
147026
|
+
tool: async (client, args339, ctx) => {
|
|
147027
|
+
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147028
|
+
if (!result.ok) {
|
|
147029
|
+
return {
|
|
147030
|
+
content: [{ type: "text", text: result.error.message }],
|
|
147031
|
+
isError: true
|
|
147032
|
+
};
|
|
147033
|
+
}
|
|
147034
|
+
const value = result.value;
|
|
147035
|
+
return formatResult(value, apiCall);
|
|
147036
|
+
}
|
|
147037
|
+
};
|
|
147038
|
+
});
|
|
147039
|
+
|
|
147040
|
+
// src/funcs/sandboxRunCode.ts
|
|
147041
|
+
function sandboxRunCode(client, request, options) {
|
|
147042
|
+
return new APIPromise($do348(client, request, options));
|
|
147043
|
+
}
|
|
147044
|
+
async function $do348(client, request, options) {
|
|
147045
|
+
const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147046
|
+
if (!parsed.ok) {
|
|
147047
|
+
return [parsed, { status: "invalid" }];
|
|
147048
|
+
}
|
|
147049
|
+
const payload = parsed.value;
|
|
147050
|
+
const body = encodeJSON("body", payload.CodeRequest, { explode: true });
|
|
147051
|
+
const pathParams = {
|
|
147052
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147053
|
+
explode: false,
|
|
147054
|
+
charEncoding: "percent"
|
|
147055
|
+
})
|
|
147056
|
+
};
|
|
147057
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/code")(pathParams);
|
|
147058
|
+
const headers = new Headers(compactMap({
|
|
147059
|
+
"Content-Type": "application/json",
|
|
147060
|
+
Accept: "application/json",
|
|
147061
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147062
|
+
}));
|
|
147063
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147064
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147065
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147066
|
+
const context = {
|
|
147067
|
+
options: client._options,
|
|
147068
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147069
|
+
operationID: "runCode",
|
|
147070
|
+
oAuth2Scopes: null,
|
|
147071
|
+
resolvedSecurity: requestSecurity,
|
|
147072
|
+
securitySource: client._options.bearerAuth,
|
|
147073
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147074
|
+
strategy: "backoff",
|
|
147075
|
+
backoff: {
|
|
147076
|
+
initialInterval: 500,
|
|
147077
|
+
maxInterval: 5000,
|
|
147078
|
+
exponent: 1.5,
|
|
147079
|
+
maxElapsedTime: 15000
|
|
147080
|
+
},
|
|
147081
|
+
retryConnectionErrors: true
|
|
147082
|
+
},
|
|
147083
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147084
|
+
};
|
|
147085
|
+
const requestRes = client._createRequest(context, {
|
|
147086
|
+
security: requestSecurity,
|
|
147087
|
+
method: "POST",
|
|
147088
|
+
baseURL: options?.serverURL,
|
|
147089
|
+
path,
|
|
147090
|
+
headers,
|
|
147091
|
+
body,
|
|
147092
|
+
userAgent: client._options.userAgent,
|
|
147093
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147094
|
+
}, options);
|
|
147095
|
+
if (!requestRes.ok) {
|
|
147096
|
+
return [requestRes, { status: "invalid" }];
|
|
147097
|
+
}
|
|
147098
|
+
const req = requestRes.value;
|
|
147099
|
+
const doResult = await client._do(req, {
|
|
147100
|
+
context,
|
|
147101
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147102
|
+
retryConfig: context.retryConfig,
|
|
147103
|
+
retryCodes: context.retryCodes
|
|
147104
|
+
});
|
|
147105
|
+
if (!doResult.ok) {
|
|
147106
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147107
|
+
}
|
|
147108
|
+
const response = doResult.value;
|
|
147109
|
+
const responseFields = {
|
|
147110
|
+
HttpMeta: { Response: response, Request: req }
|
|
147111
|
+
};
|
|
147112
|
+
const [result] = await match(json(200, CodeResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147113
|
+
if (!result.ok) {
|
|
147114
|
+
return [result, { status: "complete", request: req, response }];
|
|
147115
|
+
}
|
|
147116
|
+
return [result, { status: "complete", request: req, response }];
|
|
147117
|
+
}
|
|
147118
|
+
var init_sandboxRunCode = __esm(() => {
|
|
147119
|
+
init_encodings();
|
|
147120
|
+
init_http();
|
|
147121
|
+
init_matchers();
|
|
147122
|
+
init_primitives();
|
|
147123
|
+
init_schemas4();
|
|
147124
|
+
init_security();
|
|
147125
|
+
init_url();
|
|
147126
|
+
init_components();
|
|
147127
|
+
init_errors4();
|
|
147128
|
+
init_operations();
|
|
147129
|
+
init_async();
|
|
147130
|
+
});
|
|
147131
|
+
|
|
147132
|
+
// src/mcp-server/tools/sandboxRunCode.ts
|
|
147133
|
+
var args339, tool$sandboxRunCode;
|
|
147134
|
+
var init_sandboxRunCode2 = __esm(() => {
|
|
147135
|
+
init_sandboxRunCode();
|
|
147136
|
+
init_operations();
|
|
147137
|
+
init_tools();
|
|
147138
|
+
args339 = {
|
|
147139
|
+
request: RunCodeRequest$inboundSchema
|
|
147140
|
+
};
|
|
147141
|
+
tool$sandboxRunCode = {
|
|
147142
|
+
name: "sandbox-run-code",
|
|
147143
|
+
description: `Run Code
|
|
147144
|
+
|
|
147145
|
+
Execute source code in the session workspace using a supported runtime and return the execution result.`,
|
|
147146
|
+
args: args339,
|
|
147147
|
+
tool: async (client, args340, ctx) => {
|
|
147148
|
+
const [result, apiCall] = await sandboxRunCode(client, args340.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147149
|
+
if (!result.ok) {
|
|
147150
|
+
return {
|
|
147151
|
+
content: [{ type: "text", text: result.error.message }],
|
|
147152
|
+
isError: true
|
|
147153
|
+
};
|
|
147154
|
+
}
|
|
147155
|
+
const value = result.value;
|
|
147156
|
+
return formatResult(value, apiCall);
|
|
147157
|
+
}
|
|
147158
|
+
};
|
|
147159
|
+
});
|
|
147160
|
+
|
|
147161
|
+
// src/funcs/sandboxRunCommand.ts
|
|
147162
|
+
function sandboxRunCommand(client, request, options) {
|
|
147163
|
+
return new APIPromise($do349(client, request, options));
|
|
147164
|
+
}
|
|
147165
|
+
async function $do349(client, request, options) {
|
|
147166
|
+
const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147167
|
+
if (!parsed.ok) {
|
|
147168
|
+
return [parsed, { status: "invalid" }];
|
|
147169
|
+
}
|
|
147170
|
+
const payload = parsed.value;
|
|
147171
|
+
const body = encodeJSON("body", payload.CommandRequest, { explode: true });
|
|
147172
|
+
const pathParams = {
|
|
147173
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147174
|
+
explode: false,
|
|
147175
|
+
charEncoding: "percent"
|
|
147176
|
+
})
|
|
147177
|
+
};
|
|
147178
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/commands")(pathParams);
|
|
147179
|
+
const headers = new Headers(compactMap({
|
|
147180
|
+
"Content-Type": "application/json",
|
|
147181
|
+
Accept: "application/json",
|
|
147182
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147183
|
+
}));
|
|
147184
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147185
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147186
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147187
|
+
const context = {
|
|
147188
|
+
options: client._options,
|
|
147189
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147190
|
+
operationID: "runCommand",
|
|
147191
|
+
oAuth2Scopes: null,
|
|
147192
|
+
resolvedSecurity: requestSecurity,
|
|
147193
|
+
securitySource: client._options.bearerAuth,
|
|
147194
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147195
|
+
strategy: "backoff",
|
|
147196
|
+
backoff: {
|
|
147197
|
+
initialInterval: 500,
|
|
147198
|
+
maxInterval: 5000,
|
|
147199
|
+
exponent: 1.5,
|
|
147200
|
+
maxElapsedTime: 15000
|
|
147201
|
+
},
|
|
147202
|
+
retryConnectionErrors: true
|
|
147203
|
+
},
|
|
147204
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147205
|
+
};
|
|
147206
|
+
const requestRes = client._createRequest(context, {
|
|
147207
|
+
security: requestSecurity,
|
|
147208
|
+
method: "POST",
|
|
147209
|
+
baseURL: options?.serverURL,
|
|
147210
|
+
path,
|
|
147211
|
+
headers,
|
|
147212
|
+
body,
|
|
147213
|
+
userAgent: client._options.userAgent,
|
|
147214
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147215
|
+
}, options);
|
|
147216
|
+
if (!requestRes.ok) {
|
|
147217
|
+
return [requestRes, { status: "invalid" }];
|
|
147218
|
+
}
|
|
147219
|
+
const req = requestRes.value;
|
|
147220
|
+
const doResult = await client._do(req, {
|
|
147221
|
+
context,
|
|
147222
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147223
|
+
retryConfig: context.retryConfig,
|
|
147224
|
+
retryCodes: context.retryCodes
|
|
147225
|
+
});
|
|
147226
|
+
if (!doResult.ok) {
|
|
147227
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147228
|
+
}
|
|
147229
|
+
const response = doResult.value;
|
|
147230
|
+
const responseFields = {
|
|
147231
|
+
HttpMeta: { Response: response, Request: req }
|
|
147232
|
+
};
|
|
147233
|
+
const [result] = await match(json(200, CommandResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147234
|
+
if (!result.ok) {
|
|
147235
|
+
return [result, { status: "complete", request: req, response }];
|
|
147236
|
+
}
|
|
147237
|
+
return [result, { status: "complete", request: req, response }];
|
|
147238
|
+
}
|
|
147239
|
+
var init_sandboxRunCommand = __esm(() => {
|
|
147240
|
+
init_encodings();
|
|
147241
|
+
init_http();
|
|
147242
|
+
init_matchers();
|
|
147243
|
+
init_primitives();
|
|
147244
|
+
init_schemas4();
|
|
147245
|
+
init_security();
|
|
147246
|
+
init_url();
|
|
147247
|
+
init_components();
|
|
147248
|
+
init_errors4();
|
|
147249
|
+
init_operations();
|
|
147250
|
+
init_async();
|
|
147251
|
+
});
|
|
147252
|
+
|
|
147253
|
+
// src/mcp-server/tools/sandboxRunCommand.ts
|
|
147254
|
+
var args340, tool$sandboxRunCommand;
|
|
147255
|
+
var init_sandboxRunCommand2 = __esm(() => {
|
|
147256
|
+
init_sandboxRunCommand();
|
|
147257
|
+
init_operations();
|
|
147258
|
+
init_tools();
|
|
147259
|
+
args340 = {
|
|
147260
|
+
request: RunCommandRequest$inboundSchema
|
|
147261
|
+
};
|
|
147262
|
+
tool$sandboxRunCommand = {
|
|
147263
|
+
name: "sandbox-run-command",
|
|
147264
|
+
description: `Run Command
|
|
147265
|
+
|
|
147266
|
+
Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
|
|
147267
|
+
args: args340,
|
|
147268
|
+
tool: async (client, args341, ctx) => {
|
|
147269
|
+
const [result, apiCall] = await sandboxRunCommand(client, args341.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147270
|
+
if (!result.ok) {
|
|
147271
|
+
return {
|
|
147272
|
+
content: [{ type: "text", text: result.error.message }],
|
|
147273
|
+
isError: true
|
|
147274
|
+
};
|
|
147275
|
+
}
|
|
147276
|
+
const value = result.value;
|
|
147277
|
+
return formatResult(value, apiCall);
|
|
147278
|
+
}
|
|
147279
|
+
};
|
|
147280
|
+
});
|
|
147281
|
+
|
|
147282
|
+
// src/funcs/sandboxSetPricing.ts
|
|
147283
|
+
function sandboxSetPricing(client, request, options) {
|
|
147284
|
+
return new APIPromise($do350(client, request, options));
|
|
147285
|
+
}
|
|
147286
|
+
async function $do350(client, request, options) {
|
|
147287
|
+
const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
147288
|
+
if (!parsed.ok) {
|
|
147289
|
+
return [parsed, { status: "invalid" }];
|
|
147290
|
+
}
|
|
147291
|
+
const payload = parsed.value;
|
|
147292
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
147293
|
+
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
147294
|
+
const headers = new Headers(compactMap({
|
|
147295
|
+
"Content-Type": "application/json",
|
|
147296
|
+
Accept: "application/json"
|
|
147297
|
+
}));
|
|
147298
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
147299
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
147300
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
147301
|
+
const context = {
|
|
147302
|
+
options: client._options,
|
|
147303
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147304
|
+
operationID: "setSandboxPricing",
|
|
147305
|
+
oAuth2Scopes: null,
|
|
147306
|
+
resolvedSecurity: requestSecurity,
|
|
147307
|
+
securitySource: client._options.bearerAuth,
|
|
147308
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
147309
|
+
strategy: "backoff",
|
|
147310
|
+
backoff: {
|
|
147311
|
+
initialInterval: 500,
|
|
147312
|
+
maxInterval: 5000,
|
|
147313
|
+
exponent: 1.5,
|
|
147314
|
+
maxElapsedTime: 15000
|
|
147315
|
+
},
|
|
147316
|
+
retryConnectionErrors: true
|
|
147317
|
+
},
|
|
147318
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
147319
|
+
};
|
|
147320
|
+
const requestRes = client._createRequest(context, {
|
|
147321
|
+
security: requestSecurity,
|
|
147322
|
+
method: "PUT",
|
|
147323
|
+
baseURL: options?.serverURL,
|
|
147324
|
+
path,
|
|
147325
|
+
headers,
|
|
147326
|
+
body,
|
|
147327
|
+
userAgent: client._options.userAgent,
|
|
147328
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
147329
|
+
}, options);
|
|
147330
|
+
if (!requestRes.ok) {
|
|
147331
|
+
return [requestRes, { status: "invalid" }];
|
|
147332
|
+
}
|
|
147333
|
+
const req = requestRes.value;
|
|
147334
|
+
const doResult = await client._do(req, {
|
|
147335
|
+
context,
|
|
147336
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
147337
|
+
retryConfig: context.retryConfig,
|
|
147338
|
+
retryCodes: context.retryCodes
|
|
147339
|
+
});
|
|
147340
|
+
if (!doResult.ok) {
|
|
147341
|
+
return [doResult, { status: "request-error", request: req }];
|
|
147342
|
+
}
|
|
147343
|
+
const response = doResult.value;
|
|
147344
|
+
const responseFields = {
|
|
147345
|
+
HttpMeta: { Response: response, Request: req }
|
|
147346
|
+
};
|
|
147347
|
+
const [result] = await match(json(200, SandboxPricingCard$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145720
147348
|
if (!result.ok) {
|
|
145721
147349
|
return [result, { status: "complete", request: req, response }];
|
|
145722
147350
|
}
|
|
145723
147351
|
return [result, { status: "complete", request: req, response }];
|
|
145724
147352
|
}
|
|
145725
|
-
var
|
|
147353
|
+
var init_sandboxSetPricing = __esm(() => {
|
|
145726
147354
|
init_encodings();
|
|
145727
147355
|
init_http();
|
|
145728
147356
|
init_matchers();
|
|
@@ -145732,27 +147360,26 @@ var init_sandboxGet = __esm(() => {
|
|
|
145732
147360
|
init_url();
|
|
145733
147361
|
init_components();
|
|
145734
147362
|
init_errors4();
|
|
145735
|
-
init_operations();
|
|
145736
147363
|
init_async();
|
|
145737
147364
|
});
|
|
145738
147365
|
|
|
145739
|
-
// src/mcp-server/tools/
|
|
145740
|
-
var
|
|
145741
|
-
var
|
|
145742
|
-
|
|
145743
|
-
|
|
147366
|
+
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
147367
|
+
var args341, tool$sandboxSetPricing;
|
|
147368
|
+
var init_sandboxSetPricing2 = __esm(() => {
|
|
147369
|
+
init_sandboxSetPricing();
|
|
147370
|
+
init_components();
|
|
145744
147371
|
init_tools();
|
|
145745
|
-
|
|
145746
|
-
request:
|
|
147372
|
+
args341 = {
|
|
147373
|
+
request: SandboxPricingUpdate$inboundSchema
|
|
145747
147374
|
};
|
|
145748
|
-
tool$
|
|
145749
|
-
name: "sandbox-
|
|
145750
|
-
description: `
|
|
147375
|
+
tool$sandboxSetPricing = {
|
|
147376
|
+
name: "sandbox-set-pricing",
|
|
147377
|
+
description: `Set Sandbox Pricing
|
|
145751
147378
|
|
|
145752
|
-
|
|
145753
|
-
args:
|
|
145754
|
-
tool: async (client,
|
|
145755
|
-
const [result, apiCall] = await
|
|
147379
|
+
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.`,
|
|
147380
|
+
args: args341,
|
|
147381
|
+
tool: async (client, args342, ctx) => {
|
|
147382
|
+
const [result, apiCall] = await sandboxSetPricing(client, args342.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145756
147383
|
if (!result.ok) {
|
|
145757
147384
|
return {
|
|
145758
147385
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145765,28 +147392,28 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
145765
147392
|
};
|
|
145766
147393
|
});
|
|
145767
147394
|
|
|
145768
|
-
// src/funcs/
|
|
145769
|
-
function
|
|
145770
|
-
return new APIPromise($
|
|
147395
|
+
// src/funcs/sandboxTerminate.ts
|
|
147396
|
+
function sandboxTerminate(client, request, options) {
|
|
147397
|
+
return new APIPromise($do351(client, request, options));
|
|
145771
147398
|
}
|
|
145772
|
-
async function $
|
|
145773
|
-
const parsed = safeParse4(request, (value) =>
|
|
147399
|
+
async function $do351(client, request, options) {
|
|
147400
|
+
const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
145774
147401
|
if (!parsed.ok) {
|
|
145775
147402
|
return [parsed, { status: "invalid" }];
|
|
145776
147403
|
}
|
|
145777
147404
|
const payload = parsed.value;
|
|
145778
|
-
const body =
|
|
147405
|
+
const body = encodeJSON("body", payload.TerminateSessionRequest, {
|
|
147406
|
+
explode: true
|
|
147407
|
+
});
|
|
145779
147408
|
const pathParams = {
|
|
145780
147409
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145781
147410
|
explode: false,
|
|
145782
147411
|
charEncoding: "percent"
|
|
145783
147412
|
})
|
|
145784
147413
|
};
|
|
145785
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
145786
|
-
const query = encodeFormQuery({
|
|
145787
|
-
session_token: payload.session_token
|
|
145788
|
-
});
|
|
147414
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/terminate")(pathParams);
|
|
145789
147415
|
const headers = new Headers(compactMap({
|
|
147416
|
+
"Content-Type": "application/json",
|
|
145790
147417
|
Accept: "application/json",
|
|
145791
147418
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145792
147419
|
}));
|
|
@@ -145796,7 +147423,7 @@ async function $do343(client, request, options) {
|
|
|
145796
147423
|
const context = {
|
|
145797
147424
|
options: client._options,
|
|
145798
147425
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145799
|
-
operationID: "
|
|
147426
|
+
operationID: "terminateSession",
|
|
145800
147427
|
oAuth2Scopes: null,
|
|
145801
147428
|
resolvedSecurity: requestSecurity,
|
|
145802
147429
|
securitySource: client._options.bearerAuth,
|
|
@@ -145814,11 +147441,10 @@ async function $do343(client, request, options) {
|
|
|
145814
147441
|
};
|
|
145815
147442
|
const requestRes = client._createRequest(context, {
|
|
145816
147443
|
security: requestSecurity,
|
|
145817
|
-
method: "
|
|
147444
|
+
method: "POST",
|
|
145818
147445
|
baseURL: options?.serverURL,
|
|
145819
147446
|
path,
|
|
145820
147447
|
headers,
|
|
145821
|
-
query,
|
|
145822
147448
|
body,
|
|
145823
147449
|
userAgent: client._options.userAgent,
|
|
145824
147450
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -145840,13 +147466,13 @@ async function $do343(client, request, options) {
|
|
|
145840
147466
|
const responseFields = {
|
|
145841
147467
|
HttpMeta: { Response: response, Request: req }
|
|
145842
147468
|
};
|
|
145843
|
-
const [result] = await match(json(200,
|
|
147469
|
+
const [result] = await match(json(200, TerminateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145844
147470
|
if (!result.ok) {
|
|
145845
147471
|
return [result, { status: "complete", request: req, response }];
|
|
145846
147472
|
}
|
|
145847
147473
|
return [result, { status: "complete", request: req, response }];
|
|
145848
147474
|
}
|
|
145849
|
-
var
|
|
147475
|
+
var init_sandboxTerminate = __esm(() => {
|
|
145850
147476
|
init_encodings();
|
|
145851
147477
|
init_http();
|
|
145852
147478
|
init_matchers();
|
|
@@ -145860,23 +147486,23 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
145860
147486
|
init_async();
|
|
145861
147487
|
});
|
|
145862
147488
|
|
|
145863
|
-
// src/mcp-server/tools/
|
|
145864
|
-
var
|
|
145865
|
-
var
|
|
145866
|
-
|
|
147489
|
+
// src/mcp-server/tools/sandboxTerminate.ts
|
|
147490
|
+
var args342, tool$sandboxTerminate;
|
|
147491
|
+
var init_sandboxTerminate2 = __esm(() => {
|
|
147492
|
+
init_sandboxTerminate();
|
|
145867
147493
|
init_operations();
|
|
145868
147494
|
init_tools();
|
|
145869
|
-
|
|
145870
|
-
request:
|
|
147495
|
+
args342 = {
|
|
147496
|
+
request: TerminateSessionRequest$inboundSchema2
|
|
145871
147497
|
};
|
|
145872
|
-
tool$
|
|
145873
|
-
name: "sandbox-
|
|
145874
|
-
description: `
|
|
147498
|
+
tool$sandboxTerminate = {
|
|
147499
|
+
name: "sandbox-terminate",
|
|
147500
|
+
description: `Terminate Session
|
|
145875
147501
|
|
|
145876
|
-
|
|
145877
|
-
args:
|
|
145878
|
-
tool: async (client,
|
|
145879
|
-
const [result, apiCall] = await
|
|
147502
|
+
Stop a sandbox session and release the backing sandbox resources.`,
|
|
147503
|
+
args: args342,
|
|
147504
|
+
tool: async (client, args343, ctx) => {
|
|
147505
|
+
const [result, apiCall] = await sandboxTerminate(client, args343.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145880
147506
|
if (!result.ok) {
|
|
145881
147507
|
return {
|
|
145882
147508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145889,14 +147515,31 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
145889
147515
|
};
|
|
145890
147516
|
});
|
|
145891
147517
|
|
|
145892
|
-
// src/funcs/
|
|
145893
|
-
function
|
|
145894
|
-
return new APIPromise($
|
|
147518
|
+
// src/funcs/sandboxUploadArchive.ts
|
|
147519
|
+
function sandboxUploadArchive(client, request, options) {
|
|
147520
|
+
return new APIPromise($do352(client, request, options));
|
|
145895
147521
|
}
|
|
145896
|
-
async function $
|
|
145897
|
-
const
|
|
147522
|
+
async function $do352(client, request, options) {
|
|
147523
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147524
|
+
if (!parsed.ok) {
|
|
147525
|
+
return [parsed, { status: "invalid" }];
|
|
147526
|
+
}
|
|
147527
|
+
const payload = parsed.value;
|
|
147528
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
147529
|
+
const pathParams = {
|
|
147530
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147531
|
+
explode: false,
|
|
147532
|
+
charEncoding: "percent"
|
|
147533
|
+
})
|
|
147534
|
+
};
|
|
147535
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
147536
|
+
const query = encodeFormQuery({
|
|
147537
|
+
session_token: payload.session_token
|
|
147538
|
+
});
|
|
145898
147539
|
const headers = new Headers(compactMap({
|
|
145899
|
-
|
|
147540
|
+
"Content-Type": "application/zip",
|
|
147541
|
+
Accept: "application/json",
|
|
147542
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
145900
147543
|
}));
|
|
145901
147544
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
145902
147545
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -145904,7 +147547,7 @@ async function $do344(client, options) {
|
|
|
145904
147547
|
const context = {
|
|
145905
147548
|
options: client._options,
|
|
145906
147549
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
145907
|
-
operationID: "
|
|
147550
|
+
operationID: "uploadWorkspaceArchive",
|
|
145908
147551
|
oAuth2Scopes: null,
|
|
145909
147552
|
resolvedSecurity: requestSecurity,
|
|
145910
147553
|
securitySource: client._options.bearerAuth,
|
|
@@ -145922,10 +147565,12 @@ async function $do344(client, options) {
|
|
|
145922
147565
|
};
|
|
145923
147566
|
const requestRes = client._createRequest(context, {
|
|
145924
147567
|
security: requestSecurity,
|
|
145925
|
-
method: "
|
|
147568
|
+
method: "PUT",
|
|
145926
147569
|
baseURL: options?.serverURL,
|
|
145927
147570
|
path,
|
|
145928
147571
|
headers,
|
|
147572
|
+
query,
|
|
147573
|
+
body,
|
|
145929
147574
|
userAgent: client._options.userAgent,
|
|
145930
147575
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
145931
147576
|
}, options);
|
|
@@ -145943,34 +147588,46 @@ async function $do344(client, options) {
|
|
|
145943
147588
|
return [doResult, { status: "request-error", request: req }];
|
|
145944
147589
|
}
|
|
145945
147590
|
const response = doResult.value;
|
|
145946
|
-
const
|
|
147591
|
+
const responseFields = {
|
|
147592
|
+
HttpMeta: { Response: response, Request: req }
|
|
147593
|
+
};
|
|
147594
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
145947
147595
|
if (!result.ok) {
|
|
145948
147596
|
return [result, { status: "complete", request: req, response }];
|
|
145949
147597
|
}
|
|
145950
147598
|
return [result, { status: "complete", request: req, response }];
|
|
145951
147599
|
}
|
|
145952
|
-
var
|
|
147600
|
+
var init_sandboxUploadArchive = __esm(() => {
|
|
147601
|
+
init_esm();
|
|
147602
|
+
init_encodings();
|
|
145953
147603
|
init_http();
|
|
145954
147604
|
init_matchers();
|
|
145955
147605
|
init_primitives();
|
|
147606
|
+
init_schemas4();
|
|
145956
147607
|
init_security();
|
|
145957
147608
|
init_url();
|
|
145958
|
-
|
|
147609
|
+
init_errors4();
|
|
147610
|
+
init_operations();
|
|
145959
147611
|
init_async();
|
|
145960
147612
|
});
|
|
145961
147613
|
|
|
145962
|
-
// src/mcp-server/tools/
|
|
145963
|
-
var tool$
|
|
145964
|
-
var
|
|
145965
|
-
|
|
147614
|
+
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
147615
|
+
var args343, tool$sandboxUploadArchive;
|
|
147616
|
+
var init_sandboxUploadArchive2 = __esm(() => {
|
|
147617
|
+
init_sandboxUploadArchive();
|
|
147618
|
+
init_operations();
|
|
145966
147619
|
init_tools();
|
|
145967
|
-
|
|
145968
|
-
|
|
145969
|
-
|
|
147620
|
+
args343 = {
|
|
147621
|
+
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
147622
|
+
};
|
|
147623
|
+
tool$sandboxUploadArchive = {
|
|
147624
|
+
name: "sandbox-upload-archive",
|
|
147625
|
+
description: `Upload Workspace Archive
|
|
145970
147626
|
|
|
145971
|
-
|
|
145972
|
-
|
|
145973
|
-
|
|
147627
|
+
Upload a zip archive and extract its files into the session workspace.`,
|
|
147628
|
+
args: args343,
|
|
147629
|
+
tool: async (client, args344, ctx) => {
|
|
147630
|
+
const [result, apiCall] = await sandboxUploadArchive(client, args344.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
145974
147631
|
if (!result.ok) {
|
|
145975
147632
|
return {
|
|
145976
147633
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -145983,28 +147640,33 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
145983
147640
|
};
|
|
145984
147641
|
});
|
|
145985
147642
|
|
|
145986
|
-
// src/funcs/
|
|
145987
|
-
function
|
|
145988
|
-
return new APIPromise($
|
|
147643
|
+
// src/funcs/sandboxUploadFile.ts
|
|
147644
|
+
function sandboxUploadFile(client, request, options) {
|
|
147645
|
+
return new APIPromise($do353(client, request, options));
|
|
145989
147646
|
}
|
|
145990
|
-
async function $
|
|
145991
|
-
const parsed = safeParse4(request, (value) =>
|
|
147647
|
+
async function $do353(client, request, options) {
|
|
147648
|
+
const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
145992
147649
|
if (!parsed.ok) {
|
|
145993
147650
|
return [parsed, { status: "invalid" }];
|
|
145994
147651
|
}
|
|
145995
147652
|
const payload = parsed.value;
|
|
145996
|
-
const body =
|
|
147653
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
145997
147654
|
const pathParams = {
|
|
147655
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
147656
|
+
explode: false,
|
|
147657
|
+
charEncoding: "percent"
|
|
147658
|
+
}),
|
|
145998
147659
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
145999
147660
|
explode: false,
|
|
146000
147661
|
charEncoding: "percent"
|
|
146001
147662
|
})
|
|
146002
147663
|
};
|
|
146003
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace")(pathParams);
|
|
147664
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
146004
147665
|
const query = encodeFormQuery({
|
|
146005
147666
|
session_token: payload.session_token
|
|
146006
147667
|
});
|
|
146007
147668
|
const headers = new Headers(compactMap({
|
|
147669
|
+
"Content-Type": "application/octet-stream",
|
|
146008
147670
|
Accept: "application/json",
|
|
146009
147671
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146010
147672
|
}));
|
|
@@ -146014,7 +147676,7 @@ async function $do345(client, request, options) {
|
|
|
146014
147676
|
const context = {
|
|
146015
147677
|
options: client._options,
|
|
146016
147678
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146017
|
-
operationID: "
|
|
147679
|
+
operationID: "uploadWorkspaceFile",
|
|
146018
147680
|
oAuth2Scopes: null,
|
|
146019
147681
|
resolvedSecurity: requestSecurity,
|
|
146020
147682
|
securitySource: client._options.bearerAuth,
|
|
@@ -146032,7 +147694,7 @@ async function $do345(client, request, options) {
|
|
|
146032
147694
|
};
|
|
146033
147695
|
const requestRes = client._createRequest(context, {
|
|
146034
147696
|
security: requestSecurity,
|
|
146035
|
-
method: "
|
|
147697
|
+
method: "PUT",
|
|
146036
147698
|
baseURL: options?.serverURL,
|
|
146037
147699
|
path,
|
|
146038
147700
|
headers,
|
|
@@ -146058,13 +147720,14 @@ async function $do345(client, request, options) {
|
|
|
146058
147720
|
const responseFields = {
|
|
146059
147721
|
HttpMeta: { Response: response, Request: req }
|
|
146060
147722
|
};
|
|
146061
|
-
const [result] = await match(json(200,
|
|
147723
|
+
const [result] = await match(json(200, recordType(stringType())), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146062
147724
|
if (!result.ok) {
|
|
146063
147725
|
return [result, { status: "complete", request: req, response }];
|
|
146064
147726
|
}
|
|
146065
147727
|
return [result, { status: "complete", request: req, response }];
|
|
146066
147728
|
}
|
|
146067
|
-
var
|
|
147729
|
+
var init_sandboxUploadFile = __esm(() => {
|
|
147730
|
+
init_esm();
|
|
146068
147731
|
init_encodings();
|
|
146069
147732
|
init_http();
|
|
146070
147733
|
init_matchers();
|
|
@@ -146072,29 +147735,28 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
146072
147735
|
init_schemas4();
|
|
146073
147736
|
init_security();
|
|
146074
147737
|
init_url();
|
|
146075
|
-
init_components();
|
|
146076
147738
|
init_errors4();
|
|
146077
147739
|
init_operations();
|
|
146078
147740
|
init_async();
|
|
146079
147741
|
});
|
|
146080
147742
|
|
|
146081
|
-
// src/mcp-server/tools/
|
|
146082
|
-
var
|
|
146083
|
-
var
|
|
146084
|
-
|
|
147743
|
+
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
147744
|
+
var args344, tool$sandboxUploadFile;
|
|
147745
|
+
var init_sandboxUploadFile2 = __esm(() => {
|
|
147746
|
+
init_sandboxUploadFile();
|
|
146085
147747
|
init_operations();
|
|
146086
147748
|
init_tools();
|
|
146087
|
-
|
|
146088
|
-
request:
|
|
147749
|
+
args344 = {
|
|
147750
|
+
request: UploadWorkspaceFileRequest$inboundSchema
|
|
146089
147751
|
};
|
|
146090
|
-
tool$
|
|
146091
|
-
name: "sandbox-
|
|
146092
|
-
description: `
|
|
147752
|
+
tool$sandboxUploadFile = {
|
|
147753
|
+
name: "sandbox-upload-file",
|
|
147754
|
+
description: `Upload Workspace File
|
|
146093
147755
|
|
|
146094
|
-
|
|
146095
|
-
args:
|
|
146096
|
-
tool: async (client,
|
|
146097
|
-
const [result, apiCall] = await
|
|
147756
|
+
Upload raw bytes into the session workspace at the given path.`,
|
|
147757
|
+
args: args344,
|
|
147758
|
+
tool: async (client, args345, ctx) => {
|
|
147759
|
+
const [result, apiCall] = await sandboxUploadFile(client, args345.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146098
147760
|
if (!result.ok) {
|
|
146099
147761
|
return {
|
|
146100
147762
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146107,19 +147769,20 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
146107
147769
|
};
|
|
146108
147770
|
});
|
|
146109
147771
|
|
|
146110
|
-
// src/funcs/
|
|
146111
|
-
function
|
|
146112
|
-
return new APIPromise($
|
|
147772
|
+
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147773
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
147774
|
+
return new APIPromise($do354(client, request, options));
|
|
146113
147775
|
}
|
|
146114
|
-
async function $
|
|
146115
|
-
const parsed = safeParse4(request, (value) =>
|
|
147776
|
+
async function $do354(client, request, options) {
|
|
147777
|
+
const parsed = safeParse4(request, (value) => ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146116
147778
|
if (!parsed.ok) {
|
|
146117
147779
|
return [parsed, { status: "invalid" }];
|
|
146118
147780
|
}
|
|
146119
147781
|
const payload = parsed.value;
|
|
146120
|
-
const body =
|
|
146121
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
147782
|
+
const body = encodeJSON("body", payload.ConnectRequest, { explode: true });
|
|
147783
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146122
147784
|
const headers = new Headers(compactMap({
|
|
147785
|
+
"Content-Type": "application/json",
|
|
146123
147786
|
Accept: "application/json",
|
|
146124
147787
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146125
147788
|
}));
|
|
@@ -146129,7 +147792,7 @@ async function $do346(client, request, options) {
|
|
|
146129
147792
|
const context = {
|
|
146130
147793
|
options: client._options,
|
|
146131
147794
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146132
|
-
operationID: "
|
|
147795
|
+
operationID: "connect_api_v1_sandbox_github_oauth_connections_post",
|
|
146133
147796
|
oAuth2Scopes: null,
|
|
146134
147797
|
resolvedSecurity: requestSecurity,
|
|
146135
147798
|
securitySource: client._options.bearerAuth,
|
|
@@ -146147,7 +147810,7 @@ async function $do346(client, request, options) {
|
|
|
146147
147810
|
};
|
|
146148
147811
|
const requestRes = client._createRequest(context, {
|
|
146149
147812
|
security: requestSecurity,
|
|
146150
|
-
method: "
|
|
147813
|
+
method: "POST",
|
|
146151
147814
|
baseURL: options?.serverURL,
|
|
146152
147815
|
path,
|
|
146153
147816
|
headers,
|
|
@@ -146172,14 +147835,13 @@ async function $do346(client, request, options) {
|
|
|
146172
147835
|
const responseFields = {
|
|
146173
147836
|
HttpMeta: { Response: response, Request: req }
|
|
146174
147837
|
};
|
|
146175
|
-
const [result] = await match(json(
|
|
147838
|
+
const [result] = await match(json(201, Connection$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146176
147839
|
if (!result.ok) {
|
|
146177
147840
|
return [result, { status: "complete", request: req, response }];
|
|
146178
147841
|
}
|
|
146179
147842
|
return [result, { status: "complete", request: req, response }];
|
|
146180
147843
|
}
|
|
146181
|
-
var
|
|
146182
|
-
init_esm();
|
|
147844
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() => {
|
|
146183
147845
|
init_encodings();
|
|
146184
147846
|
init_http();
|
|
146185
147847
|
init_matchers();
|
|
@@ -146193,23 +147855,21 @@ var init_sandboxList = __esm(() => {
|
|
|
146193
147855
|
init_async();
|
|
146194
147856
|
});
|
|
146195
147857
|
|
|
146196
|
-
// src/mcp-server/tools/
|
|
146197
|
-
var
|
|
146198
|
-
var
|
|
146199
|
-
|
|
147858
|
+
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
147859
|
+
var args345, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
147860
|
+
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
147861
|
+
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
146200
147862
|
init_operations();
|
|
146201
147863
|
init_tools();
|
|
146202
|
-
|
|
146203
|
-
request:
|
|
147864
|
+
args345 = {
|
|
147865
|
+
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
146204
147866
|
};
|
|
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();
|
|
147867
|
+
tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = {
|
|
147868
|
+
name: "schema-3-other-connect-api-v1-sandbox-github-oauth-connections-post",
|
|
147869
|
+
description: `Connect`,
|
|
147870
|
+
args: args345,
|
|
147871
|
+
tool: async (client, args346, ctx) => {
|
|
147872
|
+
const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args346.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146213
147873
|
if (!result.ok) {
|
|
146214
147874
|
return {
|
|
146215
147875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146222,36 +147882,22 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
146222
147882
|
};
|
|
146223
147883
|
});
|
|
146224
147884
|
|
|
146225
|
-
// src/funcs/
|
|
146226
|
-
function
|
|
146227
|
-
return new APIPromise($
|
|
147885
|
+
// src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147886
|
+
function schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, request, options) {
|
|
147887
|
+
return new APIPromise($do355(client, request, options));
|
|
146228
147888
|
}
|
|
146229
|
-
async function $
|
|
146230
|
-
const parsed = safeParse4(request, (value) =>
|
|
147889
|
+
async function $do355(client, request, options) {
|
|
147890
|
+
const parsed = safeParse4(request, (value) => CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146231
147891
|
if (!parsed.ok) {
|
|
146232
147892
|
return [parsed, { status: "invalid" }];
|
|
146233
147893
|
}
|
|
146234
147894
|
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
|
|
147895
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
147896
|
+
explode: true
|
|
146253
147897
|
});
|
|
147898
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
146254
147899
|
const headers = new Headers(compactMap({
|
|
147900
|
+
"Content-Type": "application/json",
|
|
146255
147901
|
Accept: "application/json",
|
|
146256
147902
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146257
147903
|
}));
|
|
@@ -146261,7 +147907,7 @@ async function $do347(client, request, options) {
|
|
|
146261
147907
|
const context = {
|
|
146262
147908
|
options: client._options,
|
|
146263
147909
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146264
|
-
operationID: "
|
|
147910
|
+
operationID: "create_environment_api_v1_sandbox_environments_post",
|
|
146265
147911
|
oAuth2Scopes: null,
|
|
146266
147912
|
resolvedSecurity: requestSecurity,
|
|
146267
147913
|
securitySource: client._options.bearerAuth,
|
|
@@ -146279,11 +147925,10 @@ async function $do347(client, request, options) {
|
|
|
146279
147925
|
};
|
|
146280
147926
|
const requestRes = client._createRequest(context, {
|
|
146281
147927
|
security: requestSecurity,
|
|
146282
|
-
method: "
|
|
147928
|
+
method: "POST",
|
|
146283
147929
|
baseURL: options?.serverURL,
|
|
146284
147930
|
path,
|
|
146285
147931
|
headers,
|
|
146286
|
-
query,
|
|
146287
147932
|
body,
|
|
146288
147933
|
userAgent: client._options.userAgent,
|
|
146289
147934
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146305,14 +147950,13 @@ async function $do347(client, request, options) {
|
|
|
146305
147950
|
const responseFields = {
|
|
146306
147951
|
HttpMeta: { Response: response, Request: req }
|
|
146307
147952
|
};
|
|
146308
|
-
const [result] = await match(json(
|
|
147953
|
+
const [result] = await match(json(201, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146309
147954
|
if (!result.ok) {
|
|
146310
147955
|
return [result, { status: "complete", request: req, response }];
|
|
146311
147956
|
}
|
|
146312
147957
|
return [result, { status: "complete", request: req, response }];
|
|
146313
147958
|
}
|
|
146314
|
-
var
|
|
146315
|
-
init_esm();
|
|
147959
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = __esm(() => {
|
|
146316
147960
|
init_encodings();
|
|
146317
147961
|
init_http();
|
|
146318
147962
|
init_matchers();
|
|
@@ -146320,28 +147964,27 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
146320
147964
|
init_schemas4();
|
|
146321
147965
|
init_security();
|
|
146322
147966
|
init_url();
|
|
147967
|
+
init_components();
|
|
146323
147968
|
init_errors4();
|
|
146324
147969
|
init_operations();
|
|
146325
147970
|
init_async();
|
|
146326
147971
|
});
|
|
146327
147972
|
|
|
146328
|
-
// src/mcp-server/tools/
|
|
146329
|
-
var
|
|
146330
|
-
var
|
|
146331
|
-
|
|
147973
|
+
// src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
147974
|
+
var args346, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
|
|
147975
|
+
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() => {
|
|
147976
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost();
|
|
146332
147977
|
init_operations();
|
|
146333
147978
|
init_tools();
|
|
146334
|
-
|
|
146335
|
-
request:
|
|
147979
|
+
args346 = {
|
|
147980
|
+
request: CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema
|
|
146336
147981
|
};
|
|
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();
|
|
147982
|
+
tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = {
|
|
147983
|
+
name: "schema-3-other-create-environment-api-v1-sandbox-environments-post",
|
|
147984
|
+
description: `Create Environment`,
|
|
147985
|
+
args: args346,
|
|
147986
|
+
tool: async (client, args347, ctx) => {
|
|
147987
|
+
const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, args347.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146345
147988
|
if (!result.ok) {
|
|
146346
147989
|
return {
|
|
146347
147990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146354,26 +147997,19 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
146354
147997
|
};
|
|
146355
147998
|
});
|
|
146356
147999
|
|
|
146357
|
-
// src/funcs/
|
|
146358
|
-
function
|
|
146359
|
-
return new APIPromise($
|
|
148000
|
+
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
148001
|
+
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
148002
|
+
return new APIPromise($do356(client, request, options));
|
|
146360
148003
|
}
|
|
146361
|
-
async function $
|
|
146362
|
-
const parsed = safeParse4(request, (value) =>
|
|
148004
|
+
async function $do356(client, request, options) {
|
|
148005
|
+
const parsed = safeParse4(request, (value) => CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146363
148006
|
if (!parsed.ok) {
|
|
146364
148007
|
return [parsed, { status: "invalid" }];
|
|
146365
148008
|
}
|
|
146366
148009
|
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);
|
|
148010
|
+
const body = null;
|
|
148011
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/intents")();
|
|
146375
148012
|
const headers = new Headers(compactMap({
|
|
146376
|
-
"Content-Type": "application/json",
|
|
146377
148013
|
Accept: "application/json",
|
|
146378
148014
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146379
148015
|
}));
|
|
@@ -146383,7 +148019,7 @@ async function $do348(client, request, options) {
|
|
|
146383
148019
|
const context = {
|
|
146384
148020
|
options: client._options,
|
|
146385
148021
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146386
|
-
operationID: "
|
|
148022
|
+
operationID: "create_intent_api_v1_sandbox_github_oauth_intents_post",
|
|
146387
148023
|
oAuth2Scopes: null,
|
|
146388
148024
|
resolvedSecurity: requestSecurity,
|
|
146389
148025
|
securitySource: client._options.bearerAuth,
|
|
@@ -146423,16 +148059,13 @@ async function $do348(client, request, options) {
|
|
|
146423
148059
|
return [doResult, { status: "request-error", request: req }];
|
|
146424
148060
|
}
|
|
146425
148061
|
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 });
|
|
148062
|
+
const [result] = await match(json(201, AuthorizeIntent$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
146430
148063
|
if (!result.ok) {
|
|
146431
148064
|
return [result, { status: "complete", request: req, response }];
|
|
146432
148065
|
}
|
|
146433
148066
|
return [result, { status: "complete", request: req, response }];
|
|
146434
148067
|
}
|
|
146435
|
-
var
|
|
148068
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() => {
|
|
146436
148069
|
init_encodings();
|
|
146437
148070
|
init_http();
|
|
146438
148071
|
init_matchers();
|
|
@@ -146441,28 +148074,25 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
146441
148074
|
init_security();
|
|
146442
148075
|
init_url();
|
|
146443
148076
|
init_components();
|
|
146444
|
-
init_errors4();
|
|
146445
148077
|
init_operations();
|
|
146446
148078
|
init_async();
|
|
146447
148079
|
});
|
|
146448
148080
|
|
|
146449
|
-
// src/mcp-server/tools/
|
|
146450
|
-
var
|
|
146451
|
-
var
|
|
146452
|
-
|
|
148081
|
+
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
148082
|
+
var args347, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
148083
|
+
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
148084
|
+
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
146453
148085
|
init_operations();
|
|
146454
148086
|
init_tools();
|
|
146455
|
-
|
|
146456
|
-
request:
|
|
148087
|
+
args347 = {
|
|
148088
|
+
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
146457
148089
|
};
|
|
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();
|
|
148090
|
+
tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = {
|
|
148091
|
+
name: "schema-3-other-create-intent-api-v1-sandbox-github-oauth-intents-post",
|
|
148092
|
+
description: `Create Intent`,
|
|
148093
|
+
args: args347,
|
|
148094
|
+
tool: async (client, args348, ctx) => {
|
|
148095
|
+
const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args348.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146466
148096
|
if (!result.ok) {
|
|
146467
148097
|
return {
|
|
146468
148098
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146475,24 +148105,26 @@ Execute source code in the session workspace using a supported runtime and retur
|
|
|
146475
148105
|
};
|
|
146476
148106
|
});
|
|
146477
148107
|
|
|
146478
|
-
// src/funcs/
|
|
146479
|
-
function
|
|
146480
|
-
return new APIPromise($
|
|
148108
|
+
// src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148109
|
+
function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
|
|
148110
|
+
return new APIPromise($do357(client, request, options));
|
|
146481
148111
|
}
|
|
146482
|
-
async function $
|
|
146483
|
-
const parsed = safeParse4(request, (value) =>
|
|
148112
|
+
async function $do357(client, request, options) {
|
|
148113
|
+
const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146484
148114
|
if (!parsed.ok) {
|
|
146485
148115
|
return [parsed, { status: "invalid" }];
|
|
146486
148116
|
}
|
|
146487
148117
|
const payload = parsed.value;
|
|
146488
|
-
const body = encodeJSON("body", payload.
|
|
148118
|
+
const body = encodeJSON("body", payload.GitHubPullRequestRequest, {
|
|
148119
|
+
explode: true
|
|
148120
|
+
});
|
|
146489
148121
|
const pathParams = {
|
|
146490
148122
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146491
148123
|
explode: false,
|
|
146492
148124
|
charEncoding: "percent"
|
|
146493
148125
|
})
|
|
146494
148126
|
};
|
|
146495
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
148127
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/pull-request")(pathParams);
|
|
146496
148128
|
const headers = new Headers(compactMap({
|
|
146497
148129
|
"Content-Type": "application/json",
|
|
146498
148130
|
Accept: "application/json",
|
|
@@ -146504,7 +148136,7 @@ async function $do349(client, request, options) {
|
|
|
146504
148136
|
const context = {
|
|
146505
148137
|
options: client._options,
|
|
146506
148138
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146507
|
-
operationID: "
|
|
148139
|
+
operationID: "create_or_update_api_v1_sandbox_sessions__session_id__github_pull_request_post",
|
|
146508
148140
|
oAuth2Scopes: null,
|
|
146509
148141
|
resolvedSecurity: requestSecurity,
|
|
146510
148142
|
securitySource: client._options.bearerAuth,
|
|
@@ -146547,13 +148179,13 @@ async function $do349(client, request, options) {
|
|
|
146547
148179
|
const responseFields = {
|
|
146548
148180
|
HttpMeta: { Response: response, Request: req }
|
|
146549
148181
|
};
|
|
146550
|
-
const [result] = await match(json(200,
|
|
148182
|
+
const [result] = await match(json(200, GitHubPullRequestResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146551
148183
|
if (!result.ok) {
|
|
146552
148184
|
return [result, { status: "complete", request: req, response }];
|
|
146553
148185
|
}
|
|
146554
148186
|
return [result, { status: "complete", request: req, response }];
|
|
146555
148187
|
}
|
|
146556
|
-
var
|
|
148188
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = __esm(() => {
|
|
146557
148189
|
init_encodings();
|
|
146558
148190
|
init_http();
|
|
146559
148191
|
init_matchers();
|
|
@@ -146567,23 +148199,21 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
146567
148199
|
init_async();
|
|
146568
148200
|
});
|
|
146569
148201
|
|
|
146570
|
-
// src/mcp-server/tools/
|
|
146571
|
-
var
|
|
146572
|
-
var
|
|
146573
|
-
|
|
148202
|
+
// src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
148203
|
+
var args348, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
|
|
148204
|
+
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
|
|
148205
|
+
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
|
|
146574
148206
|
init_operations();
|
|
146575
148207
|
init_tools();
|
|
146576
|
-
|
|
146577
|
-
request:
|
|
148208
|
+
args348 = {
|
|
148209
|
+
request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
|
|
146578
148210
|
};
|
|
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();
|
|
148211
|
+
tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
|
|
148212
|
+
name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
|
|
148213
|
+
description: `Create Or Update`,
|
|
148214
|
+
args: args348,
|
|
148215
|
+
tool: async (client, args349, ctx) => {
|
|
148216
|
+
const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args349.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146587
148217
|
if (!result.ok) {
|
|
146588
148218
|
return {
|
|
146589
148219
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -146596,21 +148226,27 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
146596
148226
|
};
|
|
146597
148227
|
});
|
|
146598
148228
|
|
|
146599
|
-
// src/funcs/
|
|
146600
|
-
function
|
|
146601
|
-
return new APIPromise($
|
|
148229
|
+
// src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148230
|
+
function schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, request, options) {
|
|
148231
|
+
return new APIPromise($do358(client, request, options));
|
|
146602
148232
|
}
|
|
146603
|
-
async function $
|
|
146604
|
-
const parsed = safeParse4(request, (value) =>
|
|
148233
|
+
async function $do358(client, request, options) {
|
|
148234
|
+
const parsed = safeParse4(request, (value) => DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146605
148235
|
if (!parsed.ok) {
|
|
146606
148236
|
return [parsed, { status: "invalid" }];
|
|
146607
148237
|
}
|
|
146608
148238
|
const payload = parsed.value;
|
|
146609
|
-
const body =
|
|
146610
|
-
const
|
|
148239
|
+
const body = null;
|
|
148240
|
+
const pathParams = {
|
|
148241
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
148242
|
+
explode: false,
|
|
148243
|
+
charEncoding: "percent"
|
|
148244
|
+
})
|
|
148245
|
+
};
|
|
148246
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
146611
148247
|
const headers = new Headers(compactMap({
|
|
146612
|
-
|
|
146613
|
-
|
|
148248
|
+
Accept: "application/json",
|
|
148249
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146614
148250
|
}));
|
|
146615
148251
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
146616
148252
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -146618,7 +148254,7 @@ async function $do350(client, request, options) {
|
|
|
146618
148254
|
const context = {
|
|
146619
148255
|
options: client._options,
|
|
146620
148256
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146621
|
-
operationID: "
|
|
148257
|
+
operationID: "delete_environment_api_v1_sandbox_environments__environment_id__delete",
|
|
146622
148258
|
oAuth2Scopes: null,
|
|
146623
148259
|
resolvedSecurity: requestSecurity,
|
|
146624
148260
|
securitySource: client._options.bearerAuth,
|
|
@@ -146636,7 +148272,7 @@ async function $do350(client, request, options) {
|
|
|
146636
148272
|
};
|
|
146637
148273
|
const requestRes = client._createRequest(context, {
|
|
146638
148274
|
security: requestSecurity,
|
|
146639
|
-
method: "
|
|
148275
|
+
method: "DELETE",
|
|
146640
148276
|
baseURL: options?.serverURL,
|
|
146641
148277
|
path,
|
|
146642
148278
|
headers,
|
|
@@ -146661,13 +148297,14 @@ async function $do350(client, request, options) {
|
|
|
146661
148297
|
const responseFields = {
|
|
146662
148298
|
HttpMeta: { Response: response, Request: req }
|
|
146663
148299
|
};
|
|
146664
|
-
const [result] = await match(
|
|
148300
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146665
148301
|
if (!result.ok) {
|
|
146666
148302
|
return [result, { status: "complete", request: req, response }];
|
|
146667
148303
|
}
|
|
146668
148304
|
return [result, { status: "complete", request: req, response }];
|
|
146669
148305
|
}
|
|
146670
|
-
var
|
|
148306
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = __esm(() => {
|
|
148307
|
+
init_esm();
|
|
146671
148308
|
init_encodings();
|
|
146672
148309
|
init_http();
|
|
146673
148310
|
init_matchers();
|
|
@@ -146675,63 +148312,51 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
146675
148312
|
init_schemas4();
|
|
146676
148313
|
init_security();
|
|
146677
148314
|
init_url();
|
|
146678
|
-
init_components();
|
|
146679
148315
|
init_errors4();
|
|
148316
|
+
init_operations();
|
|
146680
148317
|
init_async();
|
|
146681
148318
|
});
|
|
146682
148319
|
|
|
146683
|
-
// src/mcp-server/tools/
|
|
146684
|
-
var
|
|
146685
|
-
var
|
|
146686
|
-
|
|
146687
|
-
|
|
148320
|
+
// src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
148321
|
+
var args349, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
|
|
148322
|
+
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2 = __esm(() => {
|
|
148323
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete();
|
|
148324
|
+
init_operations();
|
|
146688
148325
|
init_tools();
|
|
146689
|
-
|
|
146690
|
-
request:
|
|
148326
|
+
args349 = {
|
|
148327
|
+
request: DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema
|
|
146691
148328
|
};
|
|
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();
|
|
148329
|
+
tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = {
|
|
148330
|
+
name: "schema-3-other-delete-environment-api-v1-sandbox-environments-environment-id-delete",
|
|
148331
|
+
description: `Delete Environment`,
|
|
148332
|
+
args: args349,
|
|
148333
|
+
tool: async (client, args350, ctx) => {
|
|
148334
|
+
const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, args350.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146700
148335
|
if (!result.ok) {
|
|
146701
148336
|
return {
|
|
146702
148337
|
content: [{ type: "text", text: result.error.message }],
|
|
146703
148338
|
isError: true
|
|
146704
148339
|
};
|
|
146705
148340
|
}
|
|
146706
|
-
|
|
146707
|
-
return formatResult(value, apiCall);
|
|
148341
|
+
return formatResult(undefined, apiCall);
|
|
146708
148342
|
}
|
|
146709
148343
|
};
|
|
146710
148344
|
});
|
|
146711
148345
|
|
|
146712
|
-
// src/funcs/
|
|
146713
|
-
function
|
|
146714
|
-
return new APIPromise($
|
|
148346
|
+
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148347
|
+
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
148348
|
+
return new APIPromise($do359(client, request, options));
|
|
146715
148349
|
}
|
|
146716
|
-
async function $
|
|
146717
|
-
const parsed = safeParse4(request, (value) =>
|
|
148350
|
+
async function $do359(client, request, options) {
|
|
148351
|
+
const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146718
148352
|
if (!parsed.ok) {
|
|
146719
148353
|
return [parsed, { status: "invalid" }];
|
|
146720
148354
|
}
|
|
146721
148355
|
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);
|
|
148356
|
+
const body = null;
|
|
148357
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146732
148358
|
const headers = new Headers(compactMap({
|
|
146733
|
-
|
|
146734
|
-
Accept: "application/json",
|
|
148359
|
+
Accept: "*/*",
|
|
146735
148360
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146736
148361
|
}));
|
|
146737
148362
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -146740,7 +148365,7 @@ async function $do351(client, request, options) {
|
|
|
146740
148365
|
const context = {
|
|
146741
148366
|
options: client._options,
|
|
146742
148367
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146743
|
-
operationID: "
|
|
148368
|
+
operationID: "disconnect_api_v1_sandbox_github_oauth_connections_delete",
|
|
146744
148369
|
oAuth2Scopes: null,
|
|
146745
148370
|
resolvedSecurity: requestSecurity,
|
|
146746
148371
|
securitySource: client._options.bearerAuth,
|
|
@@ -146758,7 +148383,7 @@ async function $do351(client, request, options) {
|
|
|
146758
148383
|
};
|
|
146759
148384
|
const requestRes = client._createRequest(context, {
|
|
146760
148385
|
security: requestSecurity,
|
|
146761
|
-
method: "
|
|
148386
|
+
method: "DELETE",
|
|
146762
148387
|
baseURL: options?.serverURL,
|
|
146763
148388
|
path,
|
|
146764
148389
|
headers,
|
|
@@ -146780,16 +148405,14 @@ async function $do351(client, request, options) {
|
|
|
146780
148405
|
return [doResult, { status: "request-error", request: req }];
|
|
146781
148406
|
}
|
|
146782
148407
|
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 });
|
|
148408
|
+
const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
|
|
146787
148409
|
if (!result.ok) {
|
|
146788
148410
|
return [result, { status: "complete", request: req, response }];
|
|
146789
148411
|
}
|
|
146790
148412
|
return [result, { status: "complete", request: req, response }];
|
|
146791
148413
|
}
|
|
146792
|
-
var
|
|
148414
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(() => {
|
|
148415
|
+
init_esm();
|
|
146793
148416
|
init_encodings();
|
|
146794
148417
|
init_http();
|
|
146795
148418
|
init_matchers();
|
|
@@ -146797,64 +148420,62 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
146797
148420
|
init_schemas4();
|
|
146798
148421
|
init_security();
|
|
146799
148422
|
init_url();
|
|
146800
|
-
init_components();
|
|
146801
|
-
init_errors4();
|
|
146802
148423
|
init_operations();
|
|
146803
148424
|
init_async();
|
|
146804
148425
|
});
|
|
146805
148426
|
|
|
146806
|
-
// src/mcp-server/tools/
|
|
146807
|
-
var
|
|
146808
|
-
var
|
|
146809
|
-
|
|
148427
|
+
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
148428
|
+
var args350, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
148429
|
+
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
148430
|
+
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
146810
148431
|
init_operations();
|
|
146811
148432
|
init_tools();
|
|
146812
|
-
|
|
146813
|
-
request:
|
|
148433
|
+
args350 = {
|
|
148434
|
+
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
146814
148435
|
};
|
|
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();
|
|
148436
|
+
tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
|
|
148437
|
+
name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
|
|
148438
|
+
description: `Disconnect`,
|
|
148439
|
+
args: args350,
|
|
148440
|
+
tool: async (client, args351, ctx) => {
|
|
148441
|
+
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args351.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146823
148442
|
if (!result.ok) {
|
|
146824
148443
|
return {
|
|
146825
148444
|
content: [{ type: "text", text: result.error.message }],
|
|
146826
148445
|
isError: true
|
|
146827
148446
|
};
|
|
146828
148447
|
}
|
|
146829
|
-
|
|
146830
|
-
return formatResult(value, apiCall);
|
|
148448
|
+
return formatResult(undefined, apiCall);
|
|
146831
148449
|
}
|
|
146832
148450
|
};
|
|
146833
148451
|
});
|
|
146834
148452
|
|
|
146835
|
-
// src/funcs/
|
|
146836
|
-
function
|
|
146837
|
-
return new APIPromise($
|
|
148453
|
+
// src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148454
|
+
function schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, request, options) {
|
|
148455
|
+
return new APIPromise($do360(client, request, options));
|
|
146838
148456
|
}
|
|
146839
|
-
async function $
|
|
146840
|
-
const parsed = safeParse4(request, (value) =>
|
|
148457
|
+
async function $do360(client, request, options) {
|
|
148458
|
+
const parsed = safeParse4(request, (value) => DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146841
148459
|
if (!parsed.ok) {
|
|
146842
148460
|
return [parsed, { status: "invalid" }];
|
|
146843
148461
|
}
|
|
146844
148462
|
const payload = parsed.value;
|
|
146845
|
-
const body =
|
|
148463
|
+
const body = encodeJSON("body", payload.DismissSessionRepositoryRequest, {
|
|
148464
|
+
explode: true
|
|
148465
|
+
});
|
|
146846
148466
|
const pathParams = {
|
|
148467
|
+
repository_id: encodeSimple("repository_id", payload.repository_id, {
|
|
148468
|
+
explode: false,
|
|
148469
|
+
charEncoding: "percent"
|
|
148470
|
+
}),
|
|
146847
148471
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
146848
148472
|
explode: false,
|
|
146849
148473
|
charEncoding: "percent"
|
|
146850
148474
|
})
|
|
146851
148475
|
};
|
|
146852
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/
|
|
146853
|
-
const query = encodeFormQuery({
|
|
146854
|
-
session_token: payload.session_token
|
|
146855
|
-
});
|
|
148476
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}")(pathParams);
|
|
146856
148477
|
const headers = new Headers(compactMap({
|
|
146857
|
-
"Content-Type": "application/
|
|
148478
|
+
"Content-Type": "application/json",
|
|
146858
148479
|
Accept: "application/json",
|
|
146859
148480
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146860
148481
|
}));
|
|
@@ -146864,7 +148485,7 @@ async function $do352(client, request, options) {
|
|
|
146864
148485
|
const context = {
|
|
146865
148486
|
options: client._options,
|
|
146866
148487
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146867
|
-
operationID: "
|
|
148488
|
+
operationID: "dismiss_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__delete",
|
|
146868
148489
|
oAuth2Scopes: null,
|
|
146869
148490
|
resolvedSecurity: requestSecurity,
|
|
146870
148491
|
securitySource: client._options.bearerAuth,
|
|
@@ -146882,11 +148503,10 @@ async function $do352(client, request, options) {
|
|
|
146882
148503
|
};
|
|
146883
148504
|
const requestRes = client._createRequest(context, {
|
|
146884
148505
|
security: requestSecurity,
|
|
146885
|
-
method: "
|
|
148506
|
+
method: "DELETE",
|
|
146886
148507
|
baseURL: options?.serverURL,
|
|
146887
148508
|
path,
|
|
146888
148509
|
headers,
|
|
146889
|
-
query,
|
|
146890
148510
|
body,
|
|
146891
148511
|
userAgent: client._options.userAgent,
|
|
146892
148512
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -146908,13 +148528,13 @@ async function $do352(client, request, options) {
|
|
|
146908
148528
|
const responseFields = {
|
|
146909
148529
|
HttpMeta: { Response: response, Request: req }
|
|
146910
148530
|
};
|
|
146911
|
-
const [result] = await match(
|
|
148531
|
+
const [result] = await match(nil(204, voidType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
146912
148532
|
if (!result.ok) {
|
|
146913
148533
|
return [result, { status: "complete", request: req, response }];
|
|
146914
148534
|
}
|
|
146915
148535
|
return [result, { status: "complete", request: req, response }];
|
|
146916
148536
|
}
|
|
146917
|
-
var
|
|
148537
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = __esm(() => {
|
|
146918
148538
|
init_esm();
|
|
146919
148539
|
init_encodings();
|
|
146920
148540
|
init_http();
|
|
@@ -146928,62 +148548,48 @@ var init_sandboxUploadArchive = __esm(() => {
|
|
|
146928
148548
|
init_async();
|
|
146929
148549
|
});
|
|
146930
148550
|
|
|
146931
|
-
// src/mcp-server/tools/
|
|
146932
|
-
var
|
|
146933
|
-
var
|
|
146934
|
-
|
|
148551
|
+
// src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
148552
|
+
var args351, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
|
|
148553
|
+
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2 = __esm(() => {
|
|
148554
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete();
|
|
146935
148555
|
init_operations();
|
|
146936
148556
|
init_tools();
|
|
146937
|
-
|
|
146938
|
-
request:
|
|
148557
|
+
args351 = {
|
|
148558
|
+
request: DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema
|
|
146939
148559
|
};
|
|
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();
|
|
148560
|
+
tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = {
|
|
148561
|
+
name: "schema-3-other-dismiss-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-delete",
|
|
148562
|
+
description: `Dismiss Repository`,
|
|
148563
|
+
args: args351,
|
|
148564
|
+
tool: async (client, args352, ctx) => {
|
|
148565
|
+
const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, args352.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
146948
148566
|
if (!result.ok) {
|
|
146949
148567
|
return {
|
|
146950
148568
|
content: [{ type: "text", text: result.error.message }],
|
|
146951
148569
|
isError: true
|
|
146952
148570
|
};
|
|
146953
148571
|
}
|
|
146954
|
-
|
|
146955
|
-
return formatResult(value, apiCall);
|
|
148572
|
+
return formatResult(undefined, apiCall);
|
|
146956
148573
|
}
|
|
146957
148574
|
};
|
|
146958
148575
|
});
|
|
146959
148576
|
|
|
146960
|
-
// src/funcs/
|
|
146961
|
-
function
|
|
146962
|
-
return new APIPromise($
|
|
148577
|
+
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148578
|
+
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
148579
|
+
return new APIPromise($do361(client, request, options));
|
|
146963
148580
|
}
|
|
146964
|
-
async function $
|
|
146965
|
-
const parsed = safeParse4(request, (value) =>
|
|
148581
|
+
async function $do361(client, request, options) {
|
|
148582
|
+
const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
146966
148583
|
if (!parsed.ok) {
|
|
146967
148584
|
return [parsed, { status: "invalid" }];
|
|
146968
148585
|
}
|
|
146969
148586
|
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);
|
|
148587
|
+
const body = null;
|
|
148588
|
+
const path = pathToFunc("/api/v1/sandbox/github/oauth/connections")();
|
|
146982
148589
|
const query = encodeFormQuery({
|
|
146983
|
-
|
|
148590
|
+
verify: payload.verify
|
|
146984
148591
|
});
|
|
146985
148592
|
const headers = new Headers(compactMap({
|
|
146986
|
-
"Content-Type": "application/octet-stream",
|
|
146987
148593
|
Accept: "application/json",
|
|
146988
148594
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
146989
148595
|
}));
|
|
@@ -146993,7 +148599,7 @@ async function $do353(client, request, options) {
|
|
|
146993
148599
|
const context = {
|
|
146994
148600
|
options: client._options,
|
|
146995
148601
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
146996
|
-
operationID: "
|
|
148602
|
+
operationID: "get_connection_api_v1_sandbox_github_oauth_connections_get",
|
|
146997
148603
|
oAuth2Scopes: null,
|
|
146998
148604
|
resolvedSecurity: requestSecurity,
|
|
146999
148605
|
securitySource: client._options.bearerAuth,
|
|
@@ -147011,7 +148617,7 @@ async function $do353(client, request, options) {
|
|
|
147011
148617
|
};
|
|
147012
148618
|
const requestRes = client._createRequest(context, {
|
|
147013
148619
|
security: requestSecurity,
|
|
147014
|
-
method: "
|
|
148620
|
+
method: "GET",
|
|
147015
148621
|
baseURL: options?.serverURL,
|
|
147016
148622
|
path,
|
|
147017
148623
|
headers,
|
|
@@ -147037,14 +148643,13 @@ async function $do353(client, request, options) {
|
|
|
147037
148643
|
const responseFields = {
|
|
147038
148644
|
HttpMeta: { Response: response, Request: req }
|
|
147039
148645
|
};
|
|
147040
|
-
const [result] = await match(json(200,
|
|
148646
|
+
const [result] = await match(json(200, ConnectionEnvelope$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147041
148647
|
if (!result.ok) {
|
|
147042
148648
|
return [result, { status: "complete", request: req, response }];
|
|
147043
148649
|
}
|
|
147044
148650
|
return [result, { status: "complete", request: req, response }];
|
|
147045
148651
|
}
|
|
147046
|
-
var
|
|
147047
|
-
init_esm();
|
|
148652
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(() => {
|
|
147048
148653
|
init_encodings();
|
|
147049
148654
|
init_http();
|
|
147050
148655
|
init_matchers();
|
|
@@ -147052,28 +148657,27 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
147052
148657
|
init_schemas4();
|
|
147053
148658
|
init_security();
|
|
147054
148659
|
init_url();
|
|
148660
|
+
init_components();
|
|
147055
148661
|
init_errors4();
|
|
147056
148662
|
init_operations();
|
|
147057
148663
|
init_async();
|
|
147058
148664
|
});
|
|
147059
148665
|
|
|
147060
|
-
// src/mcp-server/tools/
|
|
147061
|
-
var
|
|
147062
|
-
var
|
|
147063
|
-
|
|
148666
|
+
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
148667
|
+
var args352, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
148668
|
+
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
148669
|
+
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
147064
148670
|
init_operations();
|
|
147065
148671
|
init_tools();
|
|
147066
|
-
|
|
147067
|
-
request:
|
|
148672
|
+
args352 = {
|
|
148673
|
+
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
147068
148674
|
};
|
|
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();
|
|
148675
|
+
tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
|
|
148676
|
+
name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
|
|
148677
|
+
description: `Get Connection`,
|
|
148678
|
+
args: args352,
|
|
148679
|
+
tool: async (client, args353, ctx) => {
|
|
148680
|
+
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args353.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147077
148681
|
if (!result.ok) {
|
|
147078
148682
|
return {
|
|
147079
148683
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147086,20 +148690,25 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
147086
148690
|
};
|
|
147087
148691
|
});
|
|
147088
148692
|
|
|
147089
|
-
// src/funcs/
|
|
147090
|
-
function
|
|
147091
|
-
return new APIPromise($
|
|
148693
|
+
// src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148694
|
+
function schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, request, options) {
|
|
148695
|
+
return new APIPromise($do362(client, request, options));
|
|
147092
148696
|
}
|
|
147093
|
-
async function $
|
|
147094
|
-
const parsed = safeParse4(request, (value) =>
|
|
148697
|
+
async function $do362(client, request, options) {
|
|
148698
|
+
const parsed = safeParse4(request, (value) => GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147095
148699
|
if (!parsed.ok) {
|
|
147096
148700
|
return [parsed, { status: "invalid" }];
|
|
147097
148701
|
}
|
|
147098
148702
|
const payload = parsed.value;
|
|
147099
|
-
const body =
|
|
147100
|
-
const
|
|
148703
|
+
const body = null;
|
|
148704
|
+
const pathParams = {
|
|
148705
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
148706
|
+
explode: false,
|
|
148707
|
+
charEncoding: "percent"
|
|
148708
|
+
})
|
|
148709
|
+
};
|
|
148710
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
147101
148711
|
const headers = new Headers(compactMap({
|
|
147102
|
-
"Content-Type": "application/json",
|
|
147103
148712
|
Accept: "application/json",
|
|
147104
148713
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147105
148714
|
}));
|
|
@@ -147109,7 +148718,7 @@ async function $do354(client, request, options) {
|
|
|
147109
148718
|
const context = {
|
|
147110
148719
|
options: client._options,
|
|
147111
148720
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147112
|
-
operationID: "
|
|
148721
|
+
operationID: "get_environment_api_v1_sandbox_environments__environment_id__get",
|
|
147113
148722
|
oAuth2Scopes: null,
|
|
147114
148723
|
resolvedSecurity: requestSecurity,
|
|
147115
148724
|
securitySource: client._options.bearerAuth,
|
|
@@ -147127,7 +148736,7 @@ async function $do354(client, request, options) {
|
|
|
147127
148736
|
};
|
|
147128
148737
|
const requestRes = client._createRequest(context, {
|
|
147129
148738
|
security: requestSecurity,
|
|
147130
|
-
method: "
|
|
148739
|
+
method: "GET",
|
|
147131
148740
|
baseURL: options?.serverURL,
|
|
147132
148741
|
path,
|
|
147133
148742
|
headers,
|
|
@@ -147152,13 +148761,13 @@ async function $do354(client, request, options) {
|
|
|
147152
148761
|
const responseFields = {
|
|
147153
148762
|
HttpMeta: { Response: response, Request: req }
|
|
147154
148763
|
};
|
|
147155
|
-
const [result] = await match(json(
|
|
148764
|
+
const [result] = await match(json(200, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147156
148765
|
if (!result.ok) {
|
|
147157
148766
|
return [result, { status: "complete", request: req, response }];
|
|
147158
148767
|
}
|
|
147159
148768
|
return [result, { status: "complete", request: req, response }];
|
|
147160
148769
|
}
|
|
147161
|
-
var
|
|
148770
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = __esm(() => {
|
|
147162
148771
|
init_encodings();
|
|
147163
148772
|
init_http();
|
|
147164
148773
|
init_matchers();
|
|
@@ -147172,21 +148781,21 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() =>
|
|
|
147172
148781
|
init_async();
|
|
147173
148782
|
});
|
|
147174
148783
|
|
|
147175
|
-
// src/mcp-server/tools/
|
|
147176
|
-
var
|
|
147177
|
-
var
|
|
147178
|
-
|
|
148784
|
+
// src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
148785
|
+
var args353, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
|
|
148786
|
+
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = __esm(() => {
|
|
148787
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet();
|
|
147179
148788
|
init_operations();
|
|
147180
148789
|
init_tools();
|
|
147181
|
-
|
|
147182
|
-
request:
|
|
148790
|
+
args353 = {
|
|
148791
|
+
request: GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema
|
|
147183
148792
|
};
|
|
147184
|
-
tool$
|
|
147185
|
-
name: "schema-3-other-
|
|
147186
|
-
description: `
|
|
147187
|
-
args:
|
|
147188
|
-
tool: async (client,
|
|
147189
|
-
const [result, apiCall] = await
|
|
148793
|
+
tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = {
|
|
148794
|
+
name: "schema-3-other-get-environment-api-v1-sandbox-environments-environment-id-get",
|
|
148795
|
+
description: `Get Environment`,
|
|
148796
|
+
args: args353,
|
|
148797
|
+
tool: async (client, args354, ctx) => {
|
|
148798
|
+
const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, args354.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147190
148799
|
if (!result.ok) {
|
|
147191
148800
|
return {
|
|
147192
148801
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147199,18 +148808,18 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() =
|
|
|
147199
148808
|
};
|
|
147200
148809
|
});
|
|
147201
148810
|
|
|
147202
|
-
// src/funcs/
|
|
147203
|
-
function
|
|
147204
|
-
return new APIPromise($
|
|
148811
|
+
// src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148812
|
+
function schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, request, options) {
|
|
148813
|
+
return new APIPromise($do363(client, request, options));
|
|
147205
148814
|
}
|
|
147206
|
-
async function $
|
|
147207
|
-
const parsed = safeParse4(request, (value) =>
|
|
148815
|
+
async function $do363(client, request, options) {
|
|
148816
|
+
const parsed = safeParse4(request, (value) => ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147208
148817
|
if (!parsed.ok) {
|
|
147209
148818
|
return [parsed, { status: "invalid" }];
|
|
147210
148819
|
}
|
|
147211
148820
|
const payload = parsed.value;
|
|
147212
148821
|
const body = null;
|
|
147213
|
-
const path = pathToFunc("/api/v1/sandbox/
|
|
148822
|
+
const path = pathToFunc("/api/v1/sandbox/environments")();
|
|
147214
148823
|
const headers = new Headers(compactMap({
|
|
147215
148824
|
Accept: "application/json",
|
|
147216
148825
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -147221,7 +148830,7 @@ async function $do355(client, request, options) {
|
|
|
147221
148830
|
const context = {
|
|
147222
148831
|
options: client._options,
|
|
147223
148832
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147224
|
-
operationID: "
|
|
148833
|
+
operationID: "list_environments_api_v1_sandbox_environments_get",
|
|
147225
148834
|
oAuth2Scopes: null,
|
|
147226
148835
|
resolvedSecurity: requestSecurity,
|
|
147227
148836
|
securitySource: client._options.bearerAuth,
|
|
@@ -147239,7 +148848,7 @@ async function $do355(client, request, options) {
|
|
|
147239
148848
|
};
|
|
147240
148849
|
const requestRes = client._createRequest(context, {
|
|
147241
148850
|
security: requestSecurity,
|
|
147242
|
-
method: "
|
|
148851
|
+
method: "GET",
|
|
147243
148852
|
baseURL: options?.serverURL,
|
|
147244
148853
|
path,
|
|
147245
148854
|
headers,
|
|
@@ -147261,13 +148870,13 @@ async function $do355(client, request, options) {
|
|
|
147261
148870
|
return [doResult, { status: "request-error", request: req }];
|
|
147262
148871
|
}
|
|
147263
148872
|
const response = doResult.value;
|
|
147264
|
-
const [result] = await match(json(
|
|
148873
|
+
const [result] = await match(json(200, EnvironmentList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
147265
148874
|
if (!result.ok) {
|
|
147266
148875
|
return [result, { status: "complete", request: req, response }];
|
|
147267
148876
|
}
|
|
147268
148877
|
return [result, { status: "complete", request: req, response }];
|
|
147269
148878
|
}
|
|
147270
|
-
var
|
|
148879
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = __esm(() => {
|
|
147271
148880
|
init_encodings();
|
|
147272
148881
|
init_http();
|
|
147273
148882
|
init_matchers();
|
|
@@ -147280,21 +148889,21 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() =
|
|
|
147280
148889
|
init_async();
|
|
147281
148890
|
});
|
|
147282
148891
|
|
|
147283
|
-
// src/mcp-server/tools/
|
|
147284
|
-
var
|
|
147285
|
-
var
|
|
147286
|
-
|
|
148892
|
+
// src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
148893
|
+
var args354, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
|
|
148894
|
+
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() => {
|
|
148895
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet();
|
|
147287
148896
|
init_operations();
|
|
147288
148897
|
init_tools();
|
|
147289
|
-
|
|
147290
|
-
request:
|
|
148898
|
+
args354 = {
|
|
148899
|
+
request: ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema
|
|
147291
148900
|
};
|
|
147292
|
-
tool$
|
|
147293
|
-
name: "schema-3-other-
|
|
147294
|
-
description: `
|
|
147295
|
-
args:
|
|
147296
|
-
tool: async (client,
|
|
147297
|
-
const [result, apiCall] = await
|
|
148901
|
+
tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = {
|
|
148902
|
+
name: "schema-3-other-list-environments-api-v1-sandbox-environments-get",
|
|
148903
|
+
description: `List Environments`,
|
|
148904
|
+
args: args354,
|
|
148905
|
+
tool: async (client, args355, ctx) => {
|
|
148906
|
+
const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, args355.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147298
148907
|
if (!result.ok) {
|
|
147299
148908
|
return {
|
|
147300
148909
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147307,28 +148916,19 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
|
|
|
147307
148916
|
};
|
|
147308
148917
|
});
|
|
147309
148918
|
|
|
147310
|
-
// src/funcs/
|
|
147311
|
-
function
|
|
147312
|
-
return new APIPromise($
|
|
148919
|
+
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
148920
|
+
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
148921
|
+
return new APIPromise($do364(client, request, options));
|
|
147313
148922
|
}
|
|
147314
|
-
async function $
|
|
147315
|
-
const parsed = safeParse4(request, (value) =>
|
|
148923
|
+
async function $do364(client, request, options) {
|
|
148924
|
+
const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147316
148925
|
if (!parsed.ok) {
|
|
147317
148926
|
return [parsed, { status: "invalid" }];
|
|
147318
148927
|
}
|
|
147319
148928
|
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);
|
|
148929
|
+
const body = null;
|
|
148930
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories")();
|
|
147330
148931
|
const headers = new Headers(compactMap({
|
|
147331
|
-
"Content-Type": "application/json",
|
|
147332
148932
|
Accept: "application/json",
|
|
147333
148933
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147334
148934
|
}));
|
|
@@ -147338,7 +148938,7 @@ async function $do356(client, request, options) {
|
|
|
147338
148938
|
const context = {
|
|
147339
148939
|
options: client._options,
|
|
147340
148940
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147341
|
-
operationID: "
|
|
148941
|
+
operationID: "list_repositories_api_v1_sandbox_github_repositories_get",
|
|
147342
148942
|
oAuth2Scopes: null,
|
|
147343
148943
|
resolvedSecurity: requestSecurity,
|
|
147344
148944
|
securitySource: client._options.bearerAuth,
|
|
@@ -147356,7 +148956,7 @@ async function $do356(client, request, options) {
|
|
|
147356
148956
|
};
|
|
147357
148957
|
const requestRes = client._createRequest(context, {
|
|
147358
148958
|
security: requestSecurity,
|
|
147359
|
-
method: "
|
|
148959
|
+
method: "GET",
|
|
147360
148960
|
baseURL: options?.serverURL,
|
|
147361
148961
|
path,
|
|
147362
148962
|
headers,
|
|
@@ -147378,16 +148978,13 @@ async function $do356(client, request, options) {
|
|
|
147378
148978
|
return [doResult, { status: "request-error", request: req }];
|
|
147379
148979
|
}
|
|
147380
148980
|
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 });
|
|
148981
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
147385
148982
|
if (!result.ok) {
|
|
147386
148983
|
return [result, { status: "complete", request: req, response }];
|
|
147387
148984
|
}
|
|
147388
148985
|
return [result, { status: "complete", request: req, response }];
|
|
147389
148986
|
}
|
|
147390
|
-
var
|
|
148987
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm(() => {
|
|
147391
148988
|
init_encodings();
|
|
147392
148989
|
init_http();
|
|
147393
148990
|
init_matchers();
|
|
@@ -147396,26 +148993,25 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147396
148993
|
init_security();
|
|
147397
148994
|
init_url();
|
|
147398
148995
|
init_components();
|
|
147399
|
-
init_errors4();
|
|
147400
148996
|
init_operations();
|
|
147401
148997
|
init_async();
|
|
147402
148998
|
});
|
|
147403
148999
|
|
|
147404
|
-
// src/mcp-server/tools/
|
|
147405
|
-
var
|
|
147406
|
-
var
|
|
147407
|
-
|
|
149000
|
+
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
149001
|
+
var args355, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
149002
|
+
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
149003
|
+
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
147408
149004
|
init_operations();
|
|
147409
149005
|
init_tools();
|
|
147410
|
-
|
|
147411
|
-
request:
|
|
149006
|
+
args355 = {
|
|
149007
|
+
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
147412
149008
|
};
|
|
147413
|
-
tool$
|
|
147414
|
-
name: "schema-3-other-
|
|
147415
|
-
description: `
|
|
147416
|
-
args:
|
|
147417
|
-
tool: async (client,
|
|
147418
|
-
const [result, apiCall] = await
|
|
149009
|
+
tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
|
|
149010
|
+
name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
|
|
149011
|
+
description: `List Repositories`,
|
|
149012
|
+
args: args355,
|
|
149013
|
+
tool: async (client, args356, ctx) => {
|
|
149014
|
+
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args356.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147419
149015
|
if (!result.ok) {
|
|
147420
149016
|
return {
|
|
147421
149017
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147428,20 +149024,26 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
147428
149024
|
};
|
|
147429
149025
|
});
|
|
147430
149026
|
|
|
147431
|
-
// src/funcs/
|
|
147432
|
-
function
|
|
147433
|
-
return new APIPromise($
|
|
149027
|
+
// src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
149028
|
+
function schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, request, options) {
|
|
149029
|
+
return new APIPromise($do365(client, request, options));
|
|
147434
149030
|
}
|
|
147435
|
-
async function $
|
|
147436
|
-
const parsed = safeParse4(request, (value) =>
|
|
149031
|
+
async function $do365(client, request, options) {
|
|
149032
|
+
const parsed = safeParse4(request, (value) => ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147437
149033
|
if (!parsed.ok) {
|
|
147438
149034
|
return [parsed, { status: "invalid" }];
|
|
147439
149035
|
}
|
|
147440
149036
|
const payload = parsed.value;
|
|
147441
149037
|
const body = null;
|
|
147442
|
-
const
|
|
149038
|
+
const pathParams = {
|
|
149039
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149040
|
+
explode: false,
|
|
149041
|
+
charEncoding: "percent"
|
|
149042
|
+
})
|
|
149043
|
+
};
|
|
149044
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories")(pathParams);
|
|
147443
149045
|
const headers = new Headers(compactMap({
|
|
147444
|
-
Accept: "
|
|
149046
|
+
Accept: "application/json",
|
|
147445
149047
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147446
149048
|
}));
|
|
147447
149049
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -147450,7 +149052,7 @@ async function $do357(client, request, options) {
|
|
|
147450
149052
|
const context = {
|
|
147451
149053
|
options: client._options,
|
|
147452
149054
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147453
|
-
operationID: "
|
|
149055
|
+
operationID: "manifest_api_v1_sandbox_sessions__session_id__github_repositories_get",
|
|
147454
149056
|
oAuth2Scopes: null,
|
|
147455
149057
|
resolvedSecurity: requestSecurity,
|
|
147456
149058
|
securitySource: client._options.bearerAuth,
|
|
@@ -147468,7 +149070,7 @@ async function $do357(client, request, options) {
|
|
|
147468
149070
|
};
|
|
147469
149071
|
const requestRes = client._createRequest(context, {
|
|
147470
149072
|
security: requestSecurity,
|
|
147471
|
-
method: "
|
|
149073
|
+
method: "GET",
|
|
147472
149074
|
baseURL: options?.serverURL,
|
|
147473
149075
|
path,
|
|
147474
149076
|
headers,
|
|
@@ -147490,14 +149092,16 @@ async function $do357(client, request, options) {
|
|
|
147490
149092
|
return [doResult, { status: "request-error", request: req }];
|
|
147491
149093
|
}
|
|
147492
149094
|
const response = doResult.value;
|
|
147493
|
-
const
|
|
149095
|
+
const responseFields = {
|
|
149096
|
+
HttpMeta: { Response: response, Request: req }
|
|
149097
|
+
};
|
|
149098
|
+
const [result] = await match(json(200, SessionRepositoryManifest$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147494
149099
|
if (!result.ok) {
|
|
147495
149100
|
return [result, { status: "complete", request: req, response }];
|
|
147496
149101
|
}
|
|
147497
149102
|
return [result, { status: "complete", request: req, response }];
|
|
147498
149103
|
}
|
|
147499
|
-
var
|
|
147500
|
-
init_esm();
|
|
149104
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = __esm(() => {
|
|
147501
149105
|
init_encodings();
|
|
147502
149106
|
init_http();
|
|
147503
149107
|
init_matchers();
|
|
@@ -147505,52 +149109,59 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
|
|
|
147505
149109
|
init_schemas4();
|
|
147506
149110
|
init_security();
|
|
147507
149111
|
init_url();
|
|
149112
|
+
init_components();
|
|
149113
|
+
init_errors4();
|
|
147508
149114
|
init_operations();
|
|
147509
149115
|
init_async();
|
|
147510
149116
|
});
|
|
147511
149117
|
|
|
147512
|
-
// src/mcp-server/tools/
|
|
147513
|
-
var
|
|
147514
|
-
var
|
|
147515
|
-
|
|
149118
|
+
// src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
149119
|
+
var args356, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
|
|
149120
|
+
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2 = __esm(() => {
|
|
149121
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet();
|
|
147516
149122
|
init_operations();
|
|
147517
149123
|
init_tools();
|
|
147518
|
-
|
|
147519
|
-
request:
|
|
149124
|
+
args356 = {
|
|
149125
|
+
request: ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema
|
|
147520
149126
|
};
|
|
147521
|
-
tool$
|
|
147522
|
-
name: "schema-3-other-
|
|
147523
|
-
description: `
|
|
147524
|
-
args:
|
|
147525
|
-
tool: async (client,
|
|
147526
|
-
const [result, apiCall] = await
|
|
149127
|
+
tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = {
|
|
149128
|
+
name: "schema-3-other-manifest-api-v1-sandbox-sessions-session-id-github-repositories-get",
|
|
149129
|
+
description: `Manifest`,
|
|
149130
|
+
args: args356,
|
|
149131
|
+
tool: async (client, args357, ctx) => {
|
|
149132
|
+
const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, args357.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147527
149133
|
if (!result.ok) {
|
|
147528
149134
|
return {
|
|
147529
149135
|
content: [{ type: "text", text: result.error.message }],
|
|
147530
149136
|
isError: true
|
|
147531
149137
|
};
|
|
147532
149138
|
}
|
|
147533
|
-
|
|
149139
|
+
const value = result.value;
|
|
149140
|
+
return formatResult(value, apiCall);
|
|
147534
149141
|
}
|
|
147535
149142
|
};
|
|
147536
149143
|
});
|
|
147537
149144
|
|
|
147538
|
-
// src/funcs/
|
|
147539
|
-
function
|
|
147540
|
-
return new APIPromise($
|
|
149145
|
+
// src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149146
|
+
function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
|
|
149147
|
+
return new APIPromise($do366(client, request, options));
|
|
147541
149148
|
}
|
|
147542
|
-
async function $
|
|
147543
|
-
const parsed = safeParse4(request, (value) =>
|
|
149149
|
+
async function $do366(client, request, options) {
|
|
149150
|
+
const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147544
149151
|
if (!parsed.ok) {
|
|
147545
149152
|
return [parsed, { status: "invalid" }];
|
|
147546
149153
|
}
|
|
147547
149154
|
const payload = parsed.value;
|
|
147548
|
-
const body =
|
|
147549
|
-
const
|
|
147550
|
-
|
|
147551
|
-
|
|
147552
|
-
|
|
149155
|
+
const body = encodeJSON("body", payload.GitHubPushRequest, { explode: true });
|
|
149156
|
+
const pathParams = {
|
|
149157
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149158
|
+
explode: false,
|
|
149159
|
+
charEncoding: "percent"
|
|
149160
|
+
})
|
|
149161
|
+
};
|
|
149162
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/push")(pathParams);
|
|
147553
149163
|
const headers = new Headers(compactMap({
|
|
149164
|
+
"Content-Type": "application/json",
|
|
147554
149165
|
Accept: "application/json",
|
|
147555
149166
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147556
149167
|
}));
|
|
@@ -147560,7 +149171,7 @@ async function $do358(client, request, options) {
|
|
|
147560
149171
|
const context = {
|
|
147561
149172
|
options: client._options,
|
|
147562
149173
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147563
|
-
operationID: "
|
|
149174
|
+
operationID: "push_api_v1_sandbox_sessions__session_id__github_push_post",
|
|
147564
149175
|
oAuth2Scopes: null,
|
|
147565
149176
|
resolvedSecurity: requestSecurity,
|
|
147566
149177
|
securitySource: client._options.bearerAuth,
|
|
@@ -147578,11 +149189,10 @@ async function $do358(client, request, options) {
|
|
|
147578
149189
|
};
|
|
147579
149190
|
const requestRes = client._createRequest(context, {
|
|
147580
149191
|
security: requestSecurity,
|
|
147581
|
-
method: "
|
|
149192
|
+
method: "POST",
|
|
147582
149193
|
baseURL: options?.serverURL,
|
|
147583
149194
|
path,
|
|
147584
149195
|
headers,
|
|
147585
|
-
query,
|
|
147586
149196
|
body,
|
|
147587
149197
|
userAgent: client._options.userAgent,
|
|
147588
149198
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -147604,13 +149214,13 @@ async function $do358(client, request, options) {
|
|
|
147604
149214
|
const responseFields = {
|
|
147605
149215
|
HttpMeta: { Response: response, Request: req }
|
|
147606
149216
|
};
|
|
147607
|
-
const [result] = await match(json(200,
|
|
149217
|
+
const [result] = await match(json(200, GitHubPushResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147608
149218
|
if (!result.ok) {
|
|
147609
149219
|
return [result, { status: "complete", request: req, response }];
|
|
147610
149220
|
}
|
|
147611
149221
|
return [result, { status: "complete", request: req, response }];
|
|
147612
149222
|
}
|
|
147613
|
-
var
|
|
149223
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(() => {
|
|
147614
149224
|
init_encodings();
|
|
147615
149225
|
init_http();
|
|
147616
149226
|
init_matchers();
|
|
@@ -147624,21 +149234,21 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
147624
149234
|
init_async();
|
|
147625
149235
|
});
|
|
147626
149236
|
|
|
147627
|
-
// src/mcp-server/tools/
|
|
147628
|
-
var
|
|
147629
|
-
var
|
|
147630
|
-
|
|
149237
|
+
// src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
149238
|
+
var args357, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
|
|
149239
|
+
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
|
|
149240
|
+
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
|
|
147631
149241
|
init_operations();
|
|
147632
149242
|
init_tools();
|
|
147633
|
-
|
|
147634
|
-
request:
|
|
149243
|
+
args357 = {
|
|
149244
|
+
request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
|
|
147635
149245
|
};
|
|
147636
|
-
tool$
|
|
147637
|
-
name: "schema-3-other-
|
|
147638
|
-
description: `
|
|
147639
|
-
args:
|
|
147640
|
-
tool: async (client,
|
|
147641
|
-
const [result, apiCall] = await
|
|
149246
|
+
tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
|
|
149247
|
+
name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
|
|
149248
|
+
description: `Push`,
|
|
149249
|
+
args: args357,
|
|
149250
|
+
tool: async (client, args358, ctx) => {
|
|
149251
|
+
const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args358.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147642
149252
|
if (!result.ok) {
|
|
147643
149253
|
return {
|
|
147644
149254
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147651,19 +149261,32 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
|
|
|
147651
149261
|
};
|
|
147652
149262
|
});
|
|
147653
149263
|
|
|
147654
|
-
// src/funcs/
|
|
147655
|
-
function
|
|
147656
|
-
return new APIPromise($
|
|
149264
|
+
// src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149265
|
+
function schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, request, options) {
|
|
149266
|
+
return new APIPromise($do367(client, request, options));
|
|
147657
149267
|
}
|
|
147658
|
-
async function $
|
|
147659
|
-
const parsed = safeParse4(request, (value) =>
|
|
149268
|
+
async function $do367(client, request, options) {
|
|
149269
|
+
const parsed = safeParse4(request, (value) => PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147660
149270
|
if (!parsed.ok) {
|
|
147661
149271
|
return [parsed, { status: "invalid" }];
|
|
147662
149272
|
}
|
|
147663
149273
|
const payload = parsed.value;
|
|
147664
|
-
const body =
|
|
147665
|
-
|
|
149274
|
+
const body = encodeJSON("body", payload.PutSessionRepositoryRequest, {
|
|
149275
|
+
explode: true
|
|
149276
|
+
});
|
|
149277
|
+
const pathParams = {
|
|
149278
|
+
repository_id: encodeSimple("repository_id", payload.repository_id, {
|
|
149279
|
+
explode: false,
|
|
149280
|
+
charEncoding: "percent"
|
|
149281
|
+
}),
|
|
149282
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149283
|
+
explode: false,
|
|
149284
|
+
charEncoding: "percent"
|
|
149285
|
+
})
|
|
149286
|
+
};
|
|
149287
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/repositories/{repository_id}")(pathParams);
|
|
147666
149288
|
const headers = new Headers(compactMap({
|
|
149289
|
+
"Content-Type": "application/json",
|
|
147667
149290
|
Accept: "application/json",
|
|
147668
149291
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
147669
149292
|
}));
|
|
@@ -147673,7 +149296,7 @@ async function $do359(client, request, options) {
|
|
|
147673
149296
|
const context = {
|
|
147674
149297
|
options: client._options,
|
|
147675
149298
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147676
|
-
operationID: "
|
|
149299
|
+
operationID: "put_repository_api_v1_sandbox_sessions__session_id__github_repositories__repository_id__put",
|
|
147677
149300
|
oAuth2Scopes: null,
|
|
147678
149301
|
resolvedSecurity: requestSecurity,
|
|
147679
149302
|
securitySource: client._options.bearerAuth,
|
|
@@ -147691,7 +149314,7 @@ async function $do359(client, request, options) {
|
|
|
147691
149314
|
};
|
|
147692
149315
|
const requestRes = client._createRequest(context, {
|
|
147693
149316
|
security: requestSecurity,
|
|
147694
|
-
method: "
|
|
149317
|
+
method: "PUT",
|
|
147695
149318
|
baseURL: options?.serverURL,
|
|
147696
149319
|
path,
|
|
147697
149320
|
headers,
|
|
@@ -147713,13 +149336,16 @@ async function $do359(client, request, options) {
|
|
|
147713
149336
|
return [doResult, { status: "request-error", request: req }];
|
|
147714
149337
|
}
|
|
147715
149338
|
const response = doResult.value;
|
|
147716
|
-
const
|
|
149339
|
+
const responseFields = {
|
|
149340
|
+
HttpMeta: { Response: response, Request: req }
|
|
149341
|
+
};
|
|
149342
|
+
const [result] = await match(json(200, SessionRepositoryModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147717
149343
|
if (!result.ok) {
|
|
147718
149344
|
return [result, { status: "complete", request: req, response }];
|
|
147719
149345
|
}
|
|
147720
149346
|
return [result, { status: "complete", request: req, response }];
|
|
147721
149347
|
}
|
|
147722
|
-
var
|
|
149348
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = __esm(() => {
|
|
147723
149349
|
init_encodings();
|
|
147724
149350
|
init_http();
|
|
147725
149351
|
init_matchers();
|
|
@@ -147728,25 +149354,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
|
|
|
147728
149354
|
init_security();
|
|
147729
149355
|
init_url();
|
|
147730
149356
|
init_components();
|
|
149357
|
+
init_errors4();
|
|
147731
149358
|
init_operations();
|
|
147732
149359
|
init_async();
|
|
147733
149360
|
});
|
|
147734
149361
|
|
|
147735
|
-
// src/mcp-server/tools/
|
|
147736
|
-
var
|
|
147737
|
-
var
|
|
147738
|
-
|
|
149362
|
+
// src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
149363
|
+
var args358, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
|
|
149364
|
+
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2 = __esm(() => {
|
|
149365
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut();
|
|
147739
149366
|
init_operations();
|
|
147740
149367
|
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
|
|
149368
|
+
args358 = {
|
|
149369
|
+
request: PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema
|
|
149370
|
+
};
|
|
149371
|
+
tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = {
|
|
149372
|
+
name: "schema-3-other-put-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-put",
|
|
149373
|
+
description: `Put Repository`,
|
|
149374
|
+
args: args358,
|
|
149375
|
+
tool: async (client, args359, ctx) => {
|
|
149376
|
+
const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, args359.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147750
149377
|
if (!result.ok) {
|
|
147751
149378
|
return {
|
|
147752
149379
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147759,24 +149386,26 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
|
|
|
147759
149386
|
};
|
|
147760
149387
|
});
|
|
147761
149388
|
|
|
147762
|
-
// src/funcs/
|
|
147763
|
-
function
|
|
147764
|
-
return new APIPromise($
|
|
149389
|
+
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149390
|
+
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
149391
|
+
return new APIPromise($do368(client, request, options));
|
|
147765
149392
|
}
|
|
147766
|
-
async function $
|
|
147767
|
-
const parsed = safeParse4(request, (value) =>
|
|
149393
|
+
async function $do368(client, request, options) {
|
|
149394
|
+
const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147768
149395
|
if (!parsed.ok) {
|
|
147769
149396
|
return [parsed, { status: "invalid" }];
|
|
147770
149397
|
}
|
|
147771
149398
|
const payload = parsed.value;
|
|
147772
|
-
const body = encodeJSON("body", payload.
|
|
149399
|
+
const body = encodeJSON("body", payload.GitHubReadCloneRequest, {
|
|
149400
|
+
explode: true
|
|
149401
|
+
});
|
|
147773
149402
|
const pathParams = {
|
|
147774
149403
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
147775
149404
|
explode: false,
|
|
147776
149405
|
charEncoding: "percent"
|
|
147777
149406
|
})
|
|
147778
149407
|
};
|
|
147779
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/
|
|
149408
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/github/read-clone")(pathParams);
|
|
147780
149409
|
const headers = new Headers(compactMap({
|
|
147781
149410
|
"Content-Type": "application/json",
|
|
147782
149411
|
Accept: "application/json",
|
|
@@ -147788,7 +149417,7 @@ async function $do360(client, request, options) {
|
|
|
147788
149417
|
const context = {
|
|
147789
149418
|
options: client._options,
|
|
147790
149419
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147791
|
-
operationID: "
|
|
149420
|
+
operationID: "read_clone_api_v1_sandbox_sessions__session_id__github_read_clone_post",
|
|
147792
149421
|
oAuth2Scopes: null,
|
|
147793
149422
|
resolvedSecurity: requestSecurity,
|
|
147794
149423
|
securitySource: client._options.bearerAuth,
|
|
@@ -147831,13 +149460,13 @@ async function $do360(client, request, options) {
|
|
|
147831
149460
|
const responseFields = {
|
|
147832
149461
|
HttpMeta: { Response: response, Request: req }
|
|
147833
149462
|
};
|
|
147834
|
-
const [result] = await match(json(200,
|
|
149463
|
+
const [result] = await match(json(200, GitHubReadCloneResult$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147835
149464
|
if (!result.ok) {
|
|
147836
149465
|
return [result, { status: "complete", request: req, response }];
|
|
147837
149466
|
}
|
|
147838
149467
|
return [result, { status: "complete", request: req, response }];
|
|
147839
149468
|
}
|
|
147840
|
-
var
|
|
149469
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = __esm(() => {
|
|
147841
149470
|
init_encodings();
|
|
147842
149471
|
init_http();
|
|
147843
149472
|
init_matchers();
|
|
@@ -147851,21 +149480,21 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(()
|
|
|
147851
149480
|
init_async();
|
|
147852
149481
|
});
|
|
147853
149482
|
|
|
147854
|
-
// src/mcp-server/tools/
|
|
147855
|
-
var
|
|
147856
|
-
var
|
|
147857
|
-
|
|
149483
|
+
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
149484
|
+
var args359, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
149485
|
+
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
149486
|
+
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
147858
149487
|
init_operations();
|
|
147859
149488
|
init_tools();
|
|
147860
|
-
|
|
147861
|
-
request:
|
|
149489
|
+
args359 = {
|
|
149490
|
+
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
147862
149491
|
};
|
|
147863
|
-
tool$
|
|
147864
|
-
name: "schema-3-other-
|
|
147865
|
-
description: `
|
|
147866
|
-
args:
|
|
147867
|
-
tool: async (client,
|
|
147868
|
-
const [result, apiCall] = await
|
|
149492
|
+
tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
|
|
149493
|
+
name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
|
|
149494
|
+
description: `Read Clone`,
|
|
149495
|
+
args: args359,
|
|
149496
|
+
tool: async (client, args360, ctx) => {
|
|
149497
|
+
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args360.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147869
149498
|
if (!result.ok) {
|
|
147870
149499
|
return {
|
|
147871
149500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147878,26 +149507,128 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(()
|
|
|
147878
149507
|
};
|
|
147879
149508
|
});
|
|
147880
149509
|
|
|
147881
|
-
// src/funcs/
|
|
147882
|
-
function
|
|
147883
|
-
return new APIPromise($
|
|
149510
|
+
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
149511
|
+
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
149512
|
+
return new APIPromise($do369(client, request, options));
|
|
147884
149513
|
}
|
|
147885
|
-
async function $
|
|
147886
|
-
const parsed = safeParse4(request, (value) =>
|
|
149514
|
+
async function $do369(client, request, options) {
|
|
149515
|
+
const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
147887
149516
|
if (!parsed.ok) {
|
|
147888
149517
|
return [parsed, { status: "invalid" }];
|
|
147889
149518
|
}
|
|
147890
149519
|
const payload = parsed.value;
|
|
147891
|
-
const body =
|
|
147892
|
-
|
|
149520
|
+
const body = null;
|
|
149521
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/refresh")();
|
|
149522
|
+
const headers = new Headers(compactMap({
|
|
149523
|
+
Accept: "application/json",
|
|
149524
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
149525
|
+
}));
|
|
149526
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
149527
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
149528
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
149529
|
+
const context = {
|
|
149530
|
+
options: client._options,
|
|
149531
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
149532
|
+
operationID: "refresh_repositories_api_v1_sandbox_github_repositories_refresh_post",
|
|
149533
|
+
oAuth2Scopes: null,
|
|
149534
|
+
resolvedSecurity: requestSecurity,
|
|
149535
|
+
securitySource: client._options.bearerAuth,
|
|
149536
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
149537
|
+
strategy: "backoff",
|
|
149538
|
+
backoff: {
|
|
149539
|
+
initialInterval: 500,
|
|
149540
|
+
maxInterval: 5000,
|
|
149541
|
+
exponent: 1.5,
|
|
149542
|
+
maxElapsedTime: 15000
|
|
149543
|
+
},
|
|
149544
|
+
retryConnectionErrors: true
|
|
149545
|
+
},
|
|
149546
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
149547
|
+
};
|
|
149548
|
+
const requestRes = client._createRequest(context, {
|
|
149549
|
+
security: requestSecurity,
|
|
149550
|
+
method: "POST",
|
|
149551
|
+
baseURL: options?.serverURL,
|
|
149552
|
+
path,
|
|
149553
|
+
headers,
|
|
149554
|
+
body,
|
|
149555
|
+
userAgent: client._options.userAgent,
|
|
149556
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
149557
|
+
}, options);
|
|
149558
|
+
if (!requestRes.ok) {
|
|
149559
|
+
return [requestRes, { status: "invalid" }];
|
|
149560
|
+
}
|
|
149561
|
+
const req = requestRes.value;
|
|
149562
|
+
const doResult = await client._do(req, {
|
|
149563
|
+
context,
|
|
149564
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
149565
|
+
retryConfig: context.retryConfig,
|
|
149566
|
+
retryCodes: context.retryCodes
|
|
147893
149567
|
});
|
|
147894
|
-
|
|
147895
|
-
|
|
147896
|
-
|
|
147897
|
-
|
|
147898
|
-
|
|
149568
|
+
if (!doResult.ok) {
|
|
149569
|
+
return [doResult, { status: "request-error", request: req }];
|
|
149570
|
+
}
|
|
149571
|
+
const response = doResult.value;
|
|
149572
|
+
const [result] = await match(json(200, RepositoryList$inboundSchema), fail("4XX"), fail("5XX"))(response, req);
|
|
149573
|
+
if (!result.ok) {
|
|
149574
|
+
return [result, { status: "complete", request: req, response }];
|
|
149575
|
+
}
|
|
149576
|
+
return [result, { status: "complete", request: req, response }];
|
|
149577
|
+
}
|
|
149578
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = __esm(() => {
|
|
149579
|
+
init_encodings();
|
|
149580
|
+
init_http();
|
|
149581
|
+
init_matchers();
|
|
149582
|
+
init_primitives();
|
|
149583
|
+
init_schemas4();
|
|
149584
|
+
init_security();
|
|
149585
|
+
init_url();
|
|
149586
|
+
init_components();
|
|
149587
|
+
init_operations();
|
|
149588
|
+
init_async();
|
|
149589
|
+
});
|
|
149590
|
+
|
|
149591
|
+
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
149592
|
+
var args360, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
149593
|
+
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
149594
|
+
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
149595
|
+
init_operations();
|
|
149596
|
+
init_tools();
|
|
149597
|
+
args360 = {
|
|
149598
|
+
request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
147899
149599
|
};
|
|
147900
|
-
|
|
149600
|
+
tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
|
|
149601
|
+
name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
|
|
149602
|
+
description: `Refresh Repositories`,
|
|
149603
|
+
args: args360,
|
|
149604
|
+
tool: async (client, args361, ctx) => {
|
|
149605
|
+
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args361.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
149606
|
+
if (!result.ok) {
|
|
149607
|
+
return {
|
|
149608
|
+
content: [{ type: "text", text: result.error.message }],
|
|
149609
|
+
isError: true
|
|
149610
|
+
};
|
|
149611
|
+
}
|
|
149612
|
+
const value = result.value;
|
|
149613
|
+
return formatResult(value, apiCall);
|
|
149614
|
+
}
|
|
149615
|
+
};
|
|
149616
|
+
});
|
|
149617
|
+
|
|
149618
|
+
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
149619
|
+
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
149620
|
+
return new APIPromise($do370(client, request, options));
|
|
149621
|
+
}
|
|
149622
|
+
async function $do370(client, request, options) {
|
|
149623
|
+
const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
149624
|
+
if (!parsed.ok) {
|
|
149625
|
+
return [parsed, { status: "invalid" }];
|
|
149626
|
+
}
|
|
149627
|
+
const payload = parsed.value;
|
|
149628
|
+
const body = encodeJSON("body", payload.ResolveReferenceRequest, {
|
|
149629
|
+
explode: true
|
|
149630
|
+
});
|
|
149631
|
+
const path = pathToFunc("/api/v1/sandbox/github/repositories/resolve")();
|
|
147901
149632
|
const headers = new Headers(compactMap({
|
|
147902
149633
|
"Content-Type": "application/json",
|
|
147903
149634
|
Accept: "application/json",
|
|
@@ -147909,7 +149640,7 @@ async function $do361(client, request, options) {
|
|
|
147909
149640
|
const context = {
|
|
147910
149641
|
options: client._options,
|
|
147911
149642
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
147912
|
-
operationID: "
|
|
149643
|
+
operationID: "resolve_reference_api_v1_sandbox_github_repositories_resolve_post",
|
|
147913
149644
|
oAuth2Scopes: null,
|
|
147914
149645
|
resolvedSecurity: requestSecurity,
|
|
147915
149646
|
securitySource: client._options.bearerAuth,
|
|
@@ -147952,13 +149683,13 @@ async function $do361(client, request, options) {
|
|
|
147952
149683
|
const responseFields = {
|
|
147953
149684
|
HttpMeta: { Response: response, Request: req }
|
|
147954
149685
|
};
|
|
147955
|
-
const [result] = await match(json(200,
|
|
149686
|
+
const [result] = await match(json(200, ResolvedReference$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
147956
149687
|
if (!result.ok) {
|
|
147957
149688
|
return [result, { status: "complete", request: req, response }];
|
|
147958
149689
|
}
|
|
147959
149690
|
return [result, { status: "complete", request: req, response }];
|
|
147960
149691
|
}
|
|
147961
|
-
var
|
|
149692
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = __esm(() => {
|
|
147962
149693
|
init_encodings();
|
|
147963
149694
|
init_http();
|
|
147964
149695
|
init_matchers();
|
|
@@ -147972,21 +149703,21 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
147972
149703
|
init_async();
|
|
147973
149704
|
});
|
|
147974
149705
|
|
|
147975
|
-
// src/mcp-server/tools/
|
|
147976
|
-
var
|
|
147977
|
-
var
|
|
147978
|
-
|
|
149706
|
+
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
149707
|
+
var args361, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
149708
|
+
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
149709
|
+
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
147979
149710
|
init_operations();
|
|
147980
149711
|
init_tools();
|
|
147981
|
-
|
|
147982
|
-
request:
|
|
149712
|
+
args361 = {
|
|
149713
|
+
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
147983
149714
|
};
|
|
147984
|
-
tool$
|
|
147985
|
-
name: "schema-3-other-
|
|
147986
|
-
description: `
|
|
147987
|
-
args:
|
|
147988
|
-
tool: async (client,
|
|
147989
|
-
const [result, apiCall] = await
|
|
149715
|
+
tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
|
|
149716
|
+
name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
|
|
149717
|
+
description: `Resolve Reference`,
|
|
149718
|
+
args: args361,
|
|
149719
|
+
tool: async (client, args362, ctx) => {
|
|
149720
|
+
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args362.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
147990
149721
|
if (!result.ok) {
|
|
147991
149722
|
return {
|
|
147992
149723
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -147999,18 +149730,24 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
147999
149730
|
};
|
|
148000
149731
|
});
|
|
148001
149732
|
|
|
148002
|
-
// src/funcs/
|
|
148003
|
-
function
|
|
148004
|
-
return new APIPromise($
|
|
149733
|
+
// src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149734
|
+
function schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, request, options) {
|
|
149735
|
+
return new APIPromise($do371(client, request, options));
|
|
148005
149736
|
}
|
|
148006
|
-
async function $
|
|
148007
|
-
const parsed = safeParse4(request, (value) =>
|
|
149737
|
+
async function $do371(client, request, options) {
|
|
149738
|
+
const parsed = safeParse4(request, (value) => RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148008
149739
|
if (!parsed.ok) {
|
|
148009
149740
|
return [parsed, { status: "invalid" }];
|
|
148010
149741
|
}
|
|
148011
149742
|
const payload = parsed.value;
|
|
148012
149743
|
const body = null;
|
|
148013
|
-
const
|
|
149744
|
+
const pathParams = {
|
|
149745
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
149746
|
+
explode: false,
|
|
149747
|
+
charEncoding: "percent"
|
|
149748
|
+
})
|
|
149749
|
+
};
|
|
149750
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/environment-setup")(pathParams);
|
|
148014
149751
|
const headers = new Headers(compactMap({
|
|
148015
149752
|
Accept: "application/json",
|
|
148016
149753
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -148021,7 +149758,7 @@ async function $do362(client, request, options) {
|
|
|
148021
149758
|
const context = {
|
|
148022
149759
|
options: client._options,
|
|
148023
149760
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148024
|
-
operationID: "
|
|
149761
|
+
operationID: "run_environment_setup_api_v1_sandbox_sessions__session_id__environment_setup_post",
|
|
148025
149762
|
oAuth2Scopes: null,
|
|
148026
149763
|
resolvedSecurity: requestSecurity,
|
|
148027
149764
|
securitySource: client._options.bearerAuth,
|
|
@@ -148061,13 +149798,16 @@ async function $do362(client, request, options) {
|
|
|
148061
149798
|
return [doResult, { status: "request-error", request: req }];
|
|
148062
149799
|
}
|
|
148063
149800
|
const response = doResult.value;
|
|
148064
|
-
const
|
|
149801
|
+
const responseFields = {
|
|
149802
|
+
HttpMeta: { Response: response, Request: req }
|
|
149803
|
+
};
|
|
149804
|
+
const [result] = await match(json(200, EnvironmentSetupRunModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148065
149805
|
if (!result.ok) {
|
|
148066
149806
|
return [result, { status: "complete", request: req, response }];
|
|
148067
149807
|
}
|
|
148068
149808
|
return [result, { status: "complete", request: req, response }];
|
|
148069
149809
|
}
|
|
148070
|
-
var
|
|
149810
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = __esm(() => {
|
|
148071
149811
|
init_encodings();
|
|
148072
149812
|
init_http();
|
|
148073
149813
|
init_matchers();
|
|
@@ -148076,25 +149816,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148076
149816
|
init_security();
|
|
148077
149817
|
init_url();
|
|
148078
149818
|
init_components();
|
|
149819
|
+
init_errors4();
|
|
148079
149820
|
init_operations();
|
|
148080
149821
|
init_async();
|
|
148081
149822
|
});
|
|
148082
149823
|
|
|
148083
|
-
// src/mcp-server/tools/
|
|
148084
|
-
var
|
|
148085
|
-
var
|
|
148086
|
-
|
|
149824
|
+
// src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
149825
|
+
var args362, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
|
|
149826
|
+
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2 = __esm(() => {
|
|
149827
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost();
|
|
148087
149828
|
init_operations();
|
|
148088
149829
|
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
|
|
149830
|
+
args362 = {
|
|
149831
|
+
request: RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema
|
|
149832
|
+
};
|
|
149833
|
+
tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = {
|
|
149834
|
+
name: "schema-3-other-run-environment-setup-api-v1-sandbox-sessions-session-id-environment-setup-post",
|
|
149835
|
+
description: `Run Environment Setup`,
|
|
149836
|
+
args: args362,
|
|
149837
|
+
tool: async (client, args363, ctx) => {
|
|
149838
|
+
const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, args363.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148098
149839
|
if (!result.ok) {
|
|
148099
149840
|
return {
|
|
148100
149841
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148107,20 +149848,26 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
148107
149848
|
};
|
|
148108
149849
|
});
|
|
148109
149850
|
|
|
148110
|
-
// src/funcs/
|
|
148111
|
-
function
|
|
148112
|
-
return new APIPromise($
|
|
149851
|
+
// src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149852
|
+
function schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, request, options) {
|
|
149853
|
+
return new APIPromise($do372(client, request, options));
|
|
148113
149854
|
}
|
|
148114
|
-
async function $
|
|
148115
|
-
const parsed = safeParse4(request, (value) =>
|
|
149855
|
+
async function $do372(client, request, options) {
|
|
149856
|
+
const parsed = safeParse4(request, (value) => UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148116
149857
|
if (!parsed.ok) {
|
|
148117
149858
|
return [parsed, { status: "invalid" }];
|
|
148118
149859
|
}
|
|
148119
149860
|
const payload = parsed.value;
|
|
148120
|
-
const body = encodeJSON("body", payload.
|
|
149861
|
+
const body = encodeJSON("body", payload.SaveEnvironmentRequest, {
|
|
148121
149862
|
explode: true
|
|
148122
149863
|
});
|
|
148123
|
-
const
|
|
149864
|
+
const pathParams = {
|
|
149865
|
+
environment_id: encodeSimple("environment_id", payload.environment_id, {
|
|
149866
|
+
explode: false,
|
|
149867
|
+
charEncoding: "percent"
|
|
149868
|
+
})
|
|
149869
|
+
};
|
|
149870
|
+
const path = pathToFunc("/api/v1/sandbox/environments/{environment_id}")(pathParams);
|
|
148124
149871
|
const headers = new Headers(compactMap({
|
|
148125
149872
|
"Content-Type": "application/json",
|
|
148126
149873
|
Accept: "application/json",
|
|
@@ -148132,7 +149879,7 @@ async function $do363(client, request, options) {
|
|
|
148132
149879
|
const context = {
|
|
148133
149880
|
options: client._options,
|
|
148134
149881
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148135
|
-
operationID: "
|
|
149882
|
+
operationID: "update_environment_api_v1_sandbox_environments__environment_id__put",
|
|
148136
149883
|
oAuth2Scopes: null,
|
|
148137
149884
|
resolvedSecurity: requestSecurity,
|
|
148138
149885
|
securitySource: client._options.bearerAuth,
|
|
@@ -148150,7 +149897,7 @@ async function $do363(client, request, options) {
|
|
|
148150
149897
|
};
|
|
148151
149898
|
const requestRes = client._createRequest(context, {
|
|
148152
149899
|
security: requestSecurity,
|
|
148153
|
-
method: "
|
|
149900
|
+
method: "PUT",
|
|
148154
149901
|
baseURL: options?.serverURL,
|
|
148155
149902
|
path,
|
|
148156
149903
|
headers,
|
|
@@ -148175,13 +149922,13 @@ async function $do363(client, request, options) {
|
|
|
148175
149922
|
const responseFields = {
|
|
148176
149923
|
HttpMeta: { Response: response, Request: req }
|
|
148177
149924
|
};
|
|
148178
|
-
const [result] = await match(json(200,
|
|
149925
|
+
const [result] = await match(json(200, EnvironmentModel$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
148179
149926
|
if (!result.ok) {
|
|
148180
149927
|
return [result, { status: "complete", request: req, response }];
|
|
148181
149928
|
}
|
|
148182
149929
|
return [result, { status: "complete", request: req, response }];
|
|
148183
149930
|
}
|
|
148184
|
-
var
|
|
149931
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = __esm(() => {
|
|
148185
149932
|
init_encodings();
|
|
148186
149933
|
init_http();
|
|
148187
149934
|
init_matchers();
|
|
@@ -148195,21 +149942,21 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
|
|
|
148195
149942
|
init_async();
|
|
148196
149943
|
});
|
|
148197
149944
|
|
|
148198
|
-
// src/mcp-server/tools/
|
|
148199
|
-
var
|
|
148200
|
-
var
|
|
148201
|
-
|
|
149945
|
+
// src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
149946
|
+
var args363, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
|
|
149947
|
+
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2 = __esm(() => {
|
|
149948
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut();
|
|
148202
149949
|
init_operations();
|
|
148203
149950
|
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
|
|
149951
|
+
args363 = {
|
|
149952
|
+
request: UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema
|
|
149953
|
+
};
|
|
149954
|
+
tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = {
|
|
149955
|
+
name: "schema-3-other-update-environment-api-v1-sandbox-environments-environment-id-put",
|
|
149956
|
+
description: `Update Environment`,
|
|
149957
|
+
args: args363,
|
|
149958
|
+
tool: async (client, args364, ctx) => {
|
|
149959
|
+
const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, args364.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148213
149960
|
if (!result.ok) {
|
|
148214
149961
|
return {
|
|
148215
149962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148224,9 +149971,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
|
|
|
148224
149971
|
|
|
148225
149972
|
// src/funcs/usageCosts.ts
|
|
148226
149973
|
function usageCosts(client, request, options) {
|
|
148227
|
-
return new APIPromise($
|
|
149974
|
+
return new APIPromise($do373(client, request, options));
|
|
148228
149975
|
}
|
|
148229
|
-
async function $
|
|
149976
|
+
async function $do373(client, request, options) {
|
|
148230
149977
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148231
149978
|
if (!parsed.ok) {
|
|
148232
149979
|
return [parsed, { status: "invalid" }];
|
|
@@ -148309,12 +150056,12 @@ var init_usageCosts = __esm(() => {
|
|
|
148309
150056
|
});
|
|
148310
150057
|
|
|
148311
150058
|
// src/mcp-server/tools/usageCosts.ts
|
|
148312
|
-
var
|
|
150059
|
+
var args364, tool$usageCosts;
|
|
148313
150060
|
var init_usageCosts2 = __esm(() => {
|
|
148314
150061
|
init_usageCosts();
|
|
148315
150062
|
init_operations();
|
|
148316
150063
|
init_tools();
|
|
148317
|
-
|
|
150064
|
+
args364 = {
|
|
148318
150065
|
request: GetCostsRequest$inboundSchema
|
|
148319
150066
|
};
|
|
148320
150067
|
tool$usageCosts = {
|
|
@@ -148322,9 +150069,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
148322
150069
|
description: `Aggregate cost by dimension
|
|
148323
150070
|
|
|
148324
150071
|
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,
|
|
150072
|
+
args: args364,
|
|
150073
|
+
tool: async (client, args365, ctx) => {
|
|
150074
|
+
const [result, apiCall] = await usageCosts(client, args365.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148328
150075
|
if (!result.ok) {
|
|
148329
150076
|
return {
|
|
148330
150077
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148339,9 +150086,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
148339
150086
|
|
|
148340
150087
|
// src/funcs/usageSandbox.ts
|
|
148341
150088
|
function usageSandbox(client, request, options) {
|
|
148342
|
-
return new APIPromise($
|
|
150089
|
+
return new APIPromise($do374(client, request, options));
|
|
148343
150090
|
}
|
|
148344
|
-
async function $
|
|
150091
|
+
async function $do374(client, request, options) {
|
|
148345
150092
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
148346
150093
|
if (!parsed.ok) {
|
|
148347
150094
|
return [parsed, { status: "invalid" }];
|
|
@@ -148432,12 +150179,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
148432
150179
|
});
|
|
148433
150180
|
|
|
148434
150181
|
// src/mcp-server/tools/usageSandbox.ts
|
|
148435
|
-
var
|
|
150182
|
+
var args365, tool$usageSandbox;
|
|
148436
150183
|
var init_usageSandbox2 = __esm(() => {
|
|
148437
150184
|
init_usageSandbox();
|
|
148438
150185
|
init_operations();
|
|
148439
150186
|
init_tools();
|
|
148440
|
-
|
|
150187
|
+
args365 = {
|
|
148441
150188
|
request: GetSandboxUsageRequest$inboundSchema
|
|
148442
150189
|
};
|
|
148443
150190
|
tool$usageSandbox = {
|
|
@@ -148445,9 +150192,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
148445
150192
|
description: `Get Sandbox Usage
|
|
148446
150193
|
|
|
148447
150194
|
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,
|
|
150195
|
+
args: args365,
|
|
150196
|
+
tool: async (client, args366, ctx) => {
|
|
150197
|
+
const [result, apiCall] = await usageSandbox(client, args366.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
148451
150198
|
if (!result.ok) {
|
|
148452
150199
|
return {
|
|
148453
150200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -148464,7 +150211,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
148464
150211
|
function createMCPServer(deps) {
|
|
148465
150212
|
const server = new McpServer({
|
|
148466
150213
|
name: "SDK",
|
|
148467
|
-
version: "0.54.
|
|
150214
|
+
version: "0.54.13"
|
|
148468
150215
|
});
|
|
148469
150216
|
const client = new SDKCore({
|
|
148470
150217
|
bearerAuth: deps.bearerAuth,
|
|
@@ -148491,6 +150238,15 @@ function createMCPServer(deps) {
|
|
|
148491
150238
|
tool(tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost);
|
|
148492
150239
|
tool(tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost);
|
|
148493
150240
|
tool(tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost);
|
|
150241
|
+
tool(tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet);
|
|
150242
|
+
tool(tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut);
|
|
150243
|
+
tool(tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete);
|
|
150244
|
+
tool(tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet);
|
|
150245
|
+
tool(tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost);
|
|
150246
|
+
tool(tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet);
|
|
150247
|
+
tool(tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut);
|
|
150248
|
+
tool(tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete);
|
|
150249
|
+
tool(tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost);
|
|
148494
150250
|
tool(tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost);
|
|
148495
150251
|
tool(tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost);
|
|
148496
150252
|
tool(tool$sandboxCreate);
|
|
@@ -149204,15 +150960,24 @@ var init_server2 = __esm(() => {
|
|
|
149204
150960
|
init_sandboxUploadArchive2();
|
|
149205
150961
|
init_sandboxUploadFile2();
|
|
149206
150962
|
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2();
|
|
150963
|
+
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2();
|
|
149207
150964
|
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2();
|
|
149208
150965
|
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2();
|
|
150966
|
+
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2();
|
|
149209
150967
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2();
|
|
150968
|
+
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2();
|
|
149210
150969
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2();
|
|
150970
|
+
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2();
|
|
150971
|
+
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2();
|
|
149211
150972
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2();
|
|
150973
|
+
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2();
|
|
149212
150974
|
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2();
|
|
150975
|
+
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2();
|
|
149213
150976
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2();
|
|
149214
150977
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2();
|
|
149215
150978
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2();
|
|
150979
|
+
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2();
|
|
150980
|
+
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2();
|
|
149216
150981
|
init_usageCosts2();
|
|
149217
150982
|
init_usageSandbox2();
|
|
149218
150983
|
});
|
|
@@ -150392,7 +152157,7 @@ var routes = rn({
|
|
|
150392
152157
|
var app = Ve(routes, {
|
|
150393
152158
|
name: "mcp",
|
|
150394
152159
|
versionInfo: {
|
|
150395
|
-
currentVersion: "0.54.
|
|
152160
|
+
currentVersion: "0.54.13"
|
|
150396
152161
|
}
|
|
150397
152162
|
});
|
|
150398
152163
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -150400,5 +152165,5 @@ export {
|
|
|
150400
152165
|
app
|
|
150401
152166
|
};
|
|
150402
152167
|
|
|
150403
|
-
//# debugId=
|
|
152168
|
+
//# debugId=1305B6E9F1B6827264756E2164756E21
|
|
150404
152169
|
//# sourceMappingURL=mcp-server.js.map
|