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

@opencode-compat/dsh-bridge

v0.4.0

Published

Run unmodified OpenCode AI SDK provider plugins as DeepSeek Harness LLM adapters (Cordis LlmAdapter)

Readme

@opencode-compat/dsh-bridge

Runs unmodified OpenCode aisdk-type plugins as LLM adapters on DeepSeek Harness (dsh / dsh web).

DSH is not an OpenCode fork and has no @opencode-ai/plugin-shaped package, so the facade / ocp setup path does not apply. This package is a Cordis plugin that loads the OpenCode plugin dynamically and registers it with ctx.llm.registerAdapter(...), translating AI-SDK doStream to DSH StreamChunk.

User install and verify: docs/hosts/dsh-family.md. This file is the package contract.

Adding a provider

Cordis patch ($DSH_HOME/profiles/web/cordis.patch.yml), not a JSON file:

- id: ocp-dsh-bridge
  config:
    providers:
      - package: cursor-opencode-provider
        apiKey: CURSOR_API_KEY

Only package is required. Optional fields match the Pi-family spec shape (providerName, apiKey, createOptions, disableOAuth, preferAuthMethod, splitDimensions, directory).

| Discovered | From the plugin's own… | |---|---| | provider id | auth.provider (else the package name; de-collided against reserved DSH ids such as cursorcursor-opencode) | | model catalog | config hook — config.provider[id].models | | API key | apiKey CredentialRef env name via ctx.credentials.resolve (native names, not DSH_-prefixed) | | streaming | createXxx() AI-SDK V3 factory (doStream) | | session affinity | DSH GenerateOptions.sessionId → V3 headers["x-opencode-session"] | | effort variants | plugin variants / effortLlmResolvedModelInfo.reasoning |

The Models list is the dsh-bridge settings section (same shape as llm-pi-ai.providers.<id>). The bridge seeds dsh-bridge.providers.<route> from the patch so a registered adapter shows as a configured row.

Install

dsh plugin --profile web add @opencode-compat/dsh-bridge
# then set config.providers[] as above; restart dsh web

Local checkout:

./scripts/ocp-dev.sh run dsh
pnpm --prefix /path/to/deepseek-harness dsh web

Do not run ocp setup against DSH.

Path bridge

On apply, installs Symbol.for("opencode.host.path-bridge"):

  • globalDataDir$DSH_HOME or ~/.dsh
  • globalCacheDir$XDG_CACHE_HOME/opencode or ~/.cache/opencode
  • projectConfigDirs<workspace>/.dsh and <workspace>/.opencode

License

MPL-2.0