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

devin-usage

v0.1.0

Published

Devin account plan, quota and credit usage in pi — from the Connect RPC the native Devin CLI issues at startup.

Downloads

160

Readme

devin-usage

Account plan, quota and credit usage for the Devin (Cognition) provider in pi — quota bars in a transcript card plus a compact footer status.

/devin-usage     # full report card (plan, daily/weekly quota, credit buckets)
/devin-models    # per-model credit multipliers (burn rate vs 1×)

A summary also lands in the footer status on session start (devin: Pro · day 82% · wk 91%).

What you get

  • Plan: Devin Pro / Teams / Free, org, billing window
  • Daily & weekly quota: % remaining with reset countdowns
  • Credit buckets: prompt / flow / flex credits used and left
  • Model burn rates: every registered Devin model's credit_multiplier (×2 cheap, ×230 premium) sorted cheapest-first, with cost tier and pricing type, flagging your active model
  • Overage: any overage balance surfaced when present

How it works

Devin ships no REST usage endpoint; everything comes from one unary Connect RPC the native CLI issues at startup, ported here from oh-my-pi:

POST https://server.codeium.com/exa.seat_management_pb.SeatManagementService/GetUserStatus
Content-Type: application/proto
Connect-Protocol-Version: 1
Body: raw (unframed) GetUserStatusRequest protobuf

The backend gates the response on the Metadata identity tuple — the request must announce itself as the released Devin CLI ("chisel"), not the Windsurf identity pi-devin-auth uses for chat:

ide_name "devin-cli" · ide_type "chisel" · ide_version "3000.6.2"
extension_name "chisel" · extension_version "3000.6.2"

Caveat: this is an undocumented internal endpoint guarded by a client identity check. It works today; Cognition could change or gate it at any time, at which point the command will fail loudly until updated.

Requires the Devin provider to be signed in (/login devin) — the API key comes from pi's own model registry, nothing is stored by this extension.

Install

pi install git:github.com/betim-hodza/devin-usage

or try it once without installing:

pi -e git:github.com/betim-hodza/devin-usage

License

MIT