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-1497 %20passed-success )] ( https://github.com/slow-stack/mneme )
8+ [ ![ tests] ( https://img.shields.io/badge/tests-1519 %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 )
584584├── api.js # HTTP 路由(Web 面板数据通道,含 /conflicts 冲突队列)
585585└── index.js # 插件接线
586586lib/ # src 的同步分发产物(npm run sync;发布前由 root prepack 的 check-sync.js 校验一致性;唯一手写例外 lib/client.js——Web 面板 bundle,sync 不覆盖)
587- test/ # 1497 个 node: test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
587+ test/ # 1519 个 node: test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
588588scripts/ # 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 运行时清单
589589```
590590
@@ -593,7 +593,7 @@ scripts/ # e2e-dsh.js 端到端演示 · stress-dsh.js 三轴线压
593593```bash
594594cd dsh-mneme
595595npm install # 安装 peer 依赖(以 devDependencies 形式,用于本地测试)
596- npm test # 运行 1497 个测试
596+ npm test # 运行 1519 个测试
597597npm run stress # 三轴线压测:长会话检索 / 冲突仲裁 / 多 Agent 并发(离线 mock LLM)
598598npm run sync # 把 src/ 同步到 lib/(发布时由 prepack 钩子自动执行)
599599```
0 commit comments