package api // CurrentProtocolVersion is the wire-format version this build speaks. // // Bump this only when an incompatible wire-format change lands — // adding a new optional field does NOT count, removing or repurposing // one does. The server enforces MinAgentProtocolVersion against this // value at hello time. See spec.md §6.2 ("Protocol versioning"). const CurrentProtocolVersion = 1 // MinAgentProtocolVersion is the lowest agent protocol_version this // server accepts in a hello. Agents below this are disconnected with // a structured error pointing at the upgrade docs. const MinAgentProtocolVersion = 1