ReleaseDeepSeekDeepSeekpublished Sep 15, 2026seen Sep 15

deepseek-ai/deepseek-harness dsh-v0.1.6-alpha.1

deepseek-ai/deepseek-harness

Open original ↗

Captured source

source ↗
published Sep 15, 2026seen Sep 15captured Sep 15http 200method plain

v0.1.6-alpha.1

Repository: deepseek-ai/deepseek-harness

Tag: dsh-v0.1.6-alpha.1

Published: 2026-09-15T04:57:57Z

Prerelease: yes

Release notes: [中文](#cn-v0.1.6-alpha.1) | [English](#en-v0.1.6-alpha.1)

新增功能

  • Web 侧边栏新增终端,支持多标签、Shell 选择和刷新后恢复。 @LegGasai
  • 设置中新增已归档会话列表,支持查看和恢复会话。 @tianyicui
  • MCP 支持发现和读取资源、使用 URI 模板。内置 Profile 配置 MCP 服务器后可使用共享资源工具。 @tianyicui
  • Headless 支持从标准输入接收任务,用 --session-id 继续已有会话,用 --json 逐行输出 JSON 运行事件。 @lsdsjy
  • 扩展文件、命令及 PTC 工具,支持 DSH 在本地运行,通过 SSH 使用远端工作区。 @tianyicui
  • 新增实验性 Browser Use 支持,包含 Playwright MCP、Chrome DevTools MCP 和 Stagehand 浏览器后端。 @tianyicui
  • 新增实验性 Computer Use 支持,可通过 Cua Driver MCP 或原生驱动操作本机、获取截图。 @tianyicui
  • 新增实验性 Auto review 模式。 @pku-xht

体验优化

  • 文件、Skill 引用及交付文件链接默认由侧边栏预览。 @LegGasai
  • 支持在 Agent Presets 设置中关闭模式切换 UI。 @ZiyaZhang
  • 优化文件预览,保留文件树滚动位置,图片和 PDF 随面板适配,并简化预览器选择及加载、格式提示。 @Yifffan
  • Trajectory 支持展开和复制 JSON 字符串、查看 PTC 代码及调用结果,推理默认展开,并恢复记录中的运行耗时。 @kermanx
  • 调整输入框加号菜单的分组,将文件添加入口移入菜单,移除独立附件按钮,并统一斜杠菜单的中英文命令展示。 @CreatixChu, @Yifffan
  • 连接提示区分自动与手动重连,支持点击重试,并减少提示闪烁。 @Yifffan
  • 轮次运行超过一小时后,耗时按小时、分钟和秒显示。 @lsdsjy
  • 为适配 DeepSeek V4.1,调整图片缩放和 Token 估算,提高默认请求图片尺寸和编码质量。 @CreatixChu
  • 提升持久 Bash 处理大量历史输出时的效率。 @turtle2099
  • 文档站的 Mermaid 图表支持全屏查看、缩放和平移。 @grllll
  • Node PTC 的 run_code 支持按次设置超时时间,默认 120 秒、最多 600 秒。 @tianyicui
  • MCP 升级至官方 SDK v2,支持协议协商、工具分页,以及未提供工具的服务器。 @tianyicui
  • 推理和压缩摘要展开后,标题随滚动吸顶,方便折叠,且不遮挡摘要中的代码复制按钮。 @Chinesezjc
  • 改善 Web 终端文字和光标对比度,切换主题时保留应用配色;刷新后的新视图暂不恢复该配色。 @LegGasai

问题修复

  • 修复会话最近更新排序,保留刷新后的手动顺序,并将新建空白会话置顶。 @Dudu-0223
  • 修复按轮次分叉时带入后续输入和设置的问题。 @Dudu-0223
  • 修复工具说明含双花括号时,PTC 提示词生成失败或文字被误替换的问题。 @kermanx
  • 修复 Linux 子进程终止和清理时的等待及退出结果判定问题。 @turtle1999, @tianyicui
  • 可选插件启动失败不影响其他可用插件,必需插件失败时退出;修复 Web 服务恢复后的模块路由注册。 @turtle1999
  • 修复鼠标悬停或键盘聚焦短 Markdown 表格时,页面位置发生跳动的问题。 @07akioni
  • 文件编辑卡片按行展示改动和上下文,修正增删行数统计,大范围替换采用整段展示。 @turtle2099
  • 子代理完成通知改为仅传递正文,修复推理块导致父会话 Messages 请求失败的问题;已保存通知不变。 @tianyicui

其他变更

  • 新增 image offload 会话事件,记录请求中省略的历史图片,并在会话恢复和分叉时保留该记录。 @CreatixChu
  • DeepSeek 默认改用 Messages 协议,并支持通过 Files API 复用已上传图片。自定义 API 地址保留不变。如果手动配置了旧官方根地址,请移除该配置或改为 https://api.deepseek.com/anthropic。 @LegGasai, @tianyicui
  • 默认不再启用 Ralph,需要使用时请手动启用。 @tianyicui
  • 移除内置 E2B 执行后端,相关自定义配置需调整。 @tianyicui
  • PTC 包名和服务名统一为 ptc-runtime 系列,旧名称不再兼容,自定义插件和配置需更新。 @tianyicui
  • 工作流执行器改为 workflow-ptc,遵循会话文件策略;自定义配置需更新名称,暂不支持 Python PTC。 @tianyicui
  • agent/session-start 改为异步串行的 agent/created,首次模型请求等待初始化完成,相关插件及注册调用需适配。 @kermanx
  • 弃用 Session 的同步历史读取接口 snapshotEvents、eventAt 和 ownEvents。 @kermanx
  • 实验性 Team 模式统一使用 spawn_teammate,关闭 subagent 和 subagent_fork,默认队友创建上限从 8 增至 16。 @Dudu-0223
  • Node PTC 改用独立进程执行,遵循会话文件策略并限制输出和堆内存;process.env 为空,依赖旧执行环境的代码需适配。 @tianyicui
  • 配置热更新取消事务回滚:解析失败保留原配置,插件激活失败可能部分生效,需修正配置后恢复。 @turtle1999
  • SandboxProvider.confine 和 ShellExecutor.start 改为可取消的异步接口,准备时间计入超时;修复 POSIX 符号链接与父目录组合、Windows 驱动器相对路径解析。 @tianyicui
  • 请求图片缓存移至 DSH_HOME/cache/attachments/request-images,删除后可重建;原图保留,旧缓存不自动清理。 @turtle1999
  • 使用 DeepSeek 模型适配器且连接官方 API 端点时,支持随请求上报会话事件,当前实验性开启,可通过配置关闭。 @tianyicui

New Features

  • Add terminals to the Web sidebar, with multiple tabs, shell selection, and recovery after page refreshes. by @LegGasai
  • Add an archived-session list in Settings for browsing and restoring sessions. by @tianyicui
  • MCP supports resource discovery and reading, and URI templates. Shared resource tools are available after configuring an MCP server in a built-in Profile. by @tianyicui
  • Headless can read tasks from standard input, resume sessions with --session-id, and emit run events as newline-delimited JSON with --json. by @lsdsjy
  • Extend file, command, and PTC tools so DSH can run locally while using a remote workspace over SSH. by @tianyicui
  • Add experimental Browser Use through Playwright MCP, Chrome DevTools MCP, and Stagehand browser backends. by @tianyicui
  • Add experimental Computer Use through Cua Driver MCP or the native driver for local computer interaction and screenshots. by @tianyicui
  • Add experimental Auto review mode. by @pku-xht

Improvements

  • Preview file and Skill references and delivered-file links in the sidebar by default. by @LegGasai
  • Allow the mode-switching UI to be disabled in Agent Presets settings. by @ZiyaZhang
  • Improve file previews with preserved file-tree scroll positions, panel-fitted images and PDFs, simpler viewer selection, and clearer loading and format messages. by @Yifffan
  • Expand and copy JSON strings in Trajectory, inspect PTC code and call results, show reasoning expanded by default, and recover recorded run timing. by @kermanx
  • Reorganize the composer’s plus menu, move file attachment into it, remove the separate attachment button, and align Chinese and English command presentation in the slash menu. by @CreatixChu, @Yifffan
  • Distinguish automatic and manual reconnection, support click-to-retry, and reduce notice flicker. by @Yifffan
  • Show turn durations in hours, minutes, and seconds once they exceed an hour. by @lsdsjy
  • Adapt image resizing and token estimates for DeepSeek V4.1, and increase default request-image size and encoding quality. by @CreatixChu
  • Improve persistent Bash performance when processing large amounts of previous output. by @turtle2099
  • Support fullscreen viewing, zoom, and pan for Mermaid diagrams on the documentation site. by @grllll
  • Support per-call timeouts for Node PTC’s run_code, with a default of 120 seconds and a maximum of 600 seconds. by @tianyicui
  • Upgrade MCP to the official SDK v2 with protocol negotiation, paginated tool lists, and support for servers without tools. by @tianyicui
  • Keep expanded reasoning and compaction-summary headers pinned while scrolling for easy collapse, without covering code copy buttons in summaries. by @Chinesezjc
  • Improve Web terminal text and cursor contrast and preserve application colors across theme changes; new views after refresh do not yet restore those colors. by @LegGasai

Bug Fixes

  • Fix session recency sorting, preserve manual order after refreshes, and place new blank sessions at the top. by @Dudu-0223
  • Fix turn-based forks including inputs and settings from later turns. by @Dudu-0223
  • Fix PTC prompt generation failures and unintended text replacements when tool descriptions contain double braces. by @kermanx
  • Fix waiting and exit-result handling during Linux subprocess termination and cleanup. by @turtle1999, @tianyicui
  • Keep usable plugins running after optional startup failures, exit on required-plugin failures, and fix module-route registration after...

Excerpt shown — open the source for the full document.