@mutagent/sdk 0.8.24 → 0.8.26

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.
Files changed (39) hide show
  1. package/dist/commonjs/funcs/helix-cloud-send-helix-cloud-session-input.d.ts +1 -1
  2. package/dist/commonjs/funcs/helix-cloud-send-helix-cloud-session-input.js +1 -1
  3. package/dist/commonjs/funcs/reports-upload-report.d.ts +1 -1
  4. package/dist/commonjs/funcs/reports-upload-report.js +1 -1
  5. package/dist/commonjs/funcs/views-list-sandbox-providers-view.d.ts +1 -1
  6. package/dist/commonjs/funcs/views-list-sandbox-providers-view.js +1 -1
  7. package/dist/commonjs/lib/config.d.ts +2 -2
  8. package/dist/commonjs/lib/config.js +2 -2
  9. package/dist/commonjs/models/helix-cloud-approval.d.ts +2 -2
  10. package/dist/commonjs/models/helix-cloud-session.d.ts +3 -3
  11. package/dist/commonjs/models/helix-cloud-session.js +1 -1
  12. package/dist/commonjs/models/sandbox-provider-facts.d.ts +3 -3
  13. package/dist/commonjs/models/session-input-accepted.d.ts +3 -3
  14. package/dist/commonjs/sdk/helix-cloud.d.ts +1 -1
  15. package/dist/commonjs/sdk/helix-cloud.js +1 -1
  16. package/dist/commonjs/sdk/reports.d.ts +1 -1
  17. package/dist/commonjs/sdk/reports.js +1 -1
  18. package/dist/commonjs/sdk/views.d.ts +1 -1
  19. package/dist/commonjs/sdk/views.js +1 -1
  20. package/dist/esm/funcs/helix-cloud-send-helix-cloud-session-input.d.ts +1 -1
  21. package/dist/esm/funcs/helix-cloud-send-helix-cloud-session-input.js +1 -1
  22. package/dist/esm/funcs/reports-upload-report.d.ts +1 -1
  23. package/dist/esm/funcs/reports-upload-report.js +1 -1
  24. package/dist/esm/funcs/views-list-sandbox-providers-view.d.ts +1 -1
  25. package/dist/esm/funcs/views-list-sandbox-providers-view.js +1 -1
  26. package/dist/esm/lib/config.d.ts +2 -2
  27. package/dist/esm/lib/config.js +2 -2
  28. package/dist/esm/models/helix-cloud-approval.d.ts +2 -2
  29. package/dist/esm/models/helix-cloud-session.d.ts +3 -3
  30. package/dist/esm/models/helix-cloud-session.js +1 -1
  31. package/dist/esm/models/sandbox-provider-facts.d.ts +3 -3
  32. package/dist/esm/models/session-input-accepted.d.ts +3 -3
  33. package/dist/esm/sdk/helix-cloud.d.ts +1 -1
  34. package/dist/esm/sdk/helix-cloud.js +1 -1
  35. package/dist/esm/sdk/reports.d.ts +1 -1
  36. package/dist/esm/sdk/reports.js +1 -1
  37. package/dist/esm/sdk/views.d.ts +1 -1
  38. package/dist/esm/sdk/views.js +1 -1
  39. package/package.json +1 -1
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Send a message to a session
14
14
  *
15
15
  * @remarks
16
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
16
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -53,7 +53,7 @@ const async_js_1 = require("../types/async.js");
53
53
  * Send a message to a session
54
54
  *
55
55
  * @remarks
56
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
56
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
57
57
  *
58
58
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
59
59
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Upload a published run report
13
13
  *
14
14
  * @remarks
15
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
15
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
52
52
  * Upload a published run report
53
53
  *
54
54
  * @remarks
55
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
55
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
56
56
  *
57
57
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
58
58
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * The sandbox providers
13
13
  *
14
14
  * @remarks
15
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
15
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
50
50
  * The sandbox providers
51
51
  *
52
52
  * @remarks
53
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
53
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
54
54
  *
55
55
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
56
56
  */
