@archildata/api-types 0.0.50 → 0.0.52

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 (2) hide show
  1. package/index.d.ts +11 -10
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -841,13 +841,14 @@ export interface paths {
841
841
  /**
842
842
  * Set a sandbox's timeouts
843
843
  * @description Replaces one or both sandbox timeout settings. Updating `timeout` while
844
- * the sandbox is running resets its hard expiration deadline to that many
845
- * seconds from now. Updating `idle_ttl_seconds` resets the idle
846
- * countdown when no direct process connection is active; zero disables
847
- * idle expiry. Omitted settings remain unchanged. Updates are retained
848
- * across later stops and starts. For an inactive sandbox, they apply to
849
- * the next powered-on session. Sandboxes that are starting or shutting
850
- * down, or whose timeout changes concurrently, return 409.
844
+ * the sandbox is running moves its hard expiration deadline to that many
845
+ * seconds from now, but never past 24 hours after the session started.
846
+ * Updating `idle_ttl_seconds` resets the idle countdown when no direct
847
+ * process connection is active; zero disables idle expiry. Omitted
848
+ * settings remain unchanged. Updates are retained across later stops and
849
+ * starts. For an inactive sandbox, they apply to the next powered-on
850
+ * session. Sandboxes that are starting or shutting down, or whose timeout
851
+ * changes concurrently, return 409.
851
852
  */
852
853
  post: operations["setSandboxTimeout"];
853
854
  delete?: never;
@@ -1205,7 +1206,7 @@ export interface components {
1205
1206
  SandboxState: "pending" | "running" | "pausing" | "paused" | "stopping" | "stopped" | "exited" | "failed" | "deleting" | "deleted";
1206
1207
  /** @enum {string} */
1207
1208
  SandboxNetworkAction: "allow" | "deny";
1208
- /** @description Deny targets take precedence when an address or domain matches both lists. When domain rules or drain selectors are present, TCP ports 80 and 443 are restricted to HTTP/1.1 or HTTP/2. Plaintext HTTP authority is enforced on port 80, but requests matching a transformation rule are rejected unless the rule also forwards. Port 443 is TLS-terminated; both TLS SNI and HTTP authority are evaluated, and the HTTP authority selects the upstream, any request transformations, and any request forwarding. DNS to the sandbox's configured resolvers is allowed and UDP port 443 is denied. */
1209
+ /** @description Deny targets take precedence when an address or domain matches both lists. When domain rules or drain selectors are present, TCP port 80 is restricted to HTTP/1.1 or HTTP/2 and plaintext HTTP authority is enforced, but requests matching a transformation rule are rejected unless the rule also forwards. Port 443 is relayed without TLS termination. With domain rules, it is evaluated by TLS SNI and connects to an address the runtime resolves for that name, never the address the guest dialed; names need a matching domain rule or default allow, and connections without a hostname SNI are denied. Only rules with header transformations or forwarding, and drain selectors, terminate TLS, which requires clients to trust the sandbox egress CA; for those, both TLS SNI and HTTP authority are evaluated, and the HTTP authority selects the upstream, any request transformations, and any request forwarding. DNS to the sandbox's configured resolvers is allowed and UDP port 443 is denied. */
1209
1210
  SandboxEgressPolicy: {
1210
1211
  default: components["schemas"]["SandboxNetworkAction"];
1211
1212
  /** @description Allowed IPv4 addresses, CIDR ranges, exact domains, wildcard domains beginning with `*.`, or target objects with optional outbound HTTPS request transformations. A wildcard matches subdomains but not the apex domain, including when applying transformations. */
@@ -1241,7 +1242,7 @@ export interface components {
1241
1242
  egress?: components["schemas"]["SandboxEgressPolicy"];
1242
1243
  };
1243
1244
  SandboxTimeoutRequest: {
1244
- /** @description Seconds from now until a running sandbox expires, and the lifetime budget for its next powered-on session. */
1245
+ /** @description Seconds from now until a running sandbox expires, capped at 24 hours after its session started, and the lifetime budget for its next powered-on session. */
1245
1246
  timeout?: number;
1246
1247
  /** @description Seconds without a direct process connection before the sandbox pauses. Zero disables idle expiry. */
1247
1248
  idle_ttl_seconds?: number;
@@ -1254,7 +1255,7 @@ export interface components {
1254
1255
  status: components["schemas"]["SandboxState"];
1255
1256
  vcpu_count: number;
1256
1257
  mem_size_mib: number;
1257
- /** @description Lifetime budget applied independently to each powered-on session. Expiry pauses the sandbox, preserving memory and processes for resume. Defaults to 24 hours and can be reset with the timeout endpoint. */
1258
+ /** @description Lifetime budget applied independently to each powered-on session. Expiry pauses the sandbox, preserving memory and processes for resume. Defaults to 24 hours. The timeout endpoint can move the deadline, but no session runs longer than 24 hours. */
1258
1259
  max_ttl_seconds: number;
1259
1260
  /** @description Seconds without a direct process connection before the sandbox pauses, preserving memory and processes for resume. Zero disables idle expiry. */
1260
1261
  idle_ttl_seconds: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.50",
3
+ "version": "0.0.52",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",