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.

Validate sandbox is running before file ops

Return 400 XRPCError "Sandbox is not running" when sandbox status
is not RUNNING in pullDirectory and pushDirectory handlers.

+8
+4
apps/api/src/xrpc/io/pocketenv/sandbox/pullDirectory.ts
··· 34 34 throw new XRPCError(404, "Sandbox not found"); 35 35 } 36 36 37 + if (record.sandboxes.status !== "RUNNING") { 38 + throw new XRPCError(400, "Sandbox is not running"); 39 + } 40 + 37 41 const sandbox = 38 42 record.sandboxes.provider === Providers.CLOUDFLARE 39 43 ? ctx.cfsandbox(record.sandboxes.base!)
+4
apps/api/src/xrpc/io/pocketenv/sandbox/pushDirectory.ts
··· 34 34 throw new XRPCError(404, "Sandbox not found"); 35 35 } 36 36 37 + if (record.sandboxes.status !== "RUNNING") { 38 + throw new XRPCError(400, "Sandbox is not running"); 39 + } 40 + 37 41 const sandbox = 38 42 record.sandboxes.provider === Providers.CLOUDFLARE 39 43 ? ctx.cfsandbox(record.sandboxes.base!)