SuperPi.Plugins (super_pi v0.1.0)

Copy Markdown View Source

Plugin Registry & Dispatcher for Super-Pi-BEAM.

Plugins are reusable, modular extensions implementing SuperPi.Extension (all 12 lifecycle hooks). They can be assembled declaratively into any harness, configured dynamically in sessions, or loaded via CLI/OpenCode options.

Summary

Functions

Returns structured catalog metadata for all registered plugins.

Returns the list of available built-in plugin modules.

Resolves a plugin specification (atom, string, module, or {spec, opts} tuple).

Resolves a declarative list of plugins, preserving configuration options and ignoring invalid entries.

Functions

catalog()

Returns structured catalog metadata for all registered plugins.

list()

Returns the list of available built-in plugin modules.

resolve(module)

Resolves a plugin specification (atom, string, module, or {spec, opts} tuple).

resolve_all(specs)

Resolves a declarative list of plugins, preserving configuration options and ignoring invalid entries.