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-ui-spec

v0.1.1

Published

DeepSeek Harness plugin that turns UI screenshots into implementation-grade web specs using OCR, deterministic geometry, scene graphs, assets, and render comparison.

Readme

dsh-ui-spec

English | 简体中文

Version License DeepSeek Harness

将 UI 截图解析为面向实现的结构化规范,帮助纯文本 DeepSeek 模型还原自适应 Web 界面。插件使用 Windows 原生 OCR 辅助识别,并提供布局、视觉细节、交互和浏览器验证约束。

效果展示

以下结果来自 Desktop/8 测试。右侧页面由模型根据插件输出自主实现。

| 原始参考图 | DeepSeek 实现效果 | |:---:|:---:| | | |

安装

从 npm 安装:

dsh plugin --profile web add dsh-ui-spec

安装 GitHub 当前版本时,pnpm 11 需要允许源码包执行构建脚本。在 DSH profile 的 pnpm-workspace.yaml 中加入:

allowBuilds:
  "dsh-ui-spec@git+https://github.com/yumimanji/dsh-ui-spec.git": true

然后安装:

dsh plugin --profile web add github:yumimanji/dsh-ui-spec

如果当前 DSH profile 无法配置 allowBuilds,请使用 npm 版本。

使用

在 DSH 中直接告诉模型:

使用 ui-spec 对当前目录下的两张图片进行分析并模拟实现,页面需要自适应屏幕。完成实现后使用 manage_ui_browser 验证页面,并只关闭该工具启动的浏览器会话。

也可以指定单张图片:

使用 ui-spec 分析 C:\path\to\reference.png,并实现对应的自适应 Web UI。

安装问题

如果出现 ERR_PNPM_UNEXPECTED_STORE,说明 DSH profile 现有的 node_modules 与当前 pnpm store 不一致。重建该 profile 的依赖后,再重新安装插件:

cd $env:USERPROFILE\.dsh\profiles\web
Rename-Item node_modules node_modules.store-mismatch-backup
pnpm install
dsh plugin --profile web add dsh-ui-spec

确认 DSH 正常启动后再删除备份目录。

许可证

MIT