lume-dsh-plugin
微光 (Lume) — DSH Desktop 人设与记忆插件:从聊天记录、小说、剧本或设定文档蒸馏角色,保留长期与临时记忆、风格学习、认可语料、人设切换纠偏、记忆星图和角色卡导入导出;任务侧仅保留一段轻量工作纪律。 适合需要从文本中提取角色设定,并维持长期记忆与特定对话风格的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cayan0x/LumeREADME
Read the full README ↗配置
| 配置 | 默认值 | 说明 |
|---|---|---|
layeredInjection | true | 记忆、风格和语料走尾部快照;旧宿主不支持时自动并回 system 段 |
extractionEnabled | true | 自动提取长期记忆与风格纠正 |
extractionCooldownMs | 10 分钟 | 自动提取冷却时间 |
extractionProvider / extractionModel | 主对话模型 | 记忆提取专用模型档 |
distillProvider / distillModel | 主对话模型 | 人设蒸馏专用模型档 |
sampleCount / sampleMin | 6 / 2 | 注入的少样本语料数量与下限 |
memoryInject / styleInject | 12 / 5 | 记忆和风格约定的注入上限 |
injectionStrategy | topk | topk 按相关性检索,full 按配置上限取最近内容 |
switchBoundaryTurns | 2 | 人设切换播报窗口 |
personaOrder | 10000 | 人设稳定契约在 system prompt 中的顺序 |