Expand description
ertangle-protocol — daemon <-> client control interface.
Transport: Unix domain socket, newline-delimited JSON (one message per line).
Semantics: client sends Request, daemon replies with Frame (including event streams and snapshots).
This crate contains only wire types and codecs, with no I/O, making it easy to swap in TCP / JSON-RPC later.
Structs§
- Active
Tool - Currently executing tool or subagent.
- BgProc
- Remaining background child process.
- Model
Info - An available model option.
- Spawn
Request - Request to spawn a session.
Enums§
- Frame
- daemon -> client.
- Merge
Strategy - Strategy used when merging a worktree branch back into the main branch.
- Parent
Change - Parent session change during handoff.
- Request
- client -> daemon.
- Transport
- Transport mode used by a session.
Functions§
- decode_
line - Decode a single JSON line.
- encode_
line - Encode a message as a single JSON line (with trailing
\n).