Skip to content

EveProtocol

NexusLabs.Eve

EveProtocol Class

Identifies the eve protocol revision implemented by this package.

public static class EveProtocol

Inheritance System.Object → EveProtocol

Fields

EveProtocol.MessageStreamContentType Field

Gets the media type returned by eve session streams.

public const string MessageStreamContentType = "application/x-ndjson";

Field Value

System.String

EveProtocol.MessageStreamVersion Field

Gets the durable message-stream protocol version used by the reference client.

public const string MessageStreamVersion = "22";

Field Value

System.String

Remarks

This mirrors upstream's EVE_MESSAGE_STREAM_VERSION in packages/eve/src/protocol/message.ts. Read that constant when advancing the baseline; the value does not follow from whether the event vocabulary changed. eve 0.35.0 raised it to 22 while adding no event type and removing none.

EveProtocol.MinimumEveVersion Field

Gets the oldest eve release this package can talk to.

public const string MinimumEveVersion = "0.31.0";

Field Value

System.String

Remarks

eve 0.31.0 moved session control operations to identifier-addressed routes and removed continuation tokens from the client protocol. Those routes do not exist on an earlier server, so this package cannot be used against one. Use 0.1.0-alpha.3 for an eve 0.29.x or 0.30.x agent.

EveProtocol.ReferenceEveVersion Field

Gets the upstream TypeScript package version used as the compatibility reference.

public const string ReferenceEveVersion = "0.35.0";

Field Value

System.String

EveProtocol.SessionIdHeaderName Field

Gets the response header that carries the assigned eve session identifier.

public const string SessionIdHeaderName = "x-eve-session-id";

Field Value

System.String

EveProtocol.VercelTrustedOidcTokenHeaderName Field

Gets the Vercel header used to present a trusted OIDC identity-provider token.

public const string VercelTrustedOidcTokenHeaderName = "x-vercel-trusted-oidc-idp-token";

Field Value

System.String

Properties

EveProtocol.SupportedAgentInfoVersions Property

Gets the agent-info payload schema versions this package understands.

public static System.Collections.Generic.IReadOnlyList<int> SupportedAgentInfoVersions { get; }

Property Value

System.Collections.Generic.IReadOnlyList<System.Int32>

Remarks

eve raised the schema to 2 in 0.35.0, where static instructions became a list whose entries carry content and a system or user role. Both versions expose the identity fields this package projects, and the complete payload of either remains available through Raw. A version outside this set is rejected rather than parsed optimistically.