Preface¶
When writing long documents in DSH, revising drafts, or cross-referencing materials, it’s common to open extra windows, copy and paste, or set up a dedicated Document workspace. As materials pile up, it’s easy to lose the mapping between reference content and the current Markdown file, and to have to manually search through long conversations to find which turns are relevant to the main text.
Sift (@songyanglin/dsh-sift) is a DSH plugin published by maintainer Songyanglin-curious. It’s positioned as “references for the current article”: it doesn’t introduce new workspace types or a three-pane workbench. Article browsing, split views, file management, and conversations still rely on DSH’s native capabilities. Instead, it adds a reference rail beside the currently open article and persists the relationship between articles and References by file path. The SkillHub community directory classifies it as “model reasoning,” describing it as filtering and organizing valuable parts from mixed content; this aligns with capabilities listed in the README such as pasting references, importing long conversations, and performing User Turn relevance localization.
What This Is¶
Sift is a lightweight DSH plugin: it adds a “Reference” entry to the toolbar of the native file preview, providing a side-by-side reference rail for the article you are currently editing or browsing, without replacing DSH’s overall layout.
- Maintainer: Songyanglin-curious (the npm package author field is songyanglin)
- Current version (package.json):
0.3.0 - License: MIT
- Repository: github.com/Songyanglin-curious/dsh-sift
- Community directory: skillhub.cn plugin page
The README states it is compatible with DSH 0.2.0-rc.2. The plugin runs with the privileges of the current DSH process; before installing or using it, you should review the source code and license yourself.
Core Features¶
The following capabilities are drawn directly from the project README; configuration items or APIs not present in the materials are not elaborated here.
-
Toolbar “Reference” icon
After opening a Markdown or text file in a DSH workspace, a “Reference” icon appears in the native file toolbar. -
Side-by-side reference rail for the current article
Clicking the icon opens a reference rail belonging only to the current article next to the file preview, enabling on-screen comparison with the main text. -
Clipboard and automatic association
You can paste clipboard content directly; if there is no existing reference entry, the plugin will automatically create one and associate it with the current article. -
Long conversation import and relevance localization
You can import long conversations and perform User Turn relevance localization, making it easier to filter out turns related to the writing from mixed dialogues. -
Path-based persistence
The mapping between articles and References is saved by file path, so references remain matched when you reopen the same file in a different session. -
Works with dsh-annotations
It can be used together with the standalone@songyanglin/dsh-annotationsto apply unified annotations across articles, references, and conversations. Selecting text in the native preview can route to Annotations in the current session; the reference rail is responsible for associating materials with conversations.
The README summarizes the interaction relationships as follows:
DSH native file preview
├─ Select text → Annotations → current session
└─ Reference icon → side-by-side reference rail for current article
├─ Paste / add existing materials
└─ Conversation relevance analysis
Installation and Activation¶
The captured materials (GitHub README, SkillHub directory page, package.json snippets) do not provide a one-line official installation command on the DSH client side; do not guess or assemble dsh plugin add-style commands that do not appear in the documentation based solely on the repository name.
Factual details you can verify:
- npm package name:
@songyanglin/dsh-sift, version0.3.0, publish configuration points tohttps://registry.npmjs.org/. - The SkillHub page is marked “installable”; for the specific way to add it in DSH, refer to the directory page’s instructions at the time and the official DSH plugin documentation.
Before installing, it’s recommended to read the repository README and LICENSE, and confirm compatibility with your local DSH version (the README requires 0.2.0-rc.2). The plugin is independently listed in the community directory and has no official affiliation with DeepSeek or HF (Huanzhang).
Typical Usage¶
The following steps correspond to the operational paths described in the README and can be tried in order in a local DSH workspace.
- Open a Markdown or plain-text article in the workspace.
- Click the “Reference” icon in the file preview toolbar to open a side-by-side reference rail dedicated to that article.
- Paste external excerpts or clipboard content into the reference rail; if there is no existing reference, the plugin will automatically create one bound to the current file path.
- If you need to compare with historical conversations, import a long conversation, use User Turn relevance localization to find turns related to the main text, and then write them into or compare them in the reference rail.
- If
@songyanglin/dsh-annotationsis installed, you can annotate selected text in the main text and bring them into the current session, using them together with materials in the reference rail.
For development or rebuilding, the repository README provides the following commands (requires Node.js 24 or higher):
pnpm install
pnpm check
pnpm test
pnpm build
Use Cases and Considerations¶
Who It’s For
- People who write in DSH with a file-centric approach and need to attach web excerpts, notes, or conversation snippets beside the current article, rather than building another Document workspace.
- Users who need to filter out content relevant to an article by turns from long Agent conversations and organize it into the reference rail.
Considerations When Using
- Sift intentionally does not create new workspace types, a three-pane workbench, or a Document area; if you rely on a heavyweight document workbench, you should continue to use DSH’s native features or other plugins rather than expecting Sift to replace the entire layout.
- The binding between articles and references depends on file paths; after moving or renaming files, confirm whether the associations still meet your expectations (the materials do not describe automatic migration behavior).
- Conversation relevance analysis is a capability provided by the plugin; specific models and reasoning depend on DSH and plugin implementation. Although the directory categorizes it as “model reasoning,” treat the plugin as third-party code running in your local DSH process.
- The GitHub repository currently has 0 stars (per directory clues); assess maturity yourself. If you encounter problems, you can report them via Issues.
Closing¶
Sift consolidates “reference materials for the current article” and “relevant User Turns in long conversations” into a single chain beside the native file preview, with path-level persistence preventing references from being disconnected from the main text. To view installation entry points and version information, open the SkillHub directory page; to read capability details and development instructions, refer to the GitHub repository README.