Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

[skip ci] Release new versions

github-actions[bot]d23ad659a4d4
diff --git a/.changeset/file-metadata-xattrs.md b/.changeset/file-metadata-xattrs.md
deleted file mode 100644
index d8da10393..000000000
--- a/.changeset/file-metadata-xattrs.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-'e2b': minor
-'@e2b/python-sdk': minor
----
-
-feat(sdks): expose user-defined file metadata on `sandbox.files`
-
-Adds a `metadata` option to file uploads (`write` / `writeFiles` / `write_files`) and surfaces persisted metadata on every `EntryInfo` / `WriteInfo` returned by `getInfo`, `list`, `rename`, and write responses. On upload, metadata is sent as `X-Metadata-<key>: <value>` request headers; envd persists the values as extended attributes in the `user.e2b.` xattr namespace and returns them on subsequent filesystem reads (including `user.e2b.*` xattrs set out-of-band). Keys are sent as HTTP header names and are lowercased by the sandbox; metadata is validated client-side (keys must be valid HTTP header tokens, values must be printable US-ASCII) and invalid input raises `InvalidArgumentError` / `InvalidArgumentException`. The same metadata map is applied to every file in a multi-file upload. Requires envd 0.6.2 or later.
diff --git a/.changeset/loud-sandboxes-pause.md b/.changeset/loud-sandboxes-pause.md
deleted file mode 100644
index c0ad886da..000000000
--- a/.changeset/loud-sandboxes-pause.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@e2b/cli": patch
----
-
-Add `--lifecycle.ontimeout`, `--lifecycle.autoresume`, and `--timeout` support to `e2b sandbox create`.
diff --git a/.changeset/python-js-sdk-alignment.md b/.changeset/python-js-sdk-alignment.md
deleted file mode 100644
index 1cc4bfbd7..000000000
--- a/.changeset/python-js-sdk-alignment.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-"e2b": patch
-"@e2b/python-sdk": patch
-"@e2b/cli": patch
----
-
-fix: align behavior between the JS and Python SDKs
-
-Python SDK:
-
-- `commands.send_stdin` and `CommandHandle.send_stdin` now accept `bytes` in addition to `str`, and the handle's `send_stdin` / `close_stdin` now accept a `request_timeout`.
-- `git.reset` now accepts a typed `GitResetMode` and its validation error matches the JS SDK wording/ordering. `GitResetMode` is now exported.
-- `sandbox_url` is now propagated through `get_api_params`.
-- `Template.from_image()` now raises when only one of `username` / `password` is provided.
-- `get_info()` no longer carries the envd access token on the returned `SandboxInfo` (the `_envd_access_token` field was unused), matching the JS SDK which strips it from `getInfo`.
-- `get_metrics()` now raises `TemplateException` (was `SandboxException`) with the same message as the JS SDK when the sandbox is too old.
-
-JS SDK:
-
-- `Sandbox.getInfo()` now includes `sandboxDomain`, matching the Python SDK's single `get_info`. `getFullInfo` is deprecated and now just wraps `getInfo` (it no longer returns the envd access token).
-- `Sandbox.getMetrics()` now returns `[]` in debug mode, matching the Python SDK. The debug short-circuit for `getMetrics` / `kill` is implemented on both the instance and static methods, so it applies consistently whether called as `Sandbox.kill(sandboxId)` or `sandbox.kill()`.
-- `Template.fromImage()` now requires both `username` and `password` when registry credentials are provided.
-- `Template.getBuildStatus()` now defaults `logsOffset` to `0`.
-- `requestTimeoutMs: 0` now explicitly disables the request timeout.
-- `getMetrics()` now throws `TemplateError` (was `SandboxError`) when the sandbox is too old to support metrics.
diff --git a/.changeset/watch-include-entry.md b/.changeset/watch-include-entry.md
deleted file mode 100644
index 479f69e53..000000000
--- a/.changeset/watch-include-entry.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-"@e2b/python-sdk": minor
-"e2b": minor
----
-
-Add an `includeEntry`/`include_entry` option to filesystem directory watching. When enabled, each `FilesystemEvent` carries the affected entry's `EntryInfo` (best-effort; left unset for events where the path no longer exists, such as remove/rename-away). Requires envd 0.6.3 or later; watching with this option against an older sandbox raises a template error.
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 23180182c..8861cb571 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@e2b/cli",
- "version": "2.11.0",
+ "version": "2.11.1",
"description": "CLI for managing e2b sandbox templates",
"homepage": "https://e2b.dev",
"license": "MIT",
@@ -81,7 +81,7 @@
"commander": "^11.1.0",
"console-table-printer": "^2.11.2",
"dockerfile-ast": "^0.6.1",
- "e2b": "^2.28.1",
+ "e2b": "^2.29.0",
"handlebars": "^4.7.9",
"inquirer": "^12.10.0",
"simple-update-notifier": "^2.0.0",
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 3be4da582..9ab6e5106 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "e2b",
- "version": "2.28.2",
+ "version": "2.29.0",
"description": "E2B SDK that give agents cloud environments",
"homepage": "https://e2b.dev",
"license": "MIT",
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index 4d3c28e86..c8e533014 100644
--- a/packages/python-sdk/package.json
+++ b/packages/python-sdk/package.json
@@ -1,7 +1,7 @@
{
"name": "@e2b/python-sdk",
"private": true,
- "version": "2.27.1",
+ "version": "2.28.0",
"scripts": {
"example": "poetry run python example.py",
"test": "poetry run pytest -n 4 --verbose -x",
diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.toml
index a278631fc..fd3172ea9 100644
--- a/packages/python-sdk/pyproject.toml
+++ b/packages/python-sdk/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "e2b"
-version = "2.27.1"
+version = "2.28.0"
description = "E2B SDK that give agents cloud environments"
authors = ["e2b <[email protected]>"]
license = "MIT"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c77263d3a..f8a9217c4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -80,8 +80,8 @@ importers:
specifier: ^0.6.1
version: 0.6.1
e2b:
- specifier: ^2.28.1
- version: 2.28.1
+ specifier: ^2.29.0
+ version: 2.29.0
handlebars:
specifier: ^4.7.9
version: 4.7.9
@@ -1944,8 +1944,8 @@ packages:
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-JMkK6FDGgzDWv5FOfmE8xHm/8E8xUHAehNx5MIsOJlytCmUC5QbG5mzowExvTpANX0rMepyuXzSH3GwwDCaang==}
+ resolution: {integrity: sha512-rikXAW95sCPpRia/W/nZYq75Q3IDj2ycUS8e9Uf1nvaVf2nc88MFNV+f2TmMtzEePNN1JinKm/3FbCCKnmmykw==}
engines: {node: '>=20.18.1'}
@@ -5472,7 +5472,7 @@ snapshots:
es-errors: 1.3.0
gopd: 1.2.0
dependencies:
'@bufbuild/protobuf': 2.6.2
'@connectrpc/connect': 2.0.0-rc.3(@bufbuild/[email protected])