{"version":"2.1.238","anchor":"plugin-dependency-install-and-cleanup-take-a-storage-handle","canonical_anchor":"plugin-dependency-install-and-cleanup-take-a-storage-handle","heading":"Plugin dependency install and cleanup take a storage handle","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238\/e\/plugin-dependency-install-and-cleanup-take-a-storage-handle","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.238","markdown":"### Plugin dependency install and cleanup take a storage handle\n\nPlugin dependency install and temp cleanup can now route through the storage layer when it's available.\n\n**What**\n\nThe plugin install helper now takes an options object carrying the storage handle, computes a cache lock only when the handle is present and a feature check passes, and the temp-directory cleanup takes a different route when both are available; otherwise it falls back to the previous directory-scan cleanup.\n\n**Details**\n\n- Marketplace add failures in the CLI now await an error report carrying the caught error instead of just incrementing a `cli_marketplace_add_failed` counter.\n\n**Evidence**\n\n`cli_marketplace_add_failed`\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}