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 20 lines 434 B view raw
1import os from "node:os"; 2import path from "node:path"; 3import fs from "node:fs/promises"; 4import consola from "consola"; 5 6async function logout() { 7 const tokenPath = path.join(os.homedir(), ".pocketenv", "token.json"); 8 9 try { 10 await fs.access(tokenPath); 11 } catch { 12 consola.log("Logged out successfully"); 13 return; 14 } 15 16 await fs.unlink(tokenPath); 17 consola.log("Logged out successfully"); 18} 19 20export default logout;