{"_id":"dsh-memory-hub","_rev":"21-266f4d443b165cf933860968b949ca98","name":"dsh-memory-hub","dist-tags":{"latest":"0.8.1"},"versions":{"0.0.0-stage":{"name":"dsh-memory-hub","version":"0.0.0-stage","_id":"dsh-memory-hub@0.0.0-stage","stub":true,"maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"dist":{"shasum":"7039348d0528f5c7557718619832b87e444936ff","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-laOguDjOuKUXeuwbCqAlJG4g3r40Ec4746sqq72cwRCEon7QsI7SEVGa3DcG8tpDY5BXyMwWb+dTpDbyXE33Dg==","signatures":[{"sig":"MEUCIQC+sqlr1LBSj4kY7dJjXnItL/za6NoNQaQYrG8nI8SxWgIgdkbTKExgFDgWLDPUZTD6HStGsZA8tTi2LQZRk/1Jx4o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":336},"_npmUser":{"name":"lizhiwu","email":"lzw1510307303@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.2":{"name":"dsh-memory-hub","version":"0.1.2","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.2","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"822f0da131c89f3e0d356c12e3402986cf4828e4","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.2.tgz","fileCount":13,"integrity":"sha512-tDhkIlgJu5mNNsOs/BuPByI9JO0PoNVi2h6GiARh6yFl7mxukCTql5njDmcll0dOfV6v42/1Pm7lrIjjCWwK8g==","signatures":[{"sig":"MEUCIEsj+L4VkwN5KmiuW8gM/Joj5k6NzFkP8Rqzz/yj4AegAiEA20duFlsXX20hs0MtIv6nfZILweqUD9XAFG8r6l1pJgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICCMkJTQOVqW++PgMFK2g04n00+AVZB8CyCJ7E7GyQJGAiBiY09K7y18atiEvsMi3jTMimpTh1zdfmcpCF7lgtVLNA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":668576},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"29cfc78e072297a54fc704b3ac0411e6e0ad88eb","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"lizhiwu","email":"lzw1510307303@gmail.com"},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.1","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, and a read-only Web panel.","directories":{},"_nodeVersion":"24.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.2_1793541982921_0.5609034789680053","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"dsh-memory-hub","version":"0.1.3","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.3","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"8a1a7e035384118a7eddc53a0917bfdf546caeb2","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.3.tgz","fileCount":13,"integrity":"sha512-YL4NsvuJvNcYFwmlVMNwgUarDES8NkTBFM14NgVNyTH5xVbPJZh3EpY/AaRPI9++fKlhxmDCVy+jXU/K/EUNhQ==","signatures":[{"sig":"MEQCIEJvmLbLttmNz+7VvTHVGtRBby15tt7wo8aDNj9/i2+yAiB/IYQhv15nDDSDHEn19/ofCwrLZfihonJKOPOPScVppw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIG7zTsi2R+xYci538lIeg+5bDVYzlof3za1e+Fw6qf5KAiBUXJeN328I0H8uwjrqQMfmPfDZZxMyAh3/wo1ZGftp2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":671931},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"f66b3433223fbe9b5203048da2893c4f18bcb0de","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.1","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.3_1793543695554_0.6758407871188101","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"dsh-memory-hub","version":"0.1.4","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.4","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"b9eb1c55e7fbe62c332c826b164cc9c80f59b473","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.4.tgz","fileCount":13,"integrity":"sha512-xmBYVgy+tv7BAbwfuCvd2eijC73ixd/hHbEjkY8wF5vXeJ5vOmD9qojrDDBdbIufi3sIt/eESOOOiQ2b//9rjQ==","signatures":[{"sig":"MEUCIQCL+96bU8VpRHYc+9GgPzhaig5I2nylY24AVPtbg76v/wIgUABz4XKSy1wOFAN6tRjMNbAIb75CkoncoTwW4ZIxHlo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCagL5xBde0WYJEsZd9f9c/huDt5feWeW2C0nd+vDLY/AIhAO8SMFWRd3CCmEOWyU1OlbGmiNF7T5E8YQs+d7Ceqt9R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":720136},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"0e5d76518dbaaa52df92355c35ab424d0b7be772","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.1","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.4_1793548588023_0.41423937069843264","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"dsh-memory-hub","version":"0.1.5","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.5","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"a970828ab4fed43fcd0b75061f6eee33067e6cd0","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.5.tgz","fileCount":13,"integrity":"sha512-0LSLyL9NgfcyeZAEJCdu3BodCFgRCgF0DrRb+hH/bPv16ROcWiD2R/Rfrl814TNdLHaLcUaoI/xCPVQ5D2r48A==","signatures":[{"sig":"MEUCIE36r9Y38MVeubiNyBlXTaQlH/txMfa2Vg8b0OFBbf/6AiEAyQYlyFG3V+qHo7iANrCaJoNQqnuyzWsziMkC9/FtxJM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDHolWcuf71ksLKThTjlt3KayxU1ZtElmq7+uJ1HOkbRQIhAKkbQYBUoJZv9/1c/5o4kJ2DMQCzq01gZnYZ/VNtForZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":720005},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"1bd5dedd4adde329d5dcfd7d3926819e113cb358","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.1","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.5_1793549555377_0.8393817471419117","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"dsh-memory-hub","version":"0.1.6","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.6","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"7733fba0297aa86691074baf4384231de83c300b","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.6.tgz","fileCount":13,"integrity":"sha512-OVPj4Hgchpcn7YzkwrNtnoCFM0C3OZdyVL2cJjwrIHMqoVCkTJgND2gak8XhW68ApDBs77gQad7elDmv4P+hcg==","signatures":[{"sig":"MEUCIAQga5bL/o4RuuwN0A8ocpBVu6MCrtaKgK/RkUuh5w3KAiEAgb2nQ/WsORyA2dhiLcZkrgfDVjzLJHdi6llQgRf1B7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBy309Q7KjaW+R1G+jt2KDPh2wSeglxhC8OX4RenrbiTAiEAtcuzc3ii7sC9G2Dmv/u+lMoJfs9EXlsY+3G8CDOvPGk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":725237},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"785576f3cbc3a466c1fc1f7ecd30e7120cddae87","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.1","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.6_1793619030357_0.692312698984981","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"dsh-memory-hub","version":"0.1.7","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.7","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"f99eac59e2e9d24e325ca41cc227ce2083c9fbce","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.7.tgz","fileCount":13,"integrity":"sha512-/Nu7dOwcav4P5VzuRdjX/BGSGfBP6gpzYwU6HjpxeTC4kHDox6dsBbozcbJfNtNFYxJMSlq7mWkdu/MW6G+Amw==","signatures":[{"sig":"MEYCIQDfYA1yV1h4arpSeBMwuJSjQXizDK/ZIcDyPC/3V/6xYgIhAPcPKjhIxWEeQ0wKWLfFaRtC3W9MeFmIjtXp1UMqTyQT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIF32a6mq2UYfvxLPHHbxiQd+GIMxXVmdwZjQfgM4xzm/AiEAzLs9CTenrJ+ezGaV3wI2vL2k7aTACQCNH5kU8Objvv4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":743719},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"9f97e84b14c1dfa47723f1181a3ce3887cacfe39","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.7_1794035797535_0.5897448124009532","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"dsh-memory-hub","version":"0.1.8","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.8","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"f4dbe36f3214b37cc7d73b52a16e2e7917f36de1","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.8.tgz","fileCount":13,"integrity":"sha512-FDEOx2dSCJqJS5fJwKMRYdN5IXObjcz0H4Kh84CFAgpeQpZtaXpud58Z19CdrqJXdtTNFT1ObvE+8PFWdo7CVg==","signatures":[{"sig":"MEUCIQCF9X2I9fdPp9li6N/g+QSe3lylukDc/b7+jIe1rjyWcgIgX/BGmJBuHkQ6YvbkKLeqPsob3tFocqhw3UQzs/GuM78=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCjz/ooO9IOHYTmHk9FfgnY3ioHWIxQl2IGg610Kj2hCwIgauthHDx0HffkyexV026lZsefRs1sgBTRM4jiqZU5yCA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":744781},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"05a19ab80c28135ac1b4ecbd220bd8dd376c88c0","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.8_1794038435781_0.6962038978761004","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"dsh-memory-hub","version":"0.1.9","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.1.9","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"b527039239dbcf4c76996dd2d51a538382f504b4","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.1.9.tgz","fileCount":13,"integrity":"sha512-/jL7o0pXGLee1rjD3sfl0XYzvitBUh/iFIpBnBv9lh8gs4efhug/9Zl4XxIyBLPdDot5yKAVgyLenaZP3DaohA==","signatures":[{"sig":"MEUCIQCzbylWiN8N8K4nkKTxoNEr/xRw1Q/VkLZEddmtxPZThwIgCh50xCiTqmfT3DGzVA4MWd4sQdmUumEix6uZa76hwHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCID/D+CEhcRPZqcQVLDSIlQ4FzxMfr8VTim2CwhjnDMT3AiBgWg1GCvnJ8vsy3TZLu2+4IsdFTCIVYjniy0TqE6uREA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":747219},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"6dcb6e56ac41b6fc0083ddd654bde3c7c7299d5a","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.1.9_1794043871177_0.914574779817982","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"dsh-memory-hub","version":"0.2.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.2.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"db16729c4a2981f1eb29940b5f98c6f853fe6f5f","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.2.0.tgz","fileCount":13,"integrity":"sha512-Dhc+bPGi3hoPc7m079EnYoRiXSsedXAYdPaeTW3QyN3bx7wh5+WHpW9HqLGxvjD7q81PG9HAH8XvvNpusfH9GQ==","signatures":[{"sig":"MEYCIQCGHTs4P+5RZyYuTfRxjezCYIKhQrvlD2Fjkcosm3xqCwIhAL6FRNlhysglAJFOpqYTN/xPuDduqLq5ThmEy0vWM/IB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCNyJhfdpvLSL5Ksboa/JTltGpvh5KEH9SnwMKT1muzYwIhAKhG4Ik8TiD/rKFNpPsjzcAeZ2MZqTgy+stzYteVFAu+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":753542},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"761c754e7d87ca5f1dda728b3c21f8b6ec19d9bf","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.2.0_1794065749009_0.0670904781471856","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"dsh-memory-hub","version":"0.3.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.3.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"3c0d77c54d8db2a3338c2bd438d0af47eb0e22c9","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.3.0.tgz","fileCount":13,"integrity":"sha512-gxHUgFiyAYbordIJZEgA/1TCjCiUycNkHo8ZzyjI1XYnNU76tQ1lFb1CWNEsgTfNcRNyDG6zkc2a/2h/dVYZRQ==","signatures":[{"sig":"MEUCIGL1Tnuz4yS5m+lD4N13FQ03jVTSt2c6ASWfnjGFIqmqAiEAiLNkqdROt9glTHgnH6JMxw3f7l8XQuBysbGdIVKNtj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDmIrLGFa0SHe1P830qsmgU6coJc9eP+a5TlklIKfsVnwIhAMXa+a5kuVF+t1DzUYJqSyJp7f0T7Ucol3GJIpgpeQ2m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":761886},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"30815aa200830fdedb0f2948a3ec81928c2f87df","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.3.0_1794066609523_0.24773335281379216","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"dsh-memory-hub","version":"0.4.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.4.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"17798838ec6dbf8f3e6618c0b3abbdc28f28de88","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.4.0.tgz","fileCount":13,"integrity":"sha512-iaLgyz/OFGiHRda7KRMhmugP15DteQV2YYbn6PDfXJcgyE4Jy3JpVShBg94xhNw7ePBD6IxaNo4ywuS+A0wE8g==","signatures":[{"sig":"MEYCIQCOA1ao8HXyH9RuoZt6duhceCPf/KVhRfOdiB1KHygnSQIhANhGEawNcTNcasJtOjg/ZAGrozuXnuxMJt8GSKaeGEDB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCwD5DvslVf8swM0jQT3a7iA5leVYvRGCgcfO9CWPOTUQIgWK7jkz3U3ZjwH6is40ju2hiPKdpp7K7EFGP/DLUVKzY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":767727},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"3882e4a8ba9964bd40a63e7f49bee38e3418619c","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, and a read-only Web panel.","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.4.0_1794101716614_0.8210627021942345","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"dsh-memory-hub","version":"0.5.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.5.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"c12fa046c7296985cc1a37607c349875f7ecb1e1","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.5.0.tgz","fileCount":13,"integrity":"sha512-KJ+Gpxp/8/lGRoh//4TuqxVJqGgIo2Ua9+pDuSA1viOBGdzfygOevrJGvxneG7nejz14WszSBnhahM1a0aSXqw==","signatures":[{"sig":"MEMCID46EtK8WloZdfhJV8Tvt96B28M5guk1H0z0usnAOpevAh8ZlRTKMdt0v+iHyOIHJQnjfIDphCi+iIkWO/9F5DQO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCfjXWhwX7FiZv8l6YHG3a77VoDfbeBPkO0Vr5Q5FLJ4AIhAMLH/Fh0W4XuOpwX3JC9W/+0J0T1RRIfsNs39/B4B0Ja","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":794067},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"f3b952ff891eb55d6ea3df6e3ce4add347c16cf5","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, per-workspace scheduled distillation, and ","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.5.0_1794107806848_0.11975681056231469","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"dsh-memory-hub","version":"0.5.1","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.5.1","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"d502a860550d2a274571a280f5b218d787bc208f","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.5.1.tgz","fileCount":13,"integrity":"sha512-gduNjIXlExa5Up3la72Z9ZLUlaVT3e31koaG732xMzN0qBeqLZX3PvYsE8TxG4bPmHa0i4kYkrk5xNH4U3+42Q==","signatures":[{"sig":"MEUCIQCCEUapVCubwSG5LsuN+GD/eoVlEJJzJchYeWjOYOaPLQIgc9Rg9j5SsWkU7y99qs7dqLXckXLwEkh9FHAKqKcs2kQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFyjSduCEiP7wCvQF0fr9VZVdrU6eq4dW3OAU0MLxoHFAiEA6dqa/90CJDWjWZUHSdYgMEfD4sLbQ6+cdLg19AsH5Ns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":794359},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"5a1fc0828ec9ca63418aafa53c4d493709d84e76","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, per-workspace scheduled distillation, and ","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.5.1_1794108272721_0.4209557242539742","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"dsh-memory-hub","version":"0.5.2","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.5.2","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"9ca16a0b3a9e9cfea193500a6772e0d5e8c38e09","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.5.2.tgz","fileCount":13,"integrity":"sha512-PkBcvlpL5n2BtEdSesOElhcByL5AJitFY7l+j0QJpyG2eNfJ8glNl8VSZUCdf6YEVKgCcCiSvioomnbvI7KQzA==","signatures":[{"sig":"MEUCIQCHWhlWeh7ZX/k0KnLxkz5y1Dx6vaK29fjvliYVStM1CgIgIq08O7hpZ3mlqw4xUoFQVhfM7w/0HStXFoygqsh8hNA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDVRQEu71ErS0PvXBV9luPJLHc/mN0fd/opVm7TBiZ/qwIhALVRFp7YFvI4S4vNA07IqJWNltSkcZ3nCz3bXjmjFpHV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":795860},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"71efcac5ab2e3a625ec6737ae61a565f2d784cdc","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, per-workspace scheduled distillation, and ","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.5.2_1794108947485_0.13309409431870212","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"dsh-memory-hub","version":"0.5.3","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.5.3","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"552280efc9d0c8cd54e85b590aa0136d47209424","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.5.3.tgz","fileCount":13,"integrity":"sha512-5dn36x11/QqINKu4av8y+Yfm9NJPpvgC23yMk+xydIlxSMP7jCnFpeUNmi1gs1s3N+wHAe4E50fqInTc1wbLaA==","signatures":[{"sig":"MEYCIQDvbzAGkVNUrm7k2io/R2oGl6UOlLHzrDbR+JXZGU2gqgIhAIyO26oA/CDC+Ep5wyUCn0MiP8gL88FftqtbKNQ1wz/n","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFk/N2Tg66RvLQs8xRWq1KOmGQ7GRNz/4ufm8aKIvCKIAiAeHR+xN7pDGQp0lmg6DPFDD2UsVAXw42THbxIVdUG/dQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":801952},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"9d7257c8af965442dcc76c00d0e42dd02dd1a8e5","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, per-workspace scheduled distillation, and ","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.5.3_1794109916117_0.316786924092718","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"dsh-memory-hub","version":"0.6.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.6.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"8480ab2a9e1aec24ef561ddc76c13a1eb57a54b2","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.6.0.tgz","fileCount":13,"integrity":"sha512-WbHn/fi6cxJDrnG1/LxoVoEQ4aU6TsC0rONsILIjfaRJCi3uDYDOu+oRXnfijKTvf5cLP/d4PZbhPBub30rjJg==","signatures":[{"sig":"MEUCIEC8XbRtXN3jwqkHGRWl/VCdmkSLk8vUSDiXMZzeAvuEAiEAtnXCMAapMD7j0tNrHVTeebyOPrisOJaNbrBEF1qpBVo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDndhOjsTGnNPckft2ZQ78LFwIZ9zO3fFKDIwwuw4KpkAiEA3XJysCxDW2djlA9zuaH8lKOrAqAYnfh9H6yzsGuTPfU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":807229},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"f10241fe309769a520028eb23e156a9a6221dced","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, proposals, human-approved commits, manual consolidation, nightly report-only maintenance, per-workspace scheduled distillation, and ","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.6.0_1794117317123_0.486414693152016","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"dsh-memory-hub","version":"0.7.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.7.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"562e94baa81a98c6a7977d88f9b7cca91be8d940","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.7.0.tgz","fileCount":13,"integrity":"sha512-D3oD6tm2DRayloX9LSFyk9ychNWTMn+jt4zKmkSXvSBI4vlUjsJh02tYVcoeSMdO6VO5SViqOe61KwiV7hWJnA==","signatures":[{"sig":"MEUCIQDT0MvQKPPd+pMNBdqY+MdrDfCGBBJpP38+SRGGxSOW1QIgaTfCYnMu44ekgqj6ent147TVaBYM3S1+xaa21reWMFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDbNJ+vgHLmII0cZWnetzexJGtav6nYrMW5LjQP/5iLKAiEAua7e/J67smsQe73hKUF3ADZK2ENmxvfS3LWkNL/VvXY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":931838},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"ead261d6d9e5ca11c30ec80e8a9eb7c7b8767904","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, human-approved commits, temporal validity, dedupe/merge, retrospective reflection, write-risk flags, a derived SQLite index, per-wor","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.7.0_1794150080313_0.43464022329793184","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"dsh-memory-hub","version":"0.7.1","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.7.1","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"24e24520efa1aa7f10831097cb16916fe0ebe38c","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.7.1.tgz","fileCount":13,"integrity":"sha512-DPtrBsgzW+S+6mNyu2TaQnM60+iQ8wtghb3q7V+RWIq/WhVD9Q8VaGm9jtQKfR1WMGg0VoX3okCDSj+WKls07A==","signatures":[{"sig":"MEUCIChfA46KM7KAkQ8rFHKQ3RUagIXU+/tlY9J9CPKDXp6YAiEA6niVAn2mbQ5Cj7ShO+ugsz7Wol+ioyZBVG/4N4exnAk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICn+pHMWJ0DeEapv56QcjY/hNhMg2lbuUgYUkYiftUhbAiEA/OnvskQpIarv/E26HDZ0q/AdI0EEDpRyfNwLF1iRU0c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":955081},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"e78aa4487d931e645050bf6530e23dddac0edafb","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub for DeepSeek Harness (DSH): preflight, compact context injection, citations, human-approved commits, temporal validity, dedupe/merge, retrospective reflection, write-risk flags, a derived SQLite index, per-wor","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.7.1_1794558459502_0.6972914921705248","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"dsh-memory-hub","version":"0.8.0","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base","mcp","mcp-server","claude-code"],"author":{"name":"zhiwuli0228"},"license":"MIT","_id":"dsh-memory-hub@0.8.0","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"bin":{"memory-hub":"dist/cli.js"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"dist":{"shasum":"6752b187bfdb683873160ed60f918f136b5f5360","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.8.0.tgz","fileCount":20,"integrity":"sha512-0VY4AKpZBgNuwPSS+t2Di+/w6GyRegcCIxDcKOxigcVWgjZP63eDFz/62zMBF9dZykGLurJEHkN8zxeBMJCcdQ==","signatures":[{"sig":"MEYCIQDaQycY9Oy9aBdYVaaGl9Fa+70WW58X1IiBOaGsDNQShQIhAPLlYE1kJw5n15u6TYvz3CD9K0CoT23W1K/uDTtJoj+/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICVMqDFmGsVP6QoUnqOLFVCJ9WLD5LbtOQZqJ8uLN9RLAiEA1G+TQaeyyHxHLRSal4WGhNje3109zwbi8+wN/Z6QjPE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1977918},"main":"dist/index.js","type":"module","engines":{"dsh":">=0.2.1-rc.5","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"cf713ff64a3f976a3a4e6f82b26929a4872cac8b","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub: preflight, compact context injection, citations, human-approved commits, temporal validity, dedupe/merge, retrospective reflection, write-risk flags, a derived SQLite index, per-workspace scheduled distillati","directories":{},"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-memory-hub_0.8.0_1794709784602_0.6253514487465623","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"_id":"dsh-memory-hub@0.8.1","bin":{"memory-hub":"dist/cli.js"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-sidebar"],"platform":"web","immediately":true},"manifestVersion":1},"bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"dist":{"shasum":"eb2ef4f4081150c822f6240faafab33b31359001","tarball":"https://registry.npmjs.org/dsh-memory-hub/-/dsh-memory-hub-0.8.1.tgz","fileCount":20,"integrity":"sha512-xxrwnib1GHjvqDNewi6FPIXCoQbo9hYAOu1yXA0sLCKs3UxPTRB9pRrEJjIQyHKdmoK3IlftQIrFECxfpT4iCA==","signatures":[{"sig":"MEQCIGNc8xyCxUNOzYWSia4uWPn015Fref6SZ/DcX670dq7mAiB3lqzHzgPoaKYyAXcMa6ezNFioQizhygibP3QHLyL7rw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD+NA+dLo2WG9NJolYnYckbEwfBCO4JjlOynzlOZlraQgIgYX5hzCpRq8U/DZFH7y1fsg2mQT2uhnVhbBjeLOHgFxs="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dsh-memory-hub@0.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1981758},"main":"dist/index.js","name":"dsh-memory-hub","type":"module","author":{"name":"zhiwuli0228"},"engines":{"dsh":">=0.2.1-rc.5 <0.3.0-0 || >=0.2.2-0 <0.3.0-0","node":">=20"},"exports":{".":"./dist/index.js","./icon":"./icon.svg","./client":"./client.js","./package.json":"./package.json","./locale/*.json":"./locale/*.json"},"gitHead":"dc99489652151ef9b21887a54123b82661e64878","license":"MIT","scripts":{"test":"vitest run","build":"node esbuild.config.mjs","check":"npm run typecheck && npm run build && npm run test","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"0.8.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"cc2deebd-eb10-4b6d-8d8e-4a14dd4000a5"}},"homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base","mcp","mcp-server","claude-code"],"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"_npmVersion":"12.2.2","description":"Local-first, file-native long-term memory hub: preflight, compact context injection, citations, human-approved commits, temporal validity, dedupe/merge, retrospective reflection, write-risk flags, a derived SQLite index, per-workspace scheduled distillati","directories":{},"maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"_nodeVersion":"22.23.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.25.76","yaml":"^2.8.1","react":"^19.3.1","vitest":"^3.2.4","esbuild":"^0.25.9","react-dom":"^19.3.1","typescript":"^5.9.2","@types/node":"^24.3.0","@types/react":"^19.3.0","@types/react-dom":"^19.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-memory-hub_0.8.1_1794710622110_0.5557142755046982"}}},"time":{"created":"2026-11-01T14:05:26.772Z","modified":"2026-11-15T02:43:42.524Z","0.0.0-stage":"2026-11-01T14:05:26.772Z","0.1.2":"2026-11-01T14:06:23.008Z","0.1.3":"2026-11-01T14:34:55.642Z","0.1.4":"2026-11-01T15:56:28.127Z","0.1.5":"2026-11-01T16:12:35.477Z","0.1.6":"2026-11-02T11:30:30.497Z","0.1.7":"2026-11-07T07:16:37.626Z","0.1.8":"2026-11-07T08:00:36.023Z","0.1.9":"2026-11-07T09:31:11.293Z","0.2.0":"2026-11-07T15:35:49.134Z","0.3.0":"2026-11-07T15:50:09.706Z","0.4.0":"2026-11-08T01:35:16.703Z","0.5.0":"2026-11-08T03:16:46.976Z","0.5.1":"2026-11-08T03:24:32.819Z","0.5.2":"2026-11-08T03:35:47.632Z","0.5.3":"2026-11-08T03:51:56.219Z","0.6.0":"2026-11-08T05:55:17.239Z","0.7.0":"2026-11-08T15:01:20.395Z","0.7.1":"2026-11-13T08:27:39.717Z","0.8.0":"2026-11-15T02:29:44.720Z","0.8.1":"2026-11-15T02:43:42.213Z"},"bugs":{"url":"https://github.com/zhiwuli0228/dsh-memory-hub/issues"},"author":{"name":"zhiwuli0228"},"license":"MIT","homepage":"https://github.com/zhiwuli0228/dsh-memory-hub#readme","keywords":["deepseek-harness","dsh","dsh-plugin","memory","long-term-memory","knowledge-base","mcp","mcp-server","claude-code"],"repository":{"url":"git+https://github.com/zhiwuli0228/dsh-memory-hub.git","type":"git"},"description":"Local-first, file-native long-term memory hub: preflight, compact context injection, citations, human-approved commits, temporal validity, dedupe/merge, retrospective reflection, write-risk flags, a derived SQLite index, per-workspace scheduled distillati","maintainers":[{"name":"lizhiwu","email":"lzw1510307303@gmail.com"}],"readme":"# dsh-memory-hub\n\n[![npm version](https://img.shields.io/npm/v/dsh-memory-hub.svg)](https://www.npmjs.com/package/dsh-memory-hub)\n\nDeepSeek Harness（DSH）的长期记忆中枢：**文件原生、用户掌控、人类批准写入**。\n\n> 让 DSH 记住项目里值得留下的结论：可检索、可追溯、可干预。\n\n**V0.7.1 已发布**：修复写锁的两个致命问题——**挂死/崩溃的写者会让某个 hub 根永久只读**，以及**只读状态是启动时的一次性缓存**（pid 已消失、锁文件已删除，`memory_status` 与面板仍显示只读，只能重启）。现在写锁是**租约 + fencing token**：pid 确定不存在的写者立即回收、探不到死活的约 60 秒回收、心跳超 `lock_stale_ms` 自动回收，旧写者按 `token` 降级为只读；只读状态在每次状态读取（`memory_status`、面板 `/api/overview`、`/api/config`）与 60 秒巡检中重新推导，面板自身每 30 秒轮询，对方退出后自动恢复可写。**不再需要手动删除 `.writer.lock`。**\n\n**V0.7.0**：在文件原生 Hub 之上，加入时效字段（`valid_from` / `expires_at` / `last_verified`）、近重复检测与 `merge` 合并、回顾式萃取（`memory_reflect`，含原文 `search` 模式）、引用驱动生命周期（aging 参考最近引用）、写入风险标记、派生 SQLite 索引（零依赖，按需建库）、面板批量审批，以及**每个 Hub 自动生成的目录说明书 README**（解释每个文件夹、澄清 `assets` 含义）。已在 DSH Desktop Runtime `0.2.1-rc.5` 完成宿主冒烟。验证记录见 [docs/COMPATIBILITY.md](docs/COMPATIBILITY.md)。\n\n> 左侧边栏会新增「记忆中枢」图标。安装包含面板的版本后如果暂时没出现，重启一次 DSH 即可；本机已在运行中热加载成功。\n\n> **从 0.7.0 升级时先停掉旧进程**。0.7.0 会刷新锁心跳（健康时不会被抢），但它的写入口没有 fencing 复核；若它在升级期卡死超过租约、被新版本接管，恢复后会在不复核的情况下继续写。0.7.0 造成的“永久只读”不需要手动处理：升级并重启后，残留锁会被自动回收。\n\n## 它是什么\n\n**Memory Hub** —— 本地优先、文件原生的长期记忆中枢，面向任何 agent 宿主（DeepSeek Harness / Claude Code / opencode / Cline / 任何能调 MCP 或 CLI 的 agent）。`dsh-memory-hub` 是它在 npm 上的发行包名（DSH 插件 + 同一个 `memory-hub` CLI / MCP server）。\n\n一条知识是一个带 YAML frontmatter 的 Markdown 文件，放在用户目录下的 Hub 里。每个用户回合开始时，插件做一次确定性检索，注入一份紧凑索引；模型按需读取全文、记录引用；任务结束给出回写评估；候选知识经人工审批后才成为权威知识。\n\n| 能力 | 说明 |\n| --- | --- |\n| 自动预检 | 每个用户回合第一步检索 accepted 知识，幂等键 `(sessionId, turn)` |\n| 紧凑注入 | 只注入 ID、标题、一句话摘要、作用域；细节按需读取 |\n| 检索与读取 | 关键词 + 类型 + 作用域 + 状态；CJK 二元组分词，无向量库 |\n| 引用 | 区分\"检索命中\"与\"实际使用\"；记录 ID、版本、用途 |\n| 候选与提交 | 候选写 `pending/`；提交必须经过 DSH 审批；模型不能自批 |\n| 门禁 | 变更工具需要本回合有效预检；预检故障默认放行（可配置为拒绝） |\n| 收尾 | 每个关闭任务都有评估；未评估的回合自动记 `deferred` |\n| 汇总 | 管理员手动把项目知识晋升为 global 候选；按 `promoted_from` 幂等 |\n| 多核心仓 | 每个 `core_workspaces[].root` 是一个独立 Hub；会话按工作目录最长前缀路由 |\n| 双角色工作区 | 同一 `id` 可同时是核心工作区与另一个核心的子工作区（V0.1.7）：会话路由到自己的 Hub，父核心 Hub 挂为二级检索来源 |\n| 金字塔记忆 | 沿 `core_id` 逐层上推父/祖父/…（最多 8 层，带环检测）；越靠自己的工作区记忆越完整，越往顶层越是蒸馏共享知识；检索以当前工作区为主，本层无命中才逐层上溯 |\n| 分级蒸馏 | L1 `scope:\"core\"` 写自己的 Hub；L2 `scope:\"parent\"` 写父核心 Hub；L3+ 显式 `project:<祖先核心>` 逐层上推；`memory_get`/`cite`/`commit` 支持 `core` 参数 |\n| 夜间维护 | 每天 03:00 确定性巡检所有 core / 子工作区，写报告并按需生成 pending 提案；不自动提交 |\n| 系统级 Skill | `memory-hub` 注册到 Host 全局 skills 层，按需加载检索/回写流程；不占每轮上下文 |\n\n## 5 分钟初始化工作区\n\n### 1. 先分清两种目录\n\n- **配置 Hub**：默认 `~/.dsh/memory-hub`（或 `$DSH_HOME/memory-hub`），保存 `config.yaml`；只有“工作目录不匹配任何 workspace”的会话才会把数据兜底写在这里。\n- **数据 Hub**：每个 `core_workspaces[].root` 是一个独立 Hub，`knowledge/`、`pending/`、`records/` 都在该目录下。\n- 子工作区的知识写进**所属核心**的 Hub（`project:backend` 的条目在 `product/` 目录里），不在子工作区自己的目录。\n\n> 每个 Hub 根目录初始化时会自动生成 `README.md`，逐条解释每个文件夹的作用、能不能手改、删了会怎样，以及 `assets` 到底是什么。**第一次接触一个 Hub，先读它。**\n\n### 2. 写最小配置\n\n```yaml\n# ~/.dsh/memory-hub/config.yaml（也可在面板「配置」页操作）\ncore_workspaces:\n  - id: product\n    root: 'E:/work/product'          # 必填：这个核心的 Hub 根目录\nworkspaces:\n  - id: backend\n    core_id: product                 # 归属核心\n    root: 'E:/work/product/backend'  # 会话按最长前缀路由到这里\n    admin: true\n```\n\n保存后 watcher 热加载，无需重启；新目录首次会初始化 `knowledge/`、`pending/`、`records/` 等并生成 `README.md`。只写 `id` 不写 `root` 的核心工作区不会打开 Hub，会话会落到兜底 Hub。\n\n### 3. 验证三件事\n\n| 检查 | 期望 |\n| --- | --- |\n| `memory_status` | `root` 指向你配置的目录，工作区与条目数正确 |\n| `<root>/README.md` | 含「目录地图」「`assets` 含义」「写入流程」三节 |\n| 面板「配置」 | 核心/子工作区与 `config.yaml` 一致 |\n\n### 4. 初始化后立刻看到的目录\n\n| 目录 | 一句话 |\n| --- | --- |\n| `knowledge/<type>/` | 权威知识，只能经人工审批写入 |\n| `pending/` | 候选，等人批准；`pending/archive/` 是已处理 |\n| `records/` | 账本（只追加）、ID 序号、派生索引、回顾水位 |\n| `history/` | 每次提交的旧版本快照 |\n| `reports/` | 维护报告 |\n| `index/` | 旧版遗留的空目录，可删 |\n\n## Web 面板\n\n重启后，左侧边栏出现「记忆中枢」图标，主区域提供六个标签页：\n\n- **总览**：状态、计数、精简的能力标签、记忆闭环示意、工作区与最近知识\n- **配置**：核心工作区与子工作区（一对多）管理；可添加核心、添加子工作区并实时保存到 `config.yaml`\n- **知识**：搜索、类型/状态过滤、全文详情与来源\n- **待审批**：`pending/` 候选列表（只读，不代替 DSH 审批）\n- **活动与策略**：最近任务、预检/门禁/证据要求\n- **能力**：10 个 `memory_*` 工具的详细说明\n\n面板通过 Host 路由 `/dsh-memory-hub/api/overview`、 `/dsh-memory-hub/api/knowledge` 和 `/dsh-memory-hub/api/config` 读取/保存数据，只允许回环请求；知识审批仍走 DSH 原生流程，面板不绕过。\n\n## 安装\n\n已发布到 npm：[`dsh-memory-hub`](https://www.npmjs.com/package/dsh-memory-hub)。\n\n### DSH 插件管理器（推荐）\n\n插件是 profile bundle，直接安装 npm spec，不要只做 `npm install -g`：\n\n```sh\ndsh plugin --profile <name> add dsh-memory-hub@0.1.5\n```\n\n只想查看包内容时可以用：\n\n```sh\nnpm pack dsh-memory-hub@0.1.5\n```\n\n### Desktop（由 Electron 管理的 Profile）\n\n通过 DSH 设置里的插件管理器安装 `dsh-memory-hub@0.1.5`。Desktop 的 `desktop` profile 由 Electron 管理，**不要**用 CLI 修改它。\n\n### 本地目录 / GitHub\n\n仓库包含构建产物 `dist/index.js` 与 `client.js`，安装本地目录或 GitHub 包时不需要再构建：\n\n```sh\ndsh plugin --profile <name> add <本地目录或 github:用户/仓库>\n```\n\n### 插件市场索引\n\nDSH 的插件市场是自托管 JSON 索引。本仓库提供一份：\n\n```text\nhttps://cdn.jsdelivr.net/gh/zhiwuli0228/dsh-memory-hub@main/site/index.json\n```\n\n在 DSH 插件页打开实验性「自定义插件市场」，添加上述索引源即可在「发现」中安装。\n\n安装后重启 DSH，或等待插件管理器热加载。插件加载只会在 `~/.dsh/memory-hub`（或 `$DSH_HOME/memory-hub`）下创建配置与目录，不会拖垮宿主启动。\n\n## 配置\n\nHub 根目录默认是 `$DSH_HOME/memory-hub`，也可以在插件行的 `config.root` 里覆盖。策略与工作区放在 `<root>/config.yaml`：\n\n```yaml\nversion: 1\ncore_workspaces:\n  - id: product\n    name: '产品主仓库'\n    root: 'E:/work/product'   # 必填：核心 Hub 根目录；省略则该核心不打开 Hub\nworkspaces:\n  - id: backend\n    core_id: product     # 归属到核心工作区 product（可选）\n    root: 'D:/projects/backend'\n    domains: [backend]\n    admin: true          # 允许运行汇总\n    enabled: true\n    distill:             # 可选：定时蒸馏（也可在面板「配置」页设置）\n      enabled: true\n      time: '04:00'      # 本地时间 HH:mm\n      target: new        # new = 每次新建会话（cwd = root）；session = 投递到指定会话\n      # session_id: session-xxxx\n      max_proposals: 5\n\npolicy:\n  preflight:\n    mode: per-turn       # per-turn | off\n    pack_tokens: 600\n    max_hits: 6\n    min_score: 1.0       # drop weak matches; 0 keeps every hit\n    local_boost: 1.2     # prefer the current project over core knowledge\n    inject: compact\n  gate:\n    mode: enforce        # enforce | off\n    on_preflight_error: allow   # allow | deny\n    unknown_tools: allow\n    mutating_tools: [bash, pwsh, write, edit, str_replace_editor]\n  maintenance:\n    enabled: true        # Host 运行时每天巡检；错过的时间在下一次启动后补跑\n    time: '03:00'        # 本地时间 HH:mm\n    apply: propose       # report | propose；propose 只创建 pending，不提交\n    all_cores: true\n    max_proposals: 10\n    stale_pending_days: 30\n    stale_citation_days: 90\n  temporal:                # 时效降权；默认即可，不配也生效\n    aging_days: 90\n  approval:\n    mode: manual           # manual | auto（仅测试环境用 auto）\n\nstorage:\n  index: auto              # auto | memory | sqlite；auto 在 ≥3 万条目时才建派生索引\n  sqlite_min_entries: 30000\n  index_candidate_limit: 2000\n```\n\n- 只有工作目录落在某个 `workspace.root` 内的会话才获得 `project:<id>` 作用域；其他会话只看到 global/domain，并落到配置 Hub 的兜底数据里。\n- `core_workspaces[].root` 决定这个核心的数据写在哪；子工作区共用核心的 Hub，不单独建库。\n- `config.yaml` 修改会被 watcher 热加载，不需要重启。\n- 目录与文件格式见 [docs/KNOWLEDGE-FORMAT.md](docs/KNOWLEDGE-FORMAT.md)；九类知识的定义见 [docs/05-domain/knowledge-types.md](docs/05-domain/knowledge-types.md)。\n\n## 工具\n\n| 工具 | 用途 |\n| --- | --- |\n| `memory_search` | 检索 accepted 知识 |\n| `memory_get` | 读取条目全文与来源 |\n| `memory_status` | 根目录、工作区、计数、索引诊断 |\n| `memory_preflight` | 手动/强制预检（没有自动任务时会创建一个可恢复任务） |\n| `memory_cite` | 记录实际使用 |\n| `memory_propose` | 创建候选（create / update / deprecate） |\n| `memory_commit` | 经审批提交候选 |\n| `memory_close_task` | 关闭任务并给出评估 |\n| `memory_consolidate` | 管理员手动晋升项目知识 |\n| `memory_duplicates` | 近重复检查（只读，给 keeper 建议） |\n| `memory_reflect` | 回顾已结束会话：`digest` 摘要 / `search` 原文取证 |\n| `memory_maintenance` | 巡检当前/全部 core，写报告并可选生成 pending 维护提案 |\n\n`memory_commit` 会触发 DSH 原生审批；审批不可用（headless、审批关闭）时提交被拒绝，候选保持 `pending`。模型参数里没有可伪造的批准令牌。\n\n### 夜间维护\n\n`policy.maintenance.enabled: true` 后，Host 每 60 秒检查一次本地时间；到点当天只跑一次，错过的时间在下一次 Host 启动后补跑一次。它使用**插件内部定时器**，不是 DSH `schedule`，因此**不会出现在官方「自动化任务」栏**；控制入口是 `config.yaml`。\n\n多个 core 时是一个全局定时器，按 `core_workspaces[]` 配置顺序**串行**巡检，fallback 最后；每个 core 独立写 `<hub>/reports/<timestamp>.md` 和 `latest.md`，然后：\n\n- 精确重复（标题 + 摘要 + 正文哈希一致）→ 生成 **deprecate** pending 提案；\n- 带 `core` / `shared` / `reusable` / `promote` 标签的子工作区知识 → 生成晋升到核心作用域的 pending 提案；\n- 近似重复、过期 pending、长期未引用、加载诊断、超长正文、作用域异常 → 只写报告，留给人判断。\n\n维护任务**永不**调用 `memory_commit`、不删除、不改写正文；同一指纹已有 pending 时跳过，避免每晚重复。也可以随时手动调用 `memory_maintenance`，用 `apply: \"report\"` 只看报告。\n\n多 core 的完整顺序、单 core 失败语义、状态文件和配置含义见 [docs/01-architecture/maintenance.md](docs/01-architecture/maintenance.md)；每日检查与排障见 [docs/06-operations/maintenance.md](docs/06-operations/maintenance.md)。\n\n### 定时蒸馏\n\n每个核心/子工作区都可以配置 `distill`（面板「配置」页有同一组控件）：到点后由 **DSH `schedule` 服务**启动一次蒸馏，因此会出现在官方「自动化任务」栏。\n\n- `target: new`（默认）：每次投递新建一个会话，`cwd` 固定为工作区 `root`，保证记忆路由到正确工作区；\n- `target: session` + `session_id`：投递到已有会话（会话必须存在，且不能是委派子会话）；\n- 蒸馏提示词只做三件事：读本工作区 L1 → `memory_propose` 到上级核心（`scope: \"project:<父核心>\"`；无上级时 `memory_consolidate` 到 global）→ `memory_close_task`；\n- **永不** `memory_commit`：候选仍需在面板「待审批」人工批准；\n- 插件启动和 `config.yaml` 热更新时会对比 Host 任务并增/改/删（标题前缀 `memory-hub:distill:`），单条失败只回填诊断，不影响其他工作区。\n\n配置字段、失败排查与卸载行为见 [docs/06-operations/distillation-schedule.md](docs/06-operations/distillation-schedule.md)。\n\n### 系统级记忆 Skill\n\n插件还会在 Host 的全局 skills 层注册 `memory-hub`。它是一项**按需加载的操作规范**，不占用工具名额：\n\n- 模型在任务涉及历史决策、约束、API、流程、回写，或用户说“记住/记录/以后按这个来”时加载；\n- 用户也可以直接调用 `skill` 工具加载；\n- 正文不进入每轮上下文，catalog 只显示 description 和 whenToUse；\n- 覆盖固定流程（预检 → `memory_get` → `memory_cite` → 必要时 `memory_search` → `memory_close_task`）、作用域选择、写入审批、核心回填、夜间维护和反模式；\n- 宿主没有 `skills` 服务时只记录 warning，插件继续运行。\n\n**命名冲突**：当前官方/内置 skill（`agent-experience`、`cordis-*`、`office*` 等）没有 `memory-hub`，也没有旧的通用名 `memory-management`。DSH 同 layer 内按 rank 取第一个，runtime（250）会盖住 bundled（600），所以通用名一旦撞上官方 skill 会静默遮蔽而不是报错。因此本插件改用产品自有名 `memory-hub`，并在 `tests/skill.test.ts` 锁定当前官方名称快照；完整审计见 [docs/02-harness/context-policy.md](docs/02-harness/context-policy.md#与官方-skill-的命名冲突审计)。\n\n## 跨宿主接入（MCP / CLI / standalone 面板）\n\n同一个 Hub 可以同时被多个 agent 使用。三条入口共用同一份 service 调用与同一份文件权威；**模型在任何入口都不能自行 commit**（MCP 的 `memory_commit` 无审批时恒定失败关闭）。\n\n### MCP stdio（Claude Code / opencode / Cline / 任何 MCP 客户端）\n\n```sh\n# Claude Code：全局路径按实际安装位置替换\nclaude mcp add memory-hub -- node <全局安装目录>/dsh-memory-hub/dist/cli.js mcp --root '<hubRoot>'\n```\n\n通用 JSON 配置（opencode / Cline 等读 `mcpServers` 的宿主）：\n\n```json\n{\n  \"mcpServers\": {\n    \"memory-hub\": {\n      \"command\": \"node\",\n      \"args\": [\"<全局安装目录>/dsh-memory-hub/dist/cli.js\", \"mcp\", \"--root\", \"<hubRoot>\"]\n    }\n  }\n}\n```\n\n8 个工具：`memory_search` / `memory_get` / `memory_status` / `memory_preflight` / `memory_cite` / `memory_propose` / `memory_commit`（失败关闭）/ `memory_close_task`。工作区按启动时的 cwd 目录名解析（与 DSH 同款语义），`project:*` 知识只对同名工作区可见。\n\n#### 多个宿主指向同一个项目\n\n工作区身份默认取 **cwd 目录名**。两个宿主从**不同路径**打开同一项目（例如 Windows 的 `E:\\repos\\app` 与 WSL 的 `/mnt/e/repos/app`，或两个不同位置的 clone）会被解析成两个工作区，`project:*` 知识互不可见。两种对齐方式：\n\n1. **目录名对齐（零配置）**：让各宿主的 cwd 目录 basename 相同（`E:\\repos\\app` 与 `D:\\clones\\app` 天然共享 `project:app`）。\n2. **显式声明（跨机/跨路径名）**：在 hub 的 `config.yaml` 里把两个路径登记为同一个逻辑工作区——\n\n```yaml\ncore_workspaces:\n  - id: app            # 核心：主仓目录\n    root: 'E:/repos/app'\nworkspaces:\n  - id: app-wsl        # 逻辑同一项目的另一个挂载路径\n    core_id: app\n    root: '/mnt/e/repos/app'\n```\n\n这样两个路径都路由到同一个核心 Hub，`project:app` 蒸馏知识对两者可见（金字塔回退同样生效）。\n\n### CLI（只读三件套）\n\n```sh\nmemory-hub search '写锁 租约' --root '<hubRoot>'   # 检索 accepted 知识（表格 / --json）\nmemory-hub get DEC-000010 --root '<hubRoot>'       # 读单条（标题/元数据/正文）\nmemory-hub inbox --root '<hubRoot>'                # 待审批候选列表（--batch / --json）\nmemory-hub status --root '<hubRoot>'               # hub 体检（readOnly/锁/索引诊断）\n```\n\n`eval-golden` 输出检索基线（hit@1 / hit@K，见 `docs/04-development/golden-set-baseline.md`）。\n\n### standalone 面板（无 DSH 宿主时的人工审批入口）\n\n```sh\nmemory-hub serve --root '<hubRoot>'        # 默认 127.0.0.1:7331；--port 0 取临时端口\nmemory-hub serve --stop                    # 停止（读 records/server.json）\n```\n\n浏览器打开打印的 URL 即面板（总览 / 待审批 / 配置）。三层防护：仅回环绑定、Host 头白名单（421）、写操作令牌 `records/server-token`（POST 需 `x-dmh-token`）。审批通过后账本记 `approvalRef: 'panel:human'`。\n\n## 安全与边界\n\n- 默认本地优先、无网络请求；知识是用户目录下的普通文件，可直接编辑、git、备份。\n- 路径经过真实化与作用域校验；项目知识不会自动晋升到 global。\n- 夜间维护只写报告和 pending 提案，不自动提交、不删除、不改写正文；审批仍由人完成。\n- 插件不修改 DSH 核心、不写 Profile 的 `package.json`/`cordis.patch.yml`；卸载保留全部记忆文件。\n- V0.1 是**每个根目录一个写者**：第二个写者只让该根降级为只读，不会并发写，也不会波及其他工作区；跨机拷贝或进程退出留下的锁，在确认不是本机活写者后自动回收（`<root>/records/.writer.lock`）。\n\n## 开发\n\n```sh\nnpm install\nnpm run typecheck\nnpm run test        # 单元/集成/transport/锁/面板/维护测试（数量见 npm run check 输出）\nnpm run build       # 产出 dist/index.js + dist/cli.js\nnpm run check       # typecheck + build + test\n```\n\n实现结构：\n\n```text\nsrc/\n  index.ts            # Cordis 入口（apply / inject）\n  runtime.ts          # 初始化、钩子、watcher、上下文注册、面板 API\n  service.ts          # 预检、门禁、引用、提案、关闭、汇总、维护、面板数据\n  maintenance.ts      # 确定性巡检：重复/晋升/过期/诊断，报告渲染\n  maintenance-schedule.ts # 本地日期/时间判断\n  store.ts            # Markdown + JSONL + 序列 + 版本归档\n  search.ts           # CJK 分词与倒排索引\n  frontmatter.ts      # 知识/候选文件解析与序列化\n  skill.ts            # 系统级 memory-hub skill 定义与注册\n  config.ts hub.ts lock.ts atomic.ts ledger.ts ...\nclient.js             # 侧边栏面板（模块加载器格式，无需构建）\ntests/                # 59 个测试（10 个文件）\ndocs/\n  DESIGN.md           # V0.1 设计\n  KNOWLEDGE-FORMAT.md # 知识文件格式\n  COMPATIBILITY.md    # 宿主验证记录与已知限制\n  00-project/decision-log.md      # 按日期的决策与改动记录\n  01-architecture/maintenance.md  # 多 core 夜间维护执行模型\n  01-architecture/decisions/      # ADR-0004 skill、ADR-0005 夜间维护\n  06-operations/maintenance.md    # 维护操作与排障\n```\n\n## 发布\n\n推送 `v*` tag 会触发 GitHub Actions：在 Windows 上运行 typecheck、build、test，打包 npm tarball，通过 npm Trusted Publisher（OIDC）发布 npm，并创建 GitHub Release。首次使用前需要在 npm 包设置里绑定仓库和 `release.yml`，无需 `NPM_TOKEN`。步骤见 [docs/06-operations/release.md](docs/06-operations/release.md)。\n\n```sh\ngit tag v0.1.5\ngit push origin v0.1.5\n```\n\n## 已知限制\n\n- 审批**通过**路径依赖交互式审批；本机验证时审批提示被关闭，只验证了失败关闭。门禁的宿主级拒绝路径由单元测试覆盖，未在真实会话中强制触发。\n- 未验证 PTC `run_code` 嵌套调用、外部 CLI、多进程共享 Hub。\n- 上下文注入按\"每个任务一份包\"设计；长会话的累积效应尚未做规模测量。\n- Web 面板的客户端模块已在本机运行中热加载（`client.advertised: true`，`sidebar.panellist` 与 `main` 均 active）；点击后的完整视觉布局尚未在本会话中截图确认。\n- 面板「待审批」可人工点击批准/拒绝，支持勾选批量（`panel:human`，`policy.panel.review` 可关闭）；提交的候选仍需人工审核，模型不能自批。\n- 夜间维护依赖 Host 运行；Host 关闭时不会执行，下一次启动且当天未跑过会补跑一次。\n- 多 core 维护串行执行，总耗时是各 core 之和；一个 core 失败当天不重试。\n- 维护不出现在官方「自动化任务」栏，不能在那里暂停/编辑/立即运行；控制入口是 `config.yaml`。\n- `reports/` 目前不自动清理；条目多时可定期归档或删除旧报告。\n\n## 许可\n\n[MIT](LICENSE) © 2026 zhiwuli0228\n","readmeFilename":"README.md"}