Introduction¶
In the web GUI of DeepSeek Harness (DSH), passing workspace notes as context to the model usually requires first finding the file and then copying the content into the composer. zhaoscsc/dsh-wikilink provides an alternative entry point: in the composer, type [[, select the note title in an Obsidian-style manner, and when the message is sent, the selected note content is automatically injected into the prompt.
The DSH plugin ecosystem is often summarized as “everything is a plugin”. The plugin directory page here belongs to the community directory and has no official affiliation with DeepSeek or Hypothesis; it is not equivalent to the official app store. Below, I will introduce this plugin based on capabilities, installation, usage, and notes.
What is this¶
zhaoscsc/dsh-wikilink is a plugin for the DSH web GUI, maintained by zhaoscsc, and licensed under MIT. It transforms the operation of “selecting content from a workspace note to add to the prompt” into a shortcut in the composer: typing [[, selecting a title, and sending the message.
Since v0.2, the plugin uses a custom-drawn picker and does not require patching the harness/client bundle.
Core Features¶
[[wikilink]] Mention¶
After typing [[ in the composer, the note title selector opens. During input, you can fuzzy search for workspace notes.
Matching includes four levels:
- Sequential substring
- Unordered subsequence
- Path substring
- Path subsequence
Multi-word queries separated by spaces are matched with AND. After selecting a result, a [[title]] token is generated in the composer.
Injecting prompt on send¶
When sending a message, the plugin injects the content of the referenced note into the prompt. This process does not call tools; the note content goes directly into the prompt.
For a single attachment note, the full content is injected at most, constrained by the maxFileBytes limit. Each note is serialized as:
<note path=... title=...>...</note>
This note is injected as a user-role message with source set to wikilink-mention.
Installation and Activation¶
First, execute the installation command:
dsh plugin --profile web add https://github.com/zhaoscsc/dsh-wikilink/archive/refs/heads/main.tar.gz
This command adds the plugin to the web profile. After installation, you need to restart the web server so that the host and the served client bundle load the plugin.
Then, enable it in settings:
Settings → Wikilinks
Turn on the enable switch inside.
Typical Usage¶
- Type
[[in the composer. - Continue typing the query word. The picker opens at the double brackets and displays matching note titles.
- Press
Enterto replace the token with[[title]], with the cursor falling after]]. - Send the message. The content of the referenced note is injected into the prompt in the form of
<note path=... title=...>...</note>mentioned above.
Behavior boundaries during use:
- A single
[does not trigger the picker. - The picker triggers on the last unclosed
[[or【【in the draft. - The query runs to the end of the draft; it does not trigger if the cursor is not at the end.
- The index is cached for 30 seconds per session. After that, new files will appear after the current window closes and the picker is opened again.
- The index status is displayed above the composer.
Host-side Configuration¶
The following fields can be configured in the dsh-wikilink line of the profile patch layer:
maxIndexedFiles
maxFileBytes
ignoreDirs
maxIndexedFiles: Limits the number of indexed entries.maxFileBytes: Limits the byte upper limit of content that can be injected for a single attachment note.ignoreDirs: Used to skip specified directories.
Use Cases and Notes¶
This plugin is suitable for people who frequently reference workspace notes in the DSH web GUI: it compresses the steps of finding a note, copying the body, and pasting it into the prompt into a single [[ selection.
Notes before use:
- The plugin runs with the permissions of the current dsh process. You should check the source code and license before installing.
- Notes with a file name of
.mdwill be skipped. - The auto-completion of symbols for some Chinese input methods may automatically complete
[or【into a pair of brackets, causing the picker not to open. If this happens, you need to turn off that input method setting.
Links¶
The value of dsh-wikilink is concentrated in one point: using [[wikilink]] to quickly bring workspace notes into the prompt in the DSH web GUI.
GitHub: https://github.com/zhaoscsc/dsh-wikilink
Directory Page: https://www.skillhub.cn/plugins/zhaoscsc/dsh-wikilink