sandbox-agent/sdks/typescript
Nathan Flurry 35840facdd SDK: Add ensureServer() for automatic server recovery
Add ensureServer() to SandboxProvider interface to handle cases where the
sandbox-agent server stops or goes to sleep. The SDK now calls this method
after 3 consecutive health-check failures, allowing providers to restart the
server if needed. Most built-in providers (E2B, Daytona, Vercel, Modal,
ComputeSDK) implement this. Docker and Cloudflare manage server lifecycle
differently, and Local uses managed child processes.

Also update docs for quickstart, architecture, multiplayer, and session
persistence; mark persist-* packages as deprecated; and add ensureServer
implementations to all applicable providers.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-15 20:29:12 -07:00
..
scripts Configure lefthook formatter checks (#231) 2026-03-10 23:03:11 -07:00
src SDK: Add ensureServer() for automatic server recovery 2026-03-15 20:29:12 -07:00
tests Add Modal and ComputeSDK built-in providers, update examples and docs 2026-03-15 20:29:11 -07:00
package.json Add Modal and ComputeSDK built-in providers, update examples and docs 2026-03-15 20:29:11 -07:00
tsconfig.json feat: sync universal schema and sdk updates 2026-01-27 02:52:25 -08:00
tsup.config.ts Add Modal and ComputeSDK built-in providers, update examples and docs 2026-03-15 20:29:11 -07:00
vitest.config.ts SDK sandbox provisioning: built-in providers, docs restructure, and quickstart overhaul 2026-03-15 20:28:54 -07:00