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

@penadidik/meo-agent

v1.2.1

Published

The unified AI agent runtime from Meo Code Labs — bundles a wget-like CLI with --json/--output/--continue/--sha256/--mirror/doctor/plugins features, developer-kit (use case scaffolder), and generate-pr (PR description generator) into one cross-platform di

Readme

meo-agent

The AI agent runtime from Meo Code Labs — a unified CLI for downloading files, scaffolding use cases, and auto-generating pull requests.

Built for developers, researchers, and AI-augmented workflows.

Latest Release License: MIT Node Meo Code Labs

meo-agent is a lightweight, multi-tool AI agent runtime distributed by Meo Code Labs. It is designed to be a single, well-maintained entry point that bundles several developer utilities used across AI-assisted workflows:

| Tool | Purpose | |------|---------| | meo-agent (this repo) | Wget-like CLI — download any file via HTTP/HTTPS as a single static binary | | developer-kit | Auto-scaffold usecase-NNN/ folders (requirements.md, tasks.md, tdd.md) from a brief | | generate-pr | Auto-generate pull request descriptions from git diffs (basic, lead, hod review levels) |

These companion tools live as modules inside this repository (developer-kit/, pull_request/) and are also exposed as opencode slash commands (/developer-kit, /generate-pr).


Quick Start

Two install paths. Pick one and start using it in 30 seconds.

If you have Node.js 18+

npm install -g @penadidik/meo-agent
meo-agent https://example.com/file.zip

If you don't have Node.js (or don't want it)

  1. Download the binary for your OS from Releases → Latest:

    • Windows: meo-agent-win.exe
    • macOS: meo-agent-macos
    • Linux: meo-agent-linux
  2. Run it:

    # macOS / Linux
    chmod +x meo-agent-macos
    ./meo-agent-macos https://example.com/file.zip
    
    # Windows (PowerShell)
    .\meo-agent-win.exe https://example.com/file.zip

That's it — no installer, no runtime, no dependencies.

📖 Detailed installation instructions, troubleshooting, and build-from-source: see Installation below.


Table of Contents


About Meo Code Labs

Meo Code Labs is a research-driven software organization focused on AI-augmented developer tooling. We build small, dependable utilities that fit naturally into the workflow of engineers and AI agents alike.

If you use our tools in research or production, we'd love to hear from you.


Why meo-agent?

Most developer utilities either:

  • Are buried inside monolith frameworks
  • Require Node.js on every target machine
  • Have inconsistent semantics across platforms
  • Don't ship as static binaries

meo-agent from Meo Code Labs takes a different approach:

  • Zero external runtime — packaged as a single static binary
  • Predictable behavior — same semantics on Windows, macOS, and Linux
  • Bundled toolchain — multiple agents in one repository
  • Opencode-native — slash-command integration out of the box
  • Research-grade — designed to be auditable, minimal, and scriptable by AI agents

Tools Bundled

1. meo-agent (CLI)

The flagship tool: a wget clone built from Node.js core modules only.

meo-agent https://example.com/file.zip

Features:

  • HTTP & HTTPS support
  • Auto-detected output filename from URL path (-o to override)
  • Streaming writes — no full buffering in memory
  • Progress bar to stderr ([████░░░░] 50% 1.20/2.40 MB)
  • Resume interrupted downloads (-c / --continue)
  • SHA256 checksum verification (--sha256)
  • Mirror mode (-m / --mirror) with depth & limit controls
  • JSON output mode (--json) for AI agent consumption
  • Environment diagnostics (meo-agent doctor)
  • Plugin system (meo-agent plugins) with before_download / after_download hooks
  • Config file (~/.meo-agent.json) for default settings
  • Cross-platform static binary (no Node.js install required on target)

Source: index.js · Packaging: @yao-pkg/pkg


2. developer-kit

Scaffold a complete use case from a single brief.

Located in developer-kit/. Generates a folder usecase-NNN/ containing three structured documents from a one-sentence brief:

| File | Contents | |------|----------| | requirements.md | Functional & non-functional requirements, acceptance criteria, assumptions, constraints | | tasks.md | 5-phase task breakdown (Discovery, Design, Implementation, Quality, Release) | | tdd.md | Test matrix, edge cases, performance tests, security tests, CI/CD integration |

Usage:

S=~/Developer/meocode/meo-agent/developer-kit/developer-kit.sh
"$S" ./docs "Add login with OAuth2"

Counter logic auto-detects usecase-NNN directories and increments to the next available number. Supports explicit numbering, custom paths, and interactive TUI prompts.

Full docs: developer-kit/README.md


3. generate-pr

Auto-generate a pull request description from your git diff — at the review depth you need.

Located in pull_request/. Two-phase workflow:

  1. Metadata phase (script) — auto-fills repo, branch, file list, diff stat, and commits
  2. Analysis phase (AI / manual) — fills in <!-- REVIEW:* --> placeholders for lead / hod review levels

Usage:

S=~/Developer/meocode/meo-agent/pull_request/generate-pr.sh

# Basic PR description (default)
"$S"

# Lead-level review
"$S" lead improvements/pickup-report/08062026

