agentVersion
agentVersion():
string
Defined in: packages/agent/src/modules/acp/acpCommon.ts:152
This build’s version, for the initialize handshake, or unknown when it cannot be read.
getSlothVersion() reads the package manifest under the install dir, which an entry point has
to have registered. Both ACP doors do. It is caught anyway because failing the HANDSHAKE over a
display string would take the whole agent down for a piece of metadata — a host that cannot
connect is a far worse outcome than one that shows an unknown version. The bins’ own spec pins
that the real path reports a real version, so this fallback cannot become the normal answer
without something going red.
Returns
Section titled “Returns”string