{"_id":"@lanonasis/memory-client","_rev":"7-e3a3302977388350c9868ec6cb163f24","name":"@lanonasis/memory-client","dist-tags":{"latest":"2.2.1"},"versions":{"1.0.0":{"name":"@lanonasis/memory-client","version":"1.0.0","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol"],"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","_id":"@lanonasis/memory-client@1.0.0","maintainers":[{"name":"lanonasis","email":"info@lanonasis.com"}],"homepage":"https://docs.lanonasis.com/sdk","bugs":{"url":"https://github.com/lanonasis/memory-client/issues"},"dist":{"shasum":"f4810aed6fcd9e97311d7ba57e8607fa8272cd8c","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-1.0.0.tgz","fileCount":8,"integrity":"sha512-bWsygQotpp1OGa0U393AaKX2GEIXUj7eRofml79LBqoTqSMbvsJdvf8h+A30ueElxSOhA4lPfKAZBdqIbgW8ZA==","signatures":[{"sig":"MEUCIQDnTd4pzbU+pRkuqpigbiwkHJEzEvG/MF/CwIZtmzuSsQIgNzCBZMutlKBOeonFSlrjcPwXDal3ionm4J9+7Q9RDC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154212},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"gitHead":"b40f2064ae3abe385759ea720a564d54d4c14120","scripts":{"dev":"rollup -c -w","lint":"eslint src --ext .ts","test":"jest","build":"rollup -c","clean":"rimraf dist","test:watch":"jest --watch","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"lanonasis","email":"info@lanonasis.com"},"repository":{"url":"git+https://github.com/lanonasis/memory-client.git","type":"git"},"_npmVersion":"10.8.2","description":"Memory as a Service (MaaS) Client SDK for Lanonasis - Intelligent memory management with CLI/MCP integration and semantic search","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.23.8"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","eslint":"^9.16.0","rimraf":"^6.0.1","rollup":"^4.28.1","ts-jest":"^29.2.5","typescript":"^5.7.2","@types/jest":"^29.5.14","@types/node":"^22.9.0","rollup-plugin-dts":"^6.1.1","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@typescript-eslint/parser":"^8.15.0","@rollup/plugin-node-resolve":"^15.3.0","@typescript-eslint/eslint-plugin":"^8.15.0"},"optionalDependencies":{"child_process":"*"},"_npmOperationalInternal":{"tmp":"tmp/memory-client_1.0.0_1761456967967_0.12486426649188687","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@lanonasis/memory-client","version":"1.0.1","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol"],"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","_id":"@lanonasis/memory-client@1.0.1","maintainers":[{"name":"lanonasis","email":"info@lanonasis.com"}],"homepage":"https://docs.lanonasis.com/sdk","bugs":{"url":"https://github.com/lanonasis/memory-client/issues"},"dist":{"shasum":"2987b47001e4992efd62cfa69bb0a056e7d99986","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-1.0.1.tgz","fileCount":9,"integrity":"sha512-k60F0uV+hBcaUJ4j+hNJOvwIM7+BbV4stM3egSoB3wLo6j+XxConCO65LStLYDdwLfHRhgFv0eEEa/nvgsrqmQ==","signatures":[{"sig":"MEUCIQCflhoZaFm+5+HbzsQLgEv11h6+hhnv5IA0uberizW24gIgf7HufTCdWBQXE1mhbUaunqR2r4giEHsxOEx6DGVyJU8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":365886},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"scripts":{"dev":"rollup -c -w","lint":"eslint src --ext .ts","test":"jest","build":"rollup -c","clean":"rimraf dist","test:watch":"jest --watch","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"lanonasis","email":"info@lanonasis.com"},"overrides":{"js-yaml":"4.1.1"},"repository":{"url":"git+https://github.com/lanonasis/memory-client.git","type":"git"},"_npmVersion":"11.6.3","description":"Memory as a Service (MaaS) Client SDK for Lanonasis - Intelligent memory management with CLI/MCP integration and semantic search","directories":{},"_nodeVersion":"25.2.1","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","tslib":"^2.8.1","eslint":"^9.39.1","rimraf":"^6.1.2","rollup":"^4.53.3","ts-jest":"^29.4.5","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.10.1","rollup-plugin-dts":"^6.2.3","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@typescript-eslint/parser":"^8.47.0","@rollup/plugin-node-resolve":"^16.0.3","@typescript-eslint/eslint-plugin":"^8.47.0"},"optionalDependencies":{"child_process":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/memory-client_1.0.1_1763924911307_0.9206736381822327","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@lanonasis/memory-client","version":"2.0.0","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol","react","vue","universal","edge-functions","cloudflare-workers","browser","nodejs"],"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","_id":"@lanonasis/memory-client@2.0.0","maintainers":[{"name":"lanonasis","email":"info@lanonasis.com"}],"homepage":"https://docs.lanonasis.com/sdk","bugs":{"url":"https://github.com/lanonasis/memory-client/issues"},"dist":{"shasum":"ca903f41cbf596412a49d0bf68749a8cd2cafe65","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-2.0.0.tgz","fileCount":24,"integrity":"sha512-FijvDJrh8qzByrc/DZpFB6UWYbt1q/GtX98BrCNbMnavciw9Iqmle6fgLldY7zWpLRlrgCD4pm8sbBaYnKOqHg==","signatures":[{"sig":"MEUCIBpzfwhSj2oq6KmdMe1rei+wite1eb+SgfgLG0+7zLZCAiEA09EoGn0tIUgubyAuI8081M62HAIKI56dUzcri0f4q7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":463340},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"os":false,"util":false,"child_process":false,"./dist/node/index.js":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","default":"./dist/index.esm.js","require":"./dist/index.js"},"./vue":{"types":"./dist/vue/index.d.ts","import":"./dist/vue/index.js","default":"./dist/vue/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","browser":"./dist/core/index.js","default":"./dist/core/index.js"},"./node":{"node":"./dist/node/index.js","types":"./dist/node/index.d.ts","import":"./dist/node/index.js","default":null},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","default":"./dist/react/index.js"},"./presets":{"types":"./dist/presets/index.d.ts","import":"./dist/presets/index.js","default":"./dist/presets/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"scripts":{"dev":"rollup -c -w","lint":"eslint src --ext .ts","test":"jest","build":"rollup -c","clean":"rimraf dist","test:watch":"jest --watch","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"lanonasis","email":"info@lanonasis.com"},"overrides":{"js-yaml":"4.1.1"},"repository":{"url":"git+https://github.com/lanonasis/memory-client.git","type":"git"},"_npmVersion":"11.6.4","description":"Universal Memory as a Service (MaaS) Client SDK - Works everywhere: Browser, Node.js, React, Vue, Edge Functions","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","tslib":"^2.8.1","eslint":"^9.39.1","rimraf":"^6.1.2","rollup":"^4.53.3","ts-jest":"^29.4.5","typescript":"^5.9.3","@types/jest":"^30.0.0","@types/node":"^24.10.1","rollup-plugin-dts":"^6.2.3","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@typescript-eslint/parser":"^8.47.0","@rollup/plugin-node-resolve":"^16.0.3","@typescript-eslint/eslint-plugin":"^8.47.0"},"peerDependencies":{"vue":">=3.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"vue":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/memory-client_2.0.0_1764488267783_0.3661428671312039","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@lanonasis/memory-client","version":"2.1.0","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol","react","vue","universal","edge-functions","cloudflare-workers","browser","nodejs"],"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","_id":"@lanonasis/memory-client@2.1.0","maintainers":[{"name":"onasis-team","email":"info@lanonasis.com"}],"homepage":"https://docs.lanonasis.com/sdk","bugs":{"url":"https://github.com/lanonasis/memory-client/issues"},"dist":{"shasum":"552754bd0a7eacd92795b3391cb39d8f4853a5a7","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-2.1.0.tgz","fileCount":29,"integrity":"sha512-1U5owT6T8V7LOe0RRbxRVi2MHZsNRxvXIOVuRe4XYMkLfHN2Xu3d09FL1Lfn/ABThYDJhXmGMB37V9DfOzZz8A==","signatures":[{"sig":"MEUCIGqJEd3zwFbalSxjO+0TYcSuTg3ghyNhklc1npA3g0ZsAiEAlCNtHo9zZZpzSXE1829eiHgROz3RxByvVjMT4Kzygdk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1360914},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"os":false,"util":false,"child_process":false,"./dist/node/index.js":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","default":"./dist/index.esm.js","require":"./dist/index.js"},"./vue":{"types":"./dist/vue/index.d.ts","import":"./dist/vue/index.js","default":"./dist/vue/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","browser":"./dist/core/index.js","default":"./dist/core/index.js"},"./node":{"node":"./dist/node/index.js","types":"./dist/node/index.d.ts","import":"./dist/node/index.js","default":null},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","default":"./dist/react/index.js"},"./presets":{"types":"./dist/presets/index.d.ts","import":"./dist/presets/index.js","default":"./dist/presets/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"scripts":{"dev":"rollup -c -w","lint":"eslint src --ext .ts","test":"vitest run","build":"rollup -c","clean":"rimraf dist","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"onasis-team","email":"info@lanonasis.com"},"overrides":{"js-yaml":"4.1.1"},"repository":{"url":"git+https://github.com/lanonasis/memory-client.git","type":"git"},"_npmVersion":"11.6.4","description":"Universal Memory as a Service (MaaS) Client SDK - Works everywhere: Browser, Node.js, React, Vue, Edge Functions","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.25","tslib":"^2.8.1","eslint":"^9.39.1","rimraf":"^6.1.2","rollup":"^4.53.3","vitest":"^2.1.0","@vitest/ui":"^2.1.0","typescript":"^5.9.3","@types/node":"^24.10.1","rollup-plugin-dts":"^6.2.3","@vitest/coverage-v8":"^2.1.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@typescript-eslint/parser":"^8.47.0","@rollup/plugin-node-resolve":"^16.0.3","@typescript-eslint/eslint-plugin":"^8.47.0"},"peerDependencies":{"vue":">=3.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"vue":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/memory-client_2.1.0_1768534341923_0.1603515322403044","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@lanonasis/memory-client","version":"2.2.0","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol","react","vue","universal","edge-functions","cloudflare-workers","browser","nodejs"],"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","_id":"@lanonasis/memory-client@2.2.0","maintainers":[{"name":"onasis-team","email":"info@lanonasis.com"}],"homepage":"https://docs.lanonasis.com/sdk","bugs":{"url":"https://github.com/lanonasis/memory-client/issues"},"dist":{"shasum":"5b70b23f2b3842ef6601f9f5500f809b17bc198b","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-2.2.0.tgz","fileCount":31,"integrity":"sha512-8pnqqF9aVXi3LRhOcOz1Kq5gd0BHB1KP5+SZ3OkiHuOa4WKHtaZUHuZndl6EtqsE2bykFKvuVAtgqNW7IO9i0Q==","signatures":[{"sig":"MEUCIQDMNYG5xVnecvC/lZYKJhPU3yGPB9JOkhw2m3X2Cta4ewIgEj8etkN58GnU0f7QHwkRkIhxYT75Q7uOl0Od7FKj3mM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1581765},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","browser":{"fs":false,"os":false,"util":false,"child_process":false,"./dist/node/index.js":false},"engines":{"node":">=16.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","default":"./dist/index.esm.js","require":"./dist/index.cjs"},"./vue":{"types":"./dist/vue/index.d.ts","import":"./dist/vue/index.js","default":"./dist/vue/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","browser":"./dist/core/index.js","default":"./dist/core/index.js"},"./node":{"node":"./dist/node/index.js","types":"./dist/node/index.d.ts","import":"./dist/node/index.js","default":null},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","default":"./dist/react/index.js"},"./presets":{"types":"./dist/presets/index.d.ts","import":"./dist/presets/index.js","default":"./dist/presets/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"scripts":{"dev":"rollup -c -w","lint":"eslint src --ext .ts","test":"vitest run","build":"rollup -c","clean":"rimraf dist","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"onasis-team","email":"info@lanonasis.com"},"overrides":{"js-yaml":"4.1.1"},"repository":{"url":"git+https://github.com/lanonasis/memory-client.git","type":"git"},"_npmVersion":"11.6.4","description":"Universal Memory as a Service (MaaS) Client SDK - Works everywhere: Browser, Node.js, React, Vue, Edge Functions","directories":{},"_nodeVersion":"24.11.1","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.25","tslib":"^2.8.1","eslint":"^9.39.1","rimraf":"^6.1.2","rollup":"^4.53.3","vitest":"^2.1.0","@vitest/ui":"^2.1.0","typescript":"^5.9.3","@types/node":"^24.10.1","rollup-plugin-dts":"^6.2.3","@vitest/coverage-v8":"^2.1.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@typescript-eslint/parser":"^8.47.0","@rollup/plugin-node-resolve":"^16.0.3","@typescript-eslint/eslint-plugin":"^8.47.0"},"peerDependencies":{"vue":">=3.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"vue":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/memory-client_2.2.0_1768536781672_0.5306529796689812","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"_id":"@lanonasis/memory-client@2.2.1","bugs":{"url":"https://github.com/lanonasis/lanonasis-maas/issues"},"dist":{"shasum":"e43b0ce7885c73f81ca89951d693152a789d88c2","tarball":"https://registry.npmjs.org/@lanonasis/memory-client/-/memory-client-2.2.1.tgz","fileCount":23,"integrity":"sha512-Se/iWOXgFAFazGFkJDQHtcp0ouoajrE9nT/d560yTIOLdgBt12fPfNjGkVLIMushQ8qSCCDMmiS0HqqQeU1GTg==","signatures":[{"sig":"MEQCIE9dkgJEbCkUZVpY2WEsqssCmXYf7dWACjMinHKeqdOpAiAayBd3A1abvBsySdDAPbjCFZ59gXHRyJY2uQfytNtcXQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHoU5ruUcu0o2OLupYCgvOEQFcJAXDtIKIzvkMpe08odAiAj84VsnR0nCdMvwrATRPSjZ4V86AN4qWTv0fqp21QJYA=="}],"unpackedSize":930597},"main":"dist/index.cjs","name":"@lanonasis/memory-client","type":"module","_from":"file:lanonasis-memory-client-2.2.1.tgz","types":"dist/index.d.ts","author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"module":"dist/index.esm.js","browser":{"fs":false,"os":false,"util":false,"child_process":false,"./dist/node/index.js":false},"engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","default":"./dist/index.esm.js","require":"./dist/index.cjs"},"./vue":{"types":"./dist/vue/index.d.ts","import":"./dist/vue/index.js","default":"./dist/vue/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","browser":"./dist/core/index.js","default":"./dist/core/index.js"},"./node":{"node":"./dist/node/index.js","types":"./dist/node/index.d.ts","import":"./dist/node/index.js","default":null},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","default":"./dist/react/index.js"},"./presets":{"types":"./dist/presets/index.d.ts","import":"./dist/presets/index.js","default":"./dist/presets/index.js"}},"funding":{"url":"https://github.com/sponsors/lanonasis","type":"github"},"license":"MIT","scripts":{"dev":"rollup -c -w","lint":"eslint src","test":"vitest run","build":"rollup -c","clean":"rimraf dist","test:ui":"vitest --ui","test:watch":"vitest","type-check":"tsc --noEmit","build:watch":"rollup -c -w","publish:both":"./scripts/publish-sdk.sh","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"version":"2.2.1","_npmUser":{"name":"onasis-team","email":"info@lanonasis.com"},"homepage":"https://github.com/lanonasis/lanonasis-maas/tree/main/packages/memory-client#readme","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol","react","vue","universal","edge-functions","cloudflare-workers","browser","nodejs"],"_resolved":"/Users/seyederick/.claude/jobs/77921351/tmp/rel/lanonasis-memory-client-2.2.1.tgz","_integrity":"sha512-Se/iWOXgFAFazGFkJDQHtcp0ouoajrE9nT/d560yTIOLdgBt12fPfNjGkVLIMushQ8qSCCDMmiS0HqqQeU1GTg==","repository":{"url":"git+https://github.com/lanonasis/lanonasis-maas.git","type":"git","directory":"packages/memory-client"},"_npmVersion":"10.9.8","description":"Universal Memory as a Service (MaaS) Client SDK - Works everywhere: Browser, Node.js, React, Vue, Edge Functions","directories":{},"maintainers":[{"name":"onasis-team","email":"info@lanonasis.com"}],"_nodeVersion":"22.23.1","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.25","tslib":"^2.8.1","eslint":"^9.39.1","rimraf":"^6.1.2","rollup":"^4.53.3","vitest":"^2.1.0","@vitest/ui":"^2.1.0","typescript":"^5.9.3","@types/node":"^24.10.1","rollup-plugin-dts":"^6.2.3","@vitest/coverage-v8":"^2.1.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.3.0","@typescript-eslint/parser":"^8.47.0","@rollup/plugin-node-resolve":"^16.0.3","@typescript-eslint/eslint-plugin":"^8.47.0"},"peerDependencies":{"vue":">=3.0.0","react":">=16.8.0 || >=17.0.0 || >=18.0.0"},"peerDependenciesMeta":{"vue":{"optional":true},"react":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/memory-client_2.2.1_1790122451659_0.5084436279023299"}}},"time":{"created":"2025-10-26T05:36:07.801Z","modified":"2026-09-23T00:14:11.930Z","1.0.0":"2025-10-26T05:36:08.194Z","1.0.1":"2025-11-23T19:08:31.544Z","2.0.0":"2025-11-30T07:37:48.002Z","2.1.0":"2026-01-16T03:32:22.155Z","2.2.0":"2026-01-16T04:13:01.839Z","2.2.1":"2026-09-23T00:14:11.762Z"},"bugs":{"url":"https://github.com/lanonasis/lanonasis-maas/issues"},"author":{"url":"https://lanonasis.com","name":"Lanonasis Team","email":"team@lanonasis.com"},"license":"MIT","homepage":"https://github.com/lanonasis/lanonasis-maas/tree/main/packages/memory-client#readme","keywords":["memory","ai","semantic-search","knowledge-management","lanonasis","vector-search","sdk","api-client","typescript","memory-as-a-service","cli-integration","mcp","model-context-protocol","react","vue","universal","edge-functions","cloudflare-workers","browser","nodejs"],"repository":{"url":"git+https://github.com/lanonasis/lanonasis-maas.git","type":"git","directory":"packages/memory-client"},"description":"Universal Memory as a Service (MaaS) Client SDK - Works everywhere: Browser, Node.js, React, Vue, Edge Functions","maintainers":[{"name":"onasis-team","email":"info@lanonasis.com"}],"readme":"# @lanonasis/memory-client\n\n[![npm version](https://badge.fury.io/js/@lanonasis%2Fmemory-client.svg)](https://www.npmjs.com/package/@lanonasis/memory-client)\n[![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**Memory as a Service (MaaS) Client SDK** - Intelligent memory management with semantic search capabilities for JavaScript/TypeScript applications.\n\n## 🚀 Features\n\n- **🧠 Semantic Search** - Find memories by meaning, not just keywords\n- **🏷️ Smart Tagging** - Organize memories with tags and topics\n- **📊 Analytics** - Track memory usage and access patterns  \n- **🔐 Secure** - API key and token-based authentication\n- **⚡ Performance** - Optimized with gateway routing and caching\n- **📱 Universal** - Works in Node.js, browsers, and React applications\n- **🎯 TypeScript** - Full type safety with comprehensive type definitions\n\n## 📦 Installation\n\n```bash\nnpm install @lanonasis/memory-client\n```\n\n```bash\nyarn add @lanonasis/memory-client\n```\n\n```bash\npnpm add @lanonasis/memory-client\n```\n\n## 🏁 Quick Start\n\n### Basic Usage\n\n```typescript\nimport { createMemoryClient } from '@lanonasis/memory-client';\n\n// Initialize the client\nconst memoryClient = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: 'your-api-key-here'\n});\n\n// Create a memory\nconst memory = await memoryClient.createMemory({\n  title: 'Important Code Pattern',\n  content: 'Use React.memo() for expensive components to prevent unnecessary re-renders',\n  memory_type: 'knowledge',\n  tags: ['react', 'performance', 'optimization']\n});\n\n// Search memories\nconst results = await memoryClient.searchMemories({\n  query: 'React performance optimization',\n  limit: 10\n});\n\nconsole.log('Found memories:', results.data?.results);\n```\n\n### Production Setup\n\n```typescript\nimport { createProductionClient } from '@lanonasis/memory-client';\n\nconst client = createProductionClient(process.env.LANONASIS_API_KEY!);\n\n// Test connection\nconst health = await client.healthCheck();\nconsole.log('Service health:', health.data?.status);\n```\n\n### Development Setup\n\n```typescript\nimport { createDevelopmentClient } from '@lanonasis/memory-client';\n\nconst client = createDevelopmentClient('dev-api-key');\n```\n\n## 🛠️ API Reference\n\n### Client Configuration\n\n```typescript\ninterface MemoryClientConfig {\n  apiUrl: string;           // API endpoint URL\n  apiKey?: string;          // API key for authentication\n  authToken?: string;       // Bearer token (alternative to API key)\n  timeout?: number;         // Request timeout in milliseconds (default: 30000)\n  useGateway?: boolean;     // Enable gateway mode (default: true)\n  headers?: Record<string, string>; // Custom headers\n}\n```\n\n### Memory Operations\n\n#### Create Memory\n\n```typescript\nconst memory = await client.createMemory({\n  title: 'Memory Title',\n  content: 'Memory content goes here...',\n  memory_type: 'context', // 'context' | 'project' | 'knowledge' | 'reference' | 'personal' | 'workflow'\n  tags: ['tag1', 'tag2'],\n  metadata: { source: 'api', version: '1.0' }\n});\n```\n\n#### Search Memories\n\n```typescript\nconst results = await client.searchMemories({\n  query: 'search terms',\n  memory_types: ['knowledge', 'reference'],\n  tags: ['important'],\n  limit: 20,\n  threshold: 0.7 // Similarity threshold (0-1)\n});\n```\n\n#### List Memories\n\n```typescript\nconst memories = await client.listMemories({\n  page: 1,\n  limit: 50,\n  memory_type: 'project',\n  tags: ['work', 'important'],\n  sort: 'updated_at',\n  order: 'desc'\n});\n```\n\n#### Update Memory\n\n```typescript\nconst updated = await client.updateMemory('memory-id', {\n  title: 'Updated Title',\n  tags: ['new-tag']\n});\n```\n\n#### Delete Memory\n\n```typescript\nawait client.deleteMemory('memory-id');\n```\n\n### Topic Operations\n\n#### Create Topic\n\n```typescript\nconst topic = await client.createTopic({\n  name: 'Project Alpha',\n  description: 'Memories related to Project Alpha',\n  color: '#3B82F6',\n  icon: 'project'\n});\n```\n\n#### Get Topics\n\n```typescript\nconst topics = await client.getTopics();\n```\n\n### Statistics\n\n```typescript\nconst stats = await client.getMemoryStats();\nconsole.log('Total memories:', stats.data?.total_memories);\nconsole.log('By type:', stats.data?.memories_by_type);\n```\n\n## 🎯 Memory Types\n\n- **`context`** - General contextual information\n- **`project`** - Project-specific knowledge\n- **`knowledge`** - Educational or reference material\n- **`reference`** - Quick reference information\n- **`personal`** - User-specific private memories\n- **`workflow`** - Process and procedure documentation\n\n## 🔐 Authentication\n\n### API Key (Recommended)\n\n```typescript\nconst client = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: 'your-api-key'\n});\n```\n\n### Bearer Token\n\n```typescript\nconst client = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  authToken: 'your-bearer-token'\n});\n```\n\n### Runtime Authentication Updates\n\n```typescript\n// Update API key\nclient.setApiKey('new-api-key');\n\n// Update auth token\nclient.setAuthToken('new-token');\n\n// Clear authentication\nclient.clearAuth();\n```\n\n## ⚙️ Gateway Mode\n\nGateway mode provides enhanced performance through optimized routing and caching:\n\n```typescript\n// Enable gateway mode (default)\nconst client = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: 'your-key',\n  useGateway: true\n});\n\n// Direct API mode (for debugging)\nconst directClient = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: 'your-key',\n  useGateway: false\n});\n```\n\n## ⚛️ React Integration\n\n### Custom Hook\n\n```typescript\nimport { useMemoryClient } from '@lanonasis/memory-client';\n\nfunction MyComponent() {\n  const client = useMemoryClient({\n    apiUrl: process.env.NEXT_PUBLIC_API_URL!,\n    apiKey: process.env.NEXT_PUBLIC_API_KEY!\n  });\n\n  const [memories, setMemories] = useState([]);\n\n  useEffect(() => {\n    const loadMemories = async () => {\n      const result = await client.listMemories({ limit: 10 });\n      if (result.data) {\n        setMemories(result.data.data);\n      }\n    };\n    loadMemories();\n  }, [client]);\n\n  return <div>{/* Your component */}</div>;\n}\n```\n\n## 🚨 Error Handling\n\nAll methods return a standardized response format:\n\n```typescript\ninterface ApiResponse<T> {\n  data?: T;      // Success data\n  error?: string; // Error message\n  message?: string; // Additional info\n}\n\n// Example error handling\nconst result = await client.getMemory('invalid-id');\nif (result.error) {\n  console.error('Failed to get memory:', result.error);\n} else {\n  console.log('Memory:', result.data);\n}\n```\n\n## 🔧 Configuration Examples\n\n### Environment-specific Configs\n\n```typescript\n// Production\nconst prodClient = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: process.env.LANONASIS_API_KEY,\n  timeout: 10000,\n  useGateway: true\n});\n\n// Development\nconst devClient = createMemoryClient({\n  apiUrl: 'http://localhost:3001',\n  apiKey: 'dev-key',\n  timeout: 30000,\n  useGateway: false\n});\n\n// Custom headers\nconst customClient = createMemoryClient({\n  apiUrl: 'https://api.lanonasis.com',\n  apiKey: 'your-key',\n  headers: {\n    'X-Client-Version': '1.0.0',\n    'X-Environment': 'production'\n  }\n});\n```\n\n## 📋 TypeScript Support\n\nFull TypeScript support with comprehensive type definitions:\n\n```typescript\nimport type { \n  MemoryEntry, \n  CreateMemoryRequest,\n  SearchMemoryRequest,\n  MemoryType,\n  ApiResponse \n} from '@lanonasis/memory-client';\n\n// Strongly typed memory creation\nconst memory: CreateMemoryRequest = {\n  title: 'TypeScript Tips',\n  content: 'Use strict mode for better type safety',\n  memory_type: 'knowledge' as MemoryType,\n  tags: ['typescript', 'tips']\n};\n\n// Typed responses\nconst response: ApiResponse<MemoryEntry> = await client.createMemory(memory);\n```\n\n## 🌍 Browser Support\n\n- ✅ Chrome 88+\n- ✅ Firefox 85+\n- ✅ Safari 14+\n- ✅ Edge 88+\n- ✅ Node.js 16+\n\n## 📚 Examples\n\nCheck out the [examples directory](./examples) for complete implementation examples:\n\n- [Basic Usage](./examples/basic.js)\n- [React Integration](./examples/react-app.tsx)\n- [Node.js Server](./examples/server.js)\n- [Search Implementation](./examples/search.js)\n\n## 📖 Documentation\n\n- [API Reference](https://docs.lanonasis.com/sdk/api)\n- [Getting Started Guide](https://docs.lanonasis.com/sdk/quickstart)\n- [Migration Guide](https://docs.lanonasis.com/sdk/migration)\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n## 📄 License\n\nMIT © [Lanonasis Team](https://lanonasis.com)\n\n## 🆘 Support\n\n- **Documentation**: [docs.lanonasis.com](https://docs.lanonasis.com)\n- **Issues**: [GitHub Issues](https://github.com/lanonasis/memory-client/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/lanonasis/memory-client/discussions)\n- **Email**: support@lanonasis.com\n\n---\n\n**Made with ❤️ by the Lanonasis Team**","readmeFilename":"README.md"}