Skip to content

v0.4.3 — fix /plugin update no-op (relative source path)

Choose a tag to compare

@krus210 krus210 released this 27 Apr 08:37
· 11 commits to main since this release
730e993

Fix

Switched marketplace.json source from the github-object form to the relative-path form "./", matching the convention used by obra/superpowers and other working single-repo Claude Code plugins.

What was broken

With {"source": "github", "repo": "krus210/archspec", "ref": "main"}, Claude Code's /plugin update was updating installed_plugins.json with the new version on every release but skipping the actual clone-and-copy step into ~/.claude/plugins/cache/archspec/archspec/<version>/. Users were stuck on the first installed version unless they manually copied files from the marketplace clone. Reproduced three times in a row across v0.4.0, v0.4.1, v0.4.2 (even with an explicit ref: main).

What changes

source: "./" makes the installer copy directly from the already-cloned marketplace into the install path — no second GitHub fetch, no opportunity for the broken code path to skip the copy.

Notes

  • The bare "." form (without trailing slash) was tried in v0.1.1 and rejected by schema validation. "./" is accepted.
  • Also brought plugin.json in line with established plugins by adding author, homepage, and keywords — discoverability only, no functional change.

Upgrade

/plugin marketplace update krus210/archspec
/plugin update archspec

After this, ~/.claude/plugins/cache/archspec/archspec/0.4.3/commands/ should contain init.md, investigate.md, sync.md, validate.md automatically — without manual cp -R.

Full diff: v0.4.2...v0.4.3