DeepSeek Harness Plugin: Retaining Skills and Sub-Agents in Compressed Checkpoints
dsh-compaction-carryover is a DSH workflow plugin that appends instructions to the compaction summarizer, ensuring each checkpoint includes a ## Carry-over section recording the currently active skills and reusable sub-agents, without altering the conversation or adding model calls.
Read Moredsh-context-kit: Adjusting the DSH Auto-Compression Threshold Without Freezing the Agent Preset
dsh-context-kit (LISHUANGXI1412, workflow category) manages the automatic-compaction trigger ratio and post-compaction retention ratio for DeepSeek Harness. It reads the presets shipped with the application from app.asar and writes exclusively via insertion into the managed block of the profile's cordis.patch.yml, avoiding the pitfalls of hand-writing an entire preset that would inevitably lag behind upstream updates. It provides a Settings → Context panel, a dsh-context-kit CLI, and a preset_tuner utility; you can preview, apply, or clear overrides, and perform measured/estimated usage analysis based on local session logs. Install with `dsh plugin add dsh-context-kit`. As of 0.3.0, the context index requires a separate installation of dsh-token-trim. MIT licensed, Node ≥ 22.
Read Moredsh-handoff: Adding Six-Phase Handoff and Line Number Archiving to DSH Auto-Compression
dsh-handoff is a DSH workflow plugin maintained by Kehong-Chen. Without rewriting @deepseek-ai/dsh-compaction-basic, it extends behavior at the llm/stream and commands seam: compression summaries use a six-section template emphasizing goals, verified facts, changes and verification, dead ends, and remaining plans; optionally, masked source text is written by line number into .dsh-handoff for inspection via grep/sed; and the /handoff command invokes compactNow(). Configuration is performed through the config entry with id: dsh-handoff in the profile's cordis.patch.yml. Version 0.1.0, MIT licensed, Node >=20.
Read Moredsh-lcm: A Lossless Context Compression Engine for DeepSeek Harness
dsh-lcm is the LCM compression engine that supersedes dsh-compaction-basic on DeepSeek Harness: it employs structured checkpoints, an append-only log with seq pointers, and supports lcm_expand/lcm_search for on-demand retrieval of the original text. Its configuration is compatible with the basic variant, and installing dsh-lcm disables compaction-basic by default. This article documents the installation command, the tool table, leaf cost, and applicable boundaries, with all data sourced from the official README and benchmark documentation.
Read Moredsh-tuner: Provide itemized tuning suggestions for DSH based on the current session
dsh-tuner reads local DSH profile sessions to analyze metrics such as compaction, cache, model, and tools on a per-module basis. It operates in read-only mode by default and allows one-click writing of model-specific `compaction-basic.modelPolicies` to `cordis.patch.yml` via the Compaction policy. It supports the sidebar "Tuning" panel and the `/tuner` command. Verified on DSH 0.2.2-rc.1. Installation command: `dsh plugin add github:doctorllll/dsh-tuner#v0.5.2`.
Read Moredsh-compact-enhanced: Make /compact queueable and cancellable, and display real-time status in the menu
The built-in /compact in DeepSeek Harness rejects requests directly when the agent is busy and locks the composer during execution, preventing interruption. The imrcpan/dsh-compact-enhanced plugin retains the same command name, modifies requests to return immediately, executes only when idle, and provides /compact-cancel to cancel queued or running compression. The plugin associates compression events with the original request command line; once the summary is generated, the line upgrades to a compression card displaying the result. The /compact command in the slash menu serves as a real-time status line with session token estimation. This article details the behavior of both commands, menu state mapping, three optional configuration items (retryDelayMs, maxQueueAttempts, cancelTimeoutMs), installation commands, installation via local checkout, implementation alternatives and fallback logic, and limitations such as in-memory queues, command-only cancellation, and unaffected automatic pressure compression. The plugin runs with the permissions of the current dsh process; source code and the MIT license should be reviewed before installation.
Read MoreDSH-context-window: Per-Conversation Context Window Configuration for DSH
The DSH auto-compact's contextWindow and thresholdRatio default to model and global configurations, causing short conversations to suffer from inflated token consumption due to long histories. dsh-context-window stores override values in the session log rather than settings.yaml, persists across switching or reopening sessions, and instantly updates both the compact trigger threshold and the UI context ring. This article introduces installation commands, the Web capsule UI, persistent events, and design boundaries to facilitate per-conversation adjustment of compression timing.
Read Moredsh-compaction-threshold: Runtime override of automatic compaction pressure threshold
Adjusting the `thresholdRatio` for `dsh-compaction-basic` in the DeepSeek Harness web profile often requires duplicating the entire agent preset declaration. The `dsh-compaction-threshold` identifies the basic compression engine via the preset registry at agent creation, replaces the frozen config, and merely attaches an additional bundle to the profile. The article details the installation process (via Plugin Manager or `package.json`), `cordis.patch.yml` configuration, the actual calculation formula for `thresholdTokens`, log verification methods, and limitations and risks under the `isolate` preset. MIT licensed, maintained by Lyoko-Jeremie.
Read Moredsh-lossless-anchors: Replaying user original text within budget after compression
DSH long conversation compaction replaces old dialogue with summaries, which may result in the loss of precise user constraints. dsh-lossless-anchors, maintained by EvannZhongg, records user messages obscured by Surfaces via Session projections and injects a [Lossless User Anchors] snapshot with a token budget through PromptContext; Assistant and Tool histories still rely on summaries. It supports configurations for tokenBudget, includeSources, timezone, etc. Installation is available via `dsh plugin --profile web add github:EvannZhongg/dsh-lossless-anchors`. It is MIT licensed and requires DSH >=0.2.0-0 <0.3.0.
Read Moredafiyu-fold: Persist Original Text Before DSH Context Folding
Before the DSH official compaction invokes `summarize()`, `dafiyu-fold` writes the original conversation context—which is about to be replaced by a summary—to a local Markdown file. It does not modify the compression engine, thresholds, or prompts. Installation requires `dsh plugin add`, with configuration specified in `bundles` and the `compaction` group within `cordis.patch.yml`. This tool is suitable for long session review and auditing. Please note the `isolate` configuration, major version compatibility, and the need to manually clean up the archive directory.
Read Moredsh-vcc: Deterministic VCC Compression and Lossless Recall for DSH Sessions
dsh-vcc is a DSH workflow plugin maintained by mpetruc. In the cordis preset, it replaces LLM compaction with an LLM-free deterministic pipeline that compiles conversations into structured summaries containing blocks such as Session Goal and Files And Changes. It enables lossless recall via (#N) together with vcc_recall, /vcc, and /vcc-recall. Installation is performed through plugin_manager's install_bundle by pointing to the local plugin directory and applying cordis.patch.yml. It is suitable for long conversation scenarios requiring reproducible compression and same-session seq retrieval; v1 supports only the cordis preset, and only the current session is searchable.
Read Moredsh-compaction-policy: Adjusting the Global Compaction Strategy for DeepSeek Harness
dsh-compaction-policy is a DeepSeek Harness workflow plugin (Experimental v0.2.2) maintained by huohua-dev that provides a global compaction policy for fingerprint-matched official Basic within a single Cordis runtime: a default proactive threshold of floor(W×0.9) (i.e., 90% of the window), 16% recent-context retention, a minimum selected segment of 2048 tokens, and exponential failure backoff, while retaining the Basic summarizer, the /compact command, and overflow paths. Install tag: github:huohua-dev/dsh-compaction-policy#v0.2.2; on Desktop, install via the UI and fully restart the application, and for the web profile it can be installed with: dsh plugin --profile web add. Configure the plugin by setting config.policy in compaction-policy-global, and view its status with /compaction-policy-global status.
Read More