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

prime-status

v0.1.3

Published

Prime Agent status line extension for the current working directory and session name

Readme

prime-status

A small Prime Agent package that adds the current working directory and session name to the status display.

In the interactive TUI, the extension renders a compact, themed card below the editor. In RPC and daemon sessions, it publishes a plain protocol-friendly line through ctx.ui.setStatus() and ctx.ui.setWidget(). It refreshes when the session starts, when turns or prompts change, and when the session name is renamed or cleared.

Install

From a local tarball:

npm pack
prime-agent package install npm:prime-status@file:/absolute/path/prime-status-0.1.2.tgz

Use --local with prime-agent package install to install it only for the current project. Restart Prime Agent, or run /reload, after installing.

Display

╭─ cwd ───────────────────────────────────────────────────╮
│  /workspaces/prime-board  •   session: Release review │
│  worktree: prime-board                                 │
╰─────────────────────────────────────────────────────────╯

The TUI card has a themed border, a cwd title, and responsive rows for the path, session, and Git worktree name. Long values are truncated to the available width. It follows the agents view palette: the border and title use border and accent, the cwd uses mdLink, a named session uses customMessageLabel, and a detected worktree uses success. Labels stay muted; unnamed sessions and missing worktrees use warning and dim. The card uses the terminal width when the host provides it and keeps an 80-column fallback in daemon sessions. In a local TUI, the card uses the custom footer so it is stacked below the built-in agents summary. Daemon-backed TUI clients do not expose custom footers, so they use the same compact card as a pre-rendered belowEditor widget; other headless clients receive the compact line instead. The visual symbols use Nerd Font glyphs (, ) and the Powerline-thin separator (). With FiraCode Nerd Font Mono, these glyphs are included in the terminal font; Powerline is not a separate font. If the session has no name, the extension displays (unnamed).

Development

npm install
npm run typecheck
npm test
npm run pack:check

License

MIT.