Expand description
Wire-format DTOs for driving lash across a process boundary, sub-namespaced
by protocol domain. Only the cross-cutting handshake
(REMOTE_PROTOCOL_VERSION,
ensure_protocol_version) and the
protocol error type live at this root; everything else has exactly one
home in a domain sub-namespace.
Modules§
- llm
- LLM request/response envelopes: messages, attachments, tool specs, output specs, and provider metadata.
- observations
- Session observation: cursors, resumable observation events, and live replay gaps.
- processes
- Process lifecycle envelopes: start/cancel/signal/await/list requests and results, process records, event semantics, and execution environments.
- prompt
- Prompt-layer envelopes: templates, slots, and contributions.
- tools
- Tool grants and the remote tool-registry contract.
- triggers
- Trigger envelopes: occurrence emission, subscriptions, and registrations.
- turn_
input - Turn input envelopes: items, per-turn protocol options, and the turn request.
- turn_
result - Turn result envelopes: outcomes, stops, assistant output, summaries, issues, and causal references.
- usage
- Token usage accounting and the streaming turn-activity vocabulary.