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

plain-core

v0.1.0

Published

直言核心 — 直接执行型系统提示词插件(无广告、无角色扮演)

Readme

直言核心(plain-core)

一个 DSH 系统提示词插件:把助手固定成「直接给结果」的工作模式,并在输入框上方显示一条状态条。没有广告、没有激活词、没有角色扮演。

组成

| 文件 | 作用 | | --- | --- | | prompts/core.md | 注入的系统提示词:直接作答、结构化输出、不塞免责声明、不中途收回 | | index.js | 注册 systemPrompt 段(order 100)、plain_profile 工具、plain-core 会话投影 | | client.js | 在 conversation.input.dock 渲染「直言核心已加载 / 执行中…」 | | cordis.patch.yml | 安装包形态下的 bundle 补丁:关闭宿主身份段 + 挂载插件 | | locale/zh.json / locale/en.json | 插件管理器中显示的名称与简介(meta.title / meta.description) | | install.ps1 / uninstall.ps1 | Windows 安装与卸载 |

安装

  1. 完全退出 DeepSeek Harness(Web 版关掉服务,桌面版退出托盘)。
  2. 在插件目录运行:
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1

脚本会:复制插件到 %USERPROFILE%\.dsh\plugins\plain-core → 备份各 profile 的 package.json → 写入 file: 依赖 → 在 cordis.patch.yml 写入提示词覆盖与挂载 → 建 node_modules 链接 → pnpm install → 删除旧的 yesha-armor。

  1. 重启 DSH,新建会话。输入框上方出现蓝色「直言核心已加载」即生效。

卸载

powershell -NoProfile -ExecutionPolicy Bypass -File .\uninstall.ps1

会移除依赖、cordis.patch.yml 中的挂载与 system-prompt 覆盖、node_modules 链接和插件目录。卸载后宿主恢复默认身份提示词。

注意

  • cordis.patch.yml 中的 - id: system-prompt 会关闭宿主的 includeHarnessIdentity,这是插件效果的一部分;卸载脚本会把它一起删除。
  • 插件目录是复制安装,改完源码需要重新运行 install.ps1(或直接改 ~/.dsh/plugins/plain-core 再重启)。
  • 自检:node scripts/verify.mjs,会校验提示词里不含广告词、激活词和角色扮演内容。