dist / index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.main = main;
const toolsProvider_1 = require("./toolsProvider");
/**
* LM Studio plugin entry point.
* Exposes user-controllable global settings (sound, default wait timeout) in
* the LM Studio plugin UI and registers the
* send_notification tool provider so that local LLM models can create native
* macOS system notifications via node-notifier, honoring the configured defaults.
*/
async function main(context) {
// Expose user-configurable settings in the LM Studio plugins UI. The values
// are read inside the tool via ctl.getGlobalPluginConfig().
context.withGlobalConfigSchematics(toolsProvider_1.notificationConfigSchematics);
// Register the tools provider which exposes send_notification to the model.
// toolsProvider is async — withToolsProvider accepts both sync and async providers.
context.withToolsProvider(toolsProvider_1.toolsProvider);
}
//# sourceMappingURL=index.js.mapdist / index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.main = main;
const toolsProvider_1 = require("./toolsProvider");
/**
* LM Studio plugin entry point.
* Exposes user-controllable global settings (sound, default wait timeout) in
* the LM Studio plugin UI and registers the
* send_notification tool provider so that local LLM models can create native
* macOS system notifications via node-notifier, honoring the configured defaults.
*/
async function main(context) {
// Expose user-configurable settings in the LM Studio plugins UI. The values
// are read inside the tool via ctl.getGlobalPluginConfig().
context.withGlobalConfigSchematics(toolsProvider_1.notificationConfigSchematics);
// Register the tools provider which exposes send_notification to the model.
// toolsProvider is async — withToolsProvider accepts both sync and async providers.
context.withToolsProvider(toolsProvider_1.toolsProvider);
}
//# sourceMappingURL=index.js.map