Skip to content

armgit / E2B

Public Imported from GitHub
0

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

9.1 KB
Raw Blame

@e2b/cli

2.22.3

Patch Changes

  • a398b08: e2b sandbox connect/create send terminal input over a single persistent stream instead of one request per 10ms batch
  • Updated dependencies [3c4c7cf]

2.22.2

Patch Changes

  • b8afc34: Bundle @e2b/dockerfile-utils from source so the CLI build no longer races with concurrent workspace package rebuilds during release

2.22.1

Patch Changes

  • 999782e: Share the process kill implementation between commands and PTY, share the CLI --language option parser between template init and template migrate, and drop unused internal exports
  • Updated dependencies [a1ad326]
  • Updated dependencies [9f4a9ef]
  • Updated dependencies [999782e]

2.22.0

Minor Changes

  • 6a74c39: Require Node.js 22.19.0 or newer and depend on undici@^8 only (undici 7 is dropped).

    • undici 8 respects the server's HTTP/2 SETTINGS_MAX_CONCURRENT_STREAMS and opens more connections when one is saturated.
    • Breaking: the SDK-level in-flight request cap is removed, along with the E2B_API_INFLIGHT_REQUESTS, E2B_ENVD_INFLIGHT_REQUESTS and E2B_ENVD_RPC_INFLIGHT_REQUESTS env vars. Concurrency is governed by undici's connection pools (E2B_API_CONNECTIONS, E2B_ENVD_RPC_CONNECTIONS).
  • 73a784d: Require Node.js 22 or newer (Node.js 20 is no longer supported).

Patch Changes

2.21.2

Patch Changes

  • 001406c: Bump handlebars to 4.7.10 to fix CVE-2026-106446 and CVE-2026-106445 (critical) and CVE-2026-106444 (moderate).
  • Updated dependencies [b52cd30]
  • Updated dependencies [0894595]

2.21.1

Patch Changes

  • 4813482: Bump dependency floors: undici ^7.29.1 → ^7.30.0 and optional undici8 8.10.2 → 8.11.2 (backported HTTP/2 WebSocket, decompression backpressure and aborted-request fixes), compare-versions ^6.1.0 → ^6.1.1 in e2b, and inquirer ^12.10.0 → ^12.11.1 in @e2b/cli.
  • Updated dependencies [cc29617]
  • Updated dependencies [3ba1d05]
  • Updated dependencies [4813482]
  • Updated dependencies [d0ed5c1]

2.21.0

Minor Changes

  • 2de0cc3: Cap sandbox fork count at 20. e2b sandbox fork --count, JavaScript Sandbox.fork({ count }), and Python Sandbox.fork(count=...) reject a count outside 1–20 before the API call. Counts from 21 through 100 used to reach the API. Omitting count still leaves the field off the request so the API default applies.

Patch Changes

  • 8c7e5cb: Update the protobuf and OpenAPI clients, terminal styling, and interactive prompts to compatible minor releases.
  • Updated dependencies [2de0cc3]
  • Updated dependencies [03887ad]
  • Updated dependencies [2f92cc3]
  • Updated dependencies [8c7e5cb]
  • Updated dependencies [97522f8]
  • Updated dependencies [8c7e5cb]
  • Updated dependencies [4975149]

2.20.0

Minor Changes

  • 6a608ef: Add e2b sandbox fork command to fork a running sandbox into one or more new sandboxes

2.19.1

Patch Changes

  • 5b015ad: Removed the hidden e2b template build command (alias bd). It printed a V1 deprecation notice and exited 1; the V1 build system it fronted is gone from the API. A script still calling it now gets commander's unknown-command error with the same exit code. Build templates with e2b template create or the Template SDK; e2b template migrate still converts a V1 project (see https://e2b.dev/docs/template/migration-v2).
  • Updated dependencies [956e3ab]
  • Updated dependencies [e1fbe86]
  • Updated dependencies [80496c0]
  • Updated dependencies [5b015ad]
  • Updated dependencies [80496c0]
  • Updated dependencies [e1fbe86]

2.19.0

Minor Changes

  • f842aa8: Expose a configurable minimum free-disk target with minFreeDiskMb in JavaScript, min_free_disk_mb in Python, and --min-free-disk-mb in template create. Omission uses the team default, while explicit zero requests no minimum growth. Growth is best effort and never shrinks an existing filesystem.

Patch Changes

2.18.2

Patch Changes

  • b8b4323: Skip the update check when the NO_UPDATE_NOTIFIER environment variable is set, so system package managers (for example Nix) can install the CLI without it suggesting updates they cannot apply. Help output now always names the program e2b instead of echoing the entrypoint file name.
  • Updated dependencies [08efa36]
  • Updated dependencies [6b759bf]
  • Updated dependencies [58c81f1]

