DeepSeek Harness v0.1.7-rc.1:弃用旧协议与预设,破坏性变更需迁移适配
v0.1.7-rc.1
推荐理由
开发者必读:此版本移除了多个关键旧接口与配置方式(如旧协议、E2B 后端、异步 API 变更)。如果你正在开发自定义插件或依赖特定后端,请立即检查迁移指南,否则升级后将无法正常工作。
中文 | English
新增功能
- 侧边栏集成终端、网页、子智能体会话和提交计划,支持文档、表格与文件改动的预览和审阅;预览随会话或本地文件变化更新,文档缩放与表格滚动更顺畅,并可在系统应用中打开。 @LegGasai, @imccyu, @yudshj, @Yifffan, @CreatixChu, @yixiangihsiang, @sjw1231, @Dudu-0223, @grllll
- 会话支持置顶、归档、筛选和恢复;归档运行中的会话前会提示受影响的任务。 @tianyicui, @Yifffan, @LegGasai
- 插件管理页支持安装、配置、启停和卸载插件,并可选择官方源、镜像或自定义源。 @LegGasai, @turtle1999, @imccyu, @Yifffan
- Agent Team 面板实时展示成员和任务,并支持从会话页头查看与切换成员。 @Dudu-0223, @Yifffan
- 实验性语音转写支持准备本地模型,并可自动或手动选择模型下载源。 @LegGasai
- MCP 支持资源读取和 URI 模板,并兼容新版协议协商与工具分页。 @tianyicui
- Headless 支持从标准输入接收任务、续接会话和输出 JSON 事件;文件与命令工具可经 SSH 使用远端工作区。 @lsdsjy, @tianyicui
- 新增实验性浏览器和计算机操作。 @tianyicui
- 新增实验性自动审阅模式。 @pku-xht
- 工作步骤可按简洁、标准、详细或完全展开查看;工具生成时显示准备进度,思考与工具过程可折叠,代码块更易阅读。 @imccyu, @lsdsjy, @std4453, @yixiangihsiang
- 聊天中的本地图片可直接查看、放大,图片链接悬停时可预览。 @Kaige-Gao
- Office 任务默认使用随应用安装的 LibreOffice 运行环境。 @yudshj
体验优化
- 长会话的加载、滚动与轮次跳转更流畅,发送消息时减少视图跳动。 @imccyu, @tianyicui
- 长时间命令和工作流可转入后台,任务面板显示实时输出。 @LegGasai
- 模型设置可集中添加提供商并查看模型 ID;Safari 中模型菜单也可正常选择和收起。 @LegGasai, @yudshj, @grllll
- Windows 可通过系统关联应用打开配置文件及其他本地文件。 @Elevator14B
问题修复
- Web 服务重启后,会话会在应用就绪时恢复连接与回复,并保留历史和输入草稿。 @Yifffan, @imccyu
- 新建空白会话不再复用旧历史或被其他实例占用,列表刷新后仍保留正确状态。 @LegGasai, @turtle1999, @liukx0205
- 插件启动失败时会区分可选与必需插件并保留可处理的错误;安装或卸载停滞时会结束等待,避免持续占用 Profile 配置。 @turtle1999, @LegGasai
- 阻止 Windows 沙箱删除授权目录以外及其他工作区的文件。 @Elevator14B
- 修复 Web 部署在反向代理子路径下无法访问的问题。 @oraluben
- 修复旧子智能体完成通知导致父会话无法通过 Messages API 继续的问题。 @tianyicui, @LegGasai
- 改善启动错误诊断,并修复并发首次加载原生模块时的崩溃。 @turtle1999, @koalazf99
- 修复长时间使用双向流时 Gateway 内存持续增长的问题。 @imccyu
其他变更
- 官方 DeepSeek 适配器仅使用 Messages API,并支持复用已上传图片;旧协议配置需要迁移。 @LegGasai, @tianyicui
- Session 日志升级为 V4;提供批量迁移工具,自定义事件中的附件读取规则也有变化。 @tianyicui, @kermanx
- Agent 预设改由插件组合包声明与安装;旧目录预设需要迁移。 @turtle1999
- 设置改由当前 Profile 的插件配置保存;旧 settings.yaml 仅尝试导入一次。 @turtle1999
- PTC 运行时和工作流执行器使用新名称,Node PTC 改由独立进程执行;自定义插件与配置需适配。 @tianyicui
- 默认不再启用 Ralph,并移除内置 E2B 执行后端。 @tianyicui
- Remote 支持双向流和二进制传输;工作区文件读取接口改为 readBytes。 @imccyu, @yudshj
- 插件组合包支持多个 patch 和无需重载的配置字段,并可导出配置 JSON Schema。 @imccyu, @turtle1999
- Agent 生命周期、会话历史和 Shell 沙箱接口调整为新的异步形式;自定义插件需适配。 @kermanx, @tianyicui, @imccyu
- 实验性 Team 模式统一使用 spawn_teammate,原子代理创建工具不再提供。 @Dudu-0223
- 工具返回的文字与图片按统一 token 预算截断;自定义 spill-policy 需改用 maxInlineTokens。 @CreatixChu
- 插件安装和启动会检查与当前 DSH 版本的兼容性;不兼容时提示原因,可针对确切版本授予例外。 @turtle1999
New Features
- Use terminals, web pages, subagent conversations and submission plans in the sidebar, alongside document, spreadsheet and file-change previews. Previews refresh as sessions or local files change, with smoother document zoom and spreadsheet scrolling, and can open in system apps. by @LegGasai, @imccyu, @yudshj, @Yifffan, @CreatixChu, @yixiangihsiang, @sjw1231, @Dudu-0223, @grllll
- Pin, archive, filter and restore sessions, with a warning about affected tasks before archiving an active session. by @tianyicui, @Yifffan, @LegGasai
- Install, configure, enable, disable and remove plugins from the Plugins page, using an official, mirrored or custom source. by @LegGasai, @turtle1999, @imccyu, @Yifffan
- See live Agent Team members and tasks in the conversation header and navigate to teammates. by @Dudu-0223, @Yifffan
- Prepare a local model for experimental speech transcription and choose its download source automatically or manually. by @LegGasai
- Read MCP resources and URI templates, with updated protocol negotiation and tool pagination. by @tianyicui
- Run Headless tasks from standard input, resume sessions and stream JSON events; use files and commands in remote workspaces over SSH. by @lsdsjy, @tianyicui
- Use experimental browser and computer interaction. by @tianyicui
- Use the experimental automatic review mode. by @pku-xht
- Choose how much work detail to show, follow tool preparation progress, fold reasoning and tool activity, and read code blocks more clearly. by @imccyu, @lsdsjy, @std4453, @yixiangihsiang
- View and enlarge local images in chat, or preview image links on hover. by @Kaige-Gao
- Use the bundled LibreOffice runtime by default for Office tasks. by @yudshj
Improvements
- Load and navigate long conversations more smoothly, with steadier scrolling when sending messages. by @imccyu, @tianyicui
- Run long commands and workflows in the background and follow live output in the Jobs panel. by @LegGasai
- Add model providers in one place and inspect model IDs. Model menus also support mouse selection and dismissal in Safari. by @LegGasai, @yudshj, @grllll
- Open configuration and other local files through their associated Windows applications. by @Elevator14B
Bug Fixes
- Reconnect and resume replies after a Web server restart while preserving history and input drafts. by @Yifffan, @imccyu
- Create blank sessions without reusing old history or sessions held by another instance, and keep their status after refresh. by @LegGasai, @turtle1999, @liukx0205
- Distinguish optional from required plugin failures and keep actionable errors; stop waiting on stalled installations or removals so profile configuration remains available. by @turtle1999, @LegGasai
- Prevent the Windows sandbox from deleting files outside authorized directories or in another workspace. by @Elevator14B
- Fix Web deployments served from a reverse-proxy subpath. by @oraluben
- Fix older subagent completion notifications preventing a parent conversation from continuing through the Messages API. by @tianyicui, @LegGasai
- Improve startup failure diagnostics and fix crashes during concurrent first loads of native modules. by @turtle1999, @koalazf99
- Fix growing Gateway memory use during long-lived bidirectional streams. by @imccyu
Chores
- Use the Messages API exclusively for the official DeepSeek adapter and reuse uploaded images; migrate legacy protocol settings. by @LegGasai, @tianyicui
- Upgrade Session logs to V4 with a batch migration tool; attachment handling in custom events also changes. by @tianyicui, @kermanx
- Declare and install Agent presets through plugin bundles; migrate legacy directory presets. by @turtle1999
- Save settings in the current profile plugin configuration; import legacy settings.yaml only once. by @turtle1999
- Rename the PTC runtime and workflow executor and run Node PTC in a separate process; update custom plugins and configuration. by @tianyicui
- Disable Ralph by default and remove the built-in E2B execution backend. by @tianyicui
- Support bidirectional Remote streams and binary transfer; migrate workspace file reads to readBytes. by @imccyu, @yudshj
- Use multiple bundle patches and config fields that do not require reloads, and export configuration JSON Schema. by @imccyu, @turtle1999
- Update custom plugins for the revised asynchronous Agent lifecycle, Session history and Shell sandbox APIs. by @kermanx, @tianyicui, @imccyu
- Use spawn_teammate for experimental Team mode; the former subagent creation tools are removed. by @Dudu-0223
- Retain text and images from tool results within one token budget; custom spill-policy settings must use maxInlineTokens. by @CreatixChu
- Check plugin compatibility with the current DSH version at installation and startup, with clear refusal reasons and exact-version exemptions. by @turtle1999
Full Changelog: dsh-v0.1.5-rc.3...dsh-v0.1.7-rc.1
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力