AGENT_WIRE_VERSION
constAGENT_WIRE_VERSION:1
Defined in: packages/protocol/src/lib/agent-wire.ts:25
Version of the agent wire contract that every AgentInput and
AgentEvent carries in its version field. An integer, not semver.
A new optional field on a member keeps the version, because decoders strip
keys they do not know. A new union member or enum value is rejected by an
older decoder as invalid_envelope, so such a change bumps the version.
The wire is unstable until the client event applier ships, and version
bumps apply from then on. Decoders reject any other version value.