2.18.1

Patch Changes

  • 3289fdc: Remove unused CLI formatting helpers and de-duplicate internal constants
  • Updated dependencies [cd921aa]
  • Updated dependencies [1980d6b]
  • Updated dependencies [043d050]
  • Updated dependencies [3289fdc]

2.18.0

Minor Changes

  • 3b599b8: Stop reading e2b.toml in sandbox create, template delete and template publish/unpublish, and remove their --config and --path options. Templates must now be passed as an argument or picked interactively with -s. template migrate is unchanged and remains the only command that reads e2b.toml.

Patch Changes

  • 587c15f: Pass flags following the command in e2b sandbox exec to the remote command instead of parsing them as CLI options
  • 8943d6f: Update runtime dependencies: tar 7.5.22 and @bufbuild/protobuf 2.14.0 in the JS SDK, statuses 2.0.2, async-listen 3.1.0 and yup 1.7.1 in the CLI. No behavior change.
  • 3202fad: e2b sandbox create --detach now prints only the sandbox ID to stdout; the dashboard inspect link and other informational output go to stderr so the ID is easily parseable (e.g. SBX=$(e2b sandbox create -d)).
  • 182b498: Point the README documentation links at docs.e2b.dev instead of e2b.dev/docs. The docs site moved to its own subdomain and has no /docs path prefix there, so e2b.dev/docs serves a 308 to docs.e2b.dev/ and e2b.dev/docs/code-interpreting maps to docs.e2b.dev/code-interpreting. The UTM parameters are unchanged and survived the redirect, so this removes a redirect hop rather than fixing broken attribution.
  • Updated dependencies [67c06e0]
  • Updated dependencies [8943d6f]
  • Updated dependencies [182b498]
  • Updated dependencies [b802997]
  • Updated dependencies [9d1c90d]

2.17.1

Patch Changes

  • f69a9c0: e2b sandbox list --format json now applies the same start-time sorting as the pretty table output (ascending by default, respecting --order).
  • bc14dd0: Render CLI tables in kubectl style: uppercase headers, space-aligned columns, no borders or titles

2.17.0

Minor Changes

  • b53deac: Add e2b sandbox snapshot commands: create <sandboxID> (with optional --name) to create a snapshot from a sandbox, list [sandboxID] (with optional --name filter and --format json) to list snapshots, and delete <snapshotIDs...> to delete snapshots.
  • 8787dfe: Add sorting and new filters to Sandbox.list. The order option ('asc' / 'desc', default 'desc') sorts sandboxes by start time across the whole paginated dataset, and the query now supports startedAfter / started_after (inclusive lower bound on start time) and template (exact template ID or alias) filters, all applied server-side before pagination. The CLI e2b sandbox list command exposes these via --order, --started-after, and --template.

Patch Changes

2.16.3

Patch Changes

  • 2daced6: Tag the package homepage and README links with UTM parameters (utm_source=npm/pypi) so registry traffic to e2b.dev is attributed correctly. No functional change.
  • Updated dependencies [15bd48b]
  • Updated dependencies [5367693]
  • Updated dependencies [7af41e9]
  • Updated dependencies [2daced6]

2.16.2

Patch Changes

  • 65cd85d: Remove the E2B_ACCESS_TOKEN auth path. Authentication moved to Hydra OAuth, so the CLI no longer reads an access token — from the environment or from ~/.e2b/config.json — to authorize API requests. The API key alone scopes every endpoint the CLI calls, and e2b auth login / e2b auth configure build their own clients with Hydra JWTs.
  • Updated dependencies [6248b12]

2.16.1

Patch Changes

  • 9e3e52b: Add --user, --cwd, and --env flags to e2b sandbox create (and the deprecated spawn alias) and e2b sandbox connect. These are forwarded to the underlying PTY session so the connected terminal starts as the given user, in the given working directory, and with the given environment variables. --env accepts repeatable KEY=VALUE pairs.
  • 2c061eb: Point the --project flag help at the dashboard's ?tab=general entrypoint (was ?tab=team)
  • 05b7a79: Depend on e2b through pnpm's workspace:^ protocol instead of a registry range. pnpm publish rewrites it to the same concrete ^<version> it had before, so the published package is unchanged — but the lockfile no longer has to be re-resolved against the tarballs a release uploads, which is what forced the release tags onto the commit before their own version bump.
  • Updated dependencies [6733f36]
  • Updated dependencies [1ebe925]
  • Updated dependencies [1504fbc]
  • Updated dependencies [ee0ad25]