Project Files
src / index.ts
/**
* @file index.ts
*/
import { type PluginContext } from "@lmstudio/sdk";
import { configSchematics } from "./config";
import { toolsProvider } from "./toolsProvider";
// This is the entry point of the plugin. The main function is to register different components of
// the plugin, such as preprocessor, toolsProvider, etc.
//
// You do not need to modify this file unless you want to add more components to the plugin, and/or
// add custom initialization logic.
export async function main(context: PluginContext) {
context.withConfigSchematics(configSchematics);
context.withToolsProvider(toolsProvider);
}