Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Add ended at
Jakub Novak3ce99172c7b1
diff --git a/packages/cli/src/commands/sandbox/list.ts b/packages/cli/src/commands/sandbox/list.tsindex 32a304c90..d1f49cab9 100644--- a/packages/cli/src/commands/sandbox/list.ts+++ b/packages/cli/src/commands/sandbox/list.ts@@ -26,12 +26,13 @@ export const listCommand = new commander.Command('list'){ name: 'templateID', alignment: 'left', title: 'Template ID' },{ name: 'alias', alignment: 'left', title: 'Alias' },{ name: 'startedAt', alignment: 'left', title: 'Started at' },+ { name: 'endAt', alignment: 'left', title: 'End at' },{ name: 'cpuCount', alignment: 'left', title: 'vCPUs' },{ name: 'memoryMB', alignment: 'left', title: 'RAM MiB' },{ name: 'metadata', alignment: 'left', title: 'Metadata' },],disabledColumns: ['clientID'],- rows: sandboxes.map((sandbox) => ({ ...sandbox, sandboxID: `${sandbox.sandboxID}-${sandbox.clientID}`, startedAt: new Date(sandbox.startedAt).toLocaleString(), metadata: JSON.stringify(sandbox.metadata) })).sort(+ rows: sandboxes.map((sandbox) => ({ ...sandbox, sandboxID: `${sandbox.sandboxID}-${sandbox.clientID}`, startedAt: new Date(sandbox.startedAt).toLocaleString(), endAt: new Date(sandbox.endAt).toLocaleString(), metadata: JSON.stringify(sandbox.metadata) })).sort((a, b) => a.startedAt.localeCompare(b.startedAt) || a.sandboxID.localeCompare(b.sandboxID)),colorMap: {diff --git a/packages/js-sdk/src/api/schema.gen.ts b/packages/js-sdk/src/api/schema.gen.tsindex e2b165163..7513d92e6 100644--- a/packages/js-sdk/src/api/schema.gen.ts+++ b/packages/js-sdk/src/api/schema.gen.ts@@ -345,6 +345,11 @@ export interface components {* @description Time when the sandbox was started*/startedAt: string;+ /**+ * Format: date-time+ * @description Time when the sandbox will expire+ */+ endAt: string;cpuCount: components["schemas"]["CPUCount"];memoryMB: components["schemas"]["MemoryMB"];metadata?: components["schemas"]["SandboxMetadata"];diff --git a/spec/openapi.yml b/spec/openapi.ymlindex 4194a443f..e087f5580 100644--- a/spec/openapi.yml+++ b/spec/openapi.yml@@ -159,6 +159,7 @@ components:- startedAt- cpuCount- memoryMB+ - endAtproperties:templateID:type: string@@ -176,6 +177,10 @@ components:type: stringformat: date-timedescription: Time when the sandbox was started+ endAt:+ type: string+ format: date-time+ description: Time when the sandbox will expirecpuCount:$ref: "#/components/schemas/CPUCount"memoryMB: