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

@brokkai/simplifier-bot-linux-x64

v0.1.6

Published

Brokk Simplifier Bot native binary for linux/x64

Readme

Brokk Simplifier Bot

This standalone project now lives in BrokkAi/brokk-town/bots/simplifier-bot. Build and test from this directory; see RELEASING.md for its independent suffix-tag releases.

bsb is the complexity and value reviewer for Brokk Town. It is modeled on the released bug-bot worker architecture and uses the shared ACP runner.

It has two Town-selected modes:

  • suggest — attach a bounded admission/decline recommendation to a Mayoral decision. The Mayor remains the decision maker.
  • auto — let Town admit routine work, decline low-value complex work, and close low-value complex issues without a separate Mayoral decision.

Every incoming Town issue and pull request is assessed before normal Issue Bot or Review Bot work. The bot also performs repository scans and files simplifier issues proposing removal or replacement of subsystems that add disproportionate complexity or provide little value. Issues created by simplifier-bot carry a hidden marker and are not recursively routed back through this bot.

The implementation is deliberately conservative: it must not recommend removing security, privacy, correctness, accessibility, durability, observability, or legally required behavior, and uncertain cases are admitted for human review.

Run standalone

bsb /path/to/your-repo                     # scan every poll interval, filing proposals
bsb once /path/to/your-repo --dry-run      # one scan, save proposals without filing
bsb /path/to/your-repo --max-proposals 2 --label simplify
bsb assess /path/to/your-repo --issue 42   # print one assessment as JSON
bsb assess /path/to/your-repo --pr 7 --mode auto
bsb status /path/to/your-repo

With no configuration file, the bot discovers the repository from a checkout (or a subdirectory), a bare repository, or a Git URL, watches the remote's default branch, and keeps its own checkout and state under $XDG_STATE_HOME/simplifier-bot (default ~/.local/state/simplifier-bot). It uses an installed codex-acp, or provisions it with npx when absent.

Every bot shares these options: --config, --branch, --agent, --agent-arg (repeatable), --model, --effort, --poll, --timeout, --once, --json (structured logs) and --plain (scrolling console output). status prints the saved state; version prints the release.

Bot options: --max-proposals, --dry-run, --label (repeatable), and for assess, --issue, --pr and --mode suggest|auto. Assessments perform no GitHub writes.

Terminal dashboard

Interactive runs show a live dashboard by default. It fits the current terminal or tmux pane and adjusts when the pane is resized.

bsb /path/to/repo           # live dashboard in an interactive terminal
bsb /path/to/repo --plain   # scrolling console output and agent transcript
bsb /path/to/repo --json    # structured logs for tools and log collectors

The overview shows the repository, branch and scanned commit, scan stage, active tool, uptime, and the next scan countdown; larger panes add the model and reasoning effort. Saved counts cover every proposal in the workspace state: proposed, filed, pending and dry run. Run counters start at zero each run: completed scans, agent starts, tools and error log events. The proposal browser shows the latest 200 proposals with their concern, simpler alternative, subsystems, evidence and issue URL. On exit, new and changed proposals stay in the terminal, with full details for dry runs.

  • 1, 2, 3 or Tab: switch between overview, proposals, and activity.
  • ↑ / ↓ or k / j: browse proposals or scroll activity.
  • Enter: inspect the selected proposal. Esc returns; Page Up / Page Down scroll.
  • g / G: jump to the start/end; G resumes following live activity.
  • q or Ctrl+C: stop the bot and its active agent, then restore the terminal.

Piped input, redirected stderr, and TERM=dumb use scrolling output automatically. --plain and --json disable the dashboard and are mutually exclusive. NO_COLOR disables dashboard colors. status, assess, version and help never open the dashboard.

Worker protocol

bsb worker --socket PATH

The service speaks Brokk Town Worker Protocol v1 over a mode-0600 Unix socket.

  • GET /v1/initialize identifies simplifier-bot.
  • POST /v1/runs accepts a strict task with either an issue or PR number and mode, or neither for a repository scan.
  • Item runs return result.simplification; discovery runs create marked GitHub issues and return no typed result.
  • The stream is bounded newline-delimited JSON with progress, terminal result, and completion events.

Assessment worktrees are detached and exact-revision checked. Tracked edits and revision movement fail the run. GitHub issue creation uses a random durable request marker saved before publication; an unknown outcome is reconciled by marker and is never blindly reposted.

Development

Go 1.27.1 or newer is required.

make check

Town currently pins this package as @brokkai/simplifier-bot. Local development can override the executable with the simplifier bot command setting.

No release has been published from this initial implementation.

License

Licensed under MIT. Release packages include third-party notices for bundled dependencies, which retain their own license terms.