Repository navigation
1.0.9 · DSH Memory
DSH Memory 1.0.9
修复打开记忆管理页面时,本地记忆需要等待知识库联动读取完成的问题。本地列表立即返回,联动记录在后台取得完整快照后补入;新增加载状态,联动失败时仍可查看本地记录。
同一会话合并并发联动请求,最多保留八个会话的管理页快照,快照三十秒到期。联动变更通知和服务切换会使缓存及在途旧结果失效,避免旧内容重新出现。前端合并重复刷新,并保留内容未变时的列表身份。缓存仅用于管理页;正常对话召回仍读取实时快照。
验证:浏览器隔离页面使用虚构记录与固定三秒联动延迟,本地记录显示时间从 3489 毫秒降到 96 毫秒;这是该场景的一次测量,不是实际宿主耗时承诺。联动记录后续加载、项目范围切换通过,未发现页面运行错误。新增测试覆盖请求合并、会话隔离、缓存失效、过期、失败、不完整快照和服务移除;发布检查继续覆盖已有回归、包内容与公开边界。未发布私人数据库、聊天或本机测试资料。真实宿主安装并完整重启后的耗时未验证。
兼容要求沿用 1.0.8,以 package.json 的 peerDependencies 为准。通过 DSH 插件管理器安装 local-dsh-memory-1.0.9.tgz,完全退出宿主(含托盘)再打开,并在记忆详情中确认版本 1.0.9。构建号、摘要与测试数量见 release-manifest.json。
DSH Memory 1.0.9
Fix slow entry into memory management: the local list no longer waits for knowledge-library synchronization. It returns immediately, while complete linked snapshots appear afterward. Loading status is visible and local entries remain usable when the linked service fails.
The management-only loader coalesces concurrent requests per session, retains at most eight session snapshots and expires completed snapshots after thirty seconds. Provider notifications and replacement invalidate cached and in-flight results. The frontend coalesces refreshes and preserves unchanged list identity. Conversation recall still reads fresh snapshots.
Validation: an isolated browser page with synthetic records and a fixed three-second linked-service delay displayed local records in 96 ms versus 3489 ms before the change. This is one measurement of that scenario, not a live-host speed guarantee. Linked records later appeared, project scope switching passed and no page runtime errors occurred. New checks cover coalescing, session isolation, invalidation, expiry, offline/incomplete snapshots and provider removal; existing release regressions and archive/publication checks remain enabled. No private database, chat or machine-specific test materials are published. Performance after installing and fully restarting the live Host remains unverified.
Compatibility is unchanged from 1.0.8; see package.json peerDependencies. Install local-dsh-memory-1.0.9.tgz through the DSH plugin manager, fully exit including the tray process, reopen and confirm version 1.0.9 in Memory details. Build identity, digest and test counts are recorded in release-manifest.json.
Build: 5477f9f6317fe648
SHA-256: 79ae4b7c7554c9fb2c295b26202aa06325a46012462afb43e95562f519ee9d3d