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-sidechat

v1.3.0

Published

Floating side-chat panel for OpenCode — history persistence, inline tool calls, clickable UI, and configurable alignment

Readme

OpenCode-SideChat

Floating side-chat panel for quick queries while your main session runs. Opens at the configured position (default bottom-right) via Alt+N. Uses a separate agent with read-only tools and no access to main-session context.

https://github.com/user-attachments/assets/9c27927e-6d53-487c-a87e-8912d89b3461

Install

npm install -g opencode-sidechat

Or add to ~/.config/opencode/tui.json: ["opencode-sidechat"]

Usage

| Keybind | Action | |---------|--------| | Alt+N | Toggle panel | | Alt+C | Clear chat / new session | | Alt+T | Toggle thinking blocks | | Alt+H | Toggle history viewer | | Alt+D | Delete selected history entry (in history view) | | Tab | Change model |

Clickable items in the footer: Clear, Thinking, Model, History — also work via their respective keybinds.

History

SideChat saves your session to disk when you close the panel or clear the chat. Press Alt+H to browse past sessions grouped by date. Click a session to view the full read-only transcript. Press Alt+D or click Delete to remove a session. History is capped at 50 entries (FIFO).

Configuration

Settings in ~/.config/opencode/sidechat.jsonc:

{
  "model": null,                     // Model override (null = use default)
  "systemPrompt": "...",             // System prompt for side agent
  "keybind": "alt+n",                // Toggle panel keybind
  "clearKeybind": "alt+c",           // Clear chat keybind
  "thinkToggleKeybind": "alt+t",     // Toggle thinking keybind
  "allowedTools": ["...", "..."],    // Allowed tool IDs
  "width": 70,                       // Panel width (columns)
  "transcriptHeight": 20,            // Transcript height (rows)
  "tokenLimit": 45000,               // Max tokens per session
  "position": "bottom-right",        // Panel position: bottom-right, bottom-left, top-left, top-right
  "think": {
    "defaultState": "collapsed",     // "collapsed" or "expanded"
    "showSummary": false
  }
}

Position options

  • "bottom-right" — anchored to bottom-right corner (default)
  • "bottom-left" — anchored to bottom-left corner
  • "top-left" — anchored to top-left corner
  • "top-right" — anchored to top-right corner

Security

Side agent is deny-by-default for tool access. Only tools in allowedTools are granted. Isolated session with minimal system prompt.

Changelog

See CHANGELOG.md.