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

@dhruv2mars/relunar

v0.3.0

Published

CLI-first GitHub issue repro harness for coding agents

Readme

Relunar CLI

Relunar is a CLI-first GitHub issue repro harness for coding agents.

npm install -g @dhruv2mars/relunar
relunar

Relunar is a harness, not an agent. Codex, Cursor, Claude Code, or a human decides what to run. Relunar handles GitHub issue reads, Daytona sandbox creation, repo clone, configured commands, logs, reports, cleanup, and optional issue comments.

Agents are the primary end users. Humans set up auth and config; agents drive list → probe → finish.

First-Time Workflow

Machine setup once:

npm install -g @dhruv2mars/relunar
relunar setup

Repo setup once inside each target repo:

cd target-repo
relunar init
relunar repo link owner/repo
relunar doctor

Agent workflow

relunar doctor --json
relunar issues list --state open --limit 20 --json

# One-shot: start (or resume an active run), run a probe, leave sandbox warm
relunar repro 123 --claim "Issue crashes on the supplied fixture" --expect-exit 1 --stderr-match "crash" -- bun test path/to/repro.ts

# Or multi-step lifecycle
relunar repro start 123
relunar repro upload <run-id> ./repro.ts repro.ts
relunar repro exec <run-id> --claim "Empty config crashes with Error: boom" --expect-exit 1 --stderr-match "Error: boom" --repeat 3 -- bun repro.ts
relunar repro evidence <run-id> --json
relunar runs show <run-id> --json

# Agent judges outcome from probe evidence (environment_ready ≠ reproduced)
# Supply narrative fields for maintainer-useful comments — Relunar formats, does not invent steps
relunar repro finish <run-id> \
  --outcome reproduced \
  --evidence probe-1 \
  --summary "Observed issue behavior." \
  --repro-steps "1. …" \
  --observed "key stderr…" \
  --expected "…" \
  --environment "tsc 5.x / node 22"

Optional one-shot finish (flags before --):

relunar repro 123 --finish --outcome reproduced --summary "Observed issue behavior." --repro-steps "1. run bun repro.ts" --comment -- bun repro.ts

Post a GitHub issue comment only when explicit (--comment on finish). Conclusive outcomes require agent-authored steps, observed behavior, expected behavior, and environment. Preview later with repro comment preview; a failed post can be retried safely with repro comment post. Harness details stay in report.json.

environment_ready means the sandbox is ready for probing — not that the bug was reproduced.

Repository Config

relunar init creates .relunar.yml:

version: 1

setup:
  - bun install

baseline:
  - bun run typecheck
  - bun test

sandbox:
  image: node:22-bookworm
  resources:
    cpu: 4
    memory: 8
    disk: 10
  autoStopMinutes: 60

workspace:
  workdir: repo
  submodules: false
  lfs: false

environment:
  variables:
    CI: "true"
  passthrough:
    - TEST_API_TOKEN

services:
  - name: app
    start: bun run dev
    ready: curl -fsS http://127.0.0.1:3000/health
    stop: pkill -f "bun run dev"

artifacts:
  collect:
    - test-results/**

sync:
  onExec: false
  includeUntracked: false
  # Extends built-ins (node_modules, .git, .relunar, target, dist, …)
  exclude:
    - coverage

evidence:
  reproduced:
    # Default when unset: requireProbeSignal (fail/timeout or non-empty output)
    # requireProbeOutput: true
    # requireNonZeroExit: true
    # requireOutputMatch: "(?i)error|panic|fail"
    # requireArtifacts:
    #   - repo/repro-output.log

commandTimeoutSeconds: 300

report:
  maxLogLines: 200

setup installs dependencies. baseline verifies environment readiness. Probes use machine assertions: --expect-exit, --stdout-match, --stderr-match, --output-match, --file-exists, and --max-duration-ms. --repeat requires every attempt to pass; reset and control commands support causal checks. Raw output alone is unverified. repro finish accepts only reproduced, not-reproduced, or blocked, collects configured artifacts, and records an environment fingerprint. An explicit image or snapshot wins; otherwise common repository toolchain files select an image automatically.

.relunar/runs/<run-id>/
  report.md
  report.json
  logs.txt

Auth

GitHub token resolution:

  1. RELUNAR_GITHUB_TOKEN
  2. gh auth token
  3. OS keychain value saved by relunar auth github --token <token>
  4. Local Relunar secret file saved by relunar auth github --token <token>

Daytona API key resolution:

  1. RELUNAR_DAYTONA_API_KEY
  2. OS keychain value saved by relunar auth daytona --api-key <key>
  3. Local Relunar secret file saved by relunar auth daytona --api-key <key>

On macOS, Relunar prefers the OS keychain. On Linux, Windows, or when macOS keychain access is unavailable, Relunar stores secrets in ~/.config/relunar/secrets.json with owner-only file permissions where the platform supports them.

Real Daytona/GitHub E2E smoke test:

RELUNAR_GITHUB_TOKEN=... RELUNAR_DAYTONA_API_KEY=... bun run test:e2e

Optional Daytona settings:

RELUNAR_DAYTONA_API_URL=https://app.daytona.io/api
RELUNAR_DAYTONA_TARGET=default

Commands

relunar init
relunar setup
relunar doctor [--json]
relunar auth github [--token <token>]
relunar auth daytona --api-key <key> [--api-url <url>] [--target <target>]
relunar repo link owner/repo
relunar issues list [--state open|closed|all] [--limit N] [--json]
relunar repro <issue-number> -- <probe-command>
relunar repro <issue-number> --finish --outcome reproduced|not-reproduced|blocked --summary <text> [--repro-steps <text>] [--observed <text>] [--expected <text>] [--environment <text>] [--comment] -- <probe-command>
relunar repro start <issue-number>
relunar repro exec <run-id> -- <command>
relunar repro evidence <run-id> [--json]
relunar repro upload <run-id> <local-path> <remote-path>
relunar repro finish <run-id> --outcome reproduced|not-reproduced|blocked --summary <text> [--repro-steps <text>] [--observed <text>] [--expected <text>] [--environment <text>] [--comment]
relunar repro abort <run-id>
relunar repro comment preview <run-id>
relunar repro comment post <run-id>
relunar repro cleanup <run-id>
relunar runs list [--json]
relunar runs show <run-id> [--json]
relunar sandboxes list
relunar sandboxes gc [--confirm]
relunar skills list|get|install [agent]