{ "name": "@elizaos/plugin-lmstudio", "version": "2.0.3-beta.7", "type": "module", "main": "dist/node/index.node.js", "module": "dist/node/index.node.js", "types": "dist/node/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/elizaOS/eliza.git", "directory": "plugins/plugin-lmstudio" }, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/node/index.d.ts", "browser": { "types": "./dist/browser/index.d.ts", "import": "./dist/browser/index.browser.js", "default": "./dist/browser/index.browser.js" }, "node": { "types": "./dist/node/index.d.ts", "import": "./dist/node/index.node.js", "default": "./dist/node/index.node.js" }, "bun": { "types": "./dist/node/index.d.ts", "default": "./dist/node/index.node.js" }, "default": "./dist/node/index.node.js" }, "./*.css": "./dist/*.css", "./*": { "types": "./dist/*.d.ts", "import": "./dist/*.js", "default": "./dist/*.js" } }, "files": [ "dist", "auto-enable.ts" ], "elizaos": { "plugin": { "autoEnableModule": "./auto-enable.ts", "capabilities": [ "text-large", "text-small", "embedding" ] } }, "sideEffects": false, "dependencies": { "@ai-sdk/openai-compatible": "^2.0.51", "ai": "^6.0.174" }, "devDependencies": { "@biomejs/biome": "2.5.3", "@elizaos/core": "workspace:*", "@types/node": "^25.0.3", "bun-types": "^1.3.12", "typescript": "^6.0.3", "vitest": "^4.0.0" }, "peerDependencies": { "@elizaos/core": "workspace:*" }, "scripts": { "dev": "bun run build.ts --watch", "lint": "bunx @biomejs/biome check --write --unsafe .", "clean": "node ../../packages/scripts/rm-path-recursive.mjs dist .turbo .turbo-tsconfig.json tsconfig.tsbuildinfo", "format": "bunx @biomejs/biome format --write .", "format:check": "bunx @biomejs/biome format .", "typecheck": "tsgo --noEmit -p tsconfig.json", "test": "vitest run --config ./vitest.config.ts __tests__/", "test:unit": "vitest run --config ./vitest.config.ts __tests__/", "lint:check": "bunx @biomejs/biome check .", "build": "bun run build.ts", "build:ts": "bun run build.ts" }, "publishConfig": { "access": "public" }, "agentConfig": { "pluginType": "elizaos:plugin:1.0.0", "pluginParameters": { "LMSTUDIO_BASE_URL": { "type": "string", "description": "Base URL for the LM Studio OpenAI-compatible API (default http://localhost:1234/v1).", "required": false, "default": "http://localhost:1234/v1", "sensitive": false }, "LMSTUDIO_API_KEY": { "type": "string", "description": "Optional API key. LM Studio does not require one by default; set this only if you've put it behind an auth proxy.", "required": false, "sensitive": true }, "LMSTUDIO_SMALL_MODEL": { "type": "string", "description": "Identifier of the small-sized LM Studio model to use for text generation.", "required": false, "sensitive": false }, "LMSTUDIO_LARGE_MODEL": { "type": "string", "description": "Identifier of the large-sized LM Studio model to use for text generation.", "required": false, "sensitive": false }, "LMSTUDIO_EMBEDDING_MODEL": { "type": "string", "description": "Identifier of the LM Studio model used to generate text embeddings, when embeddings are served by the same LM Studio instance.", "required": false, "sensitive": false }, "LMSTUDIO_AUTO_DETECT": { "type": "string", "description": "When set to 1/true, the plugin probes http://localhost:1234/v1/models on init and logs a clear warning if LM Studio is not reachable.", "required": false, "default": "true", "sensitive": false } } }, "eliza": { "platforms": [ "browser", "node" ], "runtime": "both", "platformDetails": { "browser": "Browser-compatible build available via exports.browser", "node": "Node.js build available via exports.node" } } }