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

dsh-colorful-output

v0.0.5

Published

Colorize AI replies in the DSH Web chat with switchable palettes (Aurora/Nord/Sunset/Cyber) via a settings card.

Readme

dsh-colorful-output

DeepSeek Harness 的 AI 回复着色:彩虹渐变标题、高亮重点、彩色引用与代码块,内置 4 套可切换配色主题,深浅主题自动适配,主题选择自动记忆。

功能

  • 🎨 AI 回复的标题、加粗、引用、代码块、列表、表格、分隔线全部上色
  • 🖌️ 4 套内置配色:极光 Aurora / 北极 Nord / 落日 Sunset / 赛博 Cyber
  • 🌗 每套主题含深/浅两套色值,自动跟随 DSH 明暗主题切换
  • ⚙️ 设置卡片切换(设置 → 插件 → 彩色输出),即点即生效,localStorage 记忆

安装

dsh plugin --profile web add dsh-colorful-output
# 重启 dsh web 后生效

使用

  1. 重启后打开 设置 → 插件 → 彩色输出
  2. 展开卡片,点选配色主题
  3. 立即生效,无需重启;选择自动保存

主题一览

| 主题 | 风格 | 标题渐变 | |---|---|---| | 极光 Aurora | 青 → 蓝 → 紫 → 粉,柔和高级 | #34d399 → #22d3ee → #818cf8 → #c084fc → #f472b6 | | 北极 Nord | 低饱和冰川蓝青,安静耐看 | #8fbcbb → #88c0d0 → #81a1c1 → #b48ead | | 落日 Sunset | 珊瑚 → 蜜桃 → 杏黄,温暖治愈 | #ff7e5f → #feb47b → #ffd194 → #fec8d8 | | 赛博 Cyber | 蓝紫粉霓虹,科技感 | #47a7f5 → #7aa2f7 → #bb9af7 → #ff79c6 |

截图

对话着色效果:AI 回复渐变标题 / 高亮加粗 / 渐变代码块,用户消息渐变文字

设置卡片:4 套主题一键切换

开发:如何新增主题

打开 lib/client.js,在 THEMES 对象中新增一项即可——设置卡片的按钮和 CSS 变量组会自动生成,无需改其他代码:

const THEMES = {
  // ...现有主题...
  mytheme: {
    dark:  { g1: "#...", g2: "#...", g3: "#...", g4: "#...", g5: "#...", accent: "#...", quote: "#...", code: "#...", b1: "#...", b2: "#...", b3: "#...", hr1: "#...", hr2: "#...", hr3: "#...", hr4: "#..." },
    light: { /* 浅色主题下的同结构色值 */ }
  }
};

字段说明:g1-g5 标题渐变五色、accent 加粗强调、quote 引用/列表/表头、code 行内代码、b1-b3 代码块边框、hr1-hr4 分隔线渐变。

License

MIT