@meetkai/mka1 0.54.49 → 0.54.51
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 +313 -304
- package/bin/mcp-server.js +929 -484
- package/bin/mcp-server.js.map +30 -21
- package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/commonjs/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/funcs/reposCreate.d.ts +3 -1
- package/dist/commonjs/funcs/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposCreate.js +3 -1
- package/dist/commonjs/funcs/reposCreate.js.map +1 -1
- package/dist/commonjs/funcs/reposList.d.ts +3 -1
- package/dist/commonjs/funcs/reposList.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposList.js +8 -2
- package/dist/commonjs/funcs/reposList.js.map +1 -1
- package/dist/commonjs/funcs/reposTagsDelete.d.ts +29 -0
- package/dist/commonjs/funcs/reposTagsDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/reposTagsDelete.js +155 -0
- package/dist/commonjs/funcs/reposTagsDelete.js.map +1 -0
- package/dist/commonjs/funcs/reposTagsList.d.ts +35 -0
- package/dist/commonjs/funcs/reposTagsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/reposTagsList.js +156 -0
- package/dist/commonjs/funcs/reposTagsList.js.map +1 -0
- package/dist/commonjs/funcs/reposUpdate.d.ts +15 -3
- package/dist/commonjs/funcs/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/reposUpdate.js +15 -3
- package/dist/commonjs/funcs/reposUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +5 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.js +3 -1
- package/dist/commonjs/mcp-server/tools/reposCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposList.js +3 -1
- package/dist/commonjs/mcp-server/tools/reposList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposTagsDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/reposTagsDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/reposTagsDelete.js +73 -0
- package/dist/commonjs/mcp-server/tools/reposTagsDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/reposTagsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/reposTagsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/reposTagsList.js +79 -0
- package/dist/commonjs/mcp-server/tools/reposTagsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/reposUpdate.js +15 -3
- package/dist/commonjs/mcp-server/tools/reposUpdate.js.map +1 -1
- package/dist/commonjs/models/components/createreporequest.d.ts +23 -0
- package/dist/commonjs/models/components/createreporequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createreporequest.js +16 -1
- package/dist/commonjs/models/components/createreporequest.js.map +1 -1
- package/dist/commonjs/models/components/featureflagenvironment.d.ts +10 -0
- package/dist/commonjs/models/components/featureflagenvironment.d.ts.map +1 -1
- package/dist/commonjs/models/components/featureflagenvironment.js +8 -0
- package/dist/commonjs/models/components/featureflagenvironment.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +3 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +3 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/patchreporequest.d.ts +9 -0
- package/dist/commonjs/models/components/patchreporequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/patchreporequest.js +3 -0
- package/dist/commonjs/models/components/patchreporequest.js.map +1 -1
- package/dist/commonjs/models/components/repo.d.ts +21 -0
- package/dist/commonjs/models/components/repo.d.ts.map +1 -1
- package/dist/commonjs/models/components/repo.js +5 -0
- package/dist/commonjs/models/components/repo.js.map +1 -1
- package/dist/commonjs/models/components/repokind.d.ts +36 -0
- package/dist/commonjs/models/components/repokind.d.ts.map +1 -0
- package/dist/commonjs/models/components/repokind.js +63 -0
- package/dist/commonjs/models/components/repokind.js.map +1 -0
- package/dist/commonjs/models/components/repotag.d.ts +42 -0
- package/dist/commonjs/models/components/repotag.d.ts.map +1 -0
- package/dist/commonjs/models/components/repotag.js +77 -0
- package/dist/commonjs/models/components/repotag.js.map +1 -0
- package/dist/commonjs/models/components/repotaglist.d.ts +29 -0
- package/dist/commonjs/models/components/repotaglist.d.ts.map +1 -0
- package/dist/commonjs/models/components/repotaglist.js +61 -0
- package/dist/commonjs/models/components/repotaglist.js.map +1 -0
- package/dist/commonjs/models/operations/deleterepotag.d.ts +35 -0
- package/dist/commonjs/models/operations/deleterepotag.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deleterepotag.js +73 -0
- package/dist/commonjs/models/operations/deleterepotag.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listrepos.d.ts +8 -0
- package/dist/commonjs/models/operations/listrepos.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listrepos.js +2 -0
- package/dist/commonjs/models/operations/listrepos.js.map +1 -1
- package/dist/commonjs/models/operations/listrepotags.d.ts +30 -0
- package/dist/commonjs/models/operations/listrepotags.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listrepotags.js +71 -0
- package/dist/commonjs/models/operations/listrepotags.js.map +1 -0
- package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/commonjs/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/commonjs/react-query/index.d.ts +2 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +2 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/reposCreate.d.ts +3 -1
- package/dist/commonjs/react-query/reposCreate.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposCreate.js +3 -1
- package/dist/commonjs/react-query/reposCreate.js.map +1 -1
- package/dist/commonjs/react-query/reposList.core.d.ts +2 -0
- package/dist/commonjs/react-query/reposList.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposList.core.js +4 -1
- package/dist/commonjs/react-query/reposList.core.js.map +1 -1
- package/dist/commonjs/react-query/reposList.d.ts +14 -5
- package/dist/commonjs/react-query/reposList.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposList.js +6 -2
- package/dist/commonjs/react-query/reposList.js.map +1 -1
- package/dist/commonjs/react-query/reposTagsDelete.d.ts +38 -0
- package/dist/commonjs/react-query/reposTagsDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/reposTagsDelete.js +56 -0
- package/dist/commonjs/react-query/reposTagsDelete.js.map +1 -0
- package/dist/commonjs/react-query/reposTagsList.core.d.ts +15 -0
- package/dist/commonjs/react-query/reposTagsList.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/reposTagsList.core.js +36 -0
- package/dist/commonjs/react-query/reposTagsList.core.js.map +1 -0
- package/dist/commonjs/react-query/reposTagsList.d.ts +69 -0
- package/dist/commonjs/react-query/reposTagsList.d.ts.map +1 -0
- package/dist/commonjs/react-query/reposTagsList.js +88 -0
- package/dist/commonjs/react-query/reposTagsList.js.map +1 -0
- package/dist/commonjs/react-query/reposUpdate.d.ts +15 -3
- package/dist/commonjs/react-query/reposUpdate.d.ts.map +1 -1
- package/dist/commonjs/react-query/reposUpdate.js +15 -3
- package/dist/commonjs/react-query/reposUpdate.js.map +1 -1
- package/dist/commonjs/sdk/environments.d.ts +1 -1
- package/dist/commonjs/sdk/environments.js +1 -1
- package/dist/commonjs/sdk/repos.d.ts +24 -5
- package/dist/commonjs/sdk/repos.d.ts.map +1 -1
- package/dist/commonjs/sdk/repos.js +25 -5
- package/dist/commonjs/sdk/repos.js.map +1 -1
- package/dist/commonjs/sdk/tags.d.ts +43 -0
- package/dist/commonjs/sdk/tags.d.ts.map +1 -0
- package/dist/commonjs/sdk/tags.js +55 -0
- package/dist/commonjs/sdk/tags.js.map +1 -0
- package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/esm/funcs/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/funcs/reposCreate.d.ts +3 -1
- package/dist/esm/funcs/reposCreate.d.ts.map +1 -1
- package/dist/esm/funcs/reposCreate.js +3 -1
- package/dist/esm/funcs/reposCreate.js.map +1 -1
- package/dist/esm/funcs/reposList.d.ts +3 -1
- package/dist/esm/funcs/reposList.d.ts.map +1 -1
- package/dist/esm/funcs/reposList.js +9 -3
- package/dist/esm/funcs/reposList.js.map +1 -1
- package/dist/esm/funcs/reposTagsDelete.d.ts +29 -0
- package/dist/esm/funcs/reposTagsDelete.d.ts.map +1 -0
- package/dist/esm/funcs/reposTagsDelete.js +119 -0
- package/dist/esm/funcs/reposTagsDelete.js.map +1 -0
- package/dist/esm/funcs/reposTagsList.d.ts +35 -0
- package/dist/esm/funcs/reposTagsList.d.ts.map +1 -0
- package/dist/esm/funcs/reposTagsList.js +120 -0
- package/dist/esm/funcs/reposTagsList.js.map +1 -0
- package/dist/esm/funcs/reposUpdate.d.ts +15 -3
- package/dist/esm/funcs/reposUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/reposUpdate.js +15 -3
- package/dist/esm/funcs/reposUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +5 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposCreate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposCreate.js +3 -1
- package/dist/esm/mcp-server/tools/reposCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposList.js +3 -1
- package/dist/esm/mcp-server/tools/reposList.js.map +1 -1
- package/dist/esm/mcp-server/tools/reposTagsDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/reposTagsDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/reposTagsDelete.js +37 -0
- package/dist/esm/mcp-server/tools/reposTagsDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/reposTagsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/reposTagsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/reposTagsList.js +43 -0
- package/dist/esm/mcp-server/tools/reposTagsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/reposUpdate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/reposUpdate.js +15 -3
- package/dist/esm/mcp-server/tools/reposUpdate.js.map +1 -1
- package/dist/esm/models/components/createreporequest.d.ts +23 -0
- package/dist/esm/models/components/createreporequest.d.ts.map +1 -1
- package/dist/esm/models/components/createreporequest.js +15 -0
- package/dist/esm/models/components/createreporequest.js.map +1 -1
- package/dist/esm/models/components/featureflagenvironment.d.ts +10 -0
- package/dist/esm/models/components/featureflagenvironment.d.ts.map +1 -1
- package/dist/esm/models/components/featureflagenvironment.js +8 -0
- package/dist/esm/models/components/featureflagenvironment.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +3 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +3 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/patchreporequest.d.ts +9 -0
- package/dist/esm/models/components/patchreporequest.d.ts.map +1 -1
- package/dist/esm/models/components/patchreporequest.js +3 -0
- package/dist/esm/models/components/patchreporequest.js.map +1 -1
- package/dist/esm/models/components/repo.d.ts +21 -0
- package/dist/esm/models/components/repo.d.ts.map +1 -1
- package/dist/esm/models/components/repo.js +5 -0
- package/dist/esm/models/components/repo.js.map +1 -1
- package/dist/esm/models/components/repokind.d.ts +36 -0
- package/dist/esm/models/components/repokind.d.ts.map +1 -0
- package/dist/esm/models/components/repokind.js +27 -0
- package/dist/esm/models/components/repokind.js.map +1 -0
- package/dist/esm/models/components/repotag.d.ts +42 -0
- package/dist/esm/models/components/repotag.d.ts.map +1 -0
- package/dist/esm/models/components/repotag.js +39 -0
- package/dist/esm/models/components/repotag.js.map +1 -0
- package/dist/esm/models/components/repotaglist.d.ts +29 -0
- package/dist/esm/models/components/repotaglist.d.ts.map +1 -0
- package/dist/esm/models/components/repotaglist.js +23 -0
- package/dist/esm/models/components/repotaglist.js.map +1 -0
- package/dist/esm/models/operations/deleterepotag.d.ts +35 -0
- package/dist/esm/models/operations/deleterepotag.d.ts.map +1 -0
- package/dist/esm/models/operations/deleterepotag.js +35 -0
- package/dist/esm/models/operations/deleterepotag.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listrepos.d.ts +8 -0
- package/dist/esm/models/operations/listrepos.d.ts.map +1 -1
- package/dist/esm/models/operations/listrepos.js +2 -0
- package/dist/esm/models/operations/listrepos.js.map +1 -1
- package/dist/esm/models/operations/listrepotags.d.ts +30 -0
- package/dist/esm/models/operations/listrepotags.d.ts.map +1 -0
- package/dist/esm/models/operations/listrepotags.js +33 -0
- package/dist/esm/models/operations/listrepotags.js.map +1 -0
- package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.d.ts +1 -1
- package/dist/esm/react-query/flagsEnvironmentsGenerateEvaluationKey.js +1 -1
- package/dist/esm/react-query/index.d.ts +2 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +2 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/reposCreate.d.ts +3 -1
- package/dist/esm/react-query/reposCreate.d.ts.map +1 -1
- package/dist/esm/react-query/reposCreate.js +3 -1
- package/dist/esm/react-query/reposCreate.js.map +1 -1
- package/dist/esm/react-query/reposList.core.d.ts +2 -0
- package/dist/esm/react-query/reposList.core.d.ts.map +1 -1
- package/dist/esm/react-query/reposList.core.js +4 -1
- package/dist/esm/react-query/reposList.core.js.map +1 -1
- package/dist/esm/react-query/reposList.d.ts +14 -5
- package/dist/esm/react-query/reposList.d.ts.map +1 -1
- package/dist/esm/react-query/reposList.js +6 -2
- package/dist/esm/react-query/reposList.js.map +1 -1
- package/dist/esm/react-query/reposTagsDelete.d.ts +38 -0
- package/dist/esm/react-query/reposTagsDelete.d.ts.map +1 -0
- package/dist/esm/react-query/reposTagsDelete.js +51 -0
- package/dist/esm/react-query/reposTagsDelete.js.map +1 -0
- package/dist/esm/react-query/reposTagsList.core.d.ts +15 -0
- package/dist/esm/react-query/reposTagsList.core.d.ts.map +1 -0
- package/dist/esm/react-query/reposTagsList.core.js +31 -0
- package/dist/esm/react-query/reposTagsList.core.js.map +1 -0
- package/dist/esm/react-query/reposTagsList.d.ts +69 -0
- package/dist/esm/react-query/reposTagsList.d.ts.map +1 -0
- package/dist/esm/react-query/reposTagsList.js +78 -0
- package/dist/esm/react-query/reposTagsList.js.map +1 -0
- package/dist/esm/react-query/reposUpdate.d.ts +15 -3
- package/dist/esm/react-query/reposUpdate.d.ts.map +1 -1
- package/dist/esm/react-query/reposUpdate.js +15 -3
- package/dist/esm/react-query/reposUpdate.js.map +1 -1
- package/dist/esm/sdk/environments.d.ts +1 -1
- package/dist/esm/sdk/environments.js +1 -1
- package/dist/esm/sdk/repos.d.ts +24 -5
- package/dist/esm/sdk/repos.d.ts.map +1 -1
- package/dist/esm/sdk/repos.js +25 -5
- package/dist/esm/sdk/repos.js.map +1 -1
- package/dist/esm/sdk/tags.d.ts +43 -0
- package/dist/esm/sdk/tags.d.ts.map +1 -0
- package/dist/esm/sdk/tags.js +51 -0
- package/dist/esm/sdk/tags.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/funcs/reposCreate.ts +3 -1
- package/src/funcs/reposList.ts +10 -3
- package/src/funcs/reposTagsDelete.ts +212 -0
- package/src/funcs/reposTagsList.ts +213 -0
- package/src/funcs/reposUpdate.ts +15 -3
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/mcp-server/tools/reposCreate.ts +3 -1
- package/src/mcp-server/tools/reposList.ts +3 -1
- package/src/mcp-server/tools/reposTagsDelete.ts +45 -0
- package/src/mcp-server/tools/reposTagsList.ts +52 -0
- package/src/mcp-server/tools/reposUpdate.ts +15 -3
- package/src/models/components/createreporequest.ts +31 -0
- package/src/models/components/featureflagenvironment.ts +18 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/patchreporequest.ts +15 -0
- package/src/models/components/repo.ts +29 -0
- package/src/models/components/repokind.ts +43 -0
- package/src/models/components/repotag.ts +90 -0
- package/src/models/components/repotaglist.ts +66 -0
- package/src/models/operations/deleterepotag.ts +84 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listrepos.ts +10 -0
- package/src/models/operations/listrepotags.ts +77 -0
- package/src/react-query/flagsEnvironmentsGenerateEvaluationKey.ts +1 -1
- package/src/react-query/index.ts +2 -0
- package/src/react-query/reposCreate.ts +3 -1
- package/src/react-query/reposList.core.ts +9 -2
- package/src/react-query/reposList.ts +17 -4
- package/src/react-query/reposTagsDelete.ts +119 -0
- package/src/react-query/reposTagsList.core.ts +75 -0
- package/src/react-query/reposTagsList.ts +167 -0
- package/src/react-query/reposUpdate.ts +15 -3
- package/src/sdk/environments.ts +1 -1
- package/src/sdk/repos.ts +27 -5
- package/src/sdk/tags.ts +69 -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.
|
|
52921
|
-
genVersion: "2.
|
|
52922
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
52920
|
+
sdkVersion: "0.54.51",
|
|
52921
|
+
genVersion: "2.941.0",
|
|
52922
|
+
userAgent: "speakeasy-sdk/typescript 0.54.51 2.941.0 1.1.0 @meetkai/mka1"
|
|
52923
52923
|
};
|
|
52924
52924
|
});
|
|
52925
52925
|
|
|
@@ -66352,15 +66352,25 @@ var init_createpromptresponse = __esm(() => {
|
|
|
66352
66352
|
});
|
|
66353
66353
|
|
|
66354
66354
|
// src/models/components/createreporequest.ts
|
|
66355
|
-
var CreateRepoRequest$inboundSchema, CreateRepoRequest$outboundSchema;
|
|
66355
|
+
var CreateRepoRequestKind, CreateRepoRequestKind$inboundSchema, CreateRepoRequestKind$outboundSchema, CreateRepoRequest$inboundSchema, CreateRepoRequest$outboundSchema;
|
|
66356
66356
|
var init_createreporequest = __esm(() => {
|
|
66357
66357
|
init_esm();
|
|
66358
|
+
CreateRepoRequestKind = {
|
|
66359
|
+
Repo: "repo",
|
|
66360
|
+
Model: "model",
|
|
66361
|
+
Dataset: "dataset",
|
|
66362
|
+
Image: "image"
|
|
66363
|
+
};
|
|
66364
|
+
CreateRepoRequestKind$inboundSchema = nativeEnumType(CreateRepoRequestKind);
|
|
66365
|
+
CreateRepoRequestKind$outboundSchema = CreateRepoRequestKind$inboundSchema;
|
|
66358
66366
|
CreateRepoRequest$inboundSchema = objectType({
|
|
66359
66367
|
description: stringType().optional(),
|
|
66368
|
+
kind: CreateRepoRequestKind$inboundSchema.default("repo"),
|
|
66360
66369
|
name: stringType()
|
|
66361
66370
|
});
|
|
66362
66371
|
CreateRepoRequest$outboundSchema = objectType({
|
|
66363
66372
|
description: stringType().optional(),
|
|
66373
|
+
kind: CreateRepoRequestKind$outboundSchema.default("repo"),
|
|
66364
66374
|
name: stringType()
|
|
66365
66375
|
});
|
|
66366
66376
|
});
|
|
@@ -69229,6 +69239,8 @@ var init_featureflagenvironment = __esm(() => {
|
|
|
69229
69239
|
init_primitives();
|
|
69230
69240
|
FeatureFlagEnvironment$inboundSchema = objectType({
|
|
69231
69241
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
69242
|
+
evaluation_key_configured: booleanType(),
|
|
69243
|
+
evaluation_key_hint: nullableType(stringType()),
|
|
69232
69244
|
id: stringType(),
|
|
69233
69245
|
key: stringType(),
|
|
69234
69246
|
name: stringType(),
|
|
@@ -69236,11 +69248,15 @@ var init_featureflagenvironment = __esm(() => {
|
|
|
69236
69248
|
}).transform((v2) => {
|
|
69237
69249
|
return remap(v2, {
|
|
69238
69250
|
created_at: "createdAt",
|
|
69251
|
+
evaluation_key_configured: "evaluationKeyConfigured",
|
|
69252
|
+
evaluation_key_hint: "evaluationKeyHint",
|
|
69239
69253
|
updated_at: "updatedAt"
|
|
69240
69254
|
});
|
|
69241
69255
|
});
|
|
69242
69256
|
FeatureFlagEnvironment$outboundSchema = objectType({
|
|
69243
69257
|
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
69258
|
+
evaluationKeyConfigured: booleanType(),
|
|
69259
|
+
evaluationKeyHint: nullableType(stringType()),
|
|
69244
69260
|
id: stringType(),
|
|
69245
69261
|
key: stringType(),
|
|
69246
69262
|
name: stringType(),
|
|
@@ -69248,6 +69264,8 @@ var init_featureflagenvironment = __esm(() => {
|
|
|
69248
69264
|
}).transform((v2) => {
|
|
69249
69265
|
return remap(v2, {
|
|
69250
69266
|
createdAt: "created_at",
|
|
69267
|
+
evaluationKeyConfigured: "evaluation_key_configured",
|
|
69268
|
+
evaluationKeyHint: "evaluation_key_hint",
|
|
69251
69269
|
updatedAt: "updated_at"
|
|
69252
69270
|
});
|
|
69253
69271
|
});
|
|
@@ -75538,16 +75556,33 @@ var init_param = __esm(() => {
|
|
|
75538
75556
|
});
|
|
75539
75557
|
});
|
|
75540
75558
|
|
|
75559
|
+
// src/models/components/repokind.ts
|
|
75560
|
+
var RepoKind, RepoKind$inboundSchema, RepoKind$outboundSchema;
|
|
75561
|
+
var init_repokind = __esm(() => {
|
|
75562
|
+
init_esm();
|
|
75563
|
+
RepoKind = {
|
|
75564
|
+
Repo: "repo",
|
|
75565
|
+
Model: "model",
|
|
75566
|
+
Dataset: "dataset",
|
|
75567
|
+
Image: "image"
|
|
75568
|
+
};
|
|
75569
|
+
RepoKind$inboundSchema = nativeEnumType(RepoKind);
|
|
75570
|
+
RepoKind$outboundSchema = RepoKind$inboundSchema;
|
|
75571
|
+
});
|
|
75572
|
+
|
|
75541
75573
|
// src/models/components/patchreporequest.ts
|
|
75542
75574
|
var PatchRepoRequest$inboundSchema, PatchRepoRequest$outboundSchema;
|
|
75543
75575
|
var init_patchreporequest = __esm(() => {
|
|
75544
75576
|
init_esm();
|
|
75577
|
+
init_repokind();
|
|
75545
75578
|
PatchRepoRequest$inboundSchema = objectType({
|
|
75546
75579
|
description: stringType().optional(),
|
|
75580
|
+
kind: RepoKind$inboundSchema.optional(),
|
|
75547
75581
|
name: stringType().optional()
|
|
75548
75582
|
});
|
|
75549
75583
|
PatchRepoRequest$outboundSchema = objectType({
|
|
75550
75584
|
description: stringType().optional(),
|
|
75585
|
+
kind: RepoKind$outboundSchema.optional(),
|
|
75551
75586
|
name: stringType().optional()
|
|
75552
75587
|
});
|
|
75553
75588
|
});
|
|
@@ -75894,10 +75929,13 @@ var Repo$inboundSchema, Repo$outboundSchema;
|
|
|
75894
75929
|
var init_repo = __esm(() => {
|
|
75895
75930
|
init_esm();
|
|
75896
75931
|
init_primitives();
|
|
75932
|
+
init_repokind();
|
|
75897
75933
|
Repo$inboundSchema = objectType({
|
|
75898
75934
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
75935
|
+
creator: nullableType(stringType()),
|
|
75899
75936
|
description: stringType(),
|
|
75900
75937
|
id: stringType(),
|
|
75938
|
+
kind: nullableType(RepoKind$inboundSchema),
|
|
75901
75939
|
name: stringType(),
|
|
75902
75940
|
org: stringType()
|
|
75903
75941
|
}).transform((v2) => {
|
|
@@ -75907,8 +75945,10 @@ var init_repo = __esm(() => {
|
|
|
75907
75945
|
});
|
|
75908
75946
|
Repo$outboundSchema = objectType({
|
|
75909
75947
|
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
75948
|
+
creator: nullableType(stringType()),
|
|
75910
75949
|
description: stringType(),
|
|
75911
75950
|
id: stringType(),
|
|
75951
|
+
kind: nullableType(RepoKind$outboundSchema),
|
|
75912
75952
|
name: stringType(),
|
|
75913
75953
|
org: stringType()
|
|
75914
75954
|
}).transform((v2) => {
|
|
@@ -75931,6 +75971,52 @@ var init_repositorylist = __esm(() => {
|
|
|
75931
75971
|
});
|
|
75932
75972
|
});
|
|
75933
75973
|
|
|
75974
|
+
// src/models/components/repotag.ts
|
|
75975
|
+
var RepoTag$inboundSchema, RepoTag$outboundSchema;
|
|
75976
|
+
var init_repotag = __esm(() => {
|
|
75977
|
+
init_esm();
|
|
75978
|
+
init_primitives();
|
|
75979
|
+
RepoTag$inboundSchema = objectType({
|
|
75980
|
+
digest: stringType(),
|
|
75981
|
+
media_type: stringType(),
|
|
75982
|
+
size: nullableType(numberType().int()),
|
|
75983
|
+
tag: stringType(),
|
|
75984
|
+
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
75985
|
+
}).transform((v2) => {
|
|
75986
|
+
return remap(v2, {
|
|
75987
|
+
media_type: "mediaType",
|
|
75988
|
+
updated_at: "updatedAt"
|
|
75989
|
+
});
|
|
75990
|
+
});
|
|
75991
|
+
RepoTag$outboundSchema = objectType({
|
|
75992
|
+
digest: stringType(),
|
|
75993
|
+
mediaType: stringType(),
|
|
75994
|
+
size: nullableType(numberType().int()),
|
|
75995
|
+
tag: stringType(),
|
|
75996
|
+
updatedAt: dateType().transform((v2) => v2.toISOString())
|
|
75997
|
+
}).transform((v2) => {
|
|
75998
|
+
return remap(v2, {
|
|
75999
|
+
mediaType: "media_type",
|
|
76000
|
+
updatedAt: "updated_at"
|
|
76001
|
+
});
|
|
76002
|
+
});
|
|
76003
|
+
});
|
|
76004
|
+
|
|
76005
|
+
// src/models/components/repotaglist.ts
|
|
76006
|
+
var RepoTagList$inboundSchema, RepoTagList$outboundSchema;
|
|
76007
|
+
var init_repotaglist = __esm(() => {
|
|
76008
|
+
init_esm();
|
|
76009
|
+
init_repotag();
|
|
76010
|
+
RepoTagList$inboundSchema = objectType({
|
|
76011
|
+
tags: arrayType(RepoTag$inboundSchema),
|
|
76012
|
+
truncated: booleanType()
|
|
76013
|
+
});
|
|
76014
|
+
RepoTagList$outboundSchema = objectType({
|
|
76015
|
+
tags: arrayType(RepoTag$outboundSchema),
|
|
76016
|
+
truncated: booleanType()
|
|
76017
|
+
});
|
|
76018
|
+
});
|
|
76019
|
+
|
|
75934
76020
|
// src/models/components/resolvedreference.ts
|
|
75935
76021
|
var ResolvedReference$inboundSchema, ResolvedReference$outboundSchema;
|
|
75936
76022
|
var init_resolvedreference = __esm(() => {
|
|
@@ -83124,7 +83210,10 @@ var init_components = __esm(() => {
|
|
|
83124
83210
|
init_registrysource();
|
|
83125
83211
|
init_reinforcementhyperparameters();
|
|
83126
83212
|
init_repo();
|
|
83213
|
+
init_repokind();
|
|
83127
83214
|
init_repositorylist();
|
|
83215
|
+
init_repotag();
|
|
83216
|
+
init_repotaglist();
|
|
83128
83217
|
init_requestcounts();
|
|
83129
83218
|
init_resolvedreference();
|
|
83130
83219
|
init_resolvereferencerequest();
|
|
@@ -96334,6 +96423,33 @@ var init_deleterepo = __esm(() => {
|
|
|
96334
96423
|
});
|
|
96335
96424
|
});
|
|
96336
96425
|
|
|
96426
|
+
// src/models/operations/deleterepotag.ts
|
|
96427
|
+
var DeleteRepoTagRequest$inboundSchema, DeleteRepoTagRequest$outboundSchema;
|
|
96428
|
+
var init_deleterepotag = __esm(() => {
|
|
96429
|
+
init_esm();
|
|
96430
|
+
init_primitives();
|
|
96431
|
+
DeleteRepoTagRequest$inboundSchema = objectType({
|
|
96432
|
+
org: stringType(),
|
|
96433
|
+
name: stringType(),
|
|
96434
|
+
tag: stringType(),
|
|
96435
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
96436
|
+
}).transform((v2) => {
|
|
96437
|
+
return remap(v2, {
|
|
96438
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
96439
|
+
});
|
|
96440
|
+
});
|
|
96441
|
+
DeleteRepoTagRequest$outboundSchema = objectType({
|
|
96442
|
+
org: stringType(),
|
|
96443
|
+
name: stringType(),
|
|
96444
|
+
tag: stringType(),
|
|
96445
|
+
xOnBehalfOf: stringType().optional()
|
|
96446
|
+
}).transform((v2) => {
|
|
96447
|
+
return remap(v2, {
|
|
96448
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
96449
|
+
});
|
|
96450
|
+
});
|
|
96451
|
+
});
|
|
96452
|
+
|
|
96337
96453
|
// src/models/operations/deleteresponse.ts
|
|
96338
96454
|
var DeleteResponseRequest$inboundSchema, DeleteResponseRequest$outboundSchema;
|
|
96339
96455
|
var init_deleteresponse = __esm(() => {
|
|
@@ -106310,6 +106426,7 @@ var init_listrepos = __esm(() => {
|
|
|
106310
106426
|
init_primitives();
|
|
106311
106427
|
init_components();
|
|
106312
106428
|
ListReposRequest$inboundSchema = objectType({
|
|
106429
|
+
kind: RepoKind$inboundSchema.optional(),
|
|
106313
106430
|
"X-On-Behalf-Of": stringType().optional()
|
|
106314
106431
|
}).transform((v2) => {
|
|
106315
106432
|
return remap(v2, {
|
|
@@ -106317,6 +106434,7 @@ var init_listrepos = __esm(() => {
|
|
|
106317
106434
|
});
|
|
106318
106435
|
});
|
|
106319
106436
|
ListReposRequest$outboundSchema = objectType({
|
|
106437
|
+
kind: RepoKind$outboundSchema.optional(),
|
|
106320
106438
|
xOnBehalfOf: stringType().optional()
|
|
106321
106439
|
}).transform((v2) => {
|
|
106322
106440
|
return remap(v2, {
|
|
@@ -106352,6 +106470,31 @@ var init_listrepositoriesapiv1sandboxgithubrepositoriesget = __esm(() => {
|
|
|
106352
106470
|
});
|
|
106353
106471
|
});
|
|
106354
106472
|
|
|
106473
|
+
// src/models/operations/listrepotags.ts
|
|
106474
|
+
var ListRepoTagsRequest$inboundSchema, ListRepoTagsRequest$outboundSchema;
|
|
106475
|
+
var init_listrepotags = __esm(() => {
|
|
106476
|
+
init_esm();
|
|
106477
|
+
init_primitives();
|
|
106478
|
+
ListRepoTagsRequest$inboundSchema = objectType({
|
|
106479
|
+
org: stringType(),
|
|
106480
|
+
name: stringType(),
|
|
106481
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
106482
|
+
}).transform((v2) => {
|
|
106483
|
+
return remap(v2, {
|
|
106484
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
106485
|
+
});
|
|
106486
|
+
});
|
|
106487
|
+
ListRepoTagsRequest$outboundSchema = objectType({
|
|
106488
|
+
org: stringType(),
|
|
106489
|
+
name: stringType(),
|
|
106490
|
+
xOnBehalfOf: stringType().optional()
|
|
106491
|
+
}).transform((v2) => {
|
|
106492
|
+
return remap(v2, {
|
|
106493
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
106494
|
+
});
|
|
106495
|
+
});
|
|
106496
|
+
});
|
|
106497
|
+
|
|
106355
106498
|
// src/models/operations/listresponsefeedback.ts
|
|
106356
106499
|
var ListResponseFeedbackQueryParamOrder, ListResponseFeedbackQueryParamRating, ListResponseFeedbackQueryParamOrder$inboundSchema, ListResponseFeedbackQueryParamOrder$outboundSchema, ListResponseFeedbackQueryParamRating$inboundSchema, ListResponseFeedbackQueryParamRating$outboundSchema, ListResponseFeedbackRequest$inboundSchema, ListResponseFeedbackRequest$outboundSchema;
|
|
106357
106500
|
var init_listresponsefeedback = __esm(() => {
|
|
@@ -113902,6 +114045,7 @@ var init_operations = __esm(() => {
|
|
|
113902
114045
|
init_deleteorgbudget();
|
|
113903
114046
|
init_deleteprompt();
|
|
113904
114047
|
init_deleterepo();
|
|
114048
|
+
init_deleterepotag();
|
|
113905
114049
|
init_deleteresponse();
|
|
113906
114050
|
init_deleteserviceaccount2();
|
|
113907
114051
|
init_deleteserviceaccountapikey2();
|
|
@@ -114083,6 +114227,7 @@ var init_operations = __esm(() => {
|
|
|
114083
114227
|
init_listpromptversions();
|
|
114084
114228
|
init_listrepos();
|
|
114085
114229
|
init_listrepositoriesapiv1sandboxgithubrepositoriesget();
|
|
114230
|
+
init_listrepotags();
|
|
114086
114231
|
init_listresponsefeedback();
|
|
114087
114232
|
init_listresponses();
|
|
114088
114233
|
init_listscopedapikeys2();
|
|
@@ -133496,7 +133641,7 @@ var init_flagsEnvironmentsGenerateEvaluationKey2 = __esm(() => {
|
|
|
133496
133641
|
name: "flags-environments-generate-evaluation-key",
|
|
133497
133642
|
description: `Generate or replace an environment evaluation key
|
|
133498
133643
|
|
|
133499
|
-
Returns the new plaintext key once. Only its SHA-256 digest
|
|
133644
|
+
Returns the new plaintext key once. Only its SHA-256 digest and a display hint are stored; generating another key immediately replaces the previous credential on this replica.`,
|
|
133500
133645
|
args: args162,
|
|
133501
133646
|
tool: async (client, args163, ctx) => {
|
|
133502
133647
|
const [result, apiCall] = await flagsEnvironmentsGenerateEvaluationKey(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -158632,7 +158777,9 @@ var init_reposCreate2 = __esm(() => {
|
|
|
158632
158777
|
|
|
158633
158778
|
Provisions a repository (org owner/admin only): DB insert
|
|
158634
158779
|
(authoritative) → Gitea create (rolled back on failure). The repository
|
|
158635
|
-
belongs to the caller's org.
|
|
158780
|
+
belongs to the caller's org. \`kind\` says what it will hold and defaults
|
|
158781
|
+
to \`repo\` (a plain git repository); it decides which protocol planes
|
|
158782
|
+
answer for the name (see the \`Repo\` schema).
|
|
158636
158783
|
`,
|
|
158637
158784
|
args: args370,
|
|
158638
158785
|
tool: async (client, args371, ctx) => {
|
|
@@ -158912,6 +159059,9 @@ async function $do381(client, request, options) {
|
|
|
158912
159059
|
const payload = parsed.value;
|
|
158913
159060
|
const body = null;
|
|
158914
159061
|
const path = pathToFunc("/api/v1/repos")();
|
|
159062
|
+
const query = encodeFormQuery({
|
|
159063
|
+
kind: payload.kind
|
|
159064
|
+
});
|
|
158915
159065
|
const headers = new Headers(compactMap({
|
|
158916
159066
|
Accept: "application/json",
|
|
158917
159067
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -158944,6 +159094,7 @@ async function $do381(client, request, options) {
|
|
|
158944
159094
|
baseURL: options?.serverURL,
|
|
158945
159095
|
path,
|
|
158946
159096
|
headers,
|
|
159097
|
+
query,
|
|
158947
159098
|
body,
|
|
158948
159099
|
userAgent: client._options.userAgent,
|
|
158949
159100
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -158965,7 +159116,7 @@ async function $do381(client, request, options) {
|
|
|
158965
159116
|
const responseFields = {
|
|
158966
159117
|
HttpMeta: { Response: response, Request: req }
|
|
158967
159118
|
};
|
|
158968
|
-
const [result] = await match(json(200, ListReposResponseBody$inboundSchema), jsonErr([401, 403], RepoError$inboundSchema), jsonErr([500, 503], RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159119
|
+
const [result] = await match(json(200, ListReposResponseBody$inboundSchema), jsonErr([400, 401, 403], RepoError$inboundSchema), jsonErr([500, 503], RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
158969
159120
|
if (!result.ok) {
|
|
158970
159121
|
return [result, { status: "complete", request: req, response }];
|
|
158971
159122
|
}
|
|
@@ -158998,7 +159149,9 @@ var init_reposList2 = __esm(() => {
|
|
|
158998
159149
|
description: `List the caller's org's repositories
|
|
158999
159150
|
|
|
159000
159151
|
Returns every repository in the caller's org (org owner/admin only).
|
|
159001
|
-
Pure DB read.
|
|
159152
|
+
Pure DB read. With \`kind\`, only repositories of that kind; an untyped
|
|
159153
|
+
(legacy, \`kind: null\`) repository appears in the unfiltered listing
|
|
159154
|
+
only.
|
|
159002
159155
|
`,
|
|
159003
159156
|
args: args373,
|
|
159004
159157
|
tool: async (client, args374, ctx) => {
|
|
@@ -159015,17 +159168,17 @@ Pure DB read.
|
|
|
159015
159168
|
};
|
|
159016
159169
|
});
|
|
159017
159170
|
|
|
159018
|
-
// src/funcs/
|
|
159019
|
-
function
|
|
159171
|
+
// src/funcs/reposTagsDelete.ts
|
|
159172
|
+
function reposTagsDelete(client, request, options) {
|
|
159020
159173
|
return new APIPromise($do382(client, request, options));
|
|
159021
159174
|
}
|
|
159022
159175
|
async function $do382(client, request, options) {
|
|
159023
|
-
const parsed = safeParse4(request, (value) =>
|
|
159176
|
+
const parsed = safeParse4(request, (value) => DeleteRepoTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159024
159177
|
if (!parsed.ok) {
|
|
159025
159178
|
return [parsed, { status: "invalid" }];
|
|
159026
159179
|
}
|
|
159027
159180
|
const payload = parsed.value;
|
|
159028
|
-
const body =
|
|
159181
|
+
const body = null;
|
|
159029
159182
|
const pathParams = {
|
|
159030
159183
|
name: encodeSimple("name", payload.name, {
|
|
159031
159184
|
explode: false,
|
|
@@ -159034,11 +159187,14 @@ async function $do382(client, request, options) {
|
|
|
159034
159187
|
org: encodeSimple("org", payload.org, {
|
|
159035
159188
|
explode: false,
|
|
159036
159189
|
charEncoding: "percent"
|
|
159190
|
+
}),
|
|
159191
|
+
tag: encodeSimple("tag", payload.tag, {
|
|
159192
|
+
explode: false,
|
|
159193
|
+
charEncoding: "percent"
|
|
159037
159194
|
})
|
|
159038
159195
|
};
|
|
159039
|
-
const path = pathToFunc("/api/v1/repos/{org}/{name}")(pathParams);
|
|
159196
|
+
const path = pathToFunc("/api/v1/repos/{org}/{name}/tags/{tag}")(pathParams);
|
|
159040
159197
|
const headers = new Headers(compactMap({
|
|
159041
|
-
"Content-Type": "application/json",
|
|
159042
159198
|
Accept: "application/json",
|
|
159043
159199
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159044
159200
|
}));
|
|
@@ -159048,7 +159204,7 @@ async function $do382(client, request, options) {
|
|
|
159048
159204
|
const context = {
|
|
159049
159205
|
options: client._options,
|
|
159050
159206
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159051
|
-
operationID: "
|
|
159207
|
+
operationID: "deleteRepoTag",
|
|
159052
159208
|
oAuth2Scopes: null,
|
|
159053
159209
|
resolvedSecurity: requestSecurity,
|
|
159054
159210
|
securitySource: client._options.bearerAuth,
|
|
@@ -159066,7 +159222,7 @@ async function $do382(client, request, options) {
|
|
|
159066
159222
|
};
|
|
159067
159223
|
const requestRes = client._createRequest(context, {
|
|
159068
159224
|
security: requestSecurity,
|
|
159069
|
-
method: "
|
|
159225
|
+
method: "DELETE",
|
|
159070
159226
|
baseURL: options?.serverURL,
|
|
159071
159227
|
path,
|
|
159072
159228
|
headers,
|
|
@@ -159091,13 +159247,14 @@ async function $do382(client, request, options) {
|
|
|
159091
159247
|
const responseFields = {
|
|
159092
159248
|
HttpMeta: { Response: response, Request: req }
|
|
159093
159249
|
};
|
|
159094
|
-
const [result] = await match(
|
|
159250
|
+
const [result] = await match(nil(204, voidType()), jsonErr([401, 403, 404], RepoError$inboundSchema), jsonErr(500, RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159095
159251
|
if (!result.ok) {
|
|
159096
159252
|
return [result, { status: "complete", request: req, response }];
|
|
159097
159253
|
}
|
|
159098
159254
|
return [result, { status: "complete", request: req, response }];
|
|
159099
159255
|
}
|
|
159100
|
-
var
|
|
159256
|
+
var init_reposTagsDelete = __esm(() => {
|
|
159257
|
+
init_esm();
|
|
159101
159258
|
init_encodings();
|
|
159102
159259
|
init_http();
|
|
159103
159260
|
init_matchers();
|
|
@@ -159105,60 +159262,72 @@ var init_reposUpdate = __esm(() => {
|
|
|
159105
159262
|
init_schemas4();
|
|
159106
159263
|
init_security();
|
|
159107
159264
|
init_url();
|
|
159108
|
-
init_components();
|
|
159109
159265
|
init_errors4();
|
|
159110
159266
|
init_operations();
|
|
159111
159267
|
init_async();
|
|
159112
159268
|
});
|
|
159113
159269
|
|
|
159114
|
-
// src/mcp-server/tools/
|
|
159115
|
-
var args374, tool$
|
|
159116
|
-
var
|
|
159117
|
-
|
|
159270
|
+
// src/mcp-server/tools/reposTagsDelete.ts
|
|
159271
|
+
var args374, tool$reposTagsDelete;
|
|
159272
|
+
var init_reposTagsDelete2 = __esm(() => {
|
|
159273
|
+
init_reposTagsDelete();
|
|
159118
159274
|
init_operations();
|
|
159119
159275
|
init_tools();
|
|
159120
159276
|
args374 = {
|
|
159121
|
-
request:
|
|
159122
|
-
};
|
|
159123
|
-
tool$
|
|
159124
|
-
name: "repos-
|
|
159125
|
-
description: `
|
|
159126
|
-
|
|
159127
|
-
|
|
159128
|
-
|
|
159129
|
-
|
|
159277
|
+
request: DeleteRepoTagRequest$inboundSchema
|
|
159278
|
+
};
|
|
159279
|
+
tool$reposTagsDelete = {
|
|
159280
|
+
name: "repos-tags-delete",
|
|
159281
|
+
description: `Delete an image tag
|
|
159282
|
+
|
|
159283
|
+
Removes one tag; org owner/admin only (\`write:repos\` for a key). The
|
|
159284
|
+
same untag as the registry's \`DELETE /v2/{org}/{name}/manifests/{tag}\`:
|
|
159285
|
+
the name goes and the image stays, reachable by digest and by any
|
|
159286
|
+
other tag that names it.
|
|
159287
|
+
|
|
159288
|
+
What makes a repository convertible afterwards is the kind switch
|
|
159289
|
+
itself: \`PATCH\` to another \`kind\` first collects every image no tag
|
|
159290
|
+
reaches (a multi-arch index's per-platform images included) and is
|
|
159291
|
+
refused with \`409 kind_has_content\` only for images a tag still
|
|
159292
|
+
names. So delete the tags the listing shows, then switch.
|
|
159130
159293
|
`,
|
|
159131
159294
|
args: args374,
|
|
159132
159295
|
tool: async (client, args375, ctx) => {
|
|
159133
|
-
const [result, apiCall] = await
|
|
159296
|
+
const [result, apiCall] = await reposTagsDelete(client, args375.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159134
159297
|
if (!result.ok) {
|
|
159135
159298
|
return {
|
|
159136
159299
|
content: [{ type: "text", text: result.error.message }],
|
|
159137
159300
|
isError: true
|
|
159138
159301
|
};
|
|
159139
159302
|
}
|
|
159140
|
-
|
|
159141
|
-
return formatResult(value, apiCall);
|
|
159303
|
+
return formatResult(undefined, apiCall);
|
|
159142
159304
|
}
|
|
159143
159305
|
};
|
|
159144
159306
|
});
|
|
159145
159307
|
|
|
159146
|
-
// src/funcs/
|
|
159147
|
-
function
|
|
159308
|
+
// src/funcs/reposTagsList.ts
|
|
159309
|
+
function reposTagsList(client, request, options) {
|
|
159148
159310
|
return new APIPromise($do383(client, request, options));
|
|
159149
159311
|
}
|
|
159150
159312
|
async function $do383(client, request, options) {
|
|
159151
|
-
const parsed = safeParse4(request, (value) =>
|
|
159313
|
+
const parsed = safeParse4(request, (value) => ListRepoTagsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159152
159314
|
if (!parsed.ok) {
|
|
159153
159315
|
return [parsed, { status: "invalid" }];
|
|
159154
159316
|
}
|
|
159155
159317
|
const payload = parsed.value;
|
|
159156
|
-
const body =
|
|
159157
|
-
|
|
159158
|
-
|
|
159159
|
-
|
|
159318
|
+
const body = null;
|
|
159319
|
+
const pathParams = {
|
|
159320
|
+
name: encodeSimple("name", payload.name, {
|
|
159321
|
+
explode: false,
|
|
159322
|
+
charEncoding: "percent"
|
|
159323
|
+
}),
|
|
159324
|
+
org: encodeSimple("org", payload.org, {
|
|
159325
|
+
explode: false,
|
|
159326
|
+
charEncoding: "percent"
|
|
159327
|
+
})
|
|
159328
|
+
};
|
|
159329
|
+
const path = pathToFunc("/api/v1/repos/{org}/{name}/tags")(pathParams);
|
|
159160
159330
|
const headers = new Headers(compactMap({
|
|
159161
|
-
"Content-Type": "application/json",
|
|
159162
159331
|
Accept: "application/json",
|
|
159163
159332
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159164
159333
|
}));
|
|
@@ -159168,7 +159337,7 @@ async function $do383(client, request, options) {
|
|
|
159168
159337
|
const context = {
|
|
159169
159338
|
options: client._options,
|
|
159170
159339
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159171
|
-
operationID: "
|
|
159340
|
+
operationID: "listRepoTags",
|
|
159172
159341
|
oAuth2Scopes: null,
|
|
159173
159342
|
resolvedSecurity: requestSecurity,
|
|
159174
159343
|
securitySource: client._options.bearerAuth,
|
|
@@ -159186,7 +159355,7 @@ async function $do383(client, request, options) {
|
|
|
159186
159355
|
};
|
|
159187
159356
|
const requestRes = client._createRequest(context, {
|
|
159188
159357
|
security: requestSecurity,
|
|
159189
|
-
method: "
|
|
159358
|
+
method: "GET",
|
|
159190
159359
|
baseURL: options?.serverURL,
|
|
159191
159360
|
path,
|
|
159192
159361
|
headers,
|
|
@@ -159211,13 +159380,13 @@ async function $do383(client, request, options) {
|
|
|
159211
159380
|
const responseFields = {
|
|
159212
159381
|
HttpMeta: { Response: response, Request: req }
|
|
159213
159382
|
};
|
|
159214
|
-
const [result] = await match(json(
|
|
159383
|
+
const [result] = await match(json(200, RepoTagList$inboundSchema), jsonErr([401, 403, 404], RepoError$inboundSchema), jsonErr(500, RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159215
159384
|
if (!result.ok) {
|
|
159216
159385
|
return [result, { status: "complete", request: req, response }];
|
|
159217
159386
|
}
|
|
159218
159387
|
return [result, { status: "complete", request: req, response }];
|
|
159219
159388
|
}
|
|
159220
|
-
var
|
|
159389
|
+
var init_reposTagsList = __esm(() => {
|
|
159221
159390
|
init_encodings();
|
|
159222
159391
|
init_http();
|
|
159223
159392
|
init_matchers();
|
|
@@ -159231,23 +159400,38 @@ var init_sandboxCreate = __esm(() => {
|
|
|
159231
159400
|
init_async();
|
|
159232
159401
|
});
|
|
159233
159402
|
|
|
159234
|
-
// src/mcp-server/tools/
|
|
159235
|
-
var args375, tool$
|
|
159236
|
-
var
|
|
159237
|
-
|
|
159403
|
+
// src/mcp-server/tools/reposTagsList.ts
|
|
159404
|
+
var args375, tool$reposTagsList;
|
|
159405
|
+
var init_reposTagsList2 = __esm(() => {
|
|
159406
|
+
init_reposTagsList();
|
|
159238
159407
|
init_operations();
|
|
159239
159408
|
init_tools();
|
|
159240
159409
|
args375 = {
|
|
159241
|
-
request:
|
|
159242
|
-
};
|
|
159243
|
-
tool$
|
|
159244
|
-
name: "
|
|
159245
|
-
description: `
|
|
159246
|
-
|
|
159247
|
-
|
|
159410
|
+
request: ListRepoTagsRequest$inboundSchema
|
|
159411
|
+
};
|
|
159412
|
+
tool$reposTagsList = {
|
|
159413
|
+
name: "repos-tags-list",
|
|
159414
|
+
description: `List an image repository's tags
|
|
159415
|
+
|
|
159416
|
+
Lists the container-image tags a repository holds, newest-moved first,
|
|
159417
|
+
each with the manifest it points at, the manifest's media type, the
|
|
159418
|
+
image's declared size and when the tag last moved. The same access
|
|
159419
|
+
check as reading the repository (org owner/admin; \`read:repos\` for a
|
|
159420
|
+
key).
|
|
159421
|
+
|
|
159422
|
+
It is a fact about what the repository HOLDS, not about its \`kind\`:
|
|
159423
|
+
a \`model\` lists \`[]\`, and a legacy \`kind: null\` repository that still
|
|
159424
|
+
holds images lists them — those are the tags a \`409 kind_has_content\`
|
|
159425
|
+
on PATCH is about, and deleting them through this API is what makes
|
|
159426
|
+
that PATCH go through.
|
|
159427
|
+
|
|
159428
|
+
One page, of at most 1000 tags; \`truncated\` says whether the
|
|
159429
|
+
repository holds more. The registry's own \`GET /v2/{org}/{name}/tags/list\`
|
|
159430
|
+
is the paginated, names-only listing every OCI client speaks.
|
|
159431
|
+
`,
|
|
159248
159432
|
args: args375,
|
|
159249
159433
|
tool: async (client, args376, ctx) => {
|
|
159250
|
-
const [result, apiCall] = await
|
|
159434
|
+
const [result, apiCall] = await reposTagsList(client, args376.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159251
159435
|
if (!result.ok) {
|
|
159252
159436
|
return {
|
|
159253
159437
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159260,32 +159444,31 @@ Create a sandbox session and return its public session metadata, session token,
|
|
|
159260
159444
|
};
|
|
159261
159445
|
});
|
|
159262
159446
|
|
|
159263
|
-
// src/funcs/
|
|
159264
|
-
function
|
|
159447
|
+
// src/funcs/reposUpdate.ts
|
|
159448
|
+
function reposUpdate(client, request, options) {
|
|
159265
159449
|
return new APIPromise($do384(client, request, options));
|
|
159266
159450
|
}
|
|
159267
159451
|
async function $do384(client, request, options) {
|
|
159268
|
-
const parsed = safeParse4(request, (value) =>
|
|
159452
|
+
const parsed = safeParse4(request, (value) => PatchRepoRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
159269
159453
|
if (!parsed.ok) {
|
|
159270
159454
|
return [parsed, { status: "invalid" }];
|
|
159271
159455
|
}
|
|
159272
159456
|
const payload = parsed.value;
|
|
159273
|
-
const body = encodeJSON("body", payload.
|
|
159274
|
-
explode: true
|
|
159275
|
-
});
|
|
159457
|
+
const body = encodeJSON("body", payload.PatchRepoRequest, { explode: true });
|
|
159276
159458
|
const pathParams = {
|
|
159277
|
-
|
|
159459
|
+
name: encodeSimple("name", payload.name, {
|
|
159460
|
+
explode: false,
|
|
159461
|
+
charEncoding: "percent"
|
|
159462
|
+
}),
|
|
159463
|
+
org: encodeSimple("org", payload.org, {
|
|
159278
159464
|
explode: false,
|
|
159279
159465
|
charEncoding: "percent"
|
|
159280
159466
|
})
|
|
159281
159467
|
};
|
|
159282
|
-
const path = pathToFunc("/api/v1/
|
|
159283
|
-
const query = encodeFormQuery({
|
|
159284
|
-
session_token: payload.session_token
|
|
159285
|
-
});
|
|
159468
|
+
const path = pathToFunc("/api/v1/repos/{org}/{name}")(pathParams);
|
|
159286
159469
|
const headers = new Headers(compactMap({
|
|
159287
159470
|
"Content-Type": "application/json",
|
|
159288
|
-
Accept: "application/
|
|
159471
|
+
Accept: "application/json",
|
|
159289
159472
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159290
159473
|
}));
|
|
159291
159474
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -159294,7 +159477,7 @@ async function $do384(client, request, options) {
|
|
|
159294
159477
|
const context = {
|
|
159295
159478
|
options: client._options,
|
|
159296
159479
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159297
|
-
operationID: "
|
|
159480
|
+
operationID: "patchRepo",
|
|
159298
159481
|
oAuth2Scopes: null,
|
|
159299
159482
|
resolvedSecurity: requestSecurity,
|
|
159300
159483
|
securitySource: client._options.bearerAuth,
|
|
@@ -159312,11 +159495,10 @@ async function $do384(client, request, options) {
|
|
|
159312
159495
|
};
|
|
159313
159496
|
const requestRes = client._createRequest(context, {
|
|
159314
159497
|
security: requestSecurity,
|
|
159315
|
-
method: "
|
|
159498
|
+
method: "PATCH",
|
|
159316
159499
|
baseURL: options?.serverURL,
|
|
159317
159500
|
path,
|
|
159318
159501
|
headers,
|
|
159319
|
-
query,
|
|
159320
159502
|
body,
|
|
159321
159503
|
userAgent: client._options.userAgent,
|
|
159322
159504
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -159338,16 +159520,13 @@ async function $do384(client, request, options) {
|
|
|
159338
159520
|
const responseFields = {
|
|
159339
159521
|
HttpMeta: { Response: response, Request: req }
|
|
159340
159522
|
};
|
|
159341
|
-
const [result] = await match(
|
|
159342
|
-
ctype: "application/zip"
|
|
159343
|
-
}), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159523
|
+
const [result] = await match(json(200, Repo$inboundSchema), jsonErr([400, 401, 403, 404, 409], RepoError$inboundSchema), jsonErr(500, RepoError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159344
159524
|
if (!result.ok) {
|
|
159345
159525
|
return [result, { status: "complete", request: req, response }];
|
|
159346
159526
|
}
|
|
159347
159527
|
return [result, { status: "complete", request: req, response }];
|
|
159348
159528
|
}
|
|
159349
|
-
var
|
|
159350
|
-
init_esm();
|
|
159529
|
+
var init_reposUpdate = __esm(() => {
|
|
159351
159530
|
init_encodings();
|
|
159352
159531
|
init_http();
|
|
159353
159532
|
init_matchers();
|
|
@@ -159355,28 +159534,44 @@ var init_sandboxDownloadArchive = __esm(() => {
|
|
|
159355
159534
|
init_schemas4();
|
|
159356
159535
|
init_security();
|
|
159357
159536
|
init_url();
|
|
159537
|
+
init_components();
|
|
159358
159538
|
init_errors4();
|
|
159359
159539
|
init_operations();
|
|
159360
159540
|
init_async();
|
|
159361
159541
|
});
|
|
159362
159542
|
|
|
159363
|
-
// src/mcp-server/tools/
|
|
159364
|
-
var args376, tool$
|
|
159365
|
-
var
|
|
159366
|
-
|
|
159543
|
+
// src/mcp-server/tools/reposUpdate.ts
|
|
159544
|
+
var args376, tool$reposUpdate;
|
|
159545
|
+
var init_reposUpdate2 = __esm(() => {
|
|
159546
|
+
init_reposUpdate();
|
|
159367
159547
|
init_operations();
|
|
159368
159548
|
init_tools();
|
|
159369
159549
|
args376 = {
|
|
159370
|
-
request:
|
|
159550
|
+
request: PatchRepoRequest$inboundSchema2
|
|
159371
159551
|
};
|
|
159372
|
-
tool$
|
|
159373
|
-
name: "
|
|
159374
|
-
description: `
|
|
159552
|
+
tool$reposUpdate = {
|
|
159553
|
+
name: "repos-update",
|
|
159554
|
+
description: `Update a repository's labels
|
|
159375
159555
|
|
|
159376
|
-
|
|
159556
|
+
Applies a label-only update (name/description/kind); org owner/admin
|
|
159557
|
+
only. The repository id is stable, so a rename is a one-row DB update
|
|
159558
|
+
— no Gitea write. Omitted fields are left unchanged.
|
|
159559
|
+
|
|
159560
|
+
\`kind\` is the ONE way a repository's kind changes after creation (the
|
|
159561
|
+
protocol planes never change it): it types a legacy \`kind: null\`
|
|
159562
|
+
repository and corrects a wrong kind. \`repo\`, \`model\` and \`dataset\`
|
|
159563
|
+
convert freely and any repository may become \`image\`; a repository
|
|
159564
|
+
whose container images are still named by a tag can be given no
|
|
159565
|
+
other kind — leaving \`image\`, or typing a legacy \`null\` row as
|
|
159566
|
+
anything else, is refused with \`409 kind_has_content\` (list and
|
|
159567
|
+
delete the tags through this API first). A switch away from \`image\`
|
|
159568
|
+
collects every image no tag reaches before it is judged, so an image
|
|
159569
|
+
only ever pushed by digest, or untagged through the registry, never
|
|
159570
|
+
blocks it. A kind is never un-set.
|
|
159571
|
+
`,
|
|
159377
159572
|
args: args376,
|
|
159378
159573
|
tool: async (client, args377, ctx) => {
|
|
159379
|
-
const [result, apiCall] = await
|
|
159574
|
+
const [result, apiCall] = await reposUpdate(client, args377.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159380
159575
|
if (!result.ok) {
|
|
159381
159576
|
return {
|
|
159382
159577
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159389,33 +159584,23 @@ Download a zip archive containing the selected workspace paths.`,
|
|
|
159389
159584
|
};
|
|
159390
159585
|
});
|
|
159391
159586
|
|
|
159392
|
-
// src/funcs/
|
|
159393
|
-
function
|
|
159587
|
+
// src/funcs/sandboxCreate.ts
|
|
159588
|
+
function sandboxCreate(client, request, options) {
|
|
159394
159589
|
return new APIPromise($do385(client, request, options));
|
|
159395
159590
|
}
|
|
159396
159591
|
async function $do385(client, request, options) {
|
|
159397
|
-
const parsed = safeParse4(request, (value) =>
|
|
159592
|
+
const parsed = safeParse4(request, (value) => CreateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
159398
159593
|
if (!parsed.ok) {
|
|
159399
159594
|
return [parsed, { status: "invalid" }];
|
|
159400
159595
|
}
|
|
159401
159596
|
const payload = parsed.value;
|
|
159402
|
-
const body =
|
|
159403
|
-
|
|
159404
|
-
file_path: encodeSimple("file_path", payload.file_path, {
|
|
159405
|
-
explode: false,
|
|
159406
|
-
charEncoding: "percent"
|
|
159407
|
-
}),
|
|
159408
|
-
session_id: encodeSimple("session_id", payload.session_id, {
|
|
159409
|
-
explode: false,
|
|
159410
|
-
charEncoding: "percent"
|
|
159411
|
-
})
|
|
159412
|
-
};
|
|
159413
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
159414
|
-
const query = encodeFormQuery({
|
|
159415
|
-
session_token: payload.session_token
|
|
159597
|
+
const body = encodeJSON("body", payload.CreateSessionRequest, {
|
|
159598
|
+
explode: true
|
|
159416
159599
|
});
|
|
159600
|
+
const path = pathToFunc("/api/v1/sandbox/sessions")();
|
|
159417
159601
|
const headers = new Headers(compactMap({
|
|
159418
|
-
|
|
159602
|
+
"Content-Type": "application/json",
|
|
159603
|
+
Accept: "application/json",
|
|
159419
159604
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159420
159605
|
}));
|
|
159421
159606
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -159424,7 +159609,7 @@ async function $do385(client, request, options) {
|
|
|
159424
159609
|
const context = {
|
|
159425
159610
|
options: client._options,
|
|
159426
159611
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159427
|
-
operationID: "
|
|
159612
|
+
operationID: "createSession",
|
|
159428
159613
|
oAuth2Scopes: null,
|
|
159429
159614
|
resolvedSecurity: requestSecurity,
|
|
159430
159615
|
securitySource: client._options.bearerAuth,
|
|
@@ -159442,11 +159627,10 @@ async function $do385(client, request, options) {
|
|
|
159442
159627
|
};
|
|
159443
159628
|
const requestRes = client._createRequest(context, {
|
|
159444
159629
|
security: requestSecurity,
|
|
159445
|
-
method: "
|
|
159630
|
+
method: "POST",
|
|
159446
159631
|
baseURL: options?.serverURL,
|
|
159447
159632
|
path,
|
|
159448
159633
|
headers,
|
|
159449
|
-
query,
|
|
159450
159634
|
body,
|
|
159451
159635
|
userAgent: client._options.userAgent,
|
|
159452
159636
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -159468,14 +159652,13 @@ async function $do385(client, request, options) {
|
|
|
159468
159652
|
const responseFields = {
|
|
159469
159653
|
HttpMeta: { Response: response, Request: req }
|
|
159470
159654
|
};
|
|
159471
|
-
const [result] = await match(
|
|
159655
|
+
const [result] = await match(json([200, 202], CreateSessionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail([501, "5XX"]))(response, req, { extraFields: responseFields });
|
|
159472
159656
|
if (!result.ok) {
|
|
159473
159657
|
return [result, { status: "complete", request: req, response }];
|
|
159474
159658
|
}
|
|
159475
159659
|
return [result, { status: "complete", request: req, response }];
|
|
159476
159660
|
}
|
|
159477
|
-
var
|
|
159478
|
-
init_esm();
|
|
159661
|
+
var init_sandboxCreate = __esm(() => {
|
|
159479
159662
|
init_encodings();
|
|
159480
159663
|
init_http();
|
|
159481
159664
|
init_matchers();
|
|
@@ -159483,28 +159666,29 @@ var init_sandboxDownloadFile = __esm(() => {
|
|
|
159483
159666
|
init_schemas4();
|
|
159484
159667
|
init_security();
|
|
159485
159668
|
init_url();
|
|
159669
|
+
init_components();
|
|
159486
159670
|
init_errors4();
|
|
159487
159671
|
init_operations();
|
|
159488
159672
|
init_async();
|
|
159489
159673
|
});
|
|
159490
159674
|
|
|
159491
|
-
// src/mcp-server/tools/
|
|
159492
|
-
var args377, tool$
|
|
159493
|
-
var
|
|
159494
|
-
|
|
159675
|
+
// src/mcp-server/tools/sandboxCreate.ts
|
|
159676
|
+
var args377, tool$sandboxCreate;
|
|
159677
|
+
var init_sandboxCreate2 = __esm(() => {
|
|
159678
|
+
init_sandboxCreate();
|
|
159495
159679
|
init_operations();
|
|
159496
159680
|
init_tools();
|
|
159497
159681
|
args377 = {
|
|
159498
|
-
request:
|
|
159682
|
+
request: CreateSessionRequest$inboundSchema2
|
|
159499
159683
|
};
|
|
159500
|
-
tool$
|
|
159501
|
-
name: "sandbox-
|
|
159502
|
-
description: `
|
|
159684
|
+
tool$sandboxCreate = {
|
|
159685
|
+
name: "sandbox-create",
|
|
159686
|
+
description: `Create Session
|
|
159503
159687
|
|
|
159504
|
-
|
|
159688
|
+
Create a sandbox session and return its public session metadata, session token, and provider. Set \`session_kind\` to \`browser\` to start a browser-backed session instead of a standard command/code sandbox. Set \`queue_if_full\` to \`true\` to queue the request instead of failing when runner capacity is temporarily unavailable. It does not queue requests for session kinds the deployment does not support. Browser sessions require a Firecracker-backed deployment; standard-only deployments reject them immediately with \`browser_sessions_not_enabled\`.`,
|
|
159505
159689
|
args: args377,
|
|
159506
159690
|
tool: async (client, args378, ctx) => {
|
|
159507
|
-
const [result, apiCall] = await
|
|
159691
|
+
const [result, apiCall] = await sandboxCreate(client, args378.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159508
159692
|
if (!result.ok) {
|
|
159509
159693
|
return {
|
|
159510
159694
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159517,26 +159701,32 @@ Download raw bytes from a file in the session workspace.`,
|
|
|
159517
159701
|
};
|
|
159518
159702
|
});
|
|
159519
159703
|
|
|
159520
|
-
// src/funcs/
|
|
159521
|
-
function
|
|
159704
|
+
// src/funcs/sandboxDownloadArchive.ts
|
|
159705
|
+
function sandboxDownloadArchive(client, request, options) {
|
|
159522
159706
|
return new APIPromise($do386(client, request, options));
|
|
159523
159707
|
}
|
|
159524
159708
|
async function $do386(client, request, options) {
|
|
159525
|
-
const parsed = safeParse4(request, (value) =>
|
|
159709
|
+
const parsed = safeParse4(request, (value) => DownloadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159526
159710
|
if (!parsed.ok) {
|
|
159527
159711
|
return [parsed, { status: "invalid" }];
|
|
159528
159712
|
}
|
|
159529
159713
|
const payload = parsed.value;
|
|
159530
|
-
const body =
|
|
159714
|
+
const body = encodeJSON("body", payload.WorkspaceArchiveRequest, {
|
|
159715
|
+
explode: true
|
|
159716
|
+
});
|
|
159531
159717
|
const pathParams = {
|
|
159532
159718
|
session_id: encodeSimple("session_id", payload.session_id, {
|
|
159533
159719
|
explode: false,
|
|
159534
159720
|
charEncoding: "percent"
|
|
159535
159721
|
})
|
|
159536
159722
|
};
|
|
159537
|
-
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}")(pathParams);
|
|
159723
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/archive")(pathParams);
|
|
159724
|
+
const query = encodeFormQuery({
|
|
159725
|
+
session_token: payload.session_token
|
|
159726
|
+
});
|
|
159538
159727
|
const headers = new Headers(compactMap({
|
|
159539
|
-
|
|
159728
|
+
"Content-Type": "application/json",
|
|
159729
|
+
Accept: "application/zip",
|
|
159540
159730
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159541
159731
|
}));
|
|
159542
159732
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -159545,7 +159735,7 @@ async function $do386(client, request, options) {
|
|
|
159545
159735
|
const context = {
|
|
159546
159736
|
options: client._options,
|
|
159547
159737
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159548
|
-
operationID: "
|
|
159738
|
+
operationID: "downloadWorkspaceArchive",
|
|
159549
159739
|
oAuth2Scopes: null,
|
|
159550
159740
|
resolvedSecurity: requestSecurity,
|
|
159551
159741
|
securitySource: client._options.bearerAuth,
|
|
@@ -159563,7 +159753,258 @@ async function $do386(client, request, options) {
|
|
|
159563
159753
|
};
|
|
159564
159754
|
const requestRes = client._createRequest(context, {
|
|
159565
159755
|
security: requestSecurity,
|
|
159566
|
-
method: "
|
|
159756
|
+
method: "POST",
|
|
159757
|
+
baseURL: options?.serverURL,
|
|
159758
|
+
path,
|
|
159759
|
+
headers,
|
|
159760
|
+
query,
|
|
159761
|
+
body,
|
|
159762
|
+
userAgent: client._options.userAgent,
|
|
159763
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
159764
|
+
}, options);
|
|
159765
|
+
if (!requestRes.ok) {
|
|
159766
|
+
return [requestRes, { status: "invalid" }];
|
|
159767
|
+
}
|
|
159768
|
+
const req = requestRes.value;
|
|
159769
|
+
const doResult = await client._do(req, {
|
|
159770
|
+
context,
|
|
159771
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
159772
|
+
retryConfig: context.retryConfig,
|
|
159773
|
+
retryCodes: context.retryCodes
|
|
159774
|
+
});
|
|
159775
|
+
if (!doResult.ok) {
|
|
159776
|
+
return [doResult, { status: "request-error", request: req }];
|
|
159777
|
+
}
|
|
159778
|
+
const response = doResult.value;
|
|
159779
|
+
const responseFields = {
|
|
159780
|
+
HttpMeta: { Response: response, Request: req }
|
|
159781
|
+
};
|
|
159782
|
+
const [result] = await match(stream(200, instanceOfType(ReadableStream), {
|
|
159783
|
+
ctype: "application/zip"
|
|
159784
|
+
}), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159785
|
+
if (!result.ok) {
|
|
159786
|
+
return [result, { status: "complete", request: req, response }];
|
|
159787
|
+
}
|
|
159788
|
+
return [result, { status: "complete", request: req, response }];
|
|
159789
|
+
}
|
|
159790
|
+
var init_sandboxDownloadArchive = __esm(() => {
|
|
159791
|
+
init_esm();
|
|
159792
|
+
init_encodings();
|
|
159793
|
+
init_http();
|
|
159794
|
+
init_matchers();
|
|
159795
|
+
init_primitives();
|
|
159796
|
+
init_schemas4();
|
|
159797
|
+
init_security();
|
|
159798
|
+
init_url();
|
|
159799
|
+
init_errors4();
|
|
159800
|
+
init_operations();
|
|
159801
|
+
init_async();
|
|
159802
|
+
});
|
|
159803
|
+
|
|
159804
|
+
// src/mcp-server/tools/sandboxDownloadArchive.ts
|
|
159805
|
+
var args378, tool$sandboxDownloadArchive;
|
|
159806
|
+
var init_sandboxDownloadArchive2 = __esm(() => {
|
|
159807
|
+
init_sandboxDownloadArchive();
|
|
159808
|
+
init_operations();
|
|
159809
|
+
init_tools();
|
|
159810
|
+
args378 = {
|
|
159811
|
+
request: DownloadWorkspaceArchiveRequest$inboundSchema
|
|
159812
|
+
};
|
|
159813
|
+
tool$sandboxDownloadArchive = {
|
|
159814
|
+
name: "sandbox-download-archive",
|
|
159815
|
+
description: `Download Workspace Archive
|
|
159816
|
+
|
|
159817
|
+
Download a zip archive containing the selected workspace paths.`,
|
|
159818
|
+
args: args378,
|
|
159819
|
+
tool: async (client, args379, ctx) => {
|
|
159820
|
+
const [result, apiCall] = await sandboxDownloadArchive(client, args379.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159821
|
+
if (!result.ok) {
|
|
159822
|
+
return {
|
|
159823
|
+
content: [{ type: "text", text: result.error.message }],
|
|
159824
|
+
isError: true
|
|
159825
|
+
};
|
|
159826
|
+
}
|
|
159827
|
+
const value = result.value;
|
|
159828
|
+
return formatResult(value, apiCall);
|
|
159829
|
+
}
|
|
159830
|
+
};
|
|
159831
|
+
});
|
|
159832
|
+
|
|
159833
|
+
// src/funcs/sandboxDownloadFile.ts
|
|
159834
|
+
function sandboxDownloadFile(client, request, options) {
|
|
159835
|
+
return new APIPromise($do387(client, request, options));
|
|
159836
|
+
}
|
|
159837
|
+
async function $do387(client, request, options) {
|
|
159838
|
+
const parsed = safeParse4(request, (value) => DownloadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159839
|
+
if (!parsed.ok) {
|
|
159840
|
+
return [parsed, { status: "invalid" }];
|
|
159841
|
+
}
|
|
159842
|
+
const payload = parsed.value;
|
|
159843
|
+
const body = null;
|
|
159844
|
+
const pathParams = {
|
|
159845
|
+
file_path: encodeSimple("file_path", payload.file_path, {
|
|
159846
|
+
explode: false,
|
|
159847
|
+
charEncoding: "percent"
|
|
159848
|
+
}),
|
|
159849
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
159850
|
+
explode: false,
|
|
159851
|
+
charEncoding: "percent"
|
|
159852
|
+
})
|
|
159853
|
+
};
|
|
159854
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}/workspace/files/{file_path}")(pathParams);
|
|
159855
|
+
const query = encodeFormQuery({
|
|
159856
|
+
session_token: payload.session_token
|
|
159857
|
+
});
|
|
159858
|
+
const headers = new Headers(compactMap({
|
|
159859
|
+
Accept: "application/octet-stream",
|
|
159860
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159861
|
+
}));
|
|
159862
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
159863
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
159864
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
159865
|
+
const context = {
|
|
159866
|
+
options: client._options,
|
|
159867
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159868
|
+
operationID: "downloadWorkspaceFile",
|
|
159869
|
+
oAuth2Scopes: null,
|
|
159870
|
+
resolvedSecurity: requestSecurity,
|
|
159871
|
+
securitySource: client._options.bearerAuth,
|
|
159872
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
159873
|
+
strategy: "backoff",
|
|
159874
|
+
backoff: {
|
|
159875
|
+
initialInterval: 500,
|
|
159876
|
+
maxInterval: 5000,
|
|
159877
|
+
exponent: 1.5,
|
|
159878
|
+
maxElapsedTime: 15000
|
|
159879
|
+
},
|
|
159880
|
+
retryConnectionErrors: true
|
|
159881
|
+
},
|
|
159882
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
159883
|
+
};
|
|
159884
|
+
const requestRes = client._createRequest(context, {
|
|
159885
|
+
security: requestSecurity,
|
|
159886
|
+
method: "GET",
|
|
159887
|
+
baseURL: options?.serverURL,
|
|
159888
|
+
path,
|
|
159889
|
+
headers,
|
|
159890
|
+
query,
|
|
159891
|
+
body,
|
|
159892
|
+
userAgent: client._options.userAgent,
|
|
159893
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
159894
|
+
}, options);
|
|
159895
|
+
if (!requestRes.ok) {
|
|
159896
|
+
return [requestRes, { status: "invalid" }];
|
|
159897
|
+
}
|
|
159898
|
+
const req = requestRes.value;
|
|
159899
|
+
const doResult = await client._do(req, {
|
|
159900
|
+
context,
|
|
159901
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
159902
|
+
retryConfig: context.retryConfig,
|
|
159903
|
+
retryCodes: context.retryCodes
|
|
159904
|
+
});
|
|
159905
|
+
if (!doResult.ok) {
|
|
159906
|
+
return [doResult, { status: "request-error", request: req }];
|
|
159907
|
+
}
|
|
159908
|
+
const response = doResult.value;
|
|
159909
|
+
const responseFields = {
|
|
159910
|
+
HttpMeta: { Response: response, Request: req }
|
|
159911
|
+
};
|
|
159912
|
+
const [result] = await match(stream(200, instanceOfType(ReadableStream)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
159913
|
+
if (!result.ok) {
|
|
159914
|
+
return [result, { status: "complete", request: req, response }];
|
|
159915
|
+
}
|
|
159916
|
+
return [result, { status: "complete", request: req, response }];
|
|
159917
|
+
}
|
|
159918
|
+
var init_sandboxDownloadFile = __esm(() => {
|
|
159919
|
+
init_esm();
|
|
159920
|
+
init_encodings();
|
|
159921
|
+
init_http();
|
|
159922
|
+
init_matchers();
|
|
159923
|
+
init_primitives();
|
|
159924
|
+
init_schemas4();
|
|
159925
|
+
init_security();
|
|
159926
|
+
init_url();
|
|
159927
|
+
init_errors4();
|
|
159928
|
+
init_operations();
|
|
159929
|
+
init_async();
|
|
159930
|
+
});
|
|
159931
|
+
|
|
159932
|
+
// src/mcp-server/tools/sandboxDownloadFile.ts
|
|
159933
|
+
var args379, tool$sandboxDownloadFile;
|
|
159934
|
+
var init_sandboxDownloadFile2 = __esm(() => {
|
|
159935
|
+
init_sandboxDownloadFile();
|
|
159936
|
+
init_operations();
|
|
159937
|
+
init_tools();
|
|
159938
|
+
args379 = {
|
|
159939
|
+
request: DownloadWorkspaceFileRequest$inboundSchema
|
|
159940
|
+
};
|
|
159941
|
+
tool$sandboxDownloadFile = {
|
|
159942
|
+
name: "sandbox-download-file",
|
|
159943
|
+
description: `Download Workspace File
|
|
159944
|
+
|
|
159945
|
+
Download raw bytes from a file in the session workspace.`,
|
|
159946
|
+
args: args379,
|
|
159947
|
+
tool: async (client, args380, ctx) => {
|
|
159948
|
+
const [result, apiCall] = await sandboxDownloadFile(client, args380.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159949
|
+
if (!result.ok) {
|
|
159950
|
+
return {
|
|
159951
|
+
content: [{ type: "text", text: result.error.message }],
|
|
159952
|
+
isError: true
|
|
159953
|
+
};
|
|
159954
|
+
}
|
|
159955
|
+
const value = result.value;
|
|
159956
|
+
return formatResult(value, apiCall);
|
|
159957
|
+
}
|
|
159958
|
+
};
|
|
159959
|
+
});
|
|
159960
|
+
|
|
159961
|
+
// src/funcs/sandboxGet.ts
|
|
159962
|
+
function sandboxGet(client, request, options) {
|
|
159963
|
+
return new APIPromise($do388(client, request, options));
|
|
159964
|
+
}
|
|
159965
|
+
async function $do388(client, request, options) {
|
|
159966
|
+
const parsed = safeParse4(request, (value) => GetSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159967
|
+
if (!parsed.ok) {
|
|
159968
|
+
return [parsed, { status: "invalid" }];
|
|
159969
|
+
}
|
|
159970
|
+
const payload = parsed.value;
|
|
159971
|
+
const body = null;
|
|
159972
|
+
const pathParams = {
|
|
159973
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
159974
|
+
explode: false,
|
|
159975
|
+
charEncoding: "percent"
|
|
159976
|
+
})
|
|
159977
|
+
};
|
|
159978
|
+
const path = pathToFunc("/api/v1/sandbox/sessions/{session_id}")(pathParams);
|
|
159979
|
+
const headers = new Headers(compactMap({
|
|
159980
|
+
Accept: "application/json",
|
|
159981
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
159982
|
+
}));
|
|
159983
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
159984
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
159985
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
159986
|
+
const context = {
|
|
159987
|
+
options: client._options,
|
|
159988
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
159989
|
+
operationID: "getSession",
|
|
159990
|
+
oAuth2Scopes: null,
|
|
159991
|
+
resolvedSecurity: requestSecurity,
|
|
159992
|
+
securitySource: client._options.bearerAuth,
|
|
159993
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
159994
|
+
strategy: "backoff",
|
|
159995
|
+
backoff: {
|
|
159996
|
+
initialInterval: 500,
|
|
159997
|
+
maxInterval: 5000,
|
|
159998
|
+
exponent: 1.5,
|
|
159999
|
+
maxElapsedTime: 15000
|
|
160000
|
+
},
|
|
160001
|
+
retryConnectionErrors: true
|
|
160002
|
+
},
|
|
160003
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
160004
|
+
};
|
|
160005
|
+
const requestRes = client._createRequest(context, {
|
|
160006
|
+
security: requestSecurity,
|
|
160007
|
+
method: "GET",
|
|
159567
160008
|
baseURL: options?.serverURL,
|
|
159568
160009
|
path,
|
|
159569
160010
|
headers,
|
|
@@ -159609,12 +160050,12 @@ var init_sandboxGet = __esm(() => {
|
|
|
159609
160050
|
});
|
|
159610
160051
|
|
|
159611
160052
|
// src/mcp-server/tools/sandboxGet.ts
|
|
159612
|
-
var
|
|
160053
|
+
var args380, tool$sandboxGet;
|
|
159613
160054
|
var init_sandboxGet2 = __esm(() => {
|
|
159614
160055
|
init_sandboxGet();
|
|
159615
160056
|
init_operations();
|
|
159616
160057
|
init_tools();
|
|
159617
|
-
|
|
160058
|
+
args380 = {
|
|
159618
160059
|
request: GetSessionRequest$inboundSchema
|
|
159619
160060
|
};
|
|
159620
160061
|
tool$sandboxGet = {
|
|
@@ -159622,9 +160063,9 @@ var init_sandboxGet2 = __esm(() => {
|
|
|
159622
160063
|
description: `Get Session
|
|
159623
160064
|
|
|
159624
160065
|
Return the current state, configuration, and resource allocation for a sandbox session.`,
|
|
159625
|
-
args:
|
|
159626
|
-
tool: async (client,
|
|
159627
|
-
const [result, apiCall] = await sandboxGet(client,
|
|
160066
|
+
args: args380,
|
|
160067
|
+
tool: async (client, args381, ctx) => {
|
|
160068
|
+
const [result, apiCall] = await sandboxGet(client, args381.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159628
160069
|
if (!result.ok) {
|
|
159629
160070
|
return {
|
|
159630
160071
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159639,9 +160080,9 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
159639
160080
|
|
|
159640
160081
|
// src/funcs/sandboxGetBrowserUrl.ts
|
|
159641
160082
|
function sandboxGetBrowserUrl(client, request, options) {
|
|
159642
|
-
return new APIPromise($
|
|
160083
|
+
return new APIPromise($do389(client, request, options));
|
|
159643
160084
|
}
|
|
159644
|
-
async function $
|
|
160085
|
+
async function $do389(client, request, options) {
|
|
159645
160086
|
const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159646
160087
|
if (!parsed.ok) {
|
|
159647
160088
|
return [parsed, { status: "invalid" }];
|
|
@@ -159733,12 +160174,12 @@ var init_sandboxGetBrowserUrl = __esm(() => {
|
|
|
159733
160174
|
});
|
|
159734
160175
|
|
|
159735
160176
|
// src/mcp-server/tools/sandboxGetBrowserUrl.ts
|
|
159736
|
-
var
|
|
160177
|
+
var args381, tool$sandboxGetBrowserUrl;
|
|
159737
160178
|
var init_sandboxGetBrowserUrl2 = __esm(() => {
|
|
159738
160179
|
init_sandboxGetBrowserUrl();
|
|
159739
160180
|
init_operations();
|
|
159740
160181
|
init_tools();
|
|
159741
|
-
|
|
160182
|
+
args381 = {
|
|
159742
160183
|
request: GetBrowserSessionUrlRequest$inboundSchema
|
|
159743
160184
|
};
|
|
159744
160185
|
tool$sandboxGetBrowserUrl = {
|
|
@@ -159746,9 +160187,9 @@ var init_sandboxGetBrowserUrl2 = __esm(() => {
|
|
|
159746
160187
|
description: `Get Browser Session URL
|
|
159747
160188
|
|
|
159748
160189
|
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.`,
|
|
159749
|
-
args:
|
|
159750
|
-
tool: async (client,
|
|
159751
|
-
const [result, apiCall] = await sandboxGetBrowserUrl(client,
|
|
160190
|
+
args: args381,
|
|
160191
|
+
tool: async (client, args382, ctx) => {
|
|
160192
|
+
const [result, apiCall] = await sandboxGetBrowserUrl(client, args382.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159752
160193
|
if (!result.ok) {
|
|
159753
160194
|
return {
|
|
159754
160195
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159763,9 +160204,9 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
159763
160204
|
|
|
159764
160205
|
// src/funcs/sandboxGetPricing.ts
|
|
159765
160206
|
function sandboxGetPricing(client, options) {
|
|
159766
|
-
return new APIPromise($
|
|
160207
|
+
return new APIPromise($do390(client, options));
|
|
159767
160208
|
}
|
|
159768
|
-
async function $
|
|
160209
|
+
async function $do390(client, options) {
|
|
159769
160210
|
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
159770
160211
|
const headers = new Headers(compactMap({
|
|
159771
160212
|
Accept: "application/json"
|
|
@@ -159857,9 +160298,9 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
159857
160298
|
|
|
159858
160299
|
// src/funcs/sandboxGetWorkspace.ts
|
|
159859
160300
|
function sandboxGetWorkspace(client, request, options) {
|
|
159860
|
-
return new APIPromise($
|
|
160301
|
+
return new APIPromise($do391(client, request, options));
|
|
159861
160302
|
}
|
|
159862
|
-
async function $
|
|
160303
|
+
async function $do391(client, request, options) {
|
|
159863
160304
|
const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159864
160305
|
if (!parsed.ok) {
|
|
159865
160306
|
return [parsed, { status: "invalid" }];
|
|
@@ -159951,12 +160392,12 @@ var init_sandboxGetWorkspace = __esm(() => {
|
|
|
159951
160392
|
});
|
|
159952
160393
|
|
|
159953
160394
|
// src/mcp-server/tools/sandboxGetWorkspace.ts
|
|
159954
|
-
var
|
|
160395
|
+
var args382, tool$sandboxGetWorkspace;
|
|
159955
160396
|
var init_sandboxGetWorkspace2 = __esm(() => {
|
|
159956
160397
|
init_sandboxGetWorkspace();
|
|
159957
160398
|
init_operations();
|
|
159958
160399
|
init_tools();
|
|
159959
|
-
|
|
160400
|
+
args382 = {
|
|
159960
160401
|
request: GetWorkspaceRequest$inboundSchema
|
|
159961
160402
|
};
|
|
159962
160403
|
tool$sandboxGetWorkspace = {
|
|
@@ -159964,9 +160405,9 @@ var init_sandboxGetWorkspace2 = __esm(() => {
|
|
|
159964
160405
|
description: `Get Workspace Manifest
|
|
159965
160406
|
|
|
159966
160407
|
List files currently stored in the session workspace, including paths, sizes, and etags.`,
|
|
159967
|
-
args:
|
|
159968
|
-
tool: async (client,
|
|
159969
|
-
const [result, apiCall] = await sandboxGetWorkspace(client,
|
|
160408
|
+
args: args382,
|
|
160409
|
+
tool: async (client, args383, ctx) => {
|
|
160410
|
+
const [result, apiCall] = await sandboxGetWorkspace(client, args383.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
159970
160411
|
if (!result.ok) {
|
|
159971
160412
|
return {
|
|
159972
160413
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -159981,9 +160422,9 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
159981
160422
|
|
|
159982
160423
|
// src/funcs/sandboxList.ts
|
|
159983
160424
|
function sandboxList(client, request, options) {
|
|
159984
|
-
return new APIPromise($
|
|
160425
|
+
return new APIPromise($do392(client, request, options));
|
|
159985
160426
|
}
|
|
159986
|
-
async function $
|
|
160427
|
+
async function $do392(client, request, options) {
|
|
159987
160428
|
const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
159988
160429
|
if (!parsed.ok) {
|
|
159989
160430
|
return [parsed, { status: "invalid" }];
|
|
@@ -160066,12 +160507,12 @@ var init_sandboxList = __esm(() => {
|
|
|
160066
160507
|
});
|
|
160067
160508
|
|
|
160068
160509
|
// src/mcp-server/tools/sandboxList.ts
|
|
160069
|
-
var
|
|
160510
|
+
var args383, tool$sandboxList;
|
|
160070
160511
|
var init_sandboxList2 = __esm(() => {
|
|
160071
160512
|
init_sandboxList();
|
|
160072
160513
|
init_operations();
|
|
160073
160514
|
init_tools();
|
|
160074
|
-
|
|
160515
|
+
args383 = {
|
|
160075
160516
|
request: ListSessionsRequest$inboundSchema
|
|
160076
160517
|
};
|
|
160077
160518
|
tool$sandboxList = {
|
|
@@ -160079,9 +160520,9 @@ var init_sandboxList2 = __esm(() => {
|
|
|
160079
160520
|
description: `List Sessions
|
|
160080
160521
|
|
|
160081
160522
|
List sandbox sessions visible to the authenticated caller.`,
|
|
160082
|
-
args:
|
|
160083
|
-
tool: async (client,
|
|
160084
|
-
const [result, apiCall] = await sandboxList(client,
|
|
160523
|
+
args: args383,
|
|
160524
|
+
tool: async (client, args384, ctx) => {
|
|
160525
|
+
const [result, apiCall] = await sandboxList(client, args384.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160085
160526
|
if (!result.ok) {
|
|
160086
160527
|
return {
|
|
160087
160528
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160096,9 +160537,9 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
160096
160537
|
|
|
160097
160538
|
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
160098
160539
|
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
160099
|
-
return new APIPromise($
|
|
160540
|
+
return new APIPromise($do393(client, request, options));
|
|
160100
160541
|
}
|
|
160101
|
-
async function $
|
|
160542
|
+
async function $do393(client, request, options) {
|
|
160102
160543
|
const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160103
160544
|
if (!parsed.ok) {
|
|
160104
160545
|
return [parsed, { status: "invalid" }];
|
|
@@ -160198,12 +160639,12 @@ var init_sandboxProxyBrowserPortRequest = __esm(() => {
|
|
|
160198
160639
|
});
|
|
160199
160640
|
|
|
160200
160641
|
// src/mcp-server/tools/sandboxProxyBrowserPortRequest.ts
|
|
160201
|
-
var
|
|
160642
|
+
var args384, tool$sandboxProxyBrowserPortRequest;
|
|
160202
160643
|
var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
160203
160644
|
init_sandboxProxyBrowserPortRequest();
|
|
160204
160645
|
init_operations();
|
|
160205
160646
|
init_tools();
|
|
160206
|
-
|
|
160647
|
+
args384 = {
|
|
160207
160648
|
request: ProxyBrowserPortRequestRequest$inboundSchema
|
|
160208
160649
|
};
|
|
160209
160650
|
tool$sandboxProxyBrowserPortRequest = {
|
|
@@ -160211,9 +160652,9 @@ var init_sandboxProxyBrowserPortRequest2 = __esm(() => {
|
|
|
160211
160652
|
description: `Proxy Browser Port Request
|
|
160212
160653
|
|
|
160213
160654
|
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.`,
|
|
160214
|
-
args:
|
|
160215
|
-
tool: async (client,
|
|
160216
|
-
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client,
|
|
160655
|
+
args: args384,
|
|
160656
|
+
tool: async (client, args385, ctx) => {
|
|
160657
|
+
const [result, apiCall] = await sandboxProxyBrowserPortRequest(client, args385.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160217
160658
|
if (!result.ok) {
|
|
160218
160659
|
return {
|
|
160219
160660
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160228,9 +160669,9 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
160228
160669
|
|
|
160229
160670
|
// src/funcs/sandboxRunCode.ts
|
|
160230
160671
|
function sandboxRunCode(client, request, options) {
|
|
160231
|
-
return new APIPromise($
|
|
160672
|
+
return new APIPromise($do394(client, request, options));
|
|
160232
160673
|
}
|
|
160233
|
-
async function $
|
|
160674
|
+
async function $do394(client, request, options) {
|
|
160234
160675
|
const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160235
160676
|
if (!parsed.ok) {
|
|
160236
160677
|
return [parsed, { status: "invalid" }];
|
|
@@ -160319,12 +160760,12 @@ var init_sandboxRunCode = __esm(() => {
|
|
|
160319
160760
|
});
|
|
160320
160761
|
|
|
160321
160762
|
// src/mcp-server/tools/sandboxRunCode.ts
|
|
160322
|
-
var
|
|
160763
|
+
var args385, tool$sandboxRunCode;
|
|
160323
160764
|
var init_sandboxRunCode2 = __esm(() => {
|
|
160324
160765
|
init_sandboxRunCode();
|
|
160325
160766
|
init_operations();
|
|
160326
160767
|
init_tools();
|
|
160327
|
-
|
|
160768
|
+
args385 = {
|
|
160328
160769
|
request: RunCodeRequest$inboundSchema
|
|
160329
160770
|
};
|
|
160330
160771
|
tool$sandboxRunCode = {
|
|
@@ -160332,9 +160773,9 @@ var init_sandboxRunCode2 = __esm(() => {
|
|
|
160332
160773
|
description: `Run Code
|
|
160333
160774
|
|
|
160334
160775
|
Execute source code in the session workspace using a supported runtime and return the execution result.`,
|
|
160335
|
-
args:
|
|
160336
|
-
tool: async (client,
|
|
160337
|
-
const [result, apiCall] = await sandboxRunCode(client,
|
|
160776
|
+
args: args385,
|
|
160777
|
+
tool: async (client, args386, ctx) => {
|
|
160778
|
+
const [result, apiCall] = await sandboxRunCode(client, args386.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160338
160779
|
if (!result.ok) {
|
|
160339
160780
|
return {
|
|
160340
160781
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160349,9 +160790,9 @@ Execute source code in the session workspace using a supported runtime and retur
|
|
|
160349
160790
|
|
|
160350
160791
|
// src/funcs/sandboxRunCommand.ts
|
|
160351
160792
|
function sandboxRunCommand(client, request, options) {
|
|
160352
|
-
return new APIPromise($
|
|
160793
|
+
return new APIPromise($do395(client, request, options));
|
|
160353
160794
|
}
|
|
160354
|
-
async function $
|
|
160795
|
+
async function $do395(client, request, options) {
|
|
160355
160796
|
const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160356
160797
|
if (!parsed.ok) {
|
|
160357
160798
|
return [parsed, { status: "invalid" }];
|
|
@@ -160440,12 +160881,12 @@ var init_sandboxRunCommand = __esm(() => {
|
|
|
160440
160881
|
});
|
|
160441
160882
|
|
|
160442
160883
|
// src/mcp-server/tools/sandboxRunCommand.ts
|
|
160443
|
-
var
|
|
160884
|
+
var args386, tool$sandboxRunCommand;
|
|
160444
160885
|
var init_sandboxRunCommand2 = __esm(() => {
|
|
160445
160886
|
init_sandboxRunCommand();
|
|
160446
160887
|
init_operations();
|
|
160447
160888
|
init_tools();
|
|
160448
|
-
|
|
160889
|
+
args386 = {
|
|
160449
160890
|
request: RunCommandRequest$inboundSchema
|
|
160450
160891
|
};
|
|
160451
160892
|
tool$sandboxRunCommand = {
|
|
@@ -160453,9 +160894,9 @@ var init_sandboxRunCommand2 = __esm(() => {
|
|
|
160453
160894
|
description: `Run Command
|
|
160454
160895
|
|
|
160455
160896
|
Run a command in the session workspace and return stdout, stderr, exit code, and changed files.`,
|
|
160456
|
-
args:
|
|
160457
|
-
tool: async (client,
|
|
160458
|
-
const [result, apiCall] = await sandboxRunCommand(client,
|
|
160897
|
+
args: args386,
|
|
160898
|
+
tool: async (client, args387, ctx) => {
|
|
160899
|
+
const [result, apiCall] = await sandboxRunCommand(client, args387.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160459
160900
|
if (!result.ok) {
|
|
160460
160901
|
return {
|
|
160461
160902
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160470,9 +160911,9 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
160470
160911
|
|
|
160471
160912
|
// src/funcs/sandboxSetPricing.ts
|
|
160472
160913
|
function sandboxSetPricing(client, request, options) {
|
|
160473
|
-
return new APIPromise($
|
|
160914
|
+
return new APIPromise($do396(client, request, options));
|
|
160474
160915
|
}
|
|
160475
|
-
async function $
|
|
160916
|
+
async function $do396(client, request, options) {
|
|
160476
160917
|
const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
160477
160918
|
if (!parsed.ok) {
|
|
160478
160919
|
return [parsed, { status: "invalid" }];
|
|
@@ -160553,12 +160994,12 @@ var init_sandboxSetPricing = __esm(() => {
|
|
|
160553
160994
|
});
|
|
160554
160995
|
|
|
160555
160996
|
// src/mcp-server/tools/sandboxSetPricing.ts
|
|
160556
|
-
var
|
|
160997
|
+
var args387, tool$sandboxSetPricing;
|
|
160557
160998
|
var init_sandboxSetPricing2 = __esm(() => {
|
|
160558
160999
|
init_sandboxSetPricing();
|
|
160559
161000
|
init_components();
|
|
160560
161001
|
init_tools();
|
|
160561
|
-
|
|
161002
|
+
args387 = {
|
|
160562
161003
|
request: SandboxPricingUpdate$inboundSchema
|
|
160563
161004
|
};
|
|
160564
161005
|
tool$sandboxSetPricing = {
|
|
@@ -160566,9 +161007,9 @@ var init_sandboxSetPricing2 = __esm(() => {
|
|
|
160566
161007
|
description: `Set Sandbox Pricing
|
|
160567
161008
|
|
|
160568
161009
|
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.`,
|
|
160569
|
-
args:
|
|
160570
|
-
tool: async (client,
|
|
160571
|
-
const [result, apiCall] = await sandboxSetPricing(client,
|
|
161010
|
+
args: args387,
|
|
161011
|
+
tool: async (client, args388, ctx) => {
|
|
161012
|
+
const [result, apiCall] = await sandboxSetPricing(client, args388.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160572
161013
|
if (!result.ok) {
|
|
160573
161014
|
return {
|
|
160574
161015
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160583,9 +161024,9 @@ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from
|
|
|
160583
161024
|
|
|
160584
161025
|
// src/funcs/sandboxTerminate.ts
|
|
160585
161026
|
function sandboxTerminate(client, request, options) {
|
|
160586
|
-
return new APIPromise($
|
|
161027
|
+
return new APIPromise($do397(client, request, options));
|
|
160587
161028
|
}
|
|
160588
|
-
async function $
|
|
161029
|
+
async function $do397(client, request, options) {
|
|
160589
161030
|
const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
160590
161031
|
if (!parsed.ok) {
|
|
160591
161032
|
return [parsed, { status: "invalid" }];
|
|
@@ -160676,12 +161117,12 @@ var init_sandboxTerminate = __esm(() => {
|
|
|
160676
161117
|
});
|
|
160677
161118
|
|
|
160678
161119
|
// src/mcp-server/tools/sandboxTerminate.ts
|
|
160679
|
-
var
|
|
161120
|
+
var args388, tool$sandboxTerminate;
|
|
160680
161121
|
var init_sandboxTerminate2 = __esm(() => {
|
|
160681
161122
|
init_sandboxTerminate();
|
|
160682
161123
|
init_operations();
|
|
160683
161124
|
init_tools();
|
|
160684
|
-
|
|
161125
|
+
args388 = {
|
|
160685
161126
|
request: TerminateSessionRequest$inboundSchema2
|
|
160686
161127
|
};
|
|
160687
161128
|
tool$sandboxTerminate = {
|
|
@@ -160689,9 +161130,9 @@ var init_sandboxTerminate2 = __esm(() => {
|
|
|
160689
161130
|
description: `Terminate Session
|
|
160690
161131
|
|
|
160691
161132
|
Stop a sandbox session and release the backing sandbox resources.`,
|
|
160692
|
-
args:
|
|
160693
|
-
tool: async (client,
|
|
160694
|
-
const [result, apiCall] = await sandboxTerminate(client,
|
|
161133
|
+
args: args388,
|
|
161134
|
+
tool: async (client, args389, ctx) => {
|
|
161135
|
+
const [result, apiCall] = await sandboxTerminate(client, args389.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160695
161136
|
if (!result.ok) {
|
|
160696
161137
|
return {
|
|
160697
161138
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160706,9 +161147,9 @@ Stop a sandbox session and release the backing sandbox resources.`,
|
|
|
160706
161147
|
|
|
160707
161148
|
// src/funcs/sandboxUploadArchive.ts
|
|
160708
161149
|
function sandboxUploadArchive(client, request, options) {
|
|
160709
|
-
return new APIPromise($
|
|
161150
|
+
return new APIPromise($do398(client, request, options));
|
|
160710
161151
|
}
|
|
160711
|
-
async function $
|
|
161152
|
+
async function $do398(client, request, options) {
|
|
160712
161153
|
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160713
161154
|
if (!parsed.ok) {
|
|
160714
161155
|
return [parsed, { status: "invalid" }];
|
|
@@ -160801,12 +161242,12 @@ var init_sandboxUploadArchive = __esm(() => {
|
|
|
160801
161242
|
});
|
|
160802
161243
|
|
|
160803
161244
|
// src/mcp-server/tools/sandboxUploadArchive.ts
|
|
160804
|
-
var
|
|
161245
|
+
var args389, tool$sandboxUploadArchive;
|
|
160805
161246
|
var init_sandboxUploadArchive2 = __esm(() => {
|
|
160806
161247
|
init_sandboxUploadArchive();
|
|
160807
161248
|
init_operations();
|
|
160808
161249
|
init_tools();
|
|
160809
|
-
|
|
161250
|
+
args389 = {
|
|
160810
161251
|
request: UploadWorkspaceArchiveRequest$inboundSchema
|
|
160811
161252
|
};
|
|
160812
161253
|
tool$sandboxUploadArchive = {
|
|
@@ -160814,9 +161255,9 @@ var init_sandboxUploadArchive2 = __esm(() => {
|
|
|
160814
161255
|
description: `Upload Workspace Archive
|
|
160815
161256
|
|
|
160816
161257
|
Upload a zip archive and extract its files into the session workspace.`,
|
|
160817
|
-
args:
|
|
160818
|
-
tool: async (client,
|
|
160819
|
-
const [result, apiCall] = await sandboxUploadArchive(client,
|
|
161258
|
+
args: args389,
|
|
161259
|
+
tool: async (client, args390, ctx) => {
|
|
161260
|
+
const [result, apiCall] = await sandboxUploadArchive(client, args390.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160820
161261
|
if (!result.ok) {
|
|
160821
161262
|
return {
|
|
160822
161263
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160831,9 +161272,9 @@ Upload a zip archive and extract its files into the session workspace.`,
|
|
|
160831
161272
|
|
|
160832
161273
|
// src/funcs/sandboxUploadFile.ts
|
|
160833
161274
|
function sandboxUploadFile(client, request, options) {
|
|
160834
|
-
return new APIPromise($
|
|
161275
|
+
return new APIPromise($do399(client, request, options));
|
|
160835
161276
|
}
|
|
160836
|
-
async function $
|
|
161277
|
+
async function $do399(client, request, options) {
|
|
160837
161278
|
const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160838
161279
|
if (!parsed.ok) {
|
|
160839
161280
|
return [parsed, { status: "invalid" }];
|
|
@@ -160930,12 +161371,12 @@ var init_sandboxUploadFile = __esm(() => {
|
|
|
160930
161371
|
});
|
|
160931
161372
|
|
|
160932
161373
|
// src/mcp-server/tools/sandboxUploadFile.ts
|
|
160933
|
-
var
|
|
161374
|
+
var args390, tool$sandboxUploadFile;
|
|
160934
161375
|
var init_sandboxUploadFile2 = __esm(() => {
|
|
160935
161376
|
init_sandboxUploadFile();
|
|
160936
161377
|
init_operations();
|
|
160937
161378
|
init_tools();
|
|
160938
|
-
|
|
161379
|
+
args390 = {
|
|
160939
161380
|
request: UploadWorkspaceFileRequest$inboundSchema
|
|
160940
161381
|
};
|
|
160941
161382
|
tool$sandboxUploadFile = {
|
|
@@ -160943,9 +161384,9 @@ var init_sandboxUploadFile2 = __esm(() => {
|
|
|
160943
161384
|
description: `Upload Workspace File
|
|
160944
161385
|
|
|
160945
161386
|
Upload raw bytes into the session workspace at the given path.`,
|
|
160946
|
-
args:
|
|
160947
|
-
tool: async (client,
|
|
160948
|
-
const [result, apiCall] = await sandboxUploadFile(client,
|
|
161387
|
+
args: args390,
|
|
161388
|
+
tool: async (client, args391, ctx) => {
|
|
161389
|
+
const [result, apiCall] = await sandboxUploadFile(client, args391.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
160949
161390
|
if (!result.ok) {
|
|
160950
161391
|
return {
|
|
160951
161392
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -160960,9 +161401,9 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
160960
161401
|
|
|
160961
161402
|
// src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
160962
161403
|
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, request, options) {
|
|
160963
|
-
return new APIPromise($
|
|
161404
|
+
return new APIPromise($do400(client, request, options));
|
|
160964
161405
|
}
|
|
160965
|
-
async function $
|
|
161406
|
+
async function $do400(client, request, options) {
|
|
160966
161407
|
const parsed = safeParse4(request, (value) => ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
160967
161408
|
if (!parsed.ok) {
|
|
160968
161409
|
return [parsed, { status: "invalid" }];
|
|
@@ -161045,20 +161486,20 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = __esm(() =>
|
|
|
161045
161486
|
});
|
|
161046
161487
|
|
|
161047
161488
|
// src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts
|
|
161048
|
-
var
|
|
161489
|
+
var args391, tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost;
|
|
161049
161490
|
var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() => {
|
|
161050
161491
|
init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost();
|
|
161051
161492
|
init_operations();
|
|
161052
161493
|
init_tools();
|
|
161053
|
-
|
|
161494
|
+
args391 = {
|
|
161054
161495
|
request: ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema
|
|
161055
161496
|
};
|
|
161056
161497
|
tool$schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost = {
|
|
161057
161498
|
name: "schema-3-other-connect-api-v1-sandbox-github-oauth-connections-post",
|
|
161058
161499
|
description: `Connect`,
|
|
161059
|
-
args:
|
|
161060
|
-
tool: async (client,
|
|
161061
|
-
const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client,
|
|
161500
|
+
args: args391,
|
|
161501
|
+
tool: async (client, args392, ctx) => {
|
|
161502
|
+
const [result, apiCall] = await schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(client, args392.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161062
161503
|
if (!result.ok) {
|
|
161063
161504
|
return {
|
|
161064
161505
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161073,9 +161514,9 @@ var init_schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost2 = __esm(() =
|
|
|
161073
161514
|
|
|
161074
161515
|
// src/funcs/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
161075
161516
|
function schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, request, options) {
|
|
161076
|
-
return new APIPromise($
|
|
161517
|
+
return new APIPromise($do401(client, request, options));
|
|
161077
161518
|
}
|
|
161078
|
-
async function $
|
|
161519
|
+
async function $do401(client, request, options) {
|
|
161079
161520
|
const parsed = safeParse4(request, (value) => CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161080
161521
|
if (!parsed.ok) {
|
|
161081
161522
|
return [parsed, { status: "invalid" }];
|
|
@@ -161160,20 +161601,20 @@ var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = __esm(() =>
|
|
|
161160
161601
|
});
|
|
161161
161602
|
|
|
161162
161603
|
// src/mcp-server/tools/schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost.ts
|
|
161163
|
-
var
|
|
161604
|
+
var args392, tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost;
|
|
161164
161605
|
var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() => {
|
|
161165
161606
|
init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost();
|
|
161166
161607
|
init_operations();
|
|
161167
161608
|
init_tools();
|
|
161168
|
-
|
|
161609
|
+
args392 = {
|
|
161169
161610
|
request: CreateEnvironmentApiV1SandboxEnvironmentsPostRequest$inboundSchema
|
|
161170
161611
|
};
|
|
161171
161612
|
tool$schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost = {
|
|
161172
161613
|
name: "schema-3-other-create-environment-api-v1-sandbox-environments-post",
|
|
161173
161614
|
description: `Create Environment`,
|
|
161174
|
-
args:
|
|
161175
|
-
tool: async (client,
|
|
161176
|
-
const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client,
|
|
161615
|
+
args: args392,
|
|
161616
|
+
tool: async (client, args393, ctx) => {
|
|
161617
|
+
const [result, apiCall] = await schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost(client, args393.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161177
161618
|
if (!result.ok) {
|
|
161178
161619
|
return {
|
|
161179
161620
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161188,9 +161629,9 @@ var init_schema3OtherCreateEnvironmentApiV1SandboxEnvironmentsPost2 = __esm(() =
|
|
|
161188
161629
|
|
|
161189
161630
|
// src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
161190
161631
|
function schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, request, options) {
|
|
161191
|
-
return new APIPromise($
|
|
161632
|
+
return new APIPromise($do402(client, request, options));
|
|
161192
161633
|
}
|
|
161193
|
-
async function $
|
|
161634
|
+
async function $do402(client, request, options) {
|
|
161194
161635
|
const parsed = safeParse4(request, (value) => CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161195
161636
|
if (!parsed.ok) {
|
|
161196
161637
|
return [parsed, { status: "invalid" }];
|
|
@@ -161268,20 +161709,20 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = __esm(() =
|
|
|
161268
161709
|
});
|
|
161269
161710
|
|
|
161270
161711
|
// src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts
|
|
161271
|
-
var
|
|
161712
|
+
var args393, tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost;
|
|
161272
161713
|
var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(() => {
|
|
161273
161714
|
init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost();
|
|
161274
161715
|
init_operations();
|
|
161275
161716
|
init_tools();
|
|
161276
|
-
|
|
161717
|
+
args393 = {
|
|
161277
161718
|
request: CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema
|
|
161278
161719
|
};
|
|
161279
161720
|
tool$schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost = {
|
|
161280
161721
|
name: "schema-3-other-create-intent-api-v1-sandbox-github-oauth-intents-post",
|
|
161281
161722
|
description: `Create Intent`,
|
|
161282
|
-
args:
|
|
161283
|
-
tool: async (client,
|
|
161284
|
-
const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client,
|
|
161723
|
+
args: args393,
|
|
161724
|
+
tool: async (client, args394, ctx) => {
|
|
161725
|
+
const [result, apiCall] = await schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(client, args394.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161285
161726
|
if (!result.ok) {
|
|
161286
161727
|
return {
|
|
161287
161728
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161296,9 +161737,9 @@ var init_schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost2 = __esm(()
|
|
|
161296
161737
|
|
|
161297
161738
|
// src/funcs/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
161298
161739
|
function schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, request, options) {
|
|
161299
|
-
return new APIPromise($
|
|
161740
|
+
return new APIPromise($do403(client, request, options));
|
|
161300
161741
|
}
|
|
161301
|
-
async function $
|
|
161742
|
+
async function $do403(client, request, options) {
|
|
161302
161743
|
const parsed = safeParse4(request, (value) => CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161303
161744
|
if (!parsed.ok) {
|
|
161304
161745
|
return [parsed, { status: "invalid" }];
|
|
@@ -161389,20 +161830,20 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
161389
161830
|
});
|
|
161390
161831
|
|
|
161391
161832
|
// src/mcp-server/tools/schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost.ts
|
|
161392
|
-
var
|
|
161833
|
+
var args394, tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost;
|
|
161393
161834
|
var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost2 = __esm(() => {
|
|
161394
161835
|
init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost();
|
|
161395
161836
|
init_operations();
|
|
161396
161837
|
init_tools();
|
|
161397
|
-
|
|
161838
|
+
args394 = {
|
|
161398
161839
|
request: CreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPostRequest$inboundSchema
|
|
161399
161840
|
};
|
|
161400
161841
|
tool$schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost = {
|
|
161401
161842
|
name: "schema-3-other-create-or-update-api-v1-sandbox-sessions-session-id-github-pull-request-post",
|
|
161402
161843
|
description: `Create Or Update`,
|
|
161403
|
-
args:
|
|
161404
|
-
tool: async (client,
|
|
161405
|
-
const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client,
|
|
161844
|
+
args: args394,
|
|
161845
|
+
tool: async (client, args395, ctx) => {
|
|
161846
|
+
const [result, apiCall] = await schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullRequestPost(client, args395.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161406
161847
|
if (!result.ok) {
|
|
161407
161848
|
return {
|
|
161408
161849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161417,9 +161858,9 @@ var init_schema3OtherCreateOrUpdateApiV1SandboxSessionsSessionIdGithubPullReques
|
|
|
161417
161858
|
|
|
161418
161859
|
// src/funcs/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
161419
161860
|
function schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, request, options) {
|
|
161420
|
-
return new APIPromise($
|
|
161861
|
+
return new APIPromise($do404(client, request, options));
|
|
161421
161862
|
}
|
|
161422
|
-
async function $
|
|
161863
|
+
async function $do404(client, request, options) {
|
|
161423
161864
|
const parsed = safeParse4(request, (value) => DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161424
161865
|
if (!parsed.ok) {
|
|
161425
161866
|
return [parsed, { status: "invalid" }];
|
|
@@ -161507,20 +161948,20 @@ var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelet
|
|
|
161507
161948
|
});
|
|
161508
161949
|
|
|
161509
161950
|
// src/mcp-server/tools/schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete.ts
|
|
161510
|
-
var
|
|
161951
|
+
var args395, tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete;
|
|
161511
161952
|
var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete2 = __esm(() => {
|
|
161512
161953
|
init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete();
|
|
161513
161954
|
init_operations();
|
|
161514
161955
|
init_tools();
|
|
161515
|
-
|
|
161956
|
+
args395 = {
|
|
161516
161957
|
request: DeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDeleteRequest$inboundSchema
|
|
161517
161958
|
};
|
|
161518
161959
|
tool$schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete = {
|
|
161519
161960
|
name: "schema-3-other-delete-environment-api-v1-sandbox-environments-environment-id-delete",
|
|
161520
161961
|
description: `Delete Environment`,
|
|
161521
|
-
args:
|
|
161522
|
-
tool: async (client,
|
|
161523
|
-
const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client,
|
|
161962
|
+
args: args395,
|
|
161963
|
+
tool: async (client, args396, ctx) => {
|
|
161964
|
+
const [result, apiCall] = await schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelete(client, args396.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161524
161965
|
if (!result.ok) {
|
|
161525
161966
|
return {
|
|
161526
161967
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161534,9 +161975,9 @@ var init_schema3OtherDeleteEnvironmentApiV1SandboxEnvironmentsEnvironmentIdDelet
|
|
|
161534
161975
|
|
|
161535
161976
|
// src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
161536
161977
|
function schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, request, options) {
|
|
161537
|
-
return new APIPromise($
|
|
161978
|
+
return new APIPromise($do405(client, request, options));
|
|
161538
161979
|
}
|
|
161539
|
-
async function $
|
|
161980
|
+
async function $do405(client, request, options) {
|
|
161540
161981
|
const parsed = safeParse4(request, (value) => DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161541
161982
|
if (!parsed.ok) {
|
|
161542
161983
|
return [parsed, { status: "invalid" }];
|
|
@@ -161614,20 +162055,20 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = __esm(
|
|
|
161614
162055
|
});
|
|
161615
162056
|
|
|
161616
162057
|
// src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts
|
|
161617
|
-
var
|
|
162058
|
+
var args396, tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete;
|
|
161618
162059
|
var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm(() => {
|
|
161619
162060
|
init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete();
|
|
161620
162061
|
init_operations();
|
|
161621
162062
|
init_tools();
|
|
161622
|
-
|
|
162063
|
+
args396 = {
|
|
161623
162064
|
request: DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
161624
162065
|
};
|
|
161625
162066
|
tool$schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete = {
|
|
161626
162067
|
name: "schema-3-other-disconnect-api-v1-sandbox-github-oauth-connections-delete",
|
|
161627
162068
|
description: `Disconnect`,
|
|
161628
|
-
args:
|
|
161629
|
-
tool: async (client,
|
|
161630
|
-
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client,
|
|
162069
|
+
args: args396,
|
|
162070
|
+
tool: async (client, args397, ctx) => {
|
|
162071
|
+
const [result, apiCall] = await schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete(client, args397.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161631
162072
|
if (!result.ok) {
|
|
161632
162073
|
return {
|
|
161633
162074
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161641,9 +162082,9 @@ var init_schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete2 = __esm
|
|
|
161641
162082
|
|
|
161642
162083
|
// src/funcs/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
161643
162084
|
function schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, request, options) {
|
|
161644
|
-
return new APIPromise($
|
|
162085
|
+
return new APIPromise($do406(client, request, options));
|
|
161645
162086
|
}
|
|
161646
|
-
async function $
|
|
162087
|
+
async function $do406(client, request, options) {
|
|
161647
162088
|
const parsed = safeParse4(request, (value) => DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161648
162089
|
if (!parsed.ok) {
|
|
161649
162090
|
return [parsed, { status: "invalid" }];
|
|
@@ -161738,20 +162179,20 @@ var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubReposit
|
|
|
161738
162179
|
});
|
|
161739
162180
|
|
|
161740
162181
|
// src/mcp-server/tools/schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete.ts
|
|
161741
|
-
var
|
|
162182
|
+
var args397, tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete;
|
|
161742
162183
|
var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete2 = __esm(() => {
|
|
161743
162184
|
init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete();
|
|
161744
162185
|
init_operations();
|
|
161745
162186
|
init_tools();
|
|
161746
|
-
|
|
162187
|
+
args397 = {
|
|
161747
162188
|
request: DismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDeleteRequest$inboundSchema
|
|
161748
162189
|
};
|
|
161749
162190
|
tool$schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete = {
|
|
161750
162191
|
name: "schema-3-other-dismiss-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-delete",
|
|
161751
162192
|
description: `Dismiss Repository`,
|
|
161752
|
-
args:
|
|
161753
|
-
tool: async (client,
|
|
161754
|
-
const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client,
|
|
162193
|
+
args: args397,
|
|
162194
|
+
tool: async (client, args398, ctx) => {
|
|
162195
|
+
const [result, apiCall] = await schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdDelete(client, args398.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161755
162196
|
if (!result.ok) {
|
|
161756
162197
|
return {
|
|
161757
162198
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161765,9 +162206,9 @@ var init_schema3OtherDismissRepositoryApiV1SandboxSessionsSessionIdGithubReposit
|
|
|
161765
162206
|
|
|
161766
162207
|
// src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
161767
162208
|
function schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, request, options) {
|
|
161768
|
-
return new APIPromise($
|
|
162209
|
+
return new APIPromise($do407(client, request, options));
|
|
161769
162210
|
}
|
|
161770
|
-
async function $
|
|
162211
|
+
async function $do407(client, request, options) {
|
|
161771
162212
|
const parsed = safeParse4(request, (value) => GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161772
162213
|
if (!parsed.ok) {
|
|
161773
162214
|
return [parsed, { status: "invalid" }];
|
|
@@ -161853,20 +162294,20 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = __esm(
|
|
|
161853
162294
|
});
|
|
161854
162295
|
|
|
161855
162296
|
// src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts
|
|
161856
|
-
var
|
|
162297
|
+
var args398, tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet;
|
|
161857
162298
|
var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm(() => {
|
|
161858
162299
|
init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet();
|
|
161859
162300
|
init_operations();
|
|
161860
162301
|
init_tools();
|
|
161861
|
-
|
|
162302
|
+
args398 = {
|
|
161862
162303
|
request: GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
161863
162304
|
};
|
|
161864
162305
|
tool$schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet = {
|
|
161865
162306
|
name: "schema-3-other-get-connection-api-v1-sandbox-github-oauth-connections-get",
|
|
161866
162307
|
description: `Get Connection`,
|
|
161867
|
-
args:
|
|
161868
|
-
tool: async (client,
|
|
161869
|
-
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client,
|
|
162308
|
+
args: args398,
|
|
162309
|
+
tool: async (client, args399, ctx) => {
|
|
162310
|
+
const [result, apiCall] = await schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet(client, args399.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161870
162311
|
if (!result.ok) {
|
|
161871
162312
|
return {
|
|
161872
162313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161881,9 +162322,9 @@ var init_schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet2 = __esm
|
|
|
161881
162322
|
|
|
161882
162323
|
// src/funcs/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
161883
162324
|
function schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, request, options) {
|
|
161884
|
-
return new APIPromise($
|
|
162325
|
+
return new APIPromise($do408(client, request, options));
|
|
161885
162326
|
}
|
|
161886
|
-
async function $
|
|
162327
|
+
async function $do408(client, request, options) {
|
|
161887
162328
|
const parsed = safeParse4(request, (value) => GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
161888
162329
|
if (!parsed.ok) {
|
|
161889
162330
|
return [parsed, { status: "invalid" }];
|
|
@@ -161971,20 +162412,20 @@ var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = __
|
|
|
161971
162412
|
});
|
|
161972
162413
|
|
|
161973
162414
|
// src/mcp-server/tools/schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet.ts
|
|
161974
|
-
var
|
|
162415
|
+
var args399, tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet;
|
|
161975
162416
|
var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = __esm(() => {
|
|
161976
162417
|
init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet();
|
|
161977
162418
|
init_operations();
|
|
161978
162419
|
init_tools();
|
|
161979
|
-
|
|
162420
|
+
args399 = {
|
|
161980
162421
|
request: GetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGetRequest$inboundSchema
|
|
161981
162422
|
};
|
|
161982
162423
|
tool$schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet = {
|
|
161983
162424
|
name: "schema-3-other-get-environment-api-v1-sandbox-environments-environment-id-get",
|
|
161984
162425
|
description: `Get Environment`,
|
|
161985
|
-
args:
|
|
161986
|
-
tool: async (client,
|
|
161987
|
-
const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client,
|
|
162426
|
+
args: args399,
|
|
162427
|
+
tool: async (client, args400, ctx) => {
|
|
162428
|
+
const [result, apiCall] = await schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet(client, args400.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
161988
162429
|
if (!result.ok) {
|
|
161989
162430
|
return {
|
|
161990
162431
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -161999,9 +162440,9 @@ var init_schema3OtherGetEnvironmentApiV1SandboxEnvironmentsEnvironmentIdGet2 = _
|
|
|
161999
162440
|
|
|
162000
162441
|
// src/funcs/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
162001
162442
|
function schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, request, options) {
|
|
162002
|
-
return new APIPromise($
|
|
162443
|
+
return new APIPromise($do409(client, request, options));
|
|
162003
162444
|
}
|
|
162004
|
-
async function $
|
|
162445
|
+
async function $do409(client, request, options) {
|
|
162005
162446
|
const parsed = safeParse4(request, (value) => ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162006
162447
|
if (!parsed.ok) {
|
|
162007
162448
|
return [parsed, { status: "invalid" }];
|
|
@@ -162079,20 +162520,20 @@ var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = __esm(() => {
|
|
|
162079
162520
|
});
|
|
162080
162521
|
|
|
162081
162522
|
// src/mcp-server/tools/schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet.ts
|
|
162082
|
-
var
|
|
162523
|
+
var args400, tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet;
|
|
162083
162524
|
var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() => {
|
|
162084
162525
|
init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet();
|
|
162085
162526
|
init_operations();
|
|
162086
162527
|
init_tools();
|
|
162087
|
-
|
|
162528
|
+
args400 = {
|
|
162088
162529
|
request: ListEnvironmentsApiV1SandboxEnvironmentsGetRequest$inboundSchema
|
|
162089
162530
|
};
|
|
162090
162531
|
tool$schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet = {
|
|
162091
162532
|
name: "schema-3-other-list-environments-api-v1-sandbox-environments-get",
|
|
162092
162533
|
description: `List Environments`,
|
|
162093
|
-
args:
|
|
162094
|
-
tool: async (client,
|
|
162095
|
-
const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client,
|
|
162534
|
+
args: args400,
|
|
162535
|
+
tool: async (client, args401, ctx) => {
|
|
162536
|
+
const [result, apiCall] = await schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet(client, args401.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162096
162537
|
if (!result.ok) {
|
|
162097
162538
|
return {
|
|
162098
162539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162107,9 +162548,9 @@ var init_schema3OtherListEnvironmentsApiV1SandboxEnvironmentsGet2 = __esm(() =>
|
|
|
162107
162548
|
|
|
162108
162549
|
// src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
162109
162550
|
function schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, request, options) {
|
|
162110
|
-
return new APIPromise($
|
|
162551
|
+
return new APIPromise($do410(client, request, options));
|
|
162111
162552
|
}
|
|
162112
|
-
async function $
|
|
162553
|
+
async function $do410(client, request, options) {
|
|
162113
162554
|
const parsed = safeParse4(request, (value) => ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162114
162555
|
if (!parsed.ok) {
|
|
162115
162556
|
return [parsed, { status: "invalid" }];
|
|
@@ -162187,20 +162628,20 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = __esm((
|
|
|
162187
162628
|
});
|
|
162188
162629
|
|
|
162189
162630
|
// src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts
|
|
162190
|
-
var
|
|
162631
|
+
var args401, tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet;
|
|
162191
162632
|
var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(() => {
|
|
162192
162633
|
init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet();
|
|
162193
162634
|
init_operations();
|
|
162194
162635
|
init_tools();
|
|
162195
|
-
|
|
162636
|
+
args401 = {
|
|
162196
162637
|
request: ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
162197
162638
|
};
|
|
162198
162639
|
tool$schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet = {
|
|
162199
162640
|
name: "schema-3-other-list-repositories-api-v1-sandbox-github-repositories-get",
|
|
162200
162641
|
description: `List Repositories`,
|
|
162201
|
-
args:
|
|
162202
|
-
tool: async (client,
|
|
162203
|
-
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client,
|
|
162642
|
+
args: args401,
|
|
162643
|
+
tool: async (client, args402, ctx) => {
|
|
162644
|
+
const [result, apiCall] = await schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet(client, args402.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162204
162645
|
if (!result.ok) {
|
|
162205
162646
|
return {
|
|
162206
162647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162215,9 +162656,9 @@ var init_schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet2 = __esm(
|
|
|
162215
162656
|
|
|
162216
162657
|
// src/funcs/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
162217
162658
|
function schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, request, options) {
|
|
162218
|
-
return new APIPromise($
|
|
162659
|
+
return new APIPromise($do411(client, request, options));
|
|
162219
162660
|
}
|
|
162220
|
-
async function $
|
|
162661
|
+
async function $do411(client, request, options) {
|
|
162221
162662
|
const parsed = safeParse4(request, (value) => ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162222
162663
|
if (!parsed.ok) {
|
|
162223
162664
|
return [parsed, { status: "invalid" }];
|
|
@@ -162305,20 +162746,20 @@ var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet
|
|
|
162305
162746
|
});
|
|
162306
162747
|
|
|
162307
162748
|
// src/mcp-server/tools/schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet.ts
|
|
162308
|
-
var
|
|
162749
|
+
var args402, tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet;
|
|
162309
162750
|
var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2 = __esm(() => {
|
|
162310
162751
|
init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet();
|
|
162311
162752
|
init_operations();
|
|
162312
162753
|
init_tools();
|
|
162313
|
-
|
|
162754
|
+
args402 = {
|
|
162314
162755
|
request: ManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGetRequest$inboundSchema
|
|
162315
162756
|
};
|
|
162316
162757
|
tool$schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet = {
|
|
162317
162758
|
name: "schema-3-other-manifest-api-v1-sandbox-sessions-session-id-github-repositories-get",
|
|
162318
162759
|
description: `Manifest`,
|
|
162319
|
-
args:
|
|
162320
|
-
tool: async (client,
|
|
162321
|
-
const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client,
|
|
162760
|
+
args: args402,
|
|
162761
|
+
tool: async (client, args403, ctx) => {
|
|
162762
|
+
const [result, apiCall] = await schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet(client, args403.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162322
162763
|
if (!result.ok) {
|
|
162323
162764
|
return {
|
|
162324
162765
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162333,9 +162774,9 @@ var init_schema3OtherManifestApiV1SandboxSessionsSessionIdGithubRepositoriesGet2
|
|
|
162333
162774
|
|
|
162334
162775
|
// src/funcs/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
162335
162776
|
function schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, request, options) {
|
|
162336
|
-
return new APIPromise($
|
|
162777
|
+
return new APIPromise($do412(client, request, options));
|
|
162337
162778
|
}
|
|
162338
|
-
async function $
|
|
162779
|
+
async function $do412(client, request, options) {
|
|
162339
162780
|
const parsed = safeParse4(request, (value) => PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162340
162781
|
if (!parsed.ok) {
|
|
162341
162782
|
return [parsed, { status: "invalid" }];
|
|
@@ -162424,20 +162865,20 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = __esm(()
|
|
|
162424
162865
|
});
|
|
162425
162866
|
|
|
162426
162867
|
// src/mcp-server/tools/schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost.ts
|
|
162427
|
-
var
|
|
162868
|
+
var args403, tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost;
|
|
162428
162869
|
var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(() => {
|
|
162429
162870
|
init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost();
|
|
162430
162871
|
init_operations();
|
|
162431
162872
|
init_tools();
|
|
162432
|
-
|
|
162873
|
+
args403 = {
|
|
162433
162874
|
request: PushApiV1SandboxSessionsSessionIdGithubPushPostRequest$inboundSchema
|
|
162434
162875
|
};
|
|
162435
162876
|
tool$schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost = {
|
|
162436
162877
|
name: "schema-3-other-push-api-v1-sandbox-sessions-session-id-github-push-post",
|
|
162437
162878
|
description: `Push`,
|
|
162438
|
-
args:
|
|
162439
|
-
tool: async (client,
|
|
162440
|
-
const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client,
|
|
162879
|
+
args: args403,
|
|
162880
|
+
tool: async (client, args404, ctx) => {
|
|
162881
|
+
const [result, apiCall] = await schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost(client, args404.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162441
162882
|
if (!result.ok) {
|
|
162442
162883
|
return {
|
|
162443
162884
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162452,9 +162893,9 @@ var init_schema3OtherPushApiV1SandboxSessionsSessionIdGithubPushPost2 = __esm(()
|
|
|
162452
162893
|
|
|
162453
162894
|
// src/funcs/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
162454
162895
|
function schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, request, options) {
|
|
162455
|
-
return new APIPromise($
|
|
162896
|
+
return new APIPromise($do413(client, request, options));
|
|
162456
162897
|
}
|
|
162457
|
-
async function $
|
|
162898
|
+
async function $do413(client, request, options) {
|
|
162458
162899
|
const parsed = safeParse4(request, (value) => PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162459
162900
|
if (!parsed.ok) {
|
|
162460
162901
|
return [parsed, { status: "invalid" }];
|
|
@@ -162549,20 +162990,20 @@ var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositorie
|
|
|
162549
162990
|
});
|
|
162550
162991
|
|
|
162551
162992
|
// src/mcp-server/tools/schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut.ts
|
|
162552
|
-
var
|
|
162993
|
+
var args404, tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut;
|
|
162553
162994
|
var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut2 = __esm(() => {
|
|
162554
162995
|
init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut();
|
|
162555
162996
|
init_operations();
|
|
162556
162997
|
init_tools();
|
|
162557
|
-
|
|
162998
|
+
args404 = {
|
|
162558
162999
|
request: PutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPutRequest$inboundSchema
|
|
162559
163000
|
};
|
|
162560
163001
|
tool$schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut = {
|
|
162561
163002
|
name: "schema-3-other-put-repository-api-v1-sandbox-sessions-session-id-github-repositories-repository-id-put",
|
|
162562
163003
|
description: `Put Repository`,
|
|
162563
|
-
args:
|
|
162564
|
-
tool: async (client,
|
|
162565
|
-
const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client,
|
|
163004
|
+
args: args404,
|
|
163005
|
+
tool: async (client, args405, ctx) => {
|
|
163006
|
+
const [result, apiCall] = await schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositoriesRepositoryIdPut(client, args405.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162566
163007
|
if (!result.ok) {
|
|
162567
163008
|
return {
|
|
162568
163009
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162577,9 +163018,9 @@ var init_schema3OtherPutRepositoryApiV1SandboxSessionsSessionIdGithubRepositorie
|
|
|
162577
163018
|
|
|
162578
163019
|
// src/funcs/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
162579
163020
|
function schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, request, options) {
|
|
162580
|
-
return new APIPromise($
|
|
163021
|
+
return new APIPromise($do414(client, request, options));
|
|
162581
163022
|
}
|
|
162582
|
-
async function $
|
|
163023
|
+
async function $do414(client, request, options) {
|
|
162583
163024
|
const parsed = safeParse4(request, (value) => ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162584
163025
|
if (!parsed.ok) {
|
|
162585
163026
|
return [parsed, { status: "invalid" }];
|
|
@@ -162670,20 +163111,20 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost =
|
|
|
162670
163111
|
});
|
|
162671
163112
|
|
|
162672
163113
|
// src/mcp-server/tools/schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.ts
|
|
162673
|
-
var
|
|
163114
|
+
var args405, tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost;
|
|
162674
163115
|
var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2 = __esm(() => {
|
|
162675
163116
|
init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost();
|
|
162676
163117
|
init_operations();
|
|
162677
163118
|
init_tools();
|
|
162678
|
-
|
|
163119
|
+
args405 = {
|
|
162679
163120
|
request: ReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePostRequest$inboundSchema
|
|
162680
163121
|
};
|
|
162681
163122
|
tool$schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost = {
|
|
162682
163123
|
name: "schema-3-other-read-clone-api-v1-sandbox-sessions-session-id-github-read-clone-post",
|
|
162683
163124
|
description: `Read Clone`,
|
|
162684
|
-
args:
|
|
162685
|
-
tool: async (client,
|
|
162686
|
-
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client,
|
|
163125
|
+
args: args405,
|
|
163126
|
+
tool: async (client, args406, ctx) => {
|
|
163127
|
+
const [result, apiCall] = await schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost(client, args406.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162687
163128
|
if (!result.ok) {
|
|
162688
163129
|
return {
|
|
162689
163130
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162698,9 +163139,9 @@ var init_schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost2
|
|
|
162698
163139
|
|
|
162699
163140
|
// src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
162700
163141
|
function schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, request, options) {
|
|
162701
|
-
return new APIPromise($
|
|
163142
|
+
return new APIPromise($do415(client, request, options));
|
|
162702
163143
|
}
|
|
162703
|
-
async function $
|
|
163144
|
+
async function $do415(client, request, options) {
|
|
162704
163145
|
const parsed = safeParse4(request, (value) => RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162705
163146
|
if (!parsed.ok) {
|
|
162706
163147
|
return [parsed, { status: "invalid" }];
|
|
@@ -162778,20 +163219,20 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
162778
163219
|
});
|
|
162779
163220
|
|
|
162780
163221
|
// src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts
|
|
162781
|
-
var
|
|
163222
|
+
var args406, tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost;
|
|
162782
163223
|
var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost2 = __esm(() => {
|
|
162783
163224
|
init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost();
|
|
162784
163225
|
init_operations();
|
|
162785
163226
|
init_tools();
|
|
162786
|
-
|
|
163227
|
+
args406 = {
|
|
162787
163228
|
request: RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
162788
163229
|
};
|
|
162789
163230
|
tool$schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost = {
|
|
162790
163231
|
name: "schema-3-other-refresh-repositories-api-v1-sandbox-github-repositories-refresh-post",
|
|
162791
163232
|
description: `Refresh Repositories`,
|
|
162792
|
-
args:
|
|
162793
|
-
tool: async (client,
|
|
162794
|
-
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client,
|
|
163233
|
+
args: args406,
|
|
163234
|
+
tool: async (client, args407, ctx) => {
|
|
163235
|
+
const [result, apiCall] = await schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost(client, args407.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162795
163236
|
if (!result.ok) {
|
|
162796
163237
|
return {
|
|
162797
163238
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162806,9 +163247,9 @@ var init_schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPos
|
|
|
162806
163247
|
|
|
162807
163248
|
// src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
162808
163249
|
function schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, request, options) {
|
|
162809
|
-
return new APIPromise($
|
|
163250
|
+
return new APIPromise($do416(client, request, options));
|
|
162810
163251
|
}
|
|
162811
|
-
async function $
|
|
163252
|
+
async function $do416(client, request, options) {
|
|
162812
163253
|
const parsed = safeParse4(request, (value) => ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162813
163254
|
if (!parsed.ok) {
|
|
162814
163255
|
return [parsed, { status: "invalid" }];
|
|
@@ -162893,20 +163334,20 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost =
|
|
|
162893
163334
|
});
|
|
162894
163335
|
|
|
162895
163336
|
// src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts
|
|
162896
|
-
var
|
|
163337
|
+
var args407, tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost;
|
|
162897
163338
|
var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2 = __esm(() => {
|
|
162898
163339
|
init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost();
|
|
162899
163340
|
init_operations();
|
|
162900
163341
|
init_tools();
|
|
162901
|
-
|
|
163342
|
+
args407 = {
|
|
162902
163343
|
request: ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
162903
163344
|
};
|
|
162904
163345
|
tool$schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost = {
|
|
162905
163346
|
name: "schema-3-other-resolve-reference-api-v1-sandbox-github-repositories-resolve-post",
|
|
162906
163347
|
description: `Resolve Reference`,
|
|
162907
|
-
args:
|
|
162908
|
-
tool: async (client,
|
|
162909
|
-
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client,
|
|
163348
|
+
args: args407,
|
|
163349
|
+
tool: async (client, args408, ctx) => {
|
|
163350
|
+
const [result, apiCall] = await schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost(client, args408.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
162910
163351
|
if (!result.ok) {
|
|
162911
163352
|
return {
|
|
162912
163353
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -162921,9 +163362,9 @@ var init_schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost2
|
|
|
162921
163362
|
|
|
162922
163363
|
// src/funcs/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
162923
163364
|
function schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, request, options) {
|
|
162924
|
-
return new APIPromise($
|
|
163365
|
+
return new APIPromise($do417(client, request, options));
|
|
162925
163366
|
}
|
|
162926
|
-
async function $
|
|
163367
|
+
async function $do417(client, request, options) {
|
|
162927
163368
|
const parsed = safeParse4(request, (value) => RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$outboundSchema.parse(value), "Input validation failed");
|
|
162928
163369
|
if (!parsed.ok) {
|
|
162929
163370
|
return [parsed, { status: "invalid" }];
|
|
@@ -163011,20 +163452,20 @@ var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironment
|
|
|
163011
163452
|
});
|
|
163012
163453
|
|
|
163013
163454
|
// src/mcp-server/tools/schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost.ts
|
|
163014
|
-
var
|
|
163455
|
+
var args408, tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost;
|
|
163015
163456
|
var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost2 = __esm(() => {
|
|
163016
163457
|
init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost();
|
|
163017
163458
|
init_operations();
|
|
163018
163459
|
init_tools();
|
|
163019
|
-
|
|
163460
|
+
args408 = {
|
|
163020
163461
|
request: RunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPostRequest$inboundSchema
|
|
163021
163462
|
};
|
|
163022
163463
|
tool$schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost = {
|
|
163023
163464
|
name: "schema-3-other-run-environment-setup-api-v1-sandbox-sessions-session-id-environment-setup-post",
|
|
163024
163465
|
description: `Run Environment Setup`,
|
|
163025
|
-
args:
|
|
163026
|
-
tool: async (client,
|
|
163027
|
-
const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client,
|
|
163466
|
+
args: args408,
|
|
163467
|
+
tool: async (client, args409, ctx) => {
|
|
163468
|
+
const [result, apiCall] = await schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironmentSetupPost(client, args409.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163028
163469
|
if (!result.ok) {
|
|
163029
163470
|
return {
|
|
163030
163471
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163039,9 +163480,9 @@ var init_schema3OtherRunEnvironmentSetupApiV1SandboxSessionsSessionIdEnvironment
|
|
|
163039
163480
|
|
|
163040
163481
|
// src/funcs/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
163041
163482
|
function schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, request, options) {
|
|
163042
|
-
return new APIPromise($
|
|
163483
|
+
return new APIPromise($do418(client, request, options));
|
|
163043
163484
|
}
|
|
163044
|
-
async function $
|
|
163485
|
+
async function $do418(client, request, options) {
|
|
163045
163486
|
const parsed = safeParse4(request, (value) => UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163046
163487
|
if (!parsed.ok) {
|
|
163047
163488
|
return [parsed, { status: "invalid" }];
|
|
@@ -163132,20 +163573,20 @@ var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut =
|
|
|
163132
163573
|
});
|
|
163133
163574
|
|
|
163134
163575
|
// src/mcp-server/tools/schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut.ts
|
|
163135
|
-
var
|
|
163576
|
+
var args409, tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut;
|
|
163136
163577
|
var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2 = __esm(() => {
|
|
163137
163578
|
init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut();
|
|
163138
163579
|
init_operations();
|
|
163139
163580
|
init_tools();
|
|
163140
|
-
|
|
163581
|
+
args409 = {
|
|
163141
163582
|
request: UpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPutRequest$inboundSchema
|
|
163142
163583
|
};
|
|
163143
163584
|
tool$schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut = {
|
|
163144
163585
|
name: "schema-3-other-update-environment-api-v1-sandbox-environments-environment-id-put",
|
|
163145
163586
|
description: `Update Environment`,
|
|
163146
|
-
args:
|
|
163147
|
-
tool: async (client,
|
|
163148
|
-
const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client,
|
|
163587
|
+
args: args409,
|
|
163588
|
+
tool: async (client, args410, ctx) => {
|
|
163589
|
+
const [result, apiCall] = await schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut(client, args410.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163149
163590
|
if (!result.ok) {
|
|
163150
163591
|
return {
|
|
163151
163592
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163160,9 +163601,9 @@ var init_schema3OtherUpdateEnvironmentApiV1SandboxEnvironmentsEnvironmentIdPut2
|
|
|
163160
163601
|
|
|
163161
163602
|
// src/funcs/trackingExperimentsCreate.ts
|
|
163162
163603
|
function trackingExperimentsCreate(client, request, options) {
|
|
163163
|
-
return new APIPromise($
|
|
163604
|
+
return new APIPromise($do419(client, request, options));
|
|
163164
163605
|
}
|
|
163165
|
-
async function $
|
|
163606
|
+
async function $do419(client, request, options) {
|
|
163166
163607
|
const parsed = safeParse4(request, (value) => TrackingExperimentsCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163167
163608
|
if (!parsed.ok) {
|
|
163168
163609
|
return [parsed, { status: "invalid" }];
|
|
@@ -163240,12 +163681,12 @@ var init_trackingExperimentsCreate = __esm(() => {
|
|
|
163240
163681
|
});
|
|
163241
163682
|
|
|
163242
163683
|
// src/mcp-server/tools/trackingExperimentsCreate.ts
|
|
163243
|
-
var
|
|
163684
|
+
var args410, tool$trackingExperimentsCreate;
|
|
163244
163685
|
var init_trackingExperimentsCreate2 = __esm(() => {
|
|
163245
163686
|
init_trackingExperimentsCreate();
|
|
163246
163687
|
init_operations();
|
|
163247
163688
|
init_tools();
|
|
163248
|
-
|
|
163689
|
+
args410 = {
|
|
163249
163690
|
request: TrackingExperimentsCreateRequest$inboundSchema
|
|
163250
163691
|
};
|
|
163251
163692
|
tool$trackingExperimentsCreate = {
|
|
@@ -163253,9 +163694,9 @@ var init_trackingExperimentsCreate2 = __esm(() => {
|
|
|
163253
163694
|
description: `Create
|
|
163254
163695
|
|
|
163255
163696
|
Create a namespaced experiment. Artifact locations are managed by the service. Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163256
|
-
args:
|
|
163257
|
-
tool: async (client,
|
|
163258
|
-
const [result, apiCall] = await trackingExperimentsCreate(client,
|
|
163697
|
+
args: args410,
|
|
163698
|
+
tool: async (client, args411, ctx) => {
|
|
163699
|
+
const [result, apiCall] = await trackingExperimentsCreate(client, args411.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163259
163700
|
if (!result.ok) {
|
|
163260
163701
|
return {
|
|
163261
163702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163270,9 +163711,9 @@ Create a namespaced experiment. Artifact locations are managed by the service. R
|
|
|
163270
163711
|
|
|
163271
163712
|
// src/funcs/trackingExperimentsDelete.ts
|
|
163272
163713
|
function trackingExperimentsDelete(client, request, options) {
|
|
163273
|
-
return new APIPromise($
|
|
163714
|
+
return new APIPromise($do420(client, request, options));
|
|
163274
163715
|
}
|
|
163275
|
-
async function $
|
|
163716
|
+
async function $do420(client, request, options) {
|
|
163276
163717
|
const parsed = safeParse4(request, (value) => TrackingExperimentsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163277
163718
|
if (!parsed.ok) {
|
|
163278
163719
|
return [parsed, { status: "invalid" }];
|
|
@@ -163350,12 +163791,12 @@ var init_trackingExperimentsDelete = __esm(() => {
|
|
|
163350
163791
|
});
|
|
163351
163792
|
|
|
163352
163793
|
// src/mcp-server/tools/trackingExperimentsDelete.ts
|
|
163353
|
-
var
|
|
163794
|
+
var args411, tool$trackingExperimentsDelete;
|
|
163354
163795
|
var init_trackingExperimentsDelete2 = __esm(() => {
|
|
163355
163796
|
init_trackingExperimentsDelete();
|
|
163356
163797
|
init_operations();
|
|
163357
163798
|
init_tools();
|
|
163358
|
-
|
|
163799
|
+
args411 = {
|
|
163359
163800
|
request: TrackingExperimentsDeleteRequest$inboundSchema
|
|
163360
163801
|
};
|
|
163361
163802
|
tool$trackingExperimentsDelete = {
|
|
@@ -163363,9 +163804,9 @@ var init_trackingExperimentsDelete2 = __esm(() => {
|
|
|
163363
163804
|
description: `Delete
|
|
163364
163805
|
|
|
163365
163806
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163366
|
-
args:
|
|
163367
|
-
tool: async (client,
|
|
163368
|
-
const [result, apiCall] = await trackingExperimentsDelete(client,
|
|
163807
|
+
args: args411,
|
|
163808
|
+
tool: async (client, args412, ctx) => {
|
|
163809
|
+
const [result, apiCall] = await trackingExperimentsDelete(client, args412.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163369
163810
|
if (!result.ok) {
|
|
163370
163811
|
return {
|
|
163371
163812
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163380,9 +163821,9 @@ var init_trackingExperimentsDelete2 = __esm(() => {
|
|
|
163380
163821
|
|
|
163381
163822
|
// src/funcs/trackingExperimentsGet.ts
|
|
163382
163823
|
function trackingExperimentsGet(client, request, options) {
|
|
163383
|
-
return new APIPromise($
|
|
163824
|
+
return new APIPromise($do421(client, request, options));
|
|
163384
163825
|
}
|
|
163385
|
-
async function $
|
|
163826
|
+
async function $do421(client, request, options) {
|
|
163386
163827
|
const parsed = safeParse4(request, (value) => TrackingExperimentsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163387
163828
|
if (!parsed.ok) {
|
|
163388
163829
|
return [parsed, { status: "invalid" }];
|
|
@@ -163463,12 +163904,12 @@ var init_trackingExperimentsGet = __esm(() => {
|
|
|
163463
163904
|
});
|
|
163464
163905
|
|
|
163465
163906
|
// src/mcp-server/tools/trackingExperimentsGet.ts
|
|
163466
|
-
var
|
|
163907
|
+
var args412, tool$trackingExperimentsGet;
|
|
163467
163908
|
var init_trackingExperimentsGet2 = __esm(() => {
|
|
163468
163909
|
init_trackingExperimentsGet();
|
|
163469
163910
|
init_operations();
|
|
163470
163911
|
init_tools();
|
|
163471
|
-
|
|
163912
|
+
args412 = {
|
|
163472
163913
|
request: TrackingExperimentsGetRequest$inboundSchema
|
|
163473
163914
|
};
|
|
163474
163915
|
tool$trackingExperimentsGet = {
|
|
@@ -163476,9 +163917,9 @@ var init_trackingExperimentsGet2 = __esm(() => {
|
|
|
163476
163917
|
description: `Get
|
|
163477
163918
|
|
|
163478
163919
|
Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163479
|
-
args:
|
|
163480
|
-
tool: async (client,
|
|
163481
|
-
const [result, apiCall] = await trackingExperimentsGet(client,
|
|
163920
|
+
args: args412,
|
|
163921
|
+
tool: async (client, args413, ctx) => {
|
|
163922
|
+
const [result, apiCall] = await trackingExperimentsGet(client, args413.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163482
163923
|
if (!result.ok) {
|
|
163483
163924
|
return {
|
|
163484
163925
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163493,9 +163934,9 @@ var init_trackingExperimentsGet2 = __esm(() => {
|
|
|
163493
163934
|
|
|
163494
163935
|
// src/funcs/trackingExperimentsGetByName.ts
|
|
163495
163936
|
function trackingExperimentsGetByName(client, request, options) {
|
|
163496
|
-
return new APIPromise($
|
|
163937
|
+
return new APIPromise($do422(client, request, options));
|
|
163497
163938
|
}
|
|
163498
|
-
async function $
|
|
163939
|
+
async function $do422(client, request, options) {
|
|
163499
163940
|
const parsed = safeParse4(request, (value) => TrackingExperimentsGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163500
163941
|
if (!parsed.ok) {
|
|
163501
163942
|
return [parsed, { status: "invalid" }];
|
|
@@ -163576,12 +164017,12 @@ var init_trackingExperimentsGetByName = __esm(() => {
|
|
|
163576
164017
|
});
|
|
163577
164018
|
|
|
163578
164019
|
// src/mcp-server/tools/trackingExperimentsGetByName.ts
|
|
163579
|
-
var
|
|
164020
|
+
var args413, tool$trackingExperimentsGetByName;
|
|
163580
164021
|
var init_trackingExperimentsGetByName2 = __esm(() => {
|
|
163581
164022
|
init_trackingExperimentsGetByName();
|
|
163582
164023
|
init_operations();
|
|
163583
164024
|
init_tools();
|
|
163584
|
-
|
|
164025
|
+
args413 = {
|
|
163585
164026
|
request: TrackingExperimentsGetByNameRequest$inboundSchema
|
|
163586
164027
|
};
|
|
163587
164028
|
tool$trackingExperimentsGetByName = {
|
|
@@ -163589,9 +164030,9 @@ var init_trackingExperimentsGetByName2 = __esm(() => {
|
|
|
163589
164030
|
description: `GetByName
|
|
163590
164031
|
|
|
163591
164032
|
Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163592
|
-
args:
|
|
163593
|
-
tool: async (client,
|
|
163594
|
-
const [result, apiCall] = await trackingExperimentsGetByName(client,
|
|
164033
|
+
args: args413,
|
|
164034
|
+
tool: async (client, args414, ctx) => {
|
|
164035
|
+
const [result, apiCall] = await trackingExperimentsGetByName(client, args414.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163595
164036
|
if (!result.ok) {
|
|
163596
164037
|
return {
|
|
163597
164038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163606,9 +164047,9 @@ var init_trackingExperimentsGetByName2 = __esm(() => {
|
|
|
163606
164047
|
|
|
163607
164048
|
// src/funcs/trackingExperimentsSearch.ts
|
|
163608
164049
|
function trackingExperimentsSearch(client, request, options) {
|
|
163609
|
-
return new APIPromise($
|
|
164050
|
+
return new APIPromise($do423(client, request, options));
|
|
163610
164051
|
}
|
|
163611
|
-
async function $
|
|
164052
|
+
async function $do423(client, request, options) {
|
|
163612
164053
|
const parsed = safeParse4(request, (value) => TrackingExperimentsSearchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163613
164054
|
if (!parsed.ok) {
|
|
163614
164055
|
return [parsed, { status: "invalid" }];
|
|
@@ -163686,12 +164127,12 @@ var init_trackingExperimentsSearch = __esm(() => {
|
|
|
163686
164127
|
});
|
|
163687
164128
|
|
|
163688
164129
|
// src/mcp-server/tools/trackingExperimentsSearch.ts
|
|
163689
|
-
var
|
|
164130
|
+
var args414, tool$trackingExperimentsSearch;
|
|
163690
164131
|
var init_trackingExperimentsSearch2 = __esm(() => {
|
|
163691
164132
|
init_trackingExperimentsSearch();
|
|
163692
164133
|
init_operations();
|
|
163693
164134
|
init_tools();
|
|
163694
|
-
|
|
164135
|
+
args414 = {
|
|
163695
164136
|
request: TrackingExperimentsSearchRequest$inboundSchema
|
|
163696
164137
|
};
|
|
163697
164138
|
tool$trackingExperimentsSearch = {
|
|
@@ -163699,9 +164140,9 @@ var init_trackingExperimentsSearch2 = __esm(() => {
|
|
|
163699
164140
|
description: `Search
|
|
163700
164141
|
|
|
163701
164142
|
Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163702
|
-
args:
|
|
163703
|
-
tool: async (client,
|
|
163704
|
-
const [result, apiCall] = await trackingExperimentsSearch(client,
|
|
164143
|
+
args: args414,
|
|
164144
|
+
tool: async (client, args415, ctx) => {
|
|
164145
|
+
const [result, apiCall] = await trackingExperimentsSearch(client, args415.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163705
164146
|
if (!result.ok) {
|
|
163706
164147
|
return {
|
|
163707
164148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163716,9 +164157,9 @@ var init_trackingExperimentsSearch2 = __esm(() => {
|
|
|
163716
164157
|
|
|
163717
164158
|
// src/funcs/trackingRunsCreate.ts
|
|
163718
164159
|
function trackingRunsCreate(client, request, options) {
|
|
163719
|
-
return new APIPromise($
|
|
164160
|
+
return new APIPromise($do424(client, request, options));
|
|
163720
164161
|
}
|
|
163721
|
-
async function $
|
|
164162
|
+
async function $do424(client, request, options) {
|
|
163722
164163
|
const parsed = safeParse4(request, (value) => TrackingRunsCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163723
164164
|
if (!parsed.ok) {
|
|
163724
164165
|
return [parsed, { status: "invalid" }];
|
|
@@ -163796,12 +164237,12 @@ var init_trackingRunsCreate = __esm(() => {
|
|
|
163796
164237
|
});
|
|
163797
164238
|
|
|
163798
164239
|
// src/mcp-server/tools/trackingRunsCreate.ts
|
|
163799
|
-
var
|
|
164240
|
+
var args415, tool$trackingRunsCreate;
|
|
163800
164241
|
var init_trackingRunsCreate2 = __esm(() => {
|
|
163801
164242
|
init_trackingRunsCreate();
|
|
163802
164243
|
init_operations();
|
|
163803
164244
|
init_tools();
|
|
163804
|
-
|
|
164245
|
+
args415 = {
|
|
163805
164246
|
request: TrackingRunsCreateRequest$inboundSchema
|
|
163806
164247
|
};
|
|
163807
164248
|
tool$trackingRunsCreate = {
|
|
@@ -163809,9 +164250,9 @@ var init_trackingRunsCreate2 = __esm(() => {
|
|
|
163809
164250
|
description: `Create
|
|
163810
164251
|
|
|
163811
164252
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163812
|
-
args:
|
|
163813
|
-
tool: async (client,
|
|
163814
|
-
const [result, apiCall] = await trackingRunsCreate(client,
|
|
164253
|
+
args: args415,
|
|
164254
|
+
tool: async (client, args416, ctx) => {
|
|
164255
|
+
const [result, apiCall] = await trackingRunsCreate(client, args416.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163815
164256
|
if (!result.ok) {
|
|
163816
164257
|
return {
|
|
163817
164258
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163826,9 +164267,9 @@ var init_trackingRunsCreate2 = __esm(() => {
|
|
|
163826
164267
|
|
|
163827
164268
|
// src/funcs/trackingRunsDelete.ts
|
|
163828
164269
|
function trackingRunsDelete(client, request, options) {
|
|
163829
|
-
return new APIPromise($
|
|
164270
|
+
return new APIPromise($do425(client, request, options));
|
|
163830
164271
|
}
|
|
163831
|
-
async function $
|
|
164272
|
+
async function $do425(client, request, options) {
|
|
163832
164273
|
const parsed = safeParse4(request, (value) => TrackingRunsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163833
164274
|
if (!parsed.ok) {
|
|
163834
164275
|
return [parsed, { status: "invalid" }];
|
|
@@ -163906,12 +164347,12 @@ var init_trackingRunsDelete = __esm(() => {
|
|
|
163906
164347
|
});
|
|
163907
164348
|
|
|
163908
164349
|
// src/mcp-server/tools/trackingRunsDelete.ts
|
|
163909
|
-
var
|
|
164350
|
+
var args416, tool$trackingRunsDelete;
|
|
163910
164351
|
var init_trackingRunsDelete2 = __esm(() => {
|
|
163911
164352
|
init_trackingRunsDelete();
|
|
163912
164353
|
init_operations();
|
|
163913
164354
|
init_tools();
|
|
163914
|
-
|
|
164355
|
+
args416 = {
|
|
163915
164356
|
request: TrackingRunsDeleteRequest$inboundSchema
|
|
163916
164357
|
};
|
|
163917
164358
|
tool$trackingRunsDelete = {
|
|
@@ -163919,9 +164360,9 @@ var init_trackingRunsDelete2 = __esm(() => {
|
|
|
163919
164360
|
description: `Delete
|
|
163920
164361
|
|
|
163921
164362
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
163922
|
-
args:
|
|
163923
|
-
tool: async (client,
|
|
163924
|
-
const [result, apiCall] = await trackingRunsDelete(client,
|
|
164363
|
+
args: args416,
|
|
164364
|
+
tool: async (client, args417, ctx) => {
|
|
164365
|
+
const [result, apiCall] = await trackingRunsDelete(client, args417.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
163925
164366
|
if (!result.ok) {
|
|
163926
164367
|
return {
|
|
163927
164368
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -163936,9 +164377,9 @@ var init_trackingRunsDelete2 = __esm(() => {
|
|
|
163936
164377
|
|
|
163937
164378
|
// src/funcs/trackingRunsDeleteTag.ts
|
|
163938
164379
|
function trackingRunsDeleteTag(client, request, options) {
|
|
163939
|
-
return new APIPromise($
|
|
164380
|
+
return new APIPromise($do426(client, request, options));
|
|
163940
164381
|
}
|
|
163941
|
-
async function $
|
|
164382
|
+
async function $do426(client, request, options) {
|
|
163942
164383
|
const parsed = safeParse4(request, (value) => TrackingRunsDeleteTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
163943
164384
|
if (!parsed.ok) {
|
|
163944
164385
|
return [parsed, { status: "invalid" }];
|
|
@@ -164016,12 +164457,12 @@ var init_trackingRunsDeleteTag = __esm(() => {
|
|
|
164016
164457
|
});
|
|
164017
164458
|
|
|
164018
164459
|
// src/mcp-server/tools/trackingRunsDeleteTag.ts
|
|
164019
|
-
var
|
|
164460
|
+
var args417, tool$trackingRunsDeleteTag;
|
|
164020
164461
|
var init_trackingRunsDeleteTag2 = __esm(() => {
|
|
164021
164462
|
init_trackingRunsDeleteTag();
|
|
164022
164463
|
init_operations();
|
|
164023
164464
|
init_tools();
|
|
164024
|
-
|
|
164465
|
+
args417 = {
|
|
164025
164466
|
request: TrackingRunsDeleteTagRequest$inboundSchema
|
|
164026
164467
|
};
|
|
164027
164468
|
tool$trackingRunsDeleteTag = {
|
|
@@ -164029,9 +164470,9 @@ var init_trackingRunsDeleteTag2 = __esm(() => {
|
|
|
164029
164470
|
description: `DeleteTag
|
|
164030
164471
|
|
|
164031
164472
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164032
|
-
args:
|
|
164033
|
-
tool: async (client,
|
|
164034
|
-
const [result, apiCall] = await trackingRunsDeleteTag(client,
|
|
164473
|
+
args: args417,
|
|
164474
|
+
tool: async (client, args418, ctx) => {
|
|
164475
|
+
const [result, apiCall] = await trackingRunsDeleteTag(client, args418.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164035
164476
|
if (!result.ok) {
|
|
164036
164477
|
return {
|
|
164037
164478
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164046,9 +164487,9 @@ var init_trackingRunsDeleteTag2 = __esm(() => {
|
|
|
164046
164487
|
|
|
164047
164488
|
// src/funcs/trackingRunsGet.ts
|
|
164048
164489
|
function trackingRunsGet(client, request, options) {
|
|
164049
|
-
return new APIPromise($
|
|
164490
|
+
return new APIPromise($do427(client, request, options));
|
|
164050
164491
|
}
|
|
164051
|
-
async function $
|
|
164492
|
+
async function $do427(client, request, options) {
|
|
164052
164493
|
const parsed = safeParse4(request, (value) => TrackingRunsGetRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164053
164494
|
if (!parsed.ok) {
|
|
164054
164495
|
return [parsed, { status: "invalid" }];
|
|
@@ -164129,12 +164570,12 @@ var init_trackingRunsGet = __esm(() => {
|
|
|
164129
164570
|
});
|
|
164130
164571
|
|
|
164131
164572
|
// src/mcp-server/tools/trackingRunsGet.ts
|
|
164132
|
-
var
|
|
164573
|
+
var args418, tool$trackingRunsGet;
|
|
164133
164574
|
var init_trackingRunsGet2 = __esm(() => {
|
|
164134
164575
|
init_trackingRunsGet();
|
|
164135
164576
|
init_operations();
|
|
164136
164577
|
init_tools();
|
|
164137
|
-
|
|
164578
|
+
args418 = {
|
|
164138
164579
|
request: TrackingRunsGetRequest$inboundSchema
|
|
164139
164580
|
};
|
|
164140
164581
|
tool$trackingRunsGet = {
|
|
@@ -164142,9 +164583,9 @@ var init_trackingRunsGet2 = __esm(() => {
|
|
|
164142
164583
|
description: `Get
|
|
164143
164584
|
|
|
164144
164585
|
Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164145
|
-
args:
|
|
164146
|
-
tool: async (client,
|
|
164147
|
-
const [result, apiCall] = await trackingRunsGet(client,
|
|
164586
|
+
args: args418,
|
|
164587
|
+
tool: async (client, args419, ctx) => {
|
|
164588
|
+
const [result, apiCall] = await trackingRunsGet(client, args419.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164148
164589
|
if (!result.ok) {
|
|
164149
164590
|
return {
|
|
164150
164591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164159,9 +164600,9 @@ var init_trackingRunsGet2 = __esm(() => {
|
|
|
164159
164600
|
|
|
164160
164601
|
// src/funcs/trackingRunsGetMetricHistory.ts
|
|
164161
164602
|
function trackingRunsGetMetricHistory(client, request, options) {
|
|
164162
|
-
return new APIPromise($
|
|
164603
|
+
return new APIPromise($do428(client, request, options));
|
|
164163
164604
|
}
|
|
164164
|
-
async function $
|
|
164605
|
+
async function $do428(client, request, options) {
|
|
164165
164606
|
const parsed = safeParse4(request, (value) => TrackingRunsGetMetricHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164166
164607
|
if (!parsed.ok) {
|
|
164167
164608
|
return [parsed, { status: "invalid" }];
|
|
@@ -164245,12 +164686,12 @@ var init_trackingRunsGetMetricHistory = __esm(() => {
|
|
|
164245
164686
|
});
|
|
164246
164687
|
|
|
164247
164688
|
// src/mcp-server/tools/trackingRunsGetMetricHistory.ts
|
|
164248
|
-
var
|
|
164689
|
+
var args419, tool$trackingRunsGetMetricHistory;
|
|
164249
164690
|
var init_trackingRunsGetMetricHistory2 = __esm(() => {
|
|
164250
164691
|
init_trackingRunsGetMetricHistory();
|
|
164251
164692
|
init_operations();
|
|
164252
164693
|
init_tools();
|
|
164253
|
-
|
|
164694
|
+
args419 = {
|
|
164254
164695
|
request: TrackingRunsGetMetricHistoryRequest$inboundSchema
|
|
164255
164696
|
};
|
|
164256
164697
|
tool$trackingRunsGetMetricHistory = {
|
|
@@ -164258,9 +164699,9 @@ var init_trackingRunsGetMetricHistory2 = __esm(() => {
|
|
|
164258
164699
|
description: `GetMetricHistory
|
|
164259
164700
|
|
|
164260
164701
|
Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164261
|
-
args:
|
|
164262
|
-
tool: async (client,
|
|
164263
|
-
const [result, apiCall] = await trackingRunsGetMetricHistory(client,
|
|
164702
|
+
args: args419,
|
|
164703
|
+
tool: async (client, args420, ctx) => {
|
|
164704
|
+
const [result, apiCall] = await trackingRunsGetMetricHistory(client, args420.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164264
164705
|
if (!result.ok) {
|
|
164265
164706
|
return {
|
|
164266
164707
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164275,9 +164716,9 @@ var init_trackingRunsGetMetricHistory2 = __esm(() => {
|
|
|
164275
164716
|
|
|
164276
164717
|
// src/funcs/trackingRunsLogBatch.ts
|
|
164277
164718
|
function trackingRunsLogBatch(client, request, options) {
|
|
164278
|
-
return new APIPromise($
|
|
164719
|
+
return new APIPromise($do429(client, request, options));
|
|
164279
164720
|
}
|
|
164280
|
-
async function $
|
|
164721
|
+
async function $do429(client, request, options) {
|
|
164281
164722
|
const parsed = safeParse4(request, (value) => TrackingRunsLogBatchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164282
164723
|
if (!parsed.ok) {
|
|
164283
164724
|
return [parsed, { status: "invalid" }];
|
|
@@ -164355,12 +164796,12 @@ var init_trackingRunsLogBatch = __esm(() => {
|
|
|
164355
164796
|
});
|
|
164356
164797
|
|
|
164357
164798
|
// src/mcp-server/tools/trackingRunsLogBatch.ts
|
|
164358
|
-
var
|
|
164799
|
+
var args420, tool$trackingRunsLogBatch;
|
|
164359
164800
|
var init_trackingRunsLogBatch2 = __esm(() => {
|
|
164360
164801
|
init_trackingRunsLogBatch();
|
|
164361
164802
|
init_operations();
|
|
164362
164803
|
init_tools();
|
|
164363
|
-
|
|
164804
|
+
args420 = {
|
|
164364
164805
|
request: TrackingRunsLogBatchRequest$inboundSchema
|
|
164365
164806
|
};
|
|
164366
164807
|
tool$trackingRunsLogBatch = {
|
|
@@ -164368,9 +164809,9 @@ var init_trackingRunsLogBatch2 = __esm(() => {
|
|
|
164368
164809
|
description: `LogBatch
|
|
164369
164810
|
|
|
164370
164811
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164371
|
-
args:
|
|
164372
|
-
tool: async (client,
|
|
164373
|
-
const [result, apiCall] = await trackingRunsLogBatch(client,
|
|
164812
|
+
args: args420,
|
|
164813
|
+
tool: async (client, args421, ctx) => {
|
|
164814
|
+
const [result, apiCall] = await trackingRunsLogBatch(client, args421.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164374
164815
|
if (!result.ok) {
|
|
164375
164816
|
return {
|
|
164376
164817
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164385,9 +164826,9 @@ var init_trackingRunsLogBatch2 = __esm(() => {
|
|
|
164385
164826
|
|
|
164386
164827
|
// src/funcs/trackingRunsLogInputs.ts
|
|
164387
164828
|
function trackingRunsLogInputs(client, request, options) {
|
|
164388
|
-
return new APIPromise($
|
|
164829
|
+
return new APIPromise($do430(client, request, options));
|
|
164389
164830
|
}
|
|
164390
|
-
async function $
|
|
164831
|
+
async function $do430(client, request, options) {
|
|
164391
164832
|
const parsed = safeParse4(request, (value) => TrackingRunsLogInputsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164392
164833
|
if (!parsed.ok) {
|
|
164393
164834
|
return [parsed, { status: "invalid" }];
|
|
@@ -164465,12 +164906,12 @@ var init_trackingRunsLogInputs = __esm(() => {
|
|
|
164465
164906
|
});
|
|
164466
164907
|
|
|
164467
164908
|
// src/mcp-server/tools/trackingRunsLogInputs.ts
|
|
164468
|
-
var
|
|
164909
|
+
var args421, tool$trackingRunsLogInputs;
|
|
164469
164910
|
var init_trackingRunsLogInputs2 = __esm(() => {
|
|
164470
164911
|
init_trackingRunsLogInputs();
|
|
164471
164912
|
init_operations();
|
|
164472
164913
|
init_tools();
|
|
164473
|
-
|
|
164914
|
+
args421 = {
|
|
164474
164915
|
request: TrackingRunsLogInputsRequest$inboundSchema
|
|
164475
164916
|
};
|
|
164476
164917
|
tool$trackingRunsLogInputs = {
|
|
@@ -164478,9 +164919,9 @@ var init_trackingRunsLogInputs2 = __esm(() => {
|
|
|
164478
164919
|
description: `LogInputs
|
|
164479
164920
|
|
|
164480
164921
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164481
|
-
args:
|
|
164482
|
-
tool: async (client,
|
|
164483
|
-
const [result, apiCall] = await trackingRunsLogInputs(client,
|
|
164922
|
+
args: args421,
|
|
164923
|
+
tool: async (client, args422, ctx) => {
|
|
164924
|
+
const [result, apiCall] = await trackingRunsLogInputs(client, args422.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164484
164925
|
if (!result.ok) {
|
|
164485
164926
|
return {
|
|
164486
164927
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164495,9 +164936,9 @@ var init_trackingRunsLogInputs2 = __esm(() => {
|
|
|
164495
164936
|
|
|
164496
164937
|
// src/funcs/trackingRunsLogMetric.ts
|
|
164497
164938
|
function trackingRunsLogMetric(client, request, options) {
|
|
164498
|
-
return new APIPromise($
|
|
164939
|
+
return new APIPromise($do431(client, request, options));
|
|
164499
164940
|
}
|
|
164500
|
-
async function $
|
|
164941
|
+
async function $do431(client, request, options) {
|
|
164501
164942
|
const parsed = safeParse4(request, (value) => TrackingRunsLogMetricRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164502
164943
|
if (!parsed.ok) {
|
|
164503
164944
|
return [parsed, { status: "invalid" }];
|
|
@@ -164575,12 +165016,12 @@ var init_trackingRunsLogMetric = __esm(() => {
|
|
|
164575
165016
|
});
|
|
164576
165017
|
|
|
164577
165018
|
// src/mcp-server/tools/trackingRunsLogMetric.ts
|
|
164578
|
-
var
|
|
165019
|
+
var args422, tool$trackingRunsLogMetric;
|
|
164579
165020
|
var init_trackingRunsLogMetric2 = __esm(() => {
|
|
164580
165021
|
init_trackingRunsLogMetric();
|
|
164581
165022
|
init_operations();
|
|
164582
165023
|
init_tools();
|
|
164583
|
-
|
|
165024
|
+
args422 = {
|
|
164584
165025
|
request: TrackingRunsLogMetricRequest$inboundSchema
|
|
164585
165026
|
};
|
|
164586
165027
|
tool$trackingRunsLogMetric = {
|
|
@@ -164588,9 +165029,9 @@ var init_trackingRunsLogMetric2 = __esm(() => {
|
|
|
164588
165029
|
description: `LogMetric
|
|
164589
165030
|
|
|
164590
165031
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164591
|
-
args:
|
|
164592
|
-
tool: async (client,
|
|
164593
|
-
const [result, apiCall] = await trackingRunsLogMetric(client,
|
|
165032
|
+
args: args422,
|
|
165033
|
+
tool: async (client, args423, ctx) => {
|
|
165034
|
+
const [result, apiCall] = await trackingRunsLogMetric(client, args423.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164594
165035
|
if (!result.ok) {
|
|
164595
165036
|
return {
|
|
164596
165037
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164605,9 +165046,9 @@ var init_trackingRunsLogMetric2 = __esm(() => {
|
|
|
164605
165046
|
|
|
164606
165047
|
// src/funcs/trackingRunsLogParameter.ts
|
|
164607
165048
|
function trackingRunsLogParameter(client, request, options) {
|
|
164608
|
-
return new APIPromise($
|
|
165049
|
+
return new APIPromise($do432(client, request, options));
|
|
164609
165050
|
}
|
|
164610
|
-
async function $
|
|
165051
|
+
async function $do432(client, request, options) {
|
|
164611
165052
|
const parsed = safeParse4(request, (value) => TrackingRunsLogParameterRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164612
165053
|
if (!parsed.ok) {
|
|
164613
165054
|
return [parsed, { status: "invalid" }];
|
|
@@ -164685,12 +165126,12 @@ var init_trackingRunsLogParameter = __esm(() => {
|
|
|
164685
165126
|
});
|
|
164686
165127
|
|
|
164687
165128
|
// src/mcp-server/tools/trackingRunsLogParameter.ts
|
|
164688
|
-
var
|
|
165129
|
+
var args423, tool$trackingRunsLogParameter;
|
|
164689
165130
|
var init_trackingRunsLogParameter2 = __esm(() => {
|
|
164690
165131
|
init_trackingRunsLogParameter();
|
|
164691
165132
|
init_operations();
|
|
164692
165133
|
init_tools();
|
|
164693
|
-
|
|
165134
|
+
args423 = {
|
|
164694
165135
|
request: TrackingRunsLogParameterRequest$inboundSchema
|
|
164695
165136
|
};
|
|
164696
165137
|
tool$trackingRunsLogParameter = {
|
|
@@ -164698,9 +165139,9 @@ var init_trackingRunsLogParameter2 = __esm(() => {
|
|
|
164698
165139
|
description: `LogParameter
|
|
164699
165140
|
|
|
164700
165141
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164701
|
-
args:
|
|
164702
|
-
tool: async (client,
|
|
164703
|
-
const [result, apiCall] = await trackingRunsLogParameter(client,
|
|
165142
|
+
args: args423,
|
|
165143
|
+
tool: async (client, args424, ctx) => {
|
|
165144
|
+
const [result, apiCall] = await trackingRunsLogParameter(client, args424.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164704
165145
|
if (!result.ok) {
|
|
164705
165146
|
return {
|
|
164706
165147
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164715,9 +165156,9 @@ var init_trackingRunsLogParameter2 = __esm(() => {
|
|
|
164715
165156
|
|
|
164716
165157
|
// src/funcs/trackingRunsRestore.ts
|
|
164717
165158
|
function trackingRunsRestore(client, request, options) {
|
|
164718
|
-
return new APIPromise($
|
|
165159
|
+
return new APIPromise($do433(client, request, options));
|
|
164719
165160
|
}
|
|
164720
|
-
async function $
|
|
165161
|
+
async function $do433(client, request, options) {
|
|
164721
165162
|
const parsed = safeParse4(request, (value) => TrackingRunsRestoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164722
165163
|
if (!parsed.ok) {
|
|
164723
165164
|
return [parsed, { status: "invalid" }];
|
|
@@ -164795,12 +165236,12 @@ var init_trackingRunsRestore = __esm(() => {
|
|
|
164795
165236
|
});
|
|
164796
165237
|
|
|
164797
165238
|
// src/mcp-server/tools/trackingRunsRestore.ts
|
|
164798
|
-
var
|
|
165239
|
+
var args424, tool$trackingRunsRestore;
|
|
164799
165240
|
var init_trackingRunsRestore2 = __esm(() => {
|
|
164800
165241
|
init_trackingRunsRestore();
|
|
164801
165242
|
init_operations();
|
|
164802
165243
|
init_tools();
|
|
164803
|
-
|
|
165244
|
+
args424 = {
|
|
164804
165245
|
request: TrackingRunsRestoreRequest$inboundSchema
|
|
164805
165246
|
};
|
|
164806
165247
|
tool$trackingRunsRestore = {
|
|
@@ -164808,9 +165249,9 @@ var init_trackingRunsRestore2 = __esm(() => {
|
|
|
164808
165249
|
description: `Restore
|
|
164809
165250
|
|
|
164810
165251
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164811
|
-
args:
|
|
164812
|
-
tool: async (client,
|
|
164813
|
-
const [result, apiCall] = await trackingRunsRestore(client,
|
|
165252
|
+
args: args424,
|
|
165253
|
+
tool: async (client, args425, ctx) => {
|
|
165254
|
+
const [result, apiCall] = await trackingRunsRestore(client, args425.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164814
165255
|
if (!result.ok) {
|
|
164815
165256
|
return {
|
|
164816
165257
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164825,9 +165266,9 @@ var init_trackingRunsRestore2 = __esm(() => {
|
|
|
164825
165266
|
|
|
164826
165267
|
// src/funcs/trackingRunsSearch.ts
|
|
164827
165268
|
function trackingRunsSearch(client, request, options) {
|
|
164828
|
-
return new APIPromise($
|
|
165269
|
+
return new APIPromise($do434(client, request, options));
|
|
164829
165270
|
}
|
|
164830
|
-
async function $
|
|
165271
|
+
async function $do434(client, request, options) {
|
|
164831
165272
|
const parsed = safeParse4(request, (value) => TrackingRunsSearchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164832
165273
|
if (!parsed.ok) {
|
|
164833
165274
|
return [parsed, { status: "invalid" }];
|
|
@@ -164905,12 +165346,12 @@ var init_trackingRunsSearch = __esm(() => {
|
|
|
164905
165346
|
});
|
|
164906
165347
|
|
|
164907
165348
|
// src/mcp-server/tools/trackingRunsSearch.ts
|
|
164908
|
-
var
|
|
165349
|
+
var args425, tool$trackingRunsSearch;
|
|
164909
165350
|
var init_trackingRunsSearch2 = __esm(() => {
|
|
164910
165351
|
init_trackingRunsSearch();
|
|
164911
165352
|
init_operations();
|
|
164912
165353
|
init_tools();
|
|
164913
|
-
|
|
165354
|
+
args425 = {
|
|
164914
165355
|
request: TrackingRunsSearchRequest$inboundSchema
|
|
164915
165356
|
};
|
|
164916
165357
|
tool$trackingRunsSearch = {
|
|
@@ -164918,9 +165359,9 @@ var init_trackingRunsSearch2 = __esm(() => {
|
|
|
164918
165359
|
description: `Search
|
|
164919
165360
|
|
|
164920
165361
|
Explicit experiment IDs are required; every experiment must belong to the caller. Requires \`read:tracking\`. Results are restricted to the API key organization and team.`,
|
|
164921
|
-
args:
|
|
164922
|
-
tool: async (client,
|
|
164923
|
-
const [result, apiCall] = await trackingRunsSearch(client,
|
|
165362
|
+
args: args425,
|
|
165363
|
+
tool: async (client, args426, ctx) => {
|
|
165364
|
+
const [result, apiCall] = await trackingRunsSearch(client, args426.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
164924
165365
|
if (!result.ok) {
|
|
164925
165366
|
return {
|
|
164926
165367
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -164935,9 +165376,9 @@ Explicit experiment IDs are required; every experiment must belong to the caller
|
|
|
164935
165376
|
|
|
164936
165377
|
// src/funcs/trackingRunsSetTag.ts
|
|
164937
165378
|
function trackingRunsSetTag(client, request, options) {
|
|
164938
|
-
return new APIPromise($
|
|
165379
|
+
return new APIPromise($do435(client, request, options));
|
|
164939
165380
|
}
|
|
164940
|
-
async function $
|
|
165381
|
+
async function $do435(client, request, options) {
|
|
164941
165382
|
const parsed = safeParse4(request, (value) => TrackingRunsSetTagRequest$outboundSchema.parse(value), "Input validation failed");
|
|
164942
165383
|
if (!parsed.ok) {
|
|
164943
165384
|
return [parsed, { status: "invalid" }];
|
|
@@ -165015,12 +165456,12 @@ var init_trackingRunsSetTag = __esm(() => {
|
|
|
165015
165456
|
});
|
|
165016
165457
|
|
|
165017
165458
|
// src/mcp-server/tools/trackingRunsSetTag.ts
|
|
165018
|
-
var
|
|
165459
|
+
var args426, tool$trackingRunsSetTag;
|
|
165019
165460
|
var init_trackingRunsSetTag2 = __esm(() => {
|
|
165020
165461
|
init_trackingRunsSetTag();
|
|
165021
165462
|
init_operations();
|
|
165022
165463
|
init_tools();
|
|
165023
|
-
|
|
165464
|
+
args426 = {
|
|
165024
165465
|
request: TrackingRunsSetTagRequest$inboundSchema
|
|
165025
165466
|
};
|
|
165026
165467
|
tool$trackingRunsSetTag = {
|
|
@@ -165028,9 +165469,9 @@ var init_trackingRunsSetTag2 = __esm(() => {
|
|
|
165028
165469
|
description: `SetTag
|
|
165029
165470
|
|
|
165030
165471
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
165031
|
-
args:
|
|
165032
|
-
tool: async (client,
|
|
165033
|
-
const [result, apiCall] = await trackingRunsSetTag(client,
|
|
165472
|
+
args: args426,
|
|
165473
|
+
tool: async (client, args427, ctx) => {
|
|
165474
|
+
const [result, apiCall] = await trackingRunsSetTag(client, args427.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
165034
165475
|
if (!result.ok) {
|
|
165035
165476
|
return {
|
|
165036
165477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -165045,9 +165486,9 @@ var init_trackingRunsSetTag2 = __esm(() => {
|
|
|
165045
165486
|
|
|
165046
165487
|
// src/funcs/trackingRunsUpdate.ts
|
|
165047
165488
|
function trackingRunsUpdate(client, request, options) {
|
|
165048
|
-
return new APIPromise($
|
|
165489
|
+
return new APIPromise($do436(client, request, options));
|
|
165049
165490
|
}
|
|
165050
|
-
async function $
|
|
165491
|
+
async function $do436(client, request, options) {
|
|
165051
165492
|
const parsed = safeParse4(request, (value) => TrackingRunsUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
165052
165493
|
if (!parsed.ok) {
|
|
165053
165494
|
return [parsed, { status: "invalid" }];
|
|
@@ -165125,12 +165566,12 @@ var init_trackingRunsUpdate = __esm(() => {
|
|
|
165125
165566
|
});
|
|
165126
165567
|
|
|
165127
165568
|
// src/mcp-server/tools/trackingRunsUpdate.ts
|
|
165128
|
-
var
|
|
165569
|
+
var args427, tool$trackingRunsUpdate;
|
|
165129
165570
|
var init_trackingRunsUpdate2 = __esm(() => {
|
|
165130
165571
|
init_trackingRunsUpdate();
|
|
165131
165572
|
init_operations();
|
|
165132
165573
|
init_tools();
|
|
165133
|
-
|
|
165574
|
+
args427 = {
|
|
165134
165575
|
request: TrackingRunsUpdateRequest$inboundSchema
|
|
165135
165576
|
};
|
|
165136
165577
|
tool$trackingRunsUpdate = {
|
|
@@ -165138,9 +165579,9 @@ var init_trackingRunsUpdate2 = __esm(() => {
|
|
|
165138
165579
|
description: `Update
|
|
165139
165580
|
|
|
165140
165581
|
Requires \`write:tracking\`. Results are restricted to the API key organization and team.`,
|
|
165141
|
-
args:
|
|
165142
|
-
tool: async (client,
|
|
165143
|
-
const [result, apiCall] = await trackingRunsUpdate(client,
|
|
165582
|
+
args: args427,
|
|
165583
|
+
tool: async (client, args428, ctx) => {
|
|
165584
|
+
const [result, apiCall] = await trackingRunsUpdate(client, args428.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
165144
165585
|
if (!result.ok) {
|
|
165145
165586
|
return {
|
|
165146
165587
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -165155,9 +165596,9 @@ var init_trackingRunsUpdate2 = __esm(() => {
|
|
|
165155
165596
|
|
|
165156
165597
|
// src/funcs/usageCosts.ts
|
|
165157
165598
|
function usageCosts(client, request, options) {
|
|
165158
|
-
return new APIPromise($
|
|
165599
|
+
return new APIPromise($do437(client, request, options));
|
|
165159
165600
|
}
|
|
165160
|
-
async function $
|
|
165601
|
+
async function $do437(client, request, options) {
|
|
165161
165602
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
165162
165603
|
if (!parsed.ok) {
|
|
165163
165604
|
return [parsed, { status: "invalid" }];
|
|
@@ -165240,12 +165681,12 @@ var init_usageCosts = __esm(() => {
|
|
|
165240
165681
|
});
|
|
165241
165682
|
|
|
165242
165683
|
// src/mcp-server/tools/usageCosts.ts
|
|
165243
|
-
var
|
|
165684
|
+
var args428, tool$usageCosts;
|
|
165244
165685
|
var init_usageCosts2 = __esm(() => {
|
|
165245
165686
|
init_usageCosts();
|
|
165246
165687
|
init_operations();
|
|
165247
165688
|
init_tools();
|
|
165248
|
-
|
|
165689
|
+
args428 = {
|
|
165249
165690
|
request: GetCostsRequest$inboundSchema
|
|
165250
165691
|
};
|
|
165251
165692
|
tool$usageCosts = {
|
|
@@ -165253,9 +165694,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
165253
165694
|
description: `Aggregate cost by dimension
|
|
165254
165695
|
|
|
165255
165696
|
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.`,
|
|
165256
|
-
args:
|
|
165257
|
-
tool: async (client,
|
|
165258
|
-
const [result, apiCall] = await usageCosts(client,
|
|
165697
|
+
args: args428,
|
|
165698
|
+
tool: async (client, args429, ctx) => {
|
|
165699
|
+
const [result, apiCall] = await usageCosts(client, args429.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
165259
165700
|
if (!result.ok) {
|
|
165260
165701
|
return {
|
|
165261
165702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -165270,9 +165711,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
165270
165711
|
|
|
165271
165712
|
// src/funcs/usageSandbox.ts
|
|
165272
165713
|
function usageSandbox(client, request, options) {
|
|
165273
|
-
return new APIPromise($
|
|
165714
|
+
return new APIPromise($do438(client, request, options));
|
|
165274
165715
|
}
|
|
165275
|
-
async function $
|
|
165716
|
+
async function $do438(client, request, options) {
|
|
165276
165717
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
165277
165718
|
if (!parsed.ok) {
|
|
165278
165719
|
return [parsed, { status: "invalid" }];
|
|
@@ -165363,12 +165804,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
165363
165804
|
});
|
|
165364
165805
|
|
|
165365
165806
|
// src/mcp-server/tools/usageSandbox.ts
|
|
165366
|
-
var
|
|
165807
|
+
var args429, tool$usageSandbox;
|
|
165367
165808
|
var init_usageSandbox2 = __esm(() => {
|
|
165368
165809
|
init_usageSandbox();
|
|
165369
165810
|
init_operations();
|
|
165370
165811
|
init_tools();
|
|
165371
|
-
|
|
165812
|
+
args429 = {
|
|
165372
165813
|
request: GetSandboxUsageRequest$inboundSchema
|
|
165373
165814
|
};
|
|
165374
165815
|
tool$usageSandbox = {
|
|
@@ -165376,9 +165817,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
165376
165817
|
description: `Get Sandbox Usage
|
|
165377
165818
|
|
|
165378
165819
|
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\`).`,
|
|
165379
|
-
args:
|
|
165380
|
-
tool: async (client,
|
|
165381
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
165820
|
+
args: args429,
|
|
165821
|
+
tool: async (client, args430, ctx) => {
|
|
165822
|
+
const [result, apiCall] = await usageSandbox(client, args430.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
165382
165823
|
if (!result.ok) {
|
|
165383
165824
|
return {
|
|
165384
165825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -165395,7 +165836,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
165395
165836
|
function createMCPServer(deps) {
|
|
165396
165837
|
const server = new McpServer({
|
|
165397
165838
|
name: "SDK",
|
|
165398
|
-
version: "0.54.
|
|
165839
|
+
version: "0.54.51"
|
|
165399
165840
|
});
|
|
165400
165841
|
const client = new SDKCore({
|
|
165401
165842
|
bearerAuth: deps.bearerAuth,
|
|
@@ -165810,6 +166251,8 @@ function createMCPServer(deps) {
|
|
|
165810
166251
|
tool(tool$authClusterInviteInfo);
|
|
165811
166252
|
tool(tool$authClusterAcceptInvite);
|
|
165812
166253
|
tool(tool$authApiKeyGetJwtFromKey);
|
|
166254
|
+
tool(tool$reposTagsList);
|
|
166255
|
+
tool(tool$reposTagsDelete);
|
|
165813
166256
|
tool(tool$trackingExperimentsCreate);
|
|
165814
166257
|
tool(tool$trackingExperimentsSearch);
|
|
165815
166258
|
tool(tool$trackingExperimentsGet);
|
|
@@ -166233,6 +166676,8 @@ var init_server2 = __esm(() => {
|
|
|
166233
166676
|
init_reposDelete2();
|
|
166234
166677
|
init_reposGet2();
|
|
166235
166678
|
init_reposList2();
|
|
166679
|
+
init_reposTagsDelete2();
|
|
166680
|
+
init_reposTagsList2();
|
|
166236
166681
|
init_reposUpdate2();
|
|
166237
166682
|
init_sandboxCreate2();
|
|
166238
166683
|
init_sandboxDownloadArchive2();
|
|
@@ -167465,7 +167910,7 @@ var routes = rn({
|
|
|
167465
167910
|
var app = Ve(routes, {
|
|
167466
167911
|
name: "mcp",
|
|
167467
167912
|
versionInfo: {
|
|
167468
|
-
currentVersion: "0.54.
|
|
167913
|
+
currentVersion: "0.54.51"
|
|
167469
167914
|
}
|
|
167470
167915
|
});
|
|
167471
167916
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -167473,5 +167918,5 @@ export {
|
|
|
167473
167918
|
app
|
|
167474
167919
|
};
|
|
167475
167920
|
|
|
167476
|
-
//# debugId=
|
|
167921
|
+
//# debugId=FFD333A4CE528E6F64756E2164756E21
|
|
167477
167922
|
//# sourceMappingURL=mcp-server.js.map
|