{
	"name": "mnemex",
	"version": "0.32.0",
	"description": "Seven-layer code memory — benchmarked. AST-aware chunking, symbol graph with PageRank, semantic + BM25 retrieval. Personal, team-shared, offline-first, any embedding or LLM provider. MCP server + CLI.",
	"type": "module",
	"main": "./dist/index.js",
	"bin": {
		"mnemex": "dist/index.js"
	},
	"scripts": {
		"dev": "bun run src/index.ts",
		"dev:mcp": "bun run src/index.ts --mcp",
		"download-grammars": "bun run scripts/download-grammars.ts",
		"build": "rm -rf dist && bun run download-grammars && bun build src/index.ts --outdir dist --target bun --external @lancedb/lancedb --external better-sqlite3 --external @opentui/core --external @opentui/react && cp src/benchmark-v2/storage/schema.sql dist/ && chmod +x dist/index.js",
		"build:binary": "bun run download-grammars && bun build src/index.ts --compile --external @opentui/core --external @opentui/react --outfile mnemex",
		"build:binary:linux": "bun run download-grammars && bun build src/index.ts --compile --target=bun-linux-x64 --external @opentui/core --external @opentui/react --outfile mnemex-linux-x64",
		"build:binary:mac": "bun run download-grammars && bun build src/index.ts --compile --target=bun-darwin-arm64 --external @opentui/core --external @opentui/react --outfile mnemex-darwin-arm64",
		"link": "npm link",
		"unlink": "npm unlink -g mnemex",
		"install-global": "bun run build && npm link",
		"postinstall": "node scripts/postinstall.cjs || true",
		"typecheck": "tsc --noEmit",
		"lint": "biome check src test tests scripts",
		"format": "biome format --write src test tests scripts",
		"test": "bun test",
		"test:integration": "bun test test/integration",
		"test:watch": "bun test --watch",
		"eval:rg:promptfoo": "cd eval/rg && npx promptfoo@latest eval --no-cache",
		"eval:rg:report": "bun eval/rg/report.ts"
	},
	"dependencies": {
		"@inquirer/prompts": "^8.5.2",
		"@inquirer/search": "^4.2.1",
		"@lancedb/lancedb": "^0.33.0",
		"@lmstudio/sdk": "^1.5.0",
		"@modelcontextprotocol/sdk": "^1.30.0",
		"@opentui/core": "0.5.1",
		"@opentui/react": "0.5.1",
		"@vscode/ripgrep": "^1.18.0",
		"better-sqlite3": "^13.0.3",
		"dotenv": "^17.4.2",
		"minimatch": "^10.2.6",
		"postgres": "^3.4.9",
		"react": "^19.2.8",
		"web-tree-sitter": "^0.26.11",
		"zod": "^4.4.3"
	},
	"devDependencies": {
		"@biomejs/biome": "^2.5.7",
		"@types/better-sqlite3": "^9.6.0",
		"@types/bun": "^1.3.14",
		"@types/react": "^19.2.18",
		"typescript": "^7.0.2"
	},
	"files": [
		"dist/",
		"grammars/",
		"scripts/"
	],
	"engines": {
		"node": ">=18.0.0",
		"bun": ">=1.0.0"
	},
	"preferGlobal": true,
	"keywords": [
		"claude",
		"claude-code",
		"mcp",
		"model-context-protocol",
		"code-indexing",
		"semantic-search",
		"vector-database",
		"embeddings",
		"openrouter"
	],
	"author": "Jack Rudenko <i@madappgang.com>",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "https://github.com/MadAppGang/mnemex"
	},
	"optionalDependencies": {
		"@opentui/core-darwin-arm64": "0.5.1",
		"@opentui/core-darwin-x64": "0.5.1",
		"@opentui/core-linux-arm64": "0.5.1",
		"@opentui/core-linux-x64": "0.5.1"
	},
	"overrides": {
		"@opentui/core": {
			"web-tree-sitter": "$web-tree-sitter"
		},
		"ws": "^8.21.2",
		"fast-uri": "^3.1.5",
		"ajv": "^8.20.0",
		"zod": "^4.4.3",
		"@lmstudio/sdk": {
			"zod": "^3.25.76"
		},
		"sharp": "^0.35.3"
	}
}
