@aexhq/sdk 0.45.1-canary → 0.45.2-canary

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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Three product runtimes, selected per session (feature addition, not a
10
10
  * migration — see `references/microvm-migration-2026-07-15/00`§0):
11
- * - `container` — today's co-located Fargate (on-demand). Default.
11
+ * - `container` — today's co-located Fargate (on-demand). Explicit opt-in.
12
12
  * - `spot_container` — the same behavior on Fargate Spot: cheaper and
13
13
  * interruption tolerant through durable recovery.
14
14
  * - `lambda` — event-driven Lambda + on-demand MicroVM sandbox;
@@ -20,7 +20,7 @@
20
20
  export declare const RUNTIME_KINDS: readonly ["container", "spot_container", "lambda"];
21
21
  /** One of the closed {@link RUNTIME_KINDS} tokens. */
22
22
  export type RuntimeKind = (typeof RUNTIME_KINDS)[number];
23
- /** Default when `runtimeKind` is omitted (today's co-located Fargate path). */
23
+ /** Default when `runtimeKind` is omitted (the event-driven Lambda path). */
24
24
  export declare const DEFAULT_RUNTIME_KIND: RuntimeKind;
25
25
  /**
26
26
  * Symbol-style accessors for TS callers: `RuntimeKinds.SPOT_CONTAINER` resolves
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Three product runtimes, selected per session (feature addition, not a
10
10
  * migration — see `references/microvm-migration-2026-07-15/00`§0):
11
- * - `container` — today's co-located Fargate (on-demand). Default.
11
+ * - `container` — today's co-located Fargate (on-demand). Explicit opt-in.
12
12
  * - `spot_container` — the same behavior on Fargate Spot: cheaper and
13
13
  * interruption tolerant through durable recovery.
14
14
  * - `lambda` — event-driven Lambda + on-demand MicroVM sandbox;
@@ -20,8 +20,8 @@
20
20
  /** The accepted execution-runtime values (the wire/CLI tokens). */
21
21
  import { rethrowContractParseError } from "./contract-parse-error.js";
22
22
  export const RUNTIME_KINDS = ["container", "spot_container", "lambda"];
23
- /** Default when `runtimeKind` is omitted (today's co-located Fargate path). */
24
- export const DEFAULT_RUNTIME_KIND = "container";
23
+ /** Default when `runtimeKind` is omitted (the event-driven Lambda path). */
24
+ export const DEFAULT_RUNTIME_KIND = "lambda";
25
25
  /**
26
26
  * Symbol-style accessors for TS callers: `RuntimeKinds.SPOT_CONTAINER` resolves
27
27
  * to the wire token `"spot_container"`. Re-exported by the SDK as
@@ -22,7 +22,7 @@ export interface SessionRun {
22
22
  /**
23
23
  * The execution runtime a session runs on. Both fields are optional (the
24
24
  * platform applies defaults): `kind` selects the backend
25
- * (`container` (default) | `spot_container` | `lambda`), `size` selects the
25
+ * (`lambda` (default) | `spot_container` | `container`), `size` selects the
26
26
  * managed box preset. Grouped so the SDK surface reads
27
27
  * `runtime: { kind: "lambda", size: Sizes.CPU_2_8GB }`.
28
28
  */
