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.

Enable encrypted ports for Modal sandbox

+6 -1
+6 -1
apps/modal-sandbox/src/providers/modal/index.ts
··· 10 10 nouns, 11 11 } from "unique-username-generator"; 12 12 13 + const PTY_PORT = 26661; 14 + export const VSCODE_PORT = 1024; 15 + 13 16 export class ModalSandbox implements BaseSandbox { 14 17 constructor(private sandbox: Sandbox) {} 15 18 ··· 157 160 options.image || "ghcr.io/pocketenv-io/modal-openclaw:0.1.0", 158 161 ); 159 162 consola.info("Creating Modal sandbox with app name:", modalAppName); 160 - const sandbox = await modal.sandboxes.create(app, image); 163 + const sandbox = await modal.sandboxes.create(app, image, { 164 + encryptedPorts: [PTY_PORT, VSCODE_PORT], 165 + }); 161 166 consola.info("Created Modal sandbox with ID:", sandbox.sandboxId); 162 167 163 168 return new ModalSandbox(sandbox);