⨠feat(plugins): plugin manifests leave out version, so plugin users track main's commits
Slice: #283
Alok approved #283 with a š on its proposal. With this change, plugin users follow main's commits instead of a version string someone has to bump.
packages/sarathi/.claude-plugin/plugin.jsonandpackages/needs-you/.claude-plugin/plugin.jsonno longer setversion, and neither marketplace entry does.packages/sarathi/src/plugin-manifest.test.tsis reversed. It reads every plugin from.claude-plugin/marketplace.jsonand fails when its manifest or its entry setsversion. It also checks that each source is a relative path and that each manifest names its plugin.- The test failed on both manifests before the change; the first commit's
scripts/version of it was run that way. The second commit moves it into sarathi's package, as #283 says. - Every change is under
packages/, so no code-owned path. Neither npm package changes:.claude-plugin/is not in theirfiles.
Source. "Omit version: users track your commits instead. Leave version out of both plugin.json and the marketplace entry." (https://code.claude.com/docs/en/plugins/host-marketplace.md#release-a-new-version, read 2026-11-19). For a relative path inside a Git-hosted marketplace, the version is then "the commit SHA of the installed directory" (https://code.claude.com/docs/en/plugins/loading.md#how-claude-code-computes-the-version).
Which SHA: likely the repository's head, not verified. #283's How asked to check this first. kavach refuses running claude from a session, and the installed 2.1.326 bundle is minified, so I could not settle it directly. There is a read-only hint: ~/.claude/plugins/installed_plugins.json records needs-you's gitCommitSha as a4fc789, the repository's head at install, while needs-you's own last commit there was 1ebbe84 (#24). If the unpinned version is that same SHA, every merge to main gives plugin users a new copy, even with no plugin change. That is the cost #283 named. After merge, running claude plugin update sarathi@veda across a commit that leaves the plugin folders alone, then reading installed_plugins.json's version, will show it.
For existing users. The computed version moves from 0.7.8 (sarathi) and 0.1.2 (needs-you) to a SHA, so their next claude plugin update or marketplace update fetches a new copy. Auto-update stays off by default for this marketplace.
pnpm check:offline and pnpm --filter @veda-hq/sarathi check pass.
š¤ Generated with Claude Code
Summary by cubic
Removes the version field from both plugins' manifests and marketplace entries so plugin users track main's commits instead of waiting for a version bump.
- With no version set, Claude Code computes the plugin version from the commit SHA, so each merge reaches plugin users on their next update.
- The test in
packages/sarathi/src/plugin-manifest.test.tsnow reads every plugin from.claude-plugin/marketplace.jsonand fails when a manifest or entry setsversion; it also verifies each source is a relative path and names its plugin. - Existing users' cached copies move from
0.7.8and0.1.2to a SHA string, so their nextclaude plugin updateor marketplace refresh fetches a new copy.