Versioned, immutable manifest published by a Stack-installable package.
A package manifest describes what can be installed. It does not contain provider processes, credentials, clients, or any other runtime handle.
Summary
Functions
Returns whether the package accepts the supplied Spectre release.
Returns the stable identifier represented by a capability entry.
Normalizes and validates a manifest returned by package_module.
Types
@type t() :: %Spectre.Stack.Package{ actions: [term()], agent_extensions: [module()], conflicts: [term()], contract: pos_integer(), digest: String.t() | nil, dsl: module() | nil, id: term(), metadata: map(), module: module(), operations: [term()], provides: [term()], requires: [term()], resources: [term()], spectre: String.t(), version: String.t() }
Functions
Returns whether the package accepts the supplied Spectre release.
Returns the stable identifier represented by a capability entry.
Normalizes and validates a manifest returned by package_module.
The owning module is supplied by the core and cannot be forged by a manifest callback.