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

@gethmy/harness

v1.6.0

Published

Execution motor for Harmony playbook stages. Runs exactly one stage per invocation: worktree, role-separated subagents, held oracle, gate evidence. It never routes, never judges, never pushes.

Readme

@gethmy/harness

Execution motor for Harmony playbook stages.

The motor runs exactly one stage per invocation, then exits. It sets up the worktree, dispatches the stage's subagent under that stage's role, places and runs a held oracle when the gate asks for one, collects the gate's evidence, and prints what it did as newline-delimited JSON.

It deliberately does not decide anything. Harmony routes and advances; gateEvaluate in @harmony/shared turns evidence into a verdict. The motor never routes, never judges, never pushes.

A driver invokes it. The drivers are @gethmy/agent (unattended) and the hmy skill (interactive). Installing this package on its own is useful only if you are building a driver.

The full chain — bind, drive, gate, advance — is exercised end to end by e2e/planted-bug.e2e.ts (bun run e2e). It spends real agent tokens against a real Harmony API and a real Claude Code login, so it runs on demand only, never in CI.

Prerequisites

Configuration

Two environment variables, and nothing else. Both are required; the motor refuses to start without either, naming the one that is missing rather than failing later with a 401.

| Variable | What it is | |---|---| | HARMONY_API_URL | The Harmony API base URL, e.g. https://app.gethmy.com/api. The motor appends /v1 per request, so do not include it. A trailing slash is trimmed. | | HARMONY_API_KEY | A Harmony API key, or an OAuth access token (one starting with hmy_at_). Sent as the X-API-Key header — the same header @gethmy/mcp uses. |

export HARMONY_API_URL="https://app.gethmy.com/api"
export HARMONY_API_KEY="…"

Generate a key with the harmony_generate_api_key tool on the Harmony MCP server, or from your account settings in Harmony.

These two variables are credentials. A stage whose role is implementer is launched with both stripped from its environment — see src/runner.ts for exactly what that does and does not close.

CLI

harmony-harness stage run \
  --card <card-id> \
  --stage <stage-id> \
  --workspace <workspace-id> \
  --repo <path-to-worktree> \
  --session <agent-session-id>

Every flag is required. --stage must match the card's current_stage: the motor refuses to collect evidence for a stage the card is not on, and refuses a stage whose owner is human.

Output is one JSON object per line on stdout — motor events, then a result object. Diagnostics go to stderr. A driver parses stdout; a human reads the driver's rendering of it.