Skip to main content

Module deps

Module deps 

Source
Expand description

Portable program dependencies: declaring, detecting, and (curated) installing the external programs a shared MUR artifact needs. See docs/superpowers/specs/2026-07-11-portable-program-dependencies-design.md

Modules§

detect
Cross-platform, side-effect-free detection of a ProgramDep.
registry
MUR-curated program registry. URLs + pinned SHA-256 are MUR-owned, so a shared bundle can only reference a key — it cannot substitute the source.

Structs§

PlatformRecipe
ProgramDep
One external-program requirement declared by a skill / MCP entry / agent profile / fleet. Data only — no I/O.
ProgramRecipe
Author-declared, per-platform install recipe carried on a ProgramDep inside a SIGNED bundle. Its integrity flows from the bundle signature; its authorization from the publisher’s trust classification at import.
VersionCheck

Enums§

DepStatus
Result of detecting a ProgramDep.
DetectMethod
Exactly one detection method (serde picks the arm by which field is present).

Functions§

current_platform
Current platform key, <arch>-<os> (e.g. “aarch64-macos”), matching the curated registry’s per-platform keys. Uses the compiled target via std::env::consts (no subprocess).