github deepseek-ai/deepseek-harness dsh-v0.2.1-alpha.3
v0.2.1-alpha.3

pre-release5 hours ago

中文 | English

新增功能

  • Web 版支持在本机 HTTP 访问时登录 DeepSeek 账号。 @lsdsjy
  • 支持识别已发送消息中的密钥和令牌,并默认脱敏按需查看。 @ZiyaZhang
  • 极简模式支持读取图片和自动压缩长对话,Web 与桌面端可通过 /compact 指令手动压缩上下文。 @LogosVeritas

问题修复

  • 修复切换会话、收起工作过程或发送后续消息时,对话区域出现大块空白、滚动跳动的问题。 @imccyu
  • 修复重启应用后部分会话无法继续,以及切换到 DeepSeek 后因历史消息兼容问题导致请求失败的情况。 @imccyu, @yudshj
  • 修复插件更新或重新安装后仍运行旧代码的问题。启用热重载时,可替换的插件会直接生效;无法热重载的情况会提示重启。 @turtle1999
  • 修复 macOS 添加工作区时目录选择器无法粘贴目录路径,以及取消选择仍添加工作区的问题。 @turtle2099
  • 修复原预设被删除或调整后,恢复空白会话、切换工作区可能失败的问题。 @LegGasai
  • 修复部分较旧 Git 版本下无法创建工作树的问题。 @turtle2099
  • 修复远程 Web 在网络拥塞时被误判为断线,以及刷新后语言、主题等偏好丢失的问题。 @turtle2099, @oraluben
  • 应用意外退出后,未完成的任务会明确显示“任务已停止”,避免被误认为正常完成。 @turtle2099
  • 凭据文件中出现 DSH 不使用的额外字段时,不再阻止应用启动。 @turtle2099
  • 修复卸载会话存储插件时,最后的会话记录可能丢失的问题。 @turtle1999

体验优化

  • 改善会话列表加载和 @ 会话搜索体验 @imccyu
  • 子智能体可通过配置选用独立 Agent Preset 预设,统一设置角色和工具; @grllll, @Dudu-0223
  • 优化侧栏展开规则,让运行中和等待回应的会话更容易找到;会话菜单支持复制会话 ID。 @turtle1999, @imccyu
  • DeepSeek 账号的模型列表随账号可用模型更新,并隐藏当前客户端版本不支持的模型。 @LegGasai
  • 模型设置更清楚地提示凭据来源和检测状态,支持按需显示输入的 API Key。 @Magolor
  • Office 文档任务按需加载编辑、渲染和导出指引,减少简单内容修改中不必要的检查与预览。 @yudshj
  • 改进子智能体的委派与等待指引:达到委派层数上限时提前提示,等待子任务期间不再消耗新的目标执行轮次。 @ZiyaZhang, @turtle1999
  • Web 终端更可靠地处理连续输入、粘贴和尺寸调整,并保留进程退出前的最后输出。 @LegGasai
  • 桌面端可用 Cmd/Ctrl + 加号或减号统一调整正文、代码和终端字号。 @koalazf99
  • 优化会话和工作区的悬停操作,统一卡片与菜单样式,并改善页头排列及插件页、自动化任务页的窄窗口布局。 @Yifffan, @Kingwl
  • PTC Mode 的 Node 执行环境新增可选的 in-memory 模式,多次运行代码可复用变量、函数和已导入模块。 @CreatixChu

其他变更

  • API Key 读取优先级变更:Web端/桌面端优先采用已保存的凭据;headless 默认改用环境变量和 .env,不读取已保存的密钥。 @Magolor
  • 更新第三方模型支持;Azure 提供方名称统一为 azure,使用旧名称 azure-openai-responses 的提供方配置需迁移。 @LegGasai
  • Python SDK 的 Office 引擎和完整创作环境改为按需下载。 @yudshj
  • 使用 --from-default-profile 重建已有自定义配置时,会替换该配置及其插件和设置。 @turtle2099
  • TypeScript 和 Python SDK 支持 resume 功能,恢复已保存的会话,继续使用原有会话 ID 和工作目录。 @koalazf99

