dsh-force-compact
Aggressive context compaction plugin for DeepSeek Harness agents to keep local-first prompts lean and responsive.
Install
$ dsh plugin --profile web add github:falling-ts/dsh-force-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
- Automatic pre-step context compaction triggered by projected token thresholds
- Turn-end compaction on idle agent transitions and session flush checkpoints
- Manual trigger via the /force-compact slash command
- Dual compaction backend support: official compaction service or builtin fallback transaction
- Scoped thinking suppression (`reasoningEffort: 'off'` and native `reasoning_effort: "none"`) exclusively for compaction calls
- LiveUI status badging in the web interface indicating compression states
- Runtime configuration via settings section with live parameter updates
Useful For
- Maintaining low context window usage when running local models like Qwen on llama.cpp
- Reducing memory footprint and inference latency during extended multi-turn agent sessions
- Ensuring data privacy and eliminating API token costs through fully localized context summarization
Who It Fits
- Developers hosting local LLM inference engines (e.g., llama.cpp) with DeepSeek Harness
- Users running long-running agent workflows constrained by hardware context limits
Documented Limitations
- Enforces minimum value clamps on configuration (e.g., autoThresholdTokens >= 32000, retainLatestTokens >= 8000)
- The /force-compact command registers lazily after the first model step rather than immediately at instance boot
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
- falling-ts/dsh-force-compact
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 15a5645 · 2026-09-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
- 8GitHub stars
- Forks
- 2
- Open issues
- 0
- Last commit
- 2026-09-16
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Persistent multi-model Agent teams and bounded DAG workflows with GUI controls for DeepSeek Harness.
View plugin →Connect ChatGPT (Codex), Claude, Grok, and GitHub Copilot subscriptions to DeepSeek Harness via OAuth.
View plugin →Vision routing and pixel-level visual tool suite for DeepSeek Harness agents with built-in free fallbacks.
View plugin →Bundle of 88 open-source Agent Skills for research, business intelligence, marketing, and SEO in DeepSeek Harness.
View plugin →