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]2438c923388e
diff --git a/.changeset/calm-streamed-unicode.md b/.changeset/calm-streamed-unicode.md
deleted file mode 100644
index 4cf4ee09f..000000000
--- a/.changeset/calm-streamed-unicode.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@e2b/code-interpreter': patch
----
-
-Preserve Unicode characters split across response chunks in code execution output.
diff --git a/.changeset/python-sdk-dedupe-create-response.md b/.changeset/python-sdk-dedupe-create-response.md
deleted file mode 100644
index ee52b1599..000000000
--- a/.changeset/python-sdk-dedupe-create-response.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@e2b/python-sdk': patch
-'e2b': patch
----
-
-Share the sandbox create/connect/fork response mapping (JS and Python) and the Python `Commands.run` / `Commands.connect` handle setup
diff --git a/.changeset/remove-request-source.md b/.changeset/remove-request-source.md
deleted file mode 100644
index 405e5d0c7..000000000
--- a/.changeset/remove-request-source.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-"e2b": patch
-"@e2b/python-sdk": patch
-"@e2b/code-interpreter": patch
-"@e2b/code-interpreter-python": patch
----
-
-Remove the `E2B_USER_AGENT_SOURCE` environment variable. The SDKs no longer add a `source/<value>` User-Agent token, append `?source=` to Code Interpreter requests, or log trace IDs and add `(trace_id=…)` to error messages when it is set to `ci`, so SDK behavior no longer depends on that variable.
-
-Code Interpreter errors for statuses other than 404 and 502 now use the same `<status> <reason>[: <body>]` message in JS and Python: JS includes the response body, and Python falls back to the reason phrase when the body is empty.
diff --git a/.changeset/sandbox-unreachable-error.md b/.changeset/sandbox-unreachable-error.md
deleted file mode 100644
index 3ceed3b62..000000000
--- a/.changeset/sandbox-unreachable-error.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-'@e2b/python-sdk': minor
-'e2b': minor
----
-
-Add `SandboxNotRunningError` / `SandboxNotRunningException` and `SandboxUnreachableError` / `SandboxUnreachableException` for envd requests that fail because the sandbox cannot be reached. Both extend `TimeoutError` / `TimeoutException`, which these cases raised before, so existing `instanceof TimeoutError` / `except TimeoutException` handling keeps working.
-
-- `SandboxNotRunning*` — the proxy answered `502 "The sandbox was not found"` (killed, paused or timed out), either directly or from the health probe the SDK runs after a dropped connection or an unexplained `Unavailable` (e.g. the sandbox was killed mid-command). Retrying will not help.
-- `SandboxUnreachable*` — the sandbox is not confirmed stopped but cannot be reached: `502 "port is not open"`, other `502`s, or a connection failure whose health probe got no answer. The original error is the `cause` / `__cause__`.
-- A connection failure whose health probe finds the sandbox running still raises the original transport error. The probe itself runs without connection retries.
-
-**Breaking (JS):** `commands.run` / `connect`, `pty.create` / `connect` and `files.watchDir` on a gone sandbox now throw `SandboxNotRunningError` instead of `SandboxNotFoundError`, like every other call. `SandboxNotFoundError` is only raised by the control plane API.
diff --git a/packages/code-interpreter-js/CHANGELOG.md b/packages/code-interpreter-js/CHANGELOG.md
index 2e7561648..05e4cb631 100644
--- a/packages/code-interpreter-js/CHANGELOG.md
+++ b/packages/code-interpreter-js/CHANGELOG.md
@@ -1,5 +1,19 @@
# @e2b/code-interpreter
+## 2.8.1
+
+### Patch Changes
+
+- af8d7a5: Preserve Unicode characters split across response chunks in code execution output.
+- b3bb653: Remove the `E2B_USER_AGENT_SOURCE` environment variable. The SDKs no longer add a `source/<value>` User-Agent token, append `?source=` to Code Interpreter requests, or log trace IDs and add `(trace_id=…)` to error messages when it is set to `ci`, so SDK behavior no longer depends on that variable.
+
+ Code Interpreter errors for statuses other than 404 and 502 now use the same `<status> <reason>[: <body>]` message in JS and Python: JS includes the response body, and Python falls back to the reason phrase when the body is empty.
+
+- Updated dependencies [8f51c9f]
+- Updated dependencies [b3bb653]
+- Updated dependencies [1de92fc]
+
## 2.8.0
### Minor Changes
diff --git a/packages/code-interpreter-js/package.json b/packages/code-interpreter-js/package.json
index 6d53a1eff..e49560c25 100644
--- a/packages/code-interpreter-js/package.json
+++ b/packages/code-interpreter-js/package.json
@@ -1,6 +1,6 @@
{
"name": "@e2b/code-interpreter",
- "version": "2.8.0",
+ "version": "2.8.1",
"packageManager": "[email protected]",
"description": "E2B Code Interpreter - Stateful code execution",
"homepage": "https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b-code-interpreter",
diff --git a/packages/code-interpreter-python/CHANGELOG.md b/packages/code-interpreter-python/CHANGELOG.md
index ebbb679bb..cdf785e66 100644
--- a/packages/code-interpreter-python/CHANGELOG.md
+++ b/packages/code-interpreter-python/CHANGELOG.md
@@ -1,5 +1,13 @@
# @e2b/code-interpreter-python
+## 2.10.2
+
+### Patch Changes
+
+- b3bb653: Remove the `E2B_USER_AGENT_SOURCE` environment variable. The SDKs no longer add a `source/<value>` User-Agent token, append `?source=` to Code Interpreter requests, or log trace IDs and add `(trace_id=…)` to error messages when it is set to `ci`, so SDK behavior no longer depends on that variable.
+
+ Code Interpreter errors for statuses other than 404 and 502 now use the same `<status> <reason>[: <body>]` message in JS and Python: JS includes the response body, and Python falls back to the reason phrase when the body is empty.
+
## 2.10.1
### Patch Changes
diff --git a/packages/code-interpreter-python/package.json b/packages/code-interpreter-python/package.json
index 9a5ea14fc..4e6610942 100644
--- a/packages/code-interpreter-python/package.json
+++ b/packages/code-interpreter-python/package.json
@@ -1,7 +1,7 @@
{
"name": "@e2b/code-interpreter-python",
"private": true,
- "version": "2.10.1",
+ "version": "2.10.2",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
"postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\") && uv add --frozen \"$(node -p \"const v = require('../python-sdk/package.json').version; 'e2b>=' + v + ',<' + (Number(v.split('.')[0]) + 1) + '.0.0'\")\"",
diff --git a/packages/code-interpreter-python/pyproject.toml b/packages/code-interpreter-python/pyproject.toml
index d83d93e7c..05097a0c4 100644
--- a/packages/code-interpreter-python/pyproject.toml
+++ b/packages/code-interpreter-python/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "e2b-code-interpreter"
-version = "2.10.1"
+version = "2.10.2"
description = "E2B Code Interpreter - Stateful code execution"
authors = [{ name = "e2b", email = "[email protected]" }]
license = "MIT"
@@ -9,7 +9,7 @@ requires-python = ">=3.10"
dependencies = [
"httpx>=0.20.0,<1.0.0",
"attrs>=21.3.0",
- "e2b>=2.52.0,<3.0.0",
+ "e2b>=2.53.0,<3.0.0",
]
[project.urls]
diff --git a/packages/code-interpreter-python/uv.lock b/packages/code-interpreter-python/uv.lock
index 2e5bf2c92..cc6719394 100644
--- a/packages/code-interpreter-python/uv.lock
+++ b/packages/code-interpreter-python/uv.lock
@@ -358,7 +358,7 @@ wheels = [
[[package]]
name = "e2b"
-version = "2.52.1"
+version = "2.53.0"
source = { editable = "../python-sdk" }
dependencies = [
{ name = "attrs" },
@@ -431,7 +431,7 @@ dev = [
[[package]]
name = "e2b-code-interpreter"
-version = "2.10.1"
+version = "2.10.2"
source = { editable = "." }
dependencies = [
{ name = "attrs" },
diff --git a/packages/desktop-python/pyproject.toml b/packages/desktop-python/pyproject.toml
index 4e411e7c8..03457f269 100644
--- a/packages/desktop-python/pyproject.toml
+++ b/packages/desktop-python/pyproject.toml
@@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
- "e2b>=2.44.0,<3.0.0",
+ "e2b>=2.53.0,<3.0.0",
"requests>=2.32.3,<3",
"urllib3>=2.8.0,<3",
"pillow>=12.0.0,<13",
diff --git a/packages/desktop-python/uv.lock b/packages/desktop-python/uv.lock
index c607ce330..d99298829 100644
--- a/packages/desktop-python/uv.lock
+++ b/packages/desktop-python/uv.lock
@@ -352,7 +352,7 @@ wheels = [
[[package]]
name = "e2b"
-version = "2.52.1"
+version = "2.53.0"
source = { editable = "../python-sdk" }
dependencies = [
{ name = "attrs" },
diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md
index e63e0ec68..8b1d54fb9 100644
--- a/packages/js-sdk/CHANGELOG.md
+++ b/packages/js-sdk/CHANGELOG.md
@@ -1,5 +1,24 @@
# e2b
+## 2.53.0
+
+### Minor Changes
+
+- 1de92fc: Add `SandboxNotRunningError` / `SandboxNotRunningException` and `SandboxUnreachableError` / `SandboxUnreachableException` for envd requests that fail because the sandbox cannot be reached. Both extend `TimeoutError` / `TimeoutException`, which these cases raised before, so existing `instanceof TimeoutError` / `except TimeoutException` handling keeps working.
+
+ - `SandboxNotRunning*` — the proxy answered `502 "The sandbox was not found"` (killed, paused or timed out), either directly or from the health probe the SDK runs after a dropped connection or an unexplained `Unavailable` (e.g. the sandbox was killed mid-command). Retrying will not help.
+ - `SandboxUnreachable*` — the sandbox is not confirmed stopped but cannot be reached: `502 "port is not open"`, other `502`s, or a connection failure whose health probe got no answer. The original error is the `cause` / `__cause__`.
+ - A connection failure whose health probe finds the sandbox running still raises the original transport error. The probe itself runs without connection retries.
+
+ **Breaking (JS):** `commands.run` / `connect`, `pty.create` / `connect` and `files.watchDir` on a gone sandbox now throw `SandboxNotRunningError` instead of `SandboxNotFoundError`, like every other call. `SandboxNotFoundError` is only raised by the control plane API.
+
+### Patch Changes
+
+- 8f51c9f: Share the sandbox create/connect/fork response mapping (JS and Python) and the Python `Commands.run` / `Commands.connect` handle setup
+- b3bb653: Remove the `E2B_USER_AGENT_SOURCE` environment variable. The SDKs no longer add a `source/<value>` User-Agent token, append `?source=` to Code Interpreter requests, or log trace IDs and add `(trace_id=…)` to error messages when it is set to `ci`, so SDK behavior no longer depends on that variable.
+
+ Code Interpreter errors for statuses other than 404 and 502 now use the same `<status> <reason>[: <body>]` message in JS and Python: JS includes the response body, and Python falls back to the reason phrase when the body is empty.
+
## 2.52.1
### Patch Changes
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 0403756b3..d745e4fdf 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "e2b",
- "version": "2.52.1",
+ "version": "2.53.0",
"description": "E2B SDK that give agents cloud environments",
"homepage": "https://e2b.dev/?utm_source=npm&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b",
"license": "MIT",
diff --git a/packages/python-sdk/CHANGELOG.md b/packages/python-sdk/CHANGELOG.md
index e4c7faab3..9c7b659a1 100644
--- a/packages/python-sdk/CHANGELOG.md
+++ b/packages/python-sdk/CHANGELOG.md
@@ -1,5 +1,24 @@
# @e2b/python-sdk
+## 2.53.0
+
+### Minor Changes
+
+- 1de92fc: Add `SandboxNotRunningError` / `SandboxNotRunningException` and `SandboxUnreachableError` / `SandboxUnreachableException` for envd requests that fail because the sandbox cannot be reached. Both extend `TimeoutError` / `TimeoutException`, which these cases raised before, so existing `instanceof TimeoutError` / `except TimeoutException` handling keeps working.
+
+ - `SandboxNotRunning*` — the proxy answered `502 "The sandbox was not found"` (killed, paused or timed out), either directly or from the health probe the SDK runs after a dropped connection or an unexplained `Unavailable` (e.g. the sandbox was killed mid-command). Retrying will not help.
+ - `SandboxUnreachable*` — the sandbox is not confirmed stopped but cannot be reached: `502 "port is not open"`, other `502`s, or a connection failure whose health probe got no answer. The original error is the `cause` / `__cause__`.
+ - A connection failure whose health probe finds the sandbox running still raises the original transport error. The probe itself runs without connection retries.
+
+ **Breaking (JS):** `commands.run` / `connect`, `pty.create` / `connect` and `files.watchDir` on a gone sandbox now throw `SandboxNotRunningError` instead of `SandboxNotFoundError`, like every other call. `SandboxNotFoundError` is only raised by the control plane API.
+
+### Patch Changes
+
+- 8f51c9f: Share the sandbox create/connect/fork response mapping (JS and Python) and the Python `Commands.run` / `Commands.connect` handle setup
+- b3bb653: Remove the `E2B_USER_AGENT_SOURCE` environment variable. The SDKs no longer add a `source/<value>` User-Agent token, append `?source=` to Code Interpreter requests, or log trace IDs and add `(trace_id=…)` to error messages when it is set to `ci`, so SDK behavior no longer depends on that variable.
+
+ Code Interpreter errors for statuses other than 404 and 502 now use the same `<status> <reason>[: <body>]` message in JS and Python: JS includes the response body, and Python falls back to the reason phrase when the body is empty.
+
## 2.52.1
### Patch Changes
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index 9be1b2e99..6c610e6f7 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.52.1",
+ "version": "2.53.0",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
"postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
diff --git a/packages/python-sdk/pyproject.toml b/packages/python-sdk/pyproject.toml
index 57a71565b..5e4d243e1 100644
--- a/packages/python-sdk/pyproject.toml
+++ b/packages/python-sdk/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "e2b"
-version = "2.52.1"
+version = "2.53.0"
description = "E2B SDK that give agents cloud environments"
authors = [{ name = "e2b", email = "[email protected]" }]
license = "MIT"
diff --git a/packages/python-sdk/uv.lock b/packages/python-sdk/uv.lock
index 7c705173a..329de221b 100644
--- a/packages/python-sdk/uv.lock
+++ b/packages/python-sdk/uv.lock
@@ -180,7 +180,7 @@ wheels = [
[[package]]
name = "e2b"
-version = "2.52.1"
+version = "2.53.0"
source = { editable = "." }
dependencies = [
{ name = "attrs" },