@@ -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.8.24";
38
+ readonly sdkVersion: "0.8.26";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.24 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.26 2.938.0 2.0.0 @mutagent/sdk";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
35
35
  exports.SDK_METADATA = {
36
36
  language: "typescript",
37
37
  openapiDocVersion: "2.0.0",
38
- sdkVersion: "0.8.24",
38
+ sdkVersion: "0.8.26",
39
39
  genVersion: "2.938.0",
40
- userAgent: "speakeasy-sdk/typescript 0.8.24 2.938.0 2.0.0 @mutagent/sdk",
40
+ userAgent: "speakeasy-sdk/typescript 0.8.26 2.938.0 2.0.0 @mutagent/sdk",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -14,7 +14,7 @@ export type HelixCloudApprovalKindOpen = OpenEnum<typeof HelixCloudApprovalKind>
14
14
  */
15
15
  export type HelixCloudApproval = {
16
16
  /**
17
- * The box request id: what an answer names
17
+ * The sandbox request id: what an answer names
18
18
  */
19
19
  id: string;
20
20
  kind: HelixCloudApprovalKindOpen;
@@ -36,7 +36,7 @@ export type HelixCloudApproval = {
36
36
  */
37
37
  requestedAt: string;
38
38
  /**
39
- * When the box answers its default itself (ISO 8601)
39
+ * When the sandbox answers its default itself (ISO 8601)
40
40
  */
41
41
  expiresAt: string | null;
42
42
  };
@@ -3,7 +3,7 @@ import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
5
5
  /**
6
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
6
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
7
7
  */
8
8
  export declare enum HelixCloudSessionStatus {
9
9
  Running = "running",
@@ -12,7 +12,7 @@ export declare enum HelixCloudSessionStatus {
12
12
  Blocked = "blocked"
13
13
  }
14
14
  /**
15
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
15
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
16
16
  */
17
17
  export type HelixCloudSessionStatusOpen = OpenEnum<typeof HelixCloudSessionStatus>;
18
18
  /**
@@ -58,7 +58,7 @@ export type HelixCloudSession = {
58
58
  */
59
59
  goal: string | null;
60
60
  /**
61
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
61
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
62
62
  */
63
63
  status: HelixCloudSessionStatusOpen;
64
64
  /**
@@ -43,7 +43,7 @@ const schemas_js_1 = require("../lib/schemas.js");
43
43
  const openEnums = __importStar(require("../types/enums.js"));
44
44
  const types = __importStar(require("../types/primitives.js"));
45
45
  /**
46
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
46
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
47
47
  */
48
48
  var HelixCloudSessionStatus;
49
49
  (function (HelixCloudSessionStatus) {
@@ -11,7 +11,7 @@ export type Capabilities = {
11
11
  */
12
12
  execStdin: boolean;
13
13
  /**
14
- * A managed agent package can be staged into a box (deploy needs one).
14
+ * A managed agent package can be staged into a sandbox (deploy needs one).
15
15
  */
16
16
  stagesPackages: boolean;
17
17
  };
@@ -24,11 +24,11 @@ export type SandboxProviderFacts = {
24
24
  */
25
25
  name: string;
26
26
  /**
27
- * Where boxes run: cloud (a managed runtime) or container (a host container); null when the provider declares none.
27
+ * Where sandboxes run: cloud (a managed runtime) or container (a host container); null when the provider declares none.
28
28
  */
29
29
  kind: SandboxProviderKindOpen | null;
30
30
  /**
31
- * The cloud region boxes run in; null for a provider without one.
31
+ * The cloud region sandboxes run in; null for a provider without one.
32
32
  */
33
33
  region: string | null;
34
34
  /**
@@ -18,12 +18,12 @@ export type WakeDelivered = {
18
18
  */
19
19
  sessionId: string;
20
20
  /**
21
- * The restored box generation
21
+ * The generation of the restored sandbox instance
22
22
  */
23
23
  generation: number;
24
24
  };
25
25
  /**
26
- * Present when the send found the session asleep or its box replaced, and restored it from its last checkpoint.
26
+ * Present when the send found the session asleep or its sandbox instance replaced, and restored it from its last checkpoint.
27
27
  */
28
28
  export type Wake = WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<"state">;
29
29
  /**
@@ -35,7 +35,7 @@ export type SessionInputAccepted = {
35
35
  */
36
36
  accepted: boolean;
37
37
  /**
38
- * Present when the send found the session asleep or its box replaced, and restored it from its last checkpoint.
38
+ * Present when the send found the session asleep or its sandbox instance replaced, and restored it from its last checkpoint.
39
39
  */
40
40
  wake?: WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<"state"> | undefined;
41
41
  };
@@ -83,7 +83,7 @@ export declare class HelixCloud extends ClientSDK {
83
83
  * Send a message to a session
84
84
  *
85
85
  * @remarks
86
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
86
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
87
87
  */
88
88
  sendHelixCloudSessionInput(request: operations.SendHelixCloudSessionInputRequest, options?: RequestOptions): Promise<models.HelixCloudAccepted>;
89
89
  /**
@@ -124,7 +124,7 @@ class HelixCloud extends sdks_js_1.ClientSDK {
124
124
  * Send a message to a session
125
125
  *
126
126
  * @remarks
127
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
127
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
128
128
  */
129
129
  async sendHelixCloudSessionInput(request, options) {
130
130
  return (0, fp_js_1.unwrapAsync)((0, helix_cloud_send_helix_cloud_session_input_js_1.helixCloudSendHelixCloudSessionInput)(this, request, options));
@@ -6,7 +6,7 @@ export declare class Reports extends ClientSDK {
6
6
  * Upload a published run report
7
7
  *
8
8
  * @remarks
9
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
9
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
10
10
  */
11
11
  uploadReport(request: models.UploadReportRequest, options?: RequestOptions): Promise<models.UploadReportResponse>;
12
12
  /**
@@ -23,7 +23,7 @@ class Reports extends sdks_js_1.ClientSDK {
23
23
  * Upload a published run report
24
24
  *
25
25
  * @remarks
26
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
26
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
27
27
  */
28
28
  async uploadReport(request, options) {
29
29
  return (0, fp_js_1.unwrapAsync)((0, reports_upload_report_js_1.reportsUploadReport)(this, request, options));
@@ -83,7 +83,7 @@ export declare class Views extends ClientSDK {
83
83
  * The sandbox providers
84
84
  *
85
85
  * @remarks
86
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
86
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
87
87
  */
88
88
  listSandboxProvidersView(options?: RequestOptions): Promise<Array<models.ViewsSandboxProviderList>>;
89
89
  }
@@ -122,7 +122,7 @@ class Views extends sdks_js_1.ClientSDK {
122
122
  * The sandbox providers
123
123
  *
124
124
  * @remarks
125
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
125
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
126
126
  */
127
127
  async listSandboxProvidersView(options) {
128
128
  return (0, fp_js_1.unwrapAsync)((0, views_list_sandbox_providers_view_js_1.viewsListSandboxProvidersView)(this, options));
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Send a message to a session
14
14
  *
15
15
  * @remarks
16
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
16
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
17
17
  *
18
18
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
19
19
  */
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
17
17
  * Send a message to a session
18
18
  *
19
19
  * @remarks
20
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
20
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
21
21
  *
22
22
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
23
23
  */
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Upload a published run report
13
13
  *
14
14
  * @remarks
15
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
15
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
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
  * Upload a published run report
17
17
  *
18
18
  * @remarks
19
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
19
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
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
  * The sandbox providers
13
13
  *
14
14
  * @remarks
15
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
15
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
16
16
  *
17
17
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
18
18
  */
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
14
14
  * The sandbox providers
15
15
  *
16
16
  * @remarks
17
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
17
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
18
18
  *
19
19
  * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
20
20
  */
@@ -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.8.24";
38
+ readonly sdkVersion: "0.8.26";
39
39
  readonly genVersion: "2.938.0";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.8.24 2.938.0 2.0.0 @mutagent/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.26 2.938.0 2.0.0 @mutagent/sdk";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
@@ -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.8.24",
34
+ sdkVersion: "0.8.26",
35
35
  genVersion: "2.938.0",
36
- userAgent: "speakeasy-sdk/typescript 0.8.24 2.938.0 2.0.0 @mutagent/sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.8.26 2.938.0 2.0.0 @mutagent/sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -14,7 +14,7 @@ export type HelixCloudApprovalKindOpen = OpenEnum<typeof HelixCloudApprovalKind>
14
14
  */
15
15
  export type HelixCloudApproval = {
16
16
  /**
17
- * The box request id: what an answer names
17
+ * The sandbox request id: what an answer names
18
18
  */
19
19
  id: string;
20
20
  kind: HelixCloudApprovalKindOpen;
@@ -36,7 +36,7 @@ export type HelixCloudApproval = {
36
36
  */
37
37
  requestedAt: string;
38
38
  /**
39
- * When the box answers its default itself (ISO 8601)
39
+ * When the sandbox answers its default itself (ISO 8601)
40
40
  */
41
41
  expiresAt: string | null;
42
42
  };
@@ -3,7 +3,7 @@ import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
5
5
  /**
6
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
6
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
7
7
  */
8
8
  export declare enum HelixCloudSessionStatus {
9
9
  Running = "running",
@@ -12,7 +12,7 @@ export declare enum HelixCloudSessionStatus {
12
12
  Blocked = "blocked"
13
13
  }
14
14
  /**
15
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
15
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
16
16
  */
17
17
  export type HelixCloudSessionStatusOpen = OpenEnum<typeof HelixCloudSessionStatus>;
18
18
  /**
@@ -58,7 +58,7 @@ export type HelixCloudSession = {
58
58
  */
59
59
  goal: string | null;
60
60
  /**
61
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
61
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
62
62
  */
63
63
  status: HelixCloudSessionStatusOpen;
64
64
  /**
@@ -6,7 +6,7 @@ import { safeParse } from "../lib/schemas.js";
6
6
  import * as openEnums from "../types/enums.js";
7
7
  import * as types from "../types/primitives.js";
8
8
  /**
9
- * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its box retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
9
+ * running: live; ready: asleep (stopped for idling: the next send wakes it), or over (ended cleanly, or its sandbox retired) with its report stored; blocked: ended with an error, or over with its report missing (FR-RP-8)
10
10
  */
11
11
  export var HelixCloudSessionStatus;
12
12
  (function (HelixCloudSessionStatus) {
@@ -11,7 +11,7 @@ export type Capabilities = {
11
11
  */
12
12
  execStdin: boolean;
13
13
  /**
14
- * A managed agent package can be staged into a box (deploy needs one).
14
+ * A managed agent package can be staged into a sandbox (deploy needs one).
15
15
  */
16
16
  stagesPackages: boolean;
17
17
  };
@@ -24,11 +24,11 @@ export type SandboxProviderFacts = {
24
24
  */
25
25
  name: string;
26
26
  /**
27
- * Where boxes run: cloud (a managed runtime) or container (a host container); null when the provider declares none.
27
+ * Where sandboxes run: cloud (a managed runtime) or container (a host container); null when the provider declares none.
28
28
  */
29
29
  kind: SandboxProviderKindOpen | null;
30
30
  /**
31
- * The cloud region boxes run in; null for a provider without one.
31
+ * The cloud region sandboxes run in; null for a provider without one.
32
32
  */
33
33
  region: string | null;
34
34
  /**
@@ -18,12 +18,12 @@ export type WakeDelivered = {
18
18
  */
19
19
  sessionId: string;
20
20
  /**
21
- * The restored box generation
21
+ * The generation of the restored sandbox instance
22
22
  */
23
23
  generation: number;
24
24
  };
25
25
  /**
26
- * Present when the send found the session asleep or its box replaced, and restored it from its last checkpoint.
26
+ * Present when the send found the session asleep or its sandbox instance replaced, and restored it from its last checkpoint.
27
27
  */
28
28
  export type Wake = WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<"state">;
29
29
  /**
@@ -35,7 +35,7 @@ export type SessionInputAccepted = {
35
35
  */
36
36
  accepted: boolean;
37
37
  /**
38
- * Present when the send found the session asleep or its box replaced, and restored it from its last checkpoint.
38
+ * Present when the send found the session asleep or its sandbox instance replaced, and restored it from its last checkpoint.
39
39
  */
40
40
  wake?: WakeDelivered | WakeWaking | discriminatedUnionTypes.Unknown<"state"> | undefined;
41
41
  };
@@ -83,7 +83,7 @@ export declare class HelixCloud extends ClientSDK {
83
83
  * Send a message to a session
84
84
  *
85
85
  * @remarks
86
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
86
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
87
87
  */
88
88
  sendHelixCloudSessionInput(request: operations.SendHelixCloudSessionInputRequest, options?: RequestOptions): Promise<models.HelixCloudAccepted>;
89
89
  /**
@@ -121,7 +121,7 @@ export class HelixCloud extends ClientSDK {
121
121
  * Send a message to a session
122
122
  *
123
123
  * @remarks
124
- * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its box was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
124
+ * Sends `text` to the session as one prompt. The reply arrives on the session's stream. 404 for a session outside the caller's workspace. A session stopped for idling is woken: it is restored from its last checkpoint onto a new sandbox generation and the message is delivered once Helix is up; `wake` then carries the restored session's `reference` (`delivered`), or says the restore is still running (`waking`) and the message is delivered when it finishes. Messages sent meanwhile are delivered in order, each once. A session whose sandbox no longer runs it (its sandbox instance was replaced) is woken the same way when it can be; otherwise 410 `SESSION_GONE`, whose message says how to get it back.
125
125
  */
126
126
  async sendHelixCloudSessionInput(request, options) {
127
127
  return unwrapAsync(helixCloudSendHelixCloudSessionInput(this, request, options));
@@ -6,7 +6,7 @@ export declare class Reports extends ClientSDK {
6
6
  * Upload a published run report
7
7
  *
8
8
  * @remarks
9
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
9
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
10
10
  */
11
11
  uploadReport(request: models.UploadReportRequest, options?: RequestOptions): Promise<models.UploadReportResponse>;
12
12
  /**
@@ -20,7 +20,7 @@ export class Reports extends ClientSDK {
20
20
  * Upload a published run report
21
21
  *
22
22
  * @remarks
23
- * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or a sandbox token from inside a box. A key or session needs a workspace role with resources:create (editor or admin).
23
+ * Stores a report produced by a Helix run. Idempotent per (workspace, runId, kind): a repeat returns the first report unchanged with `created: false` (200); with `replace: true` it swaps that report's content instead (`replaced: true`). Accepts a platform API key, a signed-in session, or the sandbox token a sandbox carries. A key or session needs a workspace role with resources:create (editor or admin).
24
24
  */
25
25
  async uploadReport(request, options) {
26
26
  return unwrapAsync(reportsUploadReport(this, request, options));
@@ -83,7 +83,7 @@ export declare class Views extends ClientSDK {
83
83
  * The sandbox providers
84
84
  *
85
85
  * @remarks
86
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
86
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
87
87
  */
88
88
  listSandboxProvidersView(options?: RequestOptions): Promise<Array<models.ViewsSandboxProviderList>>;
89
89
  }
@@ -119,7 +119,7 @@ export class Views extends ClientSDK {
119
119
  * The sandbox providers
120
120
  *
121
121
  * @remarks
122
- * Where session boxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
122
+ * Where session sandboxes can run: each provider this server is configured with, whether a launch uses it by default, and the facts it declares (region, managed-agent staging, workspace restore). Read-only.
123
123
  */
124
124
  async listSandboxProvidersView(options) {
125
125
  return unwrapAsync(viewsListSandboxProvidersView(this, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutagent/sdk",
3
- "version": "0.8.24",
3
+ "version": "0.8.26",
4
4
  "author": "Speakeasy",
5
5
  "tshy": {
6
6
  "sourceDialects": [