{"_id":"project-agent-memory","_rev":"12-0c0e0642d1997dcad8a5072f93df58f7","name":"project-agent-memory","dist-tags":{"latest":"3.4.3"},"versions":{"3.0.0":{"name":"project-agent-memory","version":"3.0.0","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.0.0","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/index.js"},"dist":{"shasum":"4591211533c16a74ab196b1b879e7e47afc41ff1","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.0.0.tgz","fileCount":79,"integrity":"sha512-g+30HkP5Ofr3vid0ap0IQuDxh5fJz3IhXVW9VMoGF6vaoRGddEzOL+XpXN1LkL0sHU+KugLZOagsroR2ept6Vw==","signatures":[{"sig":"MEUCIQCMNcE6JmBH28WtIA5EchOaNHgIvGd1Nxw7gl4fz9pCFQIgMExalx/qxutv4Np7b6RYygW4CYjDMDSOrJrE7esps3w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":329435},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"ef53a0ce7f38bcde7c8b59d23cfc5cccce7e7e04","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.15.1","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.0.0_1789395670226_0.8699889271142565","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"project-agent-memory","version":"3.0.1","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.0.1","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/index.js"},"dist":{"shasum":"326a0a076c870a01afbd5a30766b53d27dedc867","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.0.1.tgz","fileCount":79,"integrity":"sha512-cOqIywiK56XSg/uwaDwgGgU6jxURXB858nxcHa9kubezuehjcfnr++iAWLj1SZavqDUfeUAYQvH1uLjbVbTMEw==","signatures":[{"sig":"MEYCIQDuWIjmWPBPt2VzLwhOddB2owU0gqfn+Ggg/50fB0XItQIhAIiyaRjlUk7+v4ocKoFDsnDzkLUPHNtDKRjdvOGFPGBz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDHkkdE+hzkjDQJH9ACtOm8cF7ibCkahgABE+4eNjFw8AiApM5Rl2xD+2tguPxu5yOvH1HRDW2xPcO2L+q+W0n9tXQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":338091},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"867a67dca0082a0dd6514fedebed278a735e39da","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.0.1_1789401087162_0.9500417721062662","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"project-agent-memory","version":"3.1.0","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.1.0","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/index.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"c974eb88b5472c6d7be257cda0805c0d63b832f5","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.1.0.tgz","fileCount":87,"integrity":"sha512-TRqoFryYlcX/DYQRUoGm5GyrAMpu3LmNHSZxxjIFUhX40bNkWjK7nfXbxZfgEfTBdN+niGLdqz6ba/k7QxQ78Q==","signatures":[{"sig":"MEYCIQDJ4g0brIPJ6ETIuxWrXMvLEIyVcjXLEHuSc00G1BUYgAIhAKZpfD+A6B7kY5Uk78rio0rMSNYjRzBl8uWUTxvddR2r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBxU0mfzjb8/LdwXnWTaoMBscH4Es6hdVM0Wz1x+Be9AAiEA53k4LDa9v5tPvRITvz2ZdAOoLmkAXS3bNxY9dLCRU30=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377720},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8a5600b14d17434342e2383bf2e6054f367768c7","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.1.0_1790198490471_0.9153062495602771","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"project-agent-memory","version":"3.1.1","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.1.1","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"b0d82ca482c963e6214d5c78d46e7c47ed5a8bc1","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.1.1.tgz","fileCount":184,"integrity":"sha512-KDghBejXfFzubBm95JCuPyNg8VvHpY77GifWoelm6RY4zdmbRoyVCcTOXVFBfrOTkxLv1Od80DVWRj2NC5YonQ==","signatures":[{"sig":"MEUCIAnsNAt3R8zDxoGQ+NhqwmKhB57m0O6DDuwIXLrxsxEVAiEA8/UOqy6eUAA77+1CaJ1as3bXqmCpHcY5Vaufbwgr+Jo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDxlbKANEQJ08oamYmiSGWCmvknf5Dxr8O+eZ6HRs8wkQIgd0btkx0RX+WEreOgi/in+QiyKiT/kE+ZgIo9ZdWEMj8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19894963},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"7c50c3de190e5a802f07cd8693d5f1b4cba7864d","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.1.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.1.1_1792347704440_0.045327322294632655","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"project-agent-memory","version":"3.1.2","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.1.2","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"3a8a235817d0b9140c6f9d22a1051e6e9c2bb3ec","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.1.2.tgz","fileCount":184,"integrity":"sha512-NcWyUFgD3BzcC5020QX9GMTyYRvW7S4sffHs2ta5upIvhHIP/YkFhdyvoTE5Og5C0Q3ct0ndOKWFXXPho61BQQ==","signatures":[{"sig":"MEYCIQCTqVV4TG9rAgfzj9WSUJunD/OVPutT8iSTOvC4L6RnHwIhAKDnHZCL/606Zz5pmr4d+oKwNp9/d4mkiuKZQFp8KO++","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAh11+yINcfPpIWpgtOr1Cm+TILFEnxALyyFNsg2UxP3AiBiTRjN9Uu/ck34gdtWdGlc8ttYk5VII7xrGUN5TJGQBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19898986},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"e93d36ab360c70a9e15eedda69beb2ee79f8b0c7","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.1.2","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.1.2_1792362452892_0.5299831523918987","host":"s3://npm-registry-packages-npm-production"}},"3.1.3":{"name":"project-agent-memory","version":"3.1.3","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.1.3","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"0ebcabce3030668390eaf735ef19ec1d1e9d9dcc","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.1.3.tgz","fileCount":184,"integrity":"sha512-nK6l7qjeGRFstQJqX4uMTX+097enG/sVYoDhMmWt8qiWSKvYssnjuidLNbnEfZ9F2exJXEnnOA7e/ZHlbZQZyQ==","signatures":[{"sig":"MEUCIBM6yf+jDSw4Cih+UFpP3N/sDAfR++1+ZxAG8852PNoqAiEA4JLI/M7ae4ZAchKHsjtN3x/Z45UixoFH6PP9Gt0gV54=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAI29+g4eyo/S/bzCo3D1/kvLQH7SNbUSfufgBj3jaxwAiBUEmvcNw+kJrK+IPF3JHXiUMfKa4m3U7cSTP0ww4+TFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19900068},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"83047d698faa46801cb0a4dbad7fa7eb3ea23a82","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using Qdrant vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.1.3","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.1.3_1792409538048_0.05552645906493092","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"project-agent-memory","version":"3.2.0","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.2.0","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"6c3f07f177080a10eb236988d3b0ab5c093ca20c","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.2.0.tgz","fileCount":184,"integrity":"sha512-X2q39E3400zg9ZX9TrX6izydmsPRigg7yMHm7m8qevLPRQxqwbqgx32Voc3MQNNavQDeSYu3sgyj/GIMGXtolQ==","signatures":[{"sig":"MEUCIGPjJyx68Y60kk3EORD2E99L0JKF/3rLapuN48XFYdIfAiEAlho90Jb4HzPKh3zJmGswOiwZc1jjvnT81BEpu/gkxsA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBmp/u8ws8BidnqVSQWbx7u74Jk+vVHwc0rJftx51NU3AiAw07l+GoXzl2JjQ6IERm1V79Ae4yQt2IpPyJZAlFoP1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19900046},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"a8b13fc0e2bd595a525a9c89fc7b0c3b771bea16","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.2.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.2.0_1792785428939_0.7022096337494301","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"project-agent-memory","version":"3.3.0","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.3.0","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"b4baed81259e1aa1f39ef34ac35c9648350fa075","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.3.0.tgz","fileCount":184,"integrity":"sha512-YRImBqUIFi8AwG5L35dAVYFbz44f8EG902B4WvpuotP36fxOrKN4m4/KFxaOCnoKQHLQ/ciIcQbxsDPiwWBB8g==","signatures":[{"sig":"MEQCIC8b38nbW3wCaYfwFfpt8B0t6EQYcL3XNaSpHtXmEzvKAiBhyYo7zRD8+7RwCs0j91/IoddazKTT6n+cO4uAFL+SCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDNxE0O6R5Nx2RqovTZmP3rY3H/8OVXZykezeUiM1FeAAiEA3g1Hl8SG1NKNt2kPBXO+gpLrTx1QrC8sKTru8SEqwIA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19860085},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"5653ae81eb0755bf373d0e845d62a8afaf6238ca","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","test:coverage":"c8 --reporter=text-summary --include=dist/** --include=src/** node --experimental-vm-modules node_modules/jest/bin/jest.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.3.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.3.0_1792829860703_0.9381480988023079","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"project-agent-memory","version":"3.4.0","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.4.0","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"1e7b73b30f0d71070f002ef4d41456a8c718df51","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.4.0.tgz","fileCount":192,"integrity":"sha512-f9Ios9Qwvna+hUaFLmEDIe2oUSuiWPdkDoQ9q2/gWyoxV+kfBFp61gGoS0KsNirkV+tIuoj/j0SFlN3u63d4jA==","signatures":[{"sig":"MEYCIQCkqIefDRZaHY6WbMXFA00VlITlIZVhgzMjCViMy20r/AIhALvncRCEbNN0YZ0Bzy7StRPhPuG5jnX/y+LrXnzAOQHo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCve9qlsVPXiptrSqVkLuQ8mSYw2CLYtxtH2KM9rD2RPwIgMZ5R1/whRy/oUSP12BX+qKYcO8sfWHXbPwF6q29mlIg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19934528},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"9500931539218e7235462479e5a8bdd7863d83a5","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","test:coverage":"c8 --reporter=text-summary --include=dist/** --include=src/** node --experimental-vm-modules node_modules/jest/bin/jest.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.4.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.4.0_1793124908158_0.5163582684506386","host":"s3://npm-registry-packages-npm-production"}},"3.4.1":{"name":"project-agent-memory","version":"3.4.1","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.4.1","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"41d5d84da1e1bc023e0b2c4764843210e12a65e1","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.4.1.tgz","fileCount":192,"integrity":"sha512-6tiwoNOpT9y2AqZRR5Ovd2uRSU5EKOzRCOWx2pF138DwxD95k9eCcWeuBLTnGdGk7hSjlxRcBpbCgwWKO4w1tw==","signatures":[{"sig":"MEUCIQCZGH/snWdfqR9yIr880K8rlRMB12xJLVn41Vu9FpEGHQIgQni2LejTJ+Bsyb4PAsh4FoLdp4mqnComemyhqIfRnwA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGcVKfeh+KjJAwKt1rWsHpHvs9XaL5l3UCRv7KX6d/EOAiEAhmmYEZgxn7Ycb4dBwEl1oi+SRhhDcQietqnQbGeYwmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19936545},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"f362f58daabe1b90ed200b847ef7dfd827e4db13","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","test:coverage":"c8 --reporter=text-summary --include=dist/** --include=src/** node --experimental-vm-modules node_modules/jest/bin/jest.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^3.23.8","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^4.80.0","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","jest":"^29.7.0","ts-jest":"^29.1.2","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^29.5.12","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^29.7.0","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.4.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.4.1_1793125429828_0.6355549729947187","host":"s3://npm-registry-packages-npm-production"}},"3.4.2":{"name":"project-agent-memory","version":"3.4.2","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"author":{"name":"Balaji.G"},"license":"MIT","_id":"project-agent-memory@3.4.2","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"homepage":"https://github.com/balaji-g42/project-agent-memory.git","bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"dist":{"shasum":"45ca753df77e74f98b435c13b9e294422c180060","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.4.2.tgz","fileCount":192,"integrity":"sha512-xP8q0IthdFC/8bFX22nS655uNuVzD7JUoogQ6UQAq+If41FxMkz5NDCvUeINJ66eIksQhy1b36ZJZ2MZXS/KTA==","signatures":[{"sig":"MEUCIBtNw0xvz4iR4HXcY+lqCEEUU5oRQSuO+qI44V3Oo1YcAiEAl2R9BBrS+hFgJ9YSk5XpKvupah7xu+E11rlOkorW3sM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCqooos7sxFVuha+T3/vdMQwiJdwibQAJgLxETjaoQ72gIgXULINnWOSqEtHHbHl1sE3YjNt+bDaXSDDelf9cs1uzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19936799},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"f7c53a5385ccba78bc0479977854757fccbd6fb6","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","test:coverage":"c8 --reporter=text-summary --include=dist/** --include=src/** node --experimental-vm-modules node_modules/jest/bin/jest.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"overrides":{"sharp":"0.35.5","undici":"7.30.1"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.6.7","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^7.45.1","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","jest":"^30.5.2","ts-jest":"^29.4.15","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^30.0.0","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^30.5.2","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.4.0","_npmOperationalInternal":{"tmp":"tmp/project-agent-memory_3.4.2_1793129987472_0.41685211573295","host":"s3://npm-registry-packages-npm-production"}},"3.4.3":{"_id":"project-agent-memory@3.4.3","bin":{"project-agent-memory":"dist/bin.js","project-agent-memory-cli":"dist/cli.js"},"bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"dist":{"shasum":"f51ec5b775f1a46a20b632c7e17624f549d26a70","tarball":"https://registry.npmjs.org/project-agent-memory/-/project-agent-memory-3.4.3.tgz","fileCount":226,"integrity":"sha512-w+8vw4xfmqjQJUCzaga+96BYhYf11l3pEXT0HPwNT7STjB6AS50+KZUHCiN4RrAsilW157BtJvxefktNMZObOg==","signatures":[{"sig":"MEUCIFadAkEUqN5/3PKLa8OKrqnC5JQctpOtQjcOtocE6wfEAiEAmQTJE+UjYQfJ9xJf4CHiOch2zSDXYndk7Qlzj/TQYUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQFQRBO9d6DduJ5+2l0kK9Ob+6bULgTkrHI7mlFKxtqAIgRfnAszhWrRWQpuHQwg16wAfooO4BQnQh1zs80Znr2rY="}],"unpackedSize":27247506},"main":"dist/index.js","name":"project-agent-memory","type":"module","types":"./dist/index.d.ts","author":{"name":"Balaji.G"},"gitHead":"df4096f4e2b9faf2f967da4bcbad12ff9c5e33bb","license":"MIT","scripts":{"dev":"tsc --watch","test":"node --experimental-vm-modules node_modules/jest/bin/jest.js","build":"tsc","start":"node dist/index.js","prepack":"node bin/fetch-grammars.cjs","test:gemini":"node tests/test-gemini-error-handling.js","test:coverage":"c8 --reporter=text-summary --include=dist/** --include=src/** node --experimental-vm-modules node_modules/jest/bin/jest.js","prepublishOnly":"npm run build","sync-published-version":"node bin/sync-published-version.cjs"},"version":"3.4.3","_npmUser":{"name":"balaji-g42","email":"balajig4292@gmail.com"},"homepage":"https://github.com/balaji-g42/project-agent-memory.git","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"overrides":{"sharp":"0.35.5","undici":"7.30.1"},"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"_npmVersion":"10.9.2","description":"MCP server for memory management using vector database","directories":{},"maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.6.7","uuid":"^11.0.5","axios":"^1.12.1","dotenv":"^16.4.5","openai":"^7.45.1","web-tree-sitter":"0.27.1","@google/generative-ai":"^0.24.1","@qdrant/js-client-rest":"^1.19.0","@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.26.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","jest":"^30.5.2","ts-jest":"^29.4.15","typescript":"^5.7.2","@babel/core":"^7.28.4","@types/jest":"^30.0.0","@types/node":"^22.0.0","@types/uuid":"^10.0.0","@jest/globals":"^30.5.2","@babel/preset-env":"^7.28.3"},"publishedVersion":"3.4.3","_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/project-agent-memory_3.4.3_1793530024519_0.17740261835765125"}}},"time":{"created":"2026-09-14T14:21:10.133Z","modified":"2026-11-01T10:47:04.835Z","3.0.0":"2026-09-14T14:21:10.375Z","3.0.1":"2026-09-14T15:51:27.287Z","3.1.0":"2026-09-23T21:21:30.570Z","3.1.1":"2026-10-18T18:21:44.558Z","3.1.2":"2026-10-18T22:27:32.998Z","3.1.3":"2026-10-19T11:32:18.159Z","3.2.0":"2026-10-23T19:57:09.054Z","3.3.0":"2026-10-24T08:17:40.871Z","3.4.0":"2026-10-27T18:15:08.314Z","3.4.1":"2026-10-27T18:23:49.964Z","3.4.2":"2026-10-27T19:39:47.646Z","3.4.3":"2026-11-01T10:47:04.676Z"},"bugs":{"url":"https://github.com/balaji-g42/project-agent-memory/issues"},"author":{"name":"Balaji.G"},"license":"MIT","homepage":"https://github.com/balaji-g42/project-agent-memory.git","keywords":["mcp","memory","qdrant","vector-database","ai","embeddings"],"repository":{"url":"git+https://github.com/balaji-g42/project-agent-memory.git","type":"git"},"description":"MCP server for memory management using vector database","maintainers":[{"name":"balaji-g42","email":"balajig4292@gmail.com"}],"readme":"# Project Agent Memory\n\nA TypeScript MCP (Model Context Protocol) server that gives a coding agent persistent project memory - context, decisions, progress and patterns - backed by Qdrant or PostgreSQL/pgvector (via pREST), selected with one environment variable.\n\n## Features\n\n- **8 MCP tools**: `memory_create`, `memory_read`, `memory_update`, `memory_delete`, `memory_context`, `memory_graph`, `memory_admin`, `code_graph`\n- **Dual storage backend**: `MEMORY_BACKEND=qdrant` (default) or `MEMORY_BACKEND=postgres`, same tool surface either way - no code change to switch, and Qdrant deployments need no env changes to keep working. The `postgres` backend talks to Postgres/pgvector through a [pREST](https://prest.dev) instance, not a direct DB connection - vectors travel over an `X-Vector` header (registered pREST queries can't carry them as URL params without hitting HTTP 414)\n- **Hive memory**: any agent can browse, search and write other projects' memory. Public by default, with entry-level and project-level `private`; versioned writes, archived deletes. Works identically on both backends. See [Hive memory](#hive-memory)\n- **Local embeddings by default**: ONNX CPU inference in-process via `@huggingface/transformers`; no embedding service, no API key, nothing leaves the machine except the backend writes\n- **Configurable vector dimension**: `VECTOR_DIM` (default 768), Matryoshka-truncated and re-normalized\n- **Pluggable providers**: `onnx`, `openai` (any OpenAI-compatible endpoint - Ollama, LM Studio, vLLM, LiteLLM, OpenAI itself), `gemini`, `openrouter`\n- **No silent fallbacks**: a failing provider fails the call rather than returning degraded vectors\n- **Runs via `npx`**: no global install, no long-running service\n- **Performance**: connection pooling (`POOL_SIZE`, shared across backends), LRU caches for embeddings and queries, cache invalidation on write\n\n## Requirements\n\n- Node.js 18+\n- A reachable Qdrant instance, **or** a PostgreSQL instance with the `vector` (pgvector) extension **and** a [pREST](https://prest.dev) instance in front of it\n- No API key with the default `onnx` provider\n\n## Install\n\n### One command (recommended)\n\n```bash\nnpx -y project-agent-memory@3.4.3 setup\n```\n\nIt asks for anything not given as a flag, then:\n\n- finds an existing install (`mem`, legacy `pam`, `memory` or `memory-qdrant-mcp` in `~/.claude.json`, old plugin options, or `~/mcp/project-agent-memory/config.json`) and offers reuse (default), replace or abort; reuse imports its settings and re-registers it as `mem`\n- for a local target, starts Qdrant or pgvector from `~/mcp/project-agent-memory/stack/<backend>/` with Docker, generating the pgvector secrets on first run\n- writes `config.json`, checks the store is reachable, and stops without changing anything if an existing collection's vector size differs from `VECTOR_DIM` (Qdrant: offers a re-embed with backups, default no)\n- registers for the chosen mode, backing up `~/.claude.json` and `settings.json` first and only adding entries\n- verifies with a real round-trip on a throwaway project\n\n| Flag | Values |\n|---|---|\n| `--mode` | `plugin` (default), `mcp` (server + hooks + skill + `/memory-sync`), `skill` (server + skill), `vault` (Markdown vault, no server) |\n| `--backend` / `--target` | `qdrant` (default) or `pgvector` / `local` (default) or `cloud` |\n| `--qdrant-url`, `--qdrant-key` | Qdrant cloud |\n| `--prest-url`, `--prest-jwt-key`, `--prest-database`, `--prest-admin` | pgvector via pREST, cloud |\n| `--vault-path` | vault mode, default `~/.claude/vault` |\n| `--replace-memory` | replace an existing install instead of reusing it |\n| `--yes` | take every default, no prompts |\n\nThe three options below are what setup does per mode, for doing it by hand. All of them need a reachable Qdrant or Postgres - see [Setup](#setup) below.\n\n### 1. Claude Code plugin\n\nBundles the MCP server, the agent skill, and memory-first session hooks (detects `git commit`, nudges the agent to log it, hard-blocks `Stop` until it does) in one install.\n\nThe repo is its own marketplace (`balaji-g42`). Inside Claude Code:\n\n```text\n/plugin marketplace add balaji-g42/project-agent-memory\n/plugin install pam@balaji-g42\n```\n\nUpdates: third-party marketplaces do not auto-update by default. Turn it on once with `/plugin marketplace configure balaji-g42`, or in `settings.json`:\n\n```json\n{ \"pluginMarketplaceSettings\": { \"balaji-g42\": { \"autoUpdate\": true } } }\n```\n\nOr update by hand with `/plugin marketplace update balaji-g42` then `/plugin update pam@balaji-g42`. A new plugin version is only seen when `version` in `.claude-plugin/plugin.json` changes, so bump it on every release.\n\nFor local development, load a checkout directly:\n\n```bash\ngit clone https://github.com/balaji-g42/project-agent-memory\nclaude --plugin-dir ./project-agent-memory\n```\n\nThe server, the CLI and the hooks read their settings from `~/mcp/project-agent-memory/config.json` (keys match the environment variables below, e.g. `{\"MEMORY_BACKEND\": \"qdrant\", \"QDRANT_URL\": \"...\", \"QDRANT_API_KEY\": \"...\"}`). A non-empty environment variable overrides the file; defaults apply when neither is set. Validate the manifest any time with `claude plugin validate .`.\n\nIncludes: `.mcp.json` (server registration), `skill/` (agent skill), `hooks/` (`SessionStart` / `PostToolUse` / `Stop`), `commands/memory-sync.md` (`/memory-sync`).\n\n### 2. Agent Skill only\n\nJust the \"when and how to use these tools\" instructions - no hooks, no bundled server registration. Pair it with a manual MCP config (option 3).\n\n- **Claude Code**: copy `skill/*` into `.claude/skills/project-agent-memory/` (project) or `~/.claude/skills/project-agent-memory/` (global)\n- **Claude.ai**: zip `skill/` and upload via Settings → Features → Skills\n\nSee [`skill/README.md`](skill/README.md).\n\n### 3. MCP server only (manual)\n\nRegister the server yourself - no skill, no hooks.\n\n```bash\nnpx -y project-agent-memory\n```\n\nOr from source:\n\n```bash\ngit clone https://github.com/balaji-g42/project-agent-memory\ncd project-agent-memory\nnpm install\nnpm run build\nnode dist/index.js\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"mem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"project-agent-memory@3.4.3\"],\n      \"env\": {\n        \"QDRANT_URL\": \"http://localhost:6333\"\n      }\n    }\n  }\n}\n```\n\nClient-specific templates are in [`skill/`](skill/): `claude-config.example.json`, `vscode-mcp-config.example.json`, `cursor-config.example.json`.\n\n## Setup\n\n### 1. Storage backend\n\nPick one. `MEMORY_BACKEND` defaults to `qdrant`, so existing deployments need no changes.\n\n#### Qdrant (default)\n\n```bash\ndocker run -p 6333:6333 -v ./qdrant_storage:/qdrant/storage qdrant/qdrant\n```\n\n```env\nMEMORY_BACKEND=qdrant\nQDRANT_URL=http://localhost:6333\nQDRANT_API_KEY=\n```\n\n#### PostgreSQL / pgvector (via pREST)\n\n`MEMORY_BACKEND=postgres` doesn't connect to Postgres directly - it goes through [pREST](https://prest.dev), which exposes registered SQL queries over HTTP. You need both Postgres (with `vector`) and pREST reachable:\n\n```yaml\nservices:\n  postgres:\n    image: pgvector/pgvector:pg17\n    environment:\n      POSTGRES_PASSWORD: postgres\n      POSTGRES_DB: memory\n    volumes:\n      - ./pg_data:/var/lib/postgresql/data\n    ports:\n      - \"5432:5432\"\n\n  prest:\n    image: prest/prest\n    environment:\n      PREST_PG_HOST: postgres\n      PREST_PG_USER: postgres\n      PREST_PG_PASS: postgres\n      PREST_PG_DATABASE: memory\n      PREST_JWT_KEY: change-me\n    ports:\n      - \"3000:3000\"\n    depends_on:\n      - postgres\n```\n\n```env\nMEMORY_BACKEND=postgres\nPREST_URL=http://localhost:3000\nPREST_JWT_KEY=change-me\nPREST_REGISTER_ADMIN=admin\nPREST_DATABASE=memory\n```\n\nThe `vector` extension, both tables (`memory_collections`, `memory_points`) and the registered pREST queries the server calls are created automatically on first connect - no manual migration step. `PREST_JWT_KEY` must match the key pREST's own config was started with (used to sign the admin bearer token for registered-query calls). See [`instructions/migration_plan.md/plan.md`](instructions/migration_plan.md/plan.md) §4 for the schema and design notes. If you have existing data in Qdrant and want to move it into Postgres, see [Migrating Qdrant data into Postgres](#migrating-qdrant-data-into-postgres) below.\n\n### 2. Configuration\n\nMinimum - everything else has a working default:\n\n```env\nQDRANT_URL=http://localhost:6333\n```\n\nCommon settings:\n\n```env\nMEMORY_BACKEND=qdrant\nPOOL_SIZE=10\n\nQDRANT_URL=http://localhost:6333\nQDRANT_API_KEY=\n\n# postgres backend only\nPREST_URL=http://localhost:3000\nPREST_JWT_KEY=\nPREST_REGISTER_ADMIN=admin\nPREST_DATABASE=memory\n\nVECTOR_DIM=768\nDISTANCE_METRIC=Cosine\n\nEMBEDDING_PROVIDER=onnx\nEMBEDDING_MODEL=nomic-ai/nomic-embed-text-v1.5\nONNX_DTYPE=q8\n\nSUMMARIZER_PROVIDER=openrouter\nSUMMARIZER_MODEL=openai/gpt-oss-20b:free\nOPENROUTER_API_KEY=\n```\n\nThe full environment-variable reference, including the Postgres table, is in [`skill/MCP-CONFIG.md`](skill/MCP-CONFIG.md).\n\n**Changing `VECTOR_DIM` destroys data on Qdrant.** On the next call the server sees the size mismatch against the stored collection, warns on stderr, deletes that collection and recreates it empty. On Postgres the vector column width is fixed at schema-creation time; a mismatch instead throws a descriptive error and changes nothing.\n\n### Embedding providers\n\n| Provider | Notes |\n|----------|-------|\n| `onnx` (default) | In-process CPU inference. `nomic-ai/nomic-embed-text-v1.5`, 768 dims, ~140MB at `q8`, downloaded once into `~/mcp/project-agent-memory/models` so `npx` runs reuse it |\n| `openai` | Any endpoint speaking `/v1/embeddings`. Set `OPENAI_BASE_URL`; for Ollama use `http://localhost:11434/v1` |\n| `gemini` | Requires `GEMINI_API_KEY` |\n| `openrouter` | Requires `OPENROUTER_API_KEY` |\n\nAn unrecognized `EMBEDDING_PROVIDER` is a startup error.\n\n## Tools\n\nAll eight take `project_name` (case-sensitive; it selects the `memory_bank_<project_name>` collection).\n\n`memory_type` is one of: `productContext`, `activeContext`, `systemPatterns`, `decisionLog`, `progress`, `contextHistory`, `customData`, `knowledgeLink`.\n\nThe four CRUD tools take arrays, so a single write and a batch write use the same call shape - send one element or many.\n\n### memory_create\nStore entries. `project_name`, `items[]` of `{ memory_type, content, id?, metadata?, private? }` (min 1), optional `target_project`. `metadata` holds filterable fields such as `status`, `priority` or `dataType`. Returns `[{ id, type, version }]`.\n\n### memory_read\nRetrieve entries. `project_name`, `queries[]` of `{ query_text?, memory_type?, metadata_filter?, limit?, heat? }` (min 1, `limit` default 5), optional `target_project` (array, max 5) to search other projects' public memory: default `limit` 3, max 10, `heat` 1-10 (10 strict, 1 lenient, default 5), results tagged with their `project`.\nWith `query_text` a query is a semantic search; without it, a recency-ordered listing that embeds nothing. `metadata_filter` matches on the fields stored by `memory_create`; an array value matches any of its elements. A single query returns `[{ id, score, content, type, timestamp, metadata }]`; several return one such array per query.\n\n### memory_update\nUpdate entries by id. `project_name`, `items[]` of `{ id, content?, metadata?, private?, expected_version? }` (min 1), optional `target_project`. Content is re-embedded when supplied; omitting it keeps the stored vector. `metadata` is shallow-merged. Another project's entry requires `expected_version`; a stale one returns a conflict. Returns `[{ id, updated, version }]`.\n\n### memory_delete\nDelete entries. `project_name`, `ids` (array, min 1), optional `target_project`. Your own project: permanent. Another project: archived, restorable by its owner. Returns `{ deleted }`.\n\n### memory_context\nRead, and optionally patch, the project's working state. `project_name`, optional `product_context`, optional `active_context`, `pattern_limit` (default 20). Patches are shallow-merged and the previous version is written to `contextHistory`; reads happen after writes. Initializes the workspace when product context is empty.\n\n### memory_graph\nKnowledge graph over the entries. `project_name`, `op`:\n- `link` - `edges[]` of `{ from_id, to_id, relation, description? }`. Returns the created edges.\n- `neighbors` - `id`, optional `relation`, `depth` (default 1), `direction` (`outgoing` / `incoming` / `both`, default `both`). Walks the graph outwards and returns `{ neighbors: [{ id, depth, via, content, type }], edges }`.\n- `unlink` - `link_ids` (the edges' own ids). Returns `{ deleted }`.\n\nEdges are stored in the same collection as ordinary points of type `knowledgeLink`; no second collection and no extra service.\n\n### memory_admin\n`project_name`, `op`:\n- `export` - optional `memory_types`. Returns the memory bank as markdown.\n- `import` - `markdown` in this server's own export format. Returns `{ imported, errors, timestamp }`.\n- `summarize` - `content`. Returns a condensed version, for shrinking a long text before storing it.\n- `create_collection` - creates an empty memory bank for `project_name`. Every other tool returns an error instead of creating a missing bank, so the model confirms the name with the user first. Set `AUTO_CREATE_COLLECTIONS=true` to restore implicit creation. Errors if the bank already exists.\n- `list_projects` - the other projects whose memory you can see.\n- `set_visibility` - `visibility` `public` | `private`, the project default (an entry's own `private` flag wins).\n- `list_archive` / `history` / `restore` / `purge` - inspect and manage archived and superseded entries (`ids` for the last three).\n- `delete_collection` - permanently deletes the entire memory bank (collection, archive and all its points) for `project_name`. No confirmation step - irreversible.\n\nFull parameter tables and return shapes: [`skill/API-REFERENCE.md`](skill/API-REFERENCE.md).\n\n### Hive memory\nMemory is public to other projects by default; mark entries or a whole project `private`. Entry flag beats project default beats public, evaluated at read time. Cross-project search is retrieval only. Foreign writes are versioned (`expected_version`) and the previous version is kept; foreign deletes are archived. On upgrade, every existing project gets a public settings point automatically at server start; `project-agent-memory-cli upgrade --all [--dry-run] [--private a,b]` does it on demand. Never store secrets in memory; a regex scan marks obvious ones private as a backstop.\n\n### code_graph\nCode index graph, stored in its own `code_graph_<project_name>` collection, separate from the memory bank. `project_name`, `op`:\n- `index` - optional `root` (default: the server's working directory). Parses the repo in-process with the bundled tree-sitter grammars (TS/TSX, JS, Python, Java, Rust, Go, C#, Kotlin, Dart, Swift, C, C++, PHP, Ruby, Lua) and writes nothing into the repo. It re-embeds only the nodes whose label, location or edges changed and deletes stale ones. Returns `{ nodes, upserted, deleted }`.\n- `query` - `query`, `depth` (0-3, default 1), `limit` (1-20, default 5), optional `relation`. Seeds come from a semantic search plus an exact label match, followed by a walk over the callers and callees stored on each node. Returns text, with `*` marking a seed and `-` marking a neighbour, and `-calls->` / `<-calls-` for edges.\n- `stats` - returns `{ indexed, nodes }`.\n\nPlugin hooks built on it:\n- `SessionStart` loads the context and reports the code-graph status.\n- `UserPromptSubmit` injects the top matching memories and code nodes.\n- `PreToolUse` on `Grep|Glob` nudges once per session towards `code_graph`.\n- `PostToolUse` on edits reindexes asynchronously.\n\nThe hooks only act on the graph after a first `op=index`.\n\n### Migrating from memory-qdrant-mcp v2.x\n\nThe package was renamed `memory-qdrant-mcp` → `project-agent-memory` at v3.0. Same server, same Qdrant collections (`memory_bank_<project>` in both versions), so **your existing data carries over untouched** - only the package name, the tool surface and some config keys change.\n\n**1. Tools: 35 → 7.** Every v2 tool name is gone. The per-tool mapping is in [`skill/SKILL.md`](skill/SKILL.md).\n\n**2. Config keys.** Everything not listed here is unchanged.\n\n| v2.x | v3.0 | Notes |\n|------|------|-------|\n| `QDRANT_POOL_SIZE` | `POOL_SIZE` | Old name still read as a fallback; applies to whichever backend `MEMORY_BACKEND` selects |\n| `DEFAULT_TOP_K_MEMORY_QUERY` | *(removed)* | No longer read. Pass `limit` per query in `memory_read` instead |\n| `EMBEDDING_PROVIDER=fastembed` | `EMBEDDING_PROVIDER=onnx` | `onnx` is the new default and runs in-process on CPU |\n| `EMBEDDING_PROVIDER=ollama` | `EMBEDDING_PROVIDER=openai` + `OPENAI_BASE_URL=http://localhost:11434/v1` | Ollama is now reached through the OpenAI-compatible provider. `OLLAMA_API_URL` still exists but only drives the **summarizer** |\n| `EMBEDDING_MODEL=qwen/qwen3-embedding-8b` | `EMBEDDING_MODEL=nomic-ai/nomic-embed-text-v1.5` | New default, 768 dims |\n| `VECTOR_DIM` default `3072` | default `768` | **Read the warning below before you start the v3 server** |\n| *(none)* | `MEMORY_BACKEND` | Defaults to `qdrant`, so a v2 deployment needs no change |\n\n**`VECTOR_DIM` is the one that will bite you.** If your v2 collections were built at 3072 and you start v3 without setting `VECTOR_DIM`, the server sees 768 against a 3072 collection and refuses every call on it with an error naming the stored size. Nothing is deleted. Either pin `VECTOR_DIM` (and `EMBEDDING_PROVIDER`/`EMBEDDING_MODEL`) to what v2 used, or re-embed the collection in place with the v3 model:\n\n```bash\nnpx -p project-agent-memory project-agent-memory-cli migrate <project_name> --dry-run\nnpx -p project-agent-memory project-agent-memory-cli migrate <project_name>   # or --all\n```\n\n`migrate` copies the collection to `memory_bank_<project_name>_backup` and checks the count, then rebuilds `memory_bank_<project_name>` at the current `VECTOR_DIM`, re-embedding every point from its stored `content` with the current `EMBEDDING_PROVIDER`/`EMBEDDING_MODEL`. Ids and payloads are kept, and no v2 API key is needed. If it stops part way, run it again with `--resume`. The backup is kept; once you have checked the result, delete it with `memory_admin op=delete_collection project_name=<project_name>_backup`. Qdrant only. Restart the MCP server afterwards.\n\n**3. Update the MCP registration.** The command changes in both deployment shapes.\n\nLocal (embeddings computed on this machine, Qdrant on localhost):\n\n```json\n{\n  \"mcpServers\": {\n    \"mem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"project-agent-memory@3.4.3\"],\n      \"env\": {\n        \"QDRANT_URL\": \"http://localhost:6333\",\n        \"VECTOR_DIM\": \"768\",\n        \"EMBEDDING_PROVIDER\": \"onnx\",\n        \"EMBEDDING_MODEL\": \"nomic-ai/nomic-embed-text-v1.5\"\n      }\n    }\n  }\n}\n```\n\nSelf-hosted / cloud Qdrant (remote instance, API key, embeddings still local):\n\n```json\n{\n  \"mcpServers\": {\n    \"mem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"project-agent-memory@3.4.3\"],\n      \"env\": {\n        \"MEMORY_BACKEND\": \"qdrant\",\n        \"QDRANT_URL\": \"https://qdrant.example.com\",\n        \"QDRANT_API_KEY\": \"...\",\n        \"POOL_SIZE\": \"10\",\n        \"VECTOR_DIM\": \"768\",\n        \"DISTANCE_METRIC\": \"Cosine\",\n        \"EMBEDDING_PROVIDER\": \"onnx\",\n        \"EMBEDDING_MODEL\": \"nomic-ai/nomic-embed-text-v1.5\",\n        \"ONNX_DTYPE\": \"q8\",\n        \"SUMMARIZER_PROVIDER\": \"openrouter\",\n        \"SUMMARIZER_MODEL\": \"openai/gpt-oss-20b:free\",\n        \"OPENROUTER_API_KEY\": \"...\"\n      }\n    }\n  }\n}\n```\n\nOn Windows, `\"command\": \"npx\"` may need to be `\"command\": \"cmd\", \"args\": [\"/c\", \"npx\", \"-y\", \"project-agent-memory\"]`.\n\n**4. If you want to land on the Postgres backend instead.** v2 had no Postgres backend - it was Qdrant-only - so this is an upgrade *and* a backend switch, and the data has to be copied across. Do it in this order:\n\n*a. Decide the embedding model first.* This is the whole difficulty. The migration script copies vectors verbatim; it does not re-embed. v2's default was `qwen/qwen3-embedding-8b` at 3072 dims, v3's is `nomic-ai/nomic-embed-text-v1.5` at 768. Vectors from two different models are not comparable, so if you migrate 3072-dim v2 points into a 768-dim collection and then let v3 write new memories with `onnx`, every similarity score between the old and new rows is meaningless - searches will look like they work and quietly rank wrong. Pick one:\n\n| | Do this | Cost |\n|---|---|---|\n| **Keep v2's embeddings** | Set `VECTOR_DIM=3072` and the same `EMBEDDING_PROVIDER`/`EMBEDDING_MODEL` v2 used, then migrate | v2's `fastembed` and `ollama` embedding providers don't exist in v3, so this only works if v2 used `openrouter` or `gemini` |\n| **Re-embed on v3 (recommended)** | Run `project-agent-memory-cli migrate` on Qdrant first (above), then copy with the script at `VECTOR_DIM=768` | One extra step |\n\nMigrating anyway and re-embedding later is possible - `memory_update` re-embeds the row it touches - but there is no bulk re-embed command.\n\n*b. Stand up Postgres + pgvector + pREST* as in [PostgreSQL / pgvector (via pREST)](#postgresql--pgvector-via-prest) above. No manual DDL: the migration script creates the `vector` extension, `memory_collections`, `memory_points`, the indexes and the registered pREST queries itself, and is idempotent.\n\n*c. Copy the data.* Point ids and payloads are preserved 1:1; re-running is an upsert, so a failed run is safe to repeat.\n\n```bash\nnode skill/migrate-qdrant-to-pgvector.mjs --project <your-project> \\\n  --qdrant-url https://qdrant.example.com --qdrant-api-key ... \\\n  --prest-url http://localhost:3000 --prest-jwt-key change-me \\\n  --vector-dim 3072 \\\n  --dry-run\n```\n\nDrop `--dry-run` once the reported counts look right. Use `--all` instead of `--project` to move every collection on the Qdrant server in one pass. Full flag list via `--help`.\n\n*d. Switch the MCP registration* to the Postgres backend. Local:\n\n```json\n{\n  \"mcpServers\": {\n    \"mem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"project-agent-memory@3.4.3\"],\n      \"env\": {\n        \"MEMORY_BACKEND\": \"postgres\",\n        \"PREST_URL\": \"http://localhost:3000\",\n        \"PREST_JWT_KEY\": \"change-me\",\n        \"PREST_REGISTER_ADMIN\": \"admin\",\n        \"PREST_DATABASE\": \"memory\",\n        \"VECTOR_DIM\": \"768\",\n        \"EMBEDDING_PROVIDER\": \"onnx\",\n        \"EMBEDDING_MODEL\": \"nomic-ai/nomic-embed-text-v1.5\"\n      }\n    }\n  }\n}\n```\n\nSelf-hosted / cloud Postgres (pREST sits in front of it; the server never opens a Postgres TCP connection of its own):\n\n```json\n{\n  \"mcpServers\": {\n    \"mem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"project-agent-memory@3.4.3\"],\n      \"env\": {\n        \"MEMORY_BACKEND\": \"postgres\",\n        \"PREST_URL\": \"https://prest.example.com\",\n        \"PREST_JWT_KEY\": \"...\",\n        \"PREST_REGISTER_ADMIN\": \"admin\",\n        \"PREST_DATABASE\": \"memory\",\n        \"POOL_SIZE\": \"10\",\n        \"VECTOR_DIM\": \"768\",\n        \"DISTANCE_METRIC\": \"Cosine\",\n        \"EMBEDDING_PROVIDER\": \"onnx\",\n        \"EMBEDDING_MODEL\": \"nomic-ai/nomic-embed-text-v1.5\",\n        \"ONNX_DTYPE\": \"q8\",\n        \"SUMMARIZER_PROVIDER\": \"openrouter\",\n        \"SUMMARIZER_MODEL\": \"openai/gpt-oss-20b:free\",\n        \"OPENROUTER_API_KEY\": \"...\"\n      }\n    }\n  }\n}\n```\n\n`PREST_JWT_KEY` must be the same key pREST itself was started with. `QDRANT_URL`/`QDRANT_API_KEY` are ignored once `MEMORY_BACKEND=postgres`, so you can leave them in place during the cutover and remove them after.\n\n*e. Note the different failure mode.* On both backends a `VECTOR_DIM` mismatch throws a descriptive error and changes nothing. On Postgres the `vector(n)` column width is also fixed at schema-creation time, which means the `VECTOR_DIM` you migrate at is permanent for that database short of recreating the table.\n\nSee [Migrating Qdrant data into Postgres](#migrating-qdrant-data-into-postgres) below for the script's dimension-handling details.\n\n### Migrating Qdrant data into Postgres\n\n`skill/migrate-qdrant-to-pgvector.mjs` is a one-time, one-way copy of every point in a Qdrant collection into the Postgres backend's schema, through the same pREST endpoint the server itself uses. It's only needed if you have existing Qdrant data and want to start using `MEMORY_BACKEND=postgres` with it - the two backends are otherwise independent and nothing else moves data between them.\n\n```bash\nnode skill/migrate-qdrant-to-pgvector.mjs --project project-agent-memory \\\n  --qdrant-url http://localhost:6333 \\\n  --prest-url http://localhost:3000 \\\n  --prest-jwt-key change-me\n```\n\nSource vectors of any dimension are supported: if the Qdrant collection's vector size differs from the target `VECTOR_DIM`, the script truncates and re-normalizes (Matryoshka-style, same as the embedding layer) when the source is larger, and refuses with a clear error rather than padding when the source is smaller. Run with `--help` for the full flag list, including `--dry-run`.\n\n## Upgrading to 3.4.0\n\nNothing to run. On start the server adds a public settings point to every existing project; entries are not rewritten, and entries without a `visibility` flag inherit the project default (public). Existing memory therefore becomes visible to other projects: review old entries for anything sensitive and mark it `private` before upgrading, or run `project-agent-memory-cli upgrade --all --private a,b` to make chosen projects private first. Qdrant needs a server that supports filtered upserts (`update_filter`, tested on 1.19.1).\n\n## Testing\n\nInteractive:\n\n```bash\nnpm run build\nnpx @modelcontextprotocol/inspector node dist/index.js\n```\n\nOpens http://localhost:6274.\n\nTest suite (needs a reachable backend; the suites spawn `dist/index.js`, so build first). Run it through the npm script, which sets the ESM flag; plain `npx jest` fails on `import.meta`:\n\n```bash\nnpm run build\nnpm test\n```\n\n`tests/hive.test.ts` covers cross-project access and runs on either backend (`MEMORY_BACKEND=qdrant QDRANT_URL=...` or `postgres` with `PREST_URL`).\n\nSmoke test over stdio:\n\n```bash\nprintf '%s\\n' \\\n  '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\"clientInfo\":{\"name\":\"t\",\"version\":\"0\"}}}' \\\n  '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}' | node dist/index.js\n```\n\n## Development\n\n### Project structure\n\n```\nproject-agent-memory/\n├── src/\n│   ├── index.ts              # MCP server entry point, tool registrations, startup upgrade\n│   ├── bin.ts, cli.ts        # npx entry, CLI (recall, context, index, stats, migrate, upgrade)\n│   ├── setup.ts              # `setup` command: installs hooks and skill into ~/.claude\n│   ├── migrate.ts            # v2 -> v3 migration\n│   ├── config.ts             # Environment configuration and VECTOR_DIM validation\n│   ├── init.ts               # Collection creation, dimension guard, settings point\n│   ├── hive.ts               # Hive memory: visibility, versioning (CAS), archive, restore, history, upgrade\n│   ├── hiveConstants.ts      # Limits (5 projects, top-k 3/10, heat), session id, ids\n│   ├── cache.ts              # LRU caches and invalidation\n│   ├── constants.ts, types.ts, utils.ts\n│   ├── embeddings.ts         # Provider factory\n│   ├── embeddings/           # onnx, openaiCompatible, geminiVertex, openrouter, providerBase\n│   ├── backends/\n│   │   ├── prest.ts          # Qdrant-client-shaped shim over Postgres/pgvector via pREST\n│   │   └── postgres.ts\n│   ├── codegraph/            # tree-sitter extraction and per-language queries\n│   └── mcp_tools/\n│       ├── memoryBankTools.ts\n│       ├── codeGraph.ts\n│       └── summarizer.ts\n├── bin/                      # server.cjs launcher, grammar fetch, version sync\n├── dist/                     # Compiled output (generated)\n├── tests/                    # Jest suites (all-tools, hive, setup, code-graph, hooks, cache, chunking)\n├── skill/                    # Claude Agent Skill, API reference, Qdrant->Postgres migration script\n├── .claude-plugin/\n│   └── plugin.json           # Plugin manifest (name, skill path, MCP server)\n├── hooks/\n│   ├── hooks.json            # SessionStart / UserPromptSubmit / PreToolUse / PostToolUse / Stop wiring\n│   └── inject.cjs            # Context injection, prompt recall, code-graph reindex, commit auto-logging + Stop hard-block\n├── commands/\n│   └── memory-sync.md        # /memory-sync\n├── .mcp.json                 # Plugin's bundled MCP server registration\n├── .gitattributes            # LF line endings\n├── package.json\n└── tsconfig.json\n```\n\n### Build\n\n```bash\nnpm run build   # compile to dist/\nnpm run dev     # watch mode\n```\n\n## License\n\nMIT\n\n## Resources\n\n- [Model Context Protocol](https://modelcontextprotocol.io)\n- [Qdrant](https://qdrant.tech)\n- [pgvector](https://github.com/pgvector/pgvector)\n- [Transformers.js](https://huggingface.co/docs/transformers.js)\n- [OpenRouter](https://openrouter.ai)\n","readmeFilename":"README.md"}