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

@booga/bwatch

v0.2.0

Published

Prompt lookup tool. Agent names a finding category from a fixed list; bwatch returns the prompt for that finding category. The prompt tells the agent how to check the external tracker for that finding.

Downloads

408

Readme

bwatch

Closed finding-category taxonomy plus corpus-driven directive emission wired to the bsuite-core 0.2.0 engine surface.

Prompt lookup tool. Agent names a finding category from a fixed list; bwatch returns the prompt for that finding category. The prompt tells the agent how to check the external tracker for that finding.

Built for agentic loops. The agent supplies a finding category, bwatch emits the directive for that category on stdout, and exits with a discriminating code so the calling agent can branch on the result.

bwatch poll --category <finding-category>   emit the directive for the named finding category; exit 0 / 1 / 2 / 64
bwatch finding-categories                   list the 9 supported finding-category identifiers
bwatch update                               self-update to the latest published version
bwatch init                                 scaffold a manifest in the current directory
bwatch tail                                 stream recent verdict transcripts
bwatch explain                              print taxonomy + exit-code reference
bwatch process                              process a queued finding batch

Exit code contract: 0 no action required, 1 finding requires action, 2 internal error, 64 malformed input.

Install

cargo install --git https://github.com/bvasilenko/bWatch

Use

bwatch poll --category sprint-conflict --source github --mission v0.1
# stdout: FINDING-DETECTED: sprint-conflict. Compare the work items currently open ...
# exit: 1

bwatch poll --category runbook-update --source https://gitlab.example.com/group/wiki
# stdout: FINDING-DETECTED: runbook-update. Read the updated runbook ...
# exit: 1

Required flag: --category <finding-category>. Optional flags: --source <name-or-url>, --mission <path-or-name>, --manifest <path>, --json, --quiet, --reason <text>.

Finding taxonomy

Closed 9-variant FindingCategory enum. The taxonomy is fixed at this version; widening lands in a later version.

| Group | Variants | |---|---| | Coordination | sprint-conflict, collaborator-took-issue, collaborator-finished-related-work, external-spec-change, runbook-update | | CMS context | cms-plugin-marketplace-release, competitor-product-launch, editorial-workflow-signal, agent-skill-published-with-vulnerability |

bwatch finding-categories prints the full list.

Corpus

The v0 corpus is hand-authored fixture material. It covers all 9 finding categories with substantive directives and is signed with the bwatch-fixture-v0 key. This corpus is seed material only; an evolved corpus ships at a later cycle. The fixture key and corpus are committed for reproducibility and are not used for production trust.

The outward-source-state quartet (Actionable, Informational, WrongTime, Misfire) is carried by the type surface but is not used as a secondary routing axis in the v0 corpus. The evolved corpus will introduce per-state variants once the evaluator-harness cycle produces sufficient empirical lift; using a single-axis corpus at v0 keeps the fixture burden proportional and matches the shape proven by sibling binaries at the same lifecycle stage.

Environment variables

| Variable | Purpose | |---|---| | BSUITE_UPDATE_BASE_URL | Override the base URL used by bwatch update to fetch the signed release manifest. Defaults to a placeholder constant. Intended for testing and enterprise mirror deployments. | | BSUITE_TRANSCRIPT_DIR | Override the directory where invocation transcript records are written. | | BSUITE_TRANSCRIPT_RETENTION_DAYS | Number of days to retain transcript records (default: 90). |

License

MIT.