penglai-doll/dsh-soul ↗★ 0

dsh-soul

SOUL.md-backed living persona for DeepSeek Harness: injects a trusted SOUL.md as a system-prompt section refreshed at every session start, registers soul_view / soul_remember / soul_edit / soul_rewrite so the agent maintains its own cross-session persona and memory, and serves a SOUL.md editor card in the Web Plugins configuration section. 让智能体能够通过读写本地 SOUL.md 文件来自主维护和演进其跨会话的人设与记忆。适合希望打造具有个性、能自我成长智能体的用户。

Package
dsh-soul
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.3.1
License
MIT
Last updated
Aug 17, 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 ↗

配置

字段默认含义
maxBytes必填SOUL 文件的最大 UTF-8 字节数。超过此限的读写被拒绝。
file$DSH_HOME/SOUL.md要加载与维护的文件。~、~/、~\ 前缀会展开;相对路径从 process.cwd() 解析。
dshHome$DSH_HOME,否则 ~/.dsh覆盖默认 file 路径使用的 harness home。
sectionNamesoul:personasystem-prompt section 名。仅在行挂载于 agent preset scope(会遮蔽部署人设)时用 deployment:persona。
order1system-prompt section 顺序。-100 是 harness 身份,0 是部署人设,工具指引约从 100 开始。
completefalse为 true 时,SOUL 文本在组装后成为完整系统提示。仅用于刻意极简的预设。
toolstrue设 false 则只保留静态人设注入(v0.1 行为),不带维护工具。

全局人设(默认)

- id: dsh-soul
  name: 'dsh-soul'
  config:
    maxBytes: 65536

显式文件

- id: dsh-soul
  name: 'dsh-soul'
  config:
    maxBytes: 65536
    file: D:\personas\neptune\SOUL.md

逐预设遮蔽

若 dsh-soul 从某个 agent.cordis.yml 预设 scope 挂载,它可以遮蔽该预设的部署人设:

- id: soul
  name: 'dsh-soul'
  config:
    maxBytes: 65536
    sectionName: deployment:persona
    order: 0

在 host profile 补丁里,sectionName: deployment:persona 会与 system-prompt 注册表自身的全局人设注册冲突并响亮失败;那里请保留 soul:persona。