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

@fzhiyu/dsh-image-view

v0.1.1

Published

Show the image a read_image call returned, inline in the tool row it belongs to

Readme

DeepSeek Harness · Image View

npm license

When the agent reads an image, show the image.

read_image already returns the picture — the tool commits the bytes through the attachment service and hands the model an image block. The web UI just had nowhere to draw it, so the call rendered as a grey line naming a path, and the one thing you wanted to see was the one thing that was missing.

This plugin gives that call its own row.

What changes

before   read_image · /tmp/sp-sing.png
after    View image · /tmp/sp-sing.png
         [ the image, right there ]

The thumbnail fits a 240px long edge, and clicking it opens the original. Nothing to expand: a row whose only real content is a picture should not make you click to find out what the agent saw.

Everything else is untouched. This registers under one key — read_image — in the Tool UI's keyed view slot, so every other tool row renders exactly as it did before, and removing the plugin restores the generic row on the next boot.

Install

dsh plugin --profile web add @fzhiyu/dsh-image-view
# restart DSH

How it behaves

| Call state | Row | |---|---| | Running | Summary line with the shipped running sweep | | Succeeded | Summary line plus the image, loading and retry included | | Failed | The failure's first line, in the error colour, and no image | | Interrupted | Marked stopped rather than failed |

A settled result that carries no image block degrades to its summary. The row reports what the call actually returned; it never invents a picture.

What it does not do

  • No Host half. The bytes are already durable session history served by the official session.attachment route. A second path to that data would be a second thing to authorize correctly.
  • No private image stack. Loading, retry, and the lightbox are the official attachment components, resolved from the shell's platform module table — the same instance chat history renders. A tool-result image and a pasted image behave identically because they are the same component.
  • No other tool. One key, claimed deliberately.

Notes

Images are read under the rendering session's own authorization, through the public session verb, and their object URLs are revoked when the plugin unloads — a screenshot pinned for the life of the page is a leak, not a cache.

Targets DeepSeek Harness 0.1.0-rc.6.