← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-agent-compact

Agent-driven context span compaction tool for DeepSeek Harness that replaces selected conversation ranges with agent-authored checkpoints.

Developer Tools
4GitHub Stars3ForksUpdated2026-10-19

Install

$ dsh plugin --profile web add @mimichunterz/agent-compact

Plugin 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.

source-grounded
dsh-agent-compact equips DeepSeek Harness agents with the `context_compact` tool, allowing the model to selectively compress completed dialogue spans into self-authored checkpoints instead of running an indiscriminate full-context sweep. It archives raw conversation spans to spill storage, skips the redundant external LLM summarizer request, and maintains KV-cache efficiency with serialized transactions.

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.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 3 runtime, 14 development, 4 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as NOASSERTION.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

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
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app