Announcement

✨ Sandock v2.11.0 Release Notes

Sandock Support
Team

Sandock v2.11.0 is here! This release improves command execution and file I/O, with easier sandbox lookup and command cancellation for agent frameworks.

  • Look up a sandbox by ID: The new GET /api/v1/sandbox/{id} endpoint avoids listing every sandbox. The SDK now uses it for sandbox.get(id), while sandbox.getById(id) returns null if the sandbox does not exist.
  • Read and write binary files: Images, archives, and other binary files retain their exact bytes. Use encoding: "base64" in the API, or pass a Uint8Array to fs.write and read with fs.readBytes in the SDK.
  • Cancel running commands: Use an AbortSignal or close the stream to stop a command and all processes it started inside the sandbox.
  • Longer preview requests: Slow HTTP requests and long-lived event streams are no longer cut off after two minutes.
  • SDK and CLI 2.7.0: Both include the new capabilities. SDK errors now carry a code, such as SANDBOX_NOT_FOUND, for programmatic handling.
  • Exit codes and file errors fixed: Commands now return their actual exit codes. Reading a missing file returns a clear 404 File not found with the FILE_NOT_FOUND error code.

Full release notes: https://sandock.ai/release-notes/v2.11.0

Report

No replies yet. Be the first to help.

Your reply

Sign in to join the discussion. Reading is always open; you only need an account to post.

Sign in