dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
Make file paths in DeepSeek Harness replies clickable, previewable, and revealable — tested on Windows.
When an agent mentions a file path in its reply, that path is just plain text. To open it you have to find it yourself in a file manager. dsh-file-links turns those paths into blue clickable links with a context menu.
| Windows-first | Most community plugins were built and tested on macOS; Windows was "expected to work". This plugin is tested on Windows, including paths with Chinese characters and spaces. |
| Reuses the official opener | Opening files goes through the official openPath (Invoke-Item on Windows) — no reinvented shell commands for the common case. |
| Zero runtime dependencies | Pure Node built-ins + native DOM. No bundled framework. |
| Unobtrusive | Only enhances paths already in the reply. No extra sidebar, no noisy "mentioned files" list. |
dsh plugin --profile web add github:wmglimpser-hash/dsh-file-links
Then restart dsh web and refresh the browser.
The plugin is a standard DSH bundle: it mounts a host half (two HTTP routes) and a client half (click handling + context menu + preview panel).
Any path wrapped in backticks in a reply (e.g. `C:\project\README.md`) becomes a blue link:
Only absolute paths are clickable: Windows drive paths (C:\..., C:/...), UNC paths (\\server\share\...), POSIX absolute paths (/home/...), and ~/.... Relative paths and bare filenames stay plain text — they cannot be resolved reliably because the session records the launch directory as its cwd, not the agent's actual working directory.
lib/index.js): two routesPOST /api/file-links/reveal → reveals the file in Explorer (explorer /select,"path"; directories open themselves)POST /api/file-links/read → returns file content for inline preview (text as UTF-8, images as base64 data URIs; 512 KB cap)lib/client.js): recognizes path-like <code> nodes, styles them as links, adds a right-click context menu, and renders the preview panel (pure DOM, no framework).ctx.workspaces.openPath() (which dispatches Invoke-Item on Windows).| Platform | Status |
|---|---|
| Windows | ✅ Tested (including Chinese / space-containing paths) |
| macOS / Linux | ⚠️ Not tested — the open and preview paths are platform-neutral; reveal uses explorer and is Windows-only |
explorer /select, command is a Windows shell convention. On macOS/Linux the "Reveal in Explorer" menu item will not work (open and preview still do).MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。