# HOD-level review with PR number
"$S" hod request/SCA-Ticketing/17062026 515

Outputs to pull_request/output/<app_name>/pull_request_<datetime>.md with auto-suffix to prevent overwrites.

Full docs: pull_request/README.md


Installation

Pick one of the two paths below. Both produce the same meo-agent command.

Path A — npm (requires Node.js 18+)

npm install -g @penadidik/meo-agent
meo-agent https://example.com/file.zip

Verify:

meo-agent --version
# meo-agent 1.2.0

To update later:

npm update -g @penadidik/meo-agent

To uninstall:

npm uninstall -g @penadidik/meo-agent

📦 npm package: https://www.npmjs.com/package/@penadidik/meo-agent


Path B — Standalone binary (no Node.js required)

Download a single static binary from GitHub Releases and run it directly. No install, no dependencies, no runtime.

Windows

# 1. Download meo-agent-win.exe from the latest release
# 2. Place it anywhere; optionally rename to meo-agent.exe
# 3. Run:
.\meo-agent-win.exe https://example.com/file.zip

To make it available globally, move the .exe to a folder in your PATH (e.g. C:\Windows\System32\ or %USERPROFILE%\.local\bin\).

macOS

# 1. Download meo-agent-macos from the latest release
chmod +x meo-agent-macos
./meo-agent-macos https://example.com/file.zip

# Optional: install to /usr/local/bin for global access
sudo mv meo-agent-macos /usr/local/bin/meo-agent
meo-agent https://example.com/file.zip

Linux

# 1. Download meo-agent-linux from the latest release
chmod +x meo-agent-linux
./meo-agent-linux https://example.com/file.zip

# Optional: install to /usr/local/bin for global access
sudo mv meo-agent-linux /usr/local/bin/meo-agent
meo-agent https://example.com/file.zip

📦 GitHub Releases: https://github.com/meocode-labs/meo-agent/releases/latest


Which path should I pick?

| If you… | Use | |---------|-----| | Already have Node.js 18+ installed | Path A (npm) | | Need zero install / no runtime dependencies | Path B (binary) | | Are scripting inside CI/CD or Docker | Path B (binary) | | Want automatic updates via npm update | Path A (npm) | | Need to support ancient systems or restricted environments | Path B (binary) | | Want to ship meo-agent as part of your tool | Path B (binary) |

Both paths produce the same CLI with identical features and behavior.


Developers — Building from source

git clone https://github.com/meocode-labs/meo-agent.git
cd meo-agent
npm install
npm link           # install meo-agent as a global command

After linking, the CLI is available system-wide:

meo-agent https://example.com/file.zip

For the companion tools (developer-kit, generate-pr), invoke directly from source:

./developer-kit/developer-kit.sh ./docs "Add login with OAuth2"
./pull_request/generate-pr.sh

For opencode integration, symlink the commands:

mkdir -p ~/.config/opencode/command
ln -s $(pwd)/.opencode/developer-kit.md ~/.config/opencode/command/developer-kit.md
ln -s $(pwd)/.opencode/generate-pr.md   ~/.config/opencode/command/generate-pr.md

Then restart opencode and use /developer-kit, /generate-pr inside your AI session.

To uninstall:

npm unlink -g meo-agent

Usage by Tool

meo-agent CLI

meo-agent [options] <URL>
meo-agent [options] mirror <URL> -o <dir>
meo-agent [options] doctor
meo-agent [options] plugins

Options:

| Flag | Description | |------|-------------| | -o, --output <name> | Save to a custom filename (or directory for mirror) | | -c, --continue | Resume a partial download via HTTP Range | | -m, --mirror | Mirror mode — recursively download HTML pages + linked assets | | --mirror-depth <N> | Max recursion depth for mirror mode (default: 2) | | --mirror-limit <N> | Max total pages to mirror (default: 50) | | --sha256 <hash> | Verify downloaded file matches SHA256 hash | | -j, --json | Emit machine-readable JSON events to stdout | | -q, --quiet | Suppress progress output, only print errors | | --timeout <sec> | Network timeout in seconds (default: 30) | | --config <path> | Load config from custom JSON path | | --list-plugins | List loaded plugins and exit | | -V, --version | Print version and exit | | -h, --help | Print help and exit |

Examples:

# Basic download
meo-agent https://github.com/meocode-labs/meo-agent/archive/refs/heads/main.zip

# Custom output filename
meo-agent -o backup.zip https://example.com/file.zip

# Verify SHA256 checksum
meo-agent --sha256=abc123... https://example.com/file.zip

# Mirror a docs site
meo-agent --mirror --mirror-depth 3 -o ./docs https://docs.example.com/

# Resume an interrupted download
meo-agent --continue https://example.com/large-file.iso

# JSON output for AI agents (pipe to jq)
meo-agent --json https://example.com/data.json | jq

# Quiet mode (errors only)
meo-agent --quiet https://example.com/file.zip

# Environment diagnostics
meo-agent doctor

# List loaded plugins
meo-agent plugins

JSON event schema (emitted one per line when --json is set):

