Repository navigation
Releases: Scorp1o117/dsh-tdai-memory
Release list
v0.4.5 — DSH 0.2.1-rc.3
Support DSH 0.2.1-rc.3 through explicit engines.dsh and peer ranges. Preserve existing configuration and earlier supported hosts. No runtime source changes were required: the rc.2-to-rc.3 host diff (More navigation menus, New Session draft reuse, official /models listing on the API-key route) does not touch the tool, system-prompt, settings or pi-ai interfaces, and the removed ctx.layout.entryVisibility/agentPresetNavigation APIs were not in use.
Validation: 29 Node test-runner cases plus script assertions in fresh rc.3 dependencies; official CLI isolated-profile installation from the shipped web template, configuration composition, startup and authenticated HTTP 200. Full details are in VERIFICATION.md. Web was tested; Desktop validation is separate.
v0.4.4 — DSH 0.2.1-rc.2
Support DSH 0.2.1-rc.2 through explicit engines.dsh and peer ranges, with development dependencies pinned to the target release. Preserve existing configuration and earlier supported hosts. No runtime source changes were required by the rc.1-to-rc.2 plugin API comparison.
Validation: 29 Node test-runner cases plus script assertions in fresh rc.2 dependencies; official CLI isolated-profile installation, configuration composition, startup and authenticated HTTP 200. Full details are in VERIFICATION.md. Web was tested; Desktop validation is separate.
v0.4.3 — DSH 0.2.1-rc.1
Support DSH 0.2.1-rc.1 through engines.dsh, explicit prerelease peer ranges, and target-version development dependencies. Preserve existing functionality and 0.2.0-rc.2 compatibility.
Validation: full tests in clean DSH 0.2.1-rc.1 dependencies; official CLI isolated-profile install, configuration composition, startup, authenticated HTTP 200, and plugin UI inspection. See VERIFICATION.md for details. New packaged Desktop 0.2.1 was not tested.
v0.4.2 — 长期记忆:模式整合与召回稳定性
配置页与插件列表名称/说明匹配 DSH 的中文和 English 语言选项,切换语言即时更新。
- 整合自动记忆、仅搜索已有记忆和暂停模式,简化两组模型连接配置。
- 高级参数折叠展示,保留自定义配置与未保存草稿。
- 召回增加有界缓存和总超时,存储变更后重置缓存,避免堆积过期上下文。
兼容目标:DSH 0.2.0-rc.2,保留现有配置。
验证:完整测试、包内容检查及差异检查通过;五插件真实 Web UI 已覆盖配置保存、语言切换、重启持久化,以及浅色/深色和 390px 窄屏布局。模型调用和安装新插件未纳入本轮 Web UI 实测。
安装:
npm install dsh-tdai-memory@0.4.2变更:PR #4
附件提供 npm 安装包及 SHA-256 校验文件。
dsh-tdai-memory v0.4.1
修复第三方报告的 issue #3:两个搜索工具在 0.3.4–0.4.0 上静默消失。
根因:行 schema 末尾的 .volatile() 让 cordis 经由 standard-schema 路径把已校验配置包成 cosmokit 的 Volatile 对象(冻结的 { get() })。apply() 直接读 config.toolsEnabled,读到的是包装对象自身的属性 —— 永远 undefined,因此无论 toolsEnabled 配成什么(包括 entry patch 里显式写 true)两个工具都不会注册,且不打印任何日志。回归点:v0.3.4(加入 .volatile() 的 commit)。
- 改为通过
runtimeConfigOf(config)读取已校验配置:缺省 = 开,只有显式false才关闭 - 注册结果写进 info 日志:
[tdai-memory] tools registered: tdai_memory_search, tdai_conversation_search tools服务晚挂载时用ctx.inject(["tools"], …)延迟注册,不再静默跳过toolsEnabled是 volatile 路径:插件页切换开关现在立即生效(监听loader/volatile-update原地重新注册),无需重启- TdaiCore 首次构建完成前调用工具,返回「仍在初始化,稍后重试」而不是 TypeError
- 修正两处过时注释(0.4.0 起配置只来自行配置/插件页,settings 段已移除)
要求 DSH >=0.2.0-rc.2 <0.3.0;已在 DSH 0.2.0-rc.2 的 headless 与桌面 Profile 验证。现有配置无需迁移。
验证:
npm test13/13;新增tests/tools-registration.test.mjs8 例(真 schema 校验 → 真apply()→ 断言注册;含缺省、显式 true、显式 false、纯对象配置、tools 服务迟到、volatile 切换重注册)- 真实宿主 A/B(DSH 0.2.0-rc.2 headless Profile,配置中没有
toolsEnabled):0.4.0 的index.js下模型可用工具列表中没有tdai_memory_search;0.4.1 下tdai_memory_search(query="test")实际执行并返回记忆结果
dsh-tdai-memory v0.4.0
配置入口统一到首页侧边栏「插件 → 已安装 → dsh-tdai-memory」,使用 DSH 官方插件详情页接口。
- 修复填写新提取模型或嵌入模型后无法保存的问题:改用 configForms.mutate,携带 revision 并检查写入结果。
- 保存失败保留输入;成功后刷新配置快照。
- 修复默认开启选项关闭后被恢复的问题;修改模型时保留原有密钥。
要求 DSH >=0.2.0-rc.2 <0.3.0;已在 DSH 0.2.0-rc.2 的 Web 与桌面 Profile 验证。现有配置无需迁移。
验证:自动化测试通过,插件详情页在 Web 正常打开;两端 Host 与前端资源检查通过。 新模型保存后刷新仍保留的实际 UI 验证通过。
v0.3.6 — DSH desktop compatibility
Support DeepSeek Harness 0.2.0-rc.2 and its desktop profile while retaining Web 0.1.7-rc.2 compatibility.
- Extend the verified release/profile and peer-dependency declarations for the desktop runtime.
- Document desktop-profile installation.
- Verify 4 package tests and install all five plugins into an isolated 0.2.0-rc.2 profile; the Web host started and returned authenticated HTTP 200.
Install: dsh plugin --profile desktop add dsh-tdai-memory@0.3.6
v0.3.5
Verified compatibility with DSH 0.1.7-rc.2 in an isolated Web profile. Updated compatibility metadata and documentation; existing rc.1 support remains.
v0.3.4 — DSH next compatibility
Migrates TDAI memory settings and UI integration to the DSH next API. Tested with DSH 0.1.7-rc.1 (next) in the local Web profile; DSH 0.1.5-rc.3 remains supported. npm test and package dry run passed.
v0.3.3 — DSH rc.3 compatibility
Declare compatibility with DSH latest 0.1.5-rc.2 and next 0.1.5-rc.3; keep alpha releases unknown. Verified with package tests and a disposable DSH rc.3 Web smoke test. DSH rc.3 currently depends on an unpublished sidebar-documentpreview rc.3 package; the smoke test used rc.2 for that unrelated UI dependency. Clean rc.3 installation remains blocked upstream.