This API must be called; otherwise the plugin cannot run. Call it once as early as possible at startup (multiple calls are ignored).
Preferably call it immediately after
AppRegistry.registerComponent.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Initialize the plugin environment.
AppRegistry.registerComponent.async init(): Promise<void>;
import { PluginManager } from 'sn-plugin-lib';
/**
* Example: initialize plugin environment.
*/
export async function exampleInit() {
await PluginManager.init();
}