stage_extension
Clone a GitHub ComfyUI extension into a safe staging directory and report what installing it would change, so you can review risk and Manager compatibility before deciding to install.
Instructions
Clone a repository somewhere safe and report what installing it would mean.
The answer to "this pack is on GitHub and not in the registry", and it deliberately
stops one step short of installing. The clone goes to a staging directory that is
not custom_nodes, which is the only place ComfyUI looks - so nothing here is
imported, no install.py runs, and no package moves. What comes back is what a
person needs in order to decide: what the pack says it is, what it would install,
what that would move in this environment, and whether ComfyUI-Manager would accept
it at the security level this ComfyUI is configured with.
When Manager would refuse it, that refusal stands. Its security_level is the
administrator's answer to whether this ComfyUI may install code from an unvetted
repository, and there is no tool here that installs one anyway - the decision to go
further belongs to a person at a terminal, who can see this report first. That is
the whole reason this tool exists rather than a git-and-pip installer.
The rating is a prediction. It reproduces Manager's own get_risky_level against
the catalogue on disk, and Manager merges a fresher copy from the network at call
time, so this can say "high" where Manager would say "middle" - never the reverse.
Args:
url: an https:// repository URL. Only that scheme, because anything else
reaches something other than a network fetch and a value beginning - is an
option to git rather than a repository.
ref: a branch or tag to clone instead of the default branch.
refresh: clone again over a copy already staged. Off by default, so asking twice
costs nothing and reads what is there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| url | Yes | ||
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||