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

@chronova/pi-plugin

v1.4.1

Published

Chronova heartbeat tracking extension for oh-my-pi — sends coding activity to your Chronova dashboard via chronova-cli

Readme

chronova-pi-plugin

Chronova heartbeat tracking extension for oh-my-pi.

Automatically sends coding activity heartbeats to your Chronova dashboard via chronova-cli — a drop-in replacement for wakatime-cli.

Features

  • Automatic tracking — Monitors read, edit, write, and ast_edit tool results from oh-my-pi
  • AI line changes — Reports net AI-written lines (--ai-line-changes) for edit and write operations
  • Rate limiting — 1 heartbeat per minute per project, persisted to disk across restarts
  • Force flush on exit — All pending changes are flushed when the session shuts down
  • Fire-and-forget — Heartbeat invocations never block the agent loop

Prerequisites

  • oh-my-pi (pi-coding-agent v15+)
  • chronova-cli installed at ~/.local/bin/chronova-cli
  • A Chronova account with API key configured in ~/.chronova.cfg

Installation

omp plugin install @chronova/pi-plugin

Configuration

The plugin reads the API key from ~/.chronova.cfg automatically (same as chronova-cli). No separate configuration is needed.

Debug Logging

Set CHRONOVA_PI_DEBUG=1 or add debug = true to ~/.chronova.cfg to enable verbose logging to ~/.chronova-pi-plugin/plugin.log.

How It Works

  1. On session_start, the plugin records the project directory
  2. On tool_result events, it extracts file paths and line changes:
    • read → tracked as view (no line changes)
    • edit → diff parsed for additions/deletions
    • write → tracked as write operation
    • ast_edit → tracked from fileReplacements count
  3. When the rate limit allows (1/min/project), pending changes are flushed to chronova-cli
  4. On session_shutdown, all remaining changes are force-flushed

chronova-cli Arguments

chronova-cli \
  --entity <absolute-file-path> \
  --entity-type file \
  --project-folder <project-directory> \
  --plugin "oh-my-pi/<omp-version> chronova-pi-plugin/<plugin-version>" \
  --category "ai coding" \
  --write \                        # for write operations
  --ai-line-changes <net-lines>    # additions - deletions

Project Structure

src/
  index.ts      Extension factory: registers event handlers on ExtensionAPI
  heartbeat.ts  chronova-cli invocation (fire-and-forget via execFile)
  tracker.ts    File-change extraction from tool_result events
  state.ts      Per-project rate-limit state (persisted to disk)
  logger.ts     Debug logger writing to ~/.chronova-pi-plugin/plugin.log

License

MIT © NX Solutions UG