Files
Alexander Brown d63aaa9501 Add pack identity and kind to node replacements, with an equivalence verifier
NodeReplace gains old_pack (the cnr_id of the pack defining old_node_id) and
kind ("deprecated" or "equivalent"). Equivalent entries must name old_pack, so a
pack node type only maps to core when the workflow node came from that pack.

NodeReplaceManager dedupes on (new_node_id, old_pack) and selects a replacement
by the prompt node's _meta.cnr_id / aux_id: exact pack first, then a pack-less
entry; a node without pack identity only takes a pack entry when every entry
names the same pack.

app/node_equivalence.py checks that an equivalent entry is lossless against the
old and new /object_info schemas: every widget mapped in saved order, types and
ranges contained, FLOAT precision not coarser, dynamicPrompts matching, outputs
mapped to the same type, and no set_value over a mapped input. Tests run it
against ComfyUI-KJNodes snapshots and the live core primitive schemas.

Amp-Thread-ID: https://ampcode.com/threads/T-d0d41b9b-d42b-4824-9347-136f32b45608
2026-11-20 03:43:15 +00:00
..
2026-04-23 20:51:34 -07:00
2025-07-29 22:17:22 -04:00
2025-07-29 22:17:22 -04:00
2025-07-29 22:17:22 -04:00
2025-07-29 22:17:22 -04:00