New Features

  • The Web app supports DeepSeek account sign-in when accessed over local HTTP. by @lsdsjy
  • Detect keys and tokens in sent messages and mask them by default, with an option to reveal them. by @ZiyaZhang
  • Minimal mode can read images and automatically compact long conversations. Web and Desktop users can run the /compact command to compact context manually. by @LogosVeritas

Bug Fixes

  • Fix large blank areas and scroll jumps when switching sessions, collapsing work details, or sending follow-up messages. by @imccyu
  • Fix failures when continuing some sessions after an application restart, and history compatibility errors when switching to DeepSeek. by @imccyu, @yudshj
  • Fix stale plugin code after updates or reinstallation. With hot reload enabled, replaceable plugins take effect immediately; changes that cannot be hot-reloaded request a restart. by @turtle1999
  • Fix pasting directory paths into the directory picker when adding a workspace on macOS, and prevent cancelled selections from adding a workspace. by @turtle2099
  • Fix failures when restoring a blank session or switching workspaces after its original preset was removed or changed. by @LegGasai
  • Fix worktree creation failures with some older Git versions. by @turtle2099
  • Fix false disconnects during network congestion and lost language, theme, and other preferences after refreshing a remote Web client. by @turtle2099, @oraluben
  • Tasks interrupted by an application exit now show “Task stopped” instead of appearing to have completed normally. by @turtle2099
  • Extra fields that DSH does not use in the credentials file no longer prevent the application from starting. by @turtle2099
  • Fix a case where final session records could be lost while unloading the session storage plugin. by @turtle1999

Improvements

  • Improve session list loading and @ session search. by @imccyu
  • Configure spawned subagents with independent Agent Presets to manage their roles and tools together. by @grllll, @Dudu-0223
  • Improve sidebar expansion so running sessions and sessions awaiting a response are easier to find. Session menus support copying the session ID. by @turtle1999, @imccyu
  • Keep the DeepSeek account model list up to date with the models available to the account, while hiding models unsupported by the current client version. by @LegGasai
  • Model settings show clearer credential sources and detection status, and let users reveal an entered API key. by @Magolor
  • Load Office editing, rendering, and export guidance as needed, reducing unnecessary checks and previews for simple content edits. by @yudshj
  • Improve subagent delegation and waiting guidance: announce delegation depth limits in advance and wait for running subtasks before starting another goal round. by @ZiyaZhang, @turtle1999
  • Handle continuous input, pastes, and resizing more reliably in the Web terminal, and preserve the final output when a process exits. by @LegGasai
  • Use Cmd/Ctrl + plus or minus on Desktop to adjust text, code, and terminal font sizes together. by @koalazf99
  • Refine session and workspace hover interactions, unify card and menu styling, and improve header ordering and narrow-window layouts on plugin and automation pages. by @Yifffan, @Kingwl
  • The Node runtime for PTC Mode adds an optional in-memory mode that reuses variables, functions, and imported modules across code executions. by @CreatixChu

Chores

  • Change API key precedence: Web and Desktop prioritize saved credentials. Headless uses environment variables and .env files by default, without reading saved keys. by @Magolor
  • Update third-party model support and rename the Azure provider to azure. Provider configurations using azure-openai-responses must be migrated. by @LegGasai
  • The Python SDK’s Office engine and full authoring environment are now downloaded on demand. by @yudshj
  • Using --from-default-profile to recreate an existing custom profile replaces that profile, including its plugins and settings. by @turtle2099
  • The TypeScript and Python SDKs support session resume, restoring saved sessions with their original session IDs and working directories. by @koalazf99

Full Changelog: dsh-v0.2.1-alpha.2...dsh-v0.2.1-alpha.3

Don't miss a new deepseek-harness release

NewReleases is sending notifications on new releases.