dsh-at-mention
Manifest validDSH profile bundle plugin: Just like Claude Code / Codex Desktop, type `@` in the input box to mention files/directories in the **workspace where the current session is located**, with support for priority-based fuzzy search and keyboard autocompletion.
dsh-at-mention
A DSH profile bundle that adds @-file mentions to the composer, with an
interaction model similar to Claude Code / Codex Desktop. Typing @ in the
input box opens a prioritized fuzzy search over files and directories in the
current session workspace.
Features
- Per-session workspace scope:
@only surfaces files/directories of the session's own workspace (header.cwd); switching workspaces switches the index automatically (LRU cache for up to 3 workspaces, no rescanning). - Prioritized fuzzy search: exact name > name prefix > name substring > path prefix > path substring > fuzzy subsequence; shallower directories and shorter paths rank higher, matches at path-segment boundaries get a bonus.
- Keyboard: ↑/↓ to move, Tab / Enter to pick, Esc to close (Tab is consumed even with no matches, so focus never jumps away).
- Space-separated consecutive mentions:
@a @bis two mentions,@a@bis a single token (mirrors the built-in trigger rules). - Plain-text mentions: picking inserts
@relative/path(configurable: absolute path, trailing space on/off). The inserted text can be copied or edited later and remains a valid mention. - Hover a candidate to see its full path (absolute + relative) in the tooltip when the row text is truncated.
- Durable settings in Settings → @ 提及: enable, max results, insert path style, fuzzy / case-sensitive / directories / trailing space, excluded directories, index file cap, auto-refresh interval, and a manual rebuild index button with live index status.
- Cross-platform indexing:
findfast path on Linux/WSL/macOS, with a purereaddirfallback anywherefindis missing (e.g. native Windows). Default exclusions:.git,.godot,.import,node_modules,.codegraph,.kimi-code(editable).
Installation
Prerequisites: a working DSH installation (dsh web) and pnpm on PATH
(dsh plugin forwards to pnpm).
# 1. Unzip, e.g. to D:\plugins\dsh-at-mention
# 2. Install into the web profile
dsh plugin --profile web add file:D:/plugins/dsh-at-mention
# or from the parent directory of the unzipped folder:
dsh plugin --profile web add ./dsh-at-mention
dsh plugin add runs pnpm in the profile directory and appends the bundle's
cordis.patch.yml to the profile patch stack. Restart the web app afterwards
(the client bundle and routes are wired at boot).
Removal:
dsh plugin --profile web remove @dsh-external/dsh-at-mention
API routes (same-origin, for reference)
| Route | Purpose |
|---|---|
GET /_dsh/at-mention/api?q=&sessionId=&root= | Fuzzy search over the session workspace index |
GET /_dsh/at-mention/api/settings | Current settings snapshot |
POST /_dsh/at-mention/api/settings | Save settings ({ action: 'save', value: {...} }) |
GET /_dsh/at-mention/api/status | Index status (root, count, builtAt, error) |
POST /_dsh/at-mention/api/rebuild | Rebuild the current workspace index |
POST routes reject cross-site requests.
Notes
- The mention text itself is plain text (
@relative/path), so the model in the session resolves it against the session workspace; relative paths are portable across Linux and Windows. - While the mention menu is open, the built-in trigger menu is hidden (it
shares the
@trigger); the/command menu is unaffected.
Comments
Loading…
Similar plugins
by masknull
DSH 插件:在每个会话的系统提示词最顶部注入自定义提示词,并可在 Web 设置页中即时编辑。
★ 0
MIT
TypeScript
Aug 31, 2026
dsh plugin --profile web add dsh-session-promptby tianyaojiudi-prog
DSH(DeepSeek Harness) 插件:把一段可在设置页随时改写的文字,作为全局系统提示词段注入到所有会话,含子代理与工作流内部子代理;文本与开关即时生效,无需重启。
★ 8
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add dsh-djy-xttscby rvaim
dsh-compat 是 DeepSeek Harness(DSH)的旧插件兼容层。它让原本面向 Claude Code、Codex 的插件尽量保持原目录与语义运行,而不是把每个插件重新迁移成 DSH 原生插件。
★ 0
↓ 96/wk
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add @rvaim/dsh-compatby weibaohui
dsh 插件 · 目录共享:任意可配置目录经 HTTP 在线浏览/上传/下载 + 对话框 @ 文件给 agent 处理
★ 1
JavaScript
Sep 26, 2026
dsh plugin --profile web add @weibaohui/dsh-file-shareby master1Sun
DSH(DeepSeek Harness)Web 插件:在 composer 工具栏注入一个「提示词库」按钮,管理可复用的 prompt 片段,点击即可插入当前输入框。支持自动学习:输入复杂 prompt 文案时,插件会自动识别并保存到提示词库。
★ 11
↓ 583/wk
MIT
TypeScript
Sep 30, 2026
dsh plugin --profile web add @sunjuntao/dsh-prompt-libraryby csiroqa
DeepSeek Harness(DSH)全局快捷键插件:会话切换、发送/清空草稿、停止生成、复制与归档,键位可在设置中自定义。Global keyboard shortcuts plugin for DeepSeek Harness.
★ 0
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add @dsh-plugin/hotkeys