@flue/sdk
2.3.1 · 18 Nov 2026Apache-2.0309.1k / weekRepositoryHomepagenpmAtom feed
Upgrading @flue/sdk From 0.6.2 to 0.7.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.7.0
Release by release
- Breaking
getVirtualSandbox()now throws with a migration message. The previous API described R2 as if it were mounted directly as the harness filesystem, but@cloudflare/shellWorkspaces are SQLite-indexed filesystems with optional R2 blob spillover; raw bucket keys uploaded outside Workspace were invisible. Migrate bucket-backed agents togetShellSandbox({ workspace, loader })plushydrateFromBucket(workspace, env.BUCKET)beforeinit(). If you used zero-arggetVirtualSandbox(), remove it and omitsandboxfrominit()to use Flue's default in-memory sandbox. - New
Cloudflare shell sandbox. Added
getShellSandbox({ workspace, loader }),getDefaultWorkspace(), andhydrateFromBucket()from@flue/runtime/cloudflare. The new sandbox wires@cloudflare/shellWorkspaces into Flue through a codemodecodetool backed by a Worker Loader binding. Agents usestate.*inside thecodetool instead of bash/read/write/grep/glob. Use@cloudflare/shelldirectly for primitives likeWorkspace,WorkspaceFileSystem, andcreateGit.
- Breaking
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.