Here is the translation of the technical article:
Below is an introduction to dsh-obsidian-board. This is a DeepSeek Harness (DSH) plugin that turns a local Obsidian vault into a dedicated RAG conversation panel. This plugin follows a “dual-half” architecture: the host side handles file indexing and BM25 retrieval, while the browser side handles UI rendering and interaction.
Core Capabilities¶
Local Retrieval and Indexing
Retrieval runs entirely locally, utilizing the BM25 algorithm combined with CJK bigram tokenization. It performs incremental indexing based on file modification time (mtime). When handling a library of 10,000 notes, a full scan takes less than 1 second, while an incremental update takes approximately 50 milliseconds. It supports weight boosting for titles and paths.
Citations and Interaction
Answers include [n] citation markers or chips below. Clicking these markers or chips opens the corresponding note in the right-hand source panel. The width of the source panel is adjustable via dragging and can be reset by double-clicking.
Output and Control
The stop button is effective during retrieval, planning, and generation phases (including model silent periods). Replies after stopping are displayed in a neutral state rather than an error. If an answer is interrupted, it is marked as “interrupted” and provides a retry button.
Isolation and Security
Panel history is stored in the browser’s local namespace and is not written to the main DSH session log. Third-party materials (such as public web collections or vendor directories) have their weights reduced to prioritize the retrieval of the user’s own notes. It has no network dependencies and contains no embedding models.
Installation and Activation¶
First, execute the installation command:
dsh plugin --profile web add "dsh-obsidian-board"
Desktop users need to replace --profile web with --profile desktop.
Configuration and Usage¶
Configure the vault path in ~/.dsh/profiles/<profile>/cordis.patch.yml:
- insert:
- id: dsh-obsidian-board
name: dsh-obsidian-board
config:
vaultPath: "D:\\notes\\MyVault" # Absolute path, ~ is also usable
topK: 8 # Number of chunks cited per time
chunkLimit: 1200 # Character limit per chunk
After configuration, click Obsidian in the “Panels” group within the DSH sidebar. The first click will trigger a directory picker or settings card; select or input the local vault path to establish the connection.
Typical usage scenarios:
1. Ask about note content: "What do my notes say about X?"
2. Summarize specific content: "Summarize the viewpoints under #tag"
3. Click [1] in the answer or the chip below to open the right-hand source panel to view the original text.
Notes¶
- Retrieval Mechanism: Currently only supports BM25 retrieval; semantic embedding search is not supported.
- History: Panel history is stored locally in the browser. After restarting the DSH host, the history will be restored from the host memory.
- Dependency Requirements: Requires
@deepseek-ai/dsh-typert-protocol >= 0.1.5-rc.1.