src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"memoryFile",
"string",
{
displayName: "Memory JSON File Path",
subtitle: "Path to the memory.json file.",
},
"./MemoryMesh/dist/data/memory.json",
)
.field(
"schemasDir",
"string",
{
displayName: "Schemas Directory",
subtitle: "Directory containing .schema.json files.",
},
"./MemoryMesh/dist/data/schemas",
)
.field(
"enabled",
"boolean",
{
displayName: "Enable MemoryMesh Tools",
subtitle: "Toggle all MemoryMesh tools.",
},
true,
)
.build();
export const globalConfigSchematics = createConfigSchematics()
.field(
"mcpServerPath",
"string",
{
displayName: "MemoryMesh Executable Path",
subtitle: "Absolute path to MemoryMesh dist/index.js.",
},
"",
)
.build();
src / config.ts
import { createConfigSchematics } from "@lmstudio/sdk";
export const configSchematics = createConfigSchematics()
.field(
"memoryFile",
"string",
{
displayName: "Memory JSON File Path",
subtitle: "Path to the memory.json file.",
},
"./MemoryMesh/dist/data/memory.json",
)
.field(
"schemasDir",
"string",
{
displayName: "Schemas Directory",
subtitle: "Directory containing .schema.json files.",
},
"./MemoryMesh/dist/data/schemas",
)
.field(
"enabled",
"boolean",
{
displayName: "Enable MemoryMesh Tools",
subtitle: "Toggle all MemoryMesh tools.",
},
true,
)
.build();
export const globalConfigSchematics = createConfigSchematics()
.field(
"mcpServerPath",
"string",
{
displayName: "MemoryMesh Executable Path",
subtitle: "Absolute path to MemoryMesh dist/index.js.",
},
"",
)
.build();