DeepSHPlugins
dsh-pathlink 项目预览
GITHUB / COMMUNITY PROJECT

dsh-pathlink

UI 增强JavaScriptMIT

在对话中 Ctrl+点击文件路径与链接:路径在文件管理器中定位所在文件夹,链接在新标签页打开。

2 Starspenguin-oo 更新时间 2026-09-08
访问 GitHub 仓库
dsh-pathlink 项目预览
dsh-pathlink 界面截图dsh-pathlink 界面截图

项目介绍

中文

在对话中 Ctrl+点击文件路径与链接:路径在文件管理器中定位所在文件夹,链接在新标签页打开。

English

Ctrl+click file paths and links in chat: paths open their folder in the OS file manager (with the file selected), links open in a new browser tab.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
penguin-oo
仓库
penguin-oo/dsh-pathlink
GitHub Stars
2
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-09-08
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

60/ 100
维护活跃
99
文档与实用信息
100
生态关注度
14
安装便捷信号
100
项目声明信号
100

近 3 天仍在更新;README 含完整安装与使用说明;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add dsh-pathlink

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

English · 中文

Ctrl+click file paths and links in DeepSeek Harness chat.

Recognizes file paths and URLs in rendered chat messages (assistant replies, user bubbles, code blocks, tool cards), marks them with a subtle dotted underline, and opens them with Ctrl+click (⌘ on macOS):

  • Path → containing folder — the file's folder opens in the OS file manager

with the file selected (Windows explorer /select, macOS open -R, Linux xdg-open on the parent directory). A path that names a directory opens the directory itself.

  • Link → new browser tab — covers bare URLs the renderer did not linkify

(e.g. in user bubbles); markdown links already open in new tabs natively.

Plain clicks stay inert, so text selection and copy are never disturbed. When a path does not exist, a small toast explains why instead of failing silently.

ctrl+click tooltip

recognized path in chat

① Hovering a path shows the Ctrl+click hint — Ctrl+click opens the containing
folder with the file selected · ② The recognized path in a real conversation
(dotted underline).
dsh plugin --profile web add dsh-pathlink

or via GitHub:

dsh plugin --profile web add github:penguin-oo/dsh-pathlink

Restart the web GUI afterwards. Requires the web profile (a browser is the only surface that can receive the click).

  1. Wait for a settled message that mentions a path or a link — recognized

tokens get a dotted underline.

  1. Hold Ctrl (or ⌘ on macOS) and click.
  • Path → folder opens in Explorer/Finder with the file selected.
  • Link → opens in a new browser tab.
  1. Relative paths resolve against the session's workspace directory first,

then the harness working directory; missing paths show a toast.

KeyDefaultMeaning
maxPathChars1024Longest accepted path text, in characters
  • Client half (dsh.client, platform web): a MutationObserver-driven

scanner watches the rendered conversation containers (data-chat-flow / data-conversation-scroll), recognizes paths and URLs in text nodes, wraps matches in inert inline spans, and handles one delegated capture-phase click listener. The official chatFileMentions seam is deliberately not used so the plugin never conflicts with the built-in deliverables provider and covers every surface uniformly.

  • Host half (pathlink Remote service): one read-only open method that

resolves relative paths against the addressed session's working directory, verifies existence, and launches the platform file manager. No durable state; it never creates or resumes an Agent or Session.

npm install
npm run build   # bundle src/client → lib/client.js
npm run smoke   # Remote markers + Typert manifest validation
node scripts/e2e-synthetic.mjs   # browser E2E against http://127.0.0.1:3738

docs/demo.html is built with node scripts/build-demo.mjs (reuses the production recognizer) and screenshotted by node scripts/e2e-screenshot.mjs.

  • Web GUI only (the click surface is a browser); the host opener covers

Windows / macOS / Linux.

  • Path recognition is heuristic: CJK directory names survive, but a path whose

final segment is a bare English word (no extension) followed directly by prose may occasionally be over-matched — the existence check then shows the not-found toast instead of opening anything wrong.

MIT

Built for the DeepSeek Harness plugin ecosystem — thanks to the community on LINUX DO for feedback and testing.

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目