AGENT_WIRE_VERSION
constAGENT_WIRE_VERSION:1
Defined in: packages/protocol/src/lib/agent-wire.ts:27
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, so version bumps apply only once it is declared
stable. Decoders reject any other version value.
The agent loop is experimental in 0.3 and may change in any minor release.