跳到主内容
@wquguru
精选88DeepSeek Harness(GitHub Releases)AI 编程与模型

DeepSeek Harness v0.2.3-alpha.4:弃用Session接口

v0.2.3-alpha.4

原文
发到 X
推荐理由

开发者必读:此版本弃用了核心的 Session.create 等接口并重构了底层模块,同时改变了 Cordis 的错误处理机制。如果你正在开发 DeepSeek Harness 的自定义插件或扩展,请务必查阅升级指南完成迁移,否则插件将无法加载或报错。

中文 | English

新增功能

  • 新增 Environment 插件(实验性),可通过 SSH 让工具(文件读写、搜索、Shell 与程序化调用)在远端主机上遵循沙箱策略运行。 @turtle2099, @turtle1999
  • 新增会话续跑插件(实验性),可在重启后自动或显式确认被中断需要继续的会话。 @turtle2099, @CreatixChu, @LegGasai, @imccyu, @tianyicui, @turtle1999

体验优化

  • 工作区菜单新增“归档所有会话”,可一次归档该工作区的全部未归档会话。 @std4453
  • 改善会话数量多、重试记录或历史图片较多时的启动与会话加载速度,改善插件页加载速度。 @turtle2099, @imccyu
  • 改善页面交互流畅度:切换右侧栏标签、开合会话面板或调整输入区时,界面响应更快。 @imccyu
  • IM QQ 机器人适配器支持合并转发及附件解析,并改进媒体消息发送与拒发提示。 @std-microblock
  • IM 添加 Telegram 适配器支持机器人和用户账号收发文本、富文本及媒体消息,并支持流式回复。 @std-microblock
  • IM 添加机器人管理,可 @shigma
  • 改进工作步骤中的 PTC 工具展示:工具行采用统一布局,折叠的程序调用在标题行概括子调用的活动与次数,“完全展开”时则直接呈现代码和子调用列表。 @Tuyixiang
  • 优化桌面端 Office 原生预览纹理同步开销。 @yudshj
  • DeepSeek 账号和 DeepSeek API 的模型选择器不再列出 Off 推理等级。 @LegGasai
  • 回复消息中指向目录的 Markdown 链接会在侧栏打开目录。 @shigma
  • 会话面板收起时通过图标、名称与数量等方式在胶囊处显示正在进行的工作。 @Tuyixiang
  • 优化 Forge 中文件新增和删除、评审页状态栏的视觉布局。 @LegGasai

问题修复

  • 调整 DeepSeek Messages 收到无效工具参数时的行为,由直接结束回合调整为重试请求。 @turtle2099, @LegGasai
  • 修复窄屏上侧栏抽屉完全打开后,插件浮层仍被抽屉边缘截断的问题。 @yudshj
  • 修复错误诊断遗漏嵌套错误堆栈的问题,并明确标记没有堆栈的错误。 @turtle2099
  • 修复回复中的 $ 金额容易被误排成公式、未闭合的 $$ 会导致后续正文显示异常的问题。 @Tuyixiang
  • 修复 Web 客户端在弱网断线后可能一直停在重连状态的问题。 @turtle2099, @imccyu
  • 改善 LiveShare 读者打开分享的速度。 @mektpoy
  • 修复展开插件安装详情后“立即启用”按钮被挤出可视区域的问题。 @turtle2099
  • 修复移动端侧栏终端中,部分中文输入法提交的空格和标点未送达终端的问题。 @turtle2099, @LegGasai, @mektpoy
  • 修复 PTC 程序中的未处理异步异常导致进程退出、保留变量丢失的问题。 @kermanx
  • 恢复或派生会话,以及 PTC 持久程序环境失效时,系统会先重建变量和对象句柄再继续执行。 @kermanx
  • 修复导入的对话续聊后,轨迹页和时间条把续聊轮次排在早先轮次之前的问题。 @LegGasai
  • 修复 Web 提问卡片提交带“推荐”标记的选项时,将推荐后缀一并写入答案的问题。 @turtle2099
  • 修复 macOS 桌面版的工作区窗口未激活时,第一次点击只激活窗口、不执行操作的问题。 @turtle2099, @Saafo
  • 修复工具调用的取消原因不含消息文本时,错误显示为 [object Object] 的问题;现在会明确报告 tool call aborted。 @turtle2099
  • 改进 Forge 变更视图在窄侧栏及桌面端下的布局与评审体验,同时优化变更请求的状态查看与创建确认,并支持按原提交查看过期讨论。 @LegGasai
  • 修复 pi-ai 路由可能将网关转发的上游错误误判为不可重试的问题。 @LegGasai
  • 修复本地子智能体因模型请求失败或被用户停止而结束时,父智能体收不到具体原因的问题。结算通知现在会包含错误码、HTTP 状态或用户停止说明。 @turtle2099
  • 改进自定义 MCP 服务器界面:删除与添加入口更醒目,连接测试结果显示完整内容。 @grllll
  • 在持久 PTC 程序在会话工作区变化后轻松重建环境,不再沿用旧目录权限。 @kermanx
  • 修复 LiveShare 观看者页面无法显示本地 Markdown 图片的问题。 @mektpoy
  • 修复对话运行时的状态行会被随回复一起选中的问题,复制内容现在只包含回复正文。 @turtle2099
  • 修正 pi-ai 模型关闭思考的推理档位。 @LegGasai
  • 修复输入框里写在引用消息旁的换行在发送后消失、追问与多组引用被拼成一段的问题。 @turtle2099
  • 修复选中助手消息最后一段时无法引用的问题。 @turtle2099, @imccyu, @lsdsjy
  • 修复通过局域网 HTTP 地址访问时,右键菜单的“复制链接地址”“复制文件路径”和“复制文件夹路径”提示失败的问题。 @turtle2099
  • 修复 HTTP 流式请求在 GET/HEAD 时仍附带 body、导致请求失败的问题。 @std-microblock

