Expand description
Shared executable-path resolution.
A single source of truth for turning a command (bare program name or path)
into the absolute, symlink-resolved binary that will actually be executed.
Used by both install-time MCP pinning (mur agent mcp pin) and the runtime
startup verification (B0 rules 6 & 11) so a bare command like node
resolves identically across the two passes — otherwise the runtime hashes a
CWD-relative path that doesn’t exist and silently skips the pin/signature
check while Command::new runs the PATH-resolved binary.
Functions§
- bundled_
mcp_ server_ path - Canonical location MUR keeps its own copy of the MCP server binary:
~/.mur/mcp-servers/mur-mcp-server(honors$MUR_HOME). Stable across howmuritself was installed (brew / cargo / source) and across upgrades, so agent profiles can pin this path once and never go stale. - ensure_
bundled_ mcp_ server - Ensure
bundled_mcp_server_pathexists and matches themur-mcp-servershipped alongside the runningmurbinary, copying it into place when missing or out of date. Returns the canonical target path. - resolve_
command - Resolve
commandto an absolute path on disk.