fix: keep disabled unused packages manageable

This commit is contained in:
2026-07-29 19:30:54 +02:00
parent 6d433ba371
commit c43c8dde79
5 changed files with 100 additions and 17 deletions
+13 -9
View File
@@ -67,27 +67,31 @@ Click the **Node Stats** button (bar chart icon) in the ComfyUI top menu bar. A
- Summary bar with counts for each classification tier
- Sections for each tier, sorted from most actionable to least
- Expandable rows — click any package to see per-node execution counts and timestamps
- **Disable** buttons on the "Safe to Remove" and "Consider Removing" tiers (see below)
- **Disable** buttons on the "Safe to Remove", "Consider Removing", and "Recently Unused" tiers (see below)
### Disabling unused packages
When [ComfyUI Manager](https://github.com/ltdrdata/ComfyUI-Manager) is installed, the
"Safe to Remove" and "Consider Removing" sections show a **Disable** button on each
package, plus a **Disable all** button per section. Disabling:
The "Safe to Remove", "Consider Removing", and "Recently Unused" sections show
a **Disable** button on each package, plus a **Disable all** button per section.
The latter is useful for a package you installed but never used. Disabling:
- Hands off to ComfyUI Manager, which moves the package into `custom_nodes/.disabled/`
- Is fully reversible — re-enable any package from ComfyUI Manager whenever you like
- Uses ComfyUI Manager when it manages the package, otherwise moves it directly
into `custom_nodes/.disabled/`
- Is fully reversible — the *Uninstalled* section offers **Enable** for every
package found in `.disabled/`, even if it was never run
- Requires a ComfyUI restart to unload the package from the running session (a banner
with a **Restart ComfyUI** button appears after disabling)
If ComfyUI Manager is not installed, the disable buttons are hidden and stats work as before.
ComfyUI Manager is optional for these actions; packages it does not manage are
disabled and re-enabled directly by Node Stats.
> **Manager compatibility:** works with both the standalone
> [ComfyUI-Manager](https://github.com/ltdrdata/ComfyUI-Manager) custom node and
> ComfyUI core's built-in manager. For the built-in manager, launch ComfyUI with
> `--enable-manager-legacy-ui` (the extension detects the active manager and its
> API automatically). Without a reachable manager, all enable/disable/install
> actions are simply omitted.
> API automatically). Without a reachable manager, Node Stats still supports
> direct enable/disable; Manager-only workflow install and trial actions are
> unavailable.
### Workflow tab & temporary enable