{
  "name": "lemma-mcp",
  "version": "0.19.0",
  "description": "Persistent memory layer for LLMs via MCP",
  "type": "module",
  "main": "dist/index.js",
  "bin": {
    "lemma": "dist/index.js"
  },
  "exports": {
    ".": "./dist/index.js",
    "./memory": "./dist/memory/index.js",
    "./guides": "./dist/guides/index.js",
    "./server": "./dist/server/index.js"
  },
  "files": [
    "dist",
    "scripts/postinstall.mjs",
    "assets/visualizer.html",
    "assets/visualizer-demo.gif",
    "README.md",
    "docs/README.tr.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsc && node -e \"const fs=require('fs');const p=require('path');const s=p.join('assets','visualizer.html');const d=p.join('dist','server','visualizer.html');if(fs.existsSync(s)){fs.mkdirSync(p.dirname(d),{recursive:true});fs.copyFileSync(s,d);console.log('Copied visualizer.html to dist/server/')}else{console.warn('Warning: assets/visualizer.html not found')}\"",
    "prepare": "npm run build",
    "postinstall": "node scripts/postinstall.mjs",
    "typecheck": "tsc --noEmit --project tsconfig.test.json",
    "start": "node dist/index.js",
    "prepublishOnly": "npm run build",
    "test": "node --import tsx --import ./tests/_setup.ts --test tests/*.test.ts tests/db/*.test.ts tests/memory/*.test.ts tests/guides/*.test.ts tests/sessions/*.test.ts tests/server/*.test.ts tests/intelligence/*.test.ts",
    "test:memory": "node --import tsx --import ./tests/_setup.ts --test tests/memory/*.test.ts",
    "test:guides": "node --import tsx --import ./tests/_setup.ts --test tests/guides/*.test.ts",
    "test:sessions": "node --import tsx --import ./tests/_setup.ts --test tests/sessions/*.test.ts",
    "test:server": "node --import tsx --import ./tests/_setup.ts --test tests/server/*.test.ts",
    "test:mcp": "node tests/manual/mcp-smoke.mjs",
    "test:mcp:c2": "node tests/manual/c2-quality-mcp.mjs",
    "test:mcp:wave2": "node tests/manual/wave2-mcp.mjs",
    "test:mcp:glm": "node tests/manual/glm-agent-mcp.mjs"
  },
  "keywords": [
    "mcp",
    "memory",
    "llm",
    "claude",
    "persistent",
    "guides",
    "context"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.0.0",
    "better-sqlite3": "^12.9.0"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/xenitV1/lemma.git"
  },
  "devDependencies": {
    "@types/better-sqlite3": "^7.6.13",
    "@types/node": "^25.6.0",
    "tsx": "^4.21.0",
    "typescript": "^6.0.3"
  }
}
