ReadonlydescriptorWhat every plugin is told about this host.
ReadonlyledgerThe record of what each plugin declared and provided.
Every implementation of one capability, in activation order.
the capability id to look up
the providing plugins' records, or empty when no plugin provides it
Opens one plugin's context, fenced to its own namespace.
the parsed plugin.json object of the plugin being activated
the host-supplied runtime object for this plugin
the context the plugin's activate receives
Quarantines a plugin, dropping its registrations and recording why.
the id of the plugin to quarantine
the problem that caused the quarantine
Offers a service the host itself implements, for every plugin to reach.
the service id to register under
the value every plugin's context.services.get(id) then receives
Drops a stopped plugin's registrations without marking it broken.
the id of the plugin to release
The service registered under an id, or undefined when nothing is.
the service id to look up
the registered service, or undefined when none is registered
Why this host cannot load the manifest, or null when it can.
the parsed plugin.json object to check
the problem found, or null when the host can load this manifest
Why what the plugin provided disagrees with what it declared, or null when they agree.
the parsed plugin.json object of the plugin being verified
the disagreement found, or null when the plugin honored its declaration
The object
createPluginHostreturns.Remarks
supportsandverifyActivationare| nullrather than| undefined, because a check that ran and found nothing wrong is a stated answer and the adapter genuinely returns null.serviceis| undefined, because a missing service is an absent map entry rather than an answer.markBrokentakes the same PluginErrorShape for its error argument, since a caller passes back exactly whatpluginErrorproduced.