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

task-orchestrator

v0.0.1

Published

Autonomous task execution engine with atomic claiming, convergence tracking, and sharded state

Readme

Task Orchestrator

Autonomous task execution engine. Spawns AI agents to complete tasks defined in markdown files, measures progress via benchmarks, and converges tasks when acceptance criteria are met.

$ orchestrator add "fix-auth-bug" --goal "Fix authentication timeout" --metric "pass_count" --scope "src/auth.ts tests/auth.test.ts"
$ orchestrator               # run one task
$ orchestrator --loop         # run until all tasks converge
$ orchestrator --status       # show dashboard

Install

git clone https://github.com/wc-works-ai/task-orchestrator.git
cd task-orchestrator
npm install
git config core.hooksPath .githooks   # enable pre-commit + pre-push hooks

Requires Node.js >= 22 and pi CLI installed.

Quick start

# Create a task
orchestrator add "hello-world" --goal "Make all tests pass" --metric "failures"

# Edit the task's autoresearch.md with details, then run
npm run tick

How it works

  1. Define a task in tasks/pending/<name>/autoresearch.md with goal, metric, scope, and acceptance criteria
  2. Run the orchestrator — it picks the highest-priority task, runs the benchmark, and spawns an AI agent
  3. Agent iterates — reads the task, runs experiments, edits files in an isolated git worktree
  4. Convergence — when the benchmark reaches its target for 3 consecutive runs, the task is merged back

CLI

| Command | Description | |---|---| | orchestrator | Run until all tasks complete | | orchestrator --once | Process one tick and exit | | orchestrator --status | Show task dashboard | | orchestrator --check | Check prerequisites | | orchestrator --stop | Signal running instances to stop | | orchestrator --task <n> | Force-pick a specific task | | orchestrator add <name> | Scaffold a new task | | orchestrator edit <n> | Edit task metadata |

Environment variables

| Variable | Default | Controls | |---|---|---| | ORCH_TASKS | ./tasks | Task directory | | ORCH_REPO | auto-detect | Git repo root | | ORCH_MODEL | openrouter/owl-alpha | Default AI model | | ORCH_WORKTREES | <repo>/.worktrees | Worktree directory | | ORCH_CONVERGE | 3 | Zero-runs to converge | | ORCH_MAX_FAILURES | 5 | Failures before BLOCKED | | ORCH_HEARTBEAT_MS | 300000 | Stale claim timeout |

Task structure

tasks/pending/T01-my-task/
├── autoresearch.md   # Goal, metric, scope, acceptance criteria
├── autoresearch.sh   # Auto-generated experiment runner
└── benchmark.js      # Measures metric, outputs "METRIC <name>=<value>"

Development

See docs/DEVELOP.md for TDD workflow, SOLID principles, and code conventions. See docs/TESTING.md for test conventions.

npm run c      # type-check
npm run t      # run tests
npm run tc     # tests + coverage
npm run all    # lint + type-check + tests + build