Skip to main content

Crate rushai_protocol

Crate rushai_protocol 

Source
Expand description

Wire types shared by the rushai engine and its frontends.

Frontends submit Ops; the engine emits Events. This seam is the only coupling between the two, so headless and TUI modes share one core.

Structs§

CallId
MessageId
PermissionRequest
A tool asking to perform an action it has no grant for.
RequestId
SessionId
TokenUsage

Enums§

Decision
Event
A state change emitted by the engine.
FinishReason
Op
A request submitted by a frontend to the engine.
Part
One part of a stored message.
PartDelta
An incremental update to a part under construction.
Role
UserPart
A user-authored input part.