comfy-org/comfy-cli

comfy-custom-nodes-migration

Packaged fallback for migrating a custom-node pack from V1 to V3 registration.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/comfy-org/comfy-cli --skill comfy-custom-nodes-migration

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Migration fallback

A module loads through exactly one registration route and NODE_CLASS_MAPPINGS wins: when present and not None, loading stops there and a comfy_entrypoint in the same module is never called. An empty mapping still wins; only absent or None falls through. A half-migrated module therefore presents as "the new nodes did not appear", with no error. Migrate a module whole, or keep the two generations in separate packs.

Changing a node id breaks every saved workflow that used it, so migrate identity explicitly rather than renaming.

Deprecating and replacing are two stages, not one recipe. is_deprecated marks a node that is still registered, steering new users away while old workflows keep running. A replacement takes over only once that class stops being registered. Deprecate first, register the replacement in the same release, and let the release that finally drops the old class carry the migration.

Build io.NodeReplace(new_node_id=…, old_node_id=…, old_widget_ids=…, input_mapping=…, output_mapping=…) and await node_replacement.register(...). It fires only when the old class is absent from the loaded catalog; only the first replacement registered for an old id is used; unmapped inputs are dropped and widget values match positionally, which is what old_widget_ids orders; and moving a downstream link to a different output position needs an output_mapping entry. A runtime that does not expose node_replacement has no replacement path — state that limit rather than working around it.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
comfy-org
Communauté

comfy

Generate images, videos, audio, and 3D via ComfyUI — CLI surface, workflow creation hierarchy (template → fragment → raw JSON), domain gotchas, cloud auth, multi-stage orchestration.

installations
2
GitHub Stars
1 k
Mis à jour
20 oct.
comfy-org
Communauté

comfy-agent-permissions

Use when a permission blocks the local comfy agent — a folder it cannot read or write, a host a download was refused for, a shell it does not have — to know what the agent may reach by default, how a request is recorded (requestpath, requesthost) and how only the user approves it (the agent panel or the in-chat card), the start-time settings, and what can never be granted.

installations
2
GitHub Stars
1 k
Mis à jour
20 oct.
comfy-org
Communauté

comfy-build

Build a custom ComfyUI environment on the Comfy developer platform with comfy-cli: turn a local install, a ComfyUI Desktop snapshot, a workflow JSON, or nothing but a Dockerfile, a Modal script or a sentence into a committed comfy-build.yaml and a green release. Use whenever the user wants to package, build, pin, or reproduce a ComfyUI environment, decide the dependency pins before the first cut, or read a failed build's log. Stops at a green release; comfy-deploy takes it from there.

installations
2
GitHub Stars
1 k
Mis à jour
20 oct.
comfy-org
Communauté

comfy-build-authoring

Reference skill cited by comfy-build. Read it with comfy skills show comfy-build-authoring when authoring a comfy-build.yaml definition by hand — the user has no ComfyUI install to scan, or you are editing a spec's models and customNodes directly. Covers searching the node registry, resolving model filenames to public sources, choosing the directory a weight lands in, and every field of the definition schema.

installations
2
GitHub Stars
1 k
Mis à jour
20 oct.