Skip to content

EveSessionState

NexusLabs.Eve

EveSessionState Class

Stores the serializable cursor required to resume an eve conversation and stream.

public sealed record EveSessionState : System.IEquatable<NexusLabs.Eve.EveSessionState>

Inheritance System.Object → EveSessionState

Implements System.IEquatable<EveSessionState>

Remarks

eve 0.31.0 removed continuation tokens from the client protocol. A session is identified only by its immutable SessionId, which the handle retains across terminal events so a completed or failed conversation stays inspectable and streamable.

Properties

EveSessionState.SessionId Property

Gets the runtime-owned identifier used for turns, controls, streaming, and inspection. A null value means no turn has been sent, so the session does not exist remotely yet.

public string? SessionId { get; init; }

Property Value

System.String

EveSessionState.StreamIndex Property

Gets the absolute number of stream events already consumed.

public int StreamIndex { get; init; }

Property Value

System.Int32