{"version":"2.1.333","anchor":"marketplace-add-publish-reworked","canonical_anchor":"marketplace-add-publish-reworked","heading":"Adding a plugin marketplace is now done in locked steps","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/marketplace-add-publish-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Adding a plugin marketplace is now done in locked steps\n\nAdding a plugin marketplace now takes a lock, saves in steps, can fall back to an older copy, and reports `cache_not_finalized` on failure\n\n**What**\n\nA marketplace is a catalogue of plugins that you add to Claude Code so you can install plugins from it. Claude Code has changed how it saves a marketplace you add:\n\n- It takes a lock first, so only one add works on it at a time, and checks again whether it still holds the lock.\n\n- It saves the marketplace in a series of steps instead of one rename.\n\n- It can fall back to an older copy it kept aside.\n\n- If saving fails, it reports the code `cache_not_finalized`.\n\n- It removes the temporary copy only in some cases, instead of always.\n\n**Why**\n\nAdding a marketplace should cope better when two adds happen at the same time. If an add fails, `cache_not_finalized` is the code you may see.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}