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

@workwayco/beads

v0.1.0

Published

Agent-native task management for WORKWAY. The tool recedes; the work remains.

Readme

@workwayco/beads

Lightweight issue tracking for autonomous agent harnesses. File-based storage with JSONL append-only log.

Installation

pnpm add @workwayco/beads

CLI Usage

Two CLIs are provided:

  • bd - Human mutations (create, update, close)
  • bv - Robot-friendly views (JSON output for agents)

Quick Start for Agents

bd onboard                 # Get started guide
bd prime                   # Load session context
bd work "Task title"       # Create and claim atomically
bd close <id> --reason "Done"
bd sync                    # Sync with git

Initialize

bd init

Creates .beads/ directory with config.json and issues.jsonl.

Work on Issues

bd work "Implement user authentication"       # Create + start working
bd work --id ww-abc123                        # Work on existing issue
bd work                                       # Auto-select highest priority ready issue

Create Issues

bd create "Implement user authentication"
bd create "Fix login bug" --priority P1 --type bug --labels security,urgent
bd create --title "Task" --type feature       # Alternative syntax
bd create "Task" --json                       # Output as JSON

List & View

bd list                    # List open issues
bd list --all              # Include closed issues
bd list --json             # Output as JSON
bd list --limit 5          # Limit results
bd list --label bug        # Filter by label
bd list --status in_progress
bd show <id>               # Show issue details
bd show <id> --json        # Output as JSON

Update & Close

bd update <id> --status in_progress
bd update <id> --priority P3
bd update <id> --description "New description"
bd close <id>
bd close <id> --reason "Completed in PR #123"
bd close <id> --comment "Fixed"               # Alias for --reason

Session Management

bd prime                   # Load context at session start
bd onboard                 # Quick start guide
bd sync                    # Sync .beads/ with git staging

Dependencies

bd dep add <id> <depends-on-id>           # Default: blocks
bd dep add <id> <depends-on-id> --type any-of
bd dep remove <id> <depends-on-id>

Progress & Status

bd progress                # Human-readable summary
bd progress --json         # Output as JSON
bd ready                   # Issues ready to work on (not blocked)
bd ready --json            # Output as JSON
bd ready --label bug       # Filter by label
bd ready --limit 3         # Limit results
bd blocked                 # Issues waiting on dependencies
bd blocked --json          # Output as JSON

Robot Mode (for agents)

bv --robot-priority        # Priority-ranked issues as JSON
bv --robot-insights        # Graph analysis, bottlenecks
bv --robot-plan            # Suggested execution sequence

Molecules (Multi-Step Workflows)

Molecules are multi-step workflow templates using a chemistry metaphor:

| Phase | Type | Persistence | Use Case | |-------|------|-------------|----------| | Solid | Proto | Template (reusable) | Workflow patterns | | Liquid | Mol | Persistent (git-synced) | Feature work | | Vapor | Wisp | Ephemeral (gitignored) | Scratch work |

bd mol current             # Show current molecule context
bd mol catalog             # List available templates (protos)
bd mol show <id>           # Show molecule structure
bd mol spawn <proto-id>    # Create molecule from template
bd pour <proto-id>         # Alias for mol spawn

Create a template by labeling an epic:

bd label add <epic-id> template

Programmatic API

import { BeadsStore } from '@workwayco/beads';

const store = new BeadsStore('/path/to/project');
await store.init();

// Create issue
const issue = await store.createIssue({
  title: 'Implement feature X',
  priority: 3,
  issue_type: 'feature',
  labels: ['enhancement'],
});

// Add dependency
await store.addDependency(issue.id, 'other-issue-id', 'blocks');

// Get ready issues (not blocked)
const ready = await store.getReadyIssues();

// Get progress
const progress = await store.getProgress();
console.log(`${progress.completed}/${progress.total} issues completed`);

File Format

.beads/
├── config.json           # Project configuration
├── issues.jsonl          # Append-only issue log
└── checkpoints/          # Checkpoint reports (optional)

Issue Schema

interface Issue {
  id: string;
  title: string;
  description: string;
  status: 'open' | 'in_progress' | 'closed';
  priority: 0 | 1 | 2 | 3 | 4;  // 0=lowest, 4=highest
  issue_type: 'bug' | 'feature' | 'task' | 'epic' | 'chore';
  labels: string[];
  created_at: string;
  updated_at: string;
  closed_at: string | null;
  metadata: Record<string, unknown>;
}

Dependency Types

| Type | Meaning | |------|---------| | blocks | Target cannot start until source completes | | any-of | Speculative parallelism - first to complete wins | | parent-child | Hierarchical relationship | | related | Informational link | | discovered-from | Issue discovered while working on another |

Design Philosophy

Zuhandenheit: The tool recedes. Agents see JSON; humans see summaries. The mechanism disappears.

Weniger, aber besser: Minimal schema, maximum utility. No unnecessary fields.