Skip to content

Releases: ipromise2021/dsh-omc-tui

v0.2.18 — Harness rc.5 兼容与会话恢复修复

Choose a tag to compare

@ipromise2021 ipromise2021 released this 02 Nov 09:04

兼容性

  • TUI v0.2.18 支持 DeepSeek Harness v0.2.1-rc.2~rc.5,推荐 rc.5;暂不支持 v0.2.2-alpha.2。
  • Node.js 22.19+(22.x)或 24.2+。

主要更新

  • 修复恢复会话后模型、effort、图片能力与状态显示误读全局默认的问题;提示词与请求使用同一次模型选择,Provider 默认 effort 保持默认语义。
  • /rename 改用官方标题服务,修复标题事件字段缺失导致会话无法恢复的问题,并固定手动标题。
  • /btw 与提示建议继承当前 effort,避免主请求尚未记录时使用旧档位。
  • 浏览器 MCP 固定为项目依赖,启动与重连诊断不再污染输入;同步会话工作目录并使用官方托管凭据服务。
  • 发布消息队列面板与插入/取消/取回交互;修复沙箱提权目标显示、持久授权及排队审批的一致性。

验证

完整单元测试、模块导入、真实 rc.2/rc.5 运行时检查,以及 rc.5 隔离 Profile 五组 PTY 已通过。独立代码审查发现的 P2 已修复并复核;最终安装包补测模型/effort、/resume、-c、图片分流及 /btw effort。

模型请求使用本地 mock Provider;本轮未覆盖真实云模型、浏览器工具实际调用或 Windows。

安装

npx --yes @deepseek-ai/dsh@0.2.1-rc.5 plugin --profile tui add dsh-omc-tui@0.2.18
npx --yes @deepseek-ai/dsh@0.2.1-rc.5 --profile tui

v0.2.17 — DSH v0.2.0-rc.2 and fast session recovery

Choose a tag to compare

@ipromise2021 ipromise2021 released this 05 Oct 10:25

DSH v0.2.0-rc.2 兼容与会话恢复优化

本版本适配 DeepSeek Harness v0.2.0-rc.2。使用 DSH v0.1.7-rc.2 的用户请继续使用插件 v0.2.16。

主要更新

  • 对齐 Harness peer 依赖,继续支持 standard、ptc、minimal、cordis 四种 Agent preset。
  • /resume 展示当前目录下有标题的历史主会话,显示日期;不再限制最近 50 条。标题优先使用缓存,未缓存项批量查询,选择后再恢复会话数据。
  • 会话恢复首屏只排版最近 200 条事件,向上滚动按需加载更早内容。恢复 preset 从已经加载的 durable 事件中读取,避免额外扫描全部项目的日志。
  • 保留 5 分钟列表缓存,并实时核对官方 live 状态;切换后当前会话隐藏,旧会话成功落盘后及时进入列表。
  • 修复连续滚轮报告被拆块后进入输入框的问题,以及鼠标报告与文字、方向键混合时丢输入的问题;括号粘贴内容保持完整。
  • Chrome MCP 首次 tools/list 回应限制为 10 秒,超时后交由官方重连机制处理;TUI Profile 关闭不需要的 HMR。
  • /model 并行刷新 Provider 模型目录并清理旧模型缓存;浅色 Context 进度条加深,百万级 Token 使用大写 M。

验证

  • 完整单元测试、模块导入和打包检查通过。
  • 47 个真实 stdin 读块、1750 条滚轮报告回放全部派发一次,无乱码泄漏。
  • 隔离 Harness 的启动、对话与历史会话恢复 PTY 回归通过;此前完整 mock PTY 套件包含模型变体选择通过。
  • 用户实测确认,真实 Provider 与 Chrome MCP 同时启用时,模型切换可以保存;此前已确认跨数小时待机后没有键盘、鼠标乱码。

安装或更新

npx --yes @deepseek-ai/dsh@0.2.0-rc.2 plugin --profile tui add dsh-omc-tui@0.2.17
npx --yes @deepseek-ai/dsh@0.2.0-rc.2 --profile tui

更多 Provider、Windows、重启持久化与长期 MCP 断连场景仍需进一步覆盖。

v0.2.16 — DSH v0.1.7-rc.2 and terminal reliability

Choose a tag to compare

@ipromise2021 ipromise2021 released this 28 Sep 02:11

Highlights

  • Updated the TUI profile for DeepSeek Harness 0.1.7-rc.2 and Session V4 tool results.
  • Added all four DSH Agent presets: standard, ptc, minimal, and cordis.
  • Improved recovery of keyboard, mouse, paste, image-transfer, and UTF-8 input after terminal interruptions or long idle periods.
  • Long-running foreground Shell commands now continue through Harness Jobs after the foreground timeout.

