Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
获取插件名称。
getPluginName(): Promise<string | null | undefined>;
Promise<string | null | undefined>
import { PluginManager } from 'sn-plugin-lib'; /** * 获取插件名称的示例。 */ export async function exampleGetPluginName() { const name = await PluginManager.getPluginName(); return name; }