
zhaoscsc/dsh-wikilink
30Last commit Aug 15, 2026
dsh-wikilink DSH plugin
Type [[ in the composer and a note-title picker floats up with fuzzy search. Supports out-of-order (subsequence) matches and space-separated multi-term matches. Press Enter to attach the referenced note content, which is injected into the model when the message is sent.
How to install the dsh-wikilink DSH plugin
dsh plugin --profile web add https://github.com/zhaoscsc/dsh-wikilink/archive/refs/heads/main.tar.gzCopying does not run this command. Review the repository and version before installing the dsh-wikilink DSH plugin.
dsh-wikilink DSH plugin data source
dsh-wikilink DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-wikilink DSH plugin can do
- Fuzzy search with contiguous substring, subsequence, path substring, and path subsequence matching.
- Space-separated multi-term AND queries.
- Auto-closes [[ to [[]] with caret between brackets (Obsidian-style).
- Patches the harness client bundles to recognize [[ as a trigger character.
- Configurable index limits: maxIndexedFiles, maxFileBytes, ignoreDirs.
- Index caching per session with 30-second refresh.
- Normalizes fullwidth brackets from Chinese IME (【【 to [[).
Where the dsh-wikilink DSH plugin fits
- Quickly reference a specific note in a conversation by typing part of its title.
- Search across a large vault of notes using out-of-order terms like '曼食' to find '曼谷街头美食文化观察'.
- Attach multiple notes by typing multiple [[titles]] in the composer.
- Use the picker to discover notes you might have forgotten the exact name of.
Who the dsh-wikilink DSH plugin is for
- Users of DeepSeek Harness who maintain a local note vault (e.g., Obsidian users).
- Developers or researchers who want to include context from their notes into model prompts.
dsh-wikilink DSH plugin limitations
- Workspace index is cached per session for 30 seconds; newly created files may not appear immediately.
- Notes named exactly '.md' are skipped.
- Keyboard navigation beyond Enter/Escape is provided by the harness pipeline, not the plugin.
- Requires five small patches to the installed deepseek-ai client bundles, which are wiped on reinstall.
dsh-wikilink DSH plugin: from the repository README
Quoted from the zhaoscsc/dsh-wikilink README, the upstream source of the dsh-wikilink DSH plugin. Copyright remains with the original authors.
> **中文版 README**:[README.zh.md](README.zh.md) · **简体中文文档入口** Obsidian-style `[[wikilink]]` mentions for the DeepSeek Harness web GUI. Type `[[` in the composer and a note-title picker floats up: fuzzy search your workspace notes as you type — including **out-of-order (subsequence) matches** (「曼食」 finds 曼谷街头美食文化观察) and **space-separated multi-term matches** (「曼谷 美食」 finds 曼谷街头美食文化观察 / 曼谷笔记:美食 / 曼谷朱拉隆功夜市美食探索). Press Enter to attach, and the referenced note content ships to the model when the message is sent. ``` composer: summarize [[曼谷 美. ← picker over the token, auto-closed brackets ┌────────────────────────────────────────────────────────┐ │ 📄 曼谷街头美食文化观察:鱼鳔老太太摊位的夜间消费场景 │ │ 📄 曼谷笔记:美食 │ │ 📄 曼谷朱拉隆功夜市美食探索:KINNKUNG海鲜馆的惊喜体验 │ └────────────────────────────────────────────────────────┘ draft: summarize [[曼谷笔记:美食]] ← readable plain-text token model: <note path="5-存档/06-专题档案/数字游民/曼谷笔记:美食.md" title="曼谷笔记:美食">…content…</note> ← injected at send time ``` Typing `[[` auto-closes `]]` with the caret between the brackets (Obsidian-style), and the picker opens exa
Read the full READMERepository license: MIT
dsh-wikilink DSH plugin questions
How do I install dsh-wikilink?
Run the command `dsh plugin --profile web add https://github.com/zhaoscsc/dsh-wikilink/archive/refs/heads/main.tar.gz` in your DSH environment. Then restart the web server so the host half and the served client bundle pick up the plugin. Finally, go to Settings → Wikilinks to enable it.
Why doesn't the [[ picker open when I type [[?
The plugin requires five small patches to the installed @deepseek-ai client bundles. Without these patches, the [[ trigger and auto-close will not work. Also, some Chinese input methods have a symbol auto-completion feature that auto-inserts a closing bracket when you type [, which breaks the double-open detection. Disable symbol auto-completion (smart punctuation / bracket auto-pairing) in your input method settings.
Can I attach a note that is larger than 256KB?
By default, the plugin refuses to attach notes larger than 256KB (maxFileBytes: 262144). You can increase this limit by configuring the `maxFileBytes` parameter in your profile's plugin config. However, be aware that larger files increase token cost and may affect model response quality.
How does the fuzzy matching work?
The plugin uses four tiers of matching: contiguous substring > subsequence (out-of-order) > path substring > path subsequence. Queries split on whitespace must all match (AND). Both query and titles are NFC-normalized. For example, '曼食' matches '曼谷街头美食文化观察' because it skips characters in between (subsequence match).
Does the plugin support keyboard navigation beyond Enter and Escape?
Keyboard navigation beyond Enter and Escape is provided by the harness pipeline (same as the / and @ menus), not by the plugin itself. The plugin relies on the host's built-in menu handling for arrow keys and other interactions.