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

@metyatech/task-tracker

v0.2.4

Published

Persistent task lifecycle tracker for AI agent sessions

Readme

task-tracker

Persistent task lifecycle tracker for AI agent sessions. Stores tasks in .tasks.jsonl at the root of your git repository — making task state version-controllable and syncable across PCs via git.

Overview

When using AI agents (Claude, Codex, Gemini, Copilot), tasks from conversations get forgotten across sessions. Agents are forcefully terminated and cannot persist state on exit. task-tracker lets agents record tasks to disk immediately when they arise, and check for stale work at session start.

Tasks are stored per-repository in .tasks.jsonl alongside your code. Commit the file to track task state in version control; add it to .gitignore to keep it local.

Compatibility

  • Node.js 18+
  • macOS, Linux, Windows
  • Requires git (tasks are scoped to the current git repository)

Install

npm install -g @metyatech/task-tracker

Or link locally for development:

npm link

Storage

Tasks are stored in <git-repo-root>/.tasks.jsonl (JSONL format, one JSON object per line). All commands must be run from within a git repository. The file is created automatically on first add.

Each task: { id, description, stage, committedEventId?, createdAt, updatedAt }

committedEventId is a unique ID written when the task transitions to committed. It is used to locate the git commit that introduced the event into .tasks.jsonl, enabling accurate pushed detection even when update --stage committed is called before the actual commit.

To sync tasks across PCs, commit .tasks.jsonl and push/pull like any other file.

Usage

Add a task

task-tracker add "Implement feature X"
task-tracker add "Deploy to staging" --stage in-progress
task-tracker add "Review PR #42" --json

List tasks

task-tracker list              # active tasks only
task-tracker list --all        # include done tasks
task-tracker list --stage in-progress
task-tracker list --json

Update a task

task-tracker update <id> --stage committed
task-tracker update <id> --description "Updated description"
task-tracker update <id> --stage released --json

Mark done

task-tracker done <id>

Remove a task

task-tracker remove <id>

Check for stale work

task-tracker check
task-tracker check --json

The check command:

  1. Lists all active (non-done) tasks from this repo's .tasks.jsonl
  2. Runs git status --porcelain on the repo root
  3. Runs git log @{u}..HEAD --oneline to show unpushed commits
  4. Outputs a combined report

Lifecycle Stages

Persisted stages: pendingin-progresscommittedreleaseddone

The pushed stage is derived and cannot be set manually. When a task is in committed stage, list and check display its effective stage as pushed automatically once the .tasks.jsonl commit that first introduced the task's committedEventId is reachable from the remote upstream branch (git merge-base --is-ancestor). This means derivation is accurate even when update --stage committed is called before the actual git commit.

To filter by effective pushed stage: task-tracker list --stage pushed

Setting --stage pushed on add or update is an error.

Dev Commands

npm run build        # Build with tsup
npm run test         # Run tests with vitest
npm run lint         # ESLint
npm run format       # Prettier (write)
npm run format:check # Prettier (check)
npm run verify       # format:check + lint + build + test

Community

License

MIT © metyatech