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

pi-editor-cursor

v0.1.2

Published

A blinking cursor and prompt for the Pi coding agent editor

Downloads

125

Readme

pi-editor-cursor

npm version npm downloads license

A small Pi coding agent package that replaces the input editor cursor with a slow blinking symbol and prefixes the editor with >: .

While Pi is working, the cursor becomes a static dim symbol.

| Light | Dark | |:---:|:---:| | Light theme cursor | Dark theme cursor |

Installation

Install the package globally:

pi install npm:pi-editor-cursor

The extension loads automatically and works with its defaults. For a project-local installation, add -l:

pi install -l npm:pi-editor-cursor

Configuration

Create ~/.pi/agent/editor-cursor.json (or editor-cursor.json in the directory selected by PI_CODING_AGENT_DIR):

{
  "blinkMs": 700,
  "prompt": ">: ",
  "symbol": "█",
  "color": "accent",
  "working": {
    "symbol": "░"
  }
}

These are the complete supported settings:

  • blinkMs — idle blink interval in milliseconds. Set 0 for a permanently visible idle cursor.
  • prompt — one-line editor prefix, at most 24 characters.
  • symbol — exactly one terminal-cell-wide Unicode code point used for the idle cursor.
  • color — a Pi theme color name or #rrggbb.
  • working.symbol — exactly one terminal-cell-wide Unicode code point used while the agent is working; it is rendered dim and does not blink.

Missing or invalid fields use their defaults. Named colors are validated against the active theme at startup; unknown names fall back to accent. The file is not watched: edit it, then restart Pi or use Pi's manual /reload command to reload the extension and configuration in the current session.

Compatibility and recovery

This package depends on Pi's custom-editor extension API, a private and unstable renderer hook. It was developed against Pi 0.80.10 on Node 24.18.0.

At startup it verifies the editor API and cursor-rendering protocol before replacing the editor. If a check or installation fails, it restores the stock editor while it still owns the replacement and shows one concise warning. A pre-existing or later custom editor is left untouched.

To disable the package, remove it and restart Pi:

pi remove npm:pi-editor-cursor

If Pi fails before the extension warning is visible, remove the package entry from ~/.pi/agent/settings.json (or .pi/settings.json for a project-local (-l) install), then restart Pi.

Development

pnpm install
pnpm run check
pnpm run pack:dry

License

MIT