Add example for Cloudflare Workers Containers sandbox adapter #335
astrobot-houston
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Add a standalone
examples/cloudflare-sandboxpackage showing how to run areal Linux container sandbox on Cloudflare through Flue's
cloudflareSandbox()adapter.
examples/cloudflaredemonstrates the@cloudflare/shellsandbox, whichexposes a JavaScript
codetool over a Workspace rather than a real shell.Its README already tells users who need bash, Linux tools, or mounted bucket
paths to reach for
@cloudflare/sandbox(Workers Containers) instead — butthere was no runnable example of that path. This adds one as a separate
package so the Containers requirement stays opt-in.
The smoke workflow runs with
model: falseand drives the sandbox onlythrough harness calls, so it exercises the adapter boundary deterministically,
without depending on model output.
Original implementation from #334 by @ghostwriternr
Beta Was this translation helpful? Give feedback.
All reactions