Skip to content

v0.5.22: Composable Memory Plugins

Choose a tag to compare

@github-actions github-actions released this 02 Oct 21:12
d13d9c1

v0.5.22 · In-App Updates, Conversation Tabs and Ollama Subagents

  • Check versions → Update works in the desktop app. The update now goes through DSH's own plugin installer, as dsh plugin add dsh-mnemon@<version> does: it uses the Profile's package manager, which in the desktop app is the app's bundled pnpm, installs the exact checked version, lets DSH check the DSH versions the release supports, and restores the Profile when an install fails, showing pnpm's error line and DSH's log. The Memory System page DSH loads after the update reopens Check versions with the result, and until DSH restarts a notice above every page names the installed version and the one that still runs. (#325)
  • The Memory System works in a conversation tab whose Agent is not loaded. For a conversation DSH showed but had not resumed, such as one whose Agent preset left the profile, Status waited for a workspace and Project Documents failed with memory Source is unavailable in the requested management scope; with workspace or centralized storage, runtime memory and Memory Spaces used the directory DSH started from. The Host now finds the workspace in DSH's workspace registry, and task Agents archive a full Documents set and choose a new space's Provider. (#326)
  • Memory subagents recover when a chat template requires a user query. On Ollama 0.33 with Qwen3.x, idle review and other memory subagents failed with no user query found in messages once tool results pushed their prompt out of the context window. When a server refuses a subagent request this way, Mnemon adds a short user turn and retries the step at once; servers that never refuse, and the main conversation, see exactly what they saw before. (#328, issue #327)

Changed package: dsh-mnemon 0.5.22. The Starter's 17 pinned component versions are unchanged.

Upgrade

Supports DSH 0.2.0-rc.2 (npm latest and next) and DSH 0.1.7-rc.2. Install dsh-mnemon@0.5.22 through Add plugin, then Enable now, or run:

dsh plugin --profile web add dsh-mnemon@0.5.22

Include the version for the first 24 hours: pnpm 11 skips versions younger than a day, so a plain install or update picks 0.5.21 until then. Existing installations run dsh plugin --profile web add dsh-mnemon@0.5.22 for those 24 hours and dsh plugin --profile web update dsh-mnemon afterwards, then restart DSH. In the desktop app, remove dsh-mnemon on the Plugins page and add dsh-mnemon@0.5.22 again once, then quit and reopen the app; memory data stays, and from 0.5.22 on Check versions → Update installs later releases. No data migration.

中文说明

  • **检查版本 → 更新在桌面版中可用。**更新现在通过 DSH 自己的插件安装器完成,效果与 dsh plugin add dsh-mnemon@<版本> 相同:使用 Profile 自己的包管理器(桌面版中即应用自带的 pnpm),安装检查到的精确版本,由 DSH 检查该版本支持的 DSH 版本;安装失败时恢复 Profile,并显示 pnpm 的错误行与 DSH 的日志。更新后 DSH 载入的新记忆系统页面会重新打开检查版本并显示结果;DSH 重启之前,每个页面顶部都会提示已安装的版本与仍在运行的版本。(#325)
  • **会话的 Agent 未加载时,会话标签页中的记忆系统也能使用。**对于 DSH 已显示但尚未恢复的会话(例如所用 Agent 预设已不在 profile 中),此前状态页一直等待工作区,项目档案报 memory Source is unavailable in the requested management scope;使用工作区或集中存储时,运行时记忆和记忆空间用的是 DSH 启动时所在的目录。现在 Host 通过 DSH 的工作区注册表找到工作区,并由任务 Agent 在项目档案已满时归档、为新记忆空间选择 Provider。(#326)
  • **聊天模板要求用户查询时,记忆子代理可以自行恢复。**在 Ollama 0.33 上使用 Qwen3.x 时,工具结果把任务提示挤出上下文窗口后,后台审查等记忆子代理会报 no user query found in messages。现在服务端以这种方式拒绝子代理的请求时,Mnemon 会追加一条简短的用户消息并立即重试这一步;从不拒绝的服务端和主会话,收到的请求与之前完全相同。(#328,issue #327)

变更的包:dsh-mnemon 0.5.22;Starter 锁定的 17 个组件版本不变。支持 DSH 0.2.0-rc.2(npm latest 与 next)和 DSH 0.1.7-rc.2。

发布后 24 小时内请安装 dsh-mnemon@0.5.22:pnpm 11 不会选用发布不足一天的版本,在此之前普通安装或更新会得到 0.5.21。已有安装在这 24 小时内运行 dsh plugin --profile web add dsh-mnemon@0.5.22,之后运行 dsh plugin --profile web update dsh-mnemon,然后重启 DSH。桌面版请在插件页移除 dsh-mnemon 后重新添加 dsh-mnemon@0.5.22,再完全退出并重新打开应用;记忆数据会保留,从 0.5.22 起可在检查版本 → 更新中安装之后的版本。无需迁移数据。

Details and evidence / 详情与证据