{"event":"start","url":"...","output":"...","ts":1700000000000}
{"event":"progress","received":1024,"total":2048,"percent":50,"ts":...}
{"event":"finish","output":"...","bytes":2048,"elapsed_sec":1.23,"status":200,"resumed":false}
{"event":"error","message":"...","code":"...","ts":...}
{"event":"checksum_ok","expected":"...","actual":"..."}
{"event":"mirror_done","count":12,"results":[...]}

Config file format (~/.meo-agent.json):

{
  "timeout": 60,
  "retries": 3,
  "headers": { "Authorization": "Bearer ..." },
  "outputDir": "~/Downloads",
  "mirrorMaxDepth": 3,
  "mirrorLimit": 100
}

Plugin example (~/.meo-agent/plugins/my-plugin.js):

module.exports = {
  name: 'my-plugin',
  version: '1.0.0',
  hooks: [
    {
      name: 'before_download',
      handler: async (ctx) => {
        process.stderr.write(`Downloading ${ctx.url}...\n`);
      }
    }
  ]
};

developer-kit

developer-kit <docs_dir> "<brief>" [usecase_number]

| Argument | Required | Description | |----------|----------|-------------| | docs_dir | Yes | Target directory (auto-created if missing) | | brief | Yes | One-sentence use case description | | usecase_number | No | Explicit 3-digit number (auto-incremented if omitted) |

generate-pr

generate-pr [type] [branch] [pr_number]

| Argument | Required | Default | Description | |----------|----------|---------|-------------| | type | No | basic | basic | lead | hod | | branch | No | current | Target branch | | pr_number | No | TBD | PR number for URL |


Build from Source

To produce the static binaries yourself (requires Node.js 18+):

git clone https://github.com/meocode-labs/meo-agent.git
cd meo-agent
npm install
npm run build

Output inside dist/:

dist/meo-agent-win.exe
dist/meo-agent-macos
dist/meo-agent-linux

To release a new version:

  1. Bump package.json"version": "1.0.3"
  2. Commit and push to main
  3. GitHub Actions auto-creates v1.0.3 with binaries and full release notes

Project Structure

meo-agent/
├── .github/workflows/release.yml   # Auto-build & release on push to main
├── bin/
│   └── meo-agent.js                # CLI entry point
├── lib/                            # Core modules
│   ├── args.js                     # Argument parser
│   ├── checksum.js                 # SHA256 verification
│   ├── config.js                   # Config file loader
│   ├── doctor.js                   # Environment diagnostics
│   ├── downloader.js               # HTTP/HTTPS download logic
│   ├── mirror.js                   # Recursive mirror mode
│   ├── plugins.js                  # Plugin manager
│   └── reporter.js                 # Output (human + JSON)
├── examples/plugins/
│   └── meo-agent-logger.js         # Example plugin
├── developer-kit/                  # Use case scaffolder (bash + templates)
│   ├── developer-kit.sh
│   └── templates/{requirements,tasks,tdd}.md
├── pull_request/                   # PR description generator (bash + templates)
│   ├── generate-pr.sh
│   └── templates/{basic,lead-review,hod-review}.md
├── test/
│   └── test.js                     # Unit tests (20 assertions)
├── index.js                        # Backward-compat entry → bin/meo-agent.js
├── package.json
├── README.md
├── CHANGELOG.md
├── LICENSE
└── .npmignore

Maintainers

| Role | Maintainer | |------|------------| | Lead Maintainer & Researcher | @penadidik | | Organization | Meo Code Labs | | Website | https://meocode.com |


Contributing

We welcome pull requests, bug reports, and feature proposals. For substantial changes, please open an issue first.

git clone https://github.com/YOUR-USERNAME/meo-agent.git
cd meo-agent
npm install
npm link
npm run build

Commit messages follow Conventional Commits:

  • feat: — new feature
  • fix: — bug fix
  • chore: — maintenance / tooling
  • docs: — documentation only
  • refactor: — code change with no behavior change

Roadmap

All initial roadmap items shipped.

  • [x] Progress bar for large downloads — shipped in 1.1.0
  • [x] Resume support (--continue) — shipped in 1.1.0
  • [x] Custom output filename (--output <name>) — shipped in 1.1.0
  • [x] JSON output mode for AI agents (--json) — shipped in 1.1.0
  • [x] meo-agent doctor — environment diagnostics — shipped in 1.1.0
  • [x] Checksum verification (--sha256) — shipped in 1.2.0
  • [x] Mirror mode (recursive, with depth & limit) — shipped in 1.2.0
  • [x] Config file (~/.meo-agent.json) — shipped in 1.2.0
  • [x] Plugin architecture with hooks (before_download, after_download) — shipped in 1.2.0

Future ideas:

  • [ ] WebDAV / S3 backend support
  • [ ] Interactive TUI mode (meo-agent tui)
  • [ ] Auto-update via GitHub Releases API
  • [ ] Multi-URL batch downloads (meo-agent urls.txt)

License

MIT © 2026 Meo Code Labs. Maintained by @penadidik.

"Small tools, well made, used often." — Meo Code Labs