Package overview
Choose by problem
Section titled “Choose by problem”| You need to… | Use | Runtime |
|---|---|---|
| Persist and retry background work | Durability | Durable Objects with SQLite |
| Add timeouts, retries, codecs, or context to RPC | DO Transforms | Durable Objects and WorkerEntrypoints |
| Synchronize browser state with a Durable Object | Client-side DO | Browser + Durable Objects |
| Install a complete sample runtime and client | Big Marge | Workers Registry + Durable Objects |
How they fit together
Section titled “How they fit together”The packages solve adjacent problems but do not require one another:
- Durability owns persisted operation scheduling inside a Durable Object.
- DO Transforms wraps native Cloudflare RPC calls at caller and callee boundaries.
- Client-side DO provides a WebSocket RPC protocol for browser clients, where native service-binding RPC is unavailable.
- Big Marge is a registry item family and reference integration, not a prerequisite for the other packages.
Package status
Section titled “Package status”The packages are currently workspace packages or registry items in the Shirei monorepo. Install workspace packages with workspace:* while developing in the monorepo. Public npm packaging is planned; do not assume the @repo/* names are available from the public npm registry yet.