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-prompt-suggestions

v0.1.3

Published

DeepSeek Harness 输入框的下一句建议:助手回复完,空输入框里出现一句灰色建议,按 Tab 填入。Prompt suggestions for the DSH composer.

Readme

dsh-prompt-suggestions

DeepSeek Harness 输入框的「下一句建议」:助手回复完后,空着的输入框里会出现一句灰色的建议,是根据当前对话猜你接下来最可能发的话。按 Tab 填进输入框,Esc 忽略;一开始打字建议就消失,删空了又会出现。

English

安装

在 profile 目录(例如 ~/.dsh/profiles/web)的 package.json 里加上依赖和 bundle:

{
  "dependencies": { "dsh-prompt-suggestions": "^0.1.3" },
  "dsh": { "profile": { "bundles": ["...原有的...", "dsh-prompt-suggestions"] } }
}

然后在该目录执行 pnpm install,重启 DSH。桌面端要从托盘「退出」再打开。

需要 DSH 0.1.7-rc.2 及以上。

用哪个模型

默认自动找一个 DeepSeek 的 flash 模型,关闭思考,每条建议最多 80 个 token。要换模型,在 profile 的 cordis.patch.yml 里加:

- id: dsh-prompt-suggestions
  config:
    provider: deepseek-official
    model: deepseek-flash

provider 和 model 要一起写。其他可调项:maxContextChars(带给模型的对话字数,默认 6000)、timeoutMs(默认 10000)。

说明

  • 每条助手回复只请求一次模型,结果按会话缓存,反复清空输入框不会重复计费。
  • 只在助手说完话、轮到你的时候给建议;新对话、助手还在工作时不显示。
  • 带给模型的是当前会话最近几轮的文字内容,走的是你在 DSH 里配置好的同一个模型服务,密钥由 DSH 管理,插件不接触。
  • 建议接口挂在 DSH 自己的网页服务上,复用官方的登录校验,未登录的请求会被拒绝。
  • 输入法组字时不会抢 Tab;/ 命令和 @ 引用菜单打开时 Tab 仍归菜单。

许可

MIT