Conversation
🦋 Changeset detectedLatest commit: 526b903 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@djeebus no need to review, it's a draft |
019d887 to
e11378c
Compare
Package ArtifactsBuilt from db65c7f. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.14.2-mishushakov-volume-crud-sdk.0.tgzCLI ( npm install ./e2b-cli-2.8.2-mishushakov-volume-crud-sdk.0.tgzPython SDK ( pip install ./e2b-2.15.3+mishushakov.volume.crud.sdk-py3-none-any.whl |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8ae99f53cf
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Simplify handle_api_exception usage in read_file (both sync and async) to use direct `raise` instead of storing in a variable and checking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ddc69ae to
dea465e
Compare
Summary
Add Volume CRUD operations to both TypeScript and Python SDKs. Volumes are persistent storage that can be mounted to sandboxes. Includes create, list, get_info, and destroy methods. Sandbox creation now supports volumeMounts parameter.
Usage Examples
TypeScript
Python (async)
Python (sync)
Testing
Note
Medium Risk
Adds new Volume APIs (including file operations and a separate volume-content client) and threads
volumeMountsthrough sandbox creation in both SDKs, which can affect request payloads and error handling. Most other changes are generated schema/client updates, but the new surface area needs integration verification against the backend.Overview
Adds Volume support to both SDKs: new
Volume/AsyncVolumeAPIs for create/list/get/destroy plus volume-content operations (list/mkdir/stat/metadata/read/write/remove) backed by a dedicated volume-content OpenAPI client.Extends sandbox creation to accept
volumeMounts/volume_mountsand forwards them to the/sandboxescreate request; sandbox info objects now surface returnedvolumeMounts.Updates generated OpenAPI schemas/clients to include
/volumesendpoints and related models, adds a new JSgenerate:volume-apiscript and Pythongenerate-volume-apitarget, and includes small spec-driven tweaks (e.g., sandbox logslevel/searchquery params, node model field changes, snapshot ID description).Written by Cursor Bugbot for commit 526b903. This will update automatically on new commits. Configure here.