← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-force-compact

Aggressive context compaction and thinking-control plugin for DeepSeek Harness local-first agents.

VisionUI & ProductivityDeveloper ToolsBrowser & WebSecurity & Policy
10GitHub Stars2ForksUpdated2026-10-19

Install

$ dsh plugin --profile web add github:falling-ts/dsh-force-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-force-compact is a Cordis function plugin for DeepSeek Harness designed for local-first agent workflows, such as self-hosted llama.cpp models. It aggressively compacts conversation history into summary nodes when token thresholds are reached, on turn-end idle events, or via manual /force-compact commands, while selectively disabling reasoning effort on summarization calls to keep live prompts compact, fast, and cost-free.

Key Capabilities

  • Monitors projected context token count on agent/pre-step hooks to trigger compaction before model requests exceed thresholds
  • Preserves the most recent tokens verbatim while summarizing older message spans into structured checkpoint nodes
  • Provides automatic fallback to an internal builtin compaction transaction when the official compaction service is unreachable
  • Selectively turns off reasoning/thinking during compaction summarization calls while preserving thinking configuration for main tasks
  • Offers turn-end idle compaction, manual /force-compact slash commands, and durability checkpoint integration (session/flush)
  • Includes a web client UI with real-time status indicators in running labels, composer context ring markers, and per-session threshold overrides

Useful For

  • Running deep conversations on low-context local LLM backends (e.g., llama.cpp) without hitting context length limits
  • Minimizing local inference latency and token overhead by keeping ongoing prompt history lean
  • Maintaining long-running agent workflows without external API egress or token costs

Who It Fits

  • Developers running local-first LLMs via llama.cpp or OpenAI-compatible backends within DeepSeek Harness
  • Users needing long-session memory retention within strict token limits

Documented Limitations

  • Minimum threshold floor is capped at 32,000 tokens for auto-compaction and 8,000 tokens for retained latest tokens
  • The /force-compact slash command loads lazily and is only registered process-wide after the session initiates its first model request

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 0 runtime, 0 development, 14 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

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

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
falling-ts/dsh-force-compact
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
f9b42d6 · 2026-10-19

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
10GitHub stars
Forks
2
Open issues
0
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