Introduction¶
In DeepSeek Harness (DSH) conversations, AI outputs often contain heavy jargon or difficult-to-understand paragraphs. The usual advice is to “just ask the model,” but this requires the user to know what to ask in advance, and the answer often uses the same jargon again.
This plugin removes that middle step: Select the confusing text, click once, and get a plain-language explanation right at your reading position. No prompt engineering, no switching tabs, no API key required.
Installation¶
Install the plugin using the official command:
dsh plugin --profile web add github:HEArtattaCK2332/dsh-text-explain
After installation, restart the Web profile to load the new plugin layer.
Core Features¶
- Context Awareness: When you select text, the plugin captures the entire message containing that paragraph as context. For example, seeing the context allows the model to understand exactly what the pronoun “it” refers to.
- Target Audience: Offers three levels of explanation depth: Plain, General, and Pro. Switching depths immediately re-interprets the current query, transitioning from life-like analogies to professional terminology.
- New Conversation: Clicking “✦ New as Conversation” packages the selected text, original message context, and current chat history into a handover document and places it in a new session. The new session replies with “Background understood, waiting for you to speak,” without generating summaries or follow-up questions.
- Markdown Rendering: Supports rendering of tables, links, quotes, code blocks, etc. Based on a hand-written React renderer with built-in XSS protection.
- Web & Local Access: Provides “🌐 Web” and “📄 Read File” toggles, allowing the model to call
web_search,web_fetch,search_files, orread_fileto fetch external information or read local documents.
Usage Steps¶
- Select text in any conversation message. The pop-up menu automatically carries the entire message as context.
- Click AI Explain to get an explanation, or click Ask Follow-up to ask questions about the selected content.
- Read the streamed response. Enter follow-up questions and press Enter to continue the current thread; click ✕ to close the window.
- Switch the Target Audience depth at the bottom of the pop-up menu; this will immediately re-interpret the current query.
- Before asking a question, enable the 🌐 Web or 📄 Read File toggles as needed.
- When a conversation is worth continuing, click ✦ New as Conversation to transfer the current discussion to a new session.
Settings & Configuration¶
- Config File Location: Plugin settings are located at
<DSH_HOME>/text-explain/settings.json(default~/.dsh). - Save Mechanism: Clicks on the settings page only edit a draft; you must click Save to write the configuration to disk. Unsaved changes will not take effect.
- Default Settings: You can configure the default explanation depth, the workspace where new conversations land, and the initial state of the web/read-file toggles in the settings page.
Technical Details & Ecosystem¶
- Model Dependency: Uses
deepseek-officialordeepseek-v4-flashby default; no separate API Key is stored. - No Build Step: Minimal dependencies, no build process, lightweight code.
- OpenAI Compatible Protocol: The plugin serves as a backend supporting the OpenAI chat-completions protocol. It can act as a backend for other applications (e.g., Obsidian plugins, browser extensions).
- Browser Extension: The plugin also provides a browser extension version that functions without the DSH main program. It supports all three depth levels.
Notes¶
- The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before installation.
- The settings file path is
settings.json(note the suffix).