其他变更

  • 拆分 dsh-session 模块相关实现至 SessionStore / SessionData,并弃用 Session.create 等接口,自定义配置与扩展需按升级指南适配。 @imccyu
  • 调整 React 模块加载方式,支持开发者替换注入实现。 @imccyu
  • 调整构建模式同时支持 TypeScript 6 / TypeScript 7 / tsrs 实现可切换,当前仍保持 TypeScript 6。 @imccyu
  • 调整模型提供方适配 pi-ai 升级至 1.8.0:Gemini 支持 xhigh 推理等级,模型目录与部分请求默认值随上游更新。 @LegGasai
  • 桌面版新增远程配置的获取与持久缓存,启动时读取已有快照并在后台刷新。 @winewill
  • 会话日志不再随模型请求发往未经明确允许的第三方网关。 @tianyicui
  • 调整会话日志上报格式和属性,默认每批事件合并为一条记录。 @kurisu-2002
  • 调整 Cordis 服务访问错误的生成方式,建议操作错误栈的插件按升级指南适配。 @turtle2099, @shigma
  • 调整 Cordis 事件分发:ctx.emit 现在会执行全部监听器,再把同步错误聚合为 AggregateError 抛出,异步拒绝则记入各自监听器的日志。相关插件需按升级指南检查错误处理。 @shigma
  • 调整 HMR 机制:仅从已求值的模块读取插件。 @shigma
  • 添加 dsh-upgrade-plugin 技能,引导修复升级后因兼容性要求无法加载的已安装插件。 @turtle1999
  • 侧边会话(实验性)调整支持从主会话当前进度派生、从会话面板重新打开并查看自身内容,不再嵌套。 @liukx0205, @turtle2099, @Dudu-0223, @Magolor, @Yifffan
  • Computer Use 原生辅助程序随发布产物打包,并优化程序体积。 @huoyaoyuan, @yudshj
  • Computer Use 改进键鼠输入与窗口控制:支持后台发送键盘和鼠标输入,默认不请求占用系统键鼠,支持在用户操作时抑制操作指令发送。 @huoyaoyuan, @CreatixChu
  • Computer Use 改进窗口在多桌面、最小化、受遮挡情况的处理行为,更新应用授权协议。 @huoyaoyuan, @Tuyixiang, @sjw1231, @CreatixChu, @Dudu-0223, @yudshj
  • Computer Use 在对话历史中显示可读的操作名称和图标,成功的截图可直接展开查看。 @Tuyixiang
  • 调整模型目录与默认模型初始化接口。 @Dudu-0223
  • 调整工具定义接口:新增可选的 environment 声明,用于说明工具与执行机器的关系。 @turtle2099
  • 添加对话用户操作扩展槽,插件可在开启轮次的用户消息下添加操作。 @liukx0205
  • 调整目录选择器:新增可复用的 directory.browser 等插槽实现,自定义组合需按升级指南适配。 @imccyu
  • 迁移消息反馈逻辑实现至会话投影维护。 @imccyu
  • 桌面版更新设置新增正式版、开发版、每日构建版渠道。 @winewill

