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

@audsiui/dsh-keenable

v0.1.1

Published

Web search and page fetch tools for DeepSeek Harness (dsh), powered by the Keenable API

Readme

@audsiui/dsh-keenable

Web search and page fetch tools for DeepSeek Harness (dsh), powered by the Keenable API. Ported from audsiui/pi-keenable.

Registers two model tools, plus a system-prompt section with usage guidance:

  • keenable_search — search the web; returns ranked results with title, URL, description, snippet and dates
  • keenable_fetch — fetch a page as markdown (title, description, author, content; refuses private/internal hosts)

Install

Mount it wherever the composition needs it. For a preset-scoped mount (only agents on that preset see the tools), add a row to the preset's agent.cordis.yml:

- id: dsh-keenable
  name: '@audsiui/dsh-keenable'
  config:
    # apiKey: 'keen_...'   # optional; see Auth below
    # baseUrl: 'https://proxy.example.com'

A bare package name in a preset row resolves from the harness install tree (its upward node_modules walk includes the global node_modules), so install globally:

npm i -g @audsiui/dsh-keenable      # or: npm link in a checkout

Host-plane mounts (visible to every preset) work the same way as any profile bundle/patch row.

API key

Keenable offers keyless public endpoints (rate limited per IP, consume no credits) and keyed endpoints (no IP rate limit, require an API key from keenable.ai).

Auth resolution order:

  1. apiKey in the plugin config (the composition row)
  2. KEENABLE_API_KEY environment variable
  3. keyless public endpoints

Base URL (for proxies/gateways) resolution order:

  1. KEENABLE_API_URL environment variable
  2. baseUrl in the plugin config
  3. https://api.keenable.ai (https enforced; plain http only for localhost)

There are no slash commands in this port — configure apiKey/baseUrl via the plugin config or the env vars above.

Usage

The model decides when to use the tools (e.g. "搜索一下最近 Rust 的稳定版本" or "用 keenable_fetch 读一下 https://example.com 的内容"). Recommended workflow: keenable_search → keenable_fetch promising results → cite the opened page, never a snippet alone.

Tool features:

  • keenable_search: query (natural-language description), mode (pro), site (one domain), max_results (1–50), snippet_max_length (180–10000), query_time, published_after/published_before and acquired_after/acquired_before (YYYY-MM-DD, ISO timestamp, or relative deltas like 7d, 6mo, 1y)
  • keenable_fetch: url, max_chars (default 50000), live (fetch from source instead of Keenable's index), prompt (LLM extraction instruction, up to 2000 chars — content contains only the answer)

Differences from pi-keenable

  • Plain-ESM dsh cordis plugin (name / inject / Config / apply) instead of a pi extension; tools follow dsh's ToolDefinition (canonical value + output.render).
  • The /keenable login|logout|base-url command and its stored-key file are not ported; the same settings live in the plugin config and env vars.
  • The keenable-web-search skill is not ported; usage guidance ships as the injected system-prompt section.
  • Numeric range constraints (max_results, snippet_max_length, max_chars, prompt length) are enforced in execute because dsh's enforced JSON Schema subset has no minimum/maximum.

Development

node --experimental-test-support  # n/a — smoke test with a fake ctx, see repo notes

Smoke-test with a fake context:

const mod = await import('@audsiui/dsh-keenable')
const tools = []
mod.apply({
  get: () => undefined,
  effect: (fn) => fn(),
  tools: { register: (t) => tools.push(t) },
}, { timeoutMs: 30000 })
console.log(tools.map((t) => t.name)) // [ 'keenable_search', 'keenable_fetch' ]

License

MIT