the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add mise and pkgx deploy targets

Include mise and pkgx in the GitHub Actions matrix
Add Dockerfiles and Wrangler configs under
apps/cf-sandbox/deploy/{mise,pkgx}
Copy Cloudflare sandbox into the nix image, expose ports 8080/3000 and
set
ENTRYPOINT for sandbox containers

+233
+2
.github/workflows/deploy.yml
··· 21 21 crush, 22 22 docker, 23 23 gemini, 24 + mise, 24 25 kilo, 25 26 kiro, 26 27 nix, 28 + pkgx, 27 29 openclaw, 28 30 opencode, 29 31 ]
+8
apps/cf-sandbox/deploy/mise/Dockerfile
··· 1 + FROM jdxcode/mise:latest 2 + 3 + COPY --from=docker.io/cloudflare/sandbox:0.7.5 /container-server/sandbox /sandbox 4 + 5 + EXPOSE 8080 6 + EXPOSE 3000/tcp 7 + 8 + ENTRYPOINT ["/sandbox"]
+104
apps/cf-sandbox/deploy/mise/wrangler.jsonc
··· 1 + /** 2 + * For more details on how to configure Wrangler, refer to: 3 + * https://developers.cloudflare.com/workers/wrangler/configuration/ 4 + */ 5 + /** 6 + * For more details on how to configure Wrangler, refer to: 7 + * https://developers.cloudflare.com/workers/wrangler/configuration/ 8 + */ 9 + { 10 + "$schema": "node_modules/wrangler/config-schema.json", 11 + "name": "mise", 12 + "main": "src/index.ts", 13 + "compatibility_date": "2025-05-06", 14 + "compatibility_flags": ["nodejs_compat"], 15 + "observability": { 16 + "enabled": true, 17 + }, 18 + /** 19 + * Smart Placement 20 + * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 21 + */ 22 + // "placement": { "mode": "smart" } 23 + /** 24 + * Bindings 25 + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 26 + * databases, object storage, AI inference, real-time communication and more. 27 + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 28 + */ 29 + /** 30 + * Environment Variables 31 + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 32 + */ 33 + // "vars": { "MY_VARIABLE": "production_value" } 34 + "vars": { "SANDBOX_TRANSPORT": "websocket" }, 35 + /** 36 + * Note: Use secrets to store sensitive data. 37 + * https://developers.cloudflare.com/workers/configuration/secrets/ 38 + */ 39 + /** 40 + * Static Assets 41 + * https://developers.cloudflare.com/workers/static-assets/binding/ 42 + */ 43 + // "assets": { "directory": "./public/", "binding": "ASSETS" } 44 + /** 45 + * Service Bindings (communicate between multiple Workers) 46 + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 47 + */ 48 + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] 49 + "containers": [ 50 + { 51 + "class_name": "Sandbox", 52 + "image": "./Dockerfile", 53 + "instance_type": "standard-1", 54 + }, 55 + ], 56 + "durable_objects": { 57 + "bindings": [ 58 + { 59 + "class_name": "Sandbox", 60 + "name": "Sandbox", 61 + }, 62 + ], 63 + }, 64 + "migrations": [ 65 + { 66 + "new_sqlite_classes": ["Sandbox"], 67 + "tag": "v1", 68 + }, 69 + ], 70 + "hyperdrive": [ 71 + { 72 + "binding": "HYPERDRIVE", 73 + "id": "45a57339b01e45559b753ffcacbc20e4", 74 + }, 75 + ], 76 + /** 77 + * Smart Placement 78 + * https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 79 + */ 80 + // "placement": { "mode": "smart" } 81 + /** 82 + * Bindings 83 + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 84 + * databases, object storage, AI inference, real-time communication and more. 85 + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 86 + */ 87 + /** 88 + * Environment Variables 89 + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 90 + * Note: Use secrets to store sensitive data. 91 + * https://developers.cloudflare.com/workers/configuration/secrets/ 92 + */ 93 + // "vars": { "MY_VARIABLE": "production_value" } 94 + /** 95 + * Static Assets 96 + * https://developers.cloudflare.com/workers/static-assets/binding/ 97 + */ 98 + // "assets": { "directory": "./public/", "binding": "ASSETS" } 99 + /** 100 + * Service Bindings (communicate between multiple Workers) 101 + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 102 + */ 103 + // "services": [ { "binding": "MY_SERVICE", "service": "my-service" } ] 104 + }
+7
apps/cf-sandbox/deploy/nix/Dockerfile
··· 1 1 FROM ubuntu:latest 2 2 3 + COPY --from=docker.io/cloudflare/sandbox:0.7.5 /container-server/sandbox /sandbox 4 + 3 5 RUN apt-get update -y 4 6 5 7 RUN apt-get install curl git -y ··· 21 23 'github:flox/flox/latest' 22 24 23 25 RUN nix profile add nixpkgs#devenv 26 + 27 + EXPOSE 8080 28 + EXPOSE 3000/tcp 29 + 30 + ENTRYPOINT ["/sandbox"]
+8
apps/cf-sandbox/deploy/pkgx/Dockerfile
··· 1 + FROM pkgxdev/pkgx:latest 2 + 3 + COPY --from=docker.io/cloudflare/sandbox:0.7.5 /container-server/sandbox /sandbox 4 + 5 + EXPOSE 8080 6 + EXPOSE 3000/tcp 7 + 8 + ENTRYPOINT ["/sandbox"]
+104
apps/cf-sandbox/deploy/pkgx/wrangler.jsonc
··· 1 + /** 2 + * For more details on how to configure Wrangler, refer to: 3 + * https://developers.cloudflare.com/workers/wrangler/configuration/ 4 + */ 5 + /** 6 + * For more details on how to configure Wrangler, refer to: 7 + * https://developers.cloudflare.com/workers/wrangler/configuration/ 8 + */ 9 + { 10 + "$schema": "node_modules/wrangler/config-schema.json", 11 + "name": "pkgx", 12 + "main": "src/index.ts", 13 + "compatibility_date": "2025-05-06", 14 + "compatibility_flags": ["nodejs_compat"], 15 + "observability": { 16 + "enabled": true, 17 + }, 18 + /** 19 + * Smart Placement 20 + * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 21 + */ 22 + // "placement": { "mode": "smart" } 23 + /** 24 + * Bindings 25 + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 26 + * databases, object storage, AI inference, real-time communication and more. 27 + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 28 + */ 29 + /** 30 + * Environment Variables 31 + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 32 + */ 33 + // "vars": { "MY_VARIABLE": "production_value" } 34 + "vars": { "SANDBOX_TRANSPORT": "websocket" }, 35 + /** 36 + * Note: Use secrets to store sensitive data. 37 + * https://developers.cloudflare.com/workers/configuration/secrets/ 38 + */ 39 + /** 40 + * Static Assets 41 + * https://developers.cloudflare.com/workers/static-assets/binding/ 42 + */ 43 + // "assets": { "directory": "./public/", "binding": "ASSETS" } 44 + /** 45 + * Service Bindings (communicate between multiple Workers) 46 + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 47 + */ 48 + // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] 49 + "containers": [ 50 + { 51 + "class_name": "Sandbox", 52 + "image": "./Dockerfile", 53 + "instance_type": "standard-1", 54 + }, 55 + ], 56 + "durable_objects": { 57 + "bindings": [ 58 + { 59 + "class_name": "Sandbox", 60 + "name": "Sandbox", 61 + }, 62 + ], 63 + }, 64 + "migrations": [ 65 + { 66 + "new_sqlite_classes": ["Sandbox"], 67 + "tag": "v1", 68 + }, 69 + ], 70 + "hyperdrive": [ 71 + { 72 + "binding": "HYPERDRIVE", 73 + "id": "45a57339b01e45559b753ffcacbc20e4", 74 + }, 75 + ], 76 + /** 77 + * Smart Placement 78 + * https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement 79 + */ 80 + // "placement": { "mode": "smart" } 81 + /** 82 + * Bindings 83 + * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including 84 + * databases, object storage, AI inference, real-time communication and more. 85 + * https://developers.cloudflare.com/workers/runtime-apis/bindings/ 86 + */ 87 + /** 88 + * Environment Variables 89 + * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables 90 + * Note: Use secrets to store sensitive data. 91 + * https://developers.cloudflare.com/workers/configuration/secrets/ 92 + */ 93 + // "vars": { "MY_VARIABLE": "production_value" } 94 + /** 95 + * Static Assets 96 + * https://developers.cloudflare.com/workers/static-assets/binding/ 97 + */ 98 + // "assets": { "directory": "./public/", "binding": "ASSETS" } 99 + /** 100 + * Service Bindings (communicate between multiple Workers) 101 + * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings 102 + */ 103 + // "services": [ { "binding": "MY_SERVICE", "service": "my-service" } ] 104 + }