Expand description
Deep links: one address for every place AgentMux can show
(docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md). The registry of destinations
(crates/common/deeplinks/destinations.json) is generated into registry.rs; parse reads a link
against it. srv’s guard and the Pane tool read both; the app has the same pair in frontend/app/deeplinks/.
Re-exports§
pub use parse::format_link;pub use parse::parse_link;pub use parse::path_problem;pub use parse::LinkError;pub use parse::ParsedLink;pub use parse::Value;pub use types::AgentRule;pub use types::Effect;pub use types::Kind;pub use types::Place;pub use types::Registry;pub use types::Segment;pub use types::Sensitivity;pub use types::View;
Modules§
- parse
- srv’s and mcp’s parser of deep links (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §3.2, R6 to R9,
G7, G8). The app has the same parser in TypeScript (
frontend/app/deeplinks/parse.ts); both are written from the one grammar and the one registry, and both runcrates/common/deeplinks/conformance.json. A change here is a change there. - types
- The shape of the deep-link registry, as
registry.rsholds it. The app’s twin isfrontend/app/deeplinks/registry-types.ts; both are generated fromcrates/common/deeplinks/destinations.jsonbyscripts/gen-deeplinks.mjs.
Statics§
- REGISTRY
- Every deep-link destination (R10). Read through
super, never directly.
Functions§
- place_
label_ key - The label key of a parsed link’s place, for the words a person sees: the enum value’s own label when the place
is one enum segment (
settings.sections.recording), else the place’s label; None for the view as it is.