deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Append-only layered memory for DeepSeek Harness agents.
上下文会缩,记忆不该缩。
A community plugin (dsh-plugin) that gives an agent a durable, append-only
memory stream with five-layer partitioning, a write gate, keyword recall, and
claim-anchors verification. Built by a deep user of DeepSeek Harness, as a
generalized, privacy-free re-implementation of the memory system that has kept
a companion AI continuous since its memory system was first built on 2026-08-03.
permanent (never forget) / session (this
session) / rolling (recent context) / config (configuration) / ephemeral
(not saved).anchor
(measured value / checksum / command output) is flagged as a warning:
claim detached from the disk = diagnosed defect, not a slip.memory:state section renders the recent
permanent + session layers at each assembly, from a cache warmed once at
startup (read-once-per-session holds after warm-up).| Tool | Purpose |
|---|---|
memory_append |
Append an event to the stream, with optional layer and anchor |
memory_recall |
Keyword recall over the stream |
memory_verify |
Check whether a fix claim carries an anchor |
From GitHub (current distribution channel):
npm i github:shayexiangpaimeng/dsh-memory
From npm registry (once published):
npm i @shayexiangpaimeng/dsh-memory
Mount in a cordis.yml:
plugins:
- '@shayexiangpaimeng/dsh-memory'
Store path defaults to ~/.dsh-memory/memory.jsonl; override with
config.filePath. Injection layers default to permanent + session;
override with config.summaryLayers.
npm install
npm test # vitest, no API key required
npm run build # tsc → lib/
recall() contract.systemPrompt/tools APIs may
break compatibility. This package follows DSH releases; pin your Harness
version.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。