config.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pluginConfigSchematics = void 0;
const sdk_1 = require("@lmstudio/sdk");
exports.pluginConfigSchematics = (0, sdk_1.createConfigSchematics)()
.field("workspacePath", "string", {
displayName: "Workspace Path",
subtitle: "Root directory for file lookups. Leave blank to allow absolute paths only.",
}, "")
.field("maxFileSizeMb", "numeric", {
int: true, min: 1, max: 200,
displayName: "Max File Size (MB)",
subtitle: "Files larger than this are rejected to prevent memory spikes.",
slider: { min: 1, max: 200, step: 1 },
}, 50)
.build();