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-opencode-cli

v0.1.5

Published

Bridge OpenCode CLI free models into dsh (no OpenCode login needed) via an llm adapter

Readme

dsh-opencode-cli

Bridge the free OpenCode models into DeepSeek Harness through the local opencode CLI — no OpenCode login or API key required.

It registers an LLM adapter for the opencode-cli provider route. For each model turn it:

  1. Starts one shared opencode serve instance per process (in a temporary, locked-down project with the dsh-model agent, all tools denied).
  2. Creates a session via the server's HTTP API and streams the answer back over SSE (message.part.delta), so tokens appear in real time instead of waiting for the whole reply.
  3. Converts OpenCode's text output back into harness text, and <dsh_tool_call> markers into real harness tool calls (so tools run inside dsh, not OpenCode).

Free models

  • opencode/deepseek-v4-flash-free
  • opencode/mimo-v2.5-free
  • opencode/nemotron-3-super-free
  • opencode/big-pickle

The model list is auto-discovered from opencode models opencode at startup.

Install

Install the published package into a profile:

dsh plugin --profile web add dsh-opencode-cli

If add fails with ERR_PNPM_ADDING_TO_ROOT, add this line to profiles/web/pnpm-workspace.yaml (i.e. C:/Users/Windows11/.dsh/profiles/web/pnpm-workspace.yaml):

ignoreWorkspaceRootCheck: true

then run the command again.

Usage

Pick the opencode-cli provider in the model picker, or set it as the default in $DSH_HOME/settings.yaml:

agent-default-model:
  provider: opencode-cli
  model: opencode/deepseek-v4-flash-free

Configuration

| Environment variable | Description | | ------------------------ | ------------------------------------------------------------------ | | DSH_OPENCODE_BIN | Override the OpenCode executable path. Defaults to opencode. | | DSH_OPENCODE_MODELS | Comma/space-separated model list. Values without / are prefixed with opencode/. |

Example:

DSH_OPENCODE_MODELS="opencode/deepseek-v4-flash-free,opencode/mimo-v2.5-free" dsh web

Notes and limitations

  • This is a CLI bridge, not a native provider. It runs a local opencode serve instance per process, so it is slower than an HTTP provider.
  • Tool calling is prompt-bridged via <dsh_tool_call> markers; it works for common cases but is less reliable than native tool-call protocols.
  • Text-only models.

License

MIT