auto-compact
Run the following command in DeepSeek Harness:
dsh plugin install JohnathonYe/auto-compact
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, you can install this plugin using the command 'dsh plugin install JohnathonYe/auto-compact'; visit https://github.com/JohnathonYe/auto-compact for full details.
About this plugin
The auto-compact plugin offers an intelligent context management solution for DeepSeek Harness users. In long conversations or complex tasks, session context usage can grow rapidly, leading to performance issues or the need for manual compression. This plugin addresses that by providing a threshold ring that displays real-time context usage for each session, allowing users to set a compression threshold (ranging from 1% to 90%, with a default of 50%). Its core capability is fully automatic compression: when usage exceeds the threshold, the plugin automatically detects and triggers compression before each step in a turn and at the end of the turn, after which the session continues seamlessly without any manual intervention. Additionally, it supports session-level independent thresholds that are persisted, ensuring configurations remain unaffected across sessions. Ideal for frequent DSH users, such as developers and researchers who want to focus on content creation or research without worrying about context management, this plugin enhances efficiency by automating compression while coexisting with DSH's built-in safety nets, providing extra flexibility and control.
Screenshots
Use Cases
- Automatically compress context in long conversations to avoid performance degradation.
- Fine-tune compression triggers via the threshold ring.
- Handle session context overflow automatically without manual intervention.
Best For
- Developers frequently interacting with DeepSeek Harness.
- Researchers needing efficient session context management.
- Users who want to automate context compression to focus on content creation.
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.