{
  "name": "lorehub",
  "version": "0.2.2",
  "description": "Capture and surface the collective wisdom of your codebase",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "bin": {
    "lh": "./dist/index.js",
    "lorehub": "./dist/index.js",
    "lorehub-mcp": "./dist/mcp/index.js"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "scripts": {
    "test": "vitest",
    "test:watch": "vitest watch",
    "test:coverage": "vitest run --coverage",
    "bench": "vitest bench",
    "build": "tsc -b && node scripts/post-build.js",
    "dev": "tsc -w",
    "typecheck": "tsc --noEmit",
    "lint": "eslint src --ext .ts",
    "clean": "rm -rf dist coverage .turbo",
    "db:generate": "drizzle-kit generate",
    "db:migrate": "tsx src/db/migrate.ts",
    "db:push": "drizzle-kit push",
    "db:studio": "drizzle-kit studio"
  },
  "keywords": [
    "mcp",
    "knowledge",
    "decisions",
    "development"
  ],
  "author": "Roee Jukin <roee@bellum.dev>",
  "repository": "github:RoeeJ/lorehub",
  "license": "MIT",
  "devDependencies": {
    "@types/better-sqlite3": "^7.6.13",
    "@types/node": "^24.0.10",
    "@types/react": "^19.1.8",
    "@typescript-eslint/eslint-plugin": "^8.36.0",
    "@typescript-eslint/parser": "^8.36.0",
    "@vitest/coverage-v8": "^3.2.4",
    "eslint": "^9.30.1",
    "ink-testing-library": "^4.0.0",
    "tsx": "^4.20.3",
    "typescript": "^5.8.3",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.15.0",
    "@types/ink-text-input": "^2.0.5",
    "@types/prompts": "^2.4.9",
    "@xenova/transformers": "^2.17.2",
    "better-sqlite3": "^12.2.0",
    "commander": "^14.0.0",
    "drizzle-kit": "^0.31.4",
    "drizzle-orm": "^0.44.2",
    "ink": "^6.0.1",
    "ink-select-input": "^6.2.0",
    "ink-spinner": "^5.0.0",
    "ink-table": "^3.1.0",
    "ink-text-input": "^6.0.0",
    "ora": "^8.1.2",
    "prompts": "^2.4.2",
    "react": "^19.1.0",
    "simple-git": "^3.28.0",
    "sqlite-vec": "^0.1.7-alpha.2",
    "zod": "^3.25.75"
  },
  "mcp": {
    "name": "lorehub",
    "description": "Access and query your project knowledge base through MCP",
    "version": "0.2.1",
    "tools": {
      "search_lores": {
        "description": "Search lores in a realm with optional filters"
      },
      "list_lores": {
        "description": "List lores from a realm with optional filters"
      },
      "get_lore": {
        "description": "Get a specific lore by ID"
      },
      "list_realms": {
        "description": "List all realms in the LoreHub database"
      }
    }
  }
}
