ShiraGawaAnri/dsh-at-mention

ShiraGawaAnri★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

DSH 配置档插件(profile bundle):像 Claude Code / Codex Desktop 一样,在输入框输入 `@` 提及**当前会话所在工作区**的文件/目录,支持带优先级的模糊搜索与键盘补全。

README 摘要

中文 English 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 @b is two mentions, @a@b is 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 (ab…

在 GitHub 查看完整 README →
搜索dsh-pluginsearch

分类