Files
aigc-home/docs/hel-892/setget-reference/contract.json
T
2026-10-30 04:57:59 +08:00

44 lines
3.0 KiB
JSON

{
"authority": "public_reference_only",
"verified_facts": {
"provider": "kijai/ComfyUI-KJNodes",
"commit": "ab72eda7ffad6280422d71ab7d54d3fb87c0ba18",
"registration": "WEB_DIRECTORY -> web/js/setgetnodes.js app.registerExtension/registerCustomNodes -> LiteGraph.registerNodeType",
"virtual": "both constructors set isVirtualNode=true; graphToPrompt omits virtual nodes",
"current_name": "single Constant widget; widgets_values[0] restored unchanged by LGraphNode.configure",
"lookup": "Get.getInputLink(slot) finds first SetNode with strict widgets[0].value === name in graph._nodes, then returns setter.inputs[slot] link",
"set_direct": "inherits LGraphNode.getInputLink(slot); same slot input link",
"frontend_chain": "app.graphToPrompt -> executionUtil.graphToPrompt -> ExecutableNodeDTO.resolveInput/resolveOutput -> virtual getInputLink -> setter input DTO resolveInput -> ultimate entity output",
"callbacks": "app wraps graph.configure with configuringGraphLevel; KJ onConnectionsChange and widget callbacks skip during configuringGraph; onConfigure paste rename requires !configuringGraph",
"previous_name": "Set.update may rename getters through previousName during editing callbacks; it is NOT Get.getInputLink lookup key; titles/labels are not lookup keys",
"scope": "upstream has ancestor/descendant traversal and cross-graph patch; exact current root lookup is separately visible in getInputLink; no scope isolation inferred from execution IDs",
"duplicates": "upstream same-root find returns first; reference rejects all duplicates",
"mode": "upstream can alter bypass Get mode while resolving prompt; reference rejects all nonzero modes without emulation",
"license": "KJ GPL-3.0, frontend GPL-3.0; full license texts and file notices preserved"
},
"explicit_reference_assumptions": {
"missing_version": "only for exact KJ aux_id, select the pinned commit; not target proof",
"missing_provider": "rejected, including literal SetNode/GetNode aux_id",
"missing_frontend": "explicit 1.37.11 only; 1.48.6 requires exact declaration",
"composition": "unmodified pinned root-only KJ plus previously pinned VHS and core widget construction/serialization, before queue hooks; no UE or other override",
"supported_types": "saved concrete equal socket/link types only; no wildcard/union coercion or inference",
"names": "exact saved string; no trim/casefold/Unicode normalization; nonempty whitespace string is valid if exactly matched"
},
"target_unknown": [
"actual provider/version",
"UE behavior and extension overrides",
"models/files/history",
"queue-time hooks",
"execution equivalence"
],
"not_supported": [
"nested/cross-boundary SetGet",
"mute/bypass/loops",
"dynamic type inference",
"arbitrary KJ classes",
"98 other frontend cohort",
"production registration or eligibility"
],
"rules": "sources.json rule_locations; exact line hits against full original byte SHA256"
}