sandbox-agent/sdks/persist-rivet
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
..
src SDK: Add ensureServer() for automatic server recovery 2026-03-15 20:29:12 -07:00
package.json SDK: Add ensureServer() for automatic server recovery 2026-03-15 20:29:12 -07:00
README.md SDK: Add ensureServer() for automatic server recovery 2026-03-15 20:29:12 -07:00
tsconfig.json chore: fix bad merge 2026-02-11 07:57:02 -08:00
tsup.config.ts chore: fix bad merge 2026-02-11 07:57:02 -08:00

@sandbox-agent/persist-rivet

Deprecated: This package has been deprecated and removed.

Copy the driver source into your project. See the multiplayer docs and the session persistence docs for guidance.