Install

npx --yes @deepseek-ai/dsh@0.1.7-rc.2 plugin --profile tui add dsh-omc-tui@0.2.16

Validation and known limits

Unit tests, module imports, package contents, and preset switching in an isolated TUI profile were verified. A real terminal left idle for multiple hours has not yet been observed. The complete PTY suite still stops at the model variant picker assertion in pty-features.py; the preset-specific PTY test passed.

v0.2.14 — DSH v0.1.5-rc.1 compatibility

Choose a tag to compare

@ipromise2021 ipromise2021 released this 10 Sep 05:26

Highlights

  • Compatible with DSH v0.1.5-rc.1 and the updated Cordis peer dependencies.
  • Supports DeepSeek-V41-Flash (deepseek-flash).
  • Adopts the V3 session lifecycle and official compaction events.

Fixes

  • Prevents CR-only paste and abandoned CSI escape prefixes from swallowing subsequent terminal input.
  • Improves status projection and V3 tool-result correlation.

Upgrade

npm install -g dsh-omc-tui@latest

See the CHANGELOG for full details.

v0.2.13

Choose a tag to compare

@ipromise2021 ipromise2021 released this 07 Sep 16:51

Tasks 与状态展示发布加固:补齐 /tasks 的 Plan 默认入口并保留 /jobs 兼容入口;优化 /status 结构化内容区与矮终端状态栏;修复 compact 耗时单位、MCP identifier、Token/耗时进位边界,并缓存计划 durable 投影。

v0.2.12 · 后台恢复与终端状态清理加固

Choose a tag to compare

@ipromise2021 ipromise2021 released this 06 Sep 03:05

更新内容

  • 长时间置于后台、系统休眠或终端恢复后,自动修复 Raw Mode 与输入流状态。
  • 窗口 resize 和 SIGCONT 时立即恢复鼠标追踪、括号粘贴与终端投影。
  • 补齐 SIGINT、SIGTERM、SIGHUP 及进程退出清理,避免异常中断后鼠标坐标乱码泄漏到 Shell。
  • 外部编辑器返回后立即恢复 TUI 交互状态。
  • 健康检查改为轻量检测;仅在异常时重设 Raw Mode,ANSI 模式以 30 秒低频兜底重申。

验证

  • 完整单元与回归测试通过。
  • 模块导入验证通过。
  • npm 包内容检查通过。

v0.2.11 · Terminal interaction reliability

Choose a tag to compare

@ipromise2021 ipromise2021 released this 05 Sep 13:26

修复内容

  • 保持 Agent 运行期间输入框结构稳定,移除容易误解的固定运行提示。
  • 过滤 Node stripTypeScriptTypes 实验警告,并在外部 stderr 输出后正确刷新终端画面。
  • 兼容 VS Code 空闲后拆分送达的 SGR 鼠标滚轮报告,避免控制序列泄漏成乱码。
  • 将 Jump to bottom 居中显示;生成期间按 Esc 会先滚动到底部,再次按下才中断会话。
  • 修复跨空消息到达的工具结果被错误显示为 0 tools。
  • run_code 摘要显示语言、代码行数和错误状态,展开后可查看完整执行代码。
  • 文件匹配只剩 @ 时,一次 Backspace 即可删除触发符并关闭面板。

验证

  • 完整单元测试通过。
  • ESM 模块导入验证通过。
  • npm 打包预检通过,共 65 个文件。

npm: https://www.npmjs.com/package/dsh-omc-tui/v/0.2.11

v0.2.10 — DSH v0.1.2-rc.1 compatibility

Choose a tag to compare

@ipromise2021 ipromise2021 released this 03 Sep 16:08

Full Changelog: v0.2.9...v0.2.10

v0.2.9 — DSH v0.1.2-rc.1 compatibility and reliability

Choose a tag to compare

@ipromise2021 ipromise2021 released this 03 Sep 16:08

Full Changelog: v0.2.8...v0.2.9

v0.2.8 — Persistent reasoning effort defaults

Choose a tag to compare

@ipromise2021 ipromise2021 released this 29 Aug 03:00

Highlights

  • Persist the selected reasoning effort as the default for newly created sessions.
  • Validate direct effort selection against the current model capabilities.
  • Keep the active model and effort unchanged when Harness settings writes fail.
  • Document the npm DSH compatibility baseline: @deepseek-ai/dsh 0.1.1-rc.2.

Validation

  • npm test
  • npm run verify
  • npm pack --dry-run