Packages

@cloudflare/sandbox

1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.7.5

20 Feb 2026Where it was published

0.12.14 is the newest release of 0.7.x.

In short

2 new

Release note

Patch Changes

  • Add backup and restore API for directory snapshots.

    createBackup() archives a directory as a compressed squashfs image and uploads it to R2.
    restoreBackup() downloads and mounts the archive with copy-on-write semantics via FUSE overlay.

    Requires R2 presigned URL credentials: set R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY,
    CLOUDFLARE_ACCOUNT_ID, and BACKUP_BUCKET_NAME as environment variables alongside the
    BACKUP_BUCKET R2 binding. Archives transfer directly between the container and R2
    at ~24 MB/s upload / ~93 MB/s download.

  • Add proxyToOpencodeServer() to proxy requests directly to a running OpenCode server without web UI redirect behavior. Use this helper for headless API and CLI traffic where raw request forwarding is preferred.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.