Source-owned registry for extension-contributed skill paths.
Global and project-local skills remain filesystem-discovered. Extension skill declarations are stored here so extension disable and reload can remove stale skill paths without rescanning running manifests.
Summary
Functions
Returns registered entries in deterministic registration order.
Returns registered skill paths in deterministic registration order.
Registers a source-owned batch of skill paths. Same-source batches replace prior entries.
Starts the skill registry.
Removes all skill paths owned by a source.
Types
Registry entry for one skill path.
@type source() :: Minga.Extension.ContributionCleanup.contribution_source()
Source that contributed skill paths.
@type state() :: [entry()]
Functions
@spec entries() :: [entry()]
Returns registered entries in deterministic registration order.
@spec paths() :: [String.t()]
Returns registered skill paths in deterministic registration order.
Registers a source-owned batch of skill paths. Same-source batches replace prior entries.
@spec start_link(keyword()) :: GenServer.on_start()
Starts the skill registry.
@spec unregister_source(source()) :: :ok
Removes all skill paths owned by a source.