Cloudflare sandbox
Run the under-construction Cloudflare sandbox through a self-deployed Cloudflare Worker bridge.
export CLOUDFLARE_SANDBOX_URL="https://your-bridge.workers.dev"export CLOUDFLARE_SANDBOX_TOKEN="replace-me" # optional
mikan --sandbox=cloudflare:mikan-remote /path/to/workspaceFeatures:
- runtime commands use
/workspaceby default; override it withCLOUDFLARE_SANDBOX_CWD - mikan derives the remote sandbox id as
<base-sandbox-id>-<resource-key>, so each conversation addresses its own sandbox on the bridge - vault env is injected through the bridge on every
exec() - credentials are keyed by office key, the same conversation-scoped vault key
image:*uses
Limitations:
- mikan cannot enforce a workspace projection here, so the mode refuses to run under the default
isolateddoor policy; a trusted policy has to be chosen explicitly - remote
/workspacedoes not automatically mirror the local working directory - therefore
pwdshows/workspace, butlsmay be empty; this is expected and does not mean it is reading your local repo - file credentials are refused rather than skipped: if the conversation’s vault holds any file besides
env, the run fails withSandbox type "cloudflare" does not support vault file mounts. Keep credentials inenvhere. - container lifecycle, idle stop, resource limits, and
/pi-sandbox boostdo not apply - you must deploy the bridge Worker and corresponding container image yourself
You can use the example bridge directly: