src / index.ts

// Locus for Linux, the LM Studio plugin (docs/build/LINUX_REPORT.md). No hooks: no tools provider, prompt
// preprocessor, generator or config. main() runs when llmster starts (and at the plugin's install): it starts Locus,
// or installs it on the first run when the installer is on this machine.
import { startLocusLinux } from "./start.ts";

export async function main(context: unknown): Promise<void> {
  void context;
  try {
    await startLocusLinux();
  } catch {
    // main() never throws: startLocusLinux() already turns every failure into "error" in its log line.
  }
}