A terminal is a opened inside the machine, with stdin/stdout streamed to your client over a WebSocket. The machine wakes if it was sleeping.Documentation Index
Fetch the complete documentation index at: https://docs.dedaluslabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Parameters
The machine where the terminal opens.
Initial terminal width in columns.
Initial terminal height in rows.
Shell to start inside the PTY.
Working directory for the shell.
Extra environment variables for the shell.
Wire protocol
| Direction | Frame | Payload |
|---|---|---|
| Client → server | Binary | Raw bytes written to the shell’s stdin (keystrokes, paste, etc.) |
| Client → server | Text (JSON) | {"cols": 100, "rows": 30} to resize the PTY |
| Server → client | Binary | Raw bytes from the shell’s stdout/stderr (ANSI escapes intact) |
| Server → client | Close | Shell exited or session expired |
