Skip to main content

Module remote

Module remote 

Source
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.

Enums§

RemoteProtocolError

Constants§

REMOTE_PROTOCOL_VERSION

Functions§

ensure_protocol_version