New Features

  • Add an experimental Environment plugin that lets file reads and writes, search, shell commands, and programmatic calls run on a remote host over SSH under the sandbox policy. by @turtle2099, @turtle1999
  • Add an experimental session auto-resume plugin. After a restart, it can resume interrupted sessions either automatically or after explicit confirmation. by @turtle2099, @CreatixChu, @LegGasai, @imccyu, @tianyicui, @turtle1999

Improvements

  • The workspace menu now includes Archive all sessions, which archives every unarchived session in the workspace at once. by @std4453
  • Speed up startup and session loading when there are many sessions, retry records, or historical images. The Plugins page also loads faster. by @turtle2099, @imccyu
  • Improve the smoothness of page interactions: the interface responds faster when switching right-sidebar tabs, opening or closing the session panel, or adjusting the input area. by @imccyu
  • The IM QQ bot adapter now parses merged-forward records and attachments, stops adding blank captions to media-only messages, and clarifies why proactive messages were refused. by @std-microblock
  • Add a Telegram adapter to IM so bot and user accounts can send and receive text, rich text, and media messages, with support for streaming replies. by @std-microblock
  • IM now supports bot management, letting you create or link Feishu/Lark and QQ bots by scanning a QR code. by @shigma
  • Improve how PTC tools are presented in work details: tool rows use a consistent layout, collapsed program calls summarize subcall activity and count in their title, and Verbose mode shows the code and subcall list directly. by @Tuyixiang
  • Reduce texture synchronization overhead for native Office previews on Desktop. by @yudshj
  • The model selectors for the DeepSeek account and DeepSeek API providers no longer list Off as a reasoning level. by @LegGasai
  • Markdown links to directories in reply messages now open the directory in the sidebar. by @shigma
  • When the session panel is collapsed, ongoing work is now shown on the pill using icons, names, counts, and other indicators. by @Tuyixiang
  • Improve the visual layout of added and deleted line counts and the review page status bar in Forge. by @LegGasai

Bug Fixes

  • Adjust how DeepSeek Messages handles invalid tool arguments: it now retries the request instead of ending the turn immediately. by @turtle2099, @LegGasai
  • Fix plugin popovers being clipped by the edge of the fully open sidebar drawer on narrow screens. by @yudshj
  • Fix error diagnostics so nested errors include their stack traces and errors without a stack trace are explicitly marked. by @turtle2099
  • Fix replies misrendering dollar amounts as math formulas and unclosed $$ delimiters causing later body text to display incorrectly. by @Tuyixiang
  • Fix the Web client getting stuck reconnecting after a dropout on a slow network. by @turtle2099, @imccyu
  • LiveShare links open faster for viewers. by @mektpoy
  • Fix the Enable now button being pushed out of view when plugin installation details are expanded. by @turtle2099
  • Fix spaces and punctuation submitted by some Chinese input methods not reaching the sidebar terminal on mobile devices. by @turtle2099, @LegGasai, @mektpoy
  • Fix unhandled async errors in PTC programs that terminated the worker and lost retained variables. by @kermanx
  • When a session is resumed or forked, or a persistent PTC program environment is lost, the system recreates variables and object handles before continuing. by @kermanx
  • Fix the trajectory page and timeline placing the continued turn before imported turns after resuming an imported conversation. by @LegGasai
  • Fix submitted answers from Web question cards retaining the Recommended suffix on the selected option. by @turtle2099
  • Fix the first click on an inactive macOS Desktop workspace window only activating the window instead of also performing the action. by @turtle2099, @Saafo
  • Fix tool calls cancelled without a message showing [object Object]. They now report tool call aborted. by @turtle2099

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件