55[ ![ npm version] ( https://img.shields.io/npm/v/@modusensus/dsh-mneme?color=blue&label=npm )] ( https://www.npmjs.com/package/@modusensus/dsh-mneme )
66[ ![ license] ( https://img.shields.io/badge/license-MIT-green )] ( LICENSE )
77[ ![ Awesome] ( https://awesome-dsh-plugin.com/badge.svg )] ( https://github.com/awesome-dsh-plugin/awesome-dsh-plugin )
8- [ ![ tests] ( https://img.shields.io/badge/tests-1552 %20passed-success )] ( https://github.com/slow-stack/mneme )
8+ [ ![ tests] ( https://img.shields.io/badge/tests-1561 %20passed-success )] ( https://github.com/slow-stack/mneme )
99[ ![ CI] ( https://img.shields.io/github/actions/workflow/status/slow-stack/mneme/ci.yml )] ( https://github.com/slow-stack/mneme/actions )
1010[ ![ node] ( https://img.shields.io/badge/node-22%2B-blue )] ( https://nodejs.org )
1111[ ![ npm downloads] ( https://img.shields.io/npm/d18m/@modusensus/dsh-mneme.svg?color=blue&label=downloads )] ( https://www.npmjs.com/package/@modusensus/dsh-mneme )
612612├── api.js # HTTP 路由(Web 面板数据通道,含 /conflicts 冲突队列)
613613└── index.js # 插件接线
614614lib/ # src 的同步分发产物(npm run sync;发布前由 root prepack 的 check-sync.js 校验一致性;唯一手写例外 lib/client.js——Web 面板 bundle,sync 不覆盖)
615- test/ # 1552 个 node: test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
615+ test/ # 1561 个 node: test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
616616scripts/ # e2e-dsh.js 端到端演示 · stress-dsh.js 三轴线压测 · sync-lib.js 同步 · check-sync.js 发布闸门 · benchmark-recall.js / benchmark-embed.js / benchmark-rerank.js 基准 · sync-test-badge.mjs 测试徽章 · build-runtime-manifest.mjs 运行时清单
617617```
618618
@@ -621,7 +621,7 @@ scripts/ # e2e-dsh.js 端到端演示 · stress-dsh.js 三轴线压
621621```bash
622622cd dsh-mneme
623623npm install # 安装 peer 依赖(以 devDependencies 形式,用于本地测试)
624- npm test # 运行 1552 个测试
624+ npm test # 运行 1561 个测试
625625npm run stress # 三轴线压测:长会话检索 / 冲突仲裁 / 多 Agent 并发(离线 mock LLM)
626626npm run sync # 把 src/ 同步到 lib/(发布时由 prepack 钩子自动执行)
627627```
0 commit comments