dsh-agent-compact
Agent-driven context span compaction tool for DeepSeek Harness that replaces selected conversation ranges with agent-authored 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
- Exposes a `context_compact` tool enabling agents to select arbitrary dialogue spans via start and end anchors.
- Bypasses auxiliary LLM summarizer calls by directly using agent-authored Markdown checkpoints.
- Persists raw conversation spans to a restart-safe local spill archive store before context truncation.
- Normalizes anchor matching across whitespace differences and CJK full-width/half-width punctuation.
- Provides proactive context volume nudges when token growth crosses configured token thresholds.
- Performs paired message cleanup to prevent checkpoint text duplication across tool arguments and results.
Useful For
- Compressing completed implementation steps or subtasks while preserving original instructions and recent turns.
- Condensing extensive debugging sessions, compiler logs, or failed investigation paths into concise root-cause checkpoints.
- Pruning stale initial requirements while retaining core system guidance and current objectives.
Who It Fits
- Developers building long-running agent workflows in DeepSeek Harness.
- Users running iterative coding or research sessions with high token consumption.
Documented Limitations
- Requires restarting the DeepSeek Harness profile after installation or uninstallation for changes to take effect.
- Anchor matching requires unambiguous unique prefixes; ambiguous or missing anchors fail the operation.
- Paired tool cleanup is bypassed if the message contains multiple concurrent tool calls.
- Only one compaction operation can be executed per session at a time due to transaction serialization.
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.
package.json declares 3 runtime, 14 development, 4 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as NOASSERTION.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
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
- c756bbb · 2026-10-20
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
- 3
- Open issues
- 1
- Last commit
- 2026-10-19
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Connect DeepSeek Harness to your real, logged-in Chrome or Edge browser for automated navigation, inspections, and web debugging.
View plugin →Security red-teaming and prompt rule management plugin for DeepSeek Harness web and desktop profiles.
View plugin →Vision routing and pixel-level tools for text-only DeepSeek Harness agents with built-in free fallback.
View plugin →DeepSeek Harness-native vision toolkit enabling image Q&A, OCR, UI restoration, grounding, and pixel diff for text-only models.
View plugin →