Skip to content

marketplace.json version out of sync with package.json — blocks auto-update for Claude Code users #68

Description

@chenliuyun

Problem

The version field in .claude-plugin/marketplace.json (and .claude-plugin/plugin.json) is stuck at 0.1.0, while packages/claude-code-plugin/package.json is already at 0.1.3.

This version mismatch silently breaks auto-updates for Claude Code users. Claude Code detects new plugin versions by comparing the version in marketplace.json against what is cached locally. When the marketplace version is never bumped, Claude Code sees no change and never pulls the updated plugin — users stay on the stale cached version indefinitely.

Files affected

File Current value Should match
packages/claude-code-plugin/.claude-plugin/marketplace.jsonplugins[0].version 0.1.0 package.json version
packages/claude-code-plugin/.claude-plugin/plugin.jsonversion 0.1.0 package.json version

Suggested fix

Keep these two JSON files in sync with package.json on every release. The superpowers plugin handles this with a .version-bump.json manifest that lists every file containing a version field, then bumps them all atomically via a single script. Adding a similar step to the release workflow here would prevent the drift from recurring.

Steps to reproduce

  1. Install the switchbot plugin in Claude Code.
  2. Check the cached version at ~/.claude/plugins/cache/switchbot/switchbot/.
  3. Bump package.json version without updating marketplace.json.
  4. Restart Claude Code — no update is detected despite a newer release existing.

Metadata

Metadata

Assignees

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