harmless0819-dev/dsh-persona-anchor ↗★ 0

dsh-persona-anchor

Pin a persona prompt section that never competes for the AGENTS.md instruction budget 适合需要长期固定特定人设且不希望占用常规指令预算的用户。

Package
dsh-persona-anchor
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 20, 2026

Install

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

配置

- id: dsh-persona-anchor
  name: dsh-persona-anchor
  config:
    file: 'C:/Users//.dsh/persona.md'   # 必填,绝对路径
    onError: log                             # log(默认)| throw
键默认说明
file必填人设文件绝对路径
sectiondeployment:persona-anchorsection 名;改成别的独特名也行
maxBytes524288 (512 KiB)单次读取上限,防手滑指到大文件
onError'log'读文件失败时:log 只告警 / throw 硬失败
order部署人设位section 排序
reloadMs0>0 时定时重读
routetrue是否注册状态路由