{
    "name": "brainbank",
    "version": "0.1.6",
    "description": "Pluggable semantic memory for AI agents — hybrid search (vector + BM25) in a single SQLite file. Built-in code, git, and docs indexers. Bring your own.",
    "type": "module",
    "main": "dist/index.js",
    "bin": {
        "brainbank": "./bin/brainbank",
        "brainbank-mcp": "./bin/brainbank-mcp"
    },
    "exports": {
        ".": {
            "import": "./dist/index.js",
            "default": "./dist/index.js"
        },
        "./src/*": "./src/*",
        "./dist/*": "./dist/*"
    },
    "files": [
        "dist/",
        "src/",
        "bin/",
        "LICENSE",
        "README.md",
        "assets/"
    ],
    "scripts": {
        "start": "bin/brainbank",
        "build": "rm -rf dist && tsup && npm run build --workspaces --if-present",
        "build:core": "rm -rf dist && tsup",
        "prepublishOnly": "npm run build:core",
        "test": "node --import tsx test/run.ts",
        "link": "npm link",
        "unlink": "npm unlink -g brainbank",
        "link:all": "npm link && npm link --workspaces && npm link brainbank --legacy-peer-deps",
        "unlink:all": "npm unlink -g brainbank && npm unlink --workspaces -g"
    },
    "workspaces": [
        "packages/*"
    ],
    "engines": {
        "node": ">=22"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/pinecall/brainbank.git"
    },
    "homepage": "https://github.com/pinecall/brainbank#readme",
    "bugs": {
        "url": "https://github.com/pinecall/brainbank/issues"
    },
    "keywords": [
        "ai",
        "agent",
        "semantic-memory",
        "vector-search",
        "knowledge-base",
        "embeddings",
        "hnsw",
        "typescript"
    ],
    "author": "Bernardo Castro <bernardo@pinecall.io>",
    "license": "MIT",
    "dependencies": {
        "@huggingface/transformers": "^4.0.1",
        "@inquirer/prompts": "^8.3.2",
        "@modelcontextprotocol/sdk": "^1.27.1",
        "hnswlib-node": "^3.0.0",
        "ink": "^5.2.1",
        "picomatch": "^4.0.4",
        "react": "^18.3.1",
        "zod": "^4.3.6"
    },
    "optionalDependencies": {
        "@brainbank/code": "^0.1.1",
        "@brainbank/docs": "^0.1.1",
        "@brainbank/git": "^0.1.1",
        "@xenova/transformers": "^2.17.2",
        "node-llama-cpp": "^3.18.1"
    },
    "devDependencies": {
        "@ai-sdk/openai": "^3.0.47",
        "@langchain/core": "^1.1.35",
        "@langchain/openai": "^1.3.0",
        "@types/node": "^22.0.0",
        "@types/picomatch": "^4.0.2",
        "@types/react": "^18.3.28",
        "ai": "^6.0.134",
        "tsup": "^8.4.0",
        "tsx": "^4.19.0",
        "typescript": "^5.7.0"
    },
    "overrides": {
        "brainbank": "$brainbank"
    }
}
