{
  "name": "codebase-context",
  "version": "2.2.0",
  "description": "Bounded conventions map and local-pattern discovery for AI coding agents. Local-first MCP server with AST-backed hybrid search.",
  "type": "module",
  "main": "./dist/lib.js",
  "types": "./dist/lib.d.ts",
  "exports": {
    ".": {
      "import": "./dist/lib.js",
      "types": "./dist/lib.d.ts"
    },
    "./server": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./analyzers/angular": {
      "import": "./dist/analyzers/angular/index.js",
      "types": "./dist/analyzers/angular/index.d.ts"
    },
    "./analyzers/react": {
      "import": "./dist/analyzers/react/index.js",
      "types": "./dist/analyzers/react/index.d.ts"
    },
    "./analyzers/nextjs": {
      "import": "./dist/analyzers/nextjs/index.js",
      "types": "./dist/analyzers/nextjs/index.d.ts"
    },
    "./analyzers/generic": {
      "import": "./dist/analyzers/generic/index.js",
      "types": "./dist/analyzers/generic/index.d.ts"
    },
    "./embeddings": {
      "import": "./dist/embeddings/index.js",
      "types": "./dist/embeddings/index.d.ts"
    },
    "./storage": {
      "import": "./dist/storage/index.js",
      "types": "./dist/storage/index.d.ts"
    }
  },
  "bin": {
    "codebase-context": "./dist/index.js"
  },
  "files": [
    "dist",
    "grammars",
    "README.md",
    "LICENSE",
    "docs/cli.md",
    "docs/capabilities.md",
    "docs/client-setup.md",
    "templates"
  ],
  "engines": {
    "node": ">=18.0.0"
  },
  "keywords": [
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "codebase-context",
    "code-patterns",
    "team-conventions",
    "conventions-map",
    "pattern-detection",
    "semantic-search",
    "vector-search",
    "hybrid-search",
    "retrieval",
    "reranking",
    "rrf",
    "cross-encoder",
    "context-engineering",
    "local-first",
    "privacy-first",
    "embeddings",
    "golden-files",
    "ai-coding",
    "ai-agents",
    "llm",
    "claude",
    "claude-code",
    "cursor",
    "copilot",
    "windsurf",
    "angular",
    "react",
    "typescript",
    "developer-tools",
    "static-analysis",
    "code-quality",
    "code-search"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/PatrickSys/codebase-context.git"
  },
  "bugs": {
    "url": "https://github.com/PatrickSys/codebase-context/issues"
  },
  "homepage": "https://github.com/PatrickSys/codebase-context#readme",
  "author": {
    "name": "Patrick Rosselló",
    "email": "rossellocolompatrick@gmail.com",
    "url": "https://github.com/PatrickSys"
  },
  "license": "Elastic-2.0",
  "dependencies": {
    "@inquirer/prompts": "^3.0.0",
    "@huggingface/transformers": "^3.8.1",
    "@lancedb/lancedb": "^0.4.0",
    "@modelcontextprotocol/sdk": "^1.27.1",
    "@typescript-eslint/typescript-estree": "^7.0.0",
    "chokidar": "^3.6.0",
    "fuse.js": "^7.0.0",
    "glob": "^10.3.10",
    "hono": "^4.12.12",
    "ignore": "^5.3.1",
    "typescript": "^5.3.3",
    "uuid": "^9.0.1",
    "web-tree-sitter": "^0.25.10",
    "zod": "^4.3.4"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.2",
    "@types/glob": "^8.1.0",
    "@types/node": "^20.11.24",
    "@types/uuid": "^9.0.8",
    "@typescript-eslint/eslint-plugin": "^8.51.0",
    "@typescript-eslint/parser": "^8.51.0",
    "eslint": "^9.0.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-import": "^2.32.0",
    "globals": "^17.0.0",
    "husky": "^9.1.7",
    "prettier": "^3.7.4",
    "tree-sitter-wasms": "^0.1.13",
    "tsx": "^4.21.0",
    "typescript-eslint": "^8.51.0",
    "vitest": "^4.0.18"
  },
  "scripts": {
    "sync:grammars": "node scripts/sync-grammars.mjs",
    "prebuild": "pnpm run sync:grammars",
    "build": "tsc",
    "pretest": "pnpm run sync:grammars",
    "start": "node dist/index.js",
    "dev": "tsx src/index.ts",
    "watch": "tsc -w",
    "test": "node scripts/run-vitest.mjs",
    "test:watch": "vitest",
    "lint": "eslint \"src/**/*.ts\"",
    "format": "prettier --write \"src/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\"",
    "type-check": "tsc --noEmit",
    "mcp:inspect": "npx -y @modelcontextprotocol/inspector node dist/index.js .",
    "eval": "pnpm run build && node scripts/run-eval.mjs"
  }
}