Registered shell metadata.
Shell entries are source-owned contributions. The registry keeps this validated shape in persistent_term so render and input hot paths can resolve the active shell without sorting or calling extension code.
Summary
Functions
Builds a validated built-in shell entry or raises if the shell module is invalid.
Builds a validated shell entry.
Returns an entry with a registry-assigned generation.
Types
@type capability() :: :gui | :tui
@type source() :: Minga.Extension.ContributionCleanup.contribution_source()
@type t() :: %MingaEditor.Shell.Entry{ capabilities: [capability()], default?: boolean(), description: String.t(), display_name: String.t(), generation: non_neg_integer(), id: atom(), module: module(), source: source() }
Functions
Builds a validated built-in shell entry or raises if the shell module is invalid.
Builds a validated shell entry.
@spec with_generation(t(), non_neg_integer()) :: t()
Returns an entry with a registry-assigned generation.