{"_id":"@arcanea/guardian-memory","_rev":"2-c488749c2e5c06f0b89a87d34f549f62","name":"@arcanea/guardian-memory","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@arcanea/guardian-memory","version":"0.1.0","keywords":["arcanea","guardian","memory","hnsw","vector-search","ai"],"license":"MIT","_id":"@arcanea/guardian-memory@0.1.0","maintainers":[{"name":"frankxai","email":"friemerx@gmail.com"}],"dist":{"shasum":"dc620f3c8f463621d73ce63fb6c75ec883255ef1","tarball":"https://registry.npmjs.org/@arcanea/guardian-memory/-/guardian-memory-0.1.0.tgz","fileCount":17,"integrity":"sha512-pw2IrHRfk4g42zf7vGBzus4aXRcrTVuwx8TkitohI68YamZ8amjG6tXtUcAS8gpUuk3qk4DL4ByKjRjxv/X3vQ==","signatures":[{"sig":"MEYCIQDK3E8o4791+85NVrvt8w3LgyYdGKf+Gr0zIpD4Tm9vHQIhAMxRRoGkLQcpQI42TKHMrHC+9XdP2DCJiSjery14Z3zv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115932},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./hnsw":{"types":"./dist/hnsw-index.d.ts","import":"./dist/hnsw-index.js"}},"gitHead":"9ac07671b859515142156fb9ac46f1173b22060e","scripts":{"dev":"tsc --watch","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"frankxai","email":"friemerx@gmail.com"},"_npmVersion":"11.6.1","description":"Persistent semantic memory for the Ten Guardians — HNSW vector search with Guardian-namespaced vaults","directories":{},"_nodeVersion":"24.8.0","dependencies":{"@arcanea/os":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.0","@types/node":"^20.14.0"},"_npmOperationalInternal":{"tmp":"tmp/guardian-memory_0.1.0_1771892668368_0.5918601229970493","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@arcanea/guardian-memory","version":"0.1.1","description":"Persistent semantic memory for the Ten Guardians — HNSW vector search with Guardian-namespaced vaults","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./hnsw":{"types":"./dist/hnsw-index.d.ts","import":"./dist/hnsw-index.js"}},"scripts":{"build":"tsc","dev":"tsc --watch","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"keywords":["arcanea","guardian","memory","hnsw","vector-search","ai"],"license":"MIT","publishConfig":{"access":"public"},"dependencies":{"@arcanea/core":"^0.1.0"},"devDependencies":{"@types/node":"^20.14.0","typescript":"^5.5.0"},"gitHead":"1d981b7527cd58fd975dd106565096ece6d2be15","_id":"@arcanea/guardian-memory@0.1.1","_nodeVersion":"24.8.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-sA16EDmbbqFrqRz/iGKlSNNmDYc5YTOQN7lixlPsxDJYwuEpQxzq8+0WkCWGx1cTlK8UXyQqmf+kmcRfZ28KPA==","shasum":"ce4a8778097856ced0465e124a2594a1b088c161","tarball":"https://registry.npmjs.org/@arcanea/guardian-memory/-/guardian-memory-0.1.1.tgz","fileCount":18,"unpackedSize":117086,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICrE/nKcmcwtrB4QQOvGF36tnBCTUEHmetyshGzQqOERAiEA2ctLEbDzr2zOESRxgPYm0sWs713unm6w70cUEcj0lPw="}]},"_npmUser":{"name":"frankxai","email":"friemerx@gmail.com"},"directories":{},"maintainers":[{"name":"frankxai","email":"friemerx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/guardian-memory_0.1.1_1771981912864_0.16688743842697784"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-24T00:24:28.294Z","modified":"2026-02-25T01:11:53.487Z","0.1.0":"2026-02-24T00:24:28.513Z","0.1.1":"2026-02-25T01:11:53.027Z"},"license":"MIT","keywords":["arcanea","guardian","memory","hnsw","vector-search","ai"],"description":"Persistent semantic memory for the Ten Guardians — HNSW vector search with Guardian-namespaced vaults","maintainers":[{"name":"frankxai","email":"friemerx@gmail.com"}],"readme":"# @arcanea/guardian-memory\n\nPersistent semantic memory for the Ten Guardians — HNSW vector search with Guardian-namespaced vaults.\n\n## Install\n\n```bash\nnpm install @arcanea/guardian-memory\n```\n\n## Usage\n\n```js\nconst { GuardianMemory } = require('@arcanea/guardian-memory');\nconst { HNSWIndex } = require('@arcanea/guardian-memory/hnsw');\n\nconst memory = new GuardianMemory({\n  guardian: 'oracle',\n  dimensions: 384\n});\n\n// Store a memory with its embedding vector\nawait memory.store({\n  key: 'insight-42',\n  content: 'Pattern detected in deployment logs',\n  vector: embeddingVector\n});\n\n// Semantic search using HNSW nearest-neighbor lookup\nconst results = await memory.search({\n  vector: queryVector,\n  topK: 5\n});\n\nconsole.log(results); // ranked by cosine similarity\n```\n\n## API\n\n| Export | Description |\n|---|---|\n| `GuardianMemory` | Namespaced memory vault scoped to a single Guardian |\n| `MemoryVault` | Low-level persistent storage backend |\n| `SemanticSearch` | High-level search across Guardian memory spaces |\n\n### Subpath Exports\n\n- `@arcanea/guardian-memory/hnsw` — `HNSWIndex`, `HNSWConfig` for direct vector index access\n\n## License\n\nMIT\n","readmeFilename":"README.md"}