@@ -320,7 +320,7 @@ export interface PlatformSessionSubmissionRequest {
320
320
  * Execution-runtime selector — which backend runs the session
321
321
  * ({@link RuntimeKind}: `container` | `spot_container` | `lambda`). Distinct
322
322
  * from {@link runtimeSize} (the box preset). Absent ⇒ downstream applies
323
- * {@link import("./runtime-kind.js").DEFAULT_RUNTIME_KIND} (`container`).
323
+ * {@link import("./runtime-kind.js").DEFAULT_RUNTIME_KIND} (`lambda`).
324
324
  * `spot_container` implies interruptible capacity (reconciled with
325
325
  * {@link machine}); `lambda` is availability-gated server-side.
326
326
  */
package/dist/cli.mjs CHANGED
@@ -9334,7 +9334,7 @@ async function printGlobalHelp(io2) {
9334
9334
  io2.stdout(" --mcp name=url MCP server entry (repeatable)\n");
9335
9335
  io2.stdout(" --mcp-auth name=Hdr:Val Auth header on the matching --mcp; routed into vaulted secrets (repeatable)\n");
9336
9336
  io2.stdout(" --metadata key=value Submission metadata entry (repeatable)\n");
9337
- io2.stdout(" --runtime <kind> execution runtime: container | spot_container | lambda (default container)\n");
9337
+ io2.stdout(" --runtime <kind> execution runtime: lambda | spot_container | container (default lambda)\n");
9338
9338
  io2.stdout(" --runtime-size <size> managed runtime size preset\n");
9339
9339
  io2.stdout(" --session-timeout <dur> Server-side session deadline (e.g. 1h, max 8h); distinct from --timeout\n");
9340
9340
  io2.stdout(" --idempotency-key <key> Optional; defaults to a fresh UUID\n");
@@ -1 +1 @@
1
- 60fecc4d638a27436e7743ef7b525422b32921aae27e2dc45bbfe8307658f981 cli.mjs
1
+ 66a259c4b7dc8b777de8d940c8519cd893d7e30672f775789d925589d57bcd34 cli.mjs
@@ -91,12 +91,12 @@ export interface SessionCreateOptions extends IdempotencyOptions {
91
91
  /**
92
92
  * The execution runtime for the session — grouped as `{ kind, size }`.
93
93
  *
94
- * - `kind` — which backend runs it: `container` (default), `spot_container`
94
+ * - `kind` — which backend runs it: `lambda` (default), `spot_container`
95
95
  * (same behavior on cheaper interruption-tolerant capacity), or `lambda` (serverless,
96
96
  * availability-gated). Prefer the {@link RuntimeKinds} symbol const.
97
97
  * - `size` — the managed box preset ({@link RuntimeSize}); prefer {@link Sizes}.
98
98
  *
99
- * Both optional; the platform applies defaults (`container`, the 1 GB tier).
99
+ * Both optional; the platform applies defaults (`lambda`, the 1 GB tier).
100
100
  * e.g. `runtime: { kind: "lambda", size: Sizes.CPU_2_8GB }`.
101
101
  */
102
102
  readonly runtime?: SessionRuntime;
package/dist/version.d.ts CHANGED
@@ -6,4 +6,4 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export declare const SDK_VERSION = "0.45.1-canary";
9
+ export declare const SDK_VERSION = "0.45.2-canary";
package/dist/version.js CHANGED
@@ -6,5 +6,5 @@
6
6
  *
7
7
  * Used by the (future) User-Agent header on outbound SDK requests.
8
8
  */
9
- export const SDK_VERSION = "0.45.1-canary";
9
+ export const SDK_VERSION = "0.45.2-canary";
10
10
  //# sourceMappingURL=version.js.map
@@ -19,13 +19,13 @@ aex exposes one submission shape across supported providers:
19
19
  All submissions run on a managed runtime. The optional `runtime` object has two
20
20
  independent selectors:
21
21
 
22
- - `runtime.kind` selects the execution backend: `RuntimeKinds.CONTAINER`
23
- (the default, `"container"`), `RuntimeKinds.SPOT_CONTAINER`
24
- (`"spot_container"`), or `RuntimeKinds.LAMBDA` (`"lambda"`).
22
+ - `runtime.kind` selects the execution backend: `RuntimeKinds.LAMBDA`
23
+ (the default, `"lambda"`), `RuntimeKinds.SPOT_CONTAINER`
24
+ (`"spot_container"`), or `RuntimeKinds.CONTAINER` (`"container"`).
25
25
  - `runtime.size` selects a managed machine-size preset; use `Sizes.*` in
26
26
  TypeScript.
27
27
 
28
- Omit either field to use its default (`container` for `kind` and
28
+ Omit either field to use its default (`lambda` for `kind` and
29
29
  `0.25cpu-1gb` for `size`). The CLI equivalents are `--runtime <kind>` and
30
30
  `--runtime-size <size>`.
31
31
 
package/docs/limits.md CHANGED
@@ -22,7 +22,7 @@ For the current provider/model set, see the generated
22
22
 
23
23
  | Area | Boundary |
24
24
  | --- | --- |
25
- | Runtime | New submissions run on a managed runtime. `runtime.kind` selects `container` (the default), `spot_container`, or `lambda`; `runtime.size` selects a managed machine-size preset (`Sizes.*`). Both fields are optional. |
25
+ | Runtime | New submissions run on a managed runtime. `runtime.kind` selects `lambda` (the default), `spot_container`, or `container`; `runtime.size` selects a managed machine-size preset (`Sizes.*`). Both fields are optional. |
26
26
  | Provider policy | Provider retention, training exclusion, HIPAA/BAA, data residency, abuse policy, and pricing belong to the selected provider account, endpoint, and contract. |
27
27
  | Secrets | Provider keys, MCP credentials, and environment secrets are caller-owned. aex excludes secret values from idempotency and uses the explicit secret surfaces described in [Secrets](secrets.md). |
28
28
  | MCP servers | Remote MCP servers are customer-trusted systems. aex validates declarations and routes credentials; it does not make an untrusted MCP server safe. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexhq/sdk",
3
- "version": "0.45.1-canary",
3
+ "version": "0.45.2-canary",
4
4
  "description": "TypeScript SDK for autonomous agent sessions across Anthropic, DeepSeek, OpenAI, Gemini, Mistral, OpenRouter, and Doubao.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -53,6 +53,6 @@
53
53
  "ignore": "7.0.5"
54
54
  },
55
55
  "aexRelease": {
56
- "sourceSha": "53df4ef68375e1e9c4b0f3fc0b571ef642a2d248"
56
+ "sourceSha": "b23ccab8e4ef5be1b39938d9e97093ecb9c5f44a"
57
57
  }
58
58
  }