fan56/dsh-llmwiki-memory0

@aiwayds/dsh-llmwiki-memory

为 DSH 打造的本地优先、Git 追踪的主题记忆插件,支持无 LLM 注入及后台蒸馏。

AI 分析

核心用途是为 AI 代理提供持久化的、可跨会话检索的本地知识库与记忆。适合需要 AI 记住特定业务结论、实现知识累积的长期项目开发。

包名
@aiwayds/dsh-llmwiki-memory
版本
0.2.1
最近更新
2026年9月1日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fan56/dsh-llmwiki-memory

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:

KeyDefaultMeaning
repoempty (local-only)GitHub sync repo owner/name; suggested dsh-wiki-memory; empty = back to local-only
autoInjecttruePer-turn injection master switch
topK4Max topics injected per turn
perTopicBudget300Per-topic digest token budget
totalBudget1500Total injection budget per turn
matchThreshold0.3Hit threshold; tune from /wiki stats near-miss evidence
tagBoost0.15Additive boost per tag hit
graphDepth2depends graph walk depth (0 disables)
recencyWindowDays7Recency bonus window (+0.2)
autoObservetrueCapture atomic observations every turn
includeSubagentstrueWhether injection and observation also engage subagent sessions (ADR 0011); off skips them entirely
observationMaxChars2000Per-side per-turn observation truncation
distillProvider / distillModelempty (distill off)Distill lane model route; both must be set to enable
distillEveryTurns20Distill every N turns of a long session
distillOnSessionEndtrueDistill once when a session ends
pushDebounceSeconds45GitHub-mode debounced push interval