Skip to main content

Module build

Module build 

Source
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.lock AgentCard; dial refuses a method whose method_min_proto exceeds 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. 0 means always available (never gated). Add an entry per method introduced/changed.