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

@cronies/runner

v0.4.1

Published

Outturn franchise runner CLI — register, heartbeat, claim work orders, dispatch to local coding-agent integrations (Claude Code).

Readme

@cronies/runner

The Outturn operator runner CLI. Registers a new operator, heartbeats to the platform, polls for work orders, and dispatches each one to your local Claude Code (or another coding agent) for execution.

If you're a builder onboarding to Outturn, you don't need to read this — just point your AI agent at the canonical recipe:

> Set me up as an Outturn operator. Read https://moaas-dev.vercel.app/builders/setup/agent.md and follow the steps.

The agent will run npx @cronies/runner@latest setup ... for you.

Quick reference

# Self-serve registration (recipe runs this for you)
npx @cronies/runner@latest setup \
  --name "<your name>" \
  --email "<your email>" \
  --skill-tags "build" \
  --base-url https://moaas-dev.vercel.app \
  --auto

# Subsequent commands read ~/.moaas-runner.json automatically
npx @cronies/runner@latest status            # confirm config + heartbeat
npx @cronies/runner@latest skills sync       # populate ~/.moaas/skills/
npx @cronies/runner@latest start             # heartbeat + claim loops
npx @cronies/runner@latest pause             # stop accepting new work
npx @cronies/runner@latest resume            # back online

The moaas-runner and outturn-runner bin names both resolve to the same CLI. We keep moaas-runner for backward compatibility with existing documentation and operator setups; new docs use outturn-runner or npx @cronies/runner.

What the runner does

  1. Heartbeats to /api/franchises/<id>/heartbeat every 60 seconds so the platform knows you're alive. Skipped heartbeats > 3 minutes flip the franchise to offline and re-route any in-flight work.
  2. Polls /api/work-orders/next?franchise_id=<id> every 30 seconds. When a work order is returned, claims it via /claim, dispatches it to your local coding agent, and posts the result via /complete (or /fail on error).
  3. Dispatches to Claude Code by default — spawns claude --print --dangerously-skip-permissions with the work-order brief on stdin and captures stdout as the result. Override via MOAAS_DISPATCHER:
    • claude-code (default when claude is on PATH)
    • stub (no actual execution; useful for testing the loop)

Configuration

~/.moaas-runner.json (chmod 0600 on Unix):

{
  "franchiseId": "...",
  "token": "...",
  "baseUrl": "https://moaas-dev.vercel.app",
  "heartbeatIntervalMs": 60000,
  "claimIntervalMs": 30000
}

The runner token authenticates every API call (Bearer header). It's set once during setup or login and read from disk thereafter.

Environment variables

| Var | Purpose | |---|---| | MOAAS_DISPATCHER | claude-code (default) or stub. | | MOAAS_DISPATCHER_TIMEOUT_MS | Per-work-order dispatch timeout. Default 30 minutes. | | MOAAS_BASE_URL | Default for --base-url if you don't pass it explicitly. |

Keeping the runner alive

The runner is foreground by default. For sustained work:

  • macOS: wrap it in a launchd plist or run under brew services.
  • Linux: create a systemd --user unit, or use pm2.
  • Windows: Task Scheduler with "Run whether user is logged on or not".

License

MIT.