Skip to content

Plugin update fails: name mismatch between plugin.json and marketplace.json #16

Description

@miky-mfw

Bug

Updating the plugin via /plugin menu fails with:

Failed to update: Plugin "Notion" not found

Inspecting plugin info also shows:

Error: Plugin Notion not found in marketplace

Root Cause

There is a name mismatch between the two manifest files:

  • .claude-plugin/plugin.json declares "name": "Notion"
  • .claude-plugin/marketplace.json declares the plugin as "name": "notion-workspace-plugin"

The /plugin update/info command resolves by the marketplace-level name (notion-workspace-plugin), but the UI displays the name from plugin.json (Notion). When the user triggers an update, it looks up "Notion" in the marketplace index and can't find a match.

Additionally, the old plugin name persists in ~/.claude/settings.json under enabledPlugins, causing a load error on every /reload-plugins even after reinstalling:

Plugin notion-workspace-plugin not found in marketplace notion-plugin-marketplace

Reproduction

  1. Install the plugin via /plugin menu
  2. Try to update it via /plugin → Update
  3. Observe: Failed to update: Plugin "Notion" not found
  4. Even after reinstalling, /reload-plugins shows 1 error because settings.json still references the old name

Fix

Align the names so marketplace.json plugin entry "name" matches plugin.json "name" ("Notion").

See PR: #17

Environment

  • Claude Code CLI
  • macOS
  • Plugin version: 0.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions