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

@nahuelcio/opencode-ado

v0.4.4

Published

Azure DevOps plugin for OpenCode — PR reviews, profiles, sidebar panel

Readme

@nahuelcio/opencode-ado

npm version

Azure DevOps plugin for OpenCode + Pi.

Install

OpenCode

npx @nahuelcio/opencode-ado init

This wizard:

  • stores your PAT in ~/.azure-devops-cli/pat
  • registers the server plugin in ~/.config/opencode/opencode.json
  • registers the sidebar plugin in ~/.config/opencode/tui.json

Pi

pi install npm:@nahuelcio/opencode-ado

Then create config with:

/ado:config

CLI

npx @nahuelcio/opencode-ado init       # interactive setup wizard
npx @nahuelcio/opencode-ado sync       # register existing ADO config in OpenCode + TUI
npx @nahuelcio/opencode-ado show       # show current config
npx @nahuelcio/opencode-ado --help     # help

For local workspace testing (without publishing):

node dist/bin/opencode-ado.js sync-local

Configuration

OpenCode (~/.config/opencode/opencode.json)

The plugin config is stored in OpenCode as plugin options:

{
  "plugin": [
    [
      "@nahuelcio/opencode-ado",
      {
        "defaultProfile": "work",
        "profiles": {
          "work": {
            "org": "https://dev.azure.com/myorg",
            "project": "myproject",
            "patEnvVar": "AZURE_DEVOPS_PAT",
            "repos": ["backend", "frontend"],
            "default": true
          }
        }
      }
    ]
  ]
}

Pi (~/.azure-devops-cli/config.json or .pi/settings.json)

{
  "ado": {
    "defaultProfile": "work",
    "profiles": {
      "work": {
        "org": "https://dev.azure.com/myorg",
        "project": "myproject",
        "patEnvVar": "AZURE_DEVOPS_PAT",
        "repos": ["backend", "frontend"]
      }
    }
  }
}

Pi config lookup order:

  1. .pi/settings.json (project-local)
  2. ~/.pi/agent/settings.json (global)
  3. ~/.azure-devops-cli/config.json (shared fallback)

Authentication

Requires an Azure DevOps PAT with scopes:

  • Code (Read & Write)
  • Pull Request Contribute (Read & Write)
  • Work Items (Read)

PAT resolution order:

  1. AZURE_DEVOPS_PAT environment variable
  2. ~/.azure-devops-cli/pat

Available Tools

  • ado_prs
  • ado_pr
  • ado_pr_threads
  • ado_pr_comment
  • ado_review
  • ado_pr_diff
  • ado_pr_file
  • ado_pr_review_context
  • ado_select_pr
  • ado_profile
  • ado_profiles
  • ado_profile_use
  • ado_work_items
  • ado_work_item
  • ado_work_item_update
  • ado_work_item_comment
  • ado_work_item_types
  • ado_related_work_items

Pi Commands

  • /ado:status — show ADO connection status
  • /ado:profiles — list configured profiles
  • /ado:switch — switch active profile
  • /ado:config — write config template to ~/.azure-devops-cli/config.json

Development

npm install
npm run build
npm test

License

MIT

Links