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

@1outres/dsh-bot-web

v0.4.1

Published

Searches the web and fetches pages for every bot of DeepSeek Harness through Exa, with the bots' own Exa API key, kept apart from the Host's web settings.

Readme

@1outres/dsh-bot-web

Host-only plugin (row id bot-web) that registers Exa as the web backend of every bot (Bot.registerWebBackend of @1outres/dsh-bot-core): each bot's web_search and web_fetch go through Exa, with the Exa API key set for the bots in the dsh-bots settings → Web lookup. The Host's own web settings and keys (the Web search settings page, EXA_API_KEY, DSH_WEB_*) are never used.

  • Search: POST /search (type: auto, highlights of at most 1000 characters, at most 100 results; maxResults of the request, 10 when absent). One source per URL in Exa's order; the first highlight is the snippet, all of them joined by … the summary. Exa's notices are added to the answer, its warnings go to the Host's log.
  • Fetch: POST /contents (text of at most 100000 characters, truncated beyond). Exa's servers fetch the target URL, neither the bot's VM nor the Host. A page that failed with an HTTP status is a result with that status and an empty body; any other failure is WEB_PROVIDER_ERROR.
  • Connection test: one search (numResults: 1), billed as one: 401/403 → invalid key, 402 → no credits, 429 → rate limited.
  • Errors: WEB_PROVIDER_ERROR with a sentence per cause (refused key, no credits, rate limit, other HTTP status, unreachable, malformed answer), WEB_ABORTED when cancelled. No message carries the key.

The search options are fixed (EXA_OPTIONS, src/exa/options.ts); neither the settings screen nor the row config sets them.

Layout

src/exa/ is a library of its own: it imports only @deepseek-ai/dsh-web's types and WebError, never DSH services or bot-core. request.ts and map.ts are pure (requests from WebSearchRequest / WebFetchRequest; Exa's untrusted JSON to WebSearchResult / WebFetchResult), failure.ts words and classifies failures, client.ts sends (x-api-key, redirect: "error", response at most 16 MiB) with the fetch it is given, exa.ts puts them together. src/index.ts alone connects it to bot-core.

Config

| Field | Default | Meaning | | --------- | -------------------- | ------------------------------------------------------------------------------- | | baseURL | https://api.exa.ai | Hidden. Only for a verification profile that points the bots at a fake Exa API. |