Skip to content

Local marketplace keyed by directory basename, not marketplace.json name; error message misdirects #6

Description

@Roderick-Clemente

Summary

When a local-path marketplace is added, it is registered under the directory basename, not the name field from marketplace.json. Installing with the documented pluginName@marketplaceName form (using the JSON name) then fails, and the error message misdirects to a cause that is not the problem.

Environment

  • droid 0.186.0, macOS (darwin 24.6.0)

Reproduction

marketplace.json has "name": "probe-mkt". Directory is /tmp/probe-6/mkt.

droid plugin marketplace add /tmp/probe-6/mkt
# registered, but keyed as "mkt" (dir basename), not "probe-mkt"

droid plugin install probe-guard@probe-mkt
# FAILS: Marketplace "probe-mkt" not found. Run /marketplace add first.

droid plugin install probe-guard@mkt --scope project
# succeeds

marketplace list shows the mismatch: mkt (1 plugin) local:/tmp/probe-6/mkt "probe-mkt".

Expected

Either the marketplace is keyed by marketplace.json's name (as docs describe pluginName@marketplaceName), or the error names the actual key to use.

Actual

Keyed by directory basename; the docs' name-based install form fails; the error advises Run /marketplace add first for a marketplace that was just added successfully. Low severity, but costs a debugging cycle and contradicts the docs' local-testing snippet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions