agent-sdk / Exports / BundlePluginLoader
Class: BundlePluginLoader
Loader for directory-based bundle plugins from the cache directory.
Table of contents
Constructors
Methods
Constructors
constructor
• new BundlePluginLoader(pluginsDir, enabledPlugins?): BundlePluginLoader
Parameters
| Name | Type |
|---|---|
pluginsDir | string |
enabledPlugins? | TEnabledPlugins |
Returns
Defined in
agent-sdk/src/plugins/bundle-plugin-loader.ts:121
Methods
loadPluginsSync
▸ loadPluginsSync(): ILoadedBundlePlugin[]
Load all discovered and enabled bundle plugins (sync).
Returns
Defined in
agent-sdk/src/plugins/bundle-plugin-loader.ts:127
loadAll
▸ loadAll(): Promise<ILoadedBundlePlugin[]>
Load all discovered and enabled bundle plugins (async wrapper).
Returns
Promise<ILoadedBundlePlugin[]>