dsh-prime-memory 0.26.18 → 0.26.19

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # 更新日志(Changelog)
2
2
 
3
- ## [未发布] — 待并入下一版
3
+ ## [0.26.19] — 2026-11-02
4
4
 
5
5
  - **#20 加固(属性测试 + 形状一致)**:新增 `resolveDrscBaseUrl` 优先级的确定性属性测试(固定种子 mulberry32,400 + 300 组随机组合),钉住四条不变式:显式值恒为终值、有非空 trustedHosts 条目时 origin 不得抢位、origin 只替换那句 8080、前两档之外的来源一律不回显 Host 头。**该测试首遍即抓出一处真实形状不一致**:显式值/条目分支会给裸 authority 补 `http://` 前缀,而新增的 origin 分支原样透传不补——若调用方递的是 `127.0.0.1:<port>` 这类 authority(而非宿主 `getOrigin()` 返回的全 URL),就会拼出无 scheme 的基址。已抽单一 `withScheme()` 让三档共用同一规范化。
6
6
  - **有效性已红绿验证**:临时把 origin 抬到 trustedHosts 之上(正是计划里判为回归的那个错误改法)后,5 例转红;恢复即全绿。全量 **1886 例**/188 文件。
package/dsh.plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "dsh-prime-memory",
3
3
  "name": "dsh-prime-memory",
4
- "version": "0.26.18",
4
+ "version": "0.26.19",
5
5
  "description": {
6
6
  "en": "Layered distilled memory plugin (L0 capture → L1 atomic memory → L2 scenes → L3 persona) with automatic recall injection before each model step.",
7
7
  "zh": "L0~L3 分层蒸馏记忆插件:自动捕获对话、抽取原子记忆、整合场景块、蒸馏核心画像,并在模型步骤前自动召回注入。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-prime-memory",
3
- "version": "0.26.18",
3
+ "version": "0.26.19",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public",