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.

Start existing sandbox when reused

+17
+17
apps/api/src/xrpc/io/pocketenv/sandbox/createSandbox.ts
··· 45 45 ) 46 46 .execute(); 47 47 if (existingSandbox) { 48 + const sandbox = 49 + existingSandbox.sandboxes.provider === Providers.CLOUDFLARE 50 + ? ctx.cfsandbox(existingSandbox.sandboxes.base!) 51 + : ctx.sandbox(); 52 + 53 + await sandbox.post( 54 + `/v1/sandboxes/${existingSandbox.sandboxes.id}/start`, 55 + { 56 + repo: input.repo, 57 + keepAlive: input.keepAlive, 58 + }, 59 + { 60 + headers: { 61 + Authorization: `Bearer ${await generateJwt(auth.credentials.did)}`, 62 + }, 63 + }, 64 + ); 48 65 return { 49 66 id: existingSandbox.sandboxes.id, 50 67 name: existingSandbox.sandboxes.name,