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

omp.nvim

v1.1.4

Published

Oh My Pi Neovim Integration

Downloads

1,037

Readme

omp.nvim

CI npm version

A seamless integration bridge between Neovim and the Oh My Pi (OMP) coding agent.

This plugin allows an active OMP terminal session to perfectly track your cursor, active file, and visual selections inside Neovim. It updates the OMP interface dynamically so the AI always knows exactly what you are looking at.

Features

  • Zero-Config Context: The AI instantly knows your active file—no need to type out paths.
  • Line-Level Precision: Sends exact line numbers (e.g., src/main.ts:42).
  • Visual Selection Support: Highlights exact code blocks (e.g., src/main.ts:40-50).
  • Non-Blocking: Uses libuv Unix sockets for zero impact on editor performance.

Requirements

  • Neovim >= 0.10.0
  • Oh My Pi >= 16.2.9

Installation & Setup

  1. Install the OMP extension:

    omp plugin install omp.nvim
  2. Configure Neovim (LazyVim / lazy.nvim): Add the following to your Neovim plugin configuration (e.g., ~/.config/nvim/lua/plugins/omp.lua):

    return {
      {
        "rauls-kjarners/omp.nvim",
        lazy = false,
        config = function()
          require("omp").setup()
        end,
      }
    }
  3. Add a Keymap: If using Snacks.terminal (included in LazyVim), you can spawn OMP in a perfectly styled side-panel. Add this to ~/.config/nvim/lua/config/keymaps.lua:

    vim.keymap.set("n", "<leader>ao", function()
      Snacks.terminal.toggle("omp", {
        win = {
          position = "right",
          width = 0.4
        }
      })
    end, { desc = "Toggle Oh My Pi" })

Agent Behavior

This plugin injects your active file path into the chat as passive background context — no extra setup required.

If you want to further tune how your agent handles this (or any other injected context), you can add your own rule to ~/.omp/agent/AGENTS.md, but it's optional.

Under the Hood

The project is split into two halves:

  1. The Neovim Plugin (lua/omp): A lightweight Lua script that hooks into BufEnter, CursorMoved, and CursorHold events. It actively tracks your focused file and broadcasts it via non-blocking libuv pipes to matching OMP sockets in $XDG_RUNTIME_DIR/omp-nvim-sockets (Linux) or the system temp directory (macOS).
  2. The OMP Extension (src/extension.ts): A native OMP extension that boots up alongside your terminal. It establishes a Unix domain socket and caches its location so Neovim can find it. It intercepts the active context and invisibly injects it into your prompts.

Run :checkhealth omp inside Neovim to verify the integration is working correctly.

Development

The OMP extension is written in TypeScript and runs natively on OMP's Bun engine without requiring compilation. Any changes to src/extension.ts will take effect the next time you boot or /reload an OMP instance. Changes to lua/omp/init.lua take effect when Neovim is restarted.