Skip to main content

Module schema

Module schema 

Source
Expand description

Live JSON manifest of every registered agent’s file layout, surface coverage, and marker conventions.

build walks crate::registry::all and the per-surface *_capable lists, runs probe specs through each agent’s plan_install_* method, and renders the resulting paths as literal strings keyed by agent id, surface, and scope. Paths under the user’s home are rendered with a leading ~/; project-local paths are rendered with a leading <project>/.

The output is intentionally machine-readable so external tooling can discover what this crate would touch without depending on the Rust API. examples/gen_schema.rs renders build to schema/agents.json.

Functions§

build
Build the full agent schema as a JSON value.