William20100221/dsh-context-graph ↗★ 1
dsh-context-graph
DeepSeek Harness plugin: memory graphs for every chat, on by default (switch the plugin off on the Plugins page to stop); other chats in the workspace recall exact past text by topic, chat or day, so fewer input tokens are re-sent
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:William20100221/dsh-context-graph說明文件
閱讀完整 README ↗Configuration
Defaults live in cordis.patch.yml. A patch replaces the row's whole config,
so restate every key you keep.
| Key | Default | Meaning |
|---|---|---|
dir | .context-graph | Memory folder, relative to the agent workspace or absolute |
buildEveryTurns | 4 | Index after this many new human turns (chats with memory on) |
buildMinChars | 400 | ...and at least this much new text |
maxHits | 5 | Topics shown per human turn |
inlineMaxChars | 1200 | A single dominant hit this short is shown verbatim |
surfaceMaxChats | 20 | Shared chats listed on the first message of each chat |
builderMaxTokens | 8192 | Output cap for the indexing call; thinking models spend part of it reasoning |
builderMaxInputChars | 60000 | Most text one indexing call reads; a long chat indexed for the first time keeps only its newest messages |
rangeMaxChats | 3 | When a message names a time and no topic matches, at most this many chats from that time are listed |
rangeMaxTopics | 3 | ...with this many topics each. The list names what it left out; recall("2026-11-01") shows the full day |
provider, model | '' | Empty: reuse the conversation's routed provider and model. Set both to index with a cheaper or faster model |