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.

Upgrade sandbox instance type to standard-3

Run git clone in the background using executionCtx.waitUntil for both
record.repo and the provided repo to avoid blocking the request. Also
add
a console.log(repo) in the CLI start command

+41 -34
+1 -1
apps/cf-sandbox/deploy/amp/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/claude/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/codex/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/copilot/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/crush/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 }, 59 59 ], 60 60 "durable_objects": {
+1 -1
apps/cf-sandbox/deploy/docker/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/gemini/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/kilo/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/kiro/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/mise/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/nix/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/nullclaw/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/openclaw/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/opencode/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/opencrust/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/picoclaw/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/pkgx/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/wasmer/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+1 -1
apps/cf-sandbox/deploy/zeroclaw/wrangler.jsonc
··· 54 54 { 55 55 "class_name": "Sandbox", 56 56 "image": "./Dockerfile", 57 - "instance_type": "standard-2", 57 + "instance_type": "standard-3", 58 58 "max_instances": 20, 59 59 }, 60 60 ],
+21 -15
apps/cf-sandbox/src/index.ts
··· 303 303 return c.json({ error: "Sandbox provider not supported" }, 400); 304 304 } 305 305 306 + if (repo) { 307 + c.executionCtx.waitUntil( 308 + sandbox 309 + .clone(repo) 310 + .then(() => 311 + consola.success(`Git Repository successfully cloned: ${repo}`), 312 + ) 313 + .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)), 314 + ); 315 + } 316 + 306 317 await c.var.db 307 318 .update(sandboxes) 308 319 .set({ ··· 409 420 ]); 410 421 411 422 if (record.repo) { 412 - sandbox 413 - .clone(record.repo) 414 - .then(() => 415 - consola.success(`Git Repository successfully cloned: ${record.repo}`), 416 - ) 417 - .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)); 418 - } 419 - 420 - if (repo) { 421 - sandbox 422 - .clone(repo) 423 - .then(() => 424 - consola.success(`Git Repository successfully cloned: ${repo}`), 425 - ) 426 - .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)); 423 + c.executionCtx.waitUntil( 424 + sandbox 425 + .clone(record.repo) 426 + .then(() => 427 + consola.success( 428 + `Git Repository successfully cloned: ${record.repo}`, 429 + ), 430 + ) 431 + .catch((e) => consola.error(`Failed to Clone Repository: ${e}`)), 432 + ); 427 433 } 428 434 429 435 const previewUrls = await Promise.all(
+1
apps/cli/src/cmd/start.ts
··· 16 16 17 17 try { 18 18 const authToken = env.POCKETENV_TOKEN || token; 19 + console.log(repo); 19 20 20 21 await client.post( 21 22 "/xrpc/io.pocketenv.sandbox.startSandbox",