yoi/crates/protocol
2026-06-02 22:23:13 +09:00
..
src fix: harden peer pod registration 2026-06-02 22:23:13 +09:00
Cargo.toml chore: 依存パッケージの集約 2026-05-01 23:35:46 +09:00
README.md docs: reorganize developer documentation 2026-06-01 20:59:32 +09:00

protocol

Role

protocol defines the JSONL message boundary between Pod clients and Pod servers.

Boundaries

Owns:

  • transport-neutral method/event/result types
  • request/reply and broadcast event shapes
  • protocol error categories shared by clients and servers

Does not own:

  • Unix socket implementation details (client, pod)
  • TUI rendering (tui)
  • Worker history semantics (llm-worker)
  • durable storage (session-store, pod-store)

Design notes

The exact enum variants are code authority. The README should describe the boundary, not duplicate every message shape.

Protocol events can inform UI and orchestration, but durable state changes still need to flow through Pod/session/metadata records.

See also