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.

at main 16 lines 412 B view raw
1import consola from "consola"; 2import { Sandbox } from "@pocketenv/sdk"; 3import { configureSdk } from "../lib/sdk"; 4 5async function deleteSandbox(id: string) { 6 await configureSdk(); 7 try { 8 const sandbox = await Sandbox.get(id); 9 await sandbox.delete(); 10 consola.success("Sandbox deleted successfully"); 11 } catch { 12 consola.error("Failed to delete sandbox"); 13 } 14} 15 16export default deleteSandbox;