dsh-pref-kit
Run the following command in DeepSeek Harness:
dsh plugin install gameswu/dsh-pref-kit
Paste the following prompt into your AI chat to install this plugin:
To install the dsh-pref-kit plugin in DeepSeek Harness, use the command 'dsh plugin install gameswu/dsh-pref-kit'. The full source code is available at https://github.com/gameswu/dsh-pref-kit.
About this plugin
When performing model inference within the DSH (Data Stream Handler) framework, streaming outputs generate numerous small text increments that result in a high volume of session events. These events cause noticeable lag and excessive resource consumption, especially in long sessions and multi-agent concurrency scenarios, degrading user experience and system efficiency. The dsh-pref-kit plugin addresses this by merging adjacent text increments at the data source in the streaming pipeline. Its core capability is an enabled-by-default stream merging function that reduces event volume by 11% to 56%, leading to corresponding drops in memory, disk, and bandwidth usage. Additionally, the plugin offers a configurable settings card for real-time adjustments and experimental switches, such as replacing the trajectory view to eliminate performance bottlenecks and runtime row management to flexibly disable or enable official plugin rows. This plugin is ideal for developers, data scientists, and system administrators using DSH for model inference, particularly those dealing with long conversation histories, multi-agent collaborations, or high-concurrency requests, helping to optimize performance and reduce resource overhead.
Use Cases
- Reduce event volume in long sessions for smoother performance.
- Lower resource usage during multi-agent concurrent inference.
- Optimize transmission efficiency of streaming outputs.
Best For
- Developers using DSH framework for model inference.
- Data scientists handling complex session scenarios.
- Administrators and operators focused on system performance.
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.