@mutagent/sdk 0.13.37 → 0.13.39
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 +1062 -1057
- package/dist/commonjs/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/commonjs/funcs/architech-sessions-launch-architech-session.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-images-get-desktop-local-base.d.ts +17 -0
- package/dist/commonjs/funcs/sandbox-images-get-desktop-local-base.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-images-get-desktop-local-base.js +107 -0
- package/dist/commonjs/funcs/sandbox-images-get-desktop-local-base.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/desktop-local-base-entry.d.ts +25 -0
- package/dist/commonjs/models/desktop-local-base-entry.d.ts.map +1 -0
- package/dist/commonjs/models/desktop-local-base-entry.js +54 -0
- package/dist/commonjs/models/desktop-local-base-entry.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/publish-sandbox-image-body.d.ts +64 -0
- package/dist/commonjs/models/publish-sandbox-image-body.d.ts.map +1 -1
- package/dist/commonjs/models/publish-sandbox-image-body.js +30 -3
- package/dist/commonjs/models/publish-sandbox-image-body.js.map +1 -1
- package/dist/commonjs/models/sandbox-image-release.d.ts +49 -0
- package/dist/commonjs/models/sandbox-image-release.d.ts.map +1 -1
- package/dist/commonjs/models/sandbox-image-release.js +30 -3
- package/dist/commonjs/models/sandbox-image-release.js.map +1 -1
- package/dist/commonjs/models/sandbox-session-launch-request.d.ts +1 -1
- package/dist/commonjs/sdk/architech-sessions.d.ts +1 -1
- package/dist/commonjs/sdk/architech-sessions.js +1 -1
- package/dist/commonjs/sdk/helix-sessions.d.ts +2 -2
- package/dist/commonjs/sdk/helix-sessions.js +2 -2
- package/dist/commonjs/sdk/sandbox-images.d.ts +9 -0
- package/dist/commonjs/sdk/sandbox-images.d.ts.map +1 -0
- package/dist/commonjs/sdk/sandbox-images.js +19 -0
- package/dist/commonjs/sdk/sandbox-images.js.map +1 -0
- package/dist/commonjs/sdk/sandbox-sessions.d.ts +1 -1
- package/dist/commonjs/sdk/sandbox-sessions.js +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/esm/funcs/architech-sessions-launch-architech-session.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/esm/funcs/sandbox-images-get-desktop-local-base.d.ts +17 -0
- package/dist/esm/funcs/sandbox-images-get-desktop-local-base.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-images-get-desktop-local-base.js +71 -0
- package/dist/esm/funcs/sandbox-images-get-desktop-local-base.js.map +1 -0
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/desktop-local-base-entry.d.ts +25 -0
- package/dist/esm/models/desktop-local-base-entry.d.ts.map +1 -0
- package/dist/esm/models/desktop-local-base-entry.js +17 -0
- package/dist/esm/models/desktop-local-base-entry.js.map +1 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/publish-sandbox-image-body.d.ts +64 -0
- package/dist/esm/models/publish-sandbox-image-body.d.ts.map +1 -1
- package/dist/esm/models/publish-sandbox-image-body.js +27 -2
- package/dist/esm/models/publish-sandbox-image-body.js.map +1 -1
- package/dist/esm/models/sandbox-image-release.d.ts +49 -0
- package/dist/esm/models/sandbox-image-release.d.ts.map +1 -1
- package/dist/esm/models/sandbox-image-release.js +27 -2
- package/dist/esm/models/sandbox-image-release.js.map +1 -1
- package/dist/esm/models/sandbox-session-launch-request.d.ts +1 -1
- package/dist/esm/sdk/architech-sessions.d.ts +1 -1
- package/dist/esm/sdk/architech-sessions.js +1 -1
- package/dist/esm/sdk/helix-sessions.d.ts +2 -2
- package/dist/esm/sdk/helix-sessions.js +2 -2
- package/dist/esm/sdk/sandbox-images.d.ts +9 -0
- package/dist/esm/sdk/sandbox-images.d.ts.map +1 -0
- package/dist/esm/sdk/sandbox-images.js +15 -0
- package/dist/esm/sdk/sandbox-images.js.map +1 -0
- package/dist/esm/sdk/sandbox-sessions.d.ts +1 -1
- package/dist/esm/sdk/sandbox-sessions.js +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
|
@@ -17,9 +17,52 @@ export type SandboxImageReleaseDocker = {
|
|
|
17
17
|
*/
|
|
18
18
|
amd64?: string | undefined;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* The GCP Agent Runtime main Helix image per architecture (schema v4)
|
|
22
|
+
*/
|
|
23
|
+
export type SandboxImageReleaseGcpAgentRuntime = {
|
|
24
|
+
/**
|
|
25
|
+
* A full digest-only Artifact Registry ref, <region>-docker.pkg.dev/<project>/<repository>/<name>@sha256:<64 hex>; never a tag
|
|
26
|
+
*/
|
|
27
|
+
arm64?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* A full digest-only Artifact Registry ref, <region>-docker.pkg.dev/<project>/<repository>/<name>@sha256:<64 hex>; never a tag
|
|
30
|
+
*/
|
|
31
|
+
amd64?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The Desktop local sandbox base (not a cloud image)
|
|
35
|
+
*/
|
|
36
|
+
export type SandboxImageReleaseDesktopLocalBase = {
|
|
37
|
+
/**
|
|
38
|
+
* The base version, e.g. 0.3.0
|
|
39
|
+
*/
|
|
40
|
+
tag: string;
|
|
41
|
+
/**
|
|
42
|
+
* SHA-256 (64 hex) of the Dockerfile bytes
|
|
43
|
+
*/
|
|
44
|
+
dockerfileSha256: string;
|
|
45
|
+
/**
|
|
46
|
+
* sha256:<64 hex>, never a tag
|
|
47
|
+
*/
|
|
48
|
+
arm64?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* sha256:<64 hex>, never a tag
|
|
51
|
+
*/
|
|
52
|
+
amd64?: string | undefined;
|
|
53
|
+
[additionalProperties: string]: unknown;
|
|
54
|
+
};
|
|
20
55
|
export type SandboxImageReleaseImages = {
|
|
21
56
|
agentcore?: SandboxImageReleaseAgentcore | undefined;
|
|
22
57
|
docker?: SandboxImageReleaseDocker | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The GCP Agent Runtime main Helix image per architecture (schema v4)
|
|
60
|
+
*/
|
|
61
|
+
gcpAgentRuntime?: SandboxImageReleaseGcpAgentRuntime | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* The Desktop local sandbox base (not a cloud image)
|
|
64
|
+
*/
|
|
65
|
+
desktopLocalBase?: SandboxImageReleaseDesktopLocalBase | undefined;
|
|
23
66
|
};
|
|
24
67
|
export type SandboxImageReleaseFramework = {
|
|
25
68
|
version: string;
|
|
@@ -46,6 +89,12 @@ export declare function sandboxImageReleaseAgentcoreFromJSON(jsonString: string)
|
|
|
46
89
|
export declare const SandboxImageReleaseDocker$inboundSchema: z.ZodMiniType<SandboxImageReleaseDocker, unknown>;
|
|
47
90
|
export declare function sandboxImageReleaseDockerFromJSON(jsonString: string): SafeParseResult<SandboxImageReleaseDocker, SDKValidationError>;
|
|
48
91
|
/** @internal */
|
|
92
|
+
export declare const SandboxImageReleaseGcpAgentRuntime$inboundSchema: z.ZodMiniType<SandboxImageReleaseGcpAgentRuntime, unknown>;
|
|
93
|
+
export declare function sandboxImageReleaseGcpAgentRuntimeFromJSON(jsonString: string): SafeParseResult<SandboxImageReleaseGcpAgentRuntime, SDKValidationError>;
|
|
94
|
+
/** @internal */
|
|
95
|
+
export declare const SandboxImageReleaseDesktopLocalBase$inboundSchema: z.ZodMiniType<SandboxImageReleaseDesktopLocalBase, unknown>;
|
|
96
|
+
export declare function sandboxImageReleaseDesktopLocalBaseFromJSON(jsonString: string): SafeParseResult<SandboxImageReleaseDesktopLocalBase, SDKValidationError>;
|
|
97
|
+
/** @internal */
|
|
49
98
|
export declare const SandboxImageReleaseImages$inboundSchema: z.ZodMiniType<SandboxImageReleaseImages, unknown>;
|
|
50
99
|
export declare function sandboxImageReleaseImagesFromJSON(jsonString: string): SafeParseResult<SandboxImageReleaseImages, SDKValidationError>;
|
|
51
100
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-image-release.d.ts","sourceRoot":"","sources":["../../../src/models/sandbox-image-release.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
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AC;AAEF,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,WAAW,CACjE,yBAAyB,EACzB,OAAO,CAqBR,CAAC;AAEF,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CAIP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,mBAAmB,EACnB,OAAO,CAWP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -36,13 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.SandboxImageRelease$inboundSchema = exports.SandboxImageReleaseFramework$inboundSchema = exports.SandboxImageReleaseImages$inboundSchema = exports.SandboxImageReleaseDocker$inboundSchema = exports.SandboxImageReleaseAgentcore$inboundSchema = void 0;
|
|
39
|
+
exports.SandboxImageRelease$inboundSchema = exports.SandboxImageReleaseFramework$inboundSchema = exports.SandboxImageReleaseImages$inboundSchema = exports.SandboxImageReleaseDesktopLocalBase$inboundSchema = exports.SandboxImageReleaseGcpAgentRuntime$inboundSchema = exports.SandboxImageReleaseDocker$inboundSchema = exports.SandboxImageReleaseAgentcore$inboundSchema = void 0;
|
|
40
40
|
exports.sandboxImageReleaseAgentcoreFromJSON = sandboxImageReleaseAgentcoreFromJSON;
|
|
41
41
|
exports.sandboxImageReleaseDockerFromJSON = sandboxImageReleaseDockerFromJSON;
|
|
42
|
+
exports.sandboxImageReleaseGcpAgentRuntimeFromJSON = sandboxImageReleaseGcpAgentRuntimeFromJSON;
|
|
43
|
+
exports.sandboxImageReleaseDesktopLocalBaseFromJSON = sandboxImageReleaseDesktopLocalBaseFromJSON;
|
|
42
44
|
exports.sandboxImageReleaseImagesFromJSON = sandboxImageReleaseImagesFromJSON;
|
|
43
45
|
exports.sandboxImageReleaseFrameworkFromJSON = sandboxImageReleaseFrameworkFromJSON;
|
|
44
46
|
exports.sandboxImageReleaseFromJSON = sandboxImageReleaseFromJSON;
|
|
45
47
|
const z = __importStar(require("zod/v4-mini"));
|
|
48
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
46
49
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
47
50
|
const types = __importStar(require("../types/primitives.js"));
|
|
48
51
|
/** @internal */
|
|
@@ -61,10 +64,34 @@ function sandboxImageReleaseDockerFromJSON(jsonString) {
|
|
|
61
64
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SandboxImageReleaseDocker$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SandboxImageReleaseDocker' from JSON`);
|
|
62
65
|
}
|
|
63
66
|
/** @internal */
|
|
64
|
-
exports.
|
|
67
|
+
exports.SandboxImageReleaseGcpAgentRuntime$inboundSchema = z.object({
|
|
68
|
+
arm64: types.optional(types.string()),
|
|
69
|
+
amd64: types.optional(types.string()),
|
|
70
|
+
});
|
|
71
|
+
function sandboxImageReleaseGcpAgentRuntimeFromJSON(jsonString) {
|
|
72
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SandboxImageReleaseGcpAgentRuntime$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SandboxImageReleaseGcpAgentRuntime' from JSON`);
|
|
73
|
+
}
|
|
74
|
+
/** @internal */
|
|
75
|
+
exports.SandboxImageReleaseDesktopLocalBase$inboundSchema = z.catchall(z.object({
|
|
76
|
+
tag: types.string(),
|
|
77
|
+
dockerfileSha256: types.string(),
|
|
78
|
+
arm64: types.optional(types.string()),
|
|
79
|
+
amd64: types.optional(types.string()),
|
|
80
|
+
}), z.any());
|
|
81
|
+
function sandboxImageReleaseDesktopLocalBaseFromJSON(jsonString) {
|
|
82
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SandboxImageReleaseDesktopLocalBase$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SandboxImageReleaseDesktopLocalBase' from JSON`);
|
|
83
|
+
}
|
|
84
|
+
/** @internal */
|
|
85
|
+
exports.SandboxImageReleaseImages$inboundSchema = z.pipe(z.object({
|
|
65
86
|
agentcore: types.optional(z.lazy(() => exports.SandboxImageReleaseAgentcore$inboundSchema)),
|
|
66
87
|
docker: types.optional(z.lazy(() => exports.SandboxImageReleaseDocker$inboundSchema)),
|
|
67
|
-
|
|
88
|
+
"gcp-agent-runtime": types.optional(z.lazy(() => exports.SandboxImageReleaseGcpAgentRuntime$inboundSchema)),
|
|
89
|
+
desktopLocalBase: types.optional(z.lazy(() => exports.SandboxImageReleaseDesktopLocalBase$inboundSchema)),
|
|
90
|
+
}), z.transform((v) => {
|
|
91
|
+
return (0, primitives_js_1.remap)(v, {
|
|
92
|
+
"gcp-agent-runtime": "gcpAgentRuntime",
|
|
93
|
+
});
|
|
94
|
+
}));
|
|
68
95
|
function sandboxImageReleaseImagesFromJSON(jsonString) {
|
|
69
96
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SandboxImageReleaseImages$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SandboxImageReleaseImages' from JSON`);
|
|
70
97
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-image-release.js","sourceRoot":"","sources":["../../../src/models/sandbox-image-release.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sandbox-image-release.js","sourceRoot":"","sources":["../../../src/models/sandbox-image-release.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGH,oFAQC;AAWD,8EAQC;AAWD,gGASC;AAgBD,kGASC;AA4BD,8EAQC;AAWD,oFAQC;AAkBD,kEAQC;AAhQD,+CAAiC;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,8DAAgD;AA2FhD,gBAAgB;AACH,QAAA,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CACtC,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,gDAAgD,GAGzD,CAAC,CAAC,MAAM,CAAC;IAC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AC,GAAG,EAAE,CAAC,+CAAuC,CAAC;IAC7D,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kDAA0C,CAAC;IACnE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE;IACxB,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE;IACvB,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE;CACzB,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -100,7 +100,7 @@ export type SandboxSessionLaunchRequest = {
|
|
|
100
100
|
*/
|
|
101
101
|
agent?: HelixLaunchAgent | undefined;
|
|
102
102
|
/**
|
|
103
|
-
* The harness the session runs: one of helix, architech, claude-code, codex. A harness other than `helix` runs its own preset when `preset` is omitted; a preset of another harness, or `agent` with a harness other than `helix`, is a 422 `SESSION_HARNESS_MISMATCH
|
|
103
|
+
* The harness the session runs: one of helix, architech, claude-code, codex. A harness other than `helix` runs its own preset when `preset` is omitted; a preset of another harness, or `agent` with a harness other than `helix`, is a 422 `SESSION_HARNESS_MISMATCH` (a product route whose harness carries the agent arm takes `agent` too).
|
|
104
104
|
*/
|
|
105
105
|
harness: string;
|
|
106
106
|
};
|
|
@@ -6,7 +6,7 @@ export declare class ArchitechSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (the architech harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the architech harness. Another harness runs its own preset when `preset` is omitted; a preset of another harness
|
|
9
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*/
|
|
11
11
|
launchArchitechSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -23,7 +23,7 @@ class ArchitechSessions extends sdks_js_1.ClientSDK {
|
|
|
23
23
|
* Launch a session (the architech harness)
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
* Starts a session of the architech harness. Another harness runs its own preset when `preset` is omitted; a preset of another harness
|
|
26
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
27
27
|
*/
|
|
28
28
|
async launchArchitechSession(request, options) {
|
|
29
29
|
return (0, fp_js_1.unwrapAsync)((0, architech_sessions_launch_architech_session_js_1.architechSessionsLaunchArchitechSession)(this, request, options));
|
|
@@ -6,7 +6,7 @@ export declare class HelixSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (the helix harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
9
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*
|
|
11
11
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
12
12
|
*/
|
|
@@ -144,7 +144,7 @@ export declare class HelixSessions extends ClientSDK {
|
|
|
144
144
|
* Launch a session (the helix harness)
|
|
145
145
|
*
|
|
146
146
|
* @remarks
|
|
147
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
147
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
148
148
|
*/
|
|
149
149
|
launchHelixSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
150
150
|
/**
|
|
@@ -39,7 +39,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
|
|
|
39
39
|
* Launch a session (the helix harness)
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
42
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
43
43
|
*
|
|
44
44
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
45
45
|
*/
|
|
@@ -209,7 +209,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
|
|
|
209
209
|
* Launch a session (the helix harness)
|
|
210
210
|
*
|
|
211
211
|
* @remarks
|
|
212
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
212
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
213
213
|
*/
|
|
214
214
|
async launchHelixSession(request, options) {
|
|
215
215
|
return (0, fp_js_1.unwrapAsync)((0, helix_sessions_launch_helix_session_js_1.helixSessionsLaunchHelixSession)(this, request, options));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as models from "../models/index.js";
|
|
3
|
+
export declare class SandboxImages extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* Get the default release's Desktop local sandbox base
|
|
6
|
+
*/
|
|
7
|
+
getDesktopLocalBase(options?: RequestOptions): Promise<models.DesktopLocalBaseEntry>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=sandbox-images.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-images.d.ts","sourceRoot":"","sources":["../../../src/sdk/sandbox-images.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;OAEG;IACG,mBAAmB,CACvB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC;CAMzC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SandboxImages = void 0;
|
|
7
|
+
const sandbox_images_get_desktop_local_base_js_1 = require("../funcs/sandbox-images-get-desktop-local-base.js");
|
|
8
|
+
const sdks_js_1 = require("../lib/sdks.js");
|
|
9
|
+
const fp_js_1 = require("../types/fp.js");
|
|
10
|
+
class SandboxImages extends sdks_js_1.ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Get the default release's Desktop local sandbox base
|
|
13
|
+
*/
|
|
14
|
+
async getDesktopLocalBase(options) {
|
|
15
|
+
return (0, fp_js_1.unwrapAsync)((0, sandbox_images_get_desktop_local_base_js_1.sandboxImagesGetDesktopLocalBase)(this, options));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.SandboxImages = SandboxImages;
|
|
19
|
+
//# sourceMappingURL=sandbox-images.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-images.js","sourceRoot":"","sources":["../../../src/sdk/sandbox-images.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gHAAqG;AACrG,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,aAAc,SAAQ,mBAAS;IAC1C;;OAEG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,2EAAgC,EACjD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAZD,sCAYC"}
|
|
@@ -6,7 +6,7 @@ export declare class SandboxSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (any harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
9
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*/
|
|
11
11
|
launchSandboxSession(request: models.SandboxSessionLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -42,7 +42,7 @@ class SandboxSessions extends sdks_js_1.ClientSDK {
|
|
|
42
42
|
* Launch a session (any harness)
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
45
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
46
46
|
*/
|
|
47
47
|
async launchSandboxSession(request, options) {
|
|
48
48
|
return (0, fp_js_1.unwrapAsync)((0, sandbox_sessions_launch_sandbox_session_js_1.sandboxSessionsLaunchSandboxSession)(this, request, options));
|
|
@@ -17,6 +17,7 @@ import { OrganizationMembers } from "./organization-members.js";
|
|
|
17
17
|
import { Organizations } from "./organizations.js";
|
|
18
18
|
import { Reports } from "./reports.js";
|
|
19
19
|
import { SandboxImagesAdmin } from "./sandbox-images-admin.js";
|
|
20
|
+
import { SandboxImages } from "./sandbox-images.js";
|
|
20
21
|
import { SandboxSessions } from "./sandbox-sessions.js";
|
|
21
22
|
import { Sandbox } from "./sandbox.js";
|
|
22
23
|
import { SecretLinks } from "./secret-links.js";
|
|
@@ -79,6 +80,8 @@ export declare class Mutagent extends ClientSDK {
|
|
|
79
80
|
get inbox(): Inbox;
|
|
80
81
|
private _sandboxImagesAdmin?;
|
|
81
82
|
get sandboxImagesAdmin(): SandboxImagesAdmin;
|
|
83
|
+
private _sandboxImages?;
|
|
84
|
+
get sandboxImages(): SandboxImages;
|
|
82
85
|
private _softwareFactory?;
|
|
83
86
|
get softwareFactory(): SoftwareFactory;
|
|
84
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAA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O,CAAC,mBAAmB,CAAC,CAAqB;IACjD,IAAI,kBAAkB,IAAI,kBAAkB,CAE3C;IAED,OAAO,CAAC,cAAc,CAAC,CAAgB;IACvC,IAAI,aAAa,IAAI,aAAa,CAEjC;IAED,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,IAAI,eAAe,IAAI,eAAe,CAErC;CACF"}
|
package/dist/commonjs/sdk/sdk.js
CHANGED
|
@@ -23,6 +23,7 @@ const organization_members_js_1 = require("./organization-members.js");
|
|
|
23
23
|
const organizations_js_1 = require("./organizations.js");
|
|
24
24
|
const reports_js_1 = require("./reports.js");
|
|
25
25
|
const sandbox_images_admin_js_1 = require("./sandbox-images-admin.js");
|
|
26
|
+
const sandbox_images_js_1 = require("./sandbox-images.js");
|
|
26
27
|
const sandbox_sessions_js_1 = require("./sandbox-sessions.js");
|
|
27
28
|
const sandbox_js_1 = require("./sandbox.js");
|
|
28
29
|
const secret_links_js_1 = require("./secret-links.js");
|
|
@@ -111,6 +112,9 @@ class Mutagent extends sdks_js_1.ClientSDK {
|
|
|
111
112
|
get sandboxImagesAdmin() {
|
|
112
113
|
return (this._sandboxImagesAdmin ?? (this._sandboxImagesAdmin = new sandbox_images_admin_js_1.SandboxImagesAdmin(this._options)));
|
|
113
114
|
}
|
|
115
|
+
get sandboxImages() {
|
|
116
|
+
return (this._sandboxImages ?? (this._sandboxImages = new sandbox_images_js_1.SandboxImages(this._options)));
|
|
117
|
+
}
|
|
114
118
|
get softwareFactory() {
|
|
115
119
|
return (this._softwareFactory ?? (this._softwareFactory = new software_factory_js_1.SoftwareFactory(this._options)));
|
|
116
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,2CAAqC;AACrC,mEAA4D;AAC5D,iDAA2C;AAC3C,uDAAiD;AACjD,6CAAuC;AACvC,6CAAuC;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CAAC;IAC5D,CAAC;IAGD,IAAI,YAAY;QACd,OAAO,CAAC,IAAI,CAAC,aAAa,KAAlB,IAAI,CAAC,aAAa,GAAK,IAAI,8BAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClE,CAAC;IAGD,IAAI,KAAK;QACP,OAAO,CAAC,IAAI,CAAC,MAAM,KAAX,IAAI,CAAC,MAAM,GAAK,IAAI,gBAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACpD,CAAC;IAGD,IAAI,kBAAkB;QACpB,OAAO,CAAC,IAAI,CAAC,mBAAmB,KAAxB,IAAI,CAAC,mBAAmB,GAAK,IAAI,4CAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9E,CAAC;IAGD,IAAI,aAAa;QACf,OAAO,CAAC,IAAI,CAAC,cAAc,KAAnB,IAAI,CAAC,cAAc,GAAK,IAAI,iCAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACpE,CAAC;IAGD,IAAI,eAAe;QACjB,OAAO,CAAC,IAAI,CAAC,gBAAgB,KAArB,IAAI,CAAC,gBAAgB,GAAK,IAAI,qCAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;CACF;AA9ID,4BA8IC"}
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the architech harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the architech harness. Another harness runs its own preset when `preset` is omitted; a preset of another harness
|
|
15
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the architech harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Starts a session of the architech harness. Another harness runs its own preset when `preset` is omitted; a preset of another harness
|
|
19
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
15
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the helix harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
19
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
15
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the helix harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
19
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MutagentCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Get the default release's Desktop local sandbox base
|
|
13
|
+
*
|
|
14
|
+
* If set, this operation will use either {@link Security.bearerAuth} or {@link Security.apiKey} from the global security.
|
|
15
|
+
*/
|
|
16
|
+
export declare function sandboxImagesGetDesktopLocalBase(client: MutagentCore, options?: RequestOptions): APIPromise<Result<models.DesktopLocalBaseEntry, errors.ErrorResponse | errors.SandboxImageRefusalError | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=sandbox-images-get-desktop-local-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-images-get-desktop-local-base.d.ts","sourceRoot":"","sources":["../../../src/funcs/sandbox-images-get-desktop-local-base.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;GAIG;AACH,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,qBAAqB,EAC1B,MAAM,CAAC,aAAa,GACpB,MAAM,CAAC,wBAAwB,GAC/B,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
5
|
+
import * as M from "../lib/matchers.js";
|
|
6
|
+
import { compactMap } from "../lib/primitives.js";
|
|
7
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
8
|
+
import { pathToFunc } from "../lib/url.js";
|
|
9
|
+
import * as errors from "../models/errors/index.js";
|
|
10
|
+
import * as models from "../models/index.js";
|
|
11
|
+
import { APIPromise } from "../types/async.js";
|
|
12
|
+
/**
|
|
13
|
+
* Get the default release's Desktop local sandbox base
|
|
14
|
+
*
|
|
15
|
+
* If set, this operation will use either {@link Security.bearerAuth} or {@link Security.apiKey} from the global security.
|
|
16
|
+
*/
|
|
17
|
+
export function sandboxImagesGetDesktopLocalBase(client, options) {
|
|
18
|
+
return new APIPromise($do(client, options));
|
|
19
|
+
}
|
|
20
|
+
async function $do(client, options) {
|
|
21
|
+
const path = pathToFunc("/api/sandbox/images/desktop-local-base")();
|
|
22
|
+
const headers = new Headers(compactMap({
|
|
23
|
+
Accept: "application/json",
|
|
24
|
+
}));
|
|
25
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
26
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [1, 0]);
|
|
27
|
+
const context = {
|
|
28
|
+
options: client._options,
|
|
29
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
30
|
+
operationID: "getDesktopLocalBase",
|
|
31
|
+
oAuth2Scopes: null,
|
|
32
|
+
resolvedSecurity: requestSecurity,
|
|
33
|
+
securitySource: client._options.security,
|
|
34
|
+
retryConfig: options?.retries
|
|
35
|
+
|| client._options.retryConfig
|
|
36
|
+
|| { strategy: "none" },
|
|
37
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
38
|
+
};
|
|
39
|
+
const requestRes = client._createRequest(context, {
|
|
40
|
+
security: requestSecurity,
|
|
41
|
+
method: "GET",
|
|
42
|
+
baseURL: options?.serverURL,
|
|
43
|
+
path: path,
|
|
44
|
+
headers: headers,
|
|
45
|
+
userAgent: client._options.userAgent,
|
|
46
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
47
|
+
}, options);
|
|
48
|
+
if (!requestRes.ok) {
|
|
49
|
+
return [requestRes, { status: "invalid" }];
|
|
50
|
+
}
|
|
51
|
+
const req = requestRes.value;
|
|
52
|
+
const doResult = await client._do(req, {
|
|
53
|
+
context,
|
|
54
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
55
|
+
retryConfig: context.retryConfig,
|
|
56
|
+
retryCodes: context.retryCodes,
|
|
57
|
+
});
|
|
58
|
+
if (!doResult.ok) {
|
|
59
|
+
return [doResult, { status: "request-error", request: req }];
|
|
60
|
+
}
|
|
61
|
+
const response = doResult.value;
|
|
62
|
+
const responseFields = {
|
|
63
|
+
HttpMeta: { Response: response, Request: req },
|
|
64
|
+
};
|
|
65
|
+
const [result] = await M.match(M.json(200, models.DesktopLocalBaseEntry$inboundSchema), M.jsonErr(401, errors.ErrorResponse$inboundSchema), M.jsonErr(404, errors.SandboxImageRefusalError$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
66
|
+
if (!result.ok) {
|
|
67
|
+
return [result, { status: "complete", request: req, response }];
|
|
68
|
+
}
|
|
69
|
+
return [result, { status: "complete", request: req, response }];
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=sandbox-images-get-desktop-local-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-images-get-desktop-local-base.js","sourceRoot":"","sources":["../../../src/funcs/sandbox-images-get-desktop-local-base.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;GAIG;AACH,MAAM,UAAU,gCAAgC,CAC9C,MAAoB,EACpB,OAAwB;IAgBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAoB,EACpB,OAAwB;IAmBxB,MAAM,IAAI,GAAG,UAAU,CAAC,wCAAwC,CAAC,EAAE,CAAC;IAEpE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC;QACrC,MAAM,EAAE,kBAAkB;KAC3B,CAAC,CAAC,CAAC;IAEJ,MAAM,aAAa,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC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AC;AAClE,CAAC"}
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (any harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
15
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (any harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive
|
|
19
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry) or 502 `SANDBOX_SETUP_FAILED`. Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.13.
|
|
38
|
+
readonly sdkVersion: "0.13.39";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.13.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.13.39 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "2.0.0",
|
|
34
|
-
sdkVersion: "0.13.
|
|
34
|
+
sdkVersion: "0.13.39",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.13.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.13.39 2.938.0 2.0.0 @mutagent/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|