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

agent-detective

v1.1.0

Published

AI-powered code analysis agent that responds to events from Jira, Telegram, Slack and more

Readme

Agent Detective

License: MIT CI Version

AI-powered code analysis agent that responds to events from Jira, Telegram, Slack and more.

Concept

When a new incident is created in Jira, this agent analyzes the relevant repository to identify possible causes and writes a detailed comment to help developers resolve it.

Architecture

Core agent logic is source-agnostic — plugins normalize events from different sources (Jira, Telegram, Slack) into a common format.

Run it (npm)

Install on a host where your agent CLI (OpenCode, Cursor, Claude) is already on PATH and authenticated:

npm i -g agent-detective
mkdir -p ~/agent-detective && cd ~/agent-detective
agent-detective init --repo-path /absolute/path/to/your/git/checkout --repo-name symfony
agent-detective doctor --config-root .
agent-detective --config-root .

Five-minute walkthrough with a mock Jira webhook (no Jira account): Get started. Full Jira + tunnel: Golden path. Production VM: Deployment.

Develop it (pnpm)

Clone the monorepo when you change core code or plugins:

git clone https://github.com/andezdev/agent-detective.git
cd agent-detective
pnpm install
pnpm dev

CI runs pnpm build (packages) and pnpm run build:app (root dist/). See Development Guide.

Packages

| Package | Description | |---------|-------------| | Root app | Fastify server (src/, not under packages/) | | @agent-detective/types | Host-internal type-only contract package (re-exported through @agent-detective/sdk; plugins should not depend on it directly) | | @agent-detective/sdk | Plugin-author SDK — single dependency for plugins. Bundles defineRoute, registerRoutes, definePlugin, zodToPluginSchema, service-name constants (REPO_MATCHER_SERVICE, PR_WORKFLOW_SERVICE), StandardEvents, and re-exports every plugin-facing type from @agent-detective/types | | @agent-detective/observability | Logging, metrics, health | | @agent-detective/process-utils | Process / shell helpers | | @agent-detective/local-repos-plugin | Local repositories + RepoMatcher | | @agent-detective/jira-adapter | Jira webhook adapter | | @agent-detective/linear-adapter | Linear webhooks + OAuth, signature verification, deduplication; posts analysis back on task completion (E2E) |

Configuration

Start with docs/config/configuration-hub.md (load order and top-level keys), then docs/config/configuration.md for the full env and plugin tables, docs/reference/generated/app-config.md for the top-level app schema (Zod/JSON), and docs/reference/generated/plugin-options.md for bundled plugin fields.

Configure via config/default.json (and optional config/local.json):

{
  "port": 3001,
  "agent": "opencode",
  "plugins": [...]
}

Operator docs: Get started · Installation paths · Upgrading · Threat model

Support matrix

| Dimension | Supported / tested in CI (typical) | Notes | |-----------|--------------------------------------|--------| | Runtime | Node.js 24+; npm CLI agent-detective | See package.json engines / packageManager. | | Host OS | Linux for production guides (systemd + nginx) | macOS/Windows OK for dev; WSL acceptable for local smoke. | | HTTP server | Fastify on configurable port (default 3001) | /api/health, /api/metrics, Scalar /docs. | | Agent CLIs | OpenCode documented; Claude / Cursor agent ids registered in-repo | Match config.agent to an installed CLI; see cursor-agent.md for Cursor. | | Jira | Jira Cloud webhooks + REST (Basic or OAuth 2.0 3LO) | Webhook + Automation shapes per jira-manual-e2e.md. Data Center not separately certified—treat as best-effort if APIs align. | | Linear | Linear webhooks + GraphQL comments (OAuth or PAT) | linear-manual-e2e.md, linear-adapter.md. | | Kubernetes / Helm | Not shipped in-repo | Bring your own container or VM; see installation.mdx. |

Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.