penguin-oo/dsh-pathlink
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.
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). A path opens its containing folder in the OS file manager with the file selected (a path that names a directory opens the directory itself); a link opens in a new browser tab, covering bare URLs the renderer did not linkify. Plain clicks stay inert so text selection and copy are never disturbed, and a missing path shows a small toast instead of failing silently. Relative paths resolve against the session's workspace directory first, then the harness working directory.
Install
dsh plugin --profile web add dsh-pathlinkREADME install: dsh plugin --profile web add dsh-pathlink from npm, or dsh plugin --profile web add github:penguin-oo/dsh-pathlink via GitHub. Restart the web GUI afterwards. Requires the web profile — a browser is the only surface that can receive the click.
Compatibility
DSH web profile only. Path opening uses Windows explorer /select, macOS open -R, or Linux xdg-open on the parent directory. Config key maxPathChars (default 1024).
Details
- Repo: penguin-oo/dsh-pathlink
- Category: UI Enhancements
- Stars: 0
- Version: 0.1.4 (npm dsh-pathlink; registry repository field → github.com/penguin-oo/dsh-pathlink, verified 2026-09-12)
- Last push: 2026-09-08
- First seen: 2026-08-15
Recent updates
README design note: the client half is a MutationObserver-driven scanner over the rendered conversation containers (data-chat-flow / data-conversation-scroll) with one delegated capture-phase click listener, and deliberately does not use the official chatFileMentions seam so it never conflicts with the built-in deliverables provider. The host half exposes one read-only open Remote method (no durable state; it never creates or resumes an Agent or Session).
FAQ
- How do I install dsh-pathlink?
- Run dsh plugin --profile web add dsh-pathlink, or dsh plugin --profile web add github:penguin-oo/dsh-pathlink, then restart the web GUI.
- Which profile does dsh-pathlink need?
- The web profile — a browser is the only surface that can receive the Ctrl+click.
- What happens when I click a path normally?
- Plain clicks stay inert so text selection and copy are never disturbed; only Ctrl+click (⌘ on macOS) opens the path's containing folder with the file selected, or a link in a new tab.