中文 | English
新增功能
- Git Worktree 支持按分支、提交和文件类型审阅改动,并直接处理 GitHub 评审、同步已审阅进度和更新分支。 @LegGasai
- SubAgent 支持具名与多层协作,AgentTeam 可按会话开启,共用成员与任务面板。 @Dudu-0223, @Yifffan
- 桌面端支持在设置中切换正式版与开发版更新渠道。 @winewill
体验优化
- 改善代码审阅时的评论、文件导航与窄屏布局,减少查看大型改动时的卡顿,并放宽大型仓库创建工作树的等待时间。 @LegGasai
- 改善多层子代理的浏览与任务协调,优先展示任务描述,支持逐层展开和读取失败后重试。 @Dudu-0223
- 优化左侧栏插件入口的收纳,不常用入口可移入“更多”,重新固定时保持原顺序。 @Yifffan
- 简化个性化页面安装后的操作,移除“保留”按钮,统一使用撤销与恢复。 @ZiyaZhang
- 改善自定义主题对通知、卡片、计划和任务等界面颜色的覆盖。 @turtle2099
- 改善页面缩放、平移及长列表场景下的菜单定位,保持菜单与触发位置对齐;自定义浮层需适配新定位接口。 @Stevring, @LegGasai
- 改善暗色模式下文件树浮层的显示,使用背景层次区分面板,避免白色投影。 @turtle2099
- 改善在侧栏查找文件的体验,支持按名称或路径搜索,并可调整排除规则与隐藏文件显示。 @yudshj
- 改善侧栏长列表的浏览与拖动体验,插件导航和会话列表共用滚动区域,工作区工具栏保持可见。 @Yifffan
- 优化从会话打开工作目录的操作,统一“在应用中打开”菜单,并改善窄屏使用体验。 @Yifffan
- 加快文件右键菜单的打开;关联应用查询较慢时,先提供默认应用入口。 @yudshj
- 向上回看聊天时自动加载更早消息,优先保持阅读位置,并保留手动加载和重试入口。 @imccyu
- 改善聊天过程的可查看性,可展开工作区指令、技能目录等信息,了解模型收到的上下文。 @turtle2099
- 改善补丁编辑的回执,折叠状态下也可查看修改的文件,并在成功后直接打开。 @sjw1231
- 优化会话首页的交互动画。 @ZiyaZhang
- 改善会话恢复或压缩后的上下文提示,明确当前运行信息与旧信息的替换关系。 @kermanx
- 改善聊天中代码差异的阅读,显示增删行颜色,并按文件语言高亮。 @mektpoy
- 改善粘贴图片和文件的体验,未聚焦输入框时也可粘贴到最近使用的可用输入框或主对话。 @std4453
- 改善暂停、恢复定时任务时的操作反馈,保持按钮焦点与显示稳定,避免重复操作。 @turtle2099
- 优化目标栏的操作排列与按钮间距,统一为“编辑、清除、暂停或恢复”。 @turtle2099
- 优化模型请求失败后的重试设置,可在模型设置中选择重试条件、次数和等待时间。 @turtle2099
- 改善临时请求失败后的恢复操作,可直接点击“继续生成”,无需另写消息。 @LegGasai
- 改善 API Key 的管理,已保存密钥以掩码显示,支持整体替换或清除,不显示完整旧密钥。 @Magolor
- 优化多问题检索,单次网页搜索默认支持最多 10 个查询和 10 个来源。 @turtle2099
- 改善 Agent 终端的可见性与接管体验,命令在侧栏终端运行,用户输入即可接管;允许读取的用户终端内容会进入模型与会话记录。 @LegGasai
- 优化批量查询文件、任务和资源时的执行效率,更多只读工具可并行运行,结果仍按调用顺序返回。 @turtle2099
- 改善桌面更新下载时的进度显示,可点击下载百分比或“检查更新”查看状态。 @winewill
问题修复
- 修复 PR 更新后审阅差异与提交行号不一致的问题,并改善大量评审讨论的统计。 @LegGasai
- 修复只有 SSH 凭据时无法查看私有 Git 插件详情的问题。 @turtle2099
- 修复可选插件加载失败导致整个 Web 页面无法启动的问题;必需插件失败仍会提示。 @imccyu
- 修复已启用但未成功加载的插件容易被误认为正在运行的问题,明确显示“未运行”及原因。 @turtle1999
- 修复 PTC 中重复等待子代理消息时,同一条消息反复触发唤醒的问题。 @Dudu-0223
- 修复浏览特殊文件名或扩展名时,文件树视图崩溃的问题。 @LegGasai
- 修复“未分组”会话中显示无效“新建会话”按钮的问题。 @turtle2099
- 修复复制聊天公式时出现乱码的问题,同一条 Markdown 内容中的公式可复制为 TeX 源码。 @turtle2099
- 修复查看 Perl 代码时,正则表达式导致后续内容高亮错误的问题。 @turtle2099
- 修复聊天更新出错后,历史加载和新消息显示持续卡住的问题。 @Magolor
- 改善重复创建会话分支时的标题编号,跳过已用编号,减少同名会话。 @turtle2099
- 修复停止任务或关闭会话时,部分错误导致任务未中止或资源提前释放的问题。 @liukx0205
- 修复发送消息或准备附件期间重试请求,导致同一消息被重复提交的问题。 @liukx0205
- 修复中文目标栏混淆“待继续”与“已暂停”状态的问题。 @imccyu
- 修复桌面端多次启动后,因鉴权信息累积而无法启动的问题。 @turtle2099
- 修复 Windows 通过短路径启动命令行时,无法保存欢迎页确认的问题。 @winewill
- 修复 macOS 窗口拖动与粘贴快捷键问题,以及 Windows 暗色模式启动白闪。 @yxy72, @winewill, @turtle2099
- 改善 Windows 更新安装期间的反馈,显示安装状态窗口,减少重启过程中的无提示等待。 @winewill
- 修复移动端 Safari 在展开屏幕或切换视口后,聊天文字被额外放大的问题,保留用户主动缩放。 @Saafo
- 修复 Linux 存在长期后台进程时,会话加载与新建变慢的问题。 @turtle2099
- 修复会话中移除或替换工具后,部分模型拒绝继续请求的问题。 @Tuyixiang
- 通过 Anthropic Messages 接入时,历史前缀变化后省略失效的签名 thinking,减少压缩后持续请求失败。 @turtle2099
- 修复部分模型网关错误被误报为“API 密钥无效”的问题,使重试按实际响应状态处理。 @LegGasai
- 修复在 DSH 用户目录中配置 DeepSeek 端点后无法启动的问题;项目目录中的环境配置仍不能覆盖端点。 @LegGasai
- 修复连续浏览多页 PDF 时加载越来越慢、快速翻页卡顿的问题。 @turtle2099
- 修复使用 Inspector 查看较大的 Cordis 树时,快照接近上限可能导致服务退出的问题。 @turtle2099
其他变更
- 网页搜索默认改用 DeepSeek Search API,搜索与获取可分别选择计费账号或 API Key;旧提供方和自定义配置需按升级指南调整。 @yudshj
- 归档会话默认清理符合条件的 Git 工作树,保留分支与提交;需保留本地目录时请关闭清理,自定义配置与 Forge 插件需迁移。 @LegGasai
- AgentTeam 改用统一的具名子代理,中断工具默认关闭;自定义插件与 SDK 集成需迁移,共享会话的进程须同步升级。 @Dudu-0223
- SDK 可通过配置为新会话默认开启团队协作,恢复已有会话时保留原选择。 @Dudu-0223
- 允许插件动态注册和移除 MCP 服务,并查询状态、重启或探测连接,无需用户逐项维护服务配置。 @LegGasai
- 插件可按语言扩展聊天代码块的显示,未匹配或渲染失败时回退为普通代码块。 @imccyu
- 插件索引可提供 GitHub Star 和 npm 周下载量,默认仍按索引提供的顺序排列。 @turtle1999
- Creator 的开发指引统一到 dsh-doc,用于定制 DSH 并查阅当前版本资料;引用旧技能名称或路径的扩展需迁移。 @turtle1999
- 自定义模型提供方支持 Gemini 原生接口,可获取模型列表并设置推理等级。 @turtle2099
- 模型请求的 User-Agent 增加启动配置标记,便于服务端区分桌面端、Web、命令行与 SDK 请求。 @imccyu
- 调整账号通知,支持产品公告等消息并随界面语言更新;已有登录保留,自定义账号插件与配置需迁移。 @lsdsjy
- PTC 按运行时限限制工具调用总量,超限会终止代码并清空保留状态,已完成的操作不会撤销。 @kermanx
- Session 支持批量追加事件,日志格式不变;自定义追加接口的包装代码需适配批量调用。 @liukx0205
- 工具失败提供更明确的错误类型与代码,便于定位问题;依赖旧错误分类的插件和 SDK 集成需同步适配。 @sjw1231
- 调整 Computer Use 的窗口操作、键盘控制和授权,默认不移动系统鼠标;自定义脚本与 helper 需同步升级。 @CreatixChu, @Tuyixiang, @Dudu-0223
- Office 改用原生工具,Web 与 SDK 均可加载技能;旧包和技能需迁移,文档解析在 DSH 主进程中运行,不受命令行沙箱保护。 @yudshj
- Windows 的额外目录授权仅供文件工具使用,不扩大终端或 PTC 的访问范围;相关沙箱扩展需迁移。 @Tuyixiang
- 调整 LiveShare 的多会话分享与插件授权,旧授权需重新配置;PTC 可访问分享目录之外,仅应分享给可信任的人。 @mektpoy
- npm 安装与桌面端随附对应版本的源码和文档,方便查阅与开发扩展;Python 单文件运行时不包含这些资源。 @turtle1999
- 升级 Zod 至 4.6.6、Stagehand 至 4.4.0;Stagehand 改为自动发现扩展,旧 extensionId 配置不再生效。 @imccyu
New Features
- Git Worktree supports reviewing changes by branch, commit, and file category, with GitHub reviews, synchronized viewed-file progress, and branch updates directly in DSH. by @LegGasai
- SubAgent supports named, multi-level collaboration, while AgentTeam can be enabled per session with a shared member and task panel. by @Dudu-0223, @Yifffan
- Desktop settings now let you switch between stable and development update channels. by @winewill
Improvements
- Improve commenting, file navigation, and narrow-screen layouts during code review, reduce lag when viewing large changes, and allow more time to create worktrees in large repositories. by @LegGasai
- Improve browsing and coordinating nested subagents, prioritizing task descriptions and supporting incremental expansion and retries after failed reads. by @Dudu-0223
- Improve sidebar plugin organization: move infrequently used entries into More and restore them without changing their original order. by @Yifffan
- Simplify actions after installing personalized pages, replacing Keep with Undo and Restore. by @ZiyaZhang
- Improve custom-theme coverage for notifications, cards, plans, tasks, and other interface colors. by @turtle2099
- Improve menu positioning during page zooming, panning, and browsing long lists, keeping menus aligned with their triggers; custom panels need to adopt the new positioning API. by @Stevring, @LegGasai
- Improve dark-theme file-tree panels with layered backgrounds instead of white shadows. by @turtle2099
- Improve file discovery in the sidebar with name and path search, exclusion rules, and hidden-file controls. by @yudshj
- Improve browsing and dragging in long sidebar lists, with plugin navigation and sessions sharing a scroll area and workspace controls remaining visible. by @Yifffan
- Streamline opening a session's working directory through a consistent Open in menu, with improved narrow-screen usability. by @Yifffan
- Open file context menus faster; when application lookup is slow, offer a default-app action first. by @yudshj
- Automatically load earlier messages when scrolling up through chat, prioritizing reading-position stability while retaining manual loading and retry controls. by @imccyu
- Make chat activity easier to inspect by expanding workspace instructions, skill catalogs, and other context received by the model. by @turtle2099
- Improve patch-edit receipts by listing affected files even when collapsed and allowing them to be opened after successful edits. by @sjw1231
- Improve interaction animations on the session home screen. by @ZiyaZhang
- Improve context reminders after session resume or compaction by clarifying how current runtime information replaces older information. by @kermanx
- Improve reading code diffs in chat with added and removed row colors and per-file syntax highlighting. by @mektpoy
- Improve image and file pasting without a focused composer, routing content to the most recently used available composer or the main conversation. by @std4453
- Improve feedback when pausing or resuming scheduled tasks, keeping focus and appearance stable while preventing duplicate actions. by @turtle2099
- Refine goal-bar action order and spacing to Edit, Clear, and Pause or Resume. by @turtle2099
- Improve model-request retry settings with configurable retry conditions, counts, and wait times in model settings. by @turtle2099
- Make recovery from transient request failures easier with Continue generating, without requiring another message. by @LegGasai
- Improve API-key management with masked previews and full replacement or removal, without revealing the complete saved key. by @Magolor
- Improve multi-question research with up to 10 queries and 10 sources per web-search call by default. by @turtle2099
- Make Agent terminals visible in the sidebar and let users take over by typing; user-terminal content that agents are permitted to read enters model context and session records. by @LegGasai
- Improve batch file, task, and resource queries by allowing more read-only tools to run concurrently while returning results in call order. by @turtle2099
- Improve Desktop update progress displays, with status available from the download percentage or Check for updates. by @winewill
Bug Fixes
- Fix PR updates causing displayed diffs to use mismatched commit line numbers, and improve counts for large numbers of review threads. by @LegGasai
- Fix private Git plugin details failing to load for users with SSH-only credentials. by @turtle2099
- Fix optional plugin failures preventing the entire Web app from starting; required-plugin failures remain visible errors. by @imccyu
- Fix enabled but unloaded plugins appearing to run, clearly showing Not running and the reason. by @turtle1999
- Fix repeated waits for subagent messages within PTC waking repeatedly for the same message. by @Dudu-0223
- Fix file-tree crashes when browsing special filenames or extensions. by @LegGasai
- Fix a nonfunctional New Session button appearing in the Ungrouped session header. by @turtle2099
- Fix garbled formula copying in chat, copying formulas within a single Markdown document as TeX source. by @turtle2099
- Fix Perl regular expressions incorrectly coloring subsequent code. by @turtle2099
- Fix history loading and new-message displays remaining stuck after a chat-update error. by @Magolor
- Improve title numbering when repeatedly branching a session, skipping used numbers to reduce duplicate names. by @turtle2099
- Fix some errors during task cancellation or session shutdown leaving work running or releasing resources prematurely. by @liukx0205
- Fix retried requests during message submission or attachment preparation submitting the same message more than once. by @liukx0205
- Fix the Chinese goal bar confusing goals awaiting continuation with paused goals. by @imccyu
- Fix accumulated authentication data preventing Desktop startup after repeated launches. by @turtle2099
- Fix welcome-screen confirmation failing to save when the Windows CLI is launched through a short path. by @winewill
- Fix macOS window dragging and paste shortcuts, and white flashes when starting Windows in dark mode. by @yxy72, @winewill, @turtle2099
- Improve feedback during Windows update installation with an installation-status window, reducing unexplained waiting during restarts. by @winewill
- Fix mobile Safari enlarging chat text beyond the configured font size when unfolding or changing the viewport, while preserving manual page zoom. by @Saafo
- Fix long-running background processes slowing session loading and creation on Linux. by @turtle2099
- Fix some models rejecting further requests after tools are removed or replaced in a session. by @Tuyixiang
- For Anthropic Messages connections, omit invalid signed thinking after history-prefix changes to reduce persistent request failures after compaction. by @turtle2099
- Fix some model-gateway failures being misreported as invalid API keys, allowing retries to follow the actual response status. by @LegGasai
- Fix startup failure after configuring DeepSeek endpoints in the DSH user directory; project environment settings still cannot override these endpoints. by @LegGasai
- Fix progressively slower loading and rapid-page-navigation stalls when browsing multi-page PDFs. by @turtle2099
- Fix inspecting large Cordis trees potentially terminating the service when snapshots approach the size limit. by @turtle2099
Chores
- Web search now defaults to DeepSeek Search API, with separate account or API-key billing choices for Search and Fetch; migrate older providers and custom settings using the upgrade guide. by @yudshj
- Archiving sessions cleans up eligible Git worktrees by default while preserving branches and commits; disable cleanup to retain local directories, and migrate custom configuration and Forge plugins. by @LegGasai
- AgentTeam uses unified named subagents, with the interrupt tool disabled by default; migrate custom plugins and SDK integrations and upgrade all processes sharing session storage together. by @Dudu-0223
- SDK configuration can enable Team collaboration by default for new sessions while preserving the saved choice when resuming existing sessions. by @Dudu-0223
- Plugins can dynamically register and remove MCP servers, query their status, restart them, and probe connections without requiring users to maintain each server configuration manually. by @LegGasai
- Plugins can extend chat code-block rendering by language, falling back to ordinary code blocks when no renderer matches or rendering fails. by @imccyu
- Plugin indexes can provide GitHub stars and weekly npm downloads while keeping the order supplied by the index as the default. by @turtle1999
- Creator guidance consolidates into dsh-doc for customizing DSH and consulting current-version resources; extensions referencing old skill names or paths need migration. by @turtle1999
- Custom model providers support the native Gemini API, including model discovery and reasoning-level settings. by @turtle2099
- Model-request User-Agent headers include the active profile, helping servers distinguish Desktop, Web, CLI, and SDK requests. by @imccyu
- Account notifications support announcements and refresh with the interface language; existing sign-ins are retained, while custom account plugins and configuration need migration. by @lsdsjy
- PTC limits total tool calls according to its runtime budget; exceeding the limit terminates the code and clears retained state without undoing completed operations. by @kermanx
- Session supports batched event appends without changing the log format; custom append wrappers need to support batch calls. by @liukx0205
- Tool failures provide clearer error types and codes for diagnosis; plugins and SDK integrations relying on older classifications need updating. by @sjw1231
- Adjust Computer Use window operations, keyboard control, and authorization, keeping the system pointer still by default; upgrade custom scripts and helpers together. by @CreatixChu, @Tuyixiang, @Dudu-0223
- Office uses native tools, with skills available in Web and SDK sessions; migrate old packages and skills. Document parsing runs in the DSH host process outside the shell sandbox. by @yudshj
- Windows extra-directory grants apply only to file tools, not terminal or PTC access; related sandbox extensions need migration. by @Tuyixiang
- Adjust LiveShare multi-session sharing and plugin authorization; reconfigure old grants. PTC can access files outside the shared directory, so share only with trusted people. by @mektpoy
- npm installations and Desktop include matching source code and documentation for reference and extension development; Python single-file runtimes exclude these resources. by @turtle1999
- Upgrade Zod to 4.6.6 and Stagehand to 4.4.0; Stagehand automatically discovers extensions, and the old extensionId setting no longer takes effect. by @imccyu
Full Changelog: dsh-v0.2.2-rc.1...dsh-v0.2.2-rc.2