Skip to content

[Feature] Extend TypeScript SDK sandbox lifecycle and disk configuration #1240

Description

@xdlkc

Feature Category

  • SDK & API

Problem Statement
The TypeScript SDK cannot request archival for stopped sandboxes, configure requested disk capacity when creating a sandbox, or expose archive lifecycle state in typed status responses.

Proposed Solution
Add an archive operation to the sandbox client, pass an optional disk setting to the sandbox start request, and model sandbox states and transition history in the TypeScript SDK.

Detailed Feature Description

  • Add Sandbox.archive() for POST /sandboxes/{sandboxId}/archive.
  • Add optional disk configuration and include it in start_async requests.
  • Add typed sandbox states, transition-history records, and status-response fields.
  • Bump the TypeScript SDK package and lockfile version to 1.10.0.
  • Add unit coverage for the new SDK behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions