Adds 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.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:hu669293657/dsh-turn-tools
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
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
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8801
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8801
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4908
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4640
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4198
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1463
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.