Introduction¶
When DeepSeek Harness (DSH) tackles complex tasks, the model’s responses often contain extensive reasoning steps, verification details, and conversational pleasantries, burying the core conclusions. dsh-interpreter appends a concise “Quick Summary” digest—roughly one-third the length of the original answer—directly below each response. This lets users grasp the key points first (whether it’s feasible, how to do it, what to watch out for) before diving into the full text for details as needed.
Plugin Overview & Maintainer¶
- Plugin name:
dsh-interpreter - Maintainer: Gaaaamu
- Category: Workflow
- GitHub: https://github.com/Gaaaamu/dsh-interpreter
- Directory page: https://www.skillhub.cn/plugins/Gaaaamu/dsh-interpreter
Core Features¶
- Bypass invocation: An independent model call is made after the response is generated. It does not modify the main model’s system prompt or tool definitions, does not write to the session log, and does not affect long-context windows or Prefix caching.
- Conclusion first: Outputs a conclusion sentence followed by up to 5 bullet points; tables, code blocks, CLI commands, file paths, numbers, and error messages are preserved as-is.
- Bypass execution: Reads the already-persisted response and renders output exclusively in the front-end UI—zero context intrusion.
- Independent model routing: Can specify a different model (from the main conversation) for summary generation.
- Native style integration: Typography, font size, code blocks, tables, and link styles directly reuse DSH theme variables, adapting to the host theme and font size changes in real time. The bottom-right corner displays the Token count consumed by the current summary.
- Conditional entry point: Short answers, pure tool-call turns, and turns without body text do not show the “› Quick Summary” toggle. This determination is made on the Host side with a single local request—no model call involved.
- One-click copy: The copy button at the bottom-right of the summary places the entire Markdown block into the clipboard with formatting intact. The icon briefly changes to a checkmark before reverting, consuming no extra Tokens.
- Adjustable length & language: The
⋯menu in the top-right corner of the block lets you switch between “detail levels” and language (Follow / Chinese / English). After switching, the current block is regenerated with the new settings; other blocks follow suit. Both the level and language selections are cached independently. - Centralized settings: The “Settings” row at the bottom of the
⋯menu opens a “Quick Summary Settings” panel above the conversation. All adjustable options (model, detail level, language, prompt, and individual length/limit parameters) are consolidated in one place, excluding the auto-summary scope. Changes take effect immediately upon saving—no restart required.
Installation¶
Plugin Marketplace (Recommended)¶
- Open DSH.
- Navigate to Settings → Plugins → Marketplace.
- Search for
dsh-interpreteror “Quick Summary”. - After installation, reload the page as prompted.
Manual Installation¶
Add the dependency in the corresponding Profile’s package.json and declare it under dsh.profile.bundles, then restart DSH:
{
"dependencies": { "dsh-interpreter": "link:D:/path/to/dsh-interpreter" },
"dsh": { "profile": { "bundles": ["dsh-interpreter"] } }
}
First-Time Setup & Operation Modes¶
After installation, the plugin defaults to Manual Mode and will not automatically trigger calls or incur costs:
- Click “› Quick Summary” below a response to expand the block.
- Click
⋯in the top-right corner of the block and first select an availableprovider / modelin the “Model” row. - In the same menu, adjust length and language: switch to “Normal / Detailed” if you need to control length, or switch to “Follow / Chinese / English” to fix the output language.
- Click “Settings” (the last row of the menu) to open the “Quick Summary Settings” dialog. You can directly edit the prompt (with one-click restore to default) and all parameters. Click “Save” to apply changes in place.
- Switch the operation mode based on your workflow (the selection is stored in
cordis.patch.ymlunder the current Profile directory, specifically theconfigfield of the- id: interpreterline):
| Mode | Description |
|---|---|
Manual (default) |
No automatic generation; a request is only triggered when you click “› Quick Summary”. Switching to this from “Current Session” mode only removes the current session from the whitelist—other sessions are unaffected |
Current Session |
Auto-generates summaries only for new responses in sessions added to the whitelist, after they are added |
All |
Auto-generates summaries for all new responses meeting the length criteria after being enabled |
Auto modes only apply to responses written after they are enabled: opening an old session or restarting DSH will leave previous responses as a single “› Quick Summary” line that generates on click; at most 2 rewrite tasks run concurrently, with the rest queued.
Parameter Configuration¶
In cordis.patch.yml under the current Profile directory, adjust parameters via the config field of the - id: interpreter line (priority: built-in defaults < this line’s config; selections made in the UI are also written back to this line). Day-to-day tuning can be done in the “Quick Summary Settings” dialog—changes take effect immediately upon saving.
| Parameter | Default | Description |
|---|---|---|
minChars |
400 |
Minimum character count to trigger a summary; shorter responses are skipped |
maxChars |
40000 |
Maximum character count to trigger a summary; longer responses are skipped |
ratio |
0.35 |
Target summary length as a proportion of the original |
capChars |
900 |
Hard cap on the summary’s own word count: if the target calculated from ratio exceeds this, this cap is used instead (short responses still get at least 150 characters) |
length |
normal |
Detail level: normal / detailed. detailed has its own ratio and cap (0.5 / 1600), overriding ratio and capChars; normal uses the configured values |
language |
auto |
Summary language: auto (follow source) / zh (fixed Chinese) / en (fixed English). When fixed, the output uses that language regardless of the source language |
temperature |
0.3 |
Sampling temperature for summary generation |
prompt |
Built-in | Summary rewrite instruction; can be customized to adjust output style |
dailyTokenCap |
0 |
Maximum tokens spent per day in auto mode (calculated per local calendar day, reset after plugin restart; manual generations also count toward the daily usage). 0 means unlimited. Once the cap is reached, auto-generation pauses, but manual clicks are unaffected |
Model Selection Tips¶
Summary quality depends on the model’s information reorganization and expressive ability, not purely on reasoning or coding capability. A recommended approach is “main conversation model handles precise execution, while the bypass model handles conclusion extraction and high-readability expression.” Refer to metrics such as Metaphorical, Answer First, Bottom-Line Summary, and Scannable in the Artificial Analysis AA-PersonalityBench for guidance.
Cost & Privacy¶
- Each generation corresponds to one model call; if the first generation exceeds 1.5× the word-count budget, the plugin automatically performs a secondary compression based on the draft (the Token count displayed in the UI is the sum of both calls).
- Results are cached by “model + session + turn index + length level + language”; re-expanding does not incur duplicate charges. Changing the model, level, or language triggers regeneration.
- Auto-mode cost guardrail: setting
dailyTokenCapto a value greater than 0 enables the plugin to track its daily Token consumption (manual generations included). Once the cap is reached, auto-generation stops, while manual clicks remain unrestricted. The cap resets the next day. - Data boundary: beyond sending the current turn’s already-generated response to the user-selected summary model API, no data is uploaded to any third party.
Use Cases & Notes¶
- Ideal for scenarios where you need to quickly grasp conclusions while retaining access to full details.
- The plugin runs with the current DSH process privileges. Review the source code and license (MIT) before installing.
Summary¶
dsh-interpreter generates a standalone “Quick Summary” block below DSH responses via bypass invocation, helping users grasp conclusions first before verifying details. It operates in a bypass mode with zero context intrusion, supports independent model routing and native style integration, and provides a centralized settings dialog—well suited for DSH users who want to improve reading efficiency of long responses.
- Directory page: https://www.skillhub.cn/plugins/Gaaaamu/dsh-interpreter
- GitHub: https://github.com/Gaaaamu/dsh-interpreter