sandbox-agent/sdks/typescript/tests
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
..
helpers Configure lefthook formatter checks (#231) 2026-03-10 23:03:11 -07:00
integration.test.ts SDK: Add ensureServer() for automatic server recovery (#260) 2026-03-15 20:29:28 -07:00
provider-lifecycle.test.ts feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle 2026-03-16 14:57:49 -07:00
providers.test.ts feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle 2026-03-16 14:57:49 -07:00