a903067276-rgb/dsh-file-mentions 预览 preview

a903067276-rgb/dsh-file-mentions

Plugin插件 Native原生 ⭐ 14 MIT Clients & Launchers客户端与启动器

DSH 回复中的可点击文件路径:Codex 风格内联打开,📂 在文件管理器中显示,提及文件芯片列表。DSH 网页插件(零依赖)。

Project Overview项目介绍

This is a native bundle plugin built exclusively for the DeepSeek Harness (DSH) web client. It can be installed directly through DSH's official plugin manager by running the command dsh plugin --profile web add "github:a903067276-rgb/dsh-file-mentions#main", then restarting the dsh web process to complete installation. It requires pnpm to be available on your system PATH, as the DSH plugin command forwards package management operations to pnpm. Manual installation is also available as a fallback, documented in the repository's docs/install.md file. After installation, the plugin runs automatically in the background without any extra configuration from the user, as long as the LLM agent wraps file paths in backticks as instructed.

The plugin turns any valid file path wrapped in backticks in DSH replies into a clickable element. You can click the path directly to open the file with your system's default application, or click the small folder icon appended to the path to reveal the file's location in your system file manager. All mentioned files are automatically collected into a clickable chip list at the end of the reply, so you can quickly access any mentioned file without scrolling through the entire conversation. Local files inside your home directory are clickable by default with no extra configuration needed.

The plugin is released under the open source MIT license, so it is free to use, modify, and distribute. It has been fully tested on macOS, including support for paths that contain Chinese characters, and it is expected to work on Windows and Linux though those platforms have not been tested. It only supports DSH version 0.1.0-rc.6 and newer, with best-effort compatibility for older versions that is not guaranteed going forward. To add access to files on external drives or network volumes, you can add their root paths to the plugin's whitelist in the DSH settings menu, and changes take effect immediately without needing to restart DSH.

这是一款专为 DeepSeek Harness (DSH) 网页端打造的原生插件,作用是将 DSH 回复中反引号包裹的文件路径转为可点击项。支持绝对路径、相对路径、用户目录展开路径,甚至含中文的路径也能正常识别,点击可直接打开文件或在文件管理器中定位,还会自动收集所有提及的文件生成可点击列表放在回复末尾。

日常使用 DSH 编码、写文档的开发者都可以使用这个插件。使用时只需要让模型将文件路径用反引号包裹即可,不需要额外配置,本地用户目录下的文件默认就支持点击。如果需要访问外接驱动器或网络卷上的文件,只需要在插件设置中把根路径加入白名单即可,保存后立即生效。

这款插件遵循 MIT 许可开源免费使用,安装需要通过 DSH 官方的插件管理器执行命令,安装后重启 DSH 网页端即可生效。它已经在 macOS 上完成全测试,Windows 和 Linux 理论上可用但未经过测试,仅支持 DSH 0.1.0-rc.6 及以上版本,旧版本兼容性不保证。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 14 stars - an early-stage project星标 14,属于早期项目
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:a903067276-rgb/dsh-file-mentions#main"

把 a903067276-rgb/dsh-file-mentions 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-file-mentions 📎

English | 简体中文

License: MIT

Awesome DSH Plugin

Clickable file paths in DSH replies — a DeepSeek Harness (DSH) web plugin with a Codex-style experience.

Unofficial project: independently developed and maintained by a community member, not an official DeepSeek product.

Screenshot

dsh-file-mentions in action

Inline paths wrapped in backticks (`~/...`, absolute, relative, or Chinese paths) become click-to-open; each clickable path carries a small folder-icon button that reveals the file in your file manager; a "📎 mentioned files" chip list at the turn tail covers the rest. URLs are already auto-linked by the official renderer, so this plugin leaves them alone.

External-drive whitelist settings

The external-drive whitelist (Settings → Plugins → file-mentions): local files in your home directory are clickable by default; only external drives / network volumes (e.g. /Volumes/USB) need their root added here — one path per line. System-disk marker directories (/System, /etc) are rejected automatically.

Features

Where What Effect
Inline path text click Open with default app / open directory
folder icon after inline path click Reveal in file manager
"📎 mentioned files" chip click name Preview content inside DSH
folder icon in the chip list click Reveal in file manager
Inline URL click Browser opens it (official autolink)

Supports ~/ expansion, relative paths (resolved against the session cwd), and absolute paths in macOS / Linux / Windows forms. Non-existent paths silently do nothing.

Division of labour with the official features (since 2026-10-01)

DSH 0.2 already ships several ways to open files. This plugin only fills the gaps the official build leaves instead of duplicating them:

Scenario Owner
@ completion for files/folders/sessions in the composer official (dsh-file-reference + ui-reference)
Markdown file links in messages ([x](https://github.com/a903067276-rgb/dsh-file-mentions/blob/HEAD/path), with #L24) official (opens in the right sidebar) — this plugin skips anything inside <a>, so nothing is decorated twice
The session-header "Open In…" button and the sidebar preview's "open with default app / show in folder" official (dsh-host-open-in-app)
Bare paths in backticks in message text (`~/x/y.md`, which the official renderer ignores) this plugin: click to open with the system default app
The folder icon next to a bare path (reveal in file manager) and the "📎 mentioned files" rail at the end of a reply this plugin (no official counterpart)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-prompt-persona 下一个 Next dsh-ponytail →