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 29 lines 644 B view raw
1import SSHTerminal from "./Terminal"; 2import CloudflareTerminal from "./CloudflareTerminal"; 3import TtyTerminal from "./TtyTerminal"; 4 5type TerminalProps = { 6 sandboxId: string; 7 onClose: () => void; 8 worker: string; 9 isCloudflare?: boolean; 10 isTty?: boolean; 11 pty?: boolean; 12}; 13 14function Terminal(props: TerminalProps) { 15 const { isCloudflare, isTty } = props; 16 return ( 17 <> 18 {isCloudflare ? ( 19 <CloudflareTerminal {...props} /*initialCommand="banner.sh || true"*/ /> 20 ) : isTty ? ( 21 <TtyTerminal {...props} /> 22 ) : ( 23 <SSHTerminal {...props} /> 24 )} 25 </> 26 ); 27} 28 29export default Terminal;