sandbox-agent/sdks/typescript
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
..
scripts Configure lefthook formatter checks (#231) 2026-03-10 23:03:11 -07:00
src feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle 2026-03-16 14:57:49 -07:00
tests feat: add E2B auto-pause support with pause/kill/reconnect provider lifecycle 2026-03-16 14:57:49 -07:00
package.json chore(release): update version to 0.4.0 2026-03-16 00:48:05 -07:00
tsconfig.json feat: sync universal schema and sdk updates 2026-01-27 02:52:25 -08:00
tsup.config.ts SDK: Add ensureServer() for automatic server recovery (#260) 2026-03-15 20:29:28 -07:00
vitest.config.ts SDK: Add ensureServer() for automatic server recovery (#260) 2026-03-15 20:29:28 -07:00