dsh-compact-agents
Session context force-compaction tool and settings interface for DeepSeek Harness agents and sub-agents.
Install
$ dsh plugin --profile web add github:zhuto666/dsh-compact-agentsPlugin 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
- Provides the `compact_agents` tool with configurable scopes ('others', 'all', 'self', 'ids')
- Queues busy sessions and compacts context automatically once turns finish
- Preemptive turn-end compaction to eliminate initial response latency in subsequent turns
- Auto-continues generation when output is truncated by max-token limits
- Renders a configuration form in DeepSeek Harness Settings with live parameter hot-syncing
- Reports shadowed node counts and estimated token metrics directly in chat notifications
Useful For
- Reducing token costs and context bloat during long multi-agent and AgentTeams workflows
- Allowing coordinator agents to force-compact sub-agent sessions programmatically
- Adjusting compaction thresholds, retained ratio, and output budget dynamically via UI settings
- Preventing generation stops when reasoning or response tokens hit model output ceilings
Who It Fits
- DeepSeek Harness users running long multi-turn sessions or agent teams
- Developers looking to manage context budgets and reduce token costs across sub-agents
- Power users desiring fine-grained UI control over context compaction ratios and thresholds
Documented Limitations
- Only targets live in-memory sessions; completed or archived sessions cannot be compacted
- Compaction requires calling summary models which incurs nominal token overhead
- Requires DeepSeek Harness source checkout layout for installation and preset binding
- Sessions with oversized single retained units cannot be reduced (returns noop)
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 0 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as Apache-2.0.
A root package.json was captured and can be inspected by the registry.
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
- zhuto666/dsh-compact-agents
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 2cd20f3 · 2026-09-21
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
- 1GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-09-20
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
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 →Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Free frontier LLM provider plugin for DeepSeek Harness with upstream probing and local OpenAI-compatible gateway.
View plugin →