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.

Set sandboxId earlier and drop debug log

+1 -3
+1 -3
apps/api/src/ssh/index.ts
··· 19 19 router.use(express.json()); 20 20 21 21 router.use((req, res, next) => { 22 + req.sandboxId = req.headers["x-sandbox-id"] as string | undefined; 22 23 const authHeader = req.headers.authorization; 23 24 const bearer = authHeader?.split("Bearer ")[1]?.trim(); 24 25 if (bearer && bearer !== "null") { ··· 28 29 }) as { did: string }; 29 30 30 31 req.did = credentials.did; 31 - req.sandboxId = req.headers["x-sandbox-id"] as string | undefined; 32 32 } catch (err) { 33 33 consola.error("Invalid JWT token:", err); 34 34 } ··· 56 56 }), 57 57 }, 58 58 }); 59 - 60 - console.log(ssh); 61 59 62 60 const client = new Client(); 63 61