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

@diffpal/diffpal

v0.1.38

Published

Meta package for diffpal

Readme

DiffPal

ci diffpal-dev review npm license: MIT

Open-source AI PR review you control.
Bring your own agent. Keep one PR review workflow.

DiffPal turns pull request diffs into structured findings, summaries, inline comments, and merge gates across GitHub, GitLab, and Azure DevOps without locking your team into a hosted review platform.

Get started in 5 minutes · Bring your own agent · See examples · Read the docs

What DiffPal Publishes

DiffPal runs in CI and keeps the review output consistent even when teams use different AI agents, accounts, or hosts.

| Output | Where it shows up | | --- | --- | | PR/MR summary | GitHub reviews, GitLab summaries, Azure PR threads | | Actionable findings | Inline comments, discussions, or PR threads on changed lines | | Review artifacts | .artifacts/diffpal/findings.json, summary Markdown, SARIF, Code Quality | | Merge gates | CI exit status, checks, commit statuses, or PR statuses |

Choose Your Path

| Goal | Start here | | --- | --- | | Fastest GitHub setup | Quickstart with the default GitHub Actions recipe | | Keep an existing agent | Generic ACP setup | | Use GitLab or Azure DevOps | CI setup guide | | Tune policy and auditing | Config reference, findings schema |

Why DiffPal

Most AI review products ask you to adopt their platform. DiffPal takes the opposite approach: keep the agent your team already trusts, keep the CI system you already operate, and standardize how review feedback is generated, published, and gated.

  • Provider choice: use Codex, Copilot, OpenCode, Gemini, Claude Code, a hosted provider, an ordered provider pool, or any ACP-compatible CLI.
  • Repository control: review config, instructions, artifacts, and gates live with the codebase instead of behind a required hosted DiffPal service.
  • Structured outcomes: DiffPal owns diff collection, findings validation, publishing, artifacts, and merge policy while your provider owns model reasoning and credentials.

How DiffPal Works

flowchart LR
    A[Pull request diff] --> B[DiffPal config and policy]
    B --> C[Selected provider or ACP CLI]
    C --> D[Structured findings bundle]
    D --> E[PR summary and inline feedback]
    D --> F[SARIF and Code Quality artifacts]
    D --> G[Merge gates and statuses]

Review instructions are produced by DiffPal's versioned Prompt Pack. Findings artifacts include the prompt id, prompt version, purpose, and findings schema version, so a review can be traced back to the prompt contract that generated it. See the config reference and findings schema for the current metadata.

GitHub In 5 Minutes

The fastest path uses the Codex API-key recipe because it is a concrete copy-paste GitHub Actions setup. Codex is not the product boundary; you can swap the provider recipe and keep the same DiffPal workflow.

npx -y @diffpal/diffpal@latest init --wizard --setup codex-api-key --platform github

Then add OPENAI_API_KEY as a repository secret, copy the GitHub Actions example, and open a trusted same-repository pull request:

mkdir -p .github/workflows
cp examples/ci/github-actions/codex-api-key.yml .github/workflows/diffpal.yml

After the first successful run you should see a DiffPal Review Summary, inline findings when actionable issues exist, and .artifacts/diffpal/findings.json in the job workspace. Read the quickstart for the complete setup and fork-PR secret guidance.

Bring Your Own Agent

DiffPal delegates review to diffpal.provider, which points at an entry under runtime.providers. Use generic_acp for any CLI that can start an ACP stdio server:

runtime:
  providers:
    my-review-agent:
      type: generic_acp
      generic_acp:
        cmd: ["your-acp-cli", "acp", "--stdio"]

diffpal:
  provider: my-review-agent

Install and authenticate that CLI in CI before running DiffPal. The rest of the workflow stays the same: full git checkout, DiffPal config, provider secret, platform token, review command, and optional gate.

Platform Support

Use the same .config/diffpal/config.yaml shape across hosts. The CI file only changes how the provider is installed, how credentials are passed, and which publisher DiffPal runs.

| Host | Native outputs | Examples | | --- | --- | --- | | GitHub Actions | PR review summary, file-level review comments, SARIF | examples/ci/github-actions | | GitLab CI | MR summary, discussions, Code Quality, SARIF, status | examples/ci/gitlab | | Azure Pipelines | PR summary thread, PR threads, PR status | examples/ci/azure-pipelines |

GitHub users can also install the DiffPal Review action with uses: diffpal/action@v1. Azure users can install the DiffPal Review extension and use the DiffPalReview@1 task.

Documentation