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-local-vision

v0.2.1

Published

DeepSeek Harness plugin: a model-callable local_vision tool that describes images with a local vision model through Ollama. No cloud, the image never leaves the machine. Two tiers: fast (text/colors/summary) and detailed (full description).

Readme

dsh-local-vision

Give a text-only DeepSeek Harness agent local "eyes". This plugin registers a model-callable local_vision tool that describes an image using a local vision model through Ollama. The image never leaves your machine — no cloud, no uploads, no API keys.

Requirements

  • Ollama running (default http://localhost:11434).

  • At least one vision-capable model pulled, e.g.:

    ollama pull qwen2.5vl:3b        # small, fast — text / colors / summary
    ollama pull gemma4:12b-it-qat   # larger — thorough description

Install

# from npm (recommended)
npm install -g @deepseek-ai/dsh
dsh plugin --profile web add dsh-local-vision

# or from this repository (use `file:` so @deepseek-ai/dsh-tools resolves)
dsh plugin --profile web add file:/path/to/deepseek-harness-plugins/dsh-local-vision

Restart the DSH session so the new bundle is composed. The package then appears in Settings → Plugins → Plugin list and the tool local_vision is available.

Usage

local_vision(image: "/abs/path/screenshot.png", mode: "fast")
local_vision(image: "/abs/path/mockup.png", mode: "detailed", prompt: "Describe the navigation and buttons")
local_vision(image: "screen", mode: "detailed")   # capture the current display (macOS screencapture)

Modes

| mode | intent | default model | |---|---|---| | fast | transcribe visible text, name dominant colors, one-line summary | qwen2.5vl:3b | | detailed | full factual description: layout, UI elements, all text, colors, state | gemma4:12b-it-qat |

Parameters

| Param | Type | Notes | |---|---|---| | image | string (required) | Absolute path to a PNG/JPEG/WebP/GIF, or the literal screen. | | mode | "fast" | "detailed" | Defaults to fast. | | prompt | string | Optional focused question. Defaults per mode. | | model | string | Optional override of the Ollama model id for this call. |

Configuration

Optional, at $DSH_HOME/local-vision.json (default ~/.dsh/local-vision.json):

{
  "host": "http://localhost:11434",
  "models": { "fast": "qwen2.5vl:3b", "detailed": "gemma4:12b-it-qat" },
  "temperature": 0.1,
  "timeoutMs": 300000
}

All keys are optional; defaults are shown above. The plugin sends the image to Ollama's OpenAI-compatible /v1/chat/completions endpoint as a base64 data URI.

Notes & limitations

  • The first call after the model is cold loads it into memory (a 7 GB model takes a while); subsequent calls are fast.
  • image: "screen" requires macOS and Screen Recording permission for the terminal.
  • The tool calls Ollama directly (not through the DSH sandbox executor).

License

MIT