From 4a99d19d3e308bcf9b9e082a6c9c81208430ed7b Mon Sep 17 00:00:00 2001 From: porter-support Date: Tue, 21 Jul 2026 18:42:25 +0000 Subject: [PATCH] release: TypeScript SDK v0.1.35 --- package-lock.json | 4 ++-- package.json | 2 +- src/_models.ts | 12 ++++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index cbf6231..89b845c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "porter-sandbox", - "version": "0.1.32", + "version": "0.1.35", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "porter-sandbox", - "version": "0.1.32", + "version": "0.1.35", "license": "Apache-2.0", "devDependencies": { "@types/node": "^20.11.0", diff --git a/package.json b/package.json index 91d6383..d1781de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "porter-sandbox", - "version": "0.1.32", + "version": "0.1.35", "description": "TypeScript SDK for the Porter Sandbox API", "license": "Apache-2.0", "author": "Porter ", diff --git a/src/_models.ts b/src/_models.ts index 67653ac..f32f98b 100644 --- a/src/_models.ts +++ b/src/_models.ts @@ -164,6 +164,13 @@ export interface SandboxSpec { args?: string[]; /** Environment variables to set in the sandbox, keyed by name */ env?: Record; + /** + * Names of environment groups on the cluster whose variables are + * injected into the sandbox, resolved to their latest version at create + * time. On a key conflict a later group wins over an earlier one, and + * an explicit env entry wins over any group value. + */ + env_groups?: string[]; /** * Volumes to mount, keyed by the absolute mount path inside the * sandbox; values are volume IDs. @@ -174,6 +181,11 @@ export interface SandboxSpec { * only one entry is supported. */ networking?: SandboxNetworkingSpec[]; + /** + * Maximum lifetime in seconds, counted from creation. The sandbox is + * terminated once it elapses. Omit for no limit. + */ + ttl_seconds?: number; } export interface StatusResponse {