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

@tallshort/pi-todo-write-overlay

v0.4.1

Published

Persistent top-right todo_write overlay for Pi, with full and compact modes.

Downloads

635

Readme

@tallshort/pi-todo-write-overlay

A persistent, passive todo_write overlay for pi. It renders session tasks in the top-right corner without taking keyboard focus.

Forked from Jonghakseo/pi-extension: packages/todo-write-overlay. This fork adds zero-margin placement, persistent full/compact display modes, a configurable title, and refined task colours.

Full TODO overlay showing four tasks

Compact TODO overlay showing the active task

Installation

pi install npm:@tallshort/pi-todo-write-overlay

Do not install this extension together with another extension that registers the todo_write tool.

Features

  • Registers the todo_write tool with session-scoped state restoration.
  • Shows a non-capturing overlay anchored at the top-right corner with no margin.
  • Supports persistent full and compact display modes.
  • Toggles display mode with Ctrl+Shift+T.
  • Supports /todo-overlay full, /todo-overlay compact, /todo-overlay hide, and /todo-overlay hide-once.
  • Uses an accent-coloured icon with normal output text for in-progress tasks.
  • Uses muted styling for pending tasks.
  • Shows a compact progress counter such as 1/4 done.
  • Shows a dim, indented notes line for the in-progress task in full mode when capacity permits.

Display modes

Full

Shows the title (when configured), progress count, and task rows inside a framed overlay. By default it shows at most eight rows: when completed tasks are folded, their ✓ N completed summary reserves one row; the active task is retained, its notes line uses one row when present, and pending tasks fill the remaining space.

Compact

Keeps the frame and progress count, but displays one task row only:

  1. The in-progress task, if present.
  2. Otherwise, the first pending task.
  3. Otherwise, ✓ all done.

Configuration

Display settings are persisted in ~/.pi/agent/todo-write-overlay.json.

{
  "displayMode": "full",
  "title": "TODO",
  "maxVisibleTasks": 8
}
  • On first startup, the extension creates this file with the default title TODO and maxVisibleTasks of 8.
  • If an existing settings file omits title, or sets it to an empty string, the full-mode frame has no title. Set one with /todo-overlay title "My TODO" or /todo-overlay title 'My TODO'; clear it with title "" or title ''. Non-empty titles use the active theme accent colour.
  • maxVisibleTasks is a positive integer that limits full-mode display rows, including the active task's note. When completed tasks are folded, their summary reserves one row; the active task is retained, its note is next in priority, and pending tasks take the remaining rows. Set it in the TUI with /todo-overlay max-visible <positive integer>.
  • full and compact persist the selected display mode; hide keeps the overlay hidden for the current session; hide-once restores it when todo_write next changes the task list.

Commands and shortcut

/todo-overlay full
/todo-overlay compact
/todo-overlay hide
/todo-overlay hide-once
/todo-overlay max-visible <positive integer>
/todo-overlay title "My TODO"
/todo-overlay title 'My TODO'
/todo-overlay title ""  # or title ''

Use Ctrl+Shift+T to toggle between full and compact.

Development

npm install
npm test
npm run typecheck
npm run build

build is a type-check because pi loads the TypeScript extension source directly.

Contributing

Read CONTRIBUTING.md for setup, change, and verification guidance. Repository-specific instructions for coding agents are in AGENTS.md; planned work is tracked in TODO.md.

License and attribution

MIT. Copyright (c) 2026 Jonghakseo and tallshort.