Skip to content

Releases: siberiah2o/dsh-plugin-terminal

0.1.11

Choose a tag to compare

@siberiah2o siberiah2o released this 15 Aug 16:50

What's new\n\n- New terminals reuse the workspace directory: clicking + inside a workspace session now spawns the terminal in that workspace's path.\n- Client resolves cwd as workspace path > session cwd > parent (subagent) cwd, and sends the owning DSH sessionId with every create request.\n- Host falls back to the DSH workspace registry (workspaceRegistry.host.sessionPath) when the client sends no cwd — even then the terminal lands in the workspace, never the server launch directory.\n- Fixed escaped title template that showed the literal placeholder (" #").\n\n## Install\n\n\ndsh plugin --profile web add dsh-plugin-terminal\n

dsh-plugin-terminal 0.1.9

Choose a tag to compare

@siberiah2o siberiah2o released this 14 Aug 16:38

0.1.9 发布说明

DeepSeek Harness (DSH) Web GUI 底部终端面板插件。

🚀 新功能

  • 重启不丢终端:会话元数据 + 滚动缓冲实时落盘($DSH_HOME/plugin-data/terminal/),重启 dsh web 后恢复为"已退出"历史标签,画面完整回放,一键重启进程
  • 重启继承历史POST /sessions/:id/restart 原地重启 shell 并继承全部滚动历史,标签名保持不变
  • TUI Agent 渲染调优(codex / claude code):
    • 子进程注入 TERM=xterm-256colorCOLORTERM=truecolor、UTF-8 locale(LANG/LC_ALL/PYTHONIOENCODING
    • unicodeVersion: "11"(CJK 宽度表)、drawBoldTextInBrightColors: false、CJK 字体兜底
    • 回滚提升至 10000 行(服务端 500k 字符环形缓冲)

🎨 UI

  • 展开面板合并为单行标签栏(标签可横向滚动,右侧按钮固定)
  • 切换工作区自动恢复会话,不再显示"无会话"
  • 已退出标签显示重启按钮,可原地重启

🐛 修复

  • 重启按钮在已退出会话上不可见(点不到)
  • 重启后标签名被服务端计数器递增(zsh 1 → zsh 2 → …),现保留原名
  • DELETE 后旧 log 文件被异步 onExit 重建(孤儿日志残留)
  • 重启后历史记录丢失(现完整继承)

✅ 测试

tests/persist-restart.mjstests/restart-inherit.mjstests/smoke-env.mjs 全部通过

v0.1.3

Choose a tag to compare

@siberiah2o siberiah2o released this 14 Aug 14:21

dsh-plugin-terminal v0.1.3

DeepSeek Harness (DSH) Web GUI 底部终端面板插件 — node-pty + xterm.js 多标签终端,贴底全宽,输入框始终在终端上方。

安装

dsh plugin --profile web add dsh-plugin-terminal && dsh web

变更记录

  • v0.1.3 — README 安装命令置顶(npm 页面可见性)+ 不使用 npm i 的提示
  • v0.1.2 — 极简中英双语 README + 实拍截图(折叠/展开/多标签)
  • v0.1.1 — 中英双语 README(EN/ZH 互链)+ CDP 实拍截图
  • v0.1.0 — 首个 npm 发布;官方 bundle 形态(dsh.bundle),一行命令安装

功能

  • 底部全宽终端面板,宽度对齐对话列(不遮侧栏),输入框常驻终端上方
  • Ctrl+` 切换,拖拽调高(记忆到 localStorage)
  • 多标签:独立 PTY 会话、切 tab 不中断、刷新自动恢复
  • xterm.js 6 完整 VT 仿真;WebSocket 直连,低延迟

下载

  • dsh-plugin-terminal-0.1.3.tgz — npm tarball(或 npm i dsh-plugin-terminal