Advanced
Open
Pro
Diagnosing a Blocked Plugin Dependency Upgrade
A platform team's internal marketplace has two plugins: secrets-vault
(an MCP server wrapping a secrets backend, currently tagged 2.1.0)
and deploy-kit, whose plugin.json declares:
{
"name": "deploy-kit",
"version": "3.1.0",
"dependencies": [
{ "name": "secrets-vault", "version": "~2.1.0" }
]
}
A different team's plugin, audit-tools, independently declares a
dependency on secrets-vault with "version": "~3.0". An engineer who
has deploy-kit installed tries to also install audit-tools.
- What happens, and why?
- Suppose instead
audit-toolshad declaredsecrets-vaultwith">=2.1"(no upper bound). Would the same engineer's install succeed, and at what resolved version? - The
secrets-vaultteam wants to disable the old2.1.0line entirely and force everyone onto3.x. What two separate things do they need to be true before an engineer withdeploy-kitinstalled can safely drop the~2.1.0constraint?
Share this question