CraZY222123/dsh-self-evolve ↗★ 8

dsh-self-evolve

Self-evolve memory plugin for DeepSeek Harness: learns from your own sessions, injects token-budgeted preference summaries into every step, /memory commands, memory tool, settings panel. Local-only data. 核心用途是让 AI 自动学习并记住用户的长期使用习惯与偏好。适合需要跨会话保持一致行为习惯的用户。必要条件是 DSH 版本需大于等于 0.1.0-rc.6。

Package
dsh-self-evolve
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.7.3
License
MIT
Last updated
Aug 21, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用

命令(/memory)

子命令作用
teach [板块] [强度]直教一条永久习惯(最高置信度,永不自动淘汰;强度 1-9 默认 5)
search 检索相关习惯
list [板块]查看生效条目
confirm 确认一条模型记录的待定观察
reload从磁盘重载档案
consolidate巩固:合并重复、衰减过期、淘汰低值
eval档案 + token 账本仪表 + ROI 对比
log [天数]学习时间线(直教/记录/确认/巩固/挖掘)
review列出到期复核条目
gap / gaps管理知识缺口清单
config 调整旋钮(见下)
mine [数量]纯代码挖掘历史会话,产出纠错率/重复解释基线
export / clear yes导出 / 清空全部档案

旋钮(/memory config 或设置面板)

键默认上限作用
l0MaxChars6004000L0 注入预算(字符)
searchLimit5100相关性检索返回条数
mineLimit20200基线挖掘的会话数
reviewBaseDays3365间隔复核起始间隔(天)
autoConsolidateThreshold5100会话结束自动巩固的待定阈值
confirmPerSession110每会话自然确认询问上限

模型工具(memory,模型自动调用,用户无感)

  • search(topic) — 按任务主题检索用户偏好
  • summary() — 当前生效偏好摘要(即 L0)
  • note(observation) — 静默记录一条观察,进入待定区