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

@dreamorosi/agent-timekeeper-opencode

v0.2.6

Published

OpenCode plugin for Agent Timekeeper: records Sessions, Runs, tool calls, Interactions and terminal Input and Focus as Signals, and uploads them to your own endpoint

Readme

@dreamorosi/agent-timekeeper-opencode

An OpenCode plugin for Agent Timekeeper. It records how you and your coding agents spend time in OpenCode: Sessions, Runs, model steps, tool calls, your Interactions (prompts, answers, permission replies, aborts), and in the terminal, how much you type and scroll and which Session is on screen. It uploads them to an ingestion endpoint you run yourself.

It never records prompt or answer text, tool output, which keys you press, or more than the first two words of a shell command.

Install

Add it to the plugins list in ~/.config/opencode/opencode.json, pinned to a version:

{
  "plugins": ["@dreamorosi/[email protected]"]
}

Both parts load from that one entry: the server part in the OpenCode service, and the TUI part in every terminal.

Configure

Create ~/.config/agent-timekeeper/config.json, readable by you only:

mkdir -p ~/.config/agent-timekeeper
cat > ~/.config/agent-timekeeper/config.json <<'EOF'
{
  "endpoint": "https://timekeeper.example.com/v1/signals",
  "token": "<the endpoint's bearer token>"
}
EOF
chmod 600 ~/.config/agent-timekeeper/config.json

If the file already existed, umask doesn't change its mode, so run chmod 600 on it either way.

The Machine is named after its hostname. Add "machineId": "laptop" to name it yourself.

Until the config exists, Signals wait in ~/.local/state/agent-timekeeper/spool/, and nothing is lost. The token is never read from a file other users can read.

Status

The plugin is silent while everything works. If the config is missing, the token is rejected, nothing has uploaded for a day, or the endpoint rejected some Signals, a toast in the TUI says what's wrong and how to fix it. Run /timekeeper for the current status. It never shows the token.