@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.
- package/dist/_contracts/runtime-kind.d.ts +2 -2
- package/dist/_contracts/runtime-kind.js +3 -3
- package/dist/_contracts/runtime-types.d.ts +1 -1
- package/dist/_contracts/submission.d.ts +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.sha256 +1 -1
- package/dist/client-types.d.ts +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/concepts/providers-and-runtimes.md +4 -4
- package/docs/limits.md +1 -1
- package/package.json +2 -2
|
@@ -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).
|
|
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 (
|
|
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).
|
|
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 (
|
|
24
|
-
export const DEFAULT_RUNTIME_KIND = "
|
|
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
|
-
* (`
|
|
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} (`
|
|
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:
|
|
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");
|
package/dist/cli.mjs.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
66a259c4b7dc8b777de8d940c8519cd893d7e30672f775789d925589d57bcd34 cli.mjs
|
package/dist/client-types.d.ts
CHANGED
|
@@ -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: `
|
|
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 (`
|
|
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
package/dist/version.js
CHANGED
|
@@ -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.
|
|
23
|
-
(the default, `"
|
|
24
|
-
(`"spot_container"`), or `RuntimeKinds.
|
|
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 (`
|
|
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 `
|
|
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.
|
|
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": "
|
|
56
|
+
"sourceSha": "b23ccab8e4ef5be1b39938d9e97093ecb9c5f44a"
|
|
57
57
|
}
|
|
58
58
|
}
|