Documentation
¶
Overview ¶
Package probe is the runner image's gateway probe: the health check every run makes before its agent starts (an authenticated MCP initialize from inside the run network), and, for a session, the listing of the tools the gateway serves. A session's driver grants a harness's permission request only for a tool the run's gateway serves, and a declared MCP server names its tools itself, at run time, unless its manifest filters them; so the probe, already in the network with the gateway's token, asks the gateway once. One-shot runs never ask.
Stdlib only: the package is embedded in the runner image's build context.
Index ¶
Constants ¶
const InitBody = `` /* 158-byte string literal not displayed */
InitBody is a spec-shaped MCP initialize request. A 2xx answer is proof the gateway is up and accepted the Bearer token.
const MaxToolName = 256
MaxToolName bounds a tool name the probe passes on and the engine takes.
Variables ¶
This section is empty.
Functions ¶
func Healthy ¶
Healthy is one health check: the gateway accepted an authenticated initialize. The answer is not read beyond its status.