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-plugin-exa

v0.15.0

Published

Adds Exa as the DeepSeek Harness web search and fetch provider, with a Settings page for the API key and search options.

Downloads

1,107

Readme

@1outres/dsh-plugin-exa

Use Exa for DeepSeek Harness web search and web fetch. The plugin registers a search provider and a fetch provider, both with the id exa, and selects them for the shipped web_search and web_fetch tools. A Settings page stores the API key in the DSH credential store and edits the search options.

Install just this plugin:

dsh plugin add @1outres/dsh-plugin-exa

Or install it with every plugin in the repository through the @1outres/dsh-plugins bundle. Enable one or the other: both insert the same exa row.

Set the API key

Open Settings → Exa, type the key, and choose Save key. The key is written through ctx.remote.credentials, so it never enters the settings file or the profile patch. Remove key deletes the stored key again.

A key can also come from the environment. Export EXA_API_KEY (or the name in Credential name) before starting DSH; the page then says the key comes from the environment and disables the input.

Settings

| Field | Default | Meaning | | ---------------------------- | -------------------- | ------------------------------------------------------------------------- | | API key | empty | Stored in the DSH credential store, never in the settings file. | | Search type | auto | Exa search mode: auto, lite, deep-lite, or deep. | | Search result content | highlights | highlights keeps short excerpts; text keeps the full page text. | | Characters per search result | 1000 | 100 to 20000 characters of highlights or text for each result. | | Only these domains | empty | One domain per line. Empty means no include filter. | | Never these domains | empty | One domain per line. Empty means no exclude filter. | | Characters per fetched page | 100000 | 1000 to 1000000 characters. A longer page is marked truncated. | | API base URL | https://api.exa.ai | Endpoint base. The provider appends /search or /contents. | | Credential name | EXA_API_KEY | Name of the stored credential or environment variable that holds the key. |

The same values live in the profile patch under the exa row. Every field is volatile, so a saved change applies to the next search or fetch without a restart. Invalid numbers are rejected on the Settings page before the Host is asked to write them.

What the providers send

Search calls POST {baseURL}/search with the query, the search type, numResults (the tool's limit, clamped to 1 to 100, default 10), and the configured content options. Domain filters are sent only when their list is not empty. Sources keep one entry per URL, in Exa's order. Highlights become the display snippet and the model summary; full text becomes the summary and a 300-character snippet cut at a word boundary. Exa notices are appended to the model-facing content; Exa warnings go to the Host log only.

Fetch calls POST {baseURL}/contents for one URL and asks for one character more than the fetch limit. A non-2xx page is returned as a fetch result with that status code and an empty body, which is how the web seam reports a page that answered with an error. A failed Exa request becomes a WebError with a clear code and a message that never contains the key.

Limits

  • Both providers share the same option snapshot per operation; changing a setting during one search or fetch affects only the next operation.
  • The search result count is bounded by the tool request as well as by Exa; the web seam can truncate further.
  • numResults is the only Exa search control this plugin exposes. Recency, categories, and other Exa-only parameters are not sent.
  • The plugin makes no network call from available() or ready(); those answer from configuration and the credential store only.

License

MIT