{"_id":"@adhd/sox-extension-memory-server","_rev":"14-163f8a1191b9558af9fc6e62f9515224","name":"@adhd/sox-extension-memory-server","dist-tags":{"latest":"1.4.4"},"versions":{"1.2.0":{"name":"@adhd/sox-extension-memory-server","version":"1.2.0","license":"MIT","_id":"@adhd/sox-extension-memory-server@1.2.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"9b7de061b7cc4266e2433575d96f1417496b2301","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.2.0.tgz","fileCount":7,"integrity":"sha512-KpEMkPjRZ4qYjqTbDF22AQxy3JdgWVLcLClCDuM6p1S7imwJYw4leW3SH/335ajMekbsM+fm2oYOANuejGVwSA==","signatures":[{"sig":"MEQCIG8+iB0tcZYTs8P7PR7RCZUEyYDPELQ9Fs6k6B+k2sMRAiAjNaj3TiX7EyHUR7t81A5Gjnh+tgrqqNGEg9Fi7PtF/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6275716},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.2.0.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/8f37483f85863fba35a61cc9659fe133/adhd-sox-extension-memory-server-1.2.0.tgz","_integrity":"sha512-KpEMkPjRZ4qYjqTbDF22AQxy3JdgWVLcLClCDuM6p1S7imwJYw4leW3SH/335ajMekbsM+fm2oYOANuejGVwSA==","_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio) — 19 memory_* tools over a single-file SQLite graph store with hybrid recall and deterministic enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-mcp-runtime":"0.2.0","@adhd/sox-memory-core":"0.2.0","@adhd/sox-memory-enrich":"1.1.0","@adhd/sox-service-proxy":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.2.0_1782451183324_0.9523670982958705","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@adhd/sox-extension-memory-server","version":"1.2.1","license":"MIT","_id":"@adhd/sox-extension-memory-server@1.2.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"4bf56ec57487aaccbeea35cdbb0d450c35ac3465","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.2.1.tgz","fileCount":9,"integrity":"sha512-IfaxlVan/+6x4RdDrPn/7eVKUKmAuQKLpOfpt7CSEBX9lWniGZ6KzC9c9fIZ4XVinIjwx2UkO3fB+baUAsGhKA==","signatures":[{"sig":"MEUCIQCOC6aaRYUT0a0l8B8Y7V3PCd1T3by5RHy/KSUXbmUigAIgDGMl0gc5TSO8IqXGhuBX6757nTxMftZBGrRCFQrESOo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6358513},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.2.1.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/444d8809944fabfa2c1ee8190321a66d/adhd-sox-extension-memory-server-1.2.1.tgz","_integrity":"sha512-IfaxlVan/+6x4RdDrPn/7eVKUKmAuQKLpOfpt7CSEBX9lWniGZ6KzC9c9fIZ4XVinIjwx2UkO3fB+baUAsGhKA==","_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio) — 19 memory_* tools over a single-file SQLite graph store with hybrid recall and deterministic enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-mcp-runtime":"0.2.0","@adhd/sox-memory-core":"0.2.1","@adhd/sox-memory-enrich":"1.1.0","@adhd/sox-service-proxy":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.2.1_1782502323593_0.04002477451637154","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@adhd/sox-extension-memory-server","version":"1.3.0","license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"b7aab296e146e23c38c518c17d1eb1a57fd1054d","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.0.tgz","fileCount":13,"integrity":"sha512-r+ft7srVZgk/f5yN8apkJyVWMro9rY1qmU/mcWVSEfUV0lsxCkaOarMNkpRnW+QsyEwSNFu93W+ucUykqJupHw==","signatures":[{"sig":"MEUCIFZl/CUt4keIdDfd76NYqyPKpOezky/Tu+th4CPT8qtYAiEAvpn9GstbnPsUZEXXvtKMKWxYclgRUXPTjrdXQvuL7qY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10566455},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.0.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/75cadfb50ea991e1abd3185fc284bcc7/adhd-sox-extension-memory-server-1.3.0.tgz","_integrity":"sha512-r+ft7srVZgk/f5yN8apkJyVWMro9rY1qmU/mcWVSEfUV0lsxCkaOarMNkpRnW+QsyEwSNFu93W+ucUykqJupHw==","_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio) — 19 memory_* tools over a single-file SQLite graph store with hybrid recall and deterministic enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-mcp-runtime":"0.2.0","@adhd/sox-memory-core":"0.3.0","@adhd/sox-service-proxy":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.0_1784239338675_0.9418948635965929","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@adhd/sox-extension-memory-server","version":"1.3.1","license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"8c1aa0b62b00bfc47312ba6248f8fad45abe2ae8","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.1.tgz","fileCount":15,"integrity":"sha512-3ZHDpn0QQFxC3obc1oH9QbdwsI7KkB+eXXSNCn6US2HKPUXQoTaJhlxLJk7YcJxXoumIWBubwgxKM4hHlknpIQ==","signatures":[{"sig":"MEYCIQDXJJ7QL53oMN3u3o5itsk+6NbHiVnSUNk1I2ShtAqqYAIhAJBDIJ8B28ntPtotZt2F6ZEkKex4TQYzFV0t7gI+bszm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16686661},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.1.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/881ba591f7242aa61f79d829a09b2e05/adhd-sox-extension-memory-server-1.3.1.tgz","_integrity":"sha512-3ZHDpn0QQFxC3obc1oH9QbdwsI7KkB+eXXSNCn6US2HKPUXQoTaJhlxLJk7YcJxXoumIWBubwgxKM4hHlknpIQ==","_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio) — 19 memory_* tools over a single-file SQLite graph store with hybrid recall and deterministic enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.2.0","@adhd/sox-mcp-runtime":"0.3.0","@adhd/sox-memory-core":"0.8.0","@adhd/sox-service-proxy":"0.3.0","@adhd/sox-store-adapter":"0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.1_1786494962443_0.7237118504275057","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@adhd/sox-extension-memory-server","version":"1.3.2","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"4d6c2222922cbebe61dcb222e472991cc01d43d8","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.2.tgz","fileCount":15,"integrity":"sha512-loGB3q/vwOWtffXMNNwvITJs0yKkj5Zmt4DNn3+a3hBZ/jbjrFSkqVYHL4Qll5F1KXdGz1ioIGYBd/pAwieEYQ==","signatures":[{"sig":"MEUCIFZv2wbhtgS1k5rUQt2gvHyg+C7sSUUvdA5RjGJgHZhtAiEAt5zVDkEJUKcsW+/wExDV4UqbHXSywxVuNIzqtQSoonU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20223641},"main":"./dist/index.js","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"gitHead":"3ef01dd0b00e22901e45d613c801918f2a710697","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio) — 19 memory_* tools over a single-file SQLite graph store with hybrid recall and deterministic enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"workspace:*","@adhd/sox-mcp-runtime":"workspace:*","@adhd/sox-memory-core":"workspace:*","@adhd/sox-service-proxy":"workspace:*","@adhd/sox-store-adapter":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.2_1787936314448_0.45226518239013047","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@adhd/sox-extension-memory-server","version":"1.3.3","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.3","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"83fd15580737f934d6b0592272e4f8f1597f8868","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.3.tgz","fileCount":16,"integrity":"sha512-n35dGG9KrzwNetangxiiUaPhjq5EVP1rmMdkM7zZQUp1wZQtOAI7Jjy7E7cx1/iNAnkixlRdPv+vgBNJKq2/SQ==","signatures":[{"sig":"MEYCIQCS7oo0aMtsBFeD/hxr1fjQf3Ef49Tnu8x/kmLwbhMvBwIhALp38Eg5R84iUMSmIIq+1/QKjEhdJL7mrZpLySPL69mz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC9+qK4jqlwNfuX0MSPpvjXz+8dmQgwSUccLDVpNkZRZAIgV/OC3MjBeNWXnq1GGe1hb8CrvgNjzrmDBiSLhUPrlUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24303313},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.3.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/d44d293aaafdf7c02e5c3d146955a0a0/adhd-sox-extension-memory-server-1.3.3.tgz","_integrity":"sha512-n35dGG9KrzwNetangxiiUaPhjq5EVP1rmMdkM7zZQUp1wZQtOAI7Jjy7E7cx1/iNAnkixlRdPv+vgBNJKq2/SQ==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 20 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.0","@adhd/sox-mcp-runtime":"0.3.2","@adhd/sox-memory-core":"0.10.0","@adhd/sox-service-proxy":"0.4.0","@adhd/sox-store-adapter":"0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.3_1788566540581_0.5812430729688085","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@adhd/sox-extension-memory-server","version":"1.3.4","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.4","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"df237d0eca004e2ab704f75b06e47953da9b50d4","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.4.tgz","fileCount":18,"integrity":"sha512-9pmQ+qAOMGIfTvlqQ6OrNlm1XjWjjUDIR34ajtf5lPMaDXhtGgBkNFUzRaFTTm7EwXVyQ9UAhThmxPuIQ9bANw==","signatures":[{"sig":"MEQCIBsyF5siDUYezdduekUku5XGUXxQSjXAvcAqehCcHPFoAiBWPu2uv8hiVgh7owf2CmrTNm29WbsO6wgAAteIWUYRxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCnSpDvs060UJ+2lsD7AJmuBbAa+6get8uw28Oi3mauKQIhAKBa8sbCfj3+GHpJuHM3OdEuPwi8JWF5zcWpud9fjS+V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27311545},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.4.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/24e49bb1ecf2daea4b43371781ef7880/adhd-sox-extension-memory-server-1.3.4.tgz","_integrity":"sha512-9pmQ+qAOMGIfTvlqQ6OrNlm1XjWjjUDIR34ajtf5lPMaDXhtGgBkNFUzRaFTTm7EwXVyQ9UAhThmxPuIQ9bANw==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 20 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.1","@adhd/sox-mcp-runtime":"0.3.3","@adhd/sox-memory-core":"0.11.0","@adhd/sox-service-proxy":"0.4.3","@adhd/sox-store-adapter":"0.9.3"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.4_1790298606487_0.11764507656322998","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@adhd/sox-extension-memory-server","version":"1.3.5","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.5","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"8f00e8fb3c74ad1f47c81f8e45a84ee67c1a7d1c","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.5.tgz","fileCount":18,"integrity":"sha512-zle32i665v/m74x0YgkxlgPi+zY6UGb5w7nfsZ5vdEL5afdfDVPTX56ADKU/A1YdmgSs5uSL05BWgPvofVuUsA==","signatures":[{"sig":"MEUCIQCY3Rjx1ZlAy1lZcFI0X5/4C9Nx7ZcMmlG0t3Y3XmrwGgIge8qb4AnzwIRNuK/pFlIZUOwcIdYKcIpH4L9AAJRpF2U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIElSEupeej/DsVieUUEGnb1rCgB6dNvuShFySPNqiQnsAiEAgN5NjUU3FyKFrFY4qQhx8k0cQGFCIpCz6s+XMA4KdgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27781286},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.5.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/7261a528f11b32996f1365e17cb575cc/adhd-sox-extension-memory-server-1.3.5.tgz","_integrity":"sha512-zle32i665v/m74x0YgkxlgPi+zY6UGb5w7nfsZ5vdEL5afdfDVPTX56ADKU/A1YdmgSs5uSL05BWgPvofVuUsA==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 20 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.2","@adhd/sox-mcp-runtime":"0.3.3","@adhd/sox-memory-core":"0.11.1","@adhd/sox-service-proxy":"0.4.4","@adhd/sox-store-adapter":"0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.5_1790391341036_0.5574638288509475","host":"s3://npm-registry-packages-npm-production"}},"1.3.6":{"name":"@adhd/sox-extension-memory-server","version":"1.3.6","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.3.6","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"e7ebf37fc4398357b050c7643ceee88421fa2ebe","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.3.6.tgz","fileCount":18,"integrity":"sha512-D//Vc4lYNhqJDEyLy5rZoJbM87o97USV8wk1iPGRg2x0SapCyBEdcfrD6T3Cxe6J3m7qX7QdJkSMJej1YEaomw==","signatures":[{"sig":"MEUCIGvldhDfoZq9Yx3Al47pdLMhgHHk0fueo2jWJEUKlDNRAiEAsZrmSfVh5ex8PuMR/SSDyU05ZX5H/3vnOnbLEwuWvpI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIE1W7jjSsHG0Ms5G1Nqh3BGABB07VxGb8diyLDFbAIlbAiALPULzM1Q4kYOK5XHZd2lXIJk4CckDooX2BYj+AbUXTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27797895},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.3.6.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/b5a67fd9e121cf88100f5916a91c940a/adhd-sox-extension-memory-server-1.3.6.tgz","_integrity":"sha512-D//Vc4lYNhqJDEyLy5rZoJbM87o97USV8wk1iPGRg2x0SapCyBEdcfrD6T3Cxe6J3m7qX7QdJkSMJej1YEaomw==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 20 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.2","@adhd/sox-mcp-runtime":"0.3.3","@adhd/sox-memory-core":"0.11.2","@adhd/sox-service-proxy":"0.4.4","@adhd/sox-store-adapter":"0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.3.6_1790397559193_0.5951034659961387","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@adhd/sox-extension-memory-server","version":"1.4.0","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.4.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"5f0e0f19fc1a976cd397257179408f54ff96fcf2","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.4.0.tgz","fileCount":20,"integrity":"sha512-qqjDuxyw/JCqK7RRWB5TB3bUQt2oEclkUg8r8hxC7F60pTzgbzsr4rUHazQN+6Y2y4ZKpNRcnYcnq4C1wvStyg==","signatures":[{"sig":"MEUCIBZjdi7qNxEE96mb3h1Ac+Xjj4PuRs3CPow7T+2XMPp5AiEAoZUE/46wOnCgsvNQA8aCPGDL2YIM59HF8yq0had1nNE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGJzCVWf+CGEekLp4dJqRxdw8SC/YuhQxVueBFTDQ/mDAiAkwt8WqD+M/cTy+7PtNm0IDugLUOOw+b5m4BdR1ePdsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32066165},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.4.0.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/3ee30ccf323468c2b25a5d4dc6eb7e08/adhd-sox-extension-memory-server-1.4.0.tgz","_integrity":"sha512-qqjDuxyw/JCqK7RRWB5TB3bUQt2oEclkUg8r8hxC7F60pTzgbzsr4rUHazQN+6Y2y4ZKpNRcnYcnq4C1wvStyg==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.2","@adhd/sox-mcp-runtime":"0.3.4","@adhd/sox-memory-core":"0.12.0","@adhd/sox-service-proxy":"0.5.0","@adhd/sox-store-adapter":"0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.4.0_1790650401950_0.2815320545830162","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@adhd/sox-extension-memory-server","version":"1.4.1","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.4.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"b46de75485f34c765d94aa86a1c3ce5ca88ccb6d","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.4.1.tgz","fileCount":20,"integrity":"sha512-+d9TAF94IAald8nv9AzSiepLl9yGpTa6saJN+/BVlQkLo20maR42MK3I5I2hb+hll341XVFqQdLEyXValT5Vpw==","signatures":[{"sig":"MEYCIQCZwjPws+rsaoZmBtLlJcW9k4FVl+CNPXUwVNHIXxYp1AIhAMDzo5Z/3XO9hUMjxE+z0SI1ut6nLdovl2IzBbHqXeK+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDWPfxlbuY1NWRW1SuLJQiMUe4nmIoHo32ljaNslSc32AiAi84BiOwjiVxa8r3ncnUj3vbPqXIOUJmnMgv8Fdqy76w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32191590},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.4.1.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/9fd5dcb07f30b50041a67a39b4fac982/adhd-sox-extension-memory-server-1.4.1.tgz","_integrity":"sha512-+d9TAF94IAald8nv9AzSiepLl9yGpTa6saJN+/BVlQkLo20maR42MK3I5I2hb+hll341XVFqQdLEyXValT5Vpw==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.2","@adhd/sox-mcp-runtime":"0.3.4","@adhd/sox-memory-core":"0.12.1","@adhd/sox-service-proxy":"0.5.0","@adhd/sox-store-adapter":"0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.4.1_1790658806538_0.5899431899278889","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@adhd/sox-extension-memory-server","version":"1.4.2","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.4.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"b6c993c7cb492d6dfd7034a37ab6f98cb3f685be","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.4.2.tgz","fileCount":22,"integrity":"sha512-PG5j6RrUr92iEhQNuc3+oUmlYUSna0dxgmjklwwMiXpBrS3vn/pEvwt9rEhuKf3L5Z/hUDLsszt5jvyRQhSyJg==","signatures":[{"sig":"MEUCIQCJNqfYyszn+dJLfwE3h1o5wPoivY9vrQlNqXSEW/m44AIgDRWLBpe2fhRsAippglHdk7kGY+XKahHK9ud9LKLJS74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC1y4CKrq1EccNY3+EOAUnkSi0k1URv9m/sDN7vSKxUnQIgQudyhIz2sSgDT//5GIEcQ0sCRZRv/KFFcJanYiHFRXE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32649170},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.4.2.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/a521b4c96cfbd8b7d2fd5ca2bdffddf6/adhd-sox-extension-memory-server-1.4.2.tgz","_integrity":"sha512-PG5j6RrUr92iEhQNuc3+oUmlYUSna0dxgmjklwwMiXpBrS3vn/pEvwt9rEhuKf3L5Z/hUDLsszt5jvyRQhSyJg==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.3.2","@adhd/sox-mcp-runtime":"0.3.4","@adhd/sox-memory-core":"0.12.2","@adhd/sox-service-proxy":"0.5.0","@adhd/sox-store-adapter":"0.13.0"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.4.2_1790727483647_0.15013767824221702","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@adhd/sox-extension-memory-server","version":"1.4.3","keywords":["mcp","memory","server","sqlite","graph","typescript"],"license":"MIT","_id":"@adhd/sox-extension-memory-server@1.4.3","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"896073017a02a441f530e7009457d0eeefda8140","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.4.3.tgz","fileCount":22,"integrity":"sha512-LKu3dqTLG/GG1VOxdrlyDm2NJssFhyQ0wACk7aGx1mUfDF09sfDWJWAqMxOfPsRt6xDflgs2zOnQBx/xxkXWwg==","signatures":[{"sig":"MEUCIQDJPynTnRF6F7lKZ+unDYsoAq7BJU/8tVja1A0M3KG53QIgC/rLH2tfV6Gdqe687JPsaSLmC+f8LHYoOLK21nsCfzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICccP8p5BaBH+1MOi9oWDdiJK3hnU9irSXLVlGUELBrTAiBcV2krVbth/etCNtI3stfUMG6cF8TGCXJWf/Y9Sy3Ydg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33239962},"main":"./dist/index.js","_from":"file:adhd-sox-extension-memory-server-1.4.3.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/b3a5a2311d78994966f39c0b2433b84c/adhd-sox-extension-memory-server-1.4.3.tgz","_integrity":"sha512-LKu3dqTLG/GG1VOxdrlyDm2NJssFhyQ0wACk7aGx1mUfDF09sfDWJWAqMxOfPsRt6xDflgs2zOnQBx/xxkXWwg==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.4.0","@adhd/sox-mcp-runtime":"0.3.5","@adhd/sox-memory-core":"0.12.3","@adhd/sox-service-proxy":"0.5.0","@adhd/sox-store-adapter":"0.13.1"},"_npmOperationalInternal":{"tmp":"tmp/sox-extension-memory-server_1.4.3_1790798915090_0.09429159312096824","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"_id":"@adhd/sox-extension-memory-server@1.4.4","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"0d9012cc8a7bec5b924717bb32fb1c4859030464","tarball":"https://registry.npmjs.org/@adhd/sox-extension-memory-server/-/sox-extension-memory-server-1.4.4.tgz","fileCount":22,"integrity":"sha512-wM+wu8vKrGUlKKCR9YA79i+duBlkcJNHbvzmzZJfnkfTDrBXi1Cw44PDIbZXuIpy+BavB5KxhLY8o7fJZlsU5w==","signatures":[{"sig":"MEQCICSdGrozv3akQOfSKcMr2tz7pVQSbZmmLzdWRwQfILiCAiBY8+VMPxq3j8csOOUYop33jCQWI+vvSqwuzT+TND+6Vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBor29cUQmLel1cQflTZnc9y5p7bryTf1YgYeNFB7JgyAiEA9Rv8Z/xtJSAgkmqpMWK0OFKWqaeNrkh//Ko3GXWmP0Y="}],"unpackedSize":33433107},"main":"./dist/index.js","name":"@adhd/sox-extension-memory-server","_from":"file:adhd-sox-extension-memory-server-1.4.4.tgz","engines":{"node":">=22"},"exports":{".":"./dist/index.js"},"license":"MIT","version":"1.4.4","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"homepage":"https://github.com/PseudoSky/adhd","keywords":["mcp","memory","server","sqlite","graph","typescript"],"_resolved":"/private/var/folders/yg/cfczgtx54bzfh74lx2_mv0z80000gp/T/240476f137b1afef6fe637b8f24a528e/adhd-sox-extension-memory-server-1.4.4.tgz","_integrity":"sha512-wM+wu8vKrGUlKKCR9YA79i+duBlkcJNHbvzmzZJfnkfTDrBXi1Cw44PDIbZXuIpy+BavB5KxhLY8o7fJZlsU5w==","repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"_npmVersion":"11.6.2","description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","directories":{},"maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"_nodeVersion":"24.11.1","dependencies":{"fastembed":"^2.1.0","sqlite-vec":"^0.1.9","better-sqlite3":"^12.10.0","onnxruntime-node":"1.21.0","@tursodatabase/database":"^0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@adhd/sox-telemetry":"0.4.0","@adhd/sox-mcp-runtime":"0.3.5","@adhd/sox-memory-core":"0.12.3","@adhd/sox-service-proxy":"0.5.0","@adhd/sox-store-adapter":"0.13.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sox-extension-memory-server_1.4.4_1790807459842_0.4803564171193322"}}},"time":{"created":"2026-06-26T05:19:43.194Z","modified":"2026-09-30T22:31:00.260Z","1.2.0":"2026-06-26T05:19:43.495Z","1.2.1":"2026-06-26T19:32:03.831Z","1.3.0":"2026-07-16T22:02:18.826Z","1.3.1":"2026-08-12T00:36:02.689Z","1.3.2":"2026-08-28T16:58:34.695Z","1.3.3":"2026-09-05T00:02:20.785Z","1.3.4":"2026-09-25T01:10:06.751Z","1.3.5":"2026-09-26T02:55:41.216Z","1.3.6":"2026-09-26T04:39:19.397Z","1.4.0":"2026-09-29T02:53:22.146Z","1.4.1":"2026-09-29T05:13:26.740Z","1.4.2":"2026-09-30T00:18:03.937Z","1.4.3":"2026-09-30T20:08:35.325Z","1.4.4":"2026-09-30T22:31:00.057Z"},"bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"license":"MIT","homepage":"https://github.com/PseudoSky/adhd","keywords":["mcp","memory","server","sqlite","graph","typescript"],"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git"},"description":"sox-memory MCP server (stdio/http/sse) — 23 memory_* tools over a Turso (default, multiprocess-write) or SQLite graph store, with hybrid recall and deterministic in-process enrichment","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"readme":"# Agent Memory Server\n\n> Durable, searchable agent memory — hybrid recall under 50 ms, zero LLM calls on either path.\n\n## Overview\n\n`@adhd/sox-extension-memory-server` is the keystone of the sox-memory subsystem: a single MCP server that owns 23 `memory_*` tools, all enrichment, clustering, and session-state persistence. There is no separate daemon process — everything, including periodic batch enrichment, runs in-process inside this one server.\n\nAll persistent state lives in one store file per scope, opened through `@adhd/sox-store-adapter`. **Turso is the default backend** and runs with `multiprocess_wal` enabled: multiple OS processes can hold concurrent write connections to the same store file, with writers serialized through a coordinator sidecar rather than one process owning the file. That means you can run several agents, several CLI invocations, and several `memory-server` instances against one store concurrently without external locking. Set `STORE_ADAPTER=sqlite` to fall back to `better-sqlite3`, which remains single-writer. Either backend is extended with vector search (Turso native vectors or `sqlite-vec`) and FTS5 for BM25 full-text search.\n\nThe read path (`memory_recall`) is strictly deterministic — local hash embedding, parallel vector + BM25 + temporal search, reciprocal-rank fusion, recency × importance reranking, all in-process with no provider call, targeting under 50 ms. The write path (`memory_write`) inserts an episode and runs synchronous write-time enrichment (provenance, tags, topic, near-duplicate check) before returning; it never blocks on an external call. Heavier batch enrichment (clustering, auto-links, importance) runs on a periodic in-process loop, or synchronously on demand via `memory_curate` with `op: \"recluster\"` — zero LLM calls, no provider required.\n\n```bash\npnpm add @adhd/sox-extension-memory-server\n```\n\n## Quick start\n\n### As an installed MCP server (the normal path)\n\n```bash\nsoxe install memory-server --host=opencode --scope=project\nsoxe serve memory-server\n```\n\nThe host spawns the process over stdio at session start (see [Transport](#transport) for persistent sse/http profiles). Once installed, an agent calls the tools directly:\n\n> **No type declarations ship with this package.** It is built as an executable bundle, so\n> `dist/` contains no `.d.ts` and `package.json` declares no `types` field. The examples below\n> are JavaScript. Importing it from TypeScript under `noImplicitAny` raises\n> `TS7016: Could not find a declaration file for module` — add your own ambient declaration, or\n> drive the package through its command line / MCP interface, which is its intended seam.\n\n```jsonc\n// memory_write\n{ \"content\": \"Fixed the write-queue deadlock by adding a busy-timeout retry.\",\n  \"project_path\": \"/Users/you/projects/my-repo\",\n  \"tags\": [\"gotcha\", \"concurrency\"] }\n// → { \"episode_uid\": \"ep-...\", \"enrichment\": { \"topic\": \"...\", \"tags\": [...], \"near_dup\": null } }\n\n// memory_recall\n{ \"query\": \"write-queue deadlock\", \"token_budget\": 50000, \"limit\": 5 }\n// → { \"results\": [{ \"uid\": \"ep-...\", \"content\": \"...\", \"score\": 0.83, \"provenance\": [\"vec\",\"fts\"] }] }\n```\n\n### Programmatically, without a host\n\nThe package also exports its tool dispatcher directly, which is how its own test suite drives it — useful for embedding the server's logic in another Node process or for scripting against a store without spinning up stdio/HTTP:\n\n```js\nimport { handleToolCall, TOOLS, resolveDbPath } from '@adhd/sox-extension-memory-server';\n\n// arg → SOX_CONFIG_DB_PATH → null. There is no inferred default: with neither,\n// resolveDbPath returns null and every store tool returns E_STORE_NOT_CONFIGURED.\nconst dbPath = resolveDbPath('~/.memory/memory.db');\n\nconst write = await handleToolCall('memory_write', {\n  db_path: dbPath,\n  content: 'The write-queue deadlock was fixed by adding a busy-timeout retry.',\n  project_path: process.cwd(),\n  tags: ['gotcha', 'concurrency'],\n});\nconst { episode_uid } = JSON.parse(write.content[0].text as string);\n\nconst recall = await handleToolCall('memory_recall', {\n  db_path: dbPath,\n  query: 'write-queue deadlock',\n  token_budget: 50000,\n  limit: 5,\n});\nconsole.log(JSON.parse(recall.content[0].text as string));\n\nconsole.log(TOOLS.map((t) => t.name).length); // 23\n```\n\n`handleToolCall(name, args)` returns `{ content: [{ type: 'text', text: string }], isError?: boolean }` — the same shape every MCP tool call returns; the payload is JSON in `content[0].text`.\n\n## When to use\n\n- An agent needs to persist facts, observations, or decisions and recall them in future sessions.\n- You need federated memory across project/user/org scopes with content-hash dedup and supersession.\n- You need session working-memory state saved and restored across conversation boundaries.\n\nDo not use `memory-server` for transient scratchpad data that doesn't need to survive a session — keep that in the host's own context window.\n\n## Tools (23)\n\n| Tool | Description |\n| --- | --- |\n| `memory_ping` | Liveness + health check. `ok:true` is only the RPC succeeding — read `status`/`store_ok`/`store_error`/`embed.state` for the real health verdict. |\n| `memory_write` | Write one episode; runs synchronous write-time enrichment. |\n| `memory_write_batch` | Write multiple episodes (a per-item dedup returns `ok:false`, not a batch failure); `project_path` required on every item. |\n| `memory_recall` | Hybrid vec + BM25 + temporal recall, target <50 ms, zero LLM; returns ranked results. |\n| `memory_search_entities` | Search entity nodes by name or summary. |\n| `memory_get_session_state` | Retrieve working-memory state for a session. |\n| `memory_save_session_state` | Upsert working-memory state for a session. |\n| `memory_get_community` | Look up the community cluster for an entity or community node. |\n| `memory_invalidate` | Bi-temporally invalidate a live node (sets `t_invalid`; never deletes). Idempotent on an already-invalid uid. |\n| `memory_update` | In-place edit of an existing live node (content, summary, tags, importance, metadata, …). Distinct from supersession — the `uid` never changes; content/summary edits re-embed automatically. |\n| `memory_link` | Create a directed edge between two existing nodes (`MENTIONS`, `SUPPORTS`, `RELATES_TO`, `DERIVED_FROM`, `SUPERSEDES`, `SAME_AS`, `ASSIGNED_TO`). |\n| `memory_topics` | List topics with episode counts. |\n| `memory_list_projects` | List distinct `project_path` values with episode counts. |\n| `memory_list_entities` | List entity nodes ranked by mention count. |\n| `memory_entity_episodes` | Return episodes that mention a given entity. |\n| `memory_related` | Return graph neighbors of an episode at depth 1. |\n| `memory_supersession_chain` | Return the full supersession chain for an episode. |\n| `memory_near_duplicates` | List near-duplicate episode pairs (`SAME_AS` edges). |\n| `memory_curate` | Curation ops: retag, set topic, set importance, merge duplicates, drop/list lenses, drop episodes, re-cluster, **`recluster_status`** (poll a global re-cluster's durable job handle to a terminal state), reheal, drain, reset/resume, unpoison, ack alarm, restore/backfill. |\n| `memory_stats` | Enrichment coverage, cluster quality, and the running tool-capability list. |\n| `memory_claim_upsert` | **SR-7.** Atomic claim of a node for a caller — one winner under a race, a distinct caller refused with the typed `E_CLAIM_HELD`, the same caller idempotent. Stored at `node.meta.claim`. |\n| `memory_claim_get` | **SR-7.** Read the live claim (holder) on a node; `claim: null` when the node is live but unheld. |\n| `memory_claim_list` | **SR-7.** List the live nodes claimed by a caller. |\n\n### Observable global re-cluster (SR-9)\n\n`memory_curate { op: \"recluster\" }` (no filters) returns a durable handle —\n`{ op, scope: \"global\", enqueued: true, seq, job_id, status: \"pending\" }` — never a\nfire-and-forget `{ enqueued: true }`. Poll `memory_curate { op: \"recluster_status\",\njob_id }` until `status` is terminal:\n\n- `completed` — the pass ran; carries the resulting `partition`\n  (`community_count`, `clustered_episodes`, `live_episodes`, `coverage`).\n- `failed` — the pass errored; carries `error`.\n- `skipped` — the pass ran but its cluster step did not (the mixed-model /\n  no-neighbour guard); carries `skip_reason`. The partition is unchanged, so this\n  is deliberately **not** reported as `completed`.\n\nThe job state lives on the `organizer_queue` trigger row it describes (no new\ntable), so it survives a store reopen and is readable from another process.\n\n## Recall algorithm\n\n1. Local hash embedding (zero provider calls).\n2. Parallel: vector KNN + FTS5 BM25 + temporal recency filter.\n3. Graph depth-1 expansion over live edges (project store).\n4. Reciprocal-rank fusion across all three signals.\n5. Rerank by `score × recency_decay × importance`.\n6. Assemble results within `token_budget` (runtime default **32000** — pass a larger value like `50000` explicitly when you need more; the assembler stops adding results once the budget is spent, so a small budget can return far fewer results than `limit` allows). The tool's advertised JSON schema (`tools/list`) currently declares a stale `default: 4000` that disagrees with this runtime value — trust this document, not the schema, until that's fixed.\n\n## Transport\n\nThree transport profiles, selectable at install time:\n\n| Profile | Install | Server lifecycle |\n| --- | --- | --- |\n| **stdio** (default) | `soxe install memory-server --host=opencode --scope=project` | Per-session — spawned by the host, dies with the session. |\n| **http** | `soxe install memory-server --profile=http --host=opencode --scope=user` | Persistent — requires `soxe service enable memory-server --scope=user`. |\n| **sse** | `soxe install memory-server --profile=sse --host=opencode --scope=user` | Persistent, same as http. Deprecated for Claude Code hosts — prefer `--profile=http` there; sse still works. |\n\n```bash\n# Development (stdio) — no persistent daemon\nsoxe install memory-server --host=opencode --scope=project\nsoxe serve memory-server\n\n# Published (persistent) — runs as a host-supervised background singleton\nsoxe install memory-server --profile=http --host=opencode --scope=user\nsoxe service enable memory-server --scope=user\n```\n\n`soxe serve memory-server --port=3099` serves stdio and TCP together, proxying both to the same backend. All profiles implement `initialize`, `tools/list`, and `tools/call`.\n\n## Lifecycle\n\n- **stdio (default):** the host spawns the process at session start; it dies with the session — no background daemon.\n- **http/sse (via `soxe service enable`):** runs as a host-supervised background singleton, health-checked over its HTTP/SSE listener by the host's OS-unit layer (`launchd` on macOS). This is the same generic service-lifecycle mechanism every `type: service` extension uses — `memory-server` has no daemon-specific IPC of its own; batch enrichment runs in-process inside this same server regardless of transport.\n\n## Configuration\n\n| Key | Description |\n| --- | --- |\n| `db_path` (tool argument) | Path to the store file for this call. Must resolve inside `~/.memory/**` when the host has permission enforcement active; omit it to use the scope default. |\n\nScope → default store path:\n\n| Scope | Default path |\n| --- | --- |\n| `project` | `<cwd>/.memory/project.db` |\n| `local` | `<cwd>/.memory/local.db` |\n| `user` | `~/.memory/user.db` |\n| `org` | `~/.memory/org.db` |\n\n## Gotchas\n\n- **`project_path` is required on every write** — there is no cwd/env inference. An omitted or empty value fails the call with `E_MISSING_PROJECT_PATH` before anything is written, and a wrong guess can't be corrected by rewriting (the content-hash dedup key ignores `project_path`); use `memory_update` to correct it in place. Reads (`memory_recall` and friends) treat an omitted `project_path` filter as \"search every project\" — that's a valid choice there, not an error.\n- **Writes are async-embedded.** By default the vector embedding lands *after* `memory_write` returns: a fresh episode is keyword/temporal-recallable immediately but vector-recallable only once the async embed completes (typically well under a second). A purely semantic `memory_recall` fired microseconds after a write can come back empty — that's expected latency, not broken recall. `memory_ping`'s `store.embed_backlog` reports how many episodes are still waiting.\n- **`memory_write`'s `near_dup` field is always `null`** in the immediate response — near-duplicate detection runs asynchronously. Call `memory_near_duplicates` afterward to check whether a `SAME_AS` edge was created.\n\n## Usage\n\n```bash\nsoxe install memory-server\n# or install the full subsystem:\nsoxe install sox-memory-bundle\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}