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-quote-followup

v0.2.8

Published

Quote selected Web conversation text into the DeepSeek Harness composer for targeted follow-up turns.

Readme

dsh-quote-followup

English | 中文

npm version license DSH Market

一个仅支持 Web 的 DeepSeek Harness 插件:选中对话文本,将其追加到输入框,再进行针对性追问。

功能

  • 在 Web 对话区选中文本后显示浮动的 ❐ 引用 按钮。
  • 通过会话级输入接口将 DSH 原生对话引用 chip 追加到现有草稿,不覆盖已输入内容,也不直接读取 Lexical 私有节点注册表。
  • chip 使用与 @文件 / @对话 相同的 ReferenceChipNode、对话图标和业务色,可整体删除。
  • chip 只展示摘录正文,引用语义由气泡图标表达,减少重复标签。
  • 浮动按钮和发送时的引用框架跟随 DSH 当前语言。
  • 选区两端属于同一 DSH 聊天行时,序列化引用附带对话轮次编号;跨消息选区保留摘录,但不标注归属不明的角色与轮次。
  • 可连续引用多段内容;发送时由插件 codec 将各 chip 展开为模型可读的 Markdown 引用块。
  • 旧版 DSH 缺少原生 chip 能力时,自动降级为纯文本引用。
  • 输入框缺失或暂不可编辑时显示本地化提示,恢复原选区,便于重试引用。

本插件不再适配 TUI。

边界

这是一个 Web 客户端侧扩展。composer 和发送路径由浏览器 client 拥有:chip 只存在于 Lexical 编辑器中,模型只会看到发送时 codec 展开的 Markdown 引用块,永远不会看到 chip 本身,不涉及任何 host 侧插件接口。

chip 刻意只存文本:包含摘录正文、仅供显示的角色提示、可用的对话轮次编号和截断标记,不含全局 session-message 引用,因此在 compaction 折叠与会话轮转后依然有效。

安装

要求 DSH >=0.1.2-rc.1。

dsh plugin --profile web add dsh-quote-followup

将 dsh-quote-followup 加入 Web profile 的 dsh.profile.bundles,然后重启 dsh web,让服务端重新生成启动时缓存的 client bundle。重启后还需刷新或重新打开此前一直未关闭的浏览器页;旧页面已经加载的 JavaScript 不会从新服务进程自动更新。

使用

  1. 在对话消息中划选任意片段。
  2. 点击 ❐ 引用。
  3. 如需补充,可继续选中并引用其他片段。
  4. 在引用 chip 后输入追问并发送。

开发验证

npm test

回归测试覆盖精简的原生引用 chip、中英文 locale 切换、同消息与跨消息的来源判定、输入框缺失/不可编辑时的提示与重试、连续引用、已有草稿后的间距、codec 序列化、Firefox 文本降级路径,以及热替换后新版 client 接管旧按钮/单例状态。

可选的真实 DSH Web 集成回归通过固定版本、已构建的 DSH 和 Chromium 加载插件,验证已有草稿、连续引用、撤销重做、会话隔离、发送序列化及 Host 驱动的不可写输入状态。

许可证

MIT