dsh-turn-tools
Manifest validAdds deliverable-file buttons to the end of each agent turn (opens files with the OS default app) and a floating dot rail for jumping between conversation turns.
dsh-turn-tools
English
A DeepSeek Harness (dsh) web plugin that adds two tools to the chat interface:
- Per-turn deliverable buttons — when an agent turn produces output files, buttons for each file are rendered at the end of that turn. Clicking a button opens the file with the OS default application (via the harness
host.openPathAPI). - Turn navigator dot rail — a floating dot rail on the right side of the chat; one dot per conversation turn. Clicking a dot scrolls to that turn.
Requirements
- DeepSeek Harness (
@deepseek-ai/dsh) with thewebprofile.
Install
Via dsh plugin add (npm package or git URL), or install manually:
- Copy this repo into
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/. - Append the contents of
cordis.patch.ymlto$DSH_HOME/profiles/web/cordis.patch.yml. - Restart dsh.
How it works
lib/client.jsregisters two slots via theslotsservice:conversation.chat.turnTail— readsturn.data.get('deliverables')and renders one button per deliverable.shell.overlay— aMutationObserverscans[data-dsh-turn-anchor]elements to build the dot rail.
exports.inject = ['slots'](cordis service names);connectionis fetched lazily viactx.get('connection')at click time.
FAQ
Buttons / dots don't appear after installing.
- Restart dsh after copying the files — there is no hot reload.
- Check
window.__DSH_BOOT__.entriesin the browser console: thedsh-turn-toolsentry should be active, with nowaiting for servicesnote. - Deliverable buttons only render on turns that actually produced output files.
How do I uninstall?
- Delete
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/, remove theturn-toolsinsert entry from$DSH_HOME/profiles/web/cordis.patch.yml, and restart dsh.
中文
一个 DeepSeek Harness(dsh)web 插件,为聊天界面增加两个工具:
- 每轮产出文件按钮 — 当某轮对话产生输出文件时,在该轮末尾为每个文件渲染一个按钮,点击后调用系统默认程序打开(通过 harness 的
host.openPathAPI)。 - 轮次导航圆点栏 — 聊天区右侧的浮动圆点栏,每轮对话一个圆点,点击圆点滚动跳转到对应轮次。
前置要求
- DeepSeek Harness(
@deepseek-ai/dsh),使用webprofile。
安装
可通过 dsh plugin add 安装(npm 包或 git URL),或手动安装:
- 将本仓库拷贝到
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/。 - 将
cordis.patch.yml的内容追加到$DSH_HOME/profiles/web/cordis.patch.yml。 - 重启 dsh。
实现说明
lib/client.js通过slots服务注册两个 slot:conversation.chat.turnTail— 读取turn.data.get('deliverables'),为每个产出渲染一个按钮。shell.overlay— 用MutationObserver扫描[data-dsh-turn-anchor]元素构建圆点栏。
exports.inject = ['slots'](cordis 服务名);connection在点击时通过ctx.get('connection')延迟获取。
常见问题
安装后按钮 / 圆点没有出现?
- 拷贝文件后需要重启 dsh——没有热加载。
- 在浏览器 console 检查
window.__DSH_BOOT__.entries:dsh-turn-tools条目应为 active,且没有waiting for services提示。 - 产出文件按钮只在该轮确实产生了输出文件时才会渲染。
如何卸载?
- 删除
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/,从$DSH_HOME/profiles/web/cordis.patch.yml中移除turn-tools的 insert 条目,然后重启 dsh。
License
MIT
Comments
Loading…
Similar plugins
by Andor-Z
Adds a sidebar tab that folds a session into user turns (input, tool steps, output) with one-click jump back into the conversation.
★ 2
↓ 192/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-turn-outlineby uigdwunm
Groups each DSH Web turn's thinking, tool calls and context into an expandable process box that shows the latest two items by default, while keeping user dialogue, interactive questions and final answ
★ 1
MIT
TypeScript
Sep 14, 2026
dsh plugin --profile web add dsh-process-foldby zheng16965
为 DeepSeek Harness 对话产物列表增加主动展开与收起功能的 Web UI 插件。
★ 0
MIT
TypeScript
Aug 24, 2026
dsh plugin --profile web add dsh-deliverables-toggleby weibaohui
dsh 插件 · 目录共享:任意可配置目录经 HTTP 在线浏览/上传/下载 + 对话框 @ 文件给 agent 处理
★ 1
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add @weibaohui/dsh-file-shareby xing-shuyin
Developer tools panel for the DSH web UI: file browser with preview, edit, and path-only file mentions; multi-tab terminals with quick commands; Git panel with commit, push, pull, and branch switching
★ 6
↓ 142/wk
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-ui-toolsFolds streaming reasoning and tool calls into collapsed step bars and collapses each finished turn into a single summary bar; step bars show native tool icons, filenames, edited line counts, and failu
★ 0
dsh plugin --profile web add dsh-turn-fold