{"_id":"openclaw-local-memory","_rev":"43-f2354449d8487f9771b420052450dddd","name":"openclaw-local-memory","dist-tags":{"latest":"2026.4.25","beta":"2026.4.2-4.1"},"versions":{"1.0.0":{"name":"openclaw-local-memory","version":"1.0.0","keywords":["openclaw","openclaw-plugin","memory","context-injection"],"author":"","license":"MIT","_id":"openclaw-local-memory@1.0.0","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"00d554f0b00ace4aad1c9d54caf90bfe9c3566be","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-1.0.0.tgz","fileCount":5,"integrity":"sha512-JP4N89UiQ7qoR4CkfmjBlZsFnatES9+t3d5TV5PwdYcDZN/V99dHpu6HjQoYZ4yRt57TLB/2YII5/2Ep2rbHQA==","signatures":[{"sig":"MEQCIATM3dLjeeAlW8Oy/J6lOWWblgX6bx/zqgVFnGPwQlZVAiAPOLJiVSFYfkh/bVsfADQJ8p1eCIIu870NEk5mPKh1Dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29685},"main":"index.js","type":"module","scripts":{"test":"echo \"No tests yet\""},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"extensions":["./index.js"]},"_npmVersion":"11.11.0","description":"Local file-based memory plugin for OpenClaw with automatic context injection. No external API required.","directories":{},"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_1.0.0_1775325119265_0.7286296096188412","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"openclaw-local-memory","version":"1.0.1","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search"],"author":{"name":"Tech Partner"},"license":"MIT","_id":"openclaw-local-memory@1.0.1","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"c8c94c4cfd8eee3493e50ed8ab4e127aaa01cea0","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-1.0.1.tgz","fileCount":5,"integrity":"sha512-rIOOMbVHREvB1xn7saXcQ0/wihjuWkD1mZtul7D5cJnTbvoVbUNFpGT2BspVuW0BmhJM2mzXcRip/wnDCrc1KA==","signatures":[{"sig":"MEUCIQDFPcyYCcNbsq6BbaHiiL8rNeQS/CXKkNCq2ILZ3fVdowIgOnD5YYeIYKkuVYl1+AyMf6hh+YmJO/k0/LsMyG3/X2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38733},"main":"index.js","type":"module","scripts":{"test":"echo \"No tests yet\""},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"extensions":["./index.js"]},"_npmVersion":"11.11.0","description":"Local file-based memory plugin for OpenClaw with automatic context injection and multi-channel search.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.32.35"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_1.0.1_1775330816804_0.9185848494822093","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"openclaw-local-memory","version":"1.0.2","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search"],"author":{"name":"Tech Partner"},"license":"MIT","_id":"openclaw-local-memory@1.0.2","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"bc748d7a281d867538fe935fc744e62e272d84e3","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-1.0.2.tgz","fileCount":5,"integrity":"sha512-KOOxNe29nzK2WYk7hTGiSuA0PgokXD7qYgDGg4CkqI12zvFQbGCtTdP2MpFmRU2O0MUnU/IwOsa2pnGkt5IeFQ==","signatures":[{"sig":"MEYCIQDyYIPuVD4RZH5ywPxuo1CiOdbeMLpyESNmcWa+zcOWagIhAN2KWThNahJNlxVKEGnOP9mKuOEw392yTJtha0J2SNjT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39678},"main":"index.js","type":"module","scripts":{"test":"echo \"No tests yet\""},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"extensions":["./index.js"]},"_npmVersion":"11.11.0","description":"Local file-based memory plugin for OpenClaw with automatic context injection and multi-channel search.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.32.35"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_1.0.2_1775331081043_0.22603007882391424","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"openclaw-local-memory","version":"1.0.3","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search"],"author":{"name":"Tech Partner"},"license":"MIT","_id":"openclaw-local-memory@1.0.3","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"7a57295159f61be262ca87e8c43ff2daf7aca097","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-1.0.3.tgz","fileCount":5,"integrity":"sha512-ABvvLNgiRWPBaWQjBYNjT/mdS+d0jR9v3YgklQO0oBfnhShZ/9cjeldrIIidWueZn/8tRsc+tbLyow6BGE+Olw==","signatures":[{"sig":"MEUCIQC7yQKTmtP7argozcjPe+tCoaPTkgOM+UEteFEcV6I8VwIgY+IWHQ1MGJWhFnwyXdEkov9E2a8TtIF6ImVyzdp/k7g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39828},"main":"index.js","type":"module","scripts":{"test":"echo \"No tests yet\""},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./index.js"]},"_npmVersion":"11.11.0","description":"Local file-based memory plugin for OpenClaw with automatic context injection and multi-channel search.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.32.35"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_1.0.3_1775331314202_0.7583624581450168","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"openclaw-local-memory","version":"1.0.4","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search"],"author":{"name":"Tech Partner"},"license":"MIT","_id":"openclaw-local-memory@1.0.4","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"5f80cdab5ed30ea33c857dd7bb941fccd44edf4b","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-1.0.4.tgz","fileCount":5,"integrity":"sha512-qQ63YXKieTvBihxAqVcRa5ZIsWo7eCORfCQatsvP/08Lp1i3iPlYR3zbqJZ+AXjulDf0a10VGAaDEmSmW7w3Vg==","signatures":[{"sig":"MEYCIQCEw0R54+i/65JGwcGzlBTzX7nTEAv7MCgddebrOyqP9wIhAPYt9Nj3oS0ovntc/DPwXRLKhaV9RrHHxCm9LqGmk1z8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45138},"main":"index.js","type":"module","scripts":{"test":"echo \"No tests yet\""},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./index.js"]},"_npmVersion":"11.11.0","description":"Local file-based memory plugin for OpenClaw with automatic context injection and multi-channel search.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.32.35"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_1.0.4_1775333408929_0.3866761940270207","host":"s3://npm-registry-packages-npm-production"}},"2026.4.6":{"name":"openclaw-local-memory","version":"2026.4.6","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search","local-memory","本地记忆","上下文注入"],"author":{"name":"Tech Partner","email":"chinazll@qq.com"},"license":"MIT","_id":"openclaw-local-memory@2026.4.6","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"homepage":"https://github.com/chinazll/openclaw-local-memory","bugs":{"url":"https://github.com/chinazll/openclaw-local-memory/issues"},"dist":{"shasum":"bb4bf0e7c136ba296895ac3cb7c348e71938f342","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.6.tgz","fileCount":7,"integrity":"sha512-VKstmK1qStcIAJ4bCSIBExD+jpCg1eAPvHvfX0VldEo06NC1uxcKkRVc6W/5nzoXv8QaDxTtsq/Mla0D04gxMg==","signatures":[{"sig":"MEUCIF0ru4iIrYUZQLIfqqPwRnJR5YEs0semvxWR/gEvossmAiEAkSdFcH1STYQugSIbigZ8wFoTIg/JcMe4x2eUb+nHu3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61754},"main":"index.js","type":"module","engines":{"node":">=18.0.0"},"scripts":{"test":"echo \"Test not implemented\"","postinstall":"node install.js"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./index.js"]},"repository":{"url":"git+https://github.com/chinazll/openclaw-local-memory.git","type":"git"},"_npmVersion":"11.11.0","description":"OpenClaw 本地记忆插件 - 基于文件的记忆系统，支持自动上下文注入、多通道搜索、记忆整合和语义检索。适用于需要在本地持久化对话记忆的场景。","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.32.35"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.6_1775469630034_0.15198840706008387","host":"s3://npm-registry-packages-npm-production"}},"2026.4.7":{"name":"openclaw-local-memory","version":"2026.4.7","keywords":["openclaw","openclaw-plugin","memory","context-injection","semantic-search","local-memory","本地记忆","上下文注入"],"author":{"name":"Tech Partner","email":"chinazll@qq.com"},"license":"MIT","_id":"openclaw-local-memory@2026.4.7","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"homepage":"https://github.com/chinazll/openclaw-local-memory","bugs":{"url":"https://github.com/chinazll/openclaw-local-memory/issues"},"dist":{"shasum":"1f4bb69eb97b3e877827b4d3be724e7d151d62dc","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.7.tgz","fileCount":27,"integrity":"sha512-m7Jnh76VxkUV9Vz4gKdYGY8NSoLlzCU4zairjAuDj0rvBe+dBQEFXIg0fIDs5aRrx3a42Ewjo/Uv+g7U8+U/MQ==","signatures":[{"sig":"MEUCIQDGg7ukhHONYlNuo/AOHH2a7SnCM3JnoUUSKcBGq/4/qgIgZRDja+tI5yXkwOvPE6tMNCTLhTfxskZEV3fZlsaIzMA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":370459},"main":"index.js","note":"2026.4.7: Smart Injection Edition - 动态阈值注入、意图检测、通道优先级、自动学习、多agent支持、修复isRegistered重复注册问题","type":"module","_from":"file:openclaw-local-memory-2026.4.7.tgz","engines":{"node":">=18.0.0"},"scripts":{"test":"echo \"Test not implemented\"","postinstall":"node install.js"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./index.js"]},"_resolved":"D:\\OpenClawData\\.openclaw\\extensions\\openclaw-local-memory\\openclaw-local-memory-2026.4.7.tgz","_integrity":"sha512-m7Jnh76VxkUV9Vz4gKdYGY8NSoLlzCU4zairjAuDj0rvBe+dBQEFXIg0fIDs5aRrx3a42Ewjo/Uv+g7U8+U/MQ==","repository":{"url":"git+https://github.com/chinazll/openclaw-local-memory.git","type":"git"},"_npmVersion":"11.11.0","description":"OpenClaw 本地记忆插件 - 基于文件的记忆系统，支持自动上下文注入、多通道搜索、记忆整合和语义检索。适用于需要在本地持久化对话记忆的场景。","directories":{},"releaseDate":"2026-04-07","_nodeVersion":"24.14.1","dependencies":{"@sinclair/typebox":"^0.34.49"},"_hasShrinkwrap":false,"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.7_1775525594953_0.6389625295484838","host":"s3://npm-registry-packages-npm-production"}},"2026.4.14-beta1":{"name":"openclaw-local-memory","version":"2026.4.14-beta1","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community","email":"community@openclaw.dev"},"license":"MIT","_id":"openclaw-local-memory@2026.4.14-beta1","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"4d72c8fc361b46e4b155697baccfaee4b1862d7a","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.14-beta1.tgz","fileCount":9,"integrity":"sha512-JbiN0/D6QNp9Fzxn3Z8Wt9gpJE2SLl+LG9P3VUyz/QNhE+UOUODeGPwxPM3/OKhszszCkS6VKLT7IJJF0LPScw==","signatures":[{"sig":"MEUCIE8K0APFr88ED1Stm6jvDl/uCSa4AmTMDXkouG3MLR65AiEAhO1OzuE5B1/HCwLxhV4J7l2fdEGkqDJ5F1KXxSLHyCo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":622399},"main":"./dist/index.mjs","type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsdown","lint:fix":"eslint src --ext .ts --fix","prebuild":"node scripts/version-sync.js","typecheck":"tsc --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./dist/index.mjs"]},"_npmVersion":"11.12.1","description":"Living Memory Architecture - Predictive, Immune, Meta-Cognitive AI Memory System with Hot Standby for OpenClaw","directories":{},"releaseDate":"2026-04-13","_nodeVersion":"24.14.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^3.2.4","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.6.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.14-beta1_1776154735304_0.1684026536479033","host":"s3://npm-registry-packages-npm-production"}},"2026.4.14-beta2":{"name":"openclaw-local-memory","version":"2026.4.14-beta2","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community","email":"community@openclaw.dev"},"license":"MIT","_id":"openclaw-local-memory@2026.4.14-beta2","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"bc5691c123262f64decf67cf1cbfe3a1e24627ce","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.14-beta2.tgz","fileCount":9,"integrity":"sha512-gVC6ELV3PqYgt6UaDAo5n7DMhhafiWBegaUbt7sIZUE1ae3rkf+ywn4dpAZ84xVrczCR3nQ8RVZEd7mPeShN/g==","signatures":[{"sig":"MEQCIFPDJg9nT5bb/J+iwYhIt3sYldSrdOuq3Q9yORgxF93FAiBgTars2wuSVPhZ67ebdHZGBUzcIlI8E4cBREFaZkx1RQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":626352},"main":"./dist/index.mjs","type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsdown","lint:fix":"eslint src --ext .ts --fix","prebuild":"node scripts/version-sync.js","typecheck":"tsc --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./dist/index.mjs"]},"_npmVersion":"11.12.1","description":"Living Memory Architecture - Predictive, Immune, Meta-Cognitive AI Memory System with Hot Standby for OpenClaw","directories":{},"releaseDate":"2026-04-13","_nodeVersion":"24.14.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^3.2.4","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.6.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.14-beta2_1776155690739_0.7694091451003808","host":"s3://npm-registry-packages-npm-production"}},"2026.4.21-beta.1":{"name":"openclaw-local-memory","version":"2026.4.21-beta.1","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community","email":"community@openclaw.dev"},"license":"MIT","_id":"openclaw-local-memory@2026.4.21-beta.1","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"d750f703fadb015a7a3936050b5b28d3f31460b9","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.21-beta.1.tgz","fileCount":9,"integrity":"sha512-+hIO+rxZZ/YK8w7qhbMERYQxph5fZKsyvGP4vZIGJDv8sb4nO6mUQyxqEe1/svSAn9SjmaiESXXaYmDz6hNUAw==","signatures":[{"sig":"MEYCIQDNB5rDmMiCCA24sL5GtvV/wnc+U/R6ewkRBPR0PY+9eQIhAImWaPpRYVtg9AWjAFAne90xlbDV42k/wrnPG3p9yJ/a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1068971},"main":"./dist/index.mjs","type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"tsdown && node scripts/fix-bundle.js","lint:fix":"eslint src --ext .ts --fix","typecheck":"tsc --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./dist/index.mjs"]},"_npmVersion":"11.12.1","description":"Living Memory Architecture - Predictive, Immune, Meta-Cognitive AI Memory System with Hot Standby for OpenClaw","directories":{},"releaseDate":"2026-04-15","_nodeVersion":"24.15.0","dependencies":{"segmentit":"^2.0.3","faiss-node":"^0.5.1","@node-rs/jieba":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^3.2.4","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.6.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.21-beta.1_1776705209888_0.8071652132554004","host":"s3://npm-registry-packages-npm-production"}},"2026.4.21-beta.2":{"name":"openclaw-local-memory","version":"2026.4.21-beta.2","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community","email":"community@openclaw.dev"},"license":"MIT","_id":"openclaw-local-memory@2026.4.21-beta.2","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"97cd854bca3755a7b86dce6deb76c037f79abfe3","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.21-beta.2.tgz","fileCount":10,"integrity":"sha512-hDAoRZ+QN/kPcSF1Iiwv6g0zGYHT1gqYZfYVBkMhTXvgGFZUCHYu7caS4BP7TIHUnwqHU8dXdSMXwx7mUPw2QQ==","signatures":[{"sig":"MEYCIQDLxf0vZq/91DbNIki+lruCdGdt40Q1DcyqdWZrOYBFLgIhAN00EgfQDTWHAAmCYDTssNp7ygONIW2C4nF3MnHhuMZa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1070196},"main":"./dist/index.mjs","type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"postinstall":"node scripts/postinstall.js"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"_npmVersion":"11.12.1","description":"Living Memory Architecture - Predictive, Immune, Meta-Cognitive AI Memory System with Hot Standby for OpenClaw","directories":{},"_nodeVersion":"24.15.0","dependencies":{"segmentit":"^2.0.3","faiss-node":"^0.5.1","@node-rs/jieba":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^3.2.4","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.6.0","typescript-eslint":"^8.58.1"},"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.21-beta.2_1776706248036_0.4500163170367111","host":"s3://npm-registry-packages-npm-production"}},"2026.4.2-4.1":{"name":"openclaw-local-memory","version":"2026.4.2-4.1","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community"},"license":"MIT","_id":"openclaw-local-memory@2026.4.2-4.1","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"dist":{"shasum":"765487db73a50685e886d51fdb18d3e7f9537746","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.2-4.1.tgz","fileCount":15,"integrity":"sha512-7VuMrv/3NdTFnEq7sanOUkkZ0W1kmcYO65/h+CcUsdFZEeS0i3ndvkJ6yLfAEsjY7aQKQ8mWpwMFVtwH1c0gqQ==","signatures":[{"sig":"MEYCIQCqZGNsGmTC3cqrlkW3XgJzzHC2XX3z7pz6/IxI+gU9/wIhAITqktCG6PGFhKBcXhpc0ru2V6LJp3GhjrnrZ2MfoI+E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1529904},"main":"./dist/index.cjs","type":"module","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"eslint src --ext .ts","test":"vitest run","build":"node scripts/sync-version.js && tsdown && node scripts/fix-bundle.js","backup":"node scripts/backup.js","deploy":"node scripts/deploy.js","lint:fix":"eslint src --ext .ts --fix","typecheck":"tsc --noEmit","test:watch":"vitest","build:watch":"tsdown --watch"},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"openclaw":{"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"memory":{"slot":"openclaw-local-memory"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"},"extensions":["./dist/index.cjs"]},"_npmVersion":"11.12.1","description":"Living Memory Architecture - Adaptive Memory System with Self-Healing and Proactive Robot","directories":{},"releaseDate":"2026-04-23","_nodeVersion":"24.15.0","dependencies":{"segmentit":"^2.0.3","faiss-node":"^0.5.1","@node-rs/jieba":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.2.0","tsdown":"^0.21.7","vitest":"^3.2.4","globals":"^17.5.0","@eslint/js":"^10.0.1","typescript":"^5.9.3","@types/node":"^25.6.0","typescript-eslint":"^8.59.0"},"peerDependencies":{"openclaw":">=2026.3.24"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-local-memory_2026.4.2-4.1_1776949774050_0.0010915961208699532","host":"s3://npm-registry-packages-npm-production"}},"2026.4.25":{"name":"openclaw-local-memory","version":"2026.4.25","type":"module","description":"Living Memory Architecture - Adaptive Memory System with Self-Healing and Proactive Robot","releaseDate":"2026-04-23","main":"./dist/index.cjs","scripts":{"build":"node scripts/sync-version.js && tsdown && node scripts/fix-bundle.js","build:watch":"tsdown --watch","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest","lint":"eslint src --ext .ts","lint:fix":"eslint src --ext .ts --fix","dev":"tsdown --watch","backup":"node scripts/backup.js","deploy":"node scripts/deploy.js"},"exports":{".":{"import":"./dist/index.mjs","types":"./dist/index.d.mts"}},"keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"author":{"name":"OpenClaw Community"},"license":"MIT","peerDependencies":{"openclaw":">=2026.3.24"},"engines":{"node":">=18.0.0"},"openclaw":{"extensions":["./dist/index.cjs"],"memory":{"slot":"openclaw-local-memory"},"compat":{"pluginApi":">=2026.3.24-beta.2","minGatewayVersion":"2026.3.24-beta.2"},"build":{"openclawVersion":"2026.3.24-beta.2","pluginSdkVersion":"2026.3.24-beta.2"},"install":{"npmSpec":"openclaw-local-memory","localPath":"extensions/openclaw-local-memory","defaultChoice":"npm"}},"devDependencies":{"@eslint/js":"^10.0.1","@types/node":"^25.6.0","eslint":"^10.2.0","globals":"^17.5.0","tsdown":"^0.21.7","typescript":"^5.9.3","typescript-eslint":"^8.59.0","vitest":"^3.2.4"},"dependencies":{"@node-rs/jieba":"^2.0.1","faiss-node":"^0.5.1","segmentit":"^2.0.3"},"_id":"openclaw-local-memory@2026.4.25","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-q5MwvZmpwq7qudYs1Lv4APU4mmscFtAxfpbJDkkTqXHybzLn84V0oWT0HEWXhQgpsbmNshJ3ogdLU07+x5l/VQ==","shasum":"5ec46e70ae1c55229d928a67207b03154964c833","tarball":"https://registry.npmjs.org/openclaw-local-memory/-/openclaw-local-memory-2026.4.25.tgz","fileCount":15,"unpackedSize":1529890,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDxw04/Kp+IL0b9+ZC/Qx/5NhSMkyM1Kou8dyVrkEKk5AiEAgKcJIi8QpZoeLQI9UgxSxVP+uKdWk6x+DXxZJRzF9pY="}]},"_npmUser":{"name":"chinazll","email":"913454370@qq.com"},"directories":{},"maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-local-memory_2026.4.25_1776949824704_0.41560949314602946"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-04T17:51:59.195Z","modified":"2026-04-23T13:10:25.045Z","1.0.0":"2026-04-04T17:51:59.397Z","1.0.1":"2026-04-04T19:26:56.938Z","1.0.2":"2026-04-04T19:31:21.175Z","1.0.3":"2026-04-04T19:35:14.395Z","1.0.4":"2026-04-04T20:10:09.066Z","2026.4.6":"2026-04-06T10:00:30.194Z","2026.4.7-beta":"2026-04-06T17:55:00.000Z","2026.4.7-beta.2":"2026-04-06T17:57:24.146Z","2026.4.7-beta.3":"2026-04-06T18:16:06.741Z","2026.4.7":"2026-04-07T01:33:15.097Z","2026.4.10":"2026-04-07T18:30:32.980Z","2026.4.11":"2026-04-07T18:33:49.984Z","2026.4.9-beta.6":"2026-04-08T14:42:46.431Z","2026.4.9-beta.7":"2026-04-08T15:07:33.883Z","2026.4.9-beta.8":"2026-04-08T15:50:19.845Z","2026.4.14-beta1":"2026-04-14T08:18:55.690Z","2026.4.14-beta2":"2026-04-14T08:34:50.909Z","2026.4.14-beta9":"2026-04-15T00:35:53.693Z","2026.4.14-beta10":"2026-04-15T00:41:41.510Z","2026.4.21":"2026-04-20T16:44:14.596Z","2026.4.21-beta.1":"2026-04-20T17:13:30.075Z","2026.4.22":"2026-04-20T17:17:31.053Z","2026.4.23":"2026-04-20T17:21:30.637Z","2026.4.24":"2026-04-20T17:21:56.137Z","2026.4.21-beta.2":"2026-04-20T17:30:48.236Z","2026.4.2-4.1":"2026-04-23T13:09:34.262Z","2026.4.25":"2026-04-23T13:10:24.916Z"},"author":{"name":"OpenClaw Community"},"license":"MIT","keywords":["openclaw","openclaw-plugin","memory","living-memory","predictive-memory","cognitive-architecture"],"description":"Living Memory Architecture - Adaptive Memory System with Self-Healing and Proactive Robot","maintainers":[{"name":"chinazll","email":"913454370@qq.com"}],"readme":"# openclaw-local-memory\n\n> Living Memory Architecture v3.0 | 完全独立运营的本地记忆系统\n\n[![npm version](https://img.shields.io/npm/v/openclaw-local-memory.svg)](https://www.npmjs.com/package/openclaw-local-memory)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## 核心定位\n\n**openclaw-local-memory** 是 OpenClaw Agent 的本地记忆系统，完全独立运营，不依赖 memory-core 或任何外部服务。\n\n```\nopenclaw-local-memory = 完全自主运营\n                      ↓\n              独立存储、独立检索、独立热备\n              独立配置、独立自适应\n```\n\n## ✨ 核心特性\n\n### 🧠 五大核心子系统\n\n| # | 子系统 | 职责 |\n|---|--------|------|\n| 1 | **Predictive Memory Layer** | 4种预测类型（时序/语义/行为/情景） |\n| 2 | **Memory Immune System** | 检测+隔离+恢复（完整三链） |\n| 3 | **Meta-Cognitive Monitor** | 检查+建议+优化（闭环） |\n| 4 | **Self-Healing Orchestrator** | 自我修复+状态管理+热备 |\n| 5 | **Consolidation Engine** | 3阶段+SM2间隔重复 |\n\n### 🚀 独特功能\n\n- **多工作空间支持** - 自动检测 ~/.openclaw 下的所有工作空间\n- **Hebbian 学习** - 神经科学启发的关联学习，持久化保存\n- **记忆宫殿** - Method of Loci 空间记忆结构\n- **主动机器人** - 用户缺席时主动触发提醒\n- **混合检索** - 语义+BM25+图谱+时序+注意力融合\n\n## 📦 安装\n\n### npm 安装（推荐）\n\n```bash\nnpm install openclaw-local-memory\n```\n\n安装后插件自动配置到 `extensions/openclaw-local-memory/` 目录。\n\n### 从源码构建\n\n```bash\n# 克隆\ngit clone https://github.com/your-repo/openclaw-local-memory.git\ncd openclaw-local-memory\n\n# 安装依赖\nnpm install\n\n# 构建\nnpm run build\n\n# 部署\nnpm run deploy\n```\n\n## ⚙️ 配置\n\n### 配置文件位置\n\nOpenClaw 会自动在以下位置查找配置：\n\n1. `~/.openclaw/config.yaml`\n2. `~/.openclaw/config.json`\n3. 项目根目录的 `openclaw.config.yaml`\n\n### 配置示例\n\n```yaml\n# openclaw-local-memory 配置\nmemory:\n  enabled: true\n  slot: openclaw-local-memory\n  storageDir: memory\n\n# Predictive Memory Layer\npredictive:\n  enabled: true\n  predictionTypes:\n    - temporal    # 时序预测\n    - semantic    # 语义预测\n    - behavioral  # 行为预测\n    - episodic    # 情景预测\n  errorThreshold: 0.15\n\n# Memory Immune System\nimmune:\n  enabled: true\n  quarantineMode: automatic\n  selfHealing: true\n  corruptionCheck: true\n\n# Meta-Cognitive Monitor\nmetaCognitive:\n  enabled: true\n  selfOptimization: true\n  healthCheckInterval: 60000\n\n# Proactive Robot\nproactive:\n  enabled: true\n  checkInterval: 300000    # 5分钟检查一次\n  absenceThreshold: 30     # 30分钟无活动视为缺席\n  triggerOnAbsence: true\n  wakeHours:\n    start: \"09:00\"\n    end: \"22:00\"\n\n# Embedding 服务配置\nembedding:\n  provider: ollama          # ollama | lmstudio | openai | local\n  model: nomic-embed-text\n  baseUrl: http://localhost:11434\n  dimension: 768\n```\n\n### 环境变量\n\n```bash\n# 可选：覆盖配置\nOPENCLAW_MEMORY_DIR=./memory\nOPENCLAW_EMBEDDING_URL=http://localhost:11434\nOPENCLAW_LOG_LEVEL=debug\n```\n\n## 🎯 使用方式\n\n### 基础使用\n\n插件加载后自动启用，无需手动操作。\n\n### CLI 命令\n\n```\n/memory list          # 列出所有记忆\n/memory search <query>  # 搜索记忆\n/memory stats         # 显示记忆统计\n/memory clear         # 清理旧记忆\n```\n\n### 编程接口\n\n```typescript\nimport { \n  hybridRetrieval,\n  saveMemory,\n  loadMemory,\n  getHebbianStats \n} from 'openclaw-local-memory';\n\n// 存储记忆\nawait saveMemory({\n  id: 'mem-001',\n  content: '这是一个重要的记忆',\n  type: 'fact',\n  metadata: { topic: 'ai' }\n});\n\n// 检索记忆\nconst results = await hybridRetrieval(\n  '查找相关内容',\n  memories,\n  { workspaceDir, sessionId }\n);\n\n// 查看 Hebbian 学习统计\nconst stats = getHebbianStats();\nconsole.log(`关联数量: ${stats.totalWeights}`);\n```\n\n## 🏗️ 架构\n\n```\nopenclaw-local-memory/\n├── src/\n│   ├── hooks.ts          # OpenClaw 钩子注册\n│   ├── retrieval.ts      # 混合检索引擎\n│   ├── storage.ts        # 存储管理\n│   ├── predictive.ts     # 预测层\n│   ├── immune.ts         # 免疫系统\n│   ├── meta-cognitive.ts # 元认知监控\n│   ├── orchestrator.ts   # 热备编排\n│   ├── consolidation.ts  # 记忆巩固\n│   ├── graph.ts          # 知识图谱\n│   ├── palace.ts         # 记忆宫殿\n│   ├── hebbian.ts        # Hebbian 学习\n│   ├── cognition.ts      # 认知架构\n│   └── proactive-engine.ts # 主动机器人\n├── dist/                 # 编译输出\n└── scripts/             # 构建脚本\n```\n\n## 📊 性能指标\n\n| 指标 | 值 |\n|------|-----|\n| 检索延迟 | < 100ms (本地) |\n| 记忆容量 | 无限制（磁盘存储） |\n| 支持工作空间 | 无限 |\n| Hebbian 关联 | 持久化保存 |\n| 预测准确率 | 85%+ (经过学习) |\n\n## 🔒 安全\n\n- 所有数据存储在本地\n- 不上传任何数据到云端\n- 支持加密的记忆存储（可选）\n\n## 📚 文档\n\n完整文档见 [项目 Wiki](https://github.com/your-repo/openclaw-local-memory/wiki)\n\n详细开发文档：\n- [架构设计](./docs/architecture.md)\n- [API 参考](./docs/api.md)\n- [配置指南](./docs/config.md)\n\n## 🐛 问题排查\n\n### 常见问题\n\n**Q: 记忆检索返回空结果**\n```\nA: 检查 embedding 服务是否运行\n   确保 Ollama/LM Studio 已启动\n   验证 baseUrl 配置正确\n```\n\n**Q: 多个工作空间未检测到**\n```\nA: 确认 ~/.openclaw 目录存在\n   检查工作空间目录命名格式（workspace, workspace-1 等）\n   查看日志中的 workspace 扫描信息\n```\n\n**Q: Hebbian 权重丢失**\n```\nA: 确保 memory/hebbian-weights.json 存在\n   检查磁盘写入权限\n   查看是否有同步冲突\n```\n\n## 📝 CHANGELOG\n\n查看完整更新历史：[CHANGELOG.md](./CHANGELOG.md)\n\n## 🤝 贡献\n\n欢迎提交 Issue 和 Pull Request！\n\n## 📄 许可证\n\nMIT License - 详见 [LICENSE](./LICENSE) 文件\n\n---\n\n**版本**: 2026.4.23  \n**发布日期**: 2026-04-23  \n**作者**: OpenClaw Community\n","readmeFilename":"README.md"}