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

@gitawego/dsh-web-search

v0.1.0

Published

Enhanced web search provider for DeepSeek Harness: works without any API key (free Parallel/Exa MCP backends) and optionally uses the opencode Go provider first when a credential is configured, with transparent chained fallback. Ships a Web settings secti

Readme

@gitawego/dsh-web-search

Enhanced web search provider for DeepSeek Harness (DSH). Registers a WebSearchProvider (id opencode-enhanced) into ctx.web with chained fallback:

  1. opencode Go — model-native Anthropic web_search_20250305 on the opencode Go endpoint (deepseek-v4-flash), used only when a credential is configured.
  2. Parallel — free MCP endpoint (search.parallel.ai/mcp), no API key, structured url/title/publish_date/excerpts.
  3. Exa — free MCP endpoint (mcp.exa.ai/mcp), no API key, fallback.

It works without any API key via the free backends, and returns richer snippets on the free path than the stock opencode-Go result (which yields only url + title). It never modifies DSH source or the stock dsh-web-search-deepseek plugin.

Install

Add to a DSH profile (e.g. web) via dsh plugin, or add the package to the profile's dsh.profile.bundles.

Config (settings namespace web-search-enhanced)

web-search-enhanced:
  go:
    baseUrl: https://opencode.ai/zen/go/v1   # "" or omitted disables Go
    credential: OPENCODE_GO_API_KEY          # DSH credential-ref NAME
    model: deepseek-v4-flash
    timeoutMs: 20000
  free:
    parallelUrl: https://search.parallel.ai/mcp
    exaUrl: https://mcp.exa.ai/mcp
    timeoutMs: 15000
    snippetMaxChars: 300
    maxResults: 8

Make it the active search provider

The seam auto-selects when exactly one provider is usable; otherwise set the configured id:

web:
  searchProvider: opencode-enhanced

or export DSH_WEB_SEARCH_PROVIDER=opencode-enhanced.

Switch back to the stock provider anytime with searchProvider: deepseek-official.

Development

pnpm install
pnpm test        # vitest (17 tests)
pnpm build       # tsc -> lib/
pnpm typecheck