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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案