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

@ericality/dsh-quick-insert

v0.1.1

Published

Configurable quick-insert pill buttons above the DSH input that insert text at the caret; list managed in a host settings panel (RPC-persisted).

Downloads

36

Readme

@ericality/dsh-quick-insert

Quick-insert pill buttons above the DSH composer input — 输入框上方一行可横向滑动的按钮,点击把按钮文本插入输入框光标处;按钮列表可在设置面板里增删改。

安装

npm i @ericality/dsh-quick-insert

需 dsh (DeepSeek Harness) 宿主环境;作为宿主插件加载(服务端 apply + web 客户端 bundle,见 dsh.client.inject)。

功能

  • 输入框上方「快速插入」按钮行(conversation.input.dock,id quick-insert):青柠绿玻璃胶囊、横向可滑动;命令类(label 以 / 开头)按钮用等宽字体。
  • 点击把按钮文本插入输入框光标处(经会话作用域 conversation 服务 insertText,span CAS 防过期;失败回退追加到末尾)。
  • 客户端同时注册一个宿主设置扩展槽(host settings extension slot,settings.section id local-plugins):各插件的配置卡经 settings.localplugin.item 槽注册进该列;本包提供首卡「快速插入」——按钮列表 增删改 + 排序 + 实时预览 + 保存/取消/重置默认。
  • 配置经服务端 RPC 通道 /quick-insert(get / set {buttons} / reset)读写并持久化,远程浏览器照常生效;文件缺失/损坏时回退内置默认按钮。

配置

| 键 | 默认 | 说明 | |---|---|---| | buttons[] | 内置示例按钮 | 每项 { label: 按钮显示名, text: 点击插入的文本 };label 以 / 开头按命令样式显示 |

状态文件默认落宿主数据目录 /data/dsh/quick-insert.json,可用环境变量 DSH_QUICK_INSERT_STATE_FILE 覆盖。

依赖

  • peer(宿主提供):react(浏览器端);@deepseek-ai/dsh-client-runtime(client 运行时)。
  • client 注入(dsh.client.inject,web 平台):由宿主提供 @deepseek-ai/dsh-client-locale / dsh-client-runtime / dsh-client-connection / dsh-client-ui-conversation / dsh-client-ui-settings。

许可

MIT