fan56/dsh-dcp
C3dsh plugin: deterministic context compression backend — zero LLM calls, reproducible compression
★ 5+ · fan56/dsh-dcp source on GitHub · this plugin in the registry
fan56/dsh-dcp is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, executes system commands, reads credential-class env vars.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./cordis.patch.yml |
| executes system commands | exec | ×14 in authored code, e.g. scripts/compare.mjs:25, scripts/compare.mjs:25 |
| reads credential-class env vars | token_env | DCP_MAX_SUMMARY_TOKENS |
Services it injects
commands llm sessions skills tokenMeter
Hooks it attaches
agent/status session/event
Environment variables it reads
DCP_DEDUP DCP_PURGE_ERRORS DCP_MAX_ITEMS DCP_MAX_ITEM_CHARS DCP_MAX_SUMMARY_TOKENS DSH_CLOSURE_DIR DSH_HOME DSH_BIN
How to read this
Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.
Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.