Skip to main content

Module reference

Module reference 

Source
Expand description

Skill identity + the disambiguation rule that every surface goes through.

SkillRef is the canonical (bundle, name) pair. Fields are private; the only public constructor is resolve, which enforces the rule “bundle optional when name is globally unique across configured bundles”. CLI flag parsing, gateway URL parsing, TUI selection — all must call resolve to produce a SkillRef. If a future caller hand-builds one, they cannot: the constructor is module-private.

Structs§

SkillRef
Canonical (bundle-alias, skill-name) identity for a skill on disk.

Enums§

SkillRefError
Errors surfaced by resolve when a (name, bundle?) pair cannot be turned into a unique SkillRef.

Functions§

resolve
Resolve a (name, bundle?) pair into a canonical SkillRef.