@modusensus/dsh-mneme 0.8.8 → 0.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![npm version](https://img.shields.io/npm/v/@modusensus/dsh-mneme?color=blue&label=npm)](https://www.npmjs.com/package/@modusensus/dsh-mneme)
6
6
  [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE)
7
7
  [![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-1404%20passed-success)](https://github.com/slow-stack/mneme)
8
+ [![tests](https://img.shields.io/badge/tests-1405%20passed-success)](https://github.com/slow-stack/mneme)
9
9
  [![CI](https://img.shields.io/github/actions/workflow/status/slow-stack/mneme/ci.yml)](https://github.com/slow-stack/mneme/actions)
10
10
  [![node](https://img.shields.io/badge/node-22%2B-blue)](https://nodejs.org)
11
11
  [![npm downloads](https://img.shields.io/npm/d18m/@modusensus/dsh-mneme.svg?color=blue&label=downloads)](https://www.npmjs.com/package/@modusensus/dsh-mneme)
@@ -583,8 +583,7 @@ src/
583
583
  ├── api.js # HTTP 路由(Web 面板数据通道,含 /conflicts 冲突队列)
584
584
  └── index.js # 插件接线
585
585
  lib/ # src 的同步分发产物(npm run sync;发布前由 root prepack 的 check-sync.js 校验一致性;唯一手写例外 lib/client.js——Web 面板 bundle,sync 不覆盖)
586
- test/ # 1404 个 node:test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
587
- test/ # 1404 个 node:test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
586
+ test/ # 1405 个 node:test 测试(审计与三轴线压测不变量;src↔lib 一致性由 scripts/check-sync.js 发布闸门校验)
588
587
  scripts/ # 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 运行时清单
589
588
  ```
590
589
 
@@ -593,7 +592,7 @@ scripts/ # e2e-dsh.js 端到端演示 · stress-dsh.js 三轴线压
593
592
  ```bash
594
593
  cd dsh-mneme
595
594
  npm install # 安装 peer 依赖(以 devDependencies 形式,用于本地测试)
596
- npm test # 运行 1404 个测试
595
+ npm test # 运行 1405 个测试
597
596
  npm run stress # 三轴线压测:长会话检索 / 冲突仲裁 / 多 Agent 并发(离线 mock LLM)
598
597
  npm run sync # 把 src/ 同步到 lib/(发布时由 prepack 钩子自动执行)
599
598
  ```
package/lib/api.js CHANGED
@@ -380,7 +380,7 @@ export function createApi(ctx, service, settings, commands, embedder, semantic =
380
380
  {
381
381
  role: "user",
382
382
  content: [{ type: "text", text: "Reply with exactly one word: ok" }],
383
- source: { kind: "plugin", plugin: "dsh-mneme" }
383
+ source: { kind: "plugin:dsh-mneme", plugin: "dsh-mneme" }
384
384
  }
385
385
  ]
386
386
  })) {