src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"workspaceRoot",
"string",
{
displayName: "Workspace Root Directory",
description: "The absolute path to your project (e.g. C:\\Users\\Dev\\MyProject). If the AI tries to read 'Cargo.toml', it will look for it here.",
},
""
)
.build();
export const globalConfigSchematics = createConfigSchematics().build();