dsh-experience
智能体自学习经验库:自动沉淀报错、失败命令与各类经验为本地 md 文档,按分类/单条启用停用,并注入上下文。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MistyRn/dsh-experienceREADME
Read the full README ↗配置
settings.json:
{
"version": 1,
"rootDir": "~/.dsh/experience",
"mode": "assisted",
"inject": {
"enabled": true,
"hotMaxLines": 80,
"recallTopK": 5,
"minConfidence": 0.5,
"recordSimilarityThreshold": 0.5
},
"privacy": {
"redactPatterns": [],
"blockedKinds": ["credential", "health", "finance"]
},
"categories": { "errors": { "enabled": true } }
}
| 字段 | 默认 | 说明 |
|---|---|---|
mode | assisted | off / readonly / assisted / autonomous,见下表 |
inject.enabled | true | 总注入开关 |
inject.hotMaxLines | 80 | 概览块最多行数 |
inject.recallTopK | 5 | 召回条数 |
inject.minConfidence | 0.5 | 召回置信度下限 |
inject.recordSimilarityThreshold | 0.5 | 判为「重复」的相似度阈值 |
privacy.redactPatterns | [] | 追加的自定义脱敏正则 |
privacy.blockedKinds | 见上 | 命中即整条拒写的类别 |