fix: remove version field to enable automatic plugin updates#34
Conversation
Remove the static `version: "1.0.0"` field from plugin.json to enable Claude Code's git SHA-based version detection and automatic updates. Previously, the presence of a version field caused Claude Code to use static version string comparison instead of git commit SHA comparison, preventing `/plugin update` from detecting new commits. This change aligns with the pattern used by all official Anthropic plugins in claude-plugins-official marketplace. Fixes affaan-m#33
📝 WalkthroughWalkthroughRemoved the static Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Remove both version fields to enable automatic plugin updates: - metadata.version - plugins[0].version PR affaan-m#34 only removed version from plugin.json, but marketplace.json still contained version fields that prevented /plugin update from working. Official plugins (e.g., feature-dev) do not have version fields in marketplace.json, which allows git SHA-based version detection. Fixes affaan-m#36
This PR removes the static
versionfield fromplugin.jsonto enable automatic plugin updates via/plugin update.Changes
version: "1.0.0"from.claude-plugin/plugin.jsonWhy
Claude Code uses different version detection strategies:
This change aligns with the pattern used by all official Anthropic plugins.
Fixes #33
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.