- Главная
- Плагины
- Интеграции и удалённый доступ
- dsh-scoundrel
dsh-scoundrel
gaoyou6inguge-lang/dsh-scoundrel
Per-session Scoundrel persona toggle in the composer toolbar (off by default) and via /scoundrel on|off, injecting the persona system prompt section only when enabled.
Установка
dsh plugin --profile web add github:gaoyou6inguge-lang/dsh-scoundrelREADME
DSH-Scoundrel
输入框工具栏里的一个开关:打开才注入 Scoundrel 人格,默认关闭。
怎么用
- 输入框左侧工具行,破甲挂锁旁边有一个 Scoundrel 胶囊和一个状态点: 空心 = 关,实心 = 开。点一下切换,状态由宿主推回,不做本地乐观更新。
- 也可以直接发命令:
/scoundrel on、/scoundrel off;不带参数则报告当前状态。 - 开关按会话记录在会话日志里,分支和续接自动保留;没有记录的会话默认关闭。
它做什么
- 开:每次模型装配(每一步请求)都注入系统提示段
scoundrel:persona(order 10250,落在宿主人格后缀与破甲 content-handling 之后), 正文约 600 字,来自persona.js。 - 关:该段文本为空,系统提示里没有人格。插件其余部分不再有任何模型可见贡献。
推荐搭配(不是依赖)
只装本插件也能用:人格层完全独立。要拿到「人格 + 破甲」的完整效果,再配这两只:
- dsh-jailbreak(npm
dsh-jailbreak):破甲层本体——content-handling 段与 32 条 synthetic-history priming,出厂默认档full。用它的输入框挂锁或/jailbreak off|lowered降档;本插件不读不写它的状态。 - @wufeng0105/dsh-enhance(npm
@wufeng0105/dsh-enhance):内容边界——把你写进~/.dsh/enhance/content-scope.txt的破甲词接在每条系统提示末尾;另有品牌人设与越界审批 开关。本插件不读不写它的文件。
两只都不是依赖。不装它们时本插件仍按会话注入人格,只是不自带这两层,也不会替它们开关。
实现
- Host:注册
scoundrel会话投影,折叠会话日志里的command/run记录 (name: scoundrel、args: on|off),默认{ enabled: false }。人格段是一个文本取值 函数:装配时按context.agent.session读投影,开则返回人格全文,关则返回空串。 - Client:手写的 classic-script bundle,注册到
conversation.input.left,读useProjection('scoundrel'),点击时在活动会话上提交/scoundrel on|off。 - 没有自建事件类型:状态来自已知的
command/run,可重放、可 fork、可续接。
关掉或移除
- 停用插件行:侧栏 Plugins(插件) 页把
DSH-Scoundrel这一行切 Off。chip 消失, 人格段落卸载;已有会话日志里的开关记录保留,但插件不再读取。 - 移除 bundle:同一页把整张包卡切 Off,或用插件管理器
remove_bundle。 - 单会话关闭:点 chip,或发
/scoundrel off。 - 改人格文本:编辑包内
persona.js的PERSONA,重启 DSH。
确认生效
- chip 状态点实心 = 开、空心 = 关;
/scoundrel会报告当前会话状态。 - 会话日志里最新一条
system-prompt装配记录末尾有人格全文(开),或没有人格(关)。
限制
- 只影响系统提示;不改工具权限、审批策略、沙箱、模型选择。
- 人格约 600 字/请求,开启期间是稳定成本。
- 每个会话各自有开关;子代理是独立会话,默认关闭,需要在它自己的会话里打开。
- 开关是会话级状态,不是部署级设置;新会话默认关闭。
English
A Host-only DSH bundle with a small client half: an on/off chip named
Scoundrel in the composer tool row, next to the jailbreak seat. It is off by
default. When on, the operator-authored Scoundrel persona (about 600
characters) is appended to the system prompt of every request in that session.
The switch is per session, folded from the session log's
command/run records (the /scoundrel on|off command and the chip are the two
write paths), so forks and resumes keep it. The jailbreak layer remains
dsh-jailbreak's own (default full) and is not touched by this switch. The
persona text lives in persona.js; it affects model input only.
For the full setup, pair it with dsh-jailbreak (the content-handling and
synthetic-history layer, default full) and @wufeng0105/dsh-enhance (your own
content-scope text appended at the end of the system prompt). Neither is a
dependency: alone, the plugin still injects the persona but ships neither layer.
Похожие плагины
dsh-purge
kingcharleslzy-ai/dsh-purge
dsh-web (dsh-ssh)
zhu1090093659/dsh-web
dsh-web (dsh-remote-web-ui)
zhu1090093659/dsh-web
dsh-web-ui (dsh-ssh)
zhu1090093659/dsh-web-ui