Skip to content

plugin install: github:agentrhq/webcmd installs 122 plugins with no warning #380

Description

@ankitranjan7

Summary

webcmd plugin install github:agentrhq/webcmd installs the entire monorepo — 122 plugins — with no warning. Catalog search returns github:agentrhq/webcmd/<plugin>. Agents still install the repo root.

What the eval actually did (v0.7.4, heal-country-cli)

The agent needed only rest-countries. It installed github:agentrhq/webcmd. webcmd list then showed the whole family set. Trajectory: wasteful. The repair still landed in plugins/rest-countries/top.js and scored 5.0, but only after a 122-plugin install, a pip/brew loop, and copying top.js from an old eval artifact.

plugin install --help says:

<source>  Plugin source (e.g. github:user/repo)

That example is the repo-root shape. The per-plugin form github:user/repo/plugin is not shown.

Why they did that

Search returns installSource: github:agentrhq/webcmd/rest-countries. The help example is github:user/repo. When search output is long or truncated, the shorter help example wins. Installing the root succeeds and looks like success.

Fix

  1. Installing a monorepo root that contains many plugins must refuse or confirm with a count: "this source has 122 plugins; install one with github:agentrhq/webcmd/rest-countries."
  2. plugin install --help example must be the per-plugin form, not the repo root.
  3. plugin search output should put installSource first and keep it in any truncated view.

Check

webcmd plugin install github:agentrhq/webcmd exits non-zero (or prints a structured warning and installs nothing) unless an explicit --all / plugin subpath is given. plugin install --help contains github:user/repo/<plugin>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions