import type { PluginContext } from "@lmstudio/sdk";
// Re-export the real main from the compiled dist/. The lms-generated
// bootstrap (.lmstudio/production.js) hard-codes an import of
// `src/index.ts`, while the actual plugin implementation lives in
// dist/index.js (compiled from a separate source repo). This stub keeps
// both happy without shipping the full TS source.
export async function main(context: PluginContext) {
const dist: any = await import("../dist/index.js");
return dist.main(context);
}