npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rain-kl/dsh-preset-plus

v0.1.5

Published

DeepSeek Harness universal preset enhancement plugin: an editable preset editor (system/user/assistant entries + camouflage model output prepopulation)

Downloads

514

Readme

DSH-Preset-Plus

DSH 预设增强插件

参考 SillyTavern 预设模功能开发的一个基础的预设编辑器。


它解决什么

  • 破限场景下,伪造模型的服从输出从而提升破限效果。
  • 可以很方便的调整自定义模式系统提示词, 并且能够支持导入导出分享提示词

工作方式

作用域

插件只提供一个固定 DSH 模式 preset-plus。仅当**当前会话挂载的 preset id ∈ scopedPresets**时,才向请求注入预设上下文。

你可以在你可以在设置界面新增多种预设,但是只能同时生效一个。

默认内置 jailbreak 预设

其他模式一律不进行任何注入。

预设界面

preset-settings.png

注入顺序

[system 主提示词] → [user 触发] → [assistant 伪装输出] → [真实 user 输入] → [真实模型输出]

其中 system/user/assistant 来自你编辑的预设条目;真实输入与输出是会话本就有的。

注意: 伪造输入无法记录到"轨迹"中, 可以通过查看控制台打印判断是否注入成功

console-log.png

AB 双模式

  • 自动(auto,可关):第一条真实消息到来时自动注入。
  • 手动(/preset-plus prefill):用户显式触发,注入标记生效于下一条消息。

命令 / 工具

  • /preset-plus status | prefill | on | off | save
  • /preset-plus list:列出预设
  • /preset-plus activate <id>:激活预设
  • 模型工具:preset_plus_status

快速开始

Git (推荐)

dsh plugin --profile web add github:Rain-kl/dsh-preset-plus

npm 仓库

#可能存在版本滞后
dsh plugin --profile web add @rain-kl/dsh-preset-plus

在设置里配置完预设后, 选择 PresetPlus 模式使用既可生效

select-patern.png


友情链接 / Links

License

The MIT License allows use, modification, distribution, and commercial use.