[FEATURE] Add Plugin install / uninstall hooks

Resolved 💬 3 comments Opened Dec 11, 2025 by madmaxbr5 Closed Dec 15, 2025

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

If a plugin has dependencies, they can currently be triggered to install with a session_start hook.
However, this will not fire if the user is mid-session, and there is no way to remove dependencies if/when a plugin is uninstalled, which leaves a bunch of unused dependencies in the user's enviornment.

Proposed Solution

Create dedicated plugin install / plugin uninstall hooks so that dependencies can be installed immediately when a plugin is added, and uninstalled immediately when a plugin is removed.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Developer tools/SDK

Use Case Example

  1. I add a plugin
  2. The dependencies install immediately and I can use the plugin right away
  3. If I no longer want the plugin, I remove it
  4. The dependencies get removed automatically.

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