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-whale-eyes

v0.3.1

Published

Give the DeepSeek Harness model a screen-sense tool: foreground app, window title, focused control and open windows as a short summary — no screenshots. 给 DSH 的模型一双不截屏的眼睛。

Readme

鲸鱼的眼睛 · dsh-whale-eyes

给模型的不截屏的眼睛:注册一个 screen_sight 工具,一次调用读回当前屏幕的短摘要——在哪个应用、窗口标题、焦点控件、还开着哪些窗口。

app: DeepSeek Harness
win: 设置 — DeepSeek Harness
focus: Document "设置 — DeepSeek Harness" = dsh-app://app/
wins: 记事本 | GitHub | 文件资源管理器 | 终端

一次调用约 55~75 token,纯文本;不调用就没有开销。

它能做什么

  • 读当前前台应用、窗口标题、焦点控件、打开窗口列表,压成一小段摘要。
  • 预算三档:25(只看应用和标题)、60(加焦点控件)、220(再加窗口列表,默认)。
  • 密码框的值固定输出 [password];密码管理器一类应用整条塌缩成 [blocked]。
  • 浏览器标签页可选读取(DevTools 协议),同样不截屏。
  • 后台常驻一个 PowerShell 守护进程:等 socket 100 ms 一次、窗口变更 500 ms 一次,不做全量 UI Automation 重扫;不调用时只占极小的 CPU。

工具

| 工具 | 做什么 | | --- | --- | | screen_sight | 读当前屏幕的结构化摘要。参数 budget 控制长度(25 / 60 / 220)。include_text: true 时额外读焦点输入框里的文字(密码框永不读)。 |

装之前要知道

  • 仅 Windows:依赖 UI Automation 与 Win32,其它系统装不上(插件声明了 os: ["win32"])。
  • 装完必须重启 DSH,screen_sight 才会出现。
  • Electron / Chromium 应用在 UI Automation 里通常只暴露窗口层;要读标签页得让浏览器开 --remote-debugging-port,插件不替你开。
  • 中文标题按字符截断,… 是截断标记,不是原文。
  • 不截屏、不上传、不读剪贴板、不落盘;只在 127.0.0.1 上通信用,没有出站请求。
  • 守护进程端口从 8791 起找,被占用就往后挪(最多 +9)。如果机器上已有 dsh-screen-sense 在跑同样的守护进程,本插件会直接接上去,不会起第二个轮询器。

和谁一起用

| 插件 | 为什么 | | --- | --- | | dsh-whale-gaze | eyes 读结构(便宜、省 token),gaze 看画面(摄像头/截图)。先 eyes 判断「在哪个应用」,需要细节再开 gaze。 | | dsh-whale-sight | 需要看视频或长画面时交给 sight;日常「在干嘛」用 eyes 就够。 | | dsh-shiori-bridge | 跨会话时,先看一眼对面会话所在的窗口,再决定要不要 relay。 | | dsh-cortex-memory | 把「用户当时在用哪个应用」记成情景记忆的一部分。 |

需要额外装的软件

不需要。插件只依赖 DSH 与 Node.js,读的是 Windows UI Automation 的结构化文本,不装模型、不要密钥。

安装

一键包(Windows,推荐给不熟悉命令行的人)

  1. 解压本压缩包;
  2. 双击 install.cmd;
  3. 想先看它要做什么,就在 PowerShell 里跑 .\install.ps1 -DryRun(不会改任何东西)。

脚本会自动找 dsh 命令、校验 SHA256、备份 profile 的 package.json,再装进 desktop profile。装完重启 DSH。

npm

dsh plugin --profile desktop add [email protected]

卸载

dsh plugin --profile desktop remove dsh-whale-eyes

许可

MIT © 2026 Lh1314-China。问题请走 Issues。