[PR #1398] [MERGED] revise /customnode/installed api #1885

Closed
opened 2026-10-28 21:05:08 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/1398
Author: @ltdrdata
Created: 1/5/2025
Status: ✅ Merged
Merged: 1/9/2025
Merged by: @huchenlei

Base: main ← Head: improve/api-installed


📝 Commits (10+)

  • 784d32c revise /customnode/installed
  • 0f73a69 fix condition
  • 7d9df9c improved: add mode=imported for startup snapshot
  • 93f2cca improved: move cache dir to user directory
  • b8905b9 Merge branch 'main' into improve/api-installed
  • 8249e29 improved: move cache dir to user directory
  • 4813c94 Merge branch 'main' into improve/api-installed
  • 5ff8a60 Merge branch 'main' into improve/api-installed
  • bbd4831 modified: /customnodes/installed
  • 9c0fb43 Merge branch 'main' into improve/api-installed

📊 Changes

5 files changed (+104 additions, -17 deletions)

View changed files

📝 glob/cnr_utils.py (+23 -0)
📝 glob/manager_core.py (+60 -1)
📝 glob/manager_server.py (+8 -7)
📝 js/workflow-metadata.js (+12 -8)
📝 pyproject.toml (+1 -1)

📄 Description

improved: don't fetch data from cnr for the api
improved: change format {<cnr id>: <version>} -> {<module>: {'ver': <version>, 'cnr_id': <cnr id>, 'enabled': <enable/disable status>}}
improved: add mode=imported for startup snapshot

  • /customnode/installed - current snapshot
  • /customnode/installed?mode=imported - startup snapshot

example:

{
      "ComfyUI-GGUF": { // unknown
        "ver": "3dc384b23366983b28222cbf681b808053949a43",
        "cnr_id": "",
        "enabled": true
      }, 
      "comfyui-impact-pack": {  // nightly
        "ver": "12e838a3209202f4fbe06f1af8607cb1417560f5",
        "cnr_id": "comfyui-impact-pack",
        "enabled": true
      },
      "comfyui_layerstyle": {  // cnr
        "ver": "1.0.90",
        "cnr_id": "comfyui_layerstyle",
        "enabled": true
      },
      "comfyui-supir@nightly": { // disabled
        "ver": "53fc4f82f139e0875e1f4f3716fbeafa073e4242",
        "cnr_id": "comfyui-supir",
        "enabled": false
      },
}


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/1398 **Author:** [@ltdrdata](https://github.com/ltdrdata) **Created:** 1/5/2025 **Status:** ✅ Merged **Merged:** 1/9/2025 **Merged by:** [@huchenlei](https://github.com/huchenlei) **Base:** `main` ← **Head:** `improve/api-installed` --- ### 📝 Commits (10+) - [`784d32c`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/784d32c8ecab6990f6a6be9f75357029da7a770b) revise /customnode/installed - [`0f73a69`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/0f73a69d7deae6de4ec6dacc165f78fe01085ca1) fix condition - [`7d9df9c`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/7d9df9cc4733460044601bfaa93bb3058e6ebb38) improved: add `mode=imported` for startup snapshot - [`93f2cca`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/93f2ccaedab67fd22f9d2608075ab41a858a6b54) improved: move cache dir to user directory - [`b8905b9`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/b8905b90180d95a5928e2198f7abf974498f7c3c) Merge branch 'main' into improve/api-installed - [`8249e29`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/8249e290b6ffde17dcb5ec001c627ae081d1df98) improved: move cache dir to user directory - [`4813c94`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/4813c94bf9873efcf0d405182fab1325eb2d6e66) Merge branch 'main' into improve/api-installed - [`5ff8a60`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/5ff8a6059d67e3e4daf495c898e59cfa53d3901e) Merge branch 'main' into improve/api-installed - [`bbd4831`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/bbd48312828289044611a815aefaed509251b1a2) modified: /customnodes/installed - [`9c0fb43`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/9c0fb43b4daa3ec5f5e6cbd281d1cc8e03f653be) Merge branch 'main' into improve/api-installed ### 📊 Changes **5 files changed** (+104 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `glob/cnr_utils.py` (+23 -0) 📝 `glob/manager_core.py` (+60 -1) 📝 `glob/manager_server.py` (+8 -7) 📝 `js/workflow-metadata.js` (+12 -8) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description improved: don't fetch data from cnr for the api improved: change format `{<cnr id>: <version>} -> {<module>: {'ver': <version>, 'cnr_id': <cnr id>, 'enabled': <enable/disable status>}}` improved: add `mode=imported` for startup snapshot * `/customnode/installed` - current snapshot * `/customnode/installed?mode=imported` - startup snapshot example: ``` { "ComfyUI-GGUF": { // unknown "ver": "3dc384b23366983b28222cbf681b808053949a43", "cnr_id": "", "enabled": true }, "comfyui-impact-pack": { // nightly "ver": "12e838a3209202f4fbe06f1af8607cb1417560f5", "cnr_id": "comfyui-impact-pack", "enabled": true }, "comfyui_layerstyle": { // cnr "ver": "1.0.90", "cnr_id": "comfyui_layerstyle", "enabled": true }, "comfyui-supir@nightly": { // disabled "ver": "53fc4f82f139e0875e1f4f3716fbeafa073e4242", "cnr_id": "comfyui-supir", "enabled": false }, } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:05:08 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#1885
No description provided.