Forked from altra/humanize
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("defaultTone", "string", {
displayName: "Default Tone",
subtitle: "Tone used when humanize_text is called without an explicit tone. " +
"Options: casual, professional, academic, custom.",
}, "casual")
.field("aiScoreThreshold", "numeric", {
int: true, min: 0, max: 100,
displayName: "AI Score Threshold",
subtitle: "Score at or above which analyze_and_humanize triggers rewriting. " +
"Range 0–100. Default: 60.",
slider: { min: 0, max: 100, step: 5 },
}, 60)
.build();