Expand description
Client-side helpers for daemon-owned detachable PTY sessions (issue #130 milestone 2).
Sessions are spawned and listed via the regular DaemonClient RPC
channel. Attach is special: after the daemon responds with
AttachPtySessionResponse the same socket switches into a streaming
mode that carries PtyStreamFrame (daemon → client) and
PtyInputFrame (client → daemon) messages. PtyAttachment owns the
socket for the lifetime of that stream and exposes blocking
send/receive helpers suitable for tests and small clients. Async
clients can build on top of [DaemonClient::attach_pty_session_raw].
Structs§
- PtyAttachment
- Active attachment to a daemon-owned PTY session.
- PtySpawn
Request - Request shape for spawning a daemon-owned PTY session.
- Spawned
PtySession - Reply summary for a successful spawn.
Enums§
- Attach
Error - Errors specific to attach.