Skip to main content

Module binary_identity

Module binary_identity 

Source
Expand description

The binary this process started from, so a long-running MCP server can say when an install replaced it on disk. An MCP server keeps running the engine it started with: on 25.10. every agent session still ran a two-day-old engine after three installs, and fixes reached nobody until a reconnect.

Functionsยง

record_start
Record the executable as it is now; call once, early in main.
replaced_note
The note for an agent when the binary on disk is no longer the one this process started from; None while they match (or nothing was recorded).