Repository navigation
v0.7.0
[0.7.0] - 2026-04-12
Added
- Modal sandbox provider: Full support for Modal as a sandbox provider.
- Modal sandbox creation, management, and PTY/SSH sessions.
- Pre-built Modal Docker images with
pty-tunnel-serverand npm/bun toolchains. - CI integration:
modal-sandboxtests run in GitHub Actions with Bun.
- E2B sandbox provider: Full support for E2B as a sandbox provider.
- E2B authentication via
E2B_API_KEYenvironment variable (replaces formere2bAccessToken). pocketenv sandbox create --provider e2bwith configurable default CPU/memory resources.- PTY and SSH sessions for E2B sandboxes.
- E2B authentication via
- WebSocket support for SSH/TTY/PTY sessions: Terminal sessions now upgrade to WebSocket connections, centralizing upgrade handling across all providers.
- Cloudflare R2 mounts via tigrisfs: Sandbox mounts now use tigrisfs (pinned to v1.2.1) for Cloudflare R2-backed storage, replacing direct FUSE mounting.
- FUSE support in Vercel sandbox: Vercel sandboxes now install and load the FUSE kernel module to support tigrisfs mounts.
Changed
- E2B API key renamed:
e2bAccessToken/e2bAccessTokenRedactedfields renamed toe2bApiKey/e2bApiKeyRedactedthroughout schema and helpers. - Preset YAMLs loaded at runtime: Preset YAML files are now loaded dynamically at runtime instead of being bundled as static imports, reducing build size.
- Production builds minified with source maps: Build output is now minified with source maps enabled for production.
- PTY session handling refactored: PTY/SSH logic extracted into the Vercel module for reuse across Modal and E2B providers.
- Parallelized output reads and background mounts: Sandbox output reads and mount operations now run concurrently for faster startup.
- Use bash for sandbox PTY: Sandbox PTY sessions now use
bashinstead ofshfor a better interactive experience. - sandboxId handling for Modal/E2B: Modal and E2B sandboxes follow the same
sandboxIdlifecycle as Deno Deploy — cleared on stop, always set fromsandbox.id.
Fixed
- Sandbox recovery on ID fetch failure: If fetching an existing sandbox by ID fails, a new sandbox is created automatically as a fallback.
- PUBLIC_KEY / PRIVATE_KEY validation: Decrypt helpers now validate that both keys are present before attempting decryption.
Full Changelog: v0.6.9...v0.7.0