src / index.ts

import { type PluginContext } from "@lmstudio/sdk";
import { maestroConfigSchematics } from "./config";
import { maestroToolsProvider } from "./toolsProvider";
import { maestroPreprocessor } from "./preprocessor";

export async function main(context: PluginContext) {
  context.withConfigSchematics(maestroConfigSchematics);
  context.withToolsProvider(maestroToolsProvider);
  context.withPromptPreprocessor(maestroPreprocessor);
}