@mutagent/sdk 0.3.41 → 0.3.42
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 +14 -8
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-checkpoints.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-checkpoints.js +124 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-checkpoints.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-get-api-sandbox-by-id-stream.js +1 -1
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-checkpoint.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-checkpoint.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-checkpoint.js +125 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-checkpoint.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-restore.d.ts +18 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-restore.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-restore.js +125 -0
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-by-id-restore.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/definition-provider.d.ts +35 -0
- package/dist/commonjs/models/definition-provider.d.ts.map +1 -1
- package/dist/commonjs/models/definition-provider.js +21 -1
- package/dist/commonjs/models/definition-provider.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +5 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +5 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mode-arm-args.d.ts +62 -0
- package/dist/commonjs/models/mode-arm-args.d.ts.map +1 -0
- package/dist/commonjs/models/mode-arm-args.js +64 -0
- package/dist/commonjs/models/mode-arm-args.js.map +1 -0
- package/dist/commonjs/models/name-image-arch.d.ts +35 -0
- package/dist/commonjs/models/name-image-arch.d.ts.map +1 -1
- package/dist/commonjs/models/name-image-arch.js +21 -1
- package/dist/commonjs/models/name-image-arch.js.map +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +38 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js +74 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.d.ts +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox-by-id.js +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox.d.ts +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox.js +1 -1
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-checkpoint.d.ts +83 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-checkpoint.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-checkpoint.js +77 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-checkpoint.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts +151 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js +121 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js.map +1 -0
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-session.d.ts +7 -3
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-session.js +3 -2
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-session.js.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox.d.ts +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox.js +1 -1
- package/dist/commonjs/models/operations/update-organization-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-organization-member.js +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.d.ts.map +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.js +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.js.map +1 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts +10 -0
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts.map +1 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.js +2 -0
- package/dist/commonjs/models/preset-timeout-ms-keep2.js.map +1 -1
- package/dist/commonjs/models/schemadefaul11.d.ts +9 -0
- package/dist/commonjs/models/schemadefaul11.d.ts.map +1 -0
- package/dist/commonjs/models/{schemadefaul8.js → schemadefaul11.js} +9 -9
- package/dist/commonjs/models/schemadefaul11.js.map +1 -0
- package/dist/commonjs/models/schemadefaul5.d.ts +7 -4
- package/dist/commonjs/models/schemadefaul5.d.ts.map +1 -1
- package/dist/commonjs/models/schemadefaul5.js +8 -5
- package/dist/commonjs/models/schemadefaul5.js.map +1 -1
- package/dist/commonjs/models/schemadefaul6.d.ts +7 -5
- package/dist/commonjs/models/schemadefaul6.d.ts.map +1 -1
- package/dist/commonjs/models/schemadefaul6.js +7 -7
- package/dist/commonjs/models/schemadefaul6.js.map +1 -1
- package/dist/commonjs/models/schemadefaul7.d.ts +13 -0
- package/dist/commonjs/models/schemadefaul7.d.ts.map +1 -0
- package/dist/commonjs/models/{schemadefaul4.js → schemadefaul7.js} +11 -13
- package/dist/commonjs/models/schemadefaul7.js.map +1 -0
- package/dist/commonjs/models/schemadefaul9.d.ts +10 -0
- package/dist/commonjs/models/schemadefaul9.d.ts.map +1 -0
- package/dist/commonjs/models/{mode-args-env.js → schemadefaul9.js} +10 -13
- package/dist/commonjs/models/schemadefaul9.js.map +1 -0
- package/dist/commonjs/models/snapshot-id-definition-partial.d.ts +40 -0
- package/dist/commonjs/models/snapshot-id-definition-partial.d.ts.map +1 -0
- package/dist/commonjs/models/snapshot-id-definition-partial.js +63 -0
- package/dist/commonjs/models/snapshot-id-definition-partial.js.map +1 -0
- package/dist/commonjs/sdk/sandbox.d.ts +34 -13
- package/dist/commonjs/sdk/sandbox.d.ts.map +1 -1
- package/dist/commonjs/sdk/sandbox.js +47 -17
- package/dist/commonjs/sdk/sandbox.js.map +1 -1
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-checkpoints.d.ts +18 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-checkpoints.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-checkpoints.js +88 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-checkpoints.js.map +1 -0
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.d.ts +1 -1
- package/dist/esm/funcs/sandbox-get-api-sandbox-by-id-stream.js +1 -1
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-checkpoint.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-checkpoint.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-checkpoint.js +89 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-checkpoint.js.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-restore.d.ts +18 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-restore.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-restore.js +89 -0
- package/dist/esm/funcs/sandbox-post-api-sandbox-by-id-restore.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/definition-provider.d.ts +35 -0
- package/dist/esm/models/definition-provider.d.ts.map +1 -1
- package/dist/esm/models/definition-provider.js +19 -0
- package/dist/esm/models/definition-provider.js.map +1 -1
- package/dist/esm/models/index.d.ts +5 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +5 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mode-arm-args.d.ts +62 -0
- package/dist/esm/models/mode-arm-args.d.ts.map +1 -0
- package/dist/esm/models/mode-arm-args.js +26 -0
- package/dist/esm/models/mode-arm-args.js.map +1 -0
- package/dist/esm/models/name-image-arch.d.ts +35 -0
- package/dist/esm/models/name-image-arch.d.ts.map +1 -1
- package/dist/esm/models/name-image-arch.js +19 -0
- package/dist/esm/models/name-image-arch.js.map +1 -1
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +38 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js +35 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id.d.ts +1 -1
- package/dist/esm/models/operations/get-api-sandbox-by-id.js +1 -1
- package/dist/esm/models/operations/get-api-sandbox.d.ts +1 -1
- package/dist/esm/models/operations/get-api-sandbox.js +1 -1
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-checkpoint.d.ts +83 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-checkpoint.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-checkpoint.js +38 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-checkpoint.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts +151 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js +80 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js.map +1 -0
- package/dist/esm/models/operations/post-api-sandbox-by-id-session.d.ts +7 -3
- package/dist/esm/models/operations/post-api-sandbox-by-id-session.d.ts.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-session.js +3 -2
- package/dist/esm/models/operations/post-api-sandbox-by-id-session.js.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox.d.ts +1 -1
- package/dist/esm/models/operations/post-api-sandbox.js +1 -1
- package/dist/esm/models/operations/update-organization-member.d.ts +1 -1
- package/dist/esm/models/operations/update-organization-member.js +1 -1
- package/dist/esm/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/esm/models/operations/update-workspace-member.d.ts.map +1 -1
- package/dist/esm/models/operations/update-workspace-member.js +1 -1
- package/dist/esm/models/operations/update-workspace-member.js.map +1 -1
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts +10 -0
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts.map +1 -1
- package/dist/esm/models/preset-timeout-ms-keep2.js +2 -0
- package/dist/esm/models/preset-timeout-ms-keep2.js.map +1 -1
- package/dist/esm/models/schemadefaul11.d.ts +9 -0
- package/dist/esm/models/schemadefaul11.d.ts.map +1 -0
- package/dist/esm/models/schemadefaul11.js +13 -0
- package/dist/esm/models/schemadefaul11.js.map +1 -0
- package/dist/esm/models/schemadefaul5.d.ts +7 -4
- package/dist/esm/models/schemadefaul5.d.ts.map +1 -1
- package/dist/esm/models/schemadefaul5.js +7 -4
- package/dist/esm/models/schemadefaul5.js.map +1 -1
- package/dist/esm/models/schemadefaul6.d.ts +7 -5
- package/dist/esm/models/schemadefaul6.d.ts.map +1 -1
- package/dist/esm/models/schemadefaul6.js +6 -6
- package/dist/esm/models/schemadefaul6.js.map +1 -1
- package/dist/esm/models/schemadefaul7.d.ts +13 -0
- package/dist/esm/models/schemadefaul7.d.ts.map +1 -0
- package/dist/esm/models/schemadefaul7.js +15 -0
- package/dist/esm/models/schemadefaul7.js.map +1 -0
- package/dist/esm/models/schemadefaul9.d.ts +10 -0
- package/dist/esm/models/schemadefaul9.d.ts.map +1 -0
- package/dist/esm/models/schemadefaul9.js +14 -0
- package/dist/esm/models/schemadefaul9.js.map +1 -0
- package/dist/esm/models/snapshot-id-definition-partial.d.ts +40 -0
- package/dist/esm/models/snapshot-id-definition-partial.d.ts.map +1 -0
- package/dist/esm/models/snapshot-id-definition-partial.js +26 -0
- package/dist/esm/models/snapshot-id-definition-partial.js.map +1 -0
- package/dist/esm/sdk/sandbox.d.ts +34 -13
- package/dist/esm/sdk/sandbox.d.ts.map +1 -1
- package/dist/esm/sdk/sandbox.js +47 -17
- package/dist/esm/sdk/sandbox.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/sandbox-get-api-sandbox-by-id-checkpoints.ts +184 -0
- package/src/funcs/sandbox-get-api-sandbox-by-id-stream.ts +1 -1
- package/src/funcs/sandbox-post-api-sandbox-by-id-checkpoint.ts +186 -0
- package/src/funcs/sandbox-post-api-sandbox-by-id-restore.ts +186 -0
- package/src/lib/config.ts +2 -2
- package/src/models/definition-provider.ts +59 -0
- package/src/models/index.ts +5 -3
- package/src/models/mode-arm-args.ts +100 -0
- package/src/models/name-image-arch.ts +59 -0
- package/src/models/operations/get-api-sandbox-by-id-checkpoints.ts +97 -0
- package/src/models/operations/get-api-sandbox-by-id.ts +3 -3
- package/src/models/operations/get-api-sandbox.ts +3 -3
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/post-api-sandbox-by-id-checkpoint.ts +151 -0
- package/src/models/operations/post-api-sandbox-by-id-restore.ts +263 -0
- package/src/models/operations/post-api-sandbox-by-id-session.ts +14 -6
- package/src/models/operations/post-api-sandbox.ts +3 -3
- package/src/models/operations/update-organization-member.ts +3 -3
- package/src/models/operations/update-workspace-member.ts +3 -3
- package/src/models/preset-timeout-ms-keep2.ts +12 -0
- package/src/models/{schemadefaul8.ts → schemadefaul11.ts} +4 -3
- package/src/models/schemadefaul5.ts +7 -7
- package/src/models/schemadefaul6.ts +14 -6
- package/src/models/schemadefaul7.ts +25 -0
- package/src/models/schemadefaul9.ts +16 -0
- package/src/models/snapshot-id-definition-partial.ts +70 -0
- package/src/sdk/sandbox.ts +82 -28
- package/dist/commonjs/models/mode-args-env.d.ts +0 -35
- package/dist/commonjs/models/mode-args-env.d.ts.map +0 -1
- package/dist/commonjs/models/mode-args-env.js.map +0 -1
- package/dist/commonjs/models/schemadefaul4.d.ts +0 -15
- package/dist/commonjs/models/schemadefaul4.d.ts.map +0 -1
- package/dist/commonjs/models/schemadefaul4.js.map +0 -1
- package/dist/commonjs/models/schemadefaul8.d.ts +0 -9
- package/dist/commonjs/models/schemadefaul8.d.ts.map +0 -1
- package/dist/commonjs/models/schemadefaul8.js.map +0 -1
- package/dist/esm/models/mode-args-env.d.ts +0 -35
- package/dist/esm/models/mode-args-env.d.ts.map +0 -1
- package/dist/esm/models/mode-args-env.js +0 -16
- package/dist/esm/models/mode-args-env.js.map +0 -1
- package/dist/esm/models/schemadefaul4.d.ts +0 -15
- package/dist/esm/models/schemadefaul4.d.ts.map +0 -1
- package/dist/esm/models/schemadefaul4.js +0 -17
- package/dist/esm/models/schemadefaul4.js.map +0 -1
- package/dist/esm/models/schemadefaul8.d.ts +0 -9
- package/dist/esm/models/schemadefaul8.d.ts.map +0 -1
- package/dist/esm/models/schemadefaul8.js +0 -13
- package/dist/esm/models/schemadefaul8.js.map +0 -1
- package/src/models/mode-args-env.ts +0 -52
- package/src/models/schemadefaul4.ts +0 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workspace-member.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/update-workspace-member.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"update-workspace-member.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/update-workspace-member.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,cAAc,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gCAAgC,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GAAG;IACtD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,WAAW,CACzE,yCAAyC,EACzC,gCAAgC,CAMhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,yCAAyC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,qCAAqC,EACrC,4BAA4B,CAK5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR"}
|
|
@@ -5,7 +5,7 @@ import * as z from "zod/v4-mini";
|
|
|
5
5
|
import * as models from "../index.js";
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const UpdateWorkspaceMemberRequestBody$outboundSchema = z.object({
|
|
8
|
-
role: z._default(models.
|
|
8
|
+
role: z._default(models.Schemadefaul11$outboundSchema, models.Schemadefaul11.Admin),
|
|
9
9
|
});
|
|
10
10
|
export function updateWorkspaceMemberRequestBodyToJSON(updateWorkspaceMemberRequestBody) {
|
|
11
11
|
return JSON.stringify(UpdateWorkspaceMemberRequestBody$outboundSchema.parse(updateWorkspaceMemberRequestBody));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workspace-member.js","sourceRoot":"","sources":["../../../../src/models/operations/update-workspace-member.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAoBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAGxD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CACd,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"update-workspace-member.js","sourceRoot":"","sources":["../../../../src/models/operations/update-workspace-member.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAoBtC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAGxD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CACd,MAAM,CAAC,6BAA6B,EACpC,MAAM,CAAC,cAAc,CAAC,KAAK,CAC5B;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,+CAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AASD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAGpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,+CAA+C,CAAC;CACpE,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,2CAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -28,6 +28,14 @@ export type PresetTimeoutMsKeep2 = {
|
|
|
28
28
|
* Run the agent on the ASPS-Prime scaffold instead of the default ASPS one — leaner, code-first, no orchestrator persona. Forwarded to the binary as `--prime`.
|
|
29
29
|
*/
|
|
30
30
|
prime?: boolean | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Harness argv, forwarded verbatim between the definition flags and `-p <task>`. Not interpreted here: the flag vocabulary belongs to the binary. Max 64 entries, 4 KiB each, no NUL.
|
|
33
|
+
*/
|
|
34
|
+
args?: Array<string> | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Working directory for the turn inside the sandbox. Omitted takes the box default.
|
|
37
|
+
*/
|
|
38
|
+
cwd?: string | undefined;
|
|
31
39
|
};
|
|
32
40
|
/** @internal */
|
|
33
41
|
export type PresetTimeoutMsKeep2$Outbound = {
|
|
@@ -38,6 +46,8 @@ export type PresetTimeoutMsKeep2$Outbound = {
|
|
|
38
46
|
prompt: string;
|
|
39
47
|
task: string;
|
|
40
48
|
prime?: boolean | undefined;
|
|
49
|
+
args?: Array<string> | undefined;
|
|
50
|
+
cwd?: string | undefined;
|
|
41
51
|
};
|
|
42
52
|
/** @internal */
|
|
43
53
|
export declare const PresetTimeoutMsKeep2$outboundSchema: z.ZodMiniType<PresetTimeoutMsKeep2$Outbound, PresetTimeoutMsKeep2>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset-timeout-ms-keep2.d.ts","sourceRoot":"","sources":["../../../src/models/preset-timeout-ms-keep2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"preset-timeout-ms-keep2.d.ts","sourceRoot":"","sources":["../../../src/models/preset-timeout-ms-keep2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CAWpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -11,6 +11,8 @@ export const PresetTimeoutMsKeep2$outboundSchema = z.object({
|
|
|
11
11
|
prompt: z.string(),
|
|
12
12
|
task: z.string(),
|
|
13
13
|
prime: z.optional(z.boolean()),
|
|
14
|
+
args: z.optional(z.array(z.string())),
|
|
15
|
+
cwd: z.optional(z.string()),
|
|
14
16
|
});
|
|
15
17
|
export function presetTimeoutMsKeep2ToJSON(presetTimeoutMsKeep2) {
|
|
16
18
|
return JSON.stringify(PresetTimeoutMsKeep2$outboundSchema.parse(presetTimeoutMsKeep2));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset-timeout-ms-keep2.js","sourceRoot":"","sources":["../../../src/models/preset-timeout-ms-keep2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"preset-timeout-ms-keep2.js","sourceRoot":"","sources":["../../../src/models/preset-timeout-ms-keep2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAsDjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC7B,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACrC,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC5B,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export declare enum Schemadefaul11 {
|
|
3
|
+
Admin = "admin",
|
|
4
|
+
Editor = "editor",
|
|
5
|
+
Viewer = "viewer"
|
|
6
|
+
}
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const Schemadefaul11$outboundSchema: z.ZodMiniEnum<typeof Schemadefaul11>;
|
|
9
|
+
//# sourceMappingURL=schemadefaul11.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul11.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul11.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,OAAO,cAAc,CACG,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
export var Schemadefaul11;
|
|
6
|
+
(function (Schemadefaul11) {
|
|
7
|
+
Schemadefaul11["Admin"] = "admin";
|
|
8
|
+
Schemadefaul11["Editor"] = "editor";
|
|
9
|
+
Schemadefaul11["Viewer"] = "viewer";
|
|
10
|
+
})(Schemadefaul11 || (Schemadefaul11 = {}));
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const Schemadefaul11$outboundSchema = z.enum(Schemadefaul11);
|
|
13
|
+
//# sourceMappingURL=schemadefaul11.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul11.js","sourceRoot":"","sources":["../../../src/models/schemadefaul11.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAEtC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
export declare enum Schemadefaul5 {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Pending = "pending",
|
|
5
|
+
Starting = "starting",
|
|
6
|
+
Running = "running",
|
|
7
|
+
Paused = "paused",
|
|
8
|
+
Stopping = "stopping",
|
|
9
|
+
Stopped = "stopped",
|
|
10
|
+
Failed = "failed"
|
|
6
11
|
}
|
|
7
12
|
export type Schemadefaul5Open = OpenEnum<typeof Schemadefaul5>;
|
|
8
13
|
/** @internal */
|
|
9
14
|
export declare const Schemadefaul5$inboundSchema: z.ZodMiniType<Schemadefaul5Open, unknown>;
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const Schemadefaul5$outboundSchema: z.ZodMiniType<string, Schemadefaul5Open>;
|
|
12
15
|
//# sourceMappingURL=schemadefaul5.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemadefaul5.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul5.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,
|
|
1
|
+
{"version":3,"file":"schemadefaul5.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul5.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,iBAAiB,EACjB,OAAO,CACiC,CAAC"}
|
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
import * as openEnums from "../types/enums.js";
|
|
5
5
|
export var Schemadefaul5;
|
|
6
6
|
(function (Schemadefaul5) {
|
|
7
|
-
Schemadefaul5["
|
|
8
|
-
Schemadefaul5["
|
|
7
|
+
Schemadefaul5["Pending"] = "pending";
|
|
8
|
+
Schemadefaul5["Starting"] = "starting";
|
|
9
|
+
Schemadefaul5["Running"] = "running";
|
|
10
|
+
Schemadefaul5["Paused"] = "paused";
|
|
11
|
+
Schemadefaul5["Stopping"] = "stopping";
|
|
12
|
+
Schemadefaul5["Stopped"] = "stopped";
|
|
13
|
+
Schemadefaul5["Failed"] = "failed";
|
|
9
14
|
})(Schemadefaul5 || (Schemadefaul5 = {}));
|
|
10
15
|
/** @internal */
|
|
11
16
|
export const Schemadefaul5$inboundSchema = openEnums.inboundSchema(Schemadefaul5);
|
|
12
|
-
/** @internal */
|
|
13
|
-
export const Schemadefaul5$outboundSchema = openEnums.outboundSchema(Schemadefaul5);
|
|
14
17
|
//# sourceMappingURL=schemadefaul5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemadefaul5.js","sourceRoot":"","sources":["../../../src/models/schemadefaul5.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"schemadefaul5.js","sourceRoot":"","sources":["../../../src/models/schemadefaul5.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAN,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACnB,CAAC,EARW,aAAa,KAAb,aAAa,QAQxB;AAGD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
2
3
|
export declare enum Schemadefaul6 {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Editor = "editor",
|
|
6
|
-
Viewer = "viewer"
|
|
4
|
+
Oneshot = "oneshot",
|
|
5
|
+
Rpc = "rpc"
|
|
7
6
|
}
|
|
7
|
+
export type Schemadefaul6Open = OpenEnum<typeof Schemadefaul6>;
|
|
8
8
|
/** @internal */
|
|
9
|
-
export declare const Schemadefaul6$
|
|
9
|
+
export declare const Schemadefaul6$inboundSchema: z.ZodMiniType<Schemadefaul6Open, unknown>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const Schemadefaul6$outboundSchema: z.ZodMiniType<string, Schemadefaul6Open>;
|
|
10
12
|
//# sourceMappingURL=schemadefaul6.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemadefaul6.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul6.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,oBAAY,aAAa;IACvB,
|
|
1
|
+
{"version":3,"file":"schemadefaul6.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul6.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,GAAG,QAAQ;CACZ;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,iBAAiB,EACjB,OAAO,CACiC,CAAC;AAC3C,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,MAAM,EACN,iBAAiB,CACwB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as openEnums from "../types/enums.js";
|
|
5
5
|
export var Schemadefaul6;
|
|
6
6
|
(function (Schemadefaul6) {
|
|
7
|
-
Schemadefaul6["
|
|
8
|
-
Schemadefaul6["
|
|
9
|
-
Schemadefaul6["Editor"] = "editor";
|
|
10
|
-
Schemadefaul6["Viewer"] = "viewer";
|
|
7
|
+
Schemadefaul6["Oneshot"] = "oneshot";
|
|
8
|
+
Schemadefaul6["Rpc"] = "rpc";
|
|
11
9
|
})(Schemadefaul6 || (Schemadefaul6 = {}));
|
|
12
10
|
/** @internal */
|
|
13
|
-
export const Schemadefaul6$
|
|
11
|
+
export const Schemadefaul6$inboundSchema = openEnums.inboundSchema(Schemadefaul6);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const Schemadefaul6$outboundSchema = openEnums.outboundSchema(Schemadefaul6);
|
|
14
14
|
//# sourceMappingURL=schemadefaul6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemadefaul6.js","sourceRoot":"","sources":["../../../src/models/schemadefaul6.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"schemadefaul6.js","sourceRoot":"","sources":["../../../src/models/schemadefaul6.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,4BAAW,CAAA;AACb,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAGD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAC3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAGrC,SAAS,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
export declare enum Schemadefaul7 {
|
|
4
|
+
Classic = "classic",
|
|
5
|
+
Prime = "prime",
|
|
6
|
+
Agent = "agent"
|
|
7
|
+
}
|
|
8
|
+
export type Schemadefaul7Open = OpenEnum<typeof Schemadefaul7>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const Schemadefaul7$inboundSchema: z.ZodMiniType<Schemadefaul7Open, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const Schemadefaul7$outboundSchema: z.ZodMiniType<string, Schemadefaul7Open>;
|
|
13
|
+
//# sourceMappingURL=schemadefaul7.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul7.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul7.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,iBAAiB,EACjB,OAAO,CACiC,CAAC;AAC3C,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,MAAM,EACN,iBAAiB,CACwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as openEnums from "../types/enums.js";
|
|
5
|
+
export var Schemadefaul7;
|
|
6
|
+
(function (Schemadefaul7) {
|
|
7
|
+
Schemadefaul7["Classic"] = "classic";
|
|
8
|
+
Schemadefaul7["Prime"] = "prime";
|
|
9
|
+
Schemadefaul7["Agent"] = "agent";
|
|
10
|
+
})(Schemadefaul7 || (Schemadefaul7 = {}));
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const Schemadefaul7$inboundSchema = openEnums.inboundSchema(Schemadefaul7);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const Schemadefaul7$outboundSchema = openEnums.outboundSchema(Schemadefaul7);
|
|
15
|
+
//# sourceMappingURL=schemadefaul7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul7.js","sourceRoot":"","sources":["../../../src/models/schemadefaul7.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,gCAAe,CAAA;AACjB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAGD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAGpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAC3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAGrC,SAAS,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
export declare enum Schemadefaul9 {
|
|
3
|
+
Owner = "owner",
|
|
4
|
+
Admin = "admin",
|
|
5
|
+
Editor = "editor",
|
|
6
|
+
Viewer = "viewer"
|
|
7
|
+
}
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const Schemadefaul9$outboundSchema: z.ZodMiniEnum<typeof Schemadefaul9>;
|
|
10
|
+
//# sourceMappingURL=schemadefaul9.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul9.d.ts","sourceRoot":"","sources":["../../../src/models/schemadefaul9.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CACtD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
export var Schemadefaul9;
|
|
6
|
+
(function (Schemadefaul9) {
|
|
7
|
+
Schemadefaul9["Owner"] = "owner";
|
|
8
|
+
Schemadefaul9["Admin"] = "admin";
|
|
9
|
+
Schemadefaul9["Editor"] = "editor";
|
|
10
|
+
Schemadefaul9["Viewer"] = "viewer";
|
|
11
|
+
})(Schemadefaul9 || (Schemadefaul9 = {}));
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const Schemadefaul9$outboundSchema = z.enum(Schemadefaul9);
|
|
14
|
+
//# sourceMappingURL=schemadefaul9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemadefaul9.js","sourceRoot":"","sources":["../../../src/models/schemadefaul9.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;AACnB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GACvC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
/**
|
|
3
|
+
* What to do when the transcript references files the receiving box does not have. A checkpoint moves the session file ONLY — the workspace does not travel — so a restore into a fresh box normally finds them missing. `warn` (default) restores and reports them in `workspaceDrift`. `refuse` fails with 409 BEFORE switching the session; use it when the box is meant to already hold the work. `skip` does not probe at all, and reports status `unchecked`.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum OnWorkspaceDrift {
|
|
6
|
+
Warn = "warn",
|
|
7
|
+
Refuse = "refuse",
|
|
8
|
+
Skip = "skip"
|
|
9
|
+
}
|
|
10
|
+
export type SnapshotIdDefinitionPartial = {
|
|
11
|
+
/**
|
|
12
|
+
* Which checkpoint to restore. Defaults to the NEWEST one captured from this sandbox. Only consistency points are listed, so a default restore can never land on a mid-turn prefix.
|
|
13
|
+
*/
|
|
14
|
+
snapshotId?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The sandbox definition to rebuild from, when the original was not a registered preset. The stored record keeps a definition NAME, not the image/arch/network it stood for, so a sandbox spawned from an ad-hoc definition must be handed one back. Omit for preset-spawned sandboxes.
|
|
17
|
+
*/
|
|
18
|
+
definition?: any | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Restore the INCREMENTAL transcript prefix when it is newer than the checkpoint row — the bytes a mid-turn kill would otherwise lose — together with the checkpoint's own workspace archive. Default false. ACCEPTED RISK: the prefix is cut at its last complete line and may end on a tool call whose result never landed; the harness answers such a call with a synthetic error result on the next turn, so the agent sees a failed call and may redo it — any side effect the original call had is not undone. Falls back to the checkpoint row, with the reason in `notRestored`, when no prefix exists, when it is not beyond the row, or when it does not extend the row's bytes (a compaction rewrote the file). `partial` on the response says which happened.
|
|
21
|
+
*/
|
|
22
|
+
partial?: boolean | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* What to do when the transcript references files the receiving box does not have. A checkpoint moves the session file ONLY — the workspace does not travel — so a restore into a fresh box normally finds them missing. `warn` (default) restores and reports them in `workspaceDrift`. `refuse` fails with 409 BEFORE switching the session; use it when the box is meant to already hold the work. `skip` does not probe at all, and reports status `unchecked`.
|
|
25
|
+
*/
|
|
26
|
+
onWorkspaceDrift?: OnWorkspaceDrift | undefined;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const OnWorkspaceDrift$outboundSchema: z.ZodMiniEnum<typeof OnWorkspaceDrift>;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type SnapshotIdDefinitionPartial$Outbound = {
|
|
32
|
+
snapshotId?: string | undefined;
|
|
33
|
+
definition?: any | undefined;
|
|
34
|
+
partial?: boolean | undefined;
|
|
35
|
+
onWorkspaceDrift: string;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const SnapshotIdDefinitionPartial$outboundSchema: z.ZodMiniType<SnapshotIdDefinitionPartial$Outbound, SnapshotIdDefinitionPartial>;
|
|
39
|
+
export declare function snapshotIdDefinitionPartialToJSON(snapshotIdDefinitionPartial: SnapshotIdDefinitionPartial): string;
|
|
40
|
+
//# sourceMappingURL=snapshot-id-definition-partial.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-id-definition-partial.d.ts","sourceRoot":"","sources":["../../../src/models/snapshot-id-definition-partial.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,OAAO,gBAAgB,CACG,CAAC;AAE7B,gBAAgB;AAChB,MAAM,MAAM,oCAAoC,GAAG;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,oCAAoC,EACpC,2BAA2B,CAS3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
/**
|
|
6
|
+
* What to do when the transcript references files the receiving box does not have. A checkpoint moves the session file ONLY — the workspace does not travel — so a restore into a fresh box normally finds them missing. `warn` (default) restores and reports them in `workspaceDrift`. `refuse` fails with 409 BEFORE switching the session; use it when the box is meant to already hold the work. `skip` does not probe at all, and reports status `unchecked`.
|
|
7
|
+
*/
|
|
8
|
+
export var OnWorkspaceDrift;
|
|
9
|
+
(function (OnWorkspaceDrift) {
|
|
10
|
+
OnWorkspaceDrift["Warn"] = "warn";
|
|
11
|
+
OnWorkspaceDrift["Refuse"] = "refuse";
|
|
12
|
+
OnWorkspaceDrift["Skip"] = "skip";
|
|
13
|
+
})(OnWorkspaceDrift || (OnWorkspaceDrift = {}));
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const OnWorkspaceDrift$outboundSchema = z.enum(OnWorkspaceDrift);
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const SnapshotIdDefinitionPartial$outboundSchema = z.object({
|
|
18
|
+
snapshotId: z.optional(z.string()),
|
|
19
|
+
definition: z.optional(z.any()),
|
|
20
|
+
partial: z.optional(z.boolean()),
|
|
21
|
+
onWorkspaceDrift: z._default(OnWorkspaceDrift$outboundSchema, OnWorkspaceDrift.Warn),
|
|
22
|
+
});
|
|
23
|
+
export function snapshotIdDefinitionPartialToJSON(snapshotIdDefinitionPartial) {
|
|
24
|
+
return JSON.stringify(SnapshotIdDefinitionPartial$outboundSchema.parse(snapshotIdDefinitionPartial));
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=snapshot-id-definition-partial.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-id-definition-partial.js","sourceRoot":"","sources":["../../../src/models/snapshot-id-definition-partial.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,qCAAiB,CAAA;IACjB,iCAAa,CAAA;AACf,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AAqBD,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAExC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAU7B,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC/B,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAChC,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAC1B,+BAA+B,EAC/B,gBAAgB,CAAC,IAAI,CACtB;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -30,13 +30,6 @@ export declare class Sandbox extends ClientSDK {
|
|
|
30
30
|
* Spawns from a preset, runs the command, tears the sandbox down. Requires an operator token — a one-shot run creates a sandbox. 200, not 201: the durable outcome is a result, and the sandbox it names is already gone unless `keep` was set. Blocking, and therefore bounded by the provider invocation timeout — long or interactive runs belong on POST /api/sandbox + /:id/exec.
|
|
31
31
|
*/
|
|
32
32
|
postApiSandboxRun(request: models.PresetTimeoutMsKeep, options?: RequestOptions): Promise<operations.PostApiSandboxRunResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Run one agent turn in a fresh sandbox
|
|
35
|
-
*
|
|
36
|
-
* @remarks
|
|
37
|
-
* `prompt` is WHO the agent is (the agent definition) and `task` is WHAT to do this turn. They are two different prompts and are never concatenated. The turn's output comes back on stdout with the agent's real exit code. With `?stream=1` the same turn is delivered as it happens, in the event framing of `GET /:id/stream`: a `sandbox` event naming the box, then `stdout`/`stderr` as the agent produces them, then a `result` event carrying the exit code and whether the sandbox was torn down, then the terminal `status`. Disconnecting mid-stream releases the sandbox.
|
|
38
|
-
*/
|
|
39
|
-
postApiSandboxAgentRun(request: operations.PostApiSandboxAgentRunRequest, options?: RequestOptions): Promise<operations.PostApiSandboxAgentRunResponse>;
|
|
40
33
|
/**
|
|
41
34
|
* Spawn a sandbox
|
|
42
35
|
*
|
|
@@ -66,7 +59,7 @@ export declare class Sandbox extends ClientSDK {
|
|
|
66
59
|
* Watch a sandbox's output live
|
|
67
60
|
*
|
|
68
61
|
* @remarks
|
|
69
|
-
* Server-sent events: `stdout`, `stderr`, `rpc`, `unrecognised`, `status`, `ping` (every 15s), `error`. `rpc` carries one complete NDJSON frame from a Helix session running in RPC mode, verbatim — parse it client-side. `unrecognised` carries a line the backend could not classify; receiving one means this server and the sandbox image disagree about the protocol, and it is forwarded rather than dropped so that drift is visible instead of silent.
|
|
62
|
+
* Server-sent events: `stdout`, `stderr`, `rpc`, `unrecognised`, `session`, `live`, `status`, `ping` (every 15s), `error`. `rpc` carries one complete NDJSON frame from a Helix session running in RPC mode, verbatim — parse it client-side. `unrecognised` carries a line the backend could not classify; receiving one means this server and the sandbox image disagree about the protocol, and it is forwarded rather than dropped so that drift is visible instead of silent. Those four output events share the `{seq, ts, text}` shape and one sequence counter, so their interleaving is the order the box produced them. `session` shares that counter too but carries flat fields instead of `text` — `{sessionId, status: "started"|"exited", exitCode, lastSeq, generation}` — and is how a client learns a Helix session began or ended; it is persisted and replayed like any output event, and `exitCode` is the session's real code (the terminal `status` event describes the SANDBOX and reports null by contract). `live` is emitted at most once, before the opening `status`, and only when this instance cannot follow the sandbox: it replays the log and ends rather than tailing. `seq` is monotonic per sandbox and starts at 1, and every seq-bearing event also carries it as the SSE `id:` field; pass the last one seen as `?since=` to resume. A resume is served from the persisted event log first and the live buffer only for the tail, so it survives a restart and can be answered by an instance that never spawned the box. If the requested range has been TRIMMED from that log, an `error` event names the lost range rather than skipping it silently — it carries `code: 'gap'` with the inclusive `from`/`to` wire seqs, and the stream continues past the gap; a source failure instead carries `code: 'upstream'` and is the end of the stream. Branch on `code`, never on `message`. Disconnecting tears down the upstream.
|
|
70
63
|
*/
|
|
71
64
|
getApiSandboxByIdStream(request: operations.GetApiSandboxByIdStreamRequest, options?: RequestOptions): Promise<operations.GetApiSandboxByIdStreamResponse>;
|
|
72
65
|
/**
|
|
@@ -76,6 +69,17 @@ export declare class Sandbox extends ClientSDK {
|
|
|
76
69
|
* Returns the command's real exit code. A task token is rejected — in-sandbox code reports on itself, it does not drive the box. With `?stream=1` the same result comes back as the event stream of `GET /:id/stream`, scoped to this one invocation and terminated by a `status` event carrying the exit code.
|
|
77
70
|
*/
|
|
78
71
|
postApiSandboxByIdExec(request: operations.PostApiSandboxByIdExecRequest, options?: RequestOptions): Promise<operations.PostApiSandboxByIdExecResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Ingest OTLP spans from inside a sandbox
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* OTLP/HTTP JSON. Requires a task token; spans are attributed to the sandbox the token is bound to, never to the sandbox named in the payload.
|
|
77
|
+
*/
|
|
78
|
+
postApiSandboxTelemetryV1Traces(options?: RequestOptions): Promise<operations.PostApiSandboxTelemetryV1TracesResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Read a sandbox's captured spans
|
|
81
|
+
*/
|
|
82
|
+
getApiSandboxByIdTraces(request: operations.GetApiSandboxByIdTracesRequest, options?: RequestOptions): Promise<operations.GetApiSandboxByIdTracesResponse>;
|
|
79
83
|
/**
|
|
80
84
|
* Start a Helix session in a sandbox
|
|
81
85
|
*
|
|
@@ -105,16 +109,33 @@ export declare class Sandbox extends ClientSDK {
|
|
|
105
109
|
*/
|
|
106
110
|
postApiSandboxByIdSignal(request: operations.PostApiSandboxByIdSignalRequest, options?: RequestOptions): Promise<operations.PostApiSandboxByIdSignalResponse>;
|
|
107
111
|
/**
|
|
108
|
-
*
|
|
112
|
+
* Capture a Helix session's own transcript
|
|
109
113
|
*
|
|
110
114
|
* @remarks
|
|
111
|
-
*
|
|
115
|
+
* Copies the HARNESS's session file off the box, verbatim, and stores it. This is what a NEW box needs to CONTINUE the conversation — distinct from `GET /:id/stream?since=`, which replays what the client observed and restores no agent state at all. 409 when the session has not completed a turn: the harness writes its file lazily, so there is genuinely nothing to capture yet, and storing an empty snapshot would produce a restore that succeeds and restores nothing. 503 when the deployment has no snapshot store.
|
|
112
116
|
*/
|
|
113
|
-
|
|
117
|
+
postApiSandboxByIdCheckpoint(request: operations.PostApiSandboxByIdCheckpointRequest, options?: RequestOptions): Promise<operations.PostApiSandboxByIdCheckpointResponse>;
|
|
114
118
|
/**
|
|
115
|
-
*
|
|
119
|
+
* List checkpoints captured from this sandbox
|
|
120
|
+
*
|
|
121
|
+
* @remarks
|
|
122
|
+
* Newest first, tenant-scoped, WITHOUT the stored bytes. `messageCount` is how much conversation each one holds.
|
|
116
123
|
*/
|
|
117
|
-
|
|
124
|
+
getApiSandboxByIdCheckpoints(request: operations.GetApiSandboxByIdCheckpointsRequest, options?: RequestOptions): Promise<operations.GetApiSandboxByIdCheckpointsResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Rebuild this sandbox from a checkpoint, with full state
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
* A cloud equivalent of a local `/resume`, and it does NOT require the old box to still exist — a reaped or torn-down sandbox is the ordinary input. In order: a fresh box is spawned for the SAME sandbox id at generation+1 with the same secret NAMES (values are re-minted, never stored); the relay's seq counter is seeded from the persisted high-water mark so a client's `?since=` cursor stays valid; the workspace and `$HOME/.mutagent` are extracted BEFORE Helix starts; a session is started in the checkpoint's cwd; the conversation is written in, its sha256 compared against the box's own, and only then switched onto; the runtime settings and pending queue are replayed; and a `session {status:"restored"}` frame is appended to the stream with a real seq. A digest mismatch is a 422 and the session is NOT switched. 404 if the snapshot is not in this workspace. Read `notRestored` — a restore that carried only the conversation is legitimate and says so there. A DEFAULTED restore uses the newest checkpoint that has a manifest and lists newer rows it passed over in `skippedSnapshots`. `partial: true` restores the incremental transcript prefix beyond the checkpoint when one exists (the frame then carries `partial: true`); its tail may end on a tool call with no result, which the harness answers with a synthetic error on the next turn — the accepted risk of asking for it.
|
|
130
|
+
*/
|
|
131
|
+
postApiSandboxByIdRestore(request: operations.PostApiSandboxByIdRestoreRequest, options?: RequestOptions): Promise<operations.PostApiSandboxByIdRestoreResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Run one agent turn in a fresh sandbox
|
|
134
|
+
*
|
|
135
|
+
* @remarks
|
|
136
|
+
* `prompt` is WHO the agent is (the agent definition) and `task` is WHAT to do this turn. They are two different prompts and are never concatenated. The turn's output comes back on stdout with the agent's real exit code. With `?stream=1` the same turn is delivered as it happens, in the event framing of `GET /:id/stream`: a `sandbox` event naming the box, then `stdout`/`stderr` as the agent produces them, then a `result` event carrying the exit code and whether the sandbox was torn down, then the terminal `status`. Disconnecting mid-stream releases the sandbox.
|
|
137
|
+
*/
|
|
138
|
+
postApiSandboxAgentRun(request: operations.PostApiSandboxAgentRunRequest, options?: RequestOptions): Promise<operations.PostApiSandboxAgentRunResponse>;
|
|
118
139
|
/**
|
|
119
140
|
* Exchange a platform API key for a sandbox operator token
|
|
120
141
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../src/sdk/sandbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../src/sdk/sandbox.ts"],"names":[],"mappings":"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"}
|