Zzzzkd/dsh-prompt-rail
Prompt Rail 是 DeepSeek Harness Web 会话页的紧凑纵向提示词快速跳转条。每一条横杠对应一条当前已加载的普通用户提示词。悬停或键盘聚焦会展示预览;点击会滚动跳转到对应提示词。
Project Overview项目介绍
DSH Prompt Rail is a native plugin built exclusively for DeepSeek Harness, that adds a compact vertical quick-jump rail to the DSH web conversation view. Each mark on the rail corresponds to one loaded ordinary user prompt. When you hover your cursor over a mark or focus it with your keyboard, it displays a preview of the prompt, and clicking the mark scrolls the conversation view directly to that prompt. The rail stays vertically centered next to the session sidebar, and automatically excludes non-user prompt rows like assistant responses, tool calls, commands, and injected context. Even a one-prompt conversation will render a single mark correctly.
This plugin is designed for anyone who works with long DSH conversation sessions and needs to jump between user prompts quickly. In default state, each mark has a 10px high click hit area, and its visible default form is an 8px by 3px light line. When you hover or focus a mark, it becomes 28px wide and dark, while nearby marks taper in width to 20px, 14px, and 10px, creating a clear visual hierarchy. After you click a mark, the selection is recorded; when the pointer leaves the rail, all marks reset to default length except the selected one, which stays dark.
To install the plugin, clone or copy this repository into the plugins directory at the root of your local DeepSeek Harness checkout. Then, for Windows, run the provided batch file .\plugins\dsh-prompt-rail\install-and-restart.bat; for macOS or Linux, run node ./plugins/dsh-prompt-rail/compat/install.mjs then restart DSH with pnpm dsh web. You must keep the plugins/dsh-prompt-rail directory after installation for the plugin to continue working. Pre-built files are committed to the lib/ directory so no build step is required for regular use, and the project is released under the open source MIT license with no additional restrictions.
dsh-prompt-rail 是专为 DeepSeek Harness 开发的原生插件,作用是在 Web 端会话视图侧边添加一个紧凑的垂直快速跳转轨道。轨道垂直居中停靠在会话侧边栏旁,每个标记对应一条已加载的普通用户提示,鼠标悬停或键盘聚焦标记时会显示对应提示的预览内容,点击标记即可直接滚动到该提示所在位置。它会自动排除助手回复、工具调用、命令和注入上下文这类非用户提示行,就算只有一条用户提示的会话也会正常渲染对应标记。
对于需要在长对话会话中快速定位特定用户提示的开发者和普通用户来说,这个插件能大幅提升长会话的导航效率。默认状态下,每个标记带有10像素高的点击热区,可见部分是8像素高3像素宽的浅色线条;悬停或聚焦时,当前标记会变为28像素宽的深色线条,附近标记宽度依次递减为20、14、10像素,视觉层级清晰易读。点击选中标记后会记录选中状态,鼠标离开后所有标记恢复默认长度,仅选中标记保持深色高亮。
安装该插件需要将仓库克隆或复制到 DeepSeek Harness 根目录下的 plugins 文件夹中,之后根据不同操作系统运行对应脚本完成安装并重启 Harness 服务。安装完成后需要保留插件目录才能正常使用,开发阶段则需要将 dsh-prompt-rail 和 DeepSeek Harness 检出到同一工作区目录,再执行依赖安装和代码检查。该插件采用 MIT 许可证开源,不存在使用成本或额外版权限制。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-prompt-rail(Zzzzkd/dsh-prompt-rail)
仓库:https://github.com/Zzzzkd/dsh-prompt-rail
本站详情页:https://www.yhbd.top/plugins/zzzzkd-dsh-prompt-rail/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 8 · 最近提交 2026-08-15 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:Zzzzkd/dsh-prompt-rail
把 Zzzzkd/dsh-prompt-rail 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Prompt Rail
English | 中文
Prompt Rail is a compact vertical quick-jump rail for the DeepSeek Harness Web conversation view. One mark represents one loaded ordinary user prompt. Hover or keyboard focus shows its preview; clicking scrolls to that prompt.

Behavior
- The rail stays vertically centered beside the session sidebar.
- Every mark has a 10px high hit slot, while its default visible mark is an 8px by 3px light line.
- Hover/focus makes the current mark 28px wide and dark; nearby marks taper to 20px, 14px, and 10px.
- Clicking records the selected prompt. When the pointer leaves, all marks return to their default length while the selected mark stays dark.
- Assistant, tool, command, steering, and injected-context rows are excluded. A one-prompt conversation still renders one mark.
Install
Clone or copy this repository into the Harness root plugins directory:
deepseek-harness/
└─ plugins/
└─ dsh-prompt-rail/
Then open a terminal in the deepseek-harness root and run:
Windows
.\plugins\dsh-prompt-rail\install-and-restart.bat
macOS / Linux
node ./plugins/dsh-prompt-rail/compat/install.mjs
pnpm dsh web
Keep the plugins/dsh-prompt-rail directory after installation.
Development
The development layout expects sibling checkouts:
workspace/
├─ dsh/ # DeepSeek Harness checkout
└─ dsh-prompt-rail/
Then run:
pnpm install
pnpm run check
lib/ is committed because profile installation loads the prebuilt Host and browser files without running package build scripts.
Release checklist
- Add an exact compatibility patch for every supported pre-slot Harness revision.
- Run
pnpm run checkand exercisenode compat/install.mjs --apply-onlyin a clean matching checkout. - Commit source,
lib/,compat/, README files, screenshot, and lockfile. - Push a
v0.1.0tag and create a GitHub Release from that tag. - State the compatible Harness versions and revision hashes in the release notes.
License
MIT
alaliqing/claude-paper
qkycir-123/dsh-run2skill
PKUfudawei/dsh-capability-menu
houyanchao/dsh-timeline
a735624258/dsh-skill-picker
Chael-Chael/dsh-reference-anything