dsh-agent-compact
A DeepSeek Harness tool plugin that lets agents compact selected conversation spans into agent-written checkpoints.
Install
$ dsh plugin --profile web add @mimichunterz/agent-compactPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Adds an agent-callable `context_compact` tool.
- Compacts selected spans using `startAnchor` and `endAnchor` with unique-prefix matching.
- Requires an agent-written `summary` checkpoint for each tool-driven compaction.
- Archives raw spans to a spill store before replacement when `autoArchive` is enabled.
- Uses the host engine's boundary validation, tool-pair balancing, and surface replacement transaction.
- Keeps automatic compaction on the stock engine path.
Useful For
- Condense a completed task step while retaining opening instructions and current context.
- Replace a resolved debugging exchange with a short root-cause and fix checkpoint.
- Compact an abandoned research direction or off-track discussion.
- Refresh stale opening requirements by compacting them and restating current intent.
Who It Fits
- DeepSeek Harness users running agent workflows with long conversations.
- Plugin developers and operators configuring DSH compaction behavior.
- Agents that can decide which finished context is safe to consolidate.
Documented Limitations
- Built and verified against DeepSeek Harness 0.1.0-rc.6 and `@deepseek-ai/dsh-compaction-basic` 0.1.0-rc.6.
- Only one compaction can run per session at a time because the engine transaction is serialized.
- Tool-driven compaction requires the agent to provide a summary.
- Anchor matching fails for no matches and reports ambiguity when multiple matches are found.
- Non-local spill backends use an in-memory archive counter when no `root` field is available.
- A profile restart is required after installation for sessions to receive the tool.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- MimicHunterZ/dsh-agent-compact
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 118973a · 2026-09-11
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 4GitHub stars
- Forks
- 2
- Open issues
- 1
- Last commit
- 2026-09-07
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Browser automation plugin enabling DeepSeek Harness agents to interact with logged-in browser sessions safely via dedicated Agent Windows.
View plugin →Image generation and iterative editing plugin for DeepSeek Harness supporting cloud providers and local ComfyUI.
View plugin →DSH undo and crash-recovery plugin with snapshots, rollback, Safe Mode, and offline Windows tools.
View plugin →Vision routing and pixel-level visual tool suite for DeepSeek Harness agents with built-in free fallbacks.
View plugin →