Memory & Contextdsh-plugin

dsh-dcp

Dynamic Context Pruning plugin for DeepSeek Harness (dsh), modeled after opencode-dcp. Provides model-driven context compression, tool result pruning, error cleanup, protected content preservation, manual /dcp commands, and statistics.

Stars
1
Forks
0
Open issues
0
Last push
Aug 16, 2026
Latest release
v0.1.0-rc.3
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add chiro2001/dsh-dcp

Overview

Dynamic Context Pruning plugin for DeepSeek Harness (dsh), modeled after opencode-dcp. Provides model-driven context compression, tool result pruning, error cleanup, protected content preservation, manual /dcp commands, and statistics.

  • Model-driven context compression with half-open range and multi-range independent transactions.
  • Tool result pruning and error input cleanup.
  • Protected content preservation for user messages, paths, and instructions.
  • Manual /dcp commands: help, context, stats, manual, compress, sweep, show, decompress, recompress.
  • Automatic deduplication of repeated calls (idempotent) and experimental error unit cleanup.
  • Coexists with dsh native compaction via surface membership reconciliation.
  • Raw show and --into-context semantic expansion for recovery.
  • Tested with dsh 0.1.0-rc.6; pure context plugin with no TUI or HTTP bridge.

Related plugins

MisakaNet

A zero-dependency, git-backed micro-lesson library for AI agents to asynchronously share and search verified debugging experience. Python stdlib only, with MCP server, CLI, and DeepSeek Harness adapter.

Memory & Contextdsh-plugin
431161PythonAug 29, 2026
CommonTrustProtocol

Theory repository for the Common Trust Protocol (Intelligentics v3.4). README states the repository holds the protocol's theoretical layer, while the DeepSeek Harness plugin implementation lives in the separate repository FuRongJun-1999/dsh-memory (npm: @furongjun1999/dsh-memory). It describes the Lingshu AEIS engineering layer: an MCP server for trustworthy agent memory and knowledge graphs, five-layer memory, condition-routed knowledge cards, an eight-step self-iteration loop, roleplay engine,

Memory & Contextdsh-plugin
121PythonSep 8, 2026
dsh-argp

Third-party context compaction engine for DeepSeek Harness (dsh). It uses a dual-engine design: Stage-1 per-atom compression where the LLM proposes extract/summary/false and deterministic guards decide, and Stage-2 lazy reference-graph pruning with 0 LLM calls. An append-only log is the source of truth, and recall_summary/recall_detail provide paginated recall. npm default mounts only Stage-2; Stage-1 is enabled via a peratom config block.

Memory & Contextdsh-plugin
91TypeScriptSep 23, 2026
DSH_Automatic-update-plugin

dsh-hub is a DSH plugin hub that integrates global memory, graph-memory, plugin market, and self-update checks into one settings-page plugin.

Memory & Contextdsh-plugin
40JavaScriptAug 17, 2026