DiligenceLai/dsh-memory-ga ↗★ 0
dsh-memory-ga
为 DeepSeek Harness 提供门控式 GA 风格分层记忆系统,包含硬注入的 L1 记忆、工作检查点以及向技能/L1/L2 的结算,无静默自动保留。
AI 分析
核心用途是精细化管理 Agent 的长期与短期记忆,避免无节制的上下文膨胀。适合对 Agent 记忆留存有严格控制要求的专业用户。强依赖 tools、systemPrompt 和 llm 注入。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DiligenceLai/dsh-memory-ga说明文档
阅读完整 README ↗Configuration
Cordis config on plugin id memory-ga (optional):
- id: memory-ga
config:
# root: null # default: $DSH_HOME/memory
bootstrap: true
injectL1: true
injectWorking: true
l1MaxChars: 1200
workingMaxChars: 1200
persistWorkingFile: true
nudge:
enabled: true
workingEvery: 12
settleAfterSteps: 15
maxWorkingNudges: 3
maxSettleNudges: 2
Hard dependency: the plugin declares inject: ["tools", "systemPrompt", "llm"]. @deepseek-ai/dsh-llm (with createUserMessage) must be present in the host composition — working-memory and nudge injection rely on it. If it is missing, the plugin still loads but memory_status will warn that working/nudges are not injected, rather than silently failing.
workingMaxChars is the single cap for both storing and injecting the working notepad, so memory_status.workingChars always reflects what the model actually sees.