Plugin source metadata returned by the app-server plugin APIs.
Summary
Types
@type source_type() :: :local | String.t()
@type t() :: %Codex.Protocol.Plugin.Source{ extra: map(), path: (String.t() | nil) | nil, type: source_type() }
Functions
@spec parse(map() | keyword() | t()) :: {:ok, t()} | {:error, {:invalid_plugin_source, CliSubprocessCore.Schema.error_detail()}}
@spec schema() :: Zoi.schema()