Repository navigation
Fixes #14 and #15, adds #16, and supports official DSH 0.2.3-alpha.3 (dsh-v0.2.3-alpha.3) while retaining every previously supported host. Restart DSH after updating the plugin.
- No more versions too long for the model (#14): Editing or retrying a late message in a long conversation no longer creates a version that fails on every turn. Before anything is created, the plugin measures the history the version would inherit with DSH's own token meter and compares it with the model's context window. If it does not fit, the editor says so with both token counts (in English, Chinese or Russian), keeps your draft, and creates no session. History that fits the window but is above DSH's compaction threshold still works, because DSH compacts it first. With Stop the running reply when I edit on, the check runs before any reply is stopped. Thanks to @guobolin15-ui for the report.
- Renaming a grouped row renames every version (#15): With Group versions into one sidebar entry on, renaming the row (double-click, row menu, header menu or the rename shortcut) or any version now renames every version in the family through DSH's own rename, so each version's header matches the row, also after a reload. Side conversations and subagents are not renamed, and with grouping off a rename still changes only that session. A version created after you rename a conversation takes that name. Thanks to @heyongjun2000 for the report.
- Open a conversation at its most recently active version (#16): Open a conversation at replaces the Remember the version I was viewing switch with three choices: the most recently active version (new default), the version I last viewed, or the original. Your saved setting carries over: on becomes last viewed, off becomes the original. Pending approvals, unread replies and search matches still open their own version first. Thanks to @heyongjun2000 for the suggestion.
- Official DSH
0.2.3-alpha.3compatibility: Admit0.2.3-alpha.3inpeerDependencies["@deepseek-ai/dsh"]andengines.dsh(>=0.2.0-rc.2 <0.3.0-0 || 0.2.1-rc.2 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5 || 0.2.3-alpha.1 || 0.2.3-alpha.2 || 0.2.3-alpha.3; the alpha requires Node^24.22.3 || >=26.13.1), read the alpha's SQLite schema, and add the published host to the Linux and Windows official-host CI matrix (including SQLite fork and restart persistence acceptance). The alpha's/sideconversations, like subagents, are no longer treated as versions: they stay out of the Versions tree, the grouped row's activity, the remembered version and stop-on-edit, and the grouped row stays selected while one of them is open.
修复 #14 与 #15,新增 #16,并支持官方 DSH 0.2.3-alpha.3(dsh-v0.2.3-alpha.3),同时保持对此前所有已支持宿主的兼容。更新插件后请重启 DSH。
- 不再生成超出模型上下文的版本(#14):在长对话中编辑或重试靠后的消息,不会再生成每轮都报错的版本。插件会在创建任何内容之前,用 DSH 自身的 token 计量测量版本将继承的历史,并与模型的上下文窗口比较;放不下时,编辑框会以中文、英文或俄文说明原因并给出两个 token 数,保留草稿,且不创建任何会话。历史在窗口之内、但高于 DSH 压缩阈值时照常可用,因为 DSH 会先压缩。开启「编辑时中止正在生成的回复」时,检查会在中止任何回复之前进行。感谢 @guobolin15-ui 的报告。
- 重命名合并入口会重命名所有版本(#15):开启「侧栏同一对话只显示一个入口」时,重命名合并入口(双击行、行菜单、标题栏菜单或重命名快捷键)或任一版本,现在都会通过 DSH 自身的重命名途径重命名家族中的所有版本,各版本的顶部标题与侧栏一致,刷新后亦然。侧边对话与子智能体不会被重命名;关闭合并时,重命名仍只改动该会话。重命名对话之后新建的版本会沿用新名称。感谢 @heyongjun2000 的报告。
- 打开对话时进入最近活跃的版本(#16):「打开对话时进入」取代「记住我正在查看的版本」开关,提供三种选择:最近活跃的版本(新默认)、上次查看的版本、原始对话。已保存的设置会自动沿用:开启对应上次查看,关闭对应原始对话。待审批、未读回复与搜索命中仍优先打开各自的版本。感谢 @heyongjun2000 的建议。
- 官方 DSH
0.2.3-alpha.3兼容:在peerDependencies["@deepseek-ai/dsh"]与engines.dsh中纳入0.2.3-alpha.3(该版本要求 Node^24.22.3 || >=26.13.1),识别该 alpha 的 SQLite 结构,并将已发布的该宿主加入 Linux 与 Windows 官方宿主 CI 矩阵(涵盖 SQLite 分叉与重启持久化验收)。该 alpha 的/side侧边对话与子智能体一样不再被视为版本:不进入版本树、合并入口的活动状态、记住的版本与编辑时中止;打开其中之一时,合并入口保持选中。