Skip to content

feat(ts-sdk): add archive lifecycle and disk configuration#1241

Merged
Timandes merged 1 commit into
alibaba:masterfrom
xdlkc:feature/ts-sdk-archive-disk-support
Jul 13, 2026
Merged

feat(ts-sdk): add archive lifecycle and disk configuration#1241
Timandes merged 1 commit into
alibaba:masterfrom
xdlkc:feature/ts-sdk-archive-disk-support

Conversation

@xdlkc

@xdlkc xdlkc commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Add Sandbox.archive() for stopped sandbox archival.
  • Add optional disk sandbox configuration and forward it to start_async.
  • Expose typed sandbox lifecycle states, transition history, and disk fields in status responses.
  • Bump the TypeScript SDK package and lockfile version to 1.10.0.

Why

The TypeScript SDK needs parity with the sandbox archive lifecycle and disk configuration already available from the service.

Validation

  • npm ci
  • npm run build
  • npx jest --selectProjects unit --runInBand src/sandbox/config.test.ts src/types/responses.test.ts
  • npx jest --selectProjects unit --runInBand src/sandbox/client.test.ts --testNamePattern="Sandbox archive|disk field"

Refs #1240

Refs alibaba#1240

Co-Authored-By: Codex <noreply@openai.com>

AI-Model: gpt-5

AI-Contributed/Feature: 6/63

AI-Contributed/UT: 0/259
@xdlkc
xdlkc marked this pull request as ready for review July 13, 2026 15:43
@Timandes
Timandes merged commit 6c9c077 into alibaba:master Jul 13, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants