@archildata/api-types 0.0.50 → 0.0.51

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 +10 -9
  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;
@@ -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.51",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",