sandbox-agent/examples/vercel
Nathan Flurry 77c8f1e3f3 feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle
Add `pause()`, `kill()`, and `reconnect()` methods to the SandboxProvider interface so providers can support graceful suspension and permanent deletion as distinct operations. The E2B provider now uses `betaCreate` with `autoPause: true` by default, `betaPause()` for suspension, and surfaces `SandboxDestroyedError` on reconnect to a deleted sandbox. SDK exposes `pauseSandbox()` and `killSandbox()` alongside the existing `destroySandbox()`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:57:49 -07:00
..
src feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle 2026-03-16 14:57:49 -07:00
tests Configure lefthook formatter checks (#231) 2026-03-10 23:03:11 -07:00
.gitignore chore: update examples to use bypass permissions and remove inspect.sandboxagent.dev (#51) 2026-02-01 23:25:43 -08:00
package.json docs: add mcp and skill session config (#106) 2026-02-09 10:13:25 +00:00
tsconfig.json Configure lefthook formatter checks (#231) 2026-03-10 23:03:11 -07:00