{"_id":"@vortex-os/memory-extended","_rev":"26-9a6e12ede1a548c26641c41ae42c39ac","name":"@vortex-os/memory-extended","dist-tags":{"latest":"0.7.6"},"versions":{"0.5.1":{"name":"@vortex-os/memory-extended","version":"0.5.1","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.5.1","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"18d001431c14d40473f9d37508a26fba28833404","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.5.1.tgz","fileCount":181,"integrity":"sha512-l9JrxksAnBk+oXzBl/mddfVygVcN7k5m43HT0kp/SFDTwtn26UDJl3m0i02NlnJKkyCfzvmkhRhIcbIKDM8aWg==","signatures":[{"sig":"MEQCIA0kruVfNRc/uLfVLrb3LOxr/cZl1EIAP2JzHGKbZNGgAiB6fZbxd3xp5+2FzQ9Si0NztKf44pLx2vCs9k4Qd+kG/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":478442},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"d399eb452821851a2cb5dfc3f905ea87b681681d","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":"^0.3.0 || ^0.4.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.5.1_1780273916618_0.12071775587814226","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@vortex-os/memory-extended","version":"0.5.2","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.5.2","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"143a11f4f23fdb734b6bf04ab432747fb9756bba","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.5.2.tgz","fileCount":193,"integrity":"sha512-bnp5utMrwDbPf+Adh7UJb1/xcffLX7D41yuPp4fhInWYtIuHQ6HfusrycrJ7lm7Xv43jPZjGbMQc6wWx35EfNA==","signatures":[{"sig":"MEUCIGGmzg7D4jHYwxZPSiPucUyPRpVTcOUT/tIKZeaIm7sHAiEA2ZTvAC+Lubc8RdO+mY9rrRZ6P/WijQYfeaeXqrZJNBE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":546015},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"57bd38b231ae9348d382dc3bc7ebb587444f093c","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":"^0.3.0 || ^0.4.0 || ^0.5.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.5.2_1780480910039_0.6860167405461384","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@vortex-os/memory-extended","version":"0.5.3","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.5.3","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"62f869de6fac688846eab077063a39eeaa18abac","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.5.3.tgz","fileCount":193,"integrity":"sha512-/HGgsAO0goIjpRLfrKdrMVFySdpRsuETZlt5UpvIG+AVFk4Npfq1w8mdoDhzOf895HOqZY0Dkws4YfOOd+pswQ==","signatures":[{"sig":"MEUCIAVDXzEM6JklBSFnmk7glfg/hI2r9kDToyE7NH8RHV97AiEAyzw9C5amjPTp0AWztDQhrCupzEXAQe+dOKSNE0XGLC4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":546247},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"0f41d66c5fe9e43797edace61d265bda79182d14","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.5.3_1780526668786_0.542457236420472","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@vortex-os/memory-extended","version":"0.6.0","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.6.0","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"b06676c3323fd3fa0fb98ab934f6ca4dd0eafcb2","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.6.0.tgz","fileCount":193,"integrity":"sha512-AECTkPhcBKiVcLdXkTOt00yWzjrSYHe4Ie7dZLMG42LRDqX/zv2zU9cy9FIB29+EalDE9UdUggKrQBJV9ZE2OA==","signatures":[{"sig":"MEYCIQCISvszgDu9uca9LlAo9bJCEsgcC1pkKboQsS8E/k60qgIhAIDEwVjmPwK6sio0eO4BFwGRgnWXN0erh//gHr8pJweI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":552494},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"2c216cce5e7ee03b930bde4470d127d2b0846afa","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.6.0_1781134259061_0.07809165484073377","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@vortex-os/memory-extended","version":"0.7.0","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.0","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"4c462af658d5db20a523a7e74d6e99dccf112c17","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.0.tgz","fileCount":193,"integrity":"sha512-Jt2y6OQIqJzzHz1sm47M/z9RiU9HrYok4lPx3/sD6qYD7mMxCOOvsxoPaEc4cWjgTjFzdi3OPjaKH5DJ9wdx1A==","signatures":[{"sig":"MEUCIA+PGISpMunGmFEnB99VRlnlJ5bzjYUFyxw23lEolAEiAiEAyHJiugboW4XMkUIwjio3f3wxENhMLuh8hAh1OS25sdI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":561358},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"6373d32960c8951ad77801b82819d896559dbe6b","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.0_1781209360736_0.23956815566709522","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@vortex-os/memory-extended","version":"0.7.1","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.1","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"426203577be0b6e07c547ada014ba7537e083112","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.1.tgz","fileCount":193,"integrity":"sha512-DXfVECVmJ5FvO2JBXeF9yvOBtaTaaK4iP2L5yjCKoInQQy0O605cL6xkOtQR2xmOzpiUIeAMTRgyBed7/N9L0Q==","signatures":[{"sig":"MEYCIQCroOCIxDcto5i7bpzrazzC4cgo2f6NWqyCYzmtxzcE0AIhANauxI5Xd7B+xHU9oUJDWP+px+uMVy9ArfIkNvjPEMAu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":575142},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"9f074123faa10f13f8e8ece06fe2bc98ff1b543c","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.1_1781550726228_0.2229620082464594","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"@vortex-os/memory-extended","version":"0.7.2","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.2","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"c9d8589cf60de2c50c4d167ad5425fab315684fa","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.2.tgz","fileCount":193,"integrity":"sha512-EAqQPfWqlImfKyB82zkzkCSjXqR7sLw306Qit5WYyZdCqd3FYqAYgIWtxUXtITutW0SxmQ2ntauHJ0aeAer7SA==","signatures":[{"sig":"MEUCIFzdH/HqI6A28b0ziqraAEloHR3WAHpEnytFPjhU8l6YAiEAjhb11Ii6HBEevbRmiX1AnneqGgphwvMpQyB9HZ/T9J8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":584953},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"f1dadc8211f25b0c810ae9f2c6cca20407e2bba9","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.2_1781977683498_0.13096003218828667","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"@vortex-os/memory-extended","version":"0.7.3","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.3","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"d0d3f3d0b5c48473d78c36029f6e387d5ffaafc0","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.3.tgz","fileCount":193,"integrity":"sha512-696NU+7AUlm2W0pERm/8GlbTP9qoITnDJSCIewbTaxcVsAyh9zbTByXKZHgIJ47ktZ+Jqcbt672lWSmxphW+hA==","signatures":[{"sig":"MEUCIQDjgN+TCFv/DWR7ThaNj6K8etzQxXW2v5KG6aXgPVD1dwIgWRe9V4X6kyoKQzORVaTWVD9iYgYlxwg3K6JVwa0cM+M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":586110},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"da8942cc512b9c2bcd0213a76edfaf3d924c2db7","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node scripts/require-changelog.mjs && node scripts/require-docs-current.mjs && npm run build && node scripts/scan-leaks.mjs"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.3_1782553449387_0.5054644968437874","host":"s3://npm-registry-packages-npm-production"}},"0.7.4":{"name":"@vortex-os/memory-extended","version":"0.7.4","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.4","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"bd2fc4069712fad9468bca4f2644b99c9cf96dbb","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.4.tgz","fileCount":193,"integrity":"sha512-c7O9oMS9/83JFBLdPx8iJEu0j7PwfFEBjlG42ilVrDzcgAE/biTfvw8CLyYzTr3Pxp62C0OlqfsCyhFSc3zn5w==","signatures":[{"sig":"MEUCIQDsRqmYeWlcu2bMTKibJ2XDTOohxcsiBJ26j/sZbA0O/wIgfoZzIJWdLyjEds9MtQlEmx4rh6nNlxS36YFHYU4u0Ng=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":589868},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"06a123a8349d2cd606f0ec9db42ecfcb45ef3c9a","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node scripts/require-changelog.mjs && node scripts/require-docs-current.mjs && npm run build && node scripts/scan-leaks.mjs"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.12.1","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"24.13.1","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.4_1782688942684_0.01907349911096823","host":"s3://npm-registry-packages-npm-production"}},"0.7.5":{"name":"@vortex-os/memory-extended","version":"0.7.5","author":{"name":"vortex-os-project"},"license":"MIT","_id":"@vortex-os/memory-extended@0.7.5","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"homepage":"https://github.com/vortex-os-project/vortex#readme","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"bin":{"vortex-mcp-recall":"scripts/mcp-stdio.mjs","rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs"},"dist":{"shasum":"cadf862bf985f90c236e2d6645a46f6db9e86128","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.5.tgz","fileCount":193,"integrity":"sha512-zSGv/m0elLMrnVDYX0oOamqHGJj7cZqjYUKp3JPBs4M9jOnHFH5Ujof6n2uY4TCboEDPSIPWTnRMtwBv57gJ0A==","signatures":[{"sig":"MEYCIQCpgmKHp5IWLZs3VnzTrUoPK72o22t0s1v3rLuzcXWHGQIhAPiIMc4V4l81JoVip+eNv9RaIoSzgDVWL9Rt2tVxXxtI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":592554},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"}},"gitHead":"e75361e2f6eaf5f437dc1b4cd24deffbf015124a","scripts":{"build":"tsc -p tsconfig.json","verify":"node scripts/verify.mjs","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"node scripts/require-changelog.mjs && node scripts/require-docs-current.mjs && npm run build && node scripts/scan-leaks.mjs"},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"repository":{"url":"git+https://github.com/vortex-os-project/vortex.git","type":"git","directory":"modules/memory-extended"},"_npmVersion":"11.17.0","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"yaml":"^2.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.10.0","@types/better-sqlite3":"^7.6.13"},"peerDependencies":{"classic-level":"^3.0.0","better-sqlite3":"^12.0.0","@vortex-os/base":">=0.3.0 <1.0.0"},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"peerDependenciesMeta":{"classic-level":{"optional":true},"better-sqlite3":{"optional":false},"@vortex-os/base":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/memory-extended_0.7.5_1783155685320_0.3416953824207285","host":"s3://npm-registry-packages-npm-production"}},"0.7.6":{"name":"@vortex-os/memory-extended","version":"0.7.6","description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","license":"MIT","author":{"name":"vortex-os-project"},"homepage":"https://github.com/vortex-os-project/vortex#readme","repository":{"type":"git","url":"git+https://github.com/vortex-os-project/vortex.git","directory":"modules/memory-extended"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./sessionArchive":{"types":"./dist/sessionArchive/index.d.ts","default":"./dist/sessionArchive/index.js"},"./consolidate":{"types":"./dist/consolidate/index.d.ts","default":"./dist/consolidate/index.js"},"./sqlite":{"types":"./dist/sqlite/index.d.ts","default":"./dist/sqlite/index.js"},"./vector":{"types":"./dist/vector/index.d.ts","default":"./dist/vector/index.js"},"./recall":{"types":"./dist/recall/index.d.ts","default":"./dist/recall/index.js"},"./mcp":{"types":"./dist/mcp/index.d.ts","default":"./dist/mcp/index.js"}},"bin":{"rebuild-memory-sqlite":"scripts/rebuild-memory-sqlite.mjs","rebuild-memory-vector":"scripts/rebuild-memory-vector.mjs","vortex-mcp-recall":"scripts/mcp-stdio.mjs"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","verify":"node scripts/verify.mjs","prepublishOnly":"node scripts/require-changelog.mjs && node scripts/require-docs-current.mjs && npm run build && node scripts/scan-leaks.mjs"},"dependencies":{"yaml":"^2.6.0"},"peerDependencies":{"@vortex-os/base":">=0.3.0 <1.0.0","better-sqlite3":"^12.0.0","classic-level":"^3.0.0"},"peerDependenciesMeta":{"@vortex-os/base":{"optional":false},"better-sqlite3":{"optional":false},"classic-level":{"optional":true}},"optionalDependencies":{"@huggingface/transformers":"^3.0.0","@modelcontextprotocol/sdk":"^1.21.0"},"devDependencies":{"@types/better-sqlite3":"^7.6.13","better-sqlite3":"^12.10.0","classic-level":"^3.0.0"},"publishConfig":{"access":"public"},"gitHead":"04848c06806c1d47e4d227a86ee1a58d3886cf1d","_id":"@vortex-os/memory-extended@0.7.6","bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"_nodeVersion":"24.13.1","_npmVersion":"11.18.0","dist":{"integrity":"sha512-2ZDaOpmkcVs+iYK/EXLlHi+hQ7lOY5n+zpVBy1zP1ZU4pzJdDbJAdlSWIkjBVQuhY3HqwQwH799Ulhub2rFlIw==","shasum":"0a8f2d6faa8dbf3ba857cbf6f31eca12875b1800","tarball":"https://registry.npmjs.org/@vortex-os/memory-extended/-/memory-extended-0.7.6.tgz","fileCount":194,"unpackedSize":597072,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCsKj4FRq68dL6924c+VNulVLfk/By9RllBUx/53lsxzAIgKwC2HjdxIu+IYGt4U6scBB2tSJJQ59663BmR3WyCYw4="}]},"_npmUser":{"name":"dydan77","email":"styxii77@nate.com"},"directories":{},"maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/memory-extended_0.7.6_1786281938559_0.7538151003883333"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-01T00:31:56.483Z","modified":"2026-08-09T13:25:38.943Z","0.1.0":"2026-05-28T19:09:00.098Z","0.2.0":"2026-05-29T00:24:11.852Z","0.3.0":"2026-05-29T05:59:25.798Z","0.3.1":"2026-05-29T06:16:34.768Z","0.3.2":"2026-05-29T06:42:52.679Z","0.4.0":"2026-05-29T07:21:17.012Z","0.5.0":"2026-05-29T21:56:31.754Z","0.5.1":"2026-06-01T00:31:56.751Z","0.5.2":"2026-06-03T10:01:50.255Z","0.5.3":"2026-06-03T22:44:28.978Z","0.6.0":"2026-06-10T23:30:59.217Z","0.7.0":"2026-06-11T20:22:40.920Z","0.7.1":"2026-06-15T19:12:06.443Z","0.7.2":"2026-06-20T17:48:03.674Z","0.7.3":"2026-06-27T09:44:09.535Z","0.7.4":"2026-06-28T23:22:22.838Z","0.7.5":"2026-07-04T09:01:25.521Z","0.7.6":"2026-08-09T13:25:38.749Z"},"bugs":{"url":"https://github.com/vortex-os-project/vortex/issues"},"author":{"name":"vortex-os-project"},"license":"MIT","homepage":"https://github.com/vortex-os-project/vortex#readme","repository":{"type":"git","url":"git+https://github.com/vortex-os-project/vortex.git","directory":"modules/memory-extended"},"description":"Add-on cluster — extended memory namespaces (sqlite, vector, sessionArchive, recall, consolidate) layered on @vortex-os/base.","maintainers":[{"name":"dydan77","email":"styxii77@nate.com"}],"readme":"# @vortex-os/memory-extended\n\n<!-- docs-version: 0.7.6 -->\n\nExtended memory layer for VortEX — an **opt-in add-on** that lives on top of `@vortex-os/base`. Adds derived indexes and a conversation archive while keeping the base's markdown `_memory/` layer as the single source of truth.\n\n## What it is\n\n`memory-extended` ships as a **single npm package** with six cooperating **namespaces**:\n\n| Namespace | Purpose | Status |\n|---|---|---|\n| `sessionArchive` | Append-only JSONL log of agent sessions + SQLite metadata. Four first-party host adapters (Claude Code CLI, Codex CLI, Gemini CLI, Claude Desktop). | Shipped |\n| `consolidate` | Post-session fact-extraction proposer — read past `sessionArchive` events, propose memory candidates, operator confirms. | Shipped |\n| `sqlite` | Structured store derived from markdown memories — hard-filter queries (`byType` / `byTag` / `byPrivacy` / `updatedSince`), drift detection (log + skip, non-destructive). | Shipped |\n| `vector` | Dense retrieval over memories **and conversation sessions**. Default backend: **in-process brute-force cosine**; vectors in the shared `memory.sqlite`. Host-injected `EmbedFn` (multilingual local default). Sessions are vectorized at topic-chunk granularity via embedding-similarity segmentation. | Shipped |\n| `recall` | Two-stage hybrid retrieval **engine** (SQLite loose hard-filter → cosine rerank). Returns data, not a report. Hits carry `source` = `memory` \\| `session-archive`. `/recall <query>` command lives in `session-rituals`. | Shipped |\n| `mcp` | MCP server for any MCP host (Claude Desktop, chatbots) over stdio: read tools (`recall`, `list_memories`, `get_memory`) + document tools (`suggest_document` → `write_document` / `decline_document`, a propose-then-write pair), plus a one-line `install` into the host config. Writes are gated behind an explicit second tool call. SDK is an optional dependency. Bin: `vortex-mcp-recall`. | Shipped |\n\nThe companion module **`proactive-curator`** (shipped inside `@vortex-os/base`) handles the *in-session* counterpart to `consolidate` — live \"this looks worth capturing\" prompts during an ongoing conversation. `memory-extended/consolidate` emits proposals shaped identically to `proactive-curator`'s `Proposal` / `LLMJudge` types (that small surface is **inlined** under `src/internal/`, not imported), so a single host UX renders both surfaces.\n\n## What it is not\n\n- It does **not** replace `@vortex-os/base`'s `memorySystem`. The markdown layer remains the source of truth; this package adds *derived* indexes that can be deleted and regenerated at any time.\n- It does **not** write to `_memory/` directly. The `consolidate` namespace proposes; the operator confirms; writes go through `base`'s `memorySystem`.\n- It does **not** require all of its namespaces to be present. Use what you need; drop the rest.\n\n## Installation\n\n```sh\nnpm install @vortex-os/memory-extended @vortex-os/base better-sqlite3\n# Optional — only needed if you ingest from Claude Desktop:\nnpm install classic-level\n```\n\n`@vortex-os/base` is a required peer because this package is an **add-on layered onto a base instance** — it expects a base-scaffolded `data/` layout alongside it, not because its code imports base. (memory-extended is self-contained: its only runtime dependency is `yaml`; the `proactive-curator` types `consolidate` mirrors are inlined under `src/internal/`.) `better-sqlite3` is required for the SQLite metadata layer. `classic-level` is optional — required only when the Claude Desktop adapter is registered.\n\nThe local embedder (`@huggingface/transformers`) is an **optional dependency** — it installs automatically with this package; nothing to fetch by hand. The default model is **`Xenova/multilingual-e5-small`** (384-dim, 50+ languages incl. Korean, 512-token input, ~470 MB) — a retrieval-tuned multilingual model that downloads once on first `vector`/`recall` use and is cached. It is *asymmetric*: a `\"query: \"` prefix is applied to search text and `\"passage: \"` to indexed text automatically (the store passes the right `kind`). To use a *symmetric* model instead (e.g. `Xenova/all-MiniLM-L6-v2`, ~90 MB) pass `{ model: \"...\", prefixes: null }`. To skip the local model entirely, pass your own `EmbedFn` (e.g. an OpenAI/Voyage adapter).\n\n> **Changing the embedder requires a vector rebuild.** Vectors are model-specific; even when the dimension matches (384-dim) the embedding *spaces* differ, so run `npx rebuild-memory-vector` after switching models.\n\n## Quick usage — `sessionArchive`\n\n```ts\nimport {\n  ingest,\n  claudeCodeAdapter,\n  codexAdapter,\n  geminiAdapter,\n  claudeDesktopAdapter,\n} from \"@vortex-os/memory-extended/sessionArchive\";\n\nawait ingest({\n  adapters: [claudeCodeAdapter, codexAdapter, geminiAdapter, claudeDesktopAdapter],\n  cwd: process.cwd(),\n  dataDir: \"./data\",\n  since: \"2026-05-01T00:00:00Z\",\n});\n```\n\nThe orchestrator runs each adapter's `detect()` in parallel, calls `list()` on the ones that resolve true, reads each session end-to-end, normalizes events to `VortexTranscriptEvent`, and writes raw + normalized JSONL into `data/_session-archive/` along with SQLite metadata for incremental re-scan.\n\n## Quick usage — `sqlite`\n\n```ts\nimport { MemorySqliteStore, rebuildFromMemoryDir, driftCheck } from \"@vortex-os/memory-extended/sqlite\";\n\nconst store = new MemorySqliteStore(\"./data/_indexes/memory.sqlite\");\n\n// One-shot rebuild from data/_memory/*.md (or run `npx rebuild-memory-sqlite`).\n// Mirrors the directory: upserts live files and prunes the orphan rows a\n// deleted/renamed memory leaves behind (FTS + tags pruned in lockstep), in one\n// transaction. → { scanned, upserted, skipped, deleted }\nawait rebuildFromMemoryDir(store, \"./data/_memory\");\n\n// Four hard-filter helpers.\nconst rules = store.byType(\"feedback\");\nconst taggedRules = store.byTag(\"onboarding\");\nconst visiblePublic = store.byPrivacy(\"public\");\nconst fresh = store.updatedSince(\"2026-05-01\");\n\n// Composite query (AND across fields, OR within a list).\nconst recent = store.query({\n  type: [\"feedback\", \"project\"],\n  tags: [\"vortex\"],\n  updatedSinceMs: Date.parse(\"2026-05-20\"),\n});\n\n// Drift check — non-destructive. Returns the drifted ids; the operator\n// decides whether to re-run rebuild or treat the markdown as new truth.\nconst report = await driftCheck(store, \"./data/_memory\");\nconsole.log(`drifted ${report.drifted.length}/${report.rowsScanned}`);\n\nstore.close();\n```\n\nThe sqlite file lives under `data/_indexes/` (gitignored). Markdown remains the source of truth — the sqlite index is derived and rebuildable. See the operator decision table in [`docs/memory-extended-design.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/memory-extended-design.md#sqlite-namespace) for the rationale.\n\n## Quick usage — `vector` + `recall`\n\n```ts\nimport { MemorySqliteStore } from \"@vortex-os/memory-extended/sqlite\";\nimport { MemoryVectorStore, createLocalEmbedder } from \"@vortex-os/memory-extended/vector\";\nimport { recall, renderRecallHits } from \"@vortex-os/memory-extended/recall\";\n\nconst dbPath = \"./data/_indexes/memory.sqlite\";\nconst sqlite = new MemorySqliteStore(dbPath);\nconst vector = new MemoryVectorStore({ db: dbPath }); // default brute-force cosine backend\nconst embed = createLocalEmbedder();                  // or your own EmbedFn (OpenAI/Voyage)\n\n// One-shot rebuild from the sqlite store (or run `npx rebuild-memory-vector`).\n// Re-embeds only memories whose embeddable text changed (hash of the CAPPED embed input),\n// keeps unchanged ones, and prunes deleted ones. → { indexed, skipped, pruned }\n// Pass { force: true } to re-embed everything (the escape hatch after an\n// embedder/model change — `npx rebuild-memory-vector` does this).\nawait vector.rebuild(sqlite, embed);\n\n// The engine returns DATA — list it, or phrase one hit in conversation.\nconst result = await recall(\n  { query: \"tone feedback from last May\", k: 5 },     // intent: type/tag/month parsed loosely\n  { sqlite, vector, embed },\n);\nconsole.log(renderRecallHits(result));                // optional compact list render\n\nvector.close();\nsqlite.close();\n```\n\nThe vector index shares the same `memory.sqlite` (a `memory_vectors` table) — one file, one rebuild path. The `/recall <query>` slash command wraps this engine; register it via `createRitualRegistry({ recall: { embed } })` in `@vortex-os/session-rituals`. The engine returns structured hits rather than a report so the host can either render a list or weave a hit into conversation (operator decision 5). See [`docs/memory-extended-design.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/memory-extended-design.md#vector-namespace) for the backend/embedder rationale.\n\n**Conversation sessions** are searchable too. `vector.rebuildSessions(sessionArchiveStore, embed)` vectorizes each archived session and stores chunks under `source: \"session-archive\"` plus a `session_chunks` metadata row for hydration. Run `npx rebuild-memory-vector --sessions`. `recall` then returns session hits alongside memory hits (pass a `SessionChunkStore` as `sessionChunks` to hydrate them; without it session hits are skipped). Filter to one corpus with `/recall <q> --source session-archive`.\n\nGranularity is `\"turn\"` by default — one chunk per user+assistant exchange — which a real-data tuning run found equals or beats topic segmentation while staying simple (`\"segment\"` mode is available for coarser topic chunks). The bigger quality lever is the **content filter**: only user/assistant text is indexed; tool output (git/ls/npm dumps) and host system-reminder blocks are stripped so the index reflects what was discussed. Recall precision on short conversational turns is bounded by the embedder — the `multilingual-e5-small` default reliably ranks the on-topic hit first (it fixed a discrimination failure the earlier MiniLM default had) at the same weight class; for sharper still, swap in a stronger `EmbedFn` (e.g. `bge-m3`, heavier — best hosted on a GPU and called remotely).\n\n## Quick usage — `mcp` (memory tools over stdio)\n\nThe `mcp` namespace exposes six tools so any MCP-capable host (Claude Desktop,\nchatbots, other agents) can work with the user's memory:\n\n**Read tools** — `recall` (semantic search), `list_memories` (filtered\nsummaries), `get_memory` (one entry in full).\n\n**Document tools** — a deliberate propose-then-write pair so the only write\nsurface is gated behind an explicit second call (honoring \"auto the plumbing,\npropose the prose\" — operational records are auto-kept; formal documents are\nproposed, then written only on acceptance):\n- `suggest_document(topic, name, content, …)` — returns a preview + target path\n  + fingerprint, **writes nothing**. Flags if the target exists or was declined.\n- `write_document(…)` — the explicit second step; creates\n  `data/<topic>/<name>.md` with frontmatter (never overwrites) and records the\n  acceptance.\n- `decline_document(topic, name)` — suppresses the same suggestion for ~30 days.\n\nBecause these are memory features, they ship **inside this package** rather than\nas a separate install. The MCP SDK (`@modelcontextprotocol/sdk`) is an\n**optional** dependency, loaded at runtime only when the server runs — consumers\nwho never run it pay nothing for it.\n\nRun the bundled stdio server (usually launched by the host, not by hand):\n\n```sh\nnpx vortex-mcp-recall --data-dir ./data\n```\n\nIt self-resolves the data dir from `--data-dir`, then `VORTEX_DATA_DIR`, then the\n**nearest enclosing instance** (the closest ancestor of the cwd carrying\n`.agent/vortex.json` → its `data/`), and only then the bare cwd. That middle step\nis what makes a launch from *inside* a project folder still find the instance —\nbefore 0.7.6 it handed back the project folder itself. `rebuild-memory-sqlite` and\n`rebuild-memory-vector` resolve their defaults the same way; their explicit flags\n(`--memory-dir`, `--db`, `--data-dir`) still override everything.\nIt reads the recall index at `<dataDir>/_indexes/memory.sqlite`. The\nembedder loads once at startup and is reused for every query.\n\nClaude Desktop (`claude_desktop_config.json`, one-time setup):\n\n```json\n{\n  \"mcpServers\": {\n    \"vortex-recall\": {\n      \"command\": \"npx\",\n      \"args\": [\"vortex-mcp-recall\", \"--data-dir\", \"/absolute/path/to/instance/data\"]\n    }\n  }\n}\n```\n\nProgrammatic use (attach your own transport):\n\n```ts\nimport { vector, mcp } from \"@vortex-os/memory-extended\";\n\nconst server = await mcp.createRecallServer({\n  embed: vector.createLocalEmbedder(),\n  dbPath: \"./data/_indexes/memory.sqlite\",\n});\n// await server.connect(transport)\n```\n\n## Quick usage — `consolidate`\n\n```ts\nimport { SessionArchiveStore } from \"@vortex-os/memory-extended/sessionArchive\";\nimport { Consolidator } from \"@vortex-os/memory-extended/consolidate\";\nimport { proactiveCurator } from \"@vortex-os/base\";\n\nconst store = new SessionArchiveStore(\"./data\");\nconst consolidator = new Consolidator(store, process.cwd(), {\n  defaultLookbackDays: 7,\n});\n\n// Host-supplied LLM adapter — see @vortex-os/base \"Opt-in /curate surface\"\n// for the Claude Code wiring example.\nconst llm = new proactiveCurator.ClaudeCodeLLMJudge(async ({ prompt }) => {\n  return await invokeMySubAgent(prompt);\n});\n\nconst proposals = await consolidator.propose({}, { llm, now: new Date() });\n// Each proposal carries onAccept / onDecline thunks. Surface them to the\n// operator; on accept the memory file is written under data/_memory/<name>.md\n// via a single create-file action.\n```\n\nThe consolidator queries recently-ingested sessions from `sessionArchive`, asks the LLM for memory candidates with explicit source-event citations, drops candidates whose fingerprint is on the rejected list (30-day expiry), and returns proposals shaped exactly like `proactive-curator` outputs — so a single `/curate`-style host UX renders both in-session capture and post-session consolidation.\n\n## Privacy & network behavior\n\n- **Embedding model download.** The `vector` / `recall` namespaces use the\n  `e5-small` sentence-embedding model via `@huggingface/transformers`. On first\n  use the model weights are fetched (HTTP `GET`, read-only) from `huggingface.co`\n  and cached locally. To run fully offline: set `HF_HUB_OFFLINE=1`, pre-seed the\n  Hugging Face cache directory, or pass your own `EmbedFn` to skip the bundled\n  model entirely. No data is uploaded — the download is one-directional.\n- **Consolidation and the host LLM.** The `consolidate` namespace sends excerpts\n  of your archived session transcripts to whatever LLM adapter the host wires in\n  (the `LLMJudge` you supply). Those excerpts leave the process only through that\n  adapter; choose one whose data-handling you trust.\n- **Local storage permissions.** Archived raw transcripts, the normalized JSONL,\n  and the SQLite indexes are written under `data/_session-archive/` with\n  owner-only permissions (`0o700` dirs / `0o600` files) on POSIX hosts. This is a\n  no-op on Windows.\n- **Verbatim transcript content + git tracking.** The normalized JSONL under\n  `data/_session-archive/normalized/` stores **verbatim** conversation content —\n  every user and assistant message as it was written. If you enable git tracking\n  for that path (the normalized layer is the cross-machine source of truth, so\n  this is a reasonable choice), any secret that appeared in a transcript — an API\n  token pasted into a prompt, a password in a tool result — is committed and\n  synced along with it. To scrub such patterns *before* the normalized files are\n  written, supply an ingest-time redaction hook via `AdapterOptions.redact`\n  (passed as `options.redact` to `ingest`): it runs on every event after\n  normalization and before storage, so a regex that masks token-shaped strings\n  keeps them out of the archive entirely.\n\n## Design documents\n\n- [`docs/memory-extended-design.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/memory-extended-design.md) — cluster overview, sub-phase breakdown, industry pattern alignment\n- [`docs/transcript-adapter-design.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/transcript-adapter-design.md) — `sessionArchive` adapter interface, per-host schema mapping, on-disk storage, SQLite schema, lock-handling UX\n- [`docs/proactive-curator-design.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/proactive-curator-design.md) — in-session counterpart (separate module)\n- [`docs/architecture.md`](https://github.com/vortex-os-project/vortex/blob/main/docs/architecture.md#multi-layer-memory-architecture) — multi-layer memory architecture, source-of-truth policy\n","readmeFilename":"README.md"}