src / configSchematics.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"alwaysRedact",
"stringArray",
{
displayName: "Always-redact terms",
hint: "Strings that should be redacted in every call (e.g. your name, your address, an employer name, project codenames). Each term is matched literally and replaced with [CUSTOM_N].",
},
[],
)
.build();