Ukashi0/dsh-memory-guardian ↗★ 0
dsh-memory-guardian
为 DSH 提供具备隐私保护的长期记忆管理功能 适合需要长期记忆、冲突检测和隐私数据隔离的 DSH 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ukashi0/dsh-memory-guardian說明文件
閱讀完整 README ↗配置
Bundle 默认配置:
- insert:
- id: memory-guardian
name: dsh-memory-guardian
config:
maxRecords: 10000
maxRecallItems: 8
maxRecallChars: 6000
captureExplicitRequests: true
quarantinePersonalData: true
| 配置项 | 默认值 | 说明 |
|---|---|---|
storagePath | ~/.dsh/memory-guardian/store.json | 本地存储文件;API 不暴露真实路径 |
maxRecords | 10000 | 最大记录数,上限 100000 |
maxRecallItems | 8 | 单次召回最大条数,上限 50 |
maxRecallChars | 6000 | 召回正文字符预算,配置下限 256,上限 100000;不包含工具说明和元数据 |
captureExplicitRequests | true | 是否识别“记住:……”等明确保存请求 |
quarantinePersonalData | true | 邮箱、手机号、身份证号是否必须人工批准 |
auditLimit | 500 | 本地治理记录数量,上限 5000 |