feat: add optional name to createSnapshot and return snapshot names#1277
feat: add optional name to createSnapshot and return snapshot names#1277mishushakov wants to merge 4 commits intomainfrom
Conversation
…ot names Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 3d934ef 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 |
PR SummaryLow Risk Overview Extends Reviewed by Cursor Bugbot for commit 3d934ef. Bugbot is set up for automated code reviews on this repo. Configure here. |
Package ArtifactsBuilt from e79cad3. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.19.1-mishushakov-snapshot-name.0.tgzCLI ( npm install ./e2b-cli-2.9.1-mishushakov-snapshot-name.0.tgzPython SDK ( pip install ./e2b-2.20.0+mishushakov.snapshot.name-py3-none-any.whl |
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b118044. Configure here.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3d934ef6d2
ℹ️ 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".

Summary
nameparameter tocreateSnapshot/create_snapshotin the JS and Python SDKs so callers can name the resulting snapshot template.namesfield from the snapshot API onSnapshotInfo(both increateSnapshotresponses and inlistSnapshotspaginator results) so callers can discover the namespaced snapshot names.patchfore2band@e2b/python-sdk).Test plan
pnpm run format,pnpm run lint,pnpm run typecheckall pass locallysandbox.createSnapshot({ name: 'my-snap' })returns non-emptynamesResolves #1249