TBAOT/dsh-persona ↗★ 0

dsh-persona

Multi-persona memory for DeepSeek Harness: two-tier persona memory (user profile + agent notes) with per-turn review. 多个角色各自独立的长期记忆。

包名
dsh-persona
兼容性
待验证
Harness 依赖范围
>=0.2.1-rc.2 <0.3.0
版本
0.2.9
许可证
MIT
最近更新
2026年11月7日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TBAOT/dsh-persona

配置

- id: persona-memory
  name: dsh-persona
  config:
    personaId: default     # 角色 id,决定记忆目录
    userLimit: 1375        # 用户画像上限(字符)
    memoryLimit: 2200      # 角色笔记上限(字符)
    inject: true           # 关掉则只保留工具、不注入提示词
    userTitle: 用户画像 / USER PROFILE
    memoryTitle: 长期记忆 / MEMORY

一个角色 = 一个 personaId = 一份记忆。想让多个角色各自独立,为每个角色挂一行 dsh-persona,给不同的 personaId。构建者也可以把它挂进各自角色的预设里。