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

opencode-zellij-indicator

v2.0.1

Published

Show the selected OpenCode 2 session's status and title on its Zellij tab

Readme

opencode-zellij-indicator

This TUI plugin is for OpenCode v2. For OpenCode v1, use the v1 branch.

Know which of your OpenCode agents needs you — without switching tabs.

When you run several OpenCode clients across Zellij tabs, they all look identical. You can't see which one is still grinding, which is silently waiting for you to approve something, and which finished five minutes ago.

The plugin follows the session selected in each client and uses its title and status for the Zellij tab.

The four states

| Icon | When | What it means for you | |------|------|-----------------------| | ⏳ | working | OpenCode or one of its subagents is busy — ignore it for now | | ❓ | needs you | blocked on a permission prompt or a question — go unblock it | | 🔔 | done, unseen | it finished while you were away — go check the result | | ✅ | done, seen | finished, and you've already looked |

Example

OpenCode status icons on each Zellij tab

Naming

OpenCode gives each session an auto-generated title, and the plugin uses that as the Zellij tab name. To change it, run OpenCode's built-in /rename slash command.

Split panes

If a Zellij tab has several OpenCode panes, the tab shows the focused OpenCode pane (or the oldest one while a non-OpenCode pane is focused). The other panes leave the tab name alone but still play their sounds.

Stopwatch

Show how long a session has been running. After a minute, the elapsed minutes appear next to the icon:

Stopwatch on a running tab

To disable the stopwatch set env variable OPENCODE_ZELLIJ_STOPWATCH=0.

Sound

When a non-focused Zellij tab finishes (🔔) or needs you (❓), the plugin asks OpenCode to play a notification sound.

Install

1. Install Zellij and OpenCode. Requires OpenCode 2 beta 18414 or newer and Zellij ≥ 0.44.0

2. Enable the plugin.

opencode2 plugin add opencode-zellij-indicator

3. Disable OpenCode's built-in notifications.

To prevent duplicate sounds, update the plugins list in ~/.config/opencode/cli.json:

{
  "plugins": [
    "-opencode.notifications",
    "opencode-zellij-indicator"
  ]
}

The leading - disables OpenCode's built-in notification plugin.

4. Enable notification sounds.

Enable sounds in ~/.config/opencode/cli.json:

{
  "attention": {
    "enabled": true,
    "sound": true,
    "volume": 0.4
  }
}

5. Disable OpenCode's built-in tab bar. This plugin uses Zellij's tab bar, so disabling OpenCode's built-in session tabs is recommended. Add this to ~/.config/opencode/cli.json:

{
  "tabs": {
    "enabled": false
  }
}

Outside Zellij the plugin does nothing, so it's safe to leave enabled everywhere at no cost.

6. Run OpenCode inside Zellij.

zellij      # opens the Zellij workspace
opencode2   # run this inside Zellij

That single tab now shows OpenCode's status. To feel the point of the plugin, open more tabs and run OpenCode in each — press Ctrl t then n for a new tab (Ctrl t then the arrow keys to switch between them).

Versioning

OpenCode v2 introduced a breaking plugin API. The main branch only supports OpenCode v2, for OpenCode v1 please use v0.7.0

The v1 plugin ran inside the OpenCode server. The v2 plugin runs inside each TUI client instead.