DeepSeek Harness plugin

dsh-file-links-h1count

DSH (DeepSeek Harness) plugin: Codex-style clickable file-reference chips in the conversation. Workspace files referenced by tools or mentioned in a reply render as icon chips under each assistant

Jump to install

Source facts

Repository
h1-count/dsh-file-links
Latest update
Aug 20, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/h1-count/dsh-file-links
Plugin: dsh-file-links-h1count
Author: h1-count

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-file-links

DSH(DeepSeek Harness)对话文件引用插件:把每条 assistant 回复里被工具引用或正文提及的工作区文件,渲染为 Codex 风格的可点击 chips(类型图标 + 文件名),点击即用 DSH 内置预览打开。

> English: README.en.md

功能

  • 自动提取:从三类来源确定性累积每轮引用的文件路径——① 工具结果的 locations(diff/edit 卡片)② 工具调用参数里的路径 ③ 回复正文的行内 code 提及
  • Codex 风格 chips文件引用 标签 + 一行圆角小胶囊(按扩展名着色图标:TS/JS/MD/表格/图片…),hover 高亮,超出 8 个折叠为 +N
  • 点击即预览:复用 DSH 聊天视图自带 openFileworkspaces.openPath),零自建预览
  • 安全:渲染前经 Host 端 fs.stat 校验,只保留真实存在的普通文件(目录、噪声、不存在的路径自动过滤);绝对路径直开、相对路径按会话 cwd 解析,杜绝路径二次拼接
  • 主题适配:样式走 DSH 主题变量(--dsw-alias-*),浅色/深色主题均可读

安装

dsh plugin --profile web add github:<你的账号>/dsh-file-links

或本地源码:

git clone https://github.com/<你的账号>/dsh-file-links.git
# 将目录链接进 profile 的 node_modules,并在 profile 的 package.json 中:
# 1) dependencies 添加 "dsh-file-links": "file:<路径>"
# 2) dsh.profile.bundles 数组追加 "dsh-file-links"
# 然后重启 DSH

工作原理

  • Client 半:注册 conversation.chat.turnTail 链,通过 turn 级 ConversationNodeDefinition(kind file-links)累积路径,渲染 chips
  • Host 半:注册 /file-links/verify HTTP 路由,用 fs.stat 校验绝对路径存在性并只保留普通文件
  • 无业务写入、无敏感信息:插件只读取路径元数据,不读取文件内容、不上传任何数据

许可

MIT