@aiwayds/dsh-llmwiki-memory
dsh-plugin: OKF v0.2 topic memory for dsh - local-first git-tracked bundle, hot-path LLM-free injection, two-stage observer with background distill
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fan56/dsh-llmwiki-memory说明文档
阅读完整 README ↗Configuration
First-time setup belongs to /wiki onboard; day-to-day tuning is /wiki set (writes the llmwiki namespace in settings.yaml, effective from the next session). All keys and defaults:
| Key | Default | Meaning |
|---|---|---|
repo | empty (local-only) | GitHub sync repo owner/name; suggested dsh-wiki-memory; empty = back to local-only |
autoInject | true | Per-turn injection master switch |
topK | 4 | Max topics injected per turn |
perTopicBudget | 300 | Per-topic digest token budget |
totalBudget | 1500 | Total injection budget per turn |
matchThreshold | 0.3 | Hit threshold; tune from /wiki stats near-miss evidence |
tagBoost | 0.15 | Additive boost per tag hit |
graphDepth | 2 | depends graph walk depth (0 disables) |
recencyWindowDays | 7 | Recency bonus window (+0.2) |
autoObserve | true | Capture atomic observations every turn |
includeSubagents | true | Whether injection and observation also engage subagent sessions (ADR 0011); off skips them entirely |
observationMaxChars | 2000 | Per-side per-turn observation truncation |
distillProvider / distillModel | empty (distill off) | Distill lane model route; both must be set to enable |
distillEveryTurns | 20 | Distill every N turns of a long session |
distillOnSessionEnd | true | Distill once when a session ends |
pushDebounceSeconds | 45 | GitHub-mode debounced push interval |