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.
Summary
When a local-path marketplace is added, it is registered under the directory basename, not the
namefield frommarketplace.json. Installing with the documentedpluginName@marketplaceNameform (using the JSONname) then fails, and the error message misdirects to a cause that is not the problem.Environment
droid0.186.0, macOS (darwin 24.6.0)Reproduction
marketplace.jsonhas"name": "probe-mkt". Directory is/tmp/probe-6/mkt.marketplace listshows the mismatch:mkt (1 plugin) local:/tmp/probe-6/mkt "probe-mkt".Expected
Either the marketplace is keyed by
marketplace.json'sname(as docs describepluginName@marketplaceName), or the error names the actual key to use.Actual
Keyed by directory basename; the docs'
name-based install form fails; the error advisesRun /marketplace add firstfor a marketplace that was just added successfully. Low severity, but costs a debugging cycle and contradicts the docs' local-testing snippet.