AI Agent Hub
Back to plugins
🖥️

dsh-file-links

Client Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install h1-count/dsh-file-links

Paste the following prompt into your AI chat to install this plugin:

Install it in DeepSeek Harness by running dsh plugin install h1-count/dsh-file-links. Source repository: https://github.com/h1-count/dsh-file-links

About this plugin

In a DeepSeek Harness conversation, assistant replies frequently reference specific workspace files: a tool call edits a TypeScript module, a diff card points to a Markdown document, an inline code span mentions a config path. These file references sit as plain text scattered through the reply, so opening them means manually copying the path and switching to an editor—a clunky, error-prone flow. dsh-file-links exists to eliminate exactly that friction.

The plugin deterministically accumulates file paths from three sources in every turn: locations in tool results (diff/edit cards), paths in tool-call arguments, and inline code mentions in the reply body. Once collected, the paths are rendered as Codex-style clickable chips: a type icon color-coded by extension plus the file name, wrapped in a rounded capsule. More than eight chips collapse into a +N badge. Clicking any chip invokes the built-in openFile preview already available in the DSH chat view, so no separate preview mechanism is needed. Before rendering, the host-side fs.stat check keeps only real, existing regular files; directories, missing paths, and other noise are silently dropped. Styling follows DSH theme variables, so the chips stay legible in both light and dark modes.

If you frequently edit code across multiple files in DSH, or simply want to spot and jump to a referenced workspace file with a single click instead of copying a raw path, dsh-file-links turns file references from inert text into tappable, instantly-previewable elements—shortening the distance between a reply and the file it points to.

Use Cases

  • Click a chip in an assistant reply to instantly preview any referenced workspace file
  • Quickly locate a source file mentioned in a diff card or tool-call argument during multi-file edits
  • Open a config file cited as inline code in the reply body with one click instead of copying the path
  • More than eight file references auto-collapse into a +N badge to keep the view uncluttered

Best For

  • Developers who frequently edit across multiple files in DSH
  • Conversational coding users who want to minimize copy-paste and window-switching overhead
  • Users who prefer DSH's built-in file preview over switching to an external editor