ChenYueqi2024/dsh-memory ↗★ 0

dsh-memory

Cross-session project memory for DeepSeek Harness (dsh): auto-extract durable facts/decisions/preferences at session end, retrieve and inject them into future sessions. Uses the host dsh instance model route - no bundled API key. 适合需要跨对话保持项目背景、决策和偏好,避免重复输入背景的用户。

Package
dsh-memory
Compatibility
Unverified
Harness peer range
0.2.0-rc.2
Cordis peer range
0.2.0-rc.2
Version
0.3.1
License
NOASSERTION
Last updated
Oct 6, 2026

Other repositories with this package name

Install

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

配置

键默认说明
provider / modeldeepseek-official / deepseek-flash记忆抽取的辅助 LLM 路由,可指向任何已配置的兼容端点
extractMinChars120触发自动抽取的最小对话文本量
injectMax30单次注入 system prompt 的最大记忆条数
requireApprovalfalse开启后自动沉淀的记忆需 memory_approve 批准才注入(防记忆污染)
maxOutputTokens / timeoutMs1024 / 120000抽取调用限额

诊断:设置环境变量 DSH_MEMORY_DEBUG= 可输出沉淀/注入的详细日志。