ReadonlyconfigThe plugin's resolved configuration, as the runtime supplied it.
ReadonlyeventsPublish and subscribe, attributed to this plugin.
ReadonlyhostWhat the plugin may know about the host.
ReadonlylogThe plugin's logger, as the runtime supplied it.
ReadonlymanifestThe plugin's own manifest, by identity, as it was parsed.
ReadonlypathsThe storage directories of the home the plugin runs in.
ReadonlyservicesThe service registry, fenced to this plugin's namespace.
Every app home the host knows about, asked fresh on each call.
the known homes, or empty when the host declared none
Registers the plugin's implementation of a capability.
the typed capability key, or a bare id, to register against
the value the plugin provides for that capability
The key is untyped rather than a String because the contract's provide hands
over a typed key object and a host hands over a bare id, and this one function serves both. The
engine still works in ids: the id is read off the key here, at the boundary, which is where
every other shape difference is resolved.
The typed key for an event topic id.
the topic id to mint a key for
the typed key
The context a plugin's activate receives.