Expand description
Compile-time build identity. SHORT_SHA is the git commit the binary was
built from (set by build.rs), or “unknown” for git-less builds (crates.io).
Used to detect when a running agent’s binary differs from the installed one.
Constants§
- A2A_
PROTO_ VERSION - A2A method-surface version. Bump ONLY on incompatible change to a dialed
method (added method, changed params/result contract). Carried in
running.lockAgentCard; dial refuses a method whosemethod_min_protoexceeds the peer’s advertised proto. - SHORT_
SHA - 12-char git sha of this build, or “unknown”.
Functions§
- method_
min_ proto - Minimum proto a peer must advertise to accept the dialed
method.0means always available (never gated). Add an entry per method introduced/changed.