colmugx/acp/client/protocol does not have a README file

    ClientProtocolError

    pub(all) suberror ClientProtocolError {
    NotReady(method_name~ : String)
    AlreadyReady
    CapabilityDenied(method_name~ : String, capability~ : String)
    } derive(Eq,
    Debug
    )

    Explicit failures from Client protocol readiness and capability gates.

    ClientProtocolCommand

    Commands emitted for the runtime or endpoint adapter. They are data only; no async operation, task, or side effect is started by this reducer.

    ClientProtocolEvent

    Events accepted by the pure Client-side reducer.

    ClientProtocolPhase

    pub(all) enum ClientProtocolPhase {
    AwaitingReady
    Ready
    } derive(Eq,
    Debug
    )

    The phase of the Client-side protocol lifecycle.

    ClientProtocolState

    Immutable Client-side state after capability negotiation data is known.

    The capability field remains nullable so an omitted or explicit null clientCapabilities value cannot be mistaken for an enabled capability.

    ClientProtocolStep

    pub(all) struct ClientProtocolStep {
    state : ClientProtocolState
    commands : Array[ClientProtocolCommand]
    } derive(Eq,
    Debug
    )

    State and commands produced by one Client reducer step.

    client_protocol_reduce

    fn client_protocol_reduce(state : ClientProtocolState, event : ClientProtocolEvent) -> ClientProtocolStep raise ClientProtocolError

    Reduce one Client protocol event without performing I/O or changing any external task state.

    client_protocol_state_new

    Construct a Client state that has negotiated capability data but is not yet ready to receive Agent business traffic.

    client_protocol_state_ready

    Construct a ready Client state when the caller has already completed the initialize exchange.

    Source Files