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-composer-stretch

v0.1.2

Published

Auto-expand composer for DeepSeek Harness: a ⤢ button appears at the top-right of the composer card when the text wraps to 3+ visual lines, stretching the input to near-fullscreen height on click.

Readme

dsh-composer-stretch

npm version license

中文 | English

DeepSeek Harness 打造的输入框扩展插件。当输入框内容行数 ≥ 3 行时,输入框右上角出现扩展按钮;点击后输入框高度扩展到全屏,再点击恢复默认高度。

https://github.com/user-attachments/assets/3d15f435-284f-4cbe-87c1-e59e47c64667

整体交互体验与 Gemini 相似,针对 DSH 再做了些高度适配、修复滚动穿透背景等问题。

安装

dsh plugin --profile web add dsh-composer-stretch

触发方式

  • 条件显示 — 输入框行数 ≥ 3 行时,右上角出现扩展按钮,点击可扩展输入框高度
  • 三连换行自动扩展 — 连续按 3 次 Shift+Enter 自动进入扩展模式

扩展后效果

  • 全屏输入 — 扩展后,输入框达到接近全屏高度(已做适配,不会被会话标题、输入框图片等组件遮挡)。
  • 发送后自动折叠 — 发送消息后自动恢复默认高度,无需手动关闭
  • 扩展时 Enter 换行 — 展开模式下 Enter 键换行,Cmd/Ctrl+Enter 发送
  • 滚动不穿透 — 扩展后修复 DSH 输入框内滚动到边缘时会滚动背景对话区的问题

其他说明

  • 已适配至 DSH v0.1.2-alpha.1
  • 稳定 UI - 依赖高稳定性的 data-slot 标识 + DSH 官方设计令牌,兼容性好,与原生系统适配度极高。
  • 不持久化 — 刷新页面恢复默认状态,无 localStorage 残留
  • 纯前端 — 无自定义协议、无 host 命令、无 LLM 调用、不进会话日志

License

MIT