docs(HEL-892): bind Flux clothing transfer reference details

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-31 07:45:54 +08:00
co-authored by multica-agent
parent 68e2bf9660
commit 2fb2f2ee9d
53 changed files with 29517 additions and 1 deletions
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json"
): "e4e1272f07523767584b9bfedb060912ebef13d14392ab4b5e42bd4e4e0aab31",
(
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json"
): "39a9c04ab848830c1dc858dc0aa192182286160ba067244f1edd0e1b8c2fbf8e",
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,270 @@
"Flux2 editorial source binding, distinct saved states and unchanged eligibility."
import copy
import hashlib
import json
import runpy
from pathlib import Path
import pytest
from calliope.comfyui.fixed_document import DEFINITIONS, canonical
from calliope.comfyui.library import build_document
from calliope.comfyui.source_reviews import review_for
REPO = Path(__file__).resolve().parents[2]
OUT = REPO / ("docs/hel-892/flux2-clothing-document-evidence")
PATH = "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json"
RAW = (REPO / PATH).read_bytes()
SOURCE = json.loads(RAW)
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
BLOCK = REVIEW["fixed_version_document"]
def pointer(obj, p):
for part in p.strip("/").split("/"):
obj = obj[int(part)] if isinstance(obj, list) else obj[part]
return obj
def doc(s=SOURCE, r=REVIEW):
return build_document(PATH, s, None, None, [], r)
def refuse(s, r):
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
def test_every_saved_position_json_type_and_exact_citations(f):
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
assert "named_value" not in f and "无widgets_values_named" in f["named_pointer"]
if f["input_pointer"].startswith("/"):
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
for i in f["evidence"]:
e = BLOCK["sources"][i]
raw = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
@pytest.mark.parametrize("variant", ["position", "editorial"])
def test_caller_rehash_cannot_expand_trust(f, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
if variant == "editorial":
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
else:
parent, _, key = f["pointer"].rpartition("/")
pointer(s, parent)[int(key)] = "forged"
refuse(s, r)
def test_exact_source_and_unchanged_qualification():
b = runpy.run_path(str(OUT / "build_definition.py"))["build"]()
assert canonical(b) == canonical(BLOCK)
assert len(DEFINITIONS) == 57 and doc()["fixed_version"]["matched"]
assert b["counts"]["saved_fields"] == 46 and b["counts"]["source_notes"] == 3
assert b["counts"]["root_saved_fields"] == 6 and b["counts"]["internal_saved_fields"] == 40
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
assert [len(n["text"]) for n in b["comments"]] == [1407, 4, 4]
assert {s["id"] for s in b["sources"]} == {
"core",
"negative",
"lora",
"frontend",
"rgthree",
"layer",
}
assert {s["tag"] for s in b["sources"] if s["id"] == "frontend"} == {"v1.40.0"}
assert {s["tag"] for s in b["sources"] if s["id"] == "negative"} == {"v0.9.1"}
assert "准确1.36.13" not in canonical(b).decode()
def test_inventory_citations_and_bidirectional_endpoints():
import sys
sys.path.insert(0, str(OUT))
try:
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
finally:
sys.path.remove(str(OUT))
def test_two_references_canvas_and_comparison_meaning():
sub = SOURCE["definitions"]["subgraphs"][0]
ns = {n["id"]: n for n in sub["nodes"]}
root = {n["id"]: n for n in SOURCE["nodes"]}
assert root[167]["widgets_values"] == sub["widgets"] == []
assert len(root[167]["properties"]["proxyWidgets"]) == 10 and len(root[167]["inputs"]) == 8
assert root[167]["inputs"][7]["link"] is None
assert ["172", "scale_to_length"] in root[167]["properties"]["proxyWidgets"]
assert ["171", "scale_to_length"] not in root[167]["properties"]["proxyWidgets"]
assert (
ns[171]["widgets_values"]
== ns[172]["widgets_values"]
== ["original", 1, 1, "crop", "lanczos", "8", "longest", 1920, "#000000"]
)
assert ns[127]["widgets_values"] == ["full_encoder_small_decoder.safetensors"]
assert ns[164]["widgets_values"] == ["Flux\\Klien9B_bs_vton_服装迁移.safetensors", 1]
assert ns[164]["mode"] == 0 and ns[173]["mode"] == 4
assert ns[125]["widgets_values"] == [1, "fixed"]
assert ns[136]["properties"]["ver"] == "0.9.1" and ns[135]["properties"]["ver"] == "0.8.2"
assert sub["outputs"][0]["linkIds"] == [200, 200]
assert sum(e["id"] == 200 for e in sub["links"]) == 1
for a, ao, z, zi in [
(76, 0, 167, 0),
(81, 0, 167, 1),
(81, 0, 166, 1),
(167, 0, 166, 0),
(167, 0, 94, 0),
]:
assert any(e[1:5] == [a, ao, z, zi] for e in SOURCE["links"])
for a, ao, z, zi in [
(-10, 0, 172, 0),
(-10, 1, 171, 0),
(-10, 7, 172, 9),
(-10, 7, 171, 9),
(172, 0, 140, 0),
(172, 0, 128, 0),
(171, 0, 143, 0),
(128, 0, 138, 1),
(128, 1, 138, 2),
(128, 0, 129, 0),
(128, 1, 129, 1),
(135, 0, 141, 0),
(136, 0, 139, 0),
(140, 0, 141, 1),
(140, 0, 139, 1),
(141, 0, 144, 0),
(139, 0, 142, 0),
(143, 0, 144, 1),
(143, 0, 142, 1),
(144, 0, 137, 1),
(142, 0, 137, 2),
(129, 0, 123, 4),
(123, 0, 124, 0),
(124, 0, -20, 0),
(126, 0, 173, 0),
(173, 0, 164, 0),
(164, 0, 137, 0),
(-10, 3, 164, 1),
]:
assert any(
(e["origin_id"], e["origin_slot"], e["target_id"], e["target_slot"]) == (a, ao, z, zi)
for e in sub["links"]
)
f = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]}
assert "第二张原图" in f["166", "rgthree_comparer"]["effect"]
assert "不控制输出画布" in f["167:171", "scale_to_length"]["effect"]
assert f["167:136", "text"]["unit"] == "负向编码文本"
assert f["167:135", "text"]["unit"] == "正向编码文本"
assert f["167:164", "strength_model"]["json_type"] == "int"
NODE_POINTERS = [f"/nodes/{i}" for i in range(9)] + [
f"/definitions/subgraphs/0/nodes/{i}" for i in range(23)
]
EDGE_POINTERS = [f"/links/{i}" for i in range(5)] + [
f"/definitions/subgraphs/0/links/{i}" for i in range(41)
]
@pytest.mark.parametrize("p", NODE_POINTERS)
@pytest.mark.parametrize("variant", ["mode", "identity", "named"])
def test_all_root_and_internal_nodes_bound(p, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
n = pointer(s, p)
if variant == "mode":
n["mode"] = 0 if n["mode"] == 4 else 4
elif variant == "identity":
n["properties"]["ver"] = "forged"
else:
n["widgets_values_named"] = {"forged": 0}
refuse(s, r)
@pytest.mark.parametrize("p", EDGE_POINTERS)
def test_every_edge_bound_without_repair(p):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
e = pointer(s, p)
if isinstance(e, list):
e[3] = 999
else:
e["target_id"] = 999
refuse(s, r)
@pytest.mark.parametrize("z", BLOCK["zero_saved_nodes"], ids=lambda z: z["node_id"])
@pytest.mark.parametrize("variant", ["missing", "empty", "null", "added"])
def test_absent_empty_null_stay_distinct(z, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
n = pointer(s, z["pointer"])
before = copy.deepcopy(n)
if variant == "missing":
n.pop("widgets_values", None)
else:
n["widgets_values"] = {"empty": [], "null": None, "added": [0]}[variant]
if n != before:
refuse(s, r)
@pytest.mark.parametrize(
"variant",
[
"overview",
"citation",
"sha",
"frontend",
"count",
"proxy",
"duplicate",
"boundary_name",
"boundary_type",
"boundary_label",
"definition_widgets",
"note",
"unconnected_output",
"history",
"lora_identity",
"host_identity",
],
)
def test_all_metadata_and_boundary_declarations_bound(variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
b = r["fixed_version_document"]
sub = s["definitions"]["subgraphs"][0]
if variant == "overview":
b["user_overview"] = "forged"
elif variant == "citation":
b["sources"][0]["sha256"] = "forged"
elif variant == "sha":
r["source_sha"] = "forged"
elif variant == "frontend":
s["extra"]["frontendVersion"] = "1.36.14"
elif variant == "count":
b["counts"]["final_prompt_constructed"] = True
elif variant == "proxy":
s["nodes"][6]["properties"]["proxyWidgets"][0][0] = "999"
elif variant == "duplicate":
sub["outputs"][0]["linkIds"] = [200]
elif variant == "boundary_name":
sub["inputs"][7]["name"] = "width"
elif variant == "boundary_type":
sub["inputs"][7]["type"] = "FLOAT"
elif variant == "boundary_label":
sub["inputs"][7]["label"] = "forged"
elif variant == "definition_widgets":
sub["widgets"] = None
elif variant == "note":
s["nodes"][0]["widgets_values"][0] = "forged"
elif variant == "unconnected_output":
next(n for n in sub["nodes"] if n["id"] == 123)["outputs"][1]["links"] = [999]
elif variant == "history":
s["nodes"][5]["widgets_values"][0][0]["url"] = "forged"
elif variant == "lora_identity":
next(n for n in sub["nodes"] if n["id"] == 164)["properties"]["ver"] = "0.8.2"
else:
s["nodes"][6]["properties"]["ver"] = "0.8.2"
refuse(s, r)
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,78 @@
{
"fixed_count": 179,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/58": 4,
"/api/workflows/57": 4,
"/api/workflows/44": 3,
"/api/workflows/53": 3,
"/api/workflows/52": 3,
"/api/workflows/51": 3,
"/api/workflows/50": 3,
"/api/workflows/49": 3,
"/api/workflows/47": 3,
"/api/workflows/48": 3,
"/api/workflows/46": 3,
"/api/workflows/45": 3,
"/api/workflows/42": 3,
"/api/workflows/41": 3,
"/api/workflows/40": 3,
"/api/workflows/39": 3,
"/api/workflows/38": 3,
"/api/workflows/37": 3,
"/api/workflows/18": 3,
"/api/workflows/20": 3,
"/api/workflows/30": 3,
"/api/workflows/32": 3,
"/api/workflows/34": 3,
"/api/workflows/33": 3,
"/api/workflows/31": 3,
"/api/workflows/29": 3,
"/api/workflows/28": 3,
"/api/workflows/27": 3,
"/api/workflows/26": 3,
"/api/workflows/17": 3,
"/api/workflows/4": 3,
"/api/workflows/15": 3,
"/api/workflows/11": 3,
"/api/workflows/3": 3,
"/api/workflows/9": 3,
"/api/workflows/16": 3,
"/api/workflows/10": 3,
"/api/workflows/23": 3,
"/api/workflows/8": 3,
"/api/workflows/22": 3,
"/api/workflows/5": 3,
"/api/workflows/6": 3,
"/api/workflows/7": 3,
"/api/workflows/19": 3,
"/api/workflows/13": 3,
"/api/workflows/12": 3,
"/api/workflows/64": 3,
"/api/workflows/62": 3,
"/api/workflows/70": 3,
"/api/workflows/1": 3,
"/api/workflows/36": 3,
"/api/workflows/35": 3,
"/api/workflows/2": 3,
"/api/workflows/25": 3,
"/api/workflows/24": 3,
"/api/workflows/21": 3,
"/api/workflows/14": 3,
"/api/settings": 1,
"/api/workflows/156": 1,
"/api/workflows/157": 1
},
"polling_count": 14,
"polling_paths": {
"/api/jobs": 14
},
"readiness_gets": 1,
"detail_fixture_intercepts": 6,
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
"polling_snapshot_delta": {
"/api/jobs": 0,
"/api/events": 0
},
"polling_snapshot_tolerance": 1
}
@@ -0,0 +1,82 @@
"""Bind existing exact text and six frontend subgraph files, without execution."""
import hashlib
import json
import os
import shutil
import urllib.request
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
REF = ROOT / "docs/hel-892/flux2-clothing-reference"
def main():
rows = []
for stem, keys in [
("flux2-restore", {"core", "lora", "rgthree", "layer"}),
("flux2-dual", {"frontend", "negative"}),
("flux2-real", {"core"}),
]:
origin = REF.parent / (stem + "-reference")
for old in json.loads((origin / "sources.json").read_bytes())["sources"]:
if old["id"] not in keys or (
stem == "flux2-real" and old["file"] != "comfy_extras/nodes_images.py"
):
continue
e = dict(old)
if stem == "flux2-real":
e["identity_root"] = "../flux2-img-reference"
e["identity_key"] = "core"
e["license_file"] = "../flux2-img-reference/core__LICENSE"
for key in ["local_file", "license_file", "identity_root"]:
e[key] = os.path.relpath((origin / e[key]).resolve(), REF)
e["applicability"] = (
"仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/"
"frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知"
)
assert hashlib.sha256((REF / e["local_file"]).read_bytes()).hexdigest() == e["sha256"]
rows.append(e)
shutil.copyfile(
REF.parent / "flux2-restore-reference/layer-commit-meta.json",
REF / "layer-commit-meta.json",
)
base = next(e for e in rows if e["id"] == "frontend")
tree = json.loads((REF / base["identity_root"] / "frontend-tree.json").read_bytes())
for file in [
"src/lib/litegraph/src/subgraph/" + n + ".ts"
for n in [
"SubgraphNode",
"Subgraph",
"SubgraphInput",
"SubgraphOutput",
"SubgraphInputNode",
"SubgraphOutputNode",
]
]:
e = dict(base)
local = "frontend__" + file.replace("/", "__")
target = REF / local
url = f"https://raw.githubusercontent.com/{e['repo']}/{e['commit']}/{file}"
if not target.exists():
with urllib.request.urlopen(url, timeout=30) as response:
target.write_bytes(response.read())
raw = target.read_bytes()
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert next(t["sha"] for t in tree["tree"] if t["path"] == file) == blob
e.update(
file=file,
local_file=local,
url=url,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=blob,
)
rows.append(e)
(REF / "sources.json").write_text(
json.dumps(dict(sources=rows, upstream_executed=False), ensure_ascii=False, indent=2) + "\n"
)
print("PASS", len(rows), "bound static texts")
if __name__ == "__main__":
main()
@@ -0,0 +1,728 @@
{
"base": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
},
{
"path": "docs/hel-892/h3-chain-evidence/library.json",
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
},
{
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
}
],
"originals": 163,
"old_fifty_six_blocks_unchanged": true,
"drawer_css_unchanged": true,
"drawer_whole_file_unchanged": true,
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
"conversion_rerun": false,
"profiles_28_candidates_9_diffs_6": "unchanged"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,641 @@
"""Bind this clothing transfer graph to static exact-version references."""
import copy
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "flux2-clothing-reference"
PATHS = ["example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json"]
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
sub = g["definitions"]["subgraphs"][0]
reviews = json.loads(
(REPO / "calliope-backend/src/calliope/comfyui/source_reviews.json").read_bytes()
)
common = {}
for stem in [
"2_flux2_klein_图生图",
"3_flux2_klein_图生图一致性增强(小志lora)",
"flux2_klein_图生图_老照片修复",
]:
for f in reviews["example_ComfyUI_workflows/3-图像生成/Flux/" + stem + ".json"][
"fixed_version_document"
]["fields"]:
common[f["class_type"], f["field"]] = f
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
def cite(key, file, first, last, claim):
e = next(e for e in manifest if e["id"] == key and e["file"] == file)
data = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
assert 1 <= first <= last <= len(data.decode().splitlines())
sources.append(
dict(
e,
local_file="../flux2-clothing-reference/" + e["local_file"],
lines=[first, last],
claim=claim,
)
)
return len(sources) - 1
encode = cite("core", "nodes.py", 57, 81, "准确core0.8.2正向文本编码")
negative = cite(
"negative", "nodes.py", 57, 81, "136独立core0.9.1完整负向文本编码,不继承正向版本"
)
vae = cite("core", "nodes.py", 281, 353, "准确参考编码和生成解码")
loader = cite(
"core", "nodes.py", 701, 804, "准确VAE动态枚举、文件读取与解析条件;不据名称推断兼容"
)
model = cite("core", "nodes.py", 920, 992, "准确UNET/CLIP精度类别设备schema")
load = cite("core", "nodes.py", 1647, 1723, "LoadImage image后端输入、MASK协议")
save = cite("core", "nodes.py", 1578, 1646, "正式PNG与Preview临时协议;空RETURN_TYPES")
cfg = cite("core", "comfy_extras/nodes_custom_sampler.py", 801, 825, "CFG条件与FLOAT默认")
noise = cite(
"core",
"comfy_extras/nodes_custom_sampler.py",
898,
913,
"噪声seed schema与实现,不运行种子",
)
sampler = cite("core", "comfy_extras/nodes_custom_sampler.py", 376, 395, "采样器动态枚举")
sample = cite("core", "comfy_extras/nodes_custom_sampler.py", 915, 969, "双LATENT出口与x0条件")
latent = cite("core", "comfy_extras/nodes_flux.py", 36, 57, "空Flux2 latent尺寸批量")
sched = cite("core", "comfy_extras/nodes_flux.py", 182, 249, "Flux2调度器schema与条件")
ref = cite(
"core",
"comfy_extras/nodes_edit_model.py",
1,
38,
"reference_latents按现列表追加,先第一再第二,非像素拼接",
)
lora = cite(
"lora", "nodes.py", 670, 732, "独立core0.21.1仅模型LoRA继承、文件读取及强度缓存条件"
)
layer = cite(
"layer",
"py/image_scale_by_aspect_ratio_v2.py",
8,
183,
"两个缺身份实例仅89014d假设,九控件/五出口",
)
cite("layer", "py/imagefunc.py", 591, 650, "同假设fit_resize_image分支")
cite("layer", "py/imagefunc.py", 1967, 1972, "同假设倍数取整,不试算尺寸")
front = cite(
"frontend", "src/scripts/widgets.ts", 1, 270, "准确1.40.0种子前端辅助分支;fixed非运行保证"
)
host = cite(
"frontend",
"src/lib/litegraph/src/subgraph/SubgraphNode.ts",
1,
400,
"准确1.40.0子图边界及代理;目标UE/tab恢复未知",
)
cite(
"frontend",
"src/lib/litegraph/src/subgraph/SubgraphNode.ts",
605,
638,
"准确1.40.0序列化前同步全部边界控件,目标组合恢复未知",
)
cite(
"frontend",
"src/lib/litegraph/src/LGraphNode.ts",
800,
950,
"准确1.40.0位置恢复和serialize=false/serialize_widgets条件",
)
cite(
"core",
"comfy_extras/nodes_custom_sampler.py",
706,
715,
"后端Noise_RandomNoise保存seed,生成时才调用prepare_noise,不保证缓存或复现",
)
compare = cite(
"rgthree", "py/image_comparer.py", 1, 41, "准确发布继承Preview,UI临时图描述非IMAGE返回"
)
comparejs = cite(
"rgthree",
"web/comfyui/image_comparer.js",
1,
365,
"Slide属性、包装、恢复与历史列表序列化条件",
)
size = cite(
"core",
"comfy_extras/nodes_images.py",
494,
531,
"准确0.8.2 GetImageSize宽槽0高槽1,只读第一缩放图",
)
cited = {(e["id"], e["file"]) for e in sources}
for e in manifest:
if (e["id"], e["file"]) not in cited:
cite(
e["id"],
e["file"],
1,
len((REF / e["local_file"]).read_bytes().decode().splitlines()),
"本图静态注册/辅助/依赖锁/许可闭包,不证明安装或执行",
)
meaning = {
76: (
"第一参考保存ComfyUI_01598_.png/image,IMAGE→宿"
"主167.image索引0→边界287→172缩放→140编码与128尺寸。"
"Note175在旁标人物,仅作者标签;未读图片,文件名不能证明人物内容或素材"
"存在。MASK links=null未接。"
),
81: (
"第二参考保存ComfyUI_temp_lheqp_00004_.png/im"
"age,IMAGE→宿主167.image_1索引1→边界290→171独立"
"缩放→143编码;同时原图直接→166.B。Note174在旁标服装,不证明"
"图片内容。MASK links=null未接;比较B不是76人物图或171缩"
"放图。"
),
94: (
"宿主167生成IMAGE→94正式PNG,前缀Flux2-Klein。准确c"
"ore0.8.2默认output目录/递增文件名及ui.images描述不证"
"明真实目录/history。源保存images IMAGE口未接,与准确RE"
"TURN_TYPES=()冲突保留,不补线删口。"
),
166: (
"166.A来自宿主167生成,166.B直接来自根81第二张原图;完整tem"
"p_targv A/B历史列表是一顶层保存项,Slide是独立属性。准确rg"
"three1.0.2604070017后端继承Preview产生temp/u"
"i.a_images/ui.b_images,JS包装、恢复和序列化条件分别"
"保留;源IMAGE口与无直接IMAGE返回冲突保留。历史不是本次产物,仅文本"
",不请求URL。"
),
171: (
"第二参考81→宿主image_1→边界290→171缩放→143第二参考编码"
",不控制输出画布。独立保存original/1/1/crop/lanczos"
"/字符串8/longest/1920/#000000。scale_to_le"
"ngth输入索引9被边界293连接,内部1920只是缓存;宿主索引7未接外线"
"且保存[],代理只列172,不能推造171实际值。无提供方版本,仅89014"
"d参考假设;两图独立缩放不保证同宽高。"
),
172: (
"第一参考76→宿主image→边界287→172缩放,同时供140参考编码和"
"128取尺寸。独立保存original/1/1/crop/lanczos/字"
"符串8/longest/1920/#000000。scale_to_leng"
"th输入索引9接边界292,宿主索引7未接外线、保存[];172.scale"
"_to_length代理仅线索,不虚构宿主保存1920。无提供方版本,仅89"
"014d参考假设,不处理图像或试算尺寸。"
),
126: (
"UNET保存Flux反斜杠flux-2-klein-9b-fp8.safet"
"ensors/default,经173(mode4)→164(mode0)→"
"137.model。unet_name边界277对应宿主索引2无外线、无保存"
";properties推荐base模型与实际非base保存分列,不证明兼容或"
"精度。"
),
173: (
"旁路mode4小志LoRA独立core0.21.1,保存Flux反斜杠Flu"
"x2-Klein-9B_lcs_consist_20260415_一致性小志"
"版.safetensors/0.8。物理126→173→164,不模拟旁路穿"
"透,不保证173生效或双LoRA都加载;读取文件/继承MODEL/缓存条件仅"
"静态分列,不加载模型。lora_name无边界278外线,该边界只接164。"
),
164: (
"活动mode0服装LoRA独立core0.21.1,原拼Flux反斜杠Kli"
"en9B_bs_vton_服装迁移.safetensors及JSON int"
"1保留,不把Klien改Klein。173→164→137.model;lo"
"ra_name边界278对应宿主索引3无外线/保存,不能据活动模式保证加载或"
"迁移效果。准确继承只更新模型;零强度直接返回、文件名缓存与非零读取条件不等于"
"本图已执行。"
),
133: (
"qwen_3_8b_fp8mixed.safetensors/flux2/d"
"efault同时供135正向和136负向。边界279对应宿主clip_nam"
"e索引4未接外线、保存[];properties模型元数据独立保留,不证明实"
"际dtype/设备/许可/兼容。"
),
127: (
"VAE实际保存full_encoder_small_decoder.safe"
"tensors,不能改成flux2-vae.safetensors;prop"
"erties推荐flux2-vae与实际引用不同。边界280对应宿主索引5无"
"外线/保存。准确0.8.2从vae动态文件枚举解析与读取后构造VAE,供14"
"0/143两个参考编码和124生成解码。不据文件名推断模型家族、兼容、轻量效"
"果或目录存在。"
),
135: (
"完整中文+英文正向想让图1人物穿图2服装,材质细节/结构/高清只是作者意图。"
"135经141先追加140第一参考,再经144追加143第二参考→137.p"
"ositive。text边界281对应宿主索引6无外线,内部缓存与空宿主/代"
"理未知分列;准确core0.8.2,不保证衣服、身体、身份或未编辑区域像素不"
"变。"
),
136: (
"独立core0.9.1完整英文负向,不继承正向0.8.2。136→139先追"
"加140第一参考,再经142追加143第二参考→137.negative;负"
"向重复引用不能省略。无负向宿主边界;全文保留为文本,不保证消除服装/身体错误"
"、文字、水印或logo。"
),
137: (
"CFG保存JSON int1而schema FLOAT默认8.0,不改类型;"
"144正向/142负向与164模型→123.guider。宿主只有cfg代理"
"没有保存值,不承诺效果。"
),
125: (
"保存seed JSON int1与fixed前端辅助分别保留,NOISE→1"
"23。准确frontend1.40.0 fixed分支与后端seed/缓存分"
"列;宿主只有代理没有保存seed。fixed不代表执行成功、确定性或复现保证"
",不运行种子或队列钩子。"
),
122: "保存euler,SAMPLER→123;动态枚举/兼容/耗时与实际效果未知,不运行采样器。",
138: (
"保存steps4/width1024/height1024,SIGMAS→1"
"23。128只取172第一参考缩放图宽槽0高槽1,覆盖138及129四处10"
"24缓存;第二参考不控制输出画布。不求sigmas或实际尺寸,宿主steps"
"仅代理无保存。"
),
129: (
"空latent才是123.latent_image采样起点,batch_si"
"ze保存1;1024宽高缓存被128第一参考缩放图尺寸覆盖。140/143参"
"考latent只进入条件,不是像素拼接、遮罩复合或采样起点。"
),
}
empty_effect = {
165: (
"Label无身份版本,仅字体布局属性,不能因类名继承rgthree身份;"
"字体/许可/目录未知,不下载字体。"
),
167: (
"宿主widgets_values=[]零位置,定义widgets=[];10"
"代理与8输入独立核对,正向/scale_to_length等未接外线不赋予缓"
"存真值。"
),
140: "172第一缩放IMAGE与127.VAE→140第一参考latent,同时供141正向/139负向。",
143: "171第二缩放IMAGE与127.VAE→143第二参考latent,同时供144正向/142负向。",
141: "135正向先追加140第一参考latent→144,不是像素拼接。",
139: "136负向先追加140第一参考latent→142,不省略负向引用。",
144: "141已有第一参考的正向条件再append143第二参考→137.positive,顺序第一再第二。",
142: "139已有第一参考的负向条件再append143第二参考→137.negative,顺序第一再第二。",
128: (
"准确core0.8.2 GetImageSize:172第一参考缩放图→12"
"8,宽槽0分别覆盖138.width/129.width,高槽1覆盖138."
"height/129.height;第二参考171不控制画布。"
),
123: "129空latent才是采样起点,槽0→124;第二LATENT denoised_output links=[]未接。",
124: (
"123槽0与127.VAE→124解码,经定义200→宿主167→94和16"
"6.A;输出linkIds原[200,200]与一条物理200均保留,不去重"
"或修图。"
),
}
names = {
76: ["image", "upload"],
81: ["image", "upload"],
94: ["filename_prefix"],
166: ["rgthree_comparer"],
171: [
"aspect_ratio",
"proportional_width",
"proportional_height",
"fit",
"method",
"round_to_multiple",
"scale_to_side",
"scale_to_length",
"background_color",
],
172: [
"aspect_ratio",
"proportional_width",
"proportional_height",
"fit",
"method",
"round_to_multiple",
"scale_to_side",
"scale_to_length",
"background_color",
],
126: ["unet_name", "weight_dtype"],
173: ["lora_name", "strength_model"],
164: ["lora_name", "strength_model"],
133: ["clip_name", "type", "device"],
127: ["vae_name"],
135: ["text"],
136: ["text"],
137: ["cfg"],
125: ["noise_seed", "control_after_generate"],
122: ["sampler_name"],
138: ["steps", "width", "height"],
129: ["width", "height", "batch_size"],
}
evidence = {
76: [load, front],
81: [load, front],
94: [save],
166: [compare, comparejs, save],
171: [layer, host],
172: [layer, host],
126: [model, host],
173: [lora],
164: [lora, host],
133: [model, host],
127: [loader, vae, host],
135: [encode, ref, host],
136: [negative, ref],
137: [cfg],
125: [noise, front],
122: [sampler],
138: [sched, size],
129: [latent, size, sample],
}
fields, comments, empty = [], [], []
for prefix, graph in [("", g), ("/definitions/subgraphs/0", sub)]:
for i, n in enumerate(graph["nodes"]):
nid = n["id"]
ptr = f"{prefix}/nodes/{i}"
display = str(nid) if not prefix else f"167:{nid}"
if n["type"] in ["Note", "MarkdownNote"]:
comments.append(
dict(
node_id=display,
pointer=ptr + "/widgets_values/0",
text=n["widgets_values"][0],
meaning=(
"完整作者指南/人物或服装标签,原文只读;下载协议/推荐目录/更新"
"与报错指南不证明本机事实,不打开链接,不执行文字。"
),
)
)
continue
if not n.get("widgets_values"):
empty.append(
dict(
node_id=display,
class_type=n["type"],
pointer=ptr,
scope="root" if not prefix else prefix,
state="missing"
if "widgets_values" not in n
else "null"
if n["widgets_values"] is None
else "empty_list",
effect=(
"源缺widgets_values键;"
if "widgets_values" not in n
else "源widgets_values=[],零位置;"
)
+ empty_effect[nid],
)
)
continue
for j, (name, v) in enumerate(zip(names[nid], n["widgets_values"], strict=True)):
f = copy.deepcopy(common[n["type"], name])
inp = next(
(k for k, x in enumerate(n.get("inputs", [])) if x["name"] == name), None
)
auxiliary = name in ["control_after_generate", "upload", "rgthree_comparer"]
linked = (
not auxiliary and inp is not None and n["inputs"][inp].get("link") is not None
)
f.update(
node_id=display,
definition_node_id=str(nid),
scope="root" if not prefix else prefix,
class_type=n["type"],
field=name,
pointer=f"{ptr}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
named_pointer="源无widgets_values_named,不构造具名保存指针",
input_pointer=f"{ptr}/inputs/{inp}"
if inp is not None
else "无独立后端输入:前端辅助/历史",
input_name=n["inputs"][inp]["name"] if inp is not None else None,
type=n["inputs"][inp]["type"] if inp is not None else "前端辅助/历史",
role="frontend_reference_only"
if auxiliary
else "linked_saved_cache"
if linked
else "saved_layout_reference",
effect=meaning[nid],
evidence=evidence[nid],
execution_note=(
"保存现值、准确参考默认、边界覆盖与实际运行值分列;目标安装/UE/tab/代"
"理恢复/许可/兼容与效果未知,保持停用,不新增转换或执行资格。"
),
)
if nid in [171, 172]:
f["effect"] += " " + layer_extra[name]
if nid in [173, 164]:
f["schema_default"] = (
"1.0" if name == "strength_model" else "动态loras枚举,无固定文件default"
)
f["limits"] = (
"准确core0.21.1 FLOAT -100~100,step0.01"
if name == "strength_model"
else "准确core0.21.1动态模型文件,许可/兼容未知"
)
if name == "control_after_generate":
f.update(
schema_default="randomize(准确前端辅助初始值;非后端seed默认)",
unit="前端生成后策略",
limits=(
"准确frontend1.40.0 fixed/increment/decre"
"ment/randomize;fixed分支不变更控件值,实际种子/缓存/恢"
"复未知"
),
)
if nid == 136:
f.update(
label="完整英文负向编码",
unit="负向编码文本",
schema_default="无显式default;不以保存负向文字冒充默认",
limits="准确core0.9.1 STRING multiline=True;编码原文,不执行指令",
)
if nid == 135:
f.update(
label="完整服装迁移正向缓存",
unit="正向编码文本",
schema_default="无显式default;不以保存提示词冒充默认",
limits="准确core0.8.2 STRING multiline/dynamicPrompts;完整中英原文",
)
fields.append(f)
assert len(fields) == 46 and len(comments) == 3 and len(empty) == 11
overview = (
"这张图希望把第二张参考图的服装迁移到第一张人物参考图:两图独立缩放后,依次把"
"第一、第二参考特征加入正负条件,用服装LoRA从空latent采样,保存并与"
"第二张原图比较。服装材质、结构和高清只是作者意图,图片内容与效果未验证,目前"
"仅供参考。"
)
flow = [
overview,
(
"原字节核根9节点5边、定义23节点41含边界记录;内部173为mode4,其"
"余mode0。46非注释位置=根6+内部40=45标量+1完整历史列表;三完"
"整MarkdownNote97/174/175另计1407/4/4字符。无具"
"名保存;根Label165缺键、宿主和九内部[]、定义widgets=[]分"
"别保留,不与null混同。"
),
]
flow += [
meaning[k]
for k in [76, 81, 172, 171, 126, 173, 164, 133, 127, 135, 136, 137, 125, 122, 138, 129]
]
flow += [empty_effect[k] for k in [167, 128, 140, 143, 141, 139, 144, 142, 123, 124]]
flow += [
meaning[94],
meaning[166],
empty_effect[165],
(
"常见问题:未读图片,人物/服装标签与提示词只是作者意图;不保证衣服结构、材质"
"、身体、人物身份、未编辑区域像素或文字/logo准确。没有遮罩编辑链;两缩放"
"不保证同宽高。VAE异名与LoRA原拼不改;fixed不证明复现。准确Sav"
"e/Comparer协议冲突保留,整图继续关闭。"
),
(
"身份分层:根/多数内部core0.8.2,宿主及两LoRA0.21.1,负向"
"0.9.1;frontend1.40.0及同树依赖锁准确绑定,不套1.36."
"13。Layer两实例无版本仅89014d显式假设;Label身份未知不继承"
"rgthree。UE7.5.2/7.7/7.8、tab、子图代理恢复、许可适"
"用性/目录/模型素材兼容及效果未知。不混TT/KJ/Impact/Paint"
"er/llama/Easy。"
),
]
flow += [
(
"准确0.8.2 VAELoader先枚举vae文件和特定vae_"
"approx名称;pixel_space/四种image_tae"
"s为特殊分支,video_taes按文件stem判断。保存ful"
"l_encoder_small_decoder不匹配这些特殊名称"
",静态默认分支从vae目录解析文件、load_torch_fil"
"e→comfy.sd.VAE→throw_exception_i"
"f_invalid。未读取文件,不能证明解析成功或模型家族/兼容"
"。"
),
(
"准确1.40.0 SubgraphNode.configure按"
"定义恢复边界,通过linkId寻找第一个可得widget复制为宿"
"主控件;serialize前会同步全部相连内部widget,再委"
"托LGraphNode按serialize_widgets与se"
"rialize=false条件保存。空宿主、172代理和171内"
"部1920不是同一事实,UE/tab/代理组合恢复未经确认,不模"
"拟回填。"
),
(
"准确1.40.0数值辅助fixed分支break,不在该分支改变"
"控件;后端RandomNoise返回保存seed的Noise_R"
"andomNoise,generate_noise才调用prep"
"are_noise,Sampler将noise.seed传给gu"
"ider。未调用这些方法,fixed不证明缓存复用、执行成功、确"
"定性或复现。"
),
]
flow += ["根物理边 " + json.dumps(e, ensure_ascii=False) for e in g["links"]]
flow += ["定义物理边 " + json.dumps(e, ensure_ascii=False) for e in sub["links"]]
for prefix, graph in [("", g), ("/definitions/subgraphs/0", sub)]:
flow += [
f"{prefix or '根'}节点{n['id']}独立属性 "
+ json.dumps(n.get("properties", {}), ensure_ascii=False)
for n in graph["nodes"]
]
host_node = next(n for n in g["nodes"] if n["id"] == 167)
boundaries = [
dict(
scope="/definitions/subgraphs/0",
**{
k: sub[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]
},
),
dict(
host_pointer="/nodes/6",
host_saved=host_node["widgets_values"],
proxyWidgets=host_node["properties"]["proxyWidgets"],
inputs=host_node["inputs"],
effect="10代理与8宿主输入分开,空保存不造值;定义输出重复[200,200]不改写。",
),
]
assert g["nodes"][6]["id"] == 167
flow += ["原定义边界/宿主声明 " + json.dumps(b, ensure_ascii=False) for b in boundaries]
versions = []
for key in ["core", "negative", "lora", "frontend", "rgthree", "layer"]:
e = next(s for s in sources if s["id"] == key)
versions.append(
f"{key} {e['tag']} commit {e['commit']};tree {e['tree']};许可见{e['license_file']}"
)
versions += [
"local_file以docs/hel-892/flux2-clothing-document-evidence为基准;原字节SHA256 "
+ hashlib.sha256(raw).hexdigest(),
(
"旧56块逐对象冻结;rgthree成员CRC/SHA不冒充完整包SHA/Gi"
"t。Layer历史树索引ref与真正tree对象分列,未声称完整树重哈希。仅"
"静态阅读,不执行上游。"
),
]
return dict(
source_path=PATHS[index],
source_sha1=hashlib.sha1(raw).hexdigest(),
source_sha256=hashlib.sha256(raw).hexdigest(),
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
notice="仅参考:目标安装/恢复、模型/素材/许可与实际服装迁移效果未核,保持停用和转换关闭。",
user_overview=overview,
versions=versions,
counts=dict(
saved_fields=46,
root_saved_fields=6,
internal_saved_fields=40,
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
source_nodes=32,
root_nodes=9,
internal_nodes=23,
physical_edges=46,
source_notes=3,
history_objects=1,
final_scalars=0,
final_prompt_constructed=False,
),
fields=fields,
sources=sources,
comments=comments,
flow=flow,
flow_evidence=list(range(len(sources))),
zero_saved_nodes=empty,
boundaries=boundaries,
steps=[
overview,
"阅读1:逐两图文件引用、完整中英正向/英文负向、三Note和完整历史列表,仅读文本,不打开媒体或链接。",
(
"阅读2:核对第一再第二参考顺序、四尺寸覆盖、双缩放与空宿主/10代理8输入、"
"VAE异名、活动服装LoRA与旁路小志、fixed辅助、比较B第二原图;保存"
"值不是实际运行值。"
),
(
"阅读3:目标安装/许可/目录/恢复与效果未知,保持停用,155全量完成审核后"
"才发布;不连接目标、不构造prompt、不运行上游/模型/GPU/种子/状态"
"/缓存,不下载或代接受协议。"
),
],
)
layer_extra = {
"aspect_ratio": "保存original;仅参考假设取原图宽高比,custom才使用比例宽高缓存。",
"proportional_width": "保存JSON int1,当前original不使用自定义比例宽缓存。",
"proportional_height": "保存JSON int1,当前original不使用自定义比例高缓存。",
"fit": "保存crop;仅假设覆盖裁切,不保证保留像素或遮罩效果。",
"method": "保存lanczos;仅静态解释插值分支,不处理图像。",
"round_to_multiple": "保存字符串8而非int8;假设转int后向上取整,不试算尺寸。",
"scale_to_side": "保存longest,参考假设按长边缩放再按倍数取整,不是百万像素。",
"scale_to_length": (
"内部保存1920是连线覆盖缓存;目标边像素意图不是最终画布保证,不把宿主空保存当1920。"
),
"background_color": "保存#000000;crop不能证明黑边已填充,未执行颜色处理。",
}
@@ -0,0 +1,318 @@
{
"base": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"sha256": "54d39c5da29fbbfe54fa14a44f37573a358c8c1715bd18421751d4330ccad515",
"bytes": 14463,
"purpose": "仅新增本图完整定义代码拥有摘要白名单"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"sha256": "631372af8f829b7e56ee7307ef2ae59695acc534577cdb2d57cb2d864051adae",
"bytes": 7595179,
"purpose": "仅本图新增固定参考定义;旧56定义和其余155审校不变"
},
{
"path": "calliope-backend/tests/test_flux2_clothing_fixed_document.py",
"sha256": "1146638ec3d25f306eae20ed3a3ea59bb53b9c5cc243dc0952a68249542bf178",
"bytes": 9880,
"purpose": "仅新增本图完整定义代码拥有摘要白名单"
},
{
"path": "docs/hel-892/Flux服装迁移固定参考中文说明.md",
"sha256": "0b86712c7828ed0501aa1e431eb68b5b39efc45a33c3bbb3d9a62c58b4d13e16",
"bytes": 144521,
"purpose": "从实际固定定义生成的完整中文说明"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/actual-flux2_klein_服装迁移.json",
"sha256": "8b1b2209a470133031f164356d8997f7b598c7048edde547fca0725c5b3b354f",
"bytes": 246589,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/audit-summary.json",
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
"bytes": 797,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/backend-request-counts.json",
"sha256": "ede113f2a0b6031be92dd8c0e912f1dbdb91271e128eeab927e387947e17c803",
"bytes": 2056,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/bind_sources.py",
"sha256": "ca359a291c07e9d98a0b21fb1362f237f24ecb9042dff48de188b69b6d50bcc8",
"bytes": 3097,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/boundaries.json",
"sha256": "8220dda5ec3de5216cdc706b8a5ce6e2367704953c346c0bf0d65bb64d0f78f1",
"bytes": 38631,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/browser-results.json",
"sha256": "73cf1297fb59190f99e326127c60b00183c9d963b8c35f82dc1fa0575e3cd377",
"bytes": 148606,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/browser-run.txt",
"sha256": "f035337e471697a14b74f6f29a3c4b0710097b85cbc0d6c8762abef12152e069",
"bytes": 123326,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/build_definition.py",
"sha256": "df52e49f428d8cb637012109a26dc584feda127d9421c45c4e5321d5e8d0e32e",
"bytes": 30115,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/collect_browser.py",
"sha256": "2faffddd8c7ed119486457ee7e01cface468b988c98b021f15a7c89cbf2a9c4b",
"bytes": 3265,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/definition-0.json",
"sha256": "15bb60e8b1d5e9958b2d0546cb9c1956bbeff162f4ccb44f9d45862bc8460b30",
"bytes": 192293,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/delivery.md",
"sha256": "6c9383adcb0eb4dcc67929491ab58dfc5e58ef93407d49ca72355ec00c32eb22",
"bytes": 4165,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/fixed-source-index.json",
"sha256": "e8a3de6a93a22d33e990f1a23d1df39227e1324d449d7e4f516a205761ca51e0",
"bytes": 83553,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/frontend-build.txt",
"sha256": "a494777cbaba316669b45cc25da7d081d70e3f39fcec6407cc67a4de41006c1b",
"bytes": 24326,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/frozen-resource-check.json",
"sha256": "b26ef897a157706c83fdd6c40296c847e17ce44687252631f19442083c20b47d",
"bytes": 40348,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/import-protection.json",
"sha256": "f161f70df2acd28789975e3ce2e894f71fce9ea286d153b9e7bc83685c1b547d",
"bytes": 1270,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/independent-inventory.json",
"sha256": "882c1793702c0c1717b6f20938cf00cc0803835aff6e654cf0d6879c6543912c",
"bytes": 20610,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/inventory.py",
"sha256": "169fa49f7b03d6373380128f6341e068a5f5ac5b4a2ced723e89338636d0d30c",
"bytes": 3156,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/package-build.txt",
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
"bytes": 211,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/package-check.json",
"sha256": "6f7212f4c4978be54f42ee1fc2a520a34ea233b826180969e34fc96afef3b1cf",
"bytes": 550,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/pins.json",
"sha256": "97ece303ae0a372394ab3fbe326d0330f92916720c69671c290d45e884001ff7",
"bytes": 152,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/ports-independent.json",
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc",
"bytes": 165,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/pr-before.json",
"sha256": "7f85d9265243995d8acc015726a6a0901babad9015542037d75777214443231b",
"bytes": 230,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/pytest.txt",
"sha256": "74697086163dce022e51147aa64e907108946fe217288d5f6ae93cca9c9350d9",
"bytes": 1040,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/rebuild.py",
"sha256": "0ee2e2e08ddd26d158e4e230547e5528402211bd880e59111a5a5412b0efee90",
"bytes": 2457,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/recompute.py",
"sha256": "cb07381a69ab17c67688b1e972d40435eafbcff00c975d0a98fcaf673b1bc481",
"bytes": 13779,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/recompute.txt",
"sha256": "82bed306824c6bcd6c08136a670d96fc19e5b061325ae215c07496c38ee51149",
"bytes": 239,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/render_report.py",
"sha256": "df91ed87e694749f4422c72a3bb8ddcb84944e3bd8c83c4a4a378cb56f61cbd9",
"bytes": 4679,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/repeat.py",
"sha256": "565d772ce85155a2950947004158ab2fd251bbb59ed0a13c7dbb278497a2b49d",
"bytes": 1310,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/repeatability.json",
"sha256": "660f5ab58bc138e2e223864c05e4241f28dd91799c30e8557e3eb5ff0156916b",
"bytes": 417,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/review-delta.json",
"sha256": "3ac4d05265dacb1824f89d21d6f7224b1aebffed129c607a2e2d859f2882d4ec",
"bytes": 375,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/ruff-check.txt",
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18",
"bytes": 19,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/ruff-format.txt",
"sha256": "cfe5c6461b42a90595a492aed11f2c8e6eb98b7c4caf2cc9f47e3333185e3f33",
"bytes": 27,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/service-0.txt",
"sha256": "1dafcda4168cf8a7c627d246c28cd256abd112ba8b35eaa77cb3159c24c06728",
"bytes": 13544,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/service-1.txt",
"sha256": "4b90f4f4e9cb60781d0792e276c697bac940be5e2b68957eba8b047a73ea6faf",
"bytes": 72,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/service-stop.json",
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
"bytes": 65,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/source-check.json",
"sha256": "27736b8aa09c953111833e7eba3ab31c100a9cef92cdd79ca4213f412d98f458",
"bytes": 39563,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/validation-commands.txt",
"sha256": "b82b93b3fb11687953951e93377d279a9dbffd0046b521f77a522185047d2fca",
"bytes": 3001,
"purpose": "本批审计/导入保护/浏览/构建与复现证据"
},
{
"path": "docs/hel-892/flux2-clothing-document-evidence/verify_sources.py",
"sha256": "b0098a61e11b02de991105f3e7e50c1cf666deb4e91280a7c212c8f709adff41",
"bytes": 8561,
"purpose": "本批离线证据工具,不执行上游"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"bytes": 224,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphInput.ts",
"sha256": "9665035f394326752c6046b08f77b91e891f5dd2db4380c72abd611528b0b08f",
"bytes": 7326,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphInputNode.ts",
"sha256": "6fb0c76caf541531a2994646321fa0da88bec4a2b4f6f7fac170d989bdacc325",
"bytes": 7288,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"sha256": "f6a819d9a4d8d31c6ff4440957221075a25c65a1320e6026a1140bc2e0cb92a0",
"bytes": 20780,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphOutput.ts",
"sha256": "55de0bcca7f8cc818aeac98f98f1ef97f6173988571cd975b72c92569bae10aa",
"bytes": 5106,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphOutputNode.ts",
"sha256": "e68aed97fec7abacdbe75531bbacdb6a1c433290a185eae6fc2cc4c40dbef735",
"bytes": 4625,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/layer-commit-meta.json",
"sha256": "0eb17975a5dbfaea23f9036b8256c80d106c381b4dab6bf77af3a5e3fda99d5e",
"bytes": 7469,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "docs/hel-892/flux2-clothing-reference/sources.json",
"sha256": "52e60234155eb3237eb9380caaa05ae37877061de74edd8a95cad8034922a0ce",
"bytes": 57297,
"purpose": "准确上游原字节或本图来源身份/哈希清单,仅读不执行"
},
{
"path": "e2e/flux2-clothing-document.mjs",
"sha256": "83c5351f0ab602026d05b330ba21c8595afeec85be9763f0294563e895b80061",
"bytes": 16107,
"purpose": "本地GET页面验证或前台启动finally清理服务"
},
{
"path": "e2e/run-flux2-clothing-document.py",
"sha256": "74efc9331a1986b7954248e10d46b740b8ec58287bbf8357d25db3e25d9e2b5e",
"bytes": 3191,
"purpose": "本地GET页面验证或前台启动finally清理服务"
}
],
"self_excluded": true
}
@@ -0,0 +1,83 @@
"Collect final completed browser evidence and independently verify port release."
import collections
import json
import re
import shutil
import socket
from pathlib import Path
from urllib.parse import urlsplit
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
LOCAL = ROOT / (".local-evidence/flux2-clothing-document/browser")
def main():
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
assert stopped["ports_released"] == [8247, 5173]
ports = []
for port in [8247, 5173]:
with socket.socket() as s:
s.settimeout(1)
result = s.connect_ex(("127.0.0.1", port))
assert result != 0
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
data = json.loads((LOCAL / "browser-results.json").read_bytes())
assert not data["errors"] and data["viewports"] == [1440, 390]
backend = collections.Counter(
re.findall(r'"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
)
polling = {p: n for p, n in backend.items() if p in ["/api/events", "/api/jobs"]}
fixed = {p: n for p, n in backend.items() if p not in polling}
browser = collections.Counter(urlsplit(r["url"]).path for r in data["requests"])
intercepted = collections.Counter(urlsplit(r["url"]).path for r in data["interceptions"])
expected = browser.copy()
for p, n in intercepted.items():
expected[p] -= n
expected["/api/workflows"] += 1 # Foreground readiness probe, explicitly separate.
# Browser result is flushed just before browser.close; a final timer GET can
# reach the server after that snapshot. Keep its exact count separately.
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
assert all(abs(n) <= 1 for n in polling_delta.values())
assert {p: n for p, n in expected.items() if p not in polling_delta} == fixed
counts = {
"fixed_count": sum(fixed.values()),
"fixed_paths": fixed,
"polling_count": sum(polling.values()),
"polling_paths": polling,
"readiness_gets": 1,
"detail_fixture_intercepts": len(data["interceptions"]),
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": True,
"polling_snapshot_delta": polling_delta,
"polling_snapshot_tolerance": 1,
}
(OUT / "backend-request-counts.json").write_text(
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
)
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
for name in [
"browser-results.json",
"service-stop.json",
"service-0.log",
"service-1.log",
]:
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
print(
"PASS browser",
data["assertion_count"],
data["assertionGroups"],
"fixed/polling/fixture",
data["request_accounting"]["fixed_count"],
data["request_accounting"]["polling_count"],
len(data["interceptions"]),
"backend",
counts["fixed_count"],
counts["polling_count"],
("readiness1; independently refused8247/5173"),
)
if __name__ == "__main__":
main()
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,19 @@
第76批仅补充Flux服装迁移固定参考说明;155全量未完成,不合并、不部署。
沿用README和HEL-892架构:source_reviews唯一来源→固定定义摘要白名单→SQLite doc_json→GET→原Drawer。只改两个产品文件,未改转换器、执行器、Drawer、CSS或依赖。
- 原图根9节点5边,定义23节点41边;173旁路mode4,其余mode0。46非注释保存位置=根6+内部40=45标量+1完整历史列表;三MarkdownNote97/174/175全文1407/4/4字符。无具名保存,根Label缺键、宿主及九内部空数组、定义空widgets分别核对。
- 第一人物标签参考和第二服装标签参考分别编码;未读实际图像,标签和提示词只作作者意图。四次参考条件append保留第一再第二顺序;第一缩放图经128四处覆盖尺寸,第二图不控制画布;129空latent才是采样起点。双缩放、共享边界292/293、空宿主/10代理8输入分列,166.B直接取81第二原图。
- VAE实际full_encoder_small_decoder与推荐flux2-vae分列;准确0.8.2加载分支、0.21.1活动服装LoRA原拼Klien与mode4小志LoRA、0.9.1负向、1.40.0前端fixed/恢复/保存条件分别解释。准确核心/前端/包身份不继承其它图;Layer无身份仅89014d假设;Label不继承rgthree。完整提示、负向、三Note、历史、模型元数据、物理边、步骤和常见问题进入实际说明。
- 54静态来源文本/66引用核SHA、Git commit/tag/tree/blob、许可和行段;rgthree必要成员CRC/SHA不冒充完整包SHA/Git,Layer历史树ref不冒充tree对象或完整树重哈希。只读取文本,不执行上游。
- 本轮356后台通过(343专项+13库);12自写Python显式项目配置Ruff check及format --check、JS语法、前端build、离线wheel/sdist三资源字节、双次定义/渲染一致通过。保留Starlette既有弃用提示和前端构建提示。未重跑无改动后台全套;历史5个既有失败仅沿用上批记录,不称全仓绿。
- 最终2208页面检查:848新增说明+1344旧56图+2汇总+14共享。1440/390逐46位置/三Note/完整长文/模型与历史/流程边界、技术折叠、旧空错绑定/HTML只读/迟到/重试、焦点和无横溢通过。26截图仅交付附件,6代表图目验。全本地GET,固定184、轮询14、6夹具;后台固定179(184-6+就绪1)逐路径一致,轮询14。finally停止服务,并独立确认8247/5173拒绝连接。
- 真实68e2bf9旧代码隔离库仅1更新154跳过,其余154整行不变;幂等、精确回退、再升级和前后用户修改各1冲突29列保护通过。155/排除1、16/139、1217具名/3660位置节点/294配套值、停用未检查/空时间戳不变。旧56块2155位置+62注释逐对象冻结;现57图2201位置+65注释仅参考。191资源包含156源图、7真实API原件及既有库/转换资源,另依边界清单验证163原件;28profile/九候选hash/六差分/资格冻结。
首次自查修正无操作变更测试和沿用正向单位文字,补断言后重建最终证据;统计仅采用最后一次完成结果,不累加重跑。产品说明和准确原件均不含执行逻辑。
尚98目标图无此类固定参考块;155完整定稿0、必要实跑0、本轮新增转换0。目标安装、UE/tab/子图代理恢复、许可适用性、模型/素材/目录、兼容与实际效果仍未知。当前不需用户材料或窗口,按本批交总管一次审查,不扩大下一图。
未连接目标、不停TTS、不启ComfyUI、不构造prompt、不执行插件/SDK/列表/表达式/模型/GPU/媒体/种子/状态/缓存、不下载权重素材字体运行库、不加依赖付费、不写在线库、不合并部署。155全量完成审核后才发布。
复现:validation-commands.txt;核心证据:independent-inventory.json、source-check.json、review-delta.json、import-protection.json、frozen-resource-check.json、package-check.json、repeatability.json、browser-results.json、backend-request-counts.json、ports-independent.json。逐文件清单及SHA见changed-files.json;最终提交与PR head随卡附件final-head.json提供。
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,273 @@
> calliope-web@1.5.8 build
> vite build
▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
tsconfig.json:2:12:
2 │ "extends": "./.svelte-kit/tsconfig.json",
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vite v6.4.3 building SSR bundle for production...
transforming...
7:42:01 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
7:42:01 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
✓ 521 modules transformed.
rendering chunks...
vite v6.4.3 building for production...
transforming...
7:42:03 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
7:42:04 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
✓ 763 modules transformed.
rendering chunks...
computing gzip size...
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.23 kB
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/entry/start.BqwoYq7o.js 0.12 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/B0XwC4Ot.js 0.15 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/17.Cjt52-2m.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.BJzcfXiI.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/chunks/BsCRBkET.js 0.18 kB │ gzip: 0.16 kB
.svelte-kit/output/client/_app/immutable/chunks/PLPYKeY9.js 0.19 kB │ gzip: 0.17 kB
.svelte-kit/output/client/_app/immutable/chunks/CI9jXNKC.js 0.19 kB │ gzip: 0.16 kB
.svelte-kit/output/client/_app/immutable/chunks/D_1oesA2.js 0.19 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/nodes/14.DzhME1wO.js 0.23 kB │ gzip: 0.21 kB
.svelte-kit/output/client/_app/immutable/chunks/DkrMbCO4.js 0.23 kB │ gzip: 0.18 kB
.svelte-kit/output/client/_app/immutable/nodes/13.d8cRwCTU.js 0.24 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/chunks/jbvGh2cr.js 0.26 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/chunks/DuR33ltU.js 0.28 kB │ gzip: 0.19 kB
.svelte-kit/output/client/_app/immutable/chunks/LOG_p0wv.js 0.29 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/nodes/2.DFsO6Bvc.js 0.37 kB │ gzip: 0.25 kB
.svelte-kit/output/client/_app/immutable/chunks/BqqYkBFO.js 0.37 kB │ gzip: 0.26 kB
.svelte-kit/output/client/_app/immutable/nodes/1.Dy8eaApg.js 0.40 kB │ gzip: 0.28 kB
.svelte-kit/output/client/_app/immutable/chunks/C9dRlz4w.js 0.46 kB │ gzip: 0.30 kB
.svelte-kit/output/client/_app/immutable/chunks/DizlLVgY.js 0.47 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/chunks/BkYbArkN.js 0.49 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/chunks/-UyI9lYi.js 0.51 kB │ gzip: 0.30 kB
.svelte-kit/output/client/_app/immutable/chunks/D41pZ3kD.js 0.56 kB │ gzip: 0.32 kB
.svelte-kit/output/client/_app/immutable/chunks/O29yiedF.js 0.61 kB │ gzip: 0.36 kB
.svelte-kit/output/client/_app/immutable/chunks/D8EAmlG6.js 0.62 kB │ gzip: 0.36 kB
.svelte-kit/output/client/_app/immutable/chunks/BXakyGcx.js 0.71 kB │ gzip: 0.43 kB
.svelte-kit/output/client/_app/immutable/chunks/0jsz6oxm.js 0.75 kB │ gzip: 0.42 kB
.svelte-kit/output/client/_app/immutable/chunks/BzVl9ZHh.js 0.83 kB │ gzip: 0.42 kB
.svelte-kit/output/client/_app/immutable/chunks/f7zKxHYB.js 0.84 kB │ gzip: 0.45 kB
.svelte-kit/output/client/_app/immutable/chunks/BpPWQjN7.js 0.92 kB │ gzip: 0.44 kB
.svelte-kit/output/client/_app/immutable/chunks/B_dFkj9f.js 1.08 kB │ gzip: 0.61 kB
.svelte-kit/output/client/_app/immutable/nodes/12.DS-LaidD.js 1.18 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
.svelte-kit/output/client/_app/immutable/nodes/6.D9UD7OoZ.js 1.29 kB │ gzip: 0.76 kB
.svelte-kit/output/client/_app/immutable/chunks/wbPk3Yxo.js 1.37 kB │ gzip: 0.66 kB
.svelte-kit/output/client/_app/immutable/chunks/DroLD1Vd.js 1.48 kB │ gzip: 0.78 kB
.svelte-kit/output/client/_app/immutable/chunks/DvVbqmqL.js 1.49 kB │ gzip: 0.75 kB
.svelte-kit/output/client/_app/immutable/chunks/apXuMI8X.js 2.00 kB │ gzip: 1.06 kB
.svelte-kit/output/client/_app/immutable/chunks/C6NPzxMU.js 2.24 kB │ gzip: 0.99 kB
.svelte-kit/output/client/_app/immutable/chunks/DBfOsHAR.js 2.77 kB │ gzip: 1.28 kB
.svelte-kit/output/client/_app/immutable/chunks/Cfp5XeNU.js 2.94 kB │ gzip: 1.24 kB
.svelte-kit/output/client/_app/immutable/chunks/tTl_1iKp.js 3.08 kB │ gzip: 1.57 kB
.svelte-kit/output/client/_app/immutable/chunks/DY6GL6X4.js 3.23 kB │ gzip: 1.55 kB
.svelte-kit/output/client/_app/immutable/nodes/18.BfVKF7dO.js 3.50 kB │ gzip: 1.69 kB
.svelte-kit/output/client/_app/immutable/chunks/-yw0ATYa.js 4.27 kB │ gzip: 1.52 kB
.svelte-kit/output/client/_app/immutable/chunks/Dwm6yq4L.js 5.19 kB │ gzip: 2.50 kB
.svelte-kit/output/client/_app/immutable/chunks/Bn-IQ-PY.js 5.29 kB │ gzip: 2.16 kB
.svelte-kit/output/client/_app/immutable/chunks/DSgSkq0z.js 6.86 kB │ gzip: 3.09 kB
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
.svelte-kit/output/client/_app/immutable/nodes/16.Bxe_-BGk.js 10.26 kB │ gzip: 3.94 kB
.svelte-kit/output/client/_app/immutable/chunks/Dq0gzhJg.js 10.98 kB │ gzip: 4.12 kB
.svelte-kit/output/client/_app/immutable/entry/app.Gd3HUAMQ.js 11.97 kB │ gzip: 4.02 kB
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
.svelte-kit/output/client/_app/immutable/nodes/10.Boo6FHut.js 16.63 kB │ gzip: 6.09 kB
.svelte-kit/output/client/_app/immutable/chunks/b4rAb54u.js 16.64 kB │ gzip: 6.28 kB
.svelte-kit/output/client/_app/immutable/chunks/BJXZgoNf.js 17.38 kB │ gzip: 6.37 kB
.svelte-kit/output/client/_app/immutable/chunks/kyNCFls4.js 20.28 kB │ gzip: 7.19 kB
.svelte-kit/output/client/_app/immutable/nodes/15.9SGo6gAW.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/vosYhVwo.js 23.98 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.Cr-eXvyw.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.CD5GwJOl.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.CmykM1B6.js 29.61 kB │ gzip: 10.00 kB
.svelte-kit/output/client/_app/immutable/chunks/SBMx5f2U.js 33.93 kB │ gzip: 13.15 kB
.svelte-kit/output/client/_app/immutable/chunks/C9ZG-urd.js 38.54 kB │ gzip: 13.85 kB
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
.svelte-kit/output/client/_app/immutable/nodes/19.xFG7A3sC.js 52.59 kB │ gzip: 14.34 kB
.svelte-kit/output/client/_app/immutable/chunks/BbmTSwTk.js 71.50 kB │ gzip: 26.91 kB
.svelte-kit/output/client/_app/immutable/chunks/EDetd_HZ.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.qF6GuddU.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.B3GeVtf-.js 214.51 kB │ gzip: 69.05 kB
.svelte-kit/output/client/_app/immutable/chunks/BsrzHLJP.js 684.82 kB │ gzip: 180.09 kB
.svelte-kit/output/client/_app/immutable/chunks/2QcV1iOV.js 720.35 kB │ gzip: 209.00 kB
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 3.56s
.svelte-kit/output/server/.vite/manifest.json 23.36 kB
.svelte-kit/output/server/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB
.svelte-kit/output/server/_app/immutable/assets/_page.C62bpzl4.css 0.22 kB
.svelte-kit/output/server/_app/immutable/assets/_page.IyyrLGyK.css 0.22 kB
.svelte-kit/output/server/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB
.svelte-kit/output/server/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB
.svelte-kit/output/server/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB
.svelte-kit/output/server/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB
.svelte-kit/output/server/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB
.svelte-kit/output/server/_app/immutable/assets/ConfirmDialog.C_pBcjz1.css 0.89 kB
.svelte-kit/output/server/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB
.svelte-kit/output/server/_app/immutable/assets/_page.DG2SembM.css 1.87 kB
.svelte-kit/output/server/_app/immutable/assets/ImageLightbox.Mjqtht7n.css 2.18 kB
.svelte-kit/output/server/_app/immutable/assets/_page.CxLkc7AF.css 3.49 kB
.svelte-kit/output/server/_app/immutable/assets/_page.-McisAlK.css 4.49 kB
.svelte-kit/output/server/_app/immutable/assets/RefImageGrid.Cg0JH9u1.css 4.86 kB
.svelte-kit/output/server/_app/immutable/assets/_page.D3s-Wa9z.css 5.02 kB
.svelte-kit/output/server/_app/immutable/assets/AgentComposer.BeAeVWGq.css 6.34 kB
.svelte-kit/output/server/_app/immutable/assets/_page.DH5AEk6F.css 9.35 kB
.svelte-kit/output/server/_app/immutable/assets/_page.Bra3CMMT.css 10.42 kB
.svelte-kit/output/server/_app/immutable/assets/_page.BUR6RoLt.css 10.46 kB
.svelte-kit/output/server/_app/immutable/assets/_page.0zMz792f.css 10.78 kB
.svelte-kit/output/server/_app/immutable/assets/AgentChat.C1veD2Ar.css 11.37 kB
.svelte-kit/output/server/_app/immutable/assets/AppShell.ymPBcNjP.css 12.64 kB
.svelte-kit/output/server/_app/immutable/assets/_layout.B1MJuaEd.css 19.33 kB
.svelte-kit/output/server/_app/immutable/assets/StudioGenerate.pbw6ZUUi.css 20.96 kB
.svelte-kit/output/server/_app/immutable/assets/_page.DdIn3xwb.css 22.49 kB
.svelte-kit/output/server/_app/immutable/assets/_page.Bs4Fx5Yn.css 28.74 kB
.svelte-kit/output/server/_app/immutable/assets/_page.BC6N9k4h.css 31.67 kB
.svelte-kit/output/server/entries/pages/_layout.ts.js 0.06 kB
.svelte-kit/output/server/entries/pages/agents/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/library/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/models/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/settings/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/workbench/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.ts.js 0.08 kB
.svelte-kit/output/server/entries/pages/_page.ts.js 0.12 kB
.svelte-kit/output/server/entries/hooks.server.js 0.13 kB
.svelte-kit/output/server/chunks/wideLayout.js 0.15 kB
.svelte-kit/output/server/entries/pages/build-scene/_page.ts.js 0.17 kB
.svelte-kit/output/server/entries/pages/canvas/_page.ts.js 0.17 kB
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.ts.js 0.17 kB
.svelte-kit/output/server/entries/pages/playground/_page.ts.js 0.17 kB
.svelte-kit/output/server/entries/pages/projects/_page.ts.js 0.17 kB
.svelte-kit/output/server/entries/pages/image/_page.svelte.js 0.20 kB
.svelte-kit/output/server/entries/pages/video/_page.svelte.js 0.20 kB
.svelte-kit/output/server/entries/pages/project/_id_/_page.ts.js 0.20 kB
.svelte-kit/output/server/chunks/index-server.js 0.22 kB
.svelte-kit/output/server/env.js 0.23 kB
.svelte-kit/output/server/chunks/client.js 0.31 kB
.svelte-kit/output/server/chunks/index-server2.js 0.31 kB
.svelte-kit/output/server/internal.js 0.35 kB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.35 kB
.svelte-kit/output/server/chunks/state.svelte.js 0.45 kB
.svelte-kit/output/server/chunks/Skeleton.js 0.48 kB
.svelte-kit/output/server/chunks/Spinner.js 0.52 kB
.svelte-kit/output/server/entries/pages/canvas/_id_/_layout.svelte.js 0.55 kB
.svelte-kit/output/server/chunks/index2.js 0.57 kB
.svelte-kit/output/server/chunks/server.js 0.62 kB
.svelte-kit/output/server/entries/pages/canvas/_page.svelte.js 0.66 kB
.svelte-kit/output/server/entries/pages/playground/_page.svelte.js 0.67 kB
.svelte-kit/output/server/chunks/utils2.js 0.72 kB
.svelte-kit/output/server/chunks/ids.js 0.77 kB
.svelte-kit/output/server/chunks/Icon.svelte_svelte_type_style_lang.js 0.86 kB
.svelte-kit/output/server/chunks/endpointKind.js 0.95 kB
.svelte-kit/output/server/chunks/createMutation.js 1.03 kB
.svelte-kit/output/server/chunks/EmptyState.js 1.04 kB
.svelte-kit/output/server/chunks/toast.js 1.14 kB
.svelte-kit/output/server/chunks/context.js 1.20 kB
.svelte-kit/output/server/chunks/LanguageSwitcher.js 1.36 kB
.svelte-kit/output/server/chunks/AppShell.svelte_svelte_type_style_lang.js 1.46 kB
.svelte-kit/output/server/chunks/SafeMedia.js 1.65 kB
.svelte-kit/output/server/chunks/ProgressBar.js 1.88 kB
.svelte-kit/output/server/chunks/useUpload.svelte.js 2.16 kB
.svelte-kit/output/server/chunks/takeDelete.svelte.js 2.57 kB
.svelte-kit/output/server/chunks/index3.js 2.77 kB
.svelte-kit/output/server/entries/pages/_layout.svelte.js 3.08 kB
.svelte-kit/output/server/chunks/ConfirmDialog.js 3.25 kB
.svelte-kit/output/server/chunks/internal.js 3.79 kB
.svelte-kit/output/server/entries/pages/workbench/_page.svelte.js 4.93 kB
.svelte-kit/output/server/chunks/exports.js 5.54 kB
.svelte-kit/output/server/chunks/Icon.js 6.04 kB
.svelte-kit/output/server/entries/pages/agents/_page.svelte.js 7.88 kB
.svelte-kit/output/server/entries/pages/tasks/_page.svelte.js 13.44 kB
.svelte-kit/output/server/entries/pages/settings/_page.svelte.js 15.12 kB
.svelte-kit/output/server/chunks/LanguageSwitcher.svelte_svelte_type_style_lang.js 16.32 kB
.svelte-kit/output/server/entries/pages/library/_page.svelte.js 19.77 kB
.svelte-kit/output/server/entries/pages/_page.svelte.js 25.48 kB
.svelte-kit/output/server/chunks/RefImageGrid.js 25.96 kB
.svelte-kit/output/server/chunks/root.js 29.43 kB
.svelte-kit/output/server/chunks/AgentComposer.js 34.01 kB
.svelte-kit/output/server/chunks/utils.js 34.14 kB
.svelte-kit/output/server/entries/pages/models/_page.svelte.js 36.24 kB
.svelte-kit/output/server/remote-entry.js 36.81 kB
.svelte-kit/output/server/chunks/AppShell.js 39.27 kB
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.svelte.js 50.91 kB
.svelte-kit/output/server/entries/pages/build-scene/_page.svelte.js 51.30 kB
.svelte-kit/output/server/chunks/StudioGenerate.js 99.49 kB
.svelte-kit/output/server/chunks/index.js 101.49 kB
.svelte-kit/output/server/index.js 130.14 kB
.svelte-kit/output/server/entries/pages/connections/_page.svelte.js 132.44 kB
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.svelte.js 145.51 kB
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
✓ built in 6.74s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/companions.py",
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
},
{
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
},
{
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/lint.py",
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/parser.py",
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
},
{
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
},
{
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
},
{
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/roles.py",
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/validate.py",
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/manifest.json",
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
}
],
"original_files": 156,
"all_unchanged": true
}
@@ -0,0 +1,69 @@
{
"base": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"first": {
"imported": 155,
"user_excluded": 1
},
"upgrade": {
"skipped": 154,
"updated": 1,
"user_excluded": 1
},
"repeat": {
"skipped": 155,
"user_excluded": 1
},
"restored_rows": 1,
"untouched_whole_rows": 154,
"eligibility_unchanged": true,
"redo": {
"skipped": 154,
"updated": 1,
"user_excluded": 1
},
"user_protection": [
{
"phase": "user-before",
"counts": {
"skipped": 154,
"conflict": 1,
"user_excluded": 1
},
"whole_rows": 1,
"columns": 29
},
{
"phase": "user-after",
"counts": {
"skipped": 154,
"conflict": 1,
"user_excluded": 1
},
"whole_rows": 1,
"columns": 29
}
],
"fresh": {
"imported": 155,
"user_excluded": 1
},
"fresh_repeat": {
"skipped": 155,
"user_excluded": 1
},
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"source_named_fields": 1217,
"positional_widgets": 3660,
"companion_values": 294,
"new_saved": 46,
"new_notes": 3,
"old_saved": 2155,
"old_notes": 62,
"overviews": 57,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1,811 @@
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386",
"git_blob_sha1": "91e5b6f95361526ee26200a3b71be12846145bb5",
"fields": [
{
"node": 76,
"pointer": "/nodes/3/widgets_values/0",
"value": "ComfyUI_01598_.png",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 76,
"pointer": "/nodes/3/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 81,
"pointer": "/nodes/4/widgets_values/0",
"value": "ComfyUI_temp_lheqp_00004_.png",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 81,
"pointer": "/nodes/4/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 166,
"pointer": "/nodes/5/widgets_values/0",
"value": [
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_targv_00005_.png&type=temp&subfolder=&rand=0.004618300970162137"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_targv_00006_.png&type=temp&subfolder=&rand=0.29271256038842175"
}
],
"json_type": "list",
"scope": "root",
"named": null
},
{
"node": 94,
"pointer": "/nodes/8/widgets_values/0",
"value": "Flux2-Klein",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 129,
"pointer": "/definitions/subgraphs/0/nodes/6/widgets_values/0",
"value": 1024,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 129,
"pointer": "/definitions/subgraphs/0/nodes/6/widgets_values/1",
"value": 1024,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 129,
"pointer": "/definitions/subgraphs/0/nodes/6/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 122,
"pointer": "/definitions/subgraphs/0/nodes/8/widgets_values/0",
"value": "euler",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 125,
"pointer": "/definitions/subgraphs/0/nodes/9/widgets_values/0",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 125,
"pointer": "/definitions/subgraphs/0/nodes/9/widgets_values/1",
"value": "fixed",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 138,
"pointer": "/definitions/subgraphs/0/nodes/12/widgets_values/0",
"value": 4,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 138,
"pointer": "/definitions/subgraphs/0/nodes/12/widgets_values/1",
"value": 1024,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 138,
"pointer": "/definitions/subgraphs/0/nodes/12/widgets_values/2",
"value": 1024,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 137,
"pointer": "/definitions/subgraphs/0/nodes/13/widgets_values/0",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 164,
"pointer": "/definitions/subgraphs/0/nodes/14/widgets_values/0",
"value": "Flux\\Klien9B_bs_vton_服装迁移.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 164,
"pointer": "/definitions/subgraphs/0/nodes/14/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 133,
"pointer": "/definitions/subgraphs/0/nodes/15/widgets_values/0",
"value": "qwen_3_8b_fp8mixed.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 133,
"pointer": "/definitions/subgraphs/0/nodes/15/widgets_values/1",
"value": "flux2",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 133,
"pointer": "/definitions/subgraphs/0/nodes/15/widgets_values/2",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 127,
"pointer": "/definitions/subgraphs/0/nodes/16/widgets_values/0",
"value": "full_encoder_small_decoder.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 135,
"pointer": "/definitions/subgraphs/0/nodes/17/widgets_values/0",
"value": "使用图 1 中的人物,穿着图 2 中的服装。精准衣服的材质细节。高清修复。\n\nperfect clothing, neat fabric, reasonable clothing structure, natural wearing effect",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 136,
"pointer": "/definitions/subgraphs/0/nodes/18/widgets_values/0",
"value": "bad clothing, deformed clothes, broken clothes, overlapping clothes, transparent clothes, see-through, messy clothing, wrong outfit, ill-fitting clothes, extra clothes, missing clothing, floating fabric, distorted fabric, wrinkled chaos, bad sleeves, broken collar, deformed skirt, messy trousers, exposed skin error, clothing glitch, body through clothes, abnormal clothing structure, bad anatomy, mutated limbs, extra hands, blurry, text, watermark, logo, ugly, low quality",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/0",
"value": "original",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/3",
"value": "crop",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/4",
"value": "lanczos",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/5",
"value": "8",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/6",
"value": "longest",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/7",
"value": 1920,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 171,
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/8",
"value": "#000000",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/0",
"value": "original",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/3",
"value": "crop",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/4",
"value": "lanczos",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/5",
"value": "8",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/6",
"value": "longest",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/7",
"value": 1920,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 172,
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/8",
"value": "#000000",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 126,
"pointer": "/definitions/subgraphs/0/nodes/21/widgets_values/0",
"value": "Flux\\flux-2-klein-9b-fp8.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 126,
"pointer": "/definitions/subgraphs/0/nodes/21/widgets_values/1",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 173,
"pointer": "/definitions/subgraphs/0/nodes/22/widgets_values/0",
"value": "Flux\\Flux2-Klein-9B_lcs_consist_20260415_一致性小志版.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 173,
"pointer": "/definitions/subgraphs/0/nodes/22/widgets_values/1",
"value": 0.8,
"json_type": "float",
"scope": "/definitions/subgraphs/0",
"named": null
}
],
"empty": [
{
"node": 165,
"pointer": "/nodes/1",
"state": "missing"
},
{
"node": 167,
"pointer": "/nodes/6",
"state": "empty_list"
},
{
"node": 144,
"pointer": "/definitions/subgraphs/0/nodes/0",
"state": "empty_list"
},
{
"node": 142,
"pointer": "/definitions/subgraphs/0/nodes/1",
"state": "empty_list"
},
{
"node": 140,
"pointer": "/definitions/subgraphs/0/nodes/2",
"state": "empty_list"
},
{
"node": 139,
"pointer": "/definitions/subgraphs/0/nodes/3",
"state": "empty_list"
},
{
"node": 143,
"pointer": "/definitions/subgraphs/0/nodes/4",
"state": "empty_list"
},
{
"node": 141,
"pointer": "/definitions/subgraphs/0/nodes/5",
"state": "empty_list"
},
{
"node": 128,
"pointer": "/definitions/subgraphs/0/nodes/7",
"state": "empty_list"
},
{
"node": 123,
"pointer": "/definitions/subgraphs/0/nodes/10",
"state": "empty_list"
},
{
"node": 124,
"pointer": "/definitions/subgraphs/0/nodes/11",
"state": "empty_list"
}
],
"notes": [
{
"node": 97,
"pointer": "/nodes/0/widgets_values/0",
"text": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n",
"characters": 1407
},
{
"node": 174,
"pointer": "/nodes/2/widgets_values/0",
"text": "# 服装",
"characters": 4
},
{
"node": 175,
"pointer": "/nodes/7/widgets_values/0",
"text": "# 人物",
"characters": 4
}
],
"scopes": [
{
"pointer": "/",
"nodes": 9,
"edges": 5,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
},
{
"pointer": "/definitions/subgraphs/0",
"nodes": 23,
"edges": 41,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4
],
"named_nodes": 0
}
],
"extra": {
"frontendVersion": "1.40.0",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 1.0610764609500045,
"offset": [
-356.78856240438125,
-785.8815960920147
]
}
},
"host": {
"id": 167,
"type": "2420988f-618b-469c-b218-f32d8e251b16",
"pos": [
670,
1100
],
"size": [
380,
510
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 273
},
{
"localized_name": "图像_1",
"name": "image_1",
"shape": 7,
"type": "IMAGE",
"link": 274
},
{
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"name": "scale_to_length",
"type": "INT",
"widget": {
"name": "scale_to_length"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
275,
286
]
}
],
"properties": {
"proxyWidgets": [
[
"126",
"unet_name"
],
[
"164",
"lora_name"
],
[
"133",
"clip_name"
],
[
"127",
"vae_name"
],
[
"135",
"text"
],
[
"172",
"scale_to_length"
],
[
"138",
"steps"
],
[
"137",
"cfg"
],
[
"125",
"noise_seed"
],
[
"125",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.21.1",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
"definition_boundary": {
"id": "2420988f-618b-469c-b218-f32d8e251b16",
"inputNode": {
"id": -10,
"bounding": [
170,
1574.0378130511458,
135.673828125,
208
]
},
"outputNode": {
"id": -20,
"bounding": [
2992.0189065255727,
1584.0378130511458,
128,
68
]
},
"inputs": [
{
"id": "84303e58-f7e9-4850-a820-323026c8b134",
"name": "image",
"type": "IMAGE",
"linkIds": [
287
],
"localized_name": "图像",
"pos": [
281.673828125,
1598.0378130511458
]
},
{
"id": "a827d3b6-1e98-4cb5-9def-3b8300d52bbb",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
290
],
"localized_name": "图像_1",
"pos": [
281.673828125,
1618.0378130511458
]
},
{
"id": "32ae19f9-cc9d-441c-90c8-4befdddf2d12",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
277
],
"pos": [
281.673828125,
1638.0378130511458
]
},
{
"id": "9f8382d6-fa7e-49c9-a7ea-9d50e158b8ba",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
278
],
"pos": [
281.673828125,
1658.0378130511458
]
},
{
"id": "5960cb07-9a5f-4492-af79-5d918d015c01",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
279
],
"pos": [
281.673828125,
1678.0378130511458
]
},
{
"id": "c920b633-fccc-4618-9ba2-ad34711ad14e",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
280
],
"pos": [
281.673828125,
1698.0378130511458
]
},
{
"id": "95f3aaa7-4f61-40ee-a979-8ba27ad3d6d0",
"name": "text",
"type": "STRING",
"linkIds": [
281
],
"pos": [
281.673828125,
1718.0378130511458
]
},
{
"id": "f83b12c2-3e64-4bd4-bcbe-33c6ceeef8e5",
"name": "scale_to_length",
"type": "INT",
"linkIds": [
292,
293
],
"pos": [
281.673828125,
1738.0378130511458
]
}
],
"outputs": [
{
"id": "df0a805c-16fc-433c-a018-8f49904c1a47",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
200,
200
],
"localized_name": "图像",
"pos": [
3016.0189065255727,
1608.0378130511458
]
}
],
"widgets": []
}
}
@@ -0,0 +1,87 @@
"""Independent original bytes and every physical boundary; no layout mapping."""
import hashlib
import json
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
PATH = "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json"
def inventory():
raw = (ROOT / PATH).read_bytes()
g = json.loads(raw)
fields, empty, notes, scopes = [], [], [], []
graphs = [("", g)] + [
(f"/definitions/subgraphs/{i}", s) for i, s in enumerate(g["definitions"]["subgraphs"])
]
for prefix, graph in graphs:
scopes.append(
dict(
pointer=prefix or "/",
nodes=len(graph["nodes"]),
edges=len(graph["links"]),
modes=[n["mode"] for n in graph["nodes"]],
named_nodes=sum("widgets_values_named" in n for n in graph["nodes"]),
)
)
for i, n in enumerate(graph["nodes"]):
p = f"{prefix}/nodes/{i}"
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
empty.append(
dict(
node=n["id"],
pointer=p,
state="missing"
if "widgets_values" not in n
else "null"
if n["widgets_values"] is None
else "empty_list",
)
)
if n["type"] in ["Note", "MarkdownNote"]:
notes.append(
dict(
node=n["id"],
pointer=p + "/widgets_values/0",
text=n["widgets_values"][0],
characters=len(n["widgets_values"][0]),
)
)
continue
for j, v in enumerate(n.get("widgets_values") or []):
fields.append(
dict(
node=n["id"],
pointer=f"{p}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
scope="root" if not prefix else prefix,
named=n.get("widgets_values_named"),
)
)
sub = g["definitions"]["subgraphs"][0]
host = next(n for n in g["nodes"] if n["id"] == 167)
return dict(
path=PATH,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest(),
fields=fields,
empty=empty,
notes=notes,
scopes=scopes,
extra=g["extra"],
host=host,
definition_boundary={
k: sub[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]
},
)
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
@@ -0,0 +1,23 @@
[
{
"file": "fixed_document.py",
"sha256": "54d39c5da29fbbfe54fa14a44f37573a358c8c1715bd18421751d4330ccad515",
"wheel": true,
"sdist": true,
"definitions": 57
},
{
"file": "source_reviews.json",
"sha256": "631372af8f829b7e56ee7307ef2ae59695acc534577cdb2d57cb2d864051adae",
"wheel": true,
"sdist": true,
"definitions": 57
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 57
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json": "e4e1272f07523767584b9bfedb060912ebef13d14392ab4b5e42bd4e4e0aab31"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,9 @@
{
"number": 25,
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
"state": "open",
"merged": false,
"head": "agent/agent/a64a969a6a44",
"sha": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"base": "main"
}
@@ -0,0 +1,12 @@
........................................................................ [ 20%]
........................................................................ [ 40%]
........................................................................ [ 60%]
........................................................................ [ 80%]
.................................................................... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-60c6b37da47c/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
356 passed, 1 warning in 5.50s
@@ -0,0 +1,64 @@
"Offline batch evidence tooling; no upstream execution."
from __future__ import annotations
import hashlib
import json
import subprocess
from build_definition import OUT, PATHS, REPO, build, canonical
BASE = "68e2bf96601bf2c5c580be65db4c582205b0c120"
RESOURCE = ("calliope-backend/src/calliope/" + "co") + "mfyui/source_reviews.json"
def build_all():
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
for i, path in enumerate(PATHS):
block = build(i)
assert reviews[path]["source_sha"] == block["source_sha1"]
assert "fixed_version_document" not in previous[path]
reviews[path]["fixed_version_document"] = block
return reviews, previous
def main():
current = json.loads((REPO / RESOURCE).read_bytes())
reviews, _previous = build_all()
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
pins = {}
for i, path in enumerate(PATHS):
block = reviews[path]["fixed_version_document"]
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
(OUT / f"definition-{i}.json").write_text(
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
)
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
module = REPO / (("calliope-backend/src/calliope/" + "co") + "mfyui/fixed_document.py")
text = module.read_text()
for path, digest in pins.items():
old_block = current[path].get("fixed_version_document")
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
if old_digest and old_digest in text:
text = text.replace(old_digest, digest)
elif digest in text:
pass
else:
text = text.replace(
"DEFINITIONS = {",
"DEFINITIONS = {\n (\n"
+ "".join(
" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41)
)
+ " ): "
+ repr(digest)
+ ",",
)
module.write_text(text)
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
print("PASS one new definition; other 155 reviews and old 56 blocks unchanged")
if __name__ == "__main__":
main()
@@ -0,0 +1,369 @@
"Offline batch evidence tooling; no upstream execution."
from __future__ import annotations
import hashlib
import io
import json
import os
import sqlite3
import subprocess
import sys
import tarfile
import tempfile
import zipfile
from pathlib import Path
from build_definition import OUT, PATHS, REPO, canonical
from rebuild import BASE, RESOURCE, build_all
BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
sys.path.insert(0, str(REPO / "calliope-backend"))
def write(name, value):
(OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
def require_packages():
dist = REPO / "calliope-backend/dist"
w = sorted(dist.glob("*.whl"))
s = sorted(dist.glob("*.tar.gz"))
if not w or not s:
raise SystemExit(
"缺少wheel/sdist包产物,请先在仓库根执行:uv bui"
+ "ld --project calliope-backend --"
+ "offline"
)
return w[-1], s[-1]
def main():
from calliope.comfyui.fixed_document import DEFINITIONS
from calliope.comfyui.library import rollback_batch
from scripts.audit_library_documents import audit
wheels, sdists = require_packages()
from verify_sources import main as verify_sources
verify_sources()
rebuilt, previous = build_all()
assert rebuilt == json.loads((REPO / RESOURCE).read_bytes())
old_blocks = {
p: r[("fixed_version_document")]
for p, r in previous.items()
if ("fixed_version_document") in r
}
assert len(old_blocks) == 56
assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items())
assert sum(len(b["fields"]) for b in old_blocks.values()) == 2155
for p, d in DEFINITIONS.items():
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
write(
"review-delta.json",
{
"base": BASE,
"changed_paths": PATHS,
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 56,
"old_saved": 2155,
"old_notes": 62,
"new_saved": 46,
"new_notes": 3,
"total_documents": 57,
"total_saved": 2201,
"total_notes": 65,
},
)
with tempfile.TemporaryDirectory() as directory:
work = Path(directory)
old = work / "old"
old.mkdir()
data = subprocess.check_output(["git", "archive", BASE, ("calliope-backend/src")], cwd=REPO)
with tarfile.open(fileobj=io.BytesIO(data)) as a:
a.extractall(old, filter="data")
db = work / "library.db"
def run(name, historical=False):
out = work / name
env = {
**os.environ,
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
}
subprocess.run(
[
sys.executable,
"-m",
"calliope.comfyui.library_cli",
"import",
"--root",
str(REPO / "example_ComfyUI_workflows"),
"--db",
str(db),
"--source-commit",
BASE,
"--companions",
str(REPO / (("docs/hel-892/supplied-api/mani" + "fe") + "st.json")),
"--output-dir",
str(out),
],
cwd=REPO,
env=env,
check=True,
stdout=subprocess.DEVNULL,
)
return json.loads((out / "import_report.json").read_bytes()), out
def rows():
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
return {
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
}
first, _ = run("historical", True)
before = rows()
assert first["counts"] == {"imported": 155, "user_excluded": 1}
assert all(
"fixed_version" in json.loads(before[p]["doc_json"])
if BASE.startswith("3c307e0")
else "fixed_version" not in json.loads(before[p]["doc_json"])
for p in PATHS
)
assert all(
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
for p in DEFINITIONS
if p not in PATHS
)
original = db
protected = []
def protect(name):
nonlocal db
db = work / (name + ".db")
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
src.backup(dst)
for p in PATHS:
dst.execute(
(
(("UPDATE workflows SET descripti") + "on")
+ ("=? WHERE source_repo_path=?")
),
(name, p),
)
snapshot = rows()
r, _ = run(name)
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS)
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
db = original
protect("user-before")
upgrade, exported = run("upgrade")
after = rows()
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
for p, row in after.items():
if p not in PATHS:
assert row == before[p]
continue
assert len(row) == 29
assert all(
row[k] == before[p][k]
for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
)
d = json.loads(row["doc_json"])
assert d["fixed_version"]["matched"]
old_doc = json.loads(before[p]["doc_json"])
without = dict(d)
fixed = without.pop("fixed_version")
# Output-reference enrichment appends two existing steps after the generic
# three for this graph. Replace only the actual original generic segment.
generic = [
f"打开源工作流 {p},逐项核对下列源节点与注释。",
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
"明确触发真实测试后核对产物;本批未提交生成任务。",
]
offset = old_doc["steps"].index(generic[0])
assert old_doc["steps"][offset : offset + 3] == generic
assert (
without["steps"]
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
)
without["steps"] = old_doc["steps"]
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
old_doc.pop("fixed_version", None)
assert without == old_doc
write("actual-" + Path(p).stem + ".json", d)
repeat, _ = run("repeat")
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
r = rollback_batch(c, upgrade["batch_id"])
assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"])
assert rows() == before
redo, _ = run("redo")
assert redo["counts"] == upgrade["counts"]
protect("user-after")
db = work / "fresh.db"
fresh, exported = run("fresh")
fresh_repeat, _ = run("fresh-repeat")
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
companion = 0
for row in rows().values():
d = json.loads(row["doc_json"])
companion += sum(
p.get("value_origin") == ("supplied_api_companion") for p in d["params"]
)
assert (
not row["is_enabled"]
and row["doc_completed_at"] is None
and row["exec_verified_at"] is None
)
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
assert d["dependencies"]["check_state"] == "unchecked"
report = audit(REPO, exported)
assert (
report["named_values_preserved"] == 1217
and report["unnamed_widget_nodes"] == 3660
and companion == 294
)
assert report["full_documents_completed"] == report["real_executions"] == 0
write("audit-summary.json", {k: v for k, v in report.items() if k != "files"})
write(
"import-protection.json",
{
"base": BASE,
"first": first["counts"],
"upgrade": upgrade["counts"],
"repeat": repeat["counts"],
"restored_rows": 1,
"untouched_whole_rows": 154,
"eligibility_unchanged": True,
"redo": redo["counts"],
"user_protection": protected,
"fresh": fresh["counts"],
"fresh_repeat": fresh_repeat["counts"],
"states": fresh["states"],
"source_named_fields": 1217,
"positional_widgets": 3660,
"companion_values": companion,
"new_saved": 46,
"new_notes": 3,
"old_saved": 2155,
"old_notes": 62,
"overviews": 57,
"all_disabled": True,
"doc_done": 0,
"executed": 0,
},
)
old_reviews = json.loads(
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
)
current = json.loads((REPO / RESOURCE).read_bytes())
for p in PATHS:
current[p].pop("fixed_version_document")
old_reviews[p].pop("fixed_version_document", None)
assert current == old_reviews
boundaries = json.loads(
(
REPO / (("docs/hel-892/h3-document-evide" + "nc") + "e/unchanged-boundaries.json")
).read_bytes()
)
paths = (
[f["path"] for f in boundaries["files"]]
+ boundaries["frozen_conversion_and_audits"]
+ [("calliope-backend/src/calliope/co" + "mfyui/library.py")]
)
kept = []
for p in paths:
raw = (REPO / p).read_bytes()
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
ui = ("calliope-web/src/lib/component" + "s/") + "WorkflowDocumentDrawer.svelte"
drawer_bytes = (REPO / ui).read_bytes()
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
write(
"boundaries.json",
{
"base": BASE,
"files": kept,
"originals": 163,
"old_fifty_six_blocks_unchanged": True,
"drawer_css_unchanged": True,
"drawer_whole_file_unchanged": True,
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
"conversion_rerun": False,
"profiles_28_candidates_9_diffs_6": "unchanged",
},
)
tracked = (
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
.decode()
.rstrip("\0")
.split("\0")
)
frozen = [
p
for p in tracked
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
or p.startswith(("calliope-backend/src/calliope/" + "co") + "mfyui/")
and p
not in [
RESOURCE,
((("calliope-backend/src/calliope/") + "co") + ("mfyui/fixed_document.py")),
]
]
for p in frozen:
assert (REPO / p).read_bytes() == subprocess.check_output(
["git", "show", f"{BASE}:{p}"], cwd=REPO
)
write(
"frozen-resource-check.json",
{
"base": BASE,
"files": [
{
"path": p,
"sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest(),
}
for p in frozen
],
"original_files": sum(p.startswith("example_ComfyUI_workflows/") for p in frozen),
"all_unchanged": True,
},
)
packages = []
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
raw = (
REPO / ((("calliope-backend/src/calliope/") + "co") + "mfyui") / name
).read_bytes()
assert w.read("calliope/comfyui/" + name) == raw
member = next(n for n in s.getnames() if n.endswith(("/src/calliope/comfyui/") + name))
assert s.extractfile(member).read() == raw
packages.append(
{
"file": name,
"sha256": hashlib.sha256(raw).hexdigest(),
"wheel": True,
"sdist": True,
"definitions": 57,
}
)
write("package-check.json", packages)
print(
f"PASS actual {BASE} upgrade1/skip154, repe"
"at155, rollback1, edits1"
"/29cols, fresh155,"
" 1217/3660/294, 57 defin"
"itions, frozen bou"
"ndaries, wheel/sdist"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
PASS 54 texts; 66 citations;46 positions/46 physical edges
PASS actual 68e2bf96601bf2c5c580be65db4c582205b0c120 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 57 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,130 @@
"Offline batch evidence tooling; no upstream execution."
from __future__ import annotations
import hashlib
import json
from pathlib import Path
OUT = Path(__file__).resolve().parent
def main():
lines = [
"# Flux服装迁移固定参考中文说明",
"",
"新增46保存位置/3注释;旧56块2155位置+62源注释不变,57图2201+65仅参考;155定稿0/实跑0/新增转换0。",
"",
(
("来源local_file以docs/hel-892/flux2-clothing-document")
+ (
("-evidence为基准;源SHA/全图摘要/定义摘要绑" + "定;不加")
+ "载上游代码、媒体或链接。"
)
),
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
*[v + "\n" for v in b["flow"]],
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
"",
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
"",
"具名保存位置:`" + f["named_pointer"] + "`;作用域:" + f["scope"],
"",
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
"",
"范围/条件:" + f["limits"],
"",
f["execution_note"],
"",
"依据:",
]
for k in f["evidence"]:
e = b["sources"][k]
lines += [
(
f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
)
]
if "named_value" in f and f["named_value"] != f["value"]:
lines += [
"具名保存完整形态(与位置列表分开保留):",
"",
"```json",
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```text",
n["text"],
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "Flux服装迁移固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
(OUT / "fixed-source-index.json").write_text(
json.dumps(index, ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,46 @@
"Compare deterministic definitions and rendered artifacts."
import hashlib
import json
from build_definition import OUT, REPO, canonical
from rebuild import RESOURCE, build_all
from render_report import main as render
def main():
a, old = build_all()
b, previous = build_all()
assert a == b and old == previous
assert a == json.loads((REPO / RESOURCE).read_bytes())
render()
paths = [
OUT / "fixed-source-index.json",
OUT.parent / "Flux服装迁移固定参考中文说明.md",
]
before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
render()
assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
(OUT / "repeatability.json").write_text(
json.dumps(
{
"definitions": 57,
"repeated_build_equal": True,
"repeated_render_equal": True,
"resource_sha256": hashlib.sha256(canonical(a)).hexdigest(),
"artifacts": before,
},
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print(
("PASS deterministic definitions" + " a")
+ ("nd rendered artifacts: zero di" + "ff")
+ "erence"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,10 @@
{
"definitions": 57,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "db4d42a277a0546753a58f1ecd735eb4a2131ea01fa548946ccd872243d9ce60",
"artifacts": {
"fixed-source-index.json": "e8a3de6a93a22d33e990f1a23d1df39227e1324d449d7e4f516a205761ca51e0",
"Flux服装迁移固定参考中文说明.md": "0b86712c7828ed0501aa1e431eb68b5b39efc45a33c3bbb3d9a62c58b4d13e16"
}
}
@@ -0,0 +1,15 @@
{
"base": "68e2bf96601bf2c5c580be65db4c582205b0c120",
"changed_paths": [
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 56,
"old_saved": 2155,
"old_notes": 62,
"new_saved": 46,
"new_notes": 3,
"total_documents": 57,
"total_saved": 2201,
"total_notes": 65
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1 @@
12 files already formatted
@@ -0,0 +1,202 @@
INFO: Started server process [973472]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
{'counts': {'skipped': 154, 'updated': 1, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
INFO: 127.0.0.1:38346 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38358 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38376 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38360 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:38390 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:38396 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46520 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46522 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46528 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46530 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46540 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46554 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46566 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46572 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46588 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46600 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34366 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34374 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34378 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34386 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34394 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34398 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34412 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34422 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34434 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34448 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34450 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34456 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34468 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34470 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34484 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34488 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34502 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34514 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34516 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34524 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34538 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34554 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34562 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34576 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34578 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34592 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34596 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34598 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59454 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59468 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59470 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59478 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59490 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59498 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59504 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59518 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59522 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59532 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59538 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59550 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59566 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59580 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59596 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59604 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59614 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59620 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59624 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59640 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59650 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59656 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59668 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59674 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59676 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59680 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44130 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44132 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44144 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44150 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44156 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44164 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44172 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44182 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44198 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44210 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44224 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44230 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44240 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59558 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59564 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59576 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59586 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59598 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59608 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59618 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59634 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59636 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59640 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59644 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59652 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59658 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59668 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59682 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59694 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59702 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59718 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59720 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59730 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59736 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59746 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59762 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59774 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59776 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59790 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59796 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59806 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44092 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44106 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44122 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44128 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44132 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44144 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44156 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44158 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44168 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44180 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44196 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44206 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44212 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44216 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44218 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44220 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44232 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44242 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44254 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44258 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44274 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44288 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44292 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44298 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38652 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [973472]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 281 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
# 第76批,仅Flux服装迁移;仓库根执行。PR25原分支 agent/agent/a64a969a6a44 / main。
# 真实旧代码基线68e2bf96601bf2c5c580be65db4c582205b0c120。
uv sync --project calliope-backend --offline --extra dev
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/inventory.py
# 必要六份frontend1.40.0子图原文本已入仓;本入口已有文本时仅离线重绑/校验。
# 不运行上游源码;缺文件时只取精确commit原文本,原字节不可格式化。
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/bind_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/rebuild.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_flux2_clothing_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/flux2-clothing-document-evidence/*.py calliope-backend/tests/test_flux2_clothing_fixed_document.py e2e/run-flux2-clothing-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/flux2-clothing-document-evidence/*.py calliope-backend/tests/test_flux2_clothing_fixed_document.py e2e/run-flux2-clothing-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/flux2-clothing-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/flux2-clothing-document-evidence/recompute.py
npm ci --offline --ignore-scripts --prefix calliope-web
npm run build --prefix calliope-web
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-flux2-clothing-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-clothing-document-evidence/collect_browser.py
# 本轮356通过=343专项+13库;保留Starlette既有弃用提示。
# 首轮自查修正测试无操作变更和正向单位文字并补断言;最终记录不累加重跑。
# 12自写Python用显式项目Ruff配置,原件不格式化;不称全仓绿。
# 历史5个既有后台失败仅沿用记录,未机械重跑未改大套件。
# finally停止本轮服务,collect_browser再独立核两端口拒绝连接;截图仅附件不入仓。
@@ -0,0 +1,184 @@
"Recheck selected bytes, real Git identities, citations and every graph endpoint."
import hashlib
import json
import zlib
from build_definition import OUT, PATHS, REF, REPO, build, canonical
from inventory import inventory
def main():
block = build()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
checks = []
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
root = REF / e["identity_root"]
key = e["identity_key"]
if key == "rgthree":
members = json.loads((root / "rgthree-members.json").read_bytes())
info = next(x for x in members if x["name"] == e["file"])
assert zlib.crc32(raw) == info["crc"] == e["member_crc32"]
assert json.loads((root / "rgthree-registry.json").read_bytes())["version"] == e["tag"]
assert e["git_commit_binding"] == "unknown" and e["package_sha256"].startswith(
"unknown"
)
proof = "exact registry version + selected ZIP member CRC/SHA; full package/Git unknown"
else:
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert blob == e["git_blob_sha1"]
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert not tree["truncated"]
assert next(t["sha"] for t in tree["tree"] if t["path"] == e["file"]) == blob
if key == "layer":
c = json.loads((REF / "layer-commit-meta.json").read_bytes())
assert c["sha"] == e["commit"] and c["commit"]["tree"]["sha"] == e["tree"]
assert tree["sha"] == e["tree_index_ref"] == e["commit"]
proof = (
"pinned GitHub commit metadata + selected blob"
"; tree index ref is NOT tree object; no full "
"tree rehash"
)
else:
c = (root / (key + "-commit.txt")).read_bytes()
assert (
hashlib.sha1(b"commit " + str(len(c)).encode() + b"\0" + c).hexdigest()
== e["commit"]
)
assert (
c.decode().splitlines()[0] == "tree " + e["tree"] and tree["sha"] == e["tree"]
)
tag = json.loads((root / (key + "-tag.json")).read_bytes())
assert tag["commit"] == e["commit"]
t = (root / (key + "-tag.txt")).read_bytes()
if tag["object"] != e["commit"]:
assert (
hashlib.sha1(b"tag " + str(len(t)).encode() + b"\0" + t).hexdigest()
== tag["object"]
)
assert t.decode().startswith("object " + e["commit"] + "\n")
else:
assert t == c
proof = (
"raw commit/tag hash + real tree ID + selected blob/index; no full tree rehash"
)
lic = next(x for x in rows if x["id"] == e["id"] and x["file"] == "LICENSE")
assert hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest() == lic["sha256"]
checks.append(
dict(
id=e["id"],
file=e["file"],
sha256=e["sha256"],
commit=e["commit"],
tree=e["tree"],
proof=proof,
license_file=e["license_file"],
)
)
inv = inventory()
assert [s["nodes"] for s in inv["scopes"]] == [9, 23]
assert [s["edges"] for s in inv["scopes"]] == [5, 41]
assert all(s["named_nodes"] == 0 for s in inv["scopes"])
assert inv["scopes"][1]["modes"].count(4) == 1
assert len(inv["fields"]) == 46 and sum(f["scope"] == "root" for f in inv["fields"]) == 6
assert sum(f["json_type"] == "list" for f in inv["fields"]) == 1
assert [(n["node"], n["characters"]) for n in inv["notes"]] == [(97, 1407), (174, 4), (175, 4)]
assert len(inv["empty"]) == 11
assert inv["empty"][0]["node"] == 165 and inv["empty"][0]["state"] == "missing"
assert all(x["state"] == "empty_list" for x in inv["empty"][1:])
for a, f in zip(inv["fields"], block["fields"], strict=True):
assert (a["pointer"], a["json_type"], canonical(a["value"])) == (
f["pointer"],
f["json_type"],
canonical(f["value"]),
)
for e in block["sources"]:
raw = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
g = json.loads((REPO / PATHS[0]).read_bytes())
sub = g["definitions"]["subgraphs"][0]
endpoints = []
for scope, graph in [("root", g), ("definition", sub)]:
ns = {n["id"]: n for n in graph["nodes"]}
ids = []
for original in graph["links"]:
if scope == "root":
eid, a, ao, z, zi, kind = original
else:
eid, a, ao, z, zi, kind = [
original[k]
for k in ["id", "origin_id", "origin_slot", "target_id", "target_slot", "type"]
]
ids.append(eid)
source = graph["inputs"][ao] if a == -10 else ns[a]["outputs"][ao]
target = graph["outputs"][zi] if z == -20 else ns[z]["inputs"][zi]
assert eid in source.get("linkIds", source.get("links", []))
assert eid in target["linkIds"] if z == -20 else target["link"] == eid
assert source["type"] in [kind, "*"] and target["type"] in [kind, "*"]
endpoints.append(
dict(
scope=scope,
edge=original,
source_backref=True,
target_backref=True,
source_type=source["type"],
target_type=target["type"],
)
)
assert len(ids) == len(set(ids))
# Reverse verification retains duplicate boundary output declarations.
for n in graph["nodes"]:
for slot in n.get("inputs", []):
assert slot.get("link") is None or slot["link"] in ids
for slot in n.get("outputs", []):
assert all(link in ids for link in slot.get("links") or [])
if scope == "definition":
for boundary in graph["inputs"] + graph["outputs"]:
assert all(link in ids for link in boundary["linkIds"])
ns = {n["id"]: n for n in g["nodes"]}
inner = {n["id"]: n for n in sub["nodes"]}
assert len(ns[167]["properties"]["proxyWidgets"]) == 10
assert len(ns[167]["inputs"]) == len(sub["inputs"]) == 8
for outer, boundary in zip(ns[167]["inputs"], sub["inputs"], strict=True):
assert (outer["name"], outer["type"]) == (boundary["name"], boundary["type"])
assert ns[167]["widgets_values"] == sub["widgets"] == []
assert ns[167]["inputs"][6]["link"] is None and ns[167]["inputs"][7]["link"] is None
assert sub["outputs"][0]["linkIds"] == [200, 200]
assert inner[123]["outputs"][1]["links"] == []
assert ns[94]["outputs"][0]["links"] is None and ns[166]["outputs"][0]["links"] is None
assert ns[76]["outputs"][1]["links"] is None and ns[81]["outputs"][1]["links"] is None
assert [270, 81, 0, 166, 1, "IMAGE"] in g["links"]
assert inner[127]["widgets_values"] == ["full_encoder_small_decoder.safetensors"]
assert inner[173]["mode"] == 4 and inner[164]["mode"] == 0
assert g["extra"]["frontendVersion"] == "1.40.0"
result = dict(
all_pass=True,
source_files=len(rows),
citations=len(block["sources"]),
identities=checks,
counts=block["counts"],
physical_endpoint_checks=endpoints,
duplicate_200_declarations_preserved=[200, 200],
physical_200_records=1,
protocol_conflicts_retained=[
"SaveImage source IMAGE vs core0.8.2 empty RETURN_TYPES",
"Comparer source IMAGE vs inherited Preview UI-only response",
],
upstream_executed=False,
prompt_constructed=False,
)
(OUT / "source-check.json").write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
print(
"PASS",
len(rows),
"texts;",
len(block["sources"]),
"citations;46 positions/46 physical edges",
)
if __name__ == "__main__":
main()
@@ -0,0 +1,3 @@
// Re-export Subgraph and GraphOrSubgraph from LGraph.ts to maintain compatibility
// This is a temporary fix to resolve circular dependency issues
export { Subgraph, type GraphOrSubgraph } from '@/lib/litegraph/src/LGraph'
@@ -0,0 +1,248 @@
import type { LGraphNode } from '@/lib/litegraph/src/LGraphNode'
import { LLink } from '@/lib/litegraph/src/LLink'
import type { RerouteId } from '@/lib/litegraph/src/Reroute'
import { CustomEventTarget } from '@/lib/litegraph/src/infrastructure/CustomEventTarget'
import type { SubgraphInputEventMap } from '@/lib/litegraph/src/infrastructure/SubgraphInputEventMap'
import type {
INodeInputSlot,
INodeOutputSlot,
Point,
ReadOnlyRect
} from '@/lib/litegraph/src/interfaces'
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import { NodeSlotType } from '@/lib/litegraph/src/types/globalEnums'
import type { IBaseWidget } from '@/lib/litegraph/src/types/widgets'
import type { SubgraphInputNode } from './SubgraphInputNode'
import type { SubgraphOutput } from './SubgraphOutput'
import { SubgraphSlot } from './SubgraphSlotBase'
import { isNodeSlot, isSubgraphOutput } from './subgraphUtils'
/**
* An input "slot" from a parent graph into a subgraph.
*
* IMPORTANT: A subgraph "input" is both an input AND an output. It creates an extra link connection point between
* a parent graph and a subgraph, so is conceptually similar to a reroute.
*
* This can be a little confusing, but is easier to visualise when imagining editing a subgraph.
* You have "Subgraph Inputs", because they are coming into the subgraph, which then connect to "node inputs".
*
* Functionally, however, when editing a subgraph, that "subgraph input" is the "origin" or "output side" of a link.
*/
export class SubgraphInput extends SubgraphSlot {
declare parent: SubgraphInputNode
events = new CustomEventTarget<SubgraphInputEventMap>()
/** The linked widget that this slot is connected to. */
private _widgetRef?: WeakRef<IBaseWidget>
get _widget() {
return this._widgetRef?.deref()
}
set _widget(widget) {
this._widgetRef = widget ? new WeakRef(widget) : undefined
}
override connect(
slot: INodeInputSlot,
node: LGraphNode,
afterRerouteId?: RerouteId
): LLink | undefined {
const { subgraph } = this.parent
// Allow nodes to block connection
const inputIndex = node.inputs.indexOf(slot)
if (
node.onConnectInput?.(inputIndex, this.type, this, this.parent, -1) ===
false
)
return
// if (slot instanceof SubgraphOutput) {
// // Subgraph IO nodes have no special handling at present.
// return new LLink(
// ++subgraph.state.lastLinkId,
// this.type,
// this.parent.id,
// this.parent.slots.indexOf(this),
// node.id,
// inputIndex,
// afterRerouteId,
// )
// }
// Disconnect target input, if it is already connected.
if (slot.link != null) {
subgraph.beforeChange()
const link = subgraph.getLink(slot.link)
this.parent._disconnectNodeInput(node, slot, link)
}
const inputWidget = node.getWidgetFromSlot(slot)
if (inputWidget) {
if (!this.matchesWidget(inputWidget)) {
console.warn('Target input has invalid widget.', slot, node)
return
}
this._widget ??= inputWidget
this.events.dispatch('input-connected', {
input: slot,
widget: inputWidget
})
}
const link = new LLink(
++subgraph.state.lastLinkId,
slot.type,
this.parent.id,
this.parent.slots.indexOf(this),
node.id,
inputIndex,
afterRerouteId
)
// Add to graph links list
subgraph._links.set(link.id, link)
// Set link ID in each slot
this.linkIds.push(link.id)
slot.link = link.id
// Reroutes
const reroutes = LLink.getReroutes(subgraph, link)
for (const reroute of reroutes) {
reroute.linkIds.add(link.id)
if (reroute.floating) delete reroute.floating
reroute._dragging = undefined
}
// If this is the terminus of a floating link, remove it
const lastReroute = reroutes.at(-1)
if (lastReroute) {
for (const linkId of lastReroute.floatingLinkIds) {
const link = subgraph.floatingLinks.get(linkId)
if (link?.parentId === lastReroute.id) {
subgraph.removeFloatingLink(link)
}
}
}
subgraph._version++
node.onConnectionsChange?.(NodeSlotType.INPUT, inputIndex, true, link, slot)
subgraph.afterChange()
return link
}
get labelPos(): Point {
const [x, y, , height] = this.boundingRect
return [x, y + height * 0.5]
}
getConnectedWidgets(): IBaseWidget[] {
const { subgraph } = this.parent
const widgets: IBaseWidget[] = []
for (const linkId of this.linkIds) {
const link = subgraph.getLink(linkId)
if (!link) {
console.error('Link not found', linkId)
continue
}
const resolved = link.resolve(subgraph)
if (resolved.input && resolved.inputNode?.widgets) {
// Has no widget
const widgetNamePojo = resolved.input.widget
if (!widgetNamePojo) continue
// Invalid widget name
if (!widgetNamePojo.name) {
console.warn('Invalid widget name', widgetNamePojo)
continue
}
const widget = resolved.inputNode.widgets.find(
(w) => w.name === widgetNamePojo.name
)
if (!widget) {
console.warn('Widget not found', widgetNamePojo)
continue
}
widgets.push(widget)
}
}
return widgets
}
/**
* Validates that the connection between the new slot and the existing widget is valid.
* Used to prevent connections between widgets that are not of the same type.
* @param otherWidget The widget to compare to.
* @returns `true` if the connection is valid, otherwise `false`.
*/
matchesWidget(otherWidget: IBaseWidget): boolean {
const widget = this._widgetRef?.deref()
if (!widget) return true
if (
otherWidget.type !== widget.type ||
otherWidget.options.min !== widget.options.min ||
otherWidget.options.max !== widget.options.max ||
otherWidget.options.step !== widget.options.step ||
otherWidget.options.step2 !== widget.options.step2 ||
otherWidget.options.precision !== widget.options.precision
) {
return false
}
return true
}
override disconnect(): void {
super.disconnect()
this.events.dispatch('input-disconnected', { input: this })
}
/** For inputs, x is the right edge of the input node. */
override arrange(rect: ReadOnlyRect): void {
const [right, top, width, height] = rect
const { boundingRect: b, pos } = this
b[0] = right - width
b[1] = top
b[2] = width
b[3] = height
pos[0] = right - height * 0.5
pos[1] = top + height * 0.5
}
/**
* Checks if this slot is a valid target for a connection from the given slot.
* For SubgraphInput (which acts as an output inside the subgraph),
* the fromSlot should be an input slot.
*/
override isValidTarget(
fromSlot: INodeInputSlot | INodeOutputSlot | SubgraphInput | SubgraphOutput
): boolean {
if (isNodeSlot(fromSlot)) {
return (
'link' in fromSlot &&
LiteGraph.isValidConnection(this.type, fromSlot.type)
)
}
if (isSubgraphOutput(fromSlot)) {
return LiteGraph.isValidConnection(this.type, fromSlot.type)
}
return false
}
}
@@ -0,0 +1,268 @@
import type { CanvasPointer } from '@/lib/litegraph/src/CanvasPointer'
import type { LGraphNode, NodeId } from '@/lib/litegraph/src/LGraphNode'
import { LLink } from '@/lib/litegraph/src/LLink'
import type { RerouteId } from '@/lib/litegraph/src/Reroute'
import type { LinkConnector } from '@/lib/litegraph/src/canvas/LinkConnector'
import { SUBGRAPH_INPUT_ID } from '@/lib/litegraph/src/constants'
import type {
DefaultConnectionColors,
INodeInputSlot,
INodeOutputSlot,
ISlotType,
Positionable
} from '@/lib/litegraph/src/interfaces'
import type { NodeLike } from '@/lib/litegraph/src/types/NodeLike'
import type { CanvasPointerEvent } from '@/lib/litegraph/src/types/events'
import { NodeSlotType } from '@/lib/litegraph/src/types/globalEnums'
import { findFreeSlotOfType } from '@/lib/litegraph/src/utils/collections'
import { EmptySubgraphInput } from './EmptySubgraphInput'
import { SubgraphIONodeBase } from './SubgraphIONodeBase'
import type { SubgraphInput } from './SubgraphInput'
import type { SubgraphOutput } from './SubgraphOutput'
export class SubgraphInputNode
extends SubgraphIONodeBase<SubgraphInput>
implements Positionable
{
readonly id: NodeId = SUBGRAPH_INPUT_ID
readonly emptySlot: EmptySubgraphInput = new EmptySubgraphInput(this)
get slots() {
return this.subgraph.inputs
}
override get allSlots(): SubgraphInput[] {
return [...this.slots, this.emptySlot]
}
get slotAnchorX() {
const [x, , width] = this.boundingRect
return x + width - SubgraphIONodeBase.roundedRadius
}
override onPointerDown(
e: CanvasPointerEvent,
pointer: CanvasPointer,
linkConnector: LinkConnector
): void {
// Left-click handling for dragging connections
if (e.button === 0) {
for (const slot of this.allSlots) {
// Check if click is within the full slot area (including label)
if (slot.boundingRect.containsXy(e.canvasX, e.canvasY)) {
pointer.onDragStart = () => {
linkConnector.dragNewFromSubgraphInput(this.subgraph, this, slot)
}
pointer.onDragEnd = (eUp) => {
linkConnector.dropLinks(this.subgraph, eUp)
}
pointer.onDoubleClick = () => {
this.handleSlotDoubleClick(slot, e)
}
pointer.finally = () => {
linkConnector.reset(true)
}
}
}
// Check for right-click
} else if (e.button === 2) {
const slot = this.getSlotInPosition(e.canvasX, e.canvasY)
if (slot) this.showSlotContextMenu(slot, e)
}
}
/** @inheritdoc */
override renameSlot(slot: SubgraphInput, name: string): void {
this.subgraph.renameInput(slot, name)
}
/** @inheritdoc */
override removeSlot(slot: SubgraphInput): void {
this.subgraph.removeInput(slot)
}
canConnectTo(
inputNode: NodeLike,
input: INodeInputSlot,
fromSlot: SubgraphInput
): boolean {
return inputNode.canConnectTo(this, input, fromSlot)
}
connectSlots(
fromSlot: SubgraphInput,
inputNode: LGraphNode,
input: INodeInputSlot,
afterRerouteId: RerouteId | undefined
): LLink {
const { subgraph } = this
const outputIndex = this.slots.indexOf(fromSlot)
const inputIndex = inputNode.inputs.indexOf(input)
if (outputIndex === -1 || inputIndex === -1)
throw new Error('Invalid slot indices.')
return new LLink(
++subgraph.state.lastLinkId,
input.type || fromSlot.type,
this.id,
outputIndex,
inputNode.id,
inputIndex,
afterRerouteId
)
}
// #region Legacy LGraphNode compatibility
connectByType(
slot: number,
target_node: LGraphNode,
target_slotType: ISlotType,
optsIn?: { afterRerouteId?: RerouteId }
): LLink | undefined {
const inputSlot = target_node.findInputByType(target_slotType)
if (!inputSlot) return
if (slot === -1) {
// This indicates a connection is being made from the "Empty" slot.
// We need to create a new, concrete input on the subgraph that matches the target.
const newSubgraphInput = this.subgraph.addInput(
inputSlot.slot.name,
String(inputSlot.slot.type ?? '')
)
const newSlotIndex = this.slots.indexOf(newSubgraphInput)
if (newSlotIndex === -1) {
console.error('Could not find newly created subgraph input slot.')
return
}
slot = newSlotIndex
}
return this.slots[slot].connect(
inputSlot.slot,
target_node,
optsIn?.afterRerouteId
)
}
findOutputSlot(name: string): SubgraphInput | undefined {
return this.slots.find((output) => output.name === name)
}
findOutputByType(type: ISlotType): SubgraphInput | undefined {
return findFreeSlotOfType(
this.slots,
type,
(slot) => slot.linkIds.length > 0
)?.slot
}
// #endregion Legacy LGraphNode compatibility
_disconnectNodeInput(
node: LGraphNode,
input: INodeInputSlot,
link: LLink | undefined
): void {
const { subgraph } = this
// Break floating links
if (input._floatingLinks?.size) {
for (const link of input._floatingLinks) {
subgraph.removeFloatingLink(link)
}
}
input.link = null
subgraph.setDirtyCanvas(false, true)
if (!link) return
const subgraphInputIndex = link.origin_slot
link.disconnect(subgraph, 'output')
subgraph._version++
const subgraphInput = this.slots.at(subgraphInputIndex)
if (!subgraphInput) {
console.warn(
'disconnectNodeInput: subgraphInput not found',
this,
subgraphInputIndex
)
return
}
// search in the inputs list for this link
const index = subgraphInput.linkIds.indexOf(link.id)
if (index !== -1) {
subgraphInput.linkIds.splice(index, 1)
} else {
console.warn(
'disconnectNodeInput: link ID not found in subgraphInput linkIds',
link.id
)
}
const slotIndex = node.inputs.findIndex((inp) => inp === input)
if (slotIndex !== -1) {
node.onConnectionsChange?.(
NodeSlotType.INPUT,
slotIndex,
false,
link,
subgraphInput
)
}
}
override drawProtected(
ctx: CanvasRenderingContext2D,
colorContext: DefaultConnectionColors,
fromSlot?:
| INodeInputSlot
| INodeOutputSlot
| SubgraphInput
| SubgraphOutput,
editorAlpha?: number
): void {
const { roundedRadius } = SubgraphIONodeBase
const transform = ctx.getTransform()
const [x, y, width, height] = this.boundingRect
ctx.translate(x, y)
// Draw top rounded part
ctx.strokeStyle = this.sideStrokeStyle
ctx.lineWidth = this.sideLineWidth
ctx.beginPath()
ctx.arc(
width - roundedRadius,
roundedRadius,
roundedRadius,
Math.PI * 1.5,
0
)
// Straight line to bottom
ctx.moveTo(width, roundedRadius)
ctx.lineTo(width, height - roundedRadius)
// Bottom rounded part
ctx.arc(
width - roundedRadius,
height - roundedRadius,
roundedRadius,
0,
Math.PI * 0.5
)
ctx.stroke()
// Restore context
ctx.setTransform(transform)
this.drawSlots(ctx, colorContext, fromSlot, editorAlpha)
}
}
@@ -0,0 +1,651 @@
import type { BaseLGraph, LGraph } from '@/lib/litegraph/src/LGraph'
import type { LGraphButton } from '@/lib/litegraph/src/LGraphButton'
import type { LGraphCanvas } from '@/lib/litegraph/src/LGraphCanvas'
import { LGraphNode } from '@/lib/litegraph/src/LGraphNode'
import type { DrawTitleBoxOptions } from '@/lib/litegraph/src/LGraphNode'
import { LLink } from '@/lib/litegraph/src/LLink'
import type { ResolvedConnection } from '@/lib/litegraph/src/LLink'
import { NullGraphError } from '@/lib/litegraph/src/infrastructure/NullGraphError'
import { RecursionError } from '@/lib/litegraph/src/infrastructure/RecursionError'
import type {
ISubgraphInput,
IWidgetLocator
} from '@/lib/litegraph/src/interfaces'
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import type {
INodeInputSlot,
ISlotType,
NodeId
} from '@/lib/litegraph/src/litegraph'
import { NodeInputSlot } from '@/lib/litegraph/src/node/NodeInputSlot'
import { NodeOutputSlot } from '@/lib/litegraph/src/node/NodeOutputSlot'
import type {
GraphOrSubgraph,
Subgraph
} from '@/lib/litegraph/src/subgraph/Subgraph'
import type {
ExportedSubgraphInstance,
ISerialisedNode
} from '@/lib/litegraph/src/types/serialisation'
import type { IBaseWidget } from '@/lib/litegraph/src/types/widgets'
import type { UUID } from '@/lib/litegraph/src/utils/uuid'
import { BaseWidget } from '@/lib/litegraph/src/widgets/BaseWidget'
import { AssetWidget } from '@/lib/litegraph/src/widgets/AssetWidget'
import { ExecutableNodeDTO } from './ExecutableNodeDTO'
import type { ExecutableLGraphNode, ExecutionId } from './ExecutableNodeDTO'
import type { SubgraphInput } from './SubgraphInput'
const workflowSvg = new Image()
workflowSvg.src =
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-width='1.3' d='M9.18613 3.09999H6.81377M9.18613 12.9H7.55288c-3.08678 0-5.35171-2.99581-4.60305-6.08843l.3054-1.26158M14.7486 2.1721l-.5931 2.45c-.132.54533-.6065.92789-1.1508.92789h-2.2993c-.77173 0-1.33797-.74895-1.1508-1.5221l.5931-2.45c.132-.54533.6065-.9279 1.1508-.9279h2.2993c.7717 0 1.3379.74896 1.1508 1.52211Zm-8.3033 0-.59309 2.45c-.13201.54533-.60646.92789-1.15076.92789H2.4021c-.7717 0-1.33793-.74895-1.15077-1.5221l.59309-2.45c.13201-.54533.60647-.9279 1.15077-.9279h2.29935c.77169 0 1.33792.74896 1.15076 1.52211Zm8.3033 9.8-.5931 2.45c-.132.5453-.6065.9279-1.1508.9279h-2.2993c-.77173 0-1.33797-.749-1.1508-1.5221l.5931-2.45c.132-.5453.6065-.9279 1.1508-.9279h2.2993c.7717 0 1.3379.7489 1.1508 1.5221Z'/%3E%3C/svg%3E %3C/svg%3E"
/**
* An instance of a {@link Subgraph}, displayed as a node on the containing (parent) graph.
*/
export class SubgraphNode extends LGraphNode implements BaseLGraph {
declare inputs: (INodeInputSlot & Partial<ISubgraphInput>)[]
override readonly type: UUID
override readonly isVirtualNode = true as const
override graph: GraphOrSubgraph | null
get rootGraph(): LGraph {
if (!this.graph)
throw new NullGraphError(`SubgraphNode ${this.id} has no graph`)
return this.graph.rootGraph
}
override get displayType(): string {
return 'Subgraph node'
}
override isSubgraphNode(): this is SubgraphNode {
return true
}
override widgets: IBaseWidget[] = []
/** Manages lifecycle of all subgraph event listeners */
private _eventAbortController = new AbortController()
constructor(
/** The (sub)graph that contains this subgraph instance. */
graph: GraphOrSubgraph,
/** The definition of this subgraph; how its nodes are configured, etc. */
readonly subgraph: Subgraph,
instanceData: ExportedSubgraphInstance
) {
super(subgraph.name, subgraph.id)
this.graph = graph
// Update this node when the subgraph input / output slots are changed
const subgraphEvents = this.subgraph.events
const { signal } = this._eventAbortController
subgraphEvents.addEventListener(
'input-added',
(e) => {
const subgraphInput = e.detail.input
const { name, type } = subgraphInput
const existingInput = this.inputs.find((i) => i.name == name)
if (existingInput) {
const linkId = subgraphInput.linkIds[0]
const { inputNode, input } = subgraph.links[linkId].resolve(subgraph)
const widget = inputNode?.widgets?.find?.((w) => w.name == name)
if (widget)
this._setWidget(subgraphInput, existingInput, widget, input?.widget)
return
}
const input = this.addInput(name, type)
this._addSubgraphInputListeners(subgraphInput, input)
},
{ signal }
)
subgraphEvents.addEventListener(
'removing-input',
(e) => {
const widget = e.detail.input._widget
if (widget) this.ensureWidgetRemoved(widget)
this.removeInput(e.detail.index)
this.setDirtyCanvas(true, true)
},
{ signal }
)
subgraphEvents.addEventListener(
'output-added',
(e) => {
const { name, type } = e.detail.output
this.addOutput(name, type)
},
{ signal }
)
subgraphEvents.addEventListener(
'removing-output',
(e) => {
this.removeOutput(e.detail.index)
this.setDirtyCanvas(true, true)
},
{ signal }
)
subgraphEvents.addEventListener(
'renaming-input',
(e) => {
const { index, newName } = e.detail
const input = this.inputs.at(index)
if (!input) throw new Error('Subgraph input not found')
input.label = newName
if (input._widget) {
input._widget.label = newName
}
},
{ signal }
)
subgraphEvents.addEventListener(
'renaming-output',
(e) => {
const { index, newName } = e.detail
const output = this.outputs.at(index)
if (!output) throw new Error('Subgraph output not found')
output.label = newName
},
{ signal }
)
this.type = subgraph.id
this.configure(instanceData)
this.addTitleButton({
name: 'enter_subgraph',
text: '\uE93B', // Unicode for pi-window-maximize
yOffset: 0, // No vertical offset needed, button is centered
xOffset: -10,
fontSize: 16
})
}
override onTitleButtonClick(
button: LGraphButton,
canvas: LGraphCanvas
): void {
if (button.name === 'enter_subgraph') {
canvas.openSubgraph(this.subgraph, this)
} else {
super.onTitleButtonClick(button, canvas)
}
}
private _addSubgraphInputListeners(
subgraphInput: SubgraphInput,
input: INodeInputSlot & Partial<ISubgraphInput>
) {
if (
input._listenerController &&
typeof input._listenerController.abort === 'function'
) {
input._listenerController.abort()
}
input._listenerController = new AbortController()
const { signal } = input._listenerController
subgraphInput.events.addEventListener(
'input-connected',
(e) => {
if (input._widget) return
const widget = subgraphInput._widget
if (!widget) return
const widgetLocator = e.detail.input.widget
this._setWidget(subgraphInput, input, widget, widgetLocator)
},
{ signal }
)
subgraphInput.events.addEventListener(
'input-disconnected',
() => {
// If the input is connected to more than one widget, don't remove the widget
const connectedWidgets = subgraphInput.getConnectedWidgets()
if (connectedWidgets.length > 0) return
this.removeWidgetByName(input.name)
delete input.pos
delete input.widget
input._widget = undefined
},
{ signal }
)
}
override configure(info: ExportedSubgraphInstance): void {
for (const input of this.inputs) {
if (
input._listenerController &&
typeof input._listenerController.abort === 'function'
) {
input._listenerController.abort()
}
}
this.inputs.length = 0
this.inputs.push(
...this.subgraph.inputNode.slots.map(
(slot) =>
new NodeInputSlot(
{
name: slot.name,
localized_name: slot.localized_name,
label: slot.label,
type: slot.type,
link: null
},
this
)
)
)
this.outputs.length = 0
this.outputs.push(
...this.subgraph.outputNode.slots.map(
(slot) =>
new NodeOutputSlot(
{
name: slot.name,
localized_name: slot.localized_name,
label: slot.label,
type: slot.type,
links: null
},
this
)
)
)
super.configure(info)
}
override _internalConfigureAfterSlots() {
// Reset widgets
this.widgets.length = 0
// Check all inputs for connected widgets
for (const input of this.inputs) {
const subgraphInput = this.subgraph.inputNode.slots.find(
(slot) => slot.name === input.name
)
if (!subgraphInput) {
// Skip inputs that don't exist in the subgraph definition
// This can happen when loading workflows with dynamically added inputs
console.warn(
`[SubgraphNode.configure] No subgraph input found for input ${input.name}, skipping`
)
continue
}
this._addSubgraphInputListeners(subgraphInput, input)
// Find the first widget that this slot is connected to
for (const linkId of subgraphInput.linkIds) {
const link = this.subgraph.getLink(linkId)
if (!link) {
console.warn(
`[SubgraphNode.configure] No link found for link ID ${linkId}`,
this
)
continue
}
const { inputNode } = link.resolve(this.subgraph)
if (!inputNode) {
console.warn('Failed to resolve inputNode', link, this)
continue
}
//Manually find input since target_slot can't be trusted
const targetInput = inputNode.inputs.find((inp) => inp.link === linkId)
if (!targetInput) {
console.warn('Failed to find corresponding input', link, inputNode)
continue
}
// No widget - ignore this link
const widget = inputNode.getWidgetFromSlot(targetInput)
if (!widget) continue
this._setWidget(subgraphInput, input, widget, targetInput.widget)
break
}
}
}
private _setWidget(
subgraphInput: Readonly<SubgraphInput>,
input: INodeInputSlot,
widget: Readonly<IBaseWidget>,
inputWidget: IWidgetLocator | undefined
) {
// Use the first matching widget
const promotedWidget =
widget instanceof BaseWidget
? widget.createCopyForNode(this)
: { ...widget, node: this }
if (widget instanceof AssetWidget)
promotedWidget.options.nodeType ??= widget.node.type
Object.assign(promotedWidget, {
get name() {
return subgraphInput.name
},
set name(value) {
console.warn(
'Promoted widget: setting name is not allowed',
this,
value
)
},
get localized_name() {
return subgraphInput.localized_name
},
set localized_name(value) {
console.warn(
'Promoted widget: setting localized_name is not allowed',
this,
value
)
},
get label() {
return subgraphInput.label
},
set label(value) {
console.warn(
'Promoted widget: setting label is not allowed',
this,
value
)
},
get tooltip() {
// Preserve the original widget's tooltip for promoted widgets
return widget.tooltip
},
set tooltip(value) {
console.warn(
'Promoted widget: setting tooltip is not allowed',
this,
value
)
}
})
const widgetCount = this.inputs.filter((i) => i.widget).length
this.widgets.splice(widgetCount, 0, promotedWidget)
// Dispatch widget-promoted event
this.subgraph.events.dispatch('widget-promoted', {
widget: promotedWidget,
subgraphNode: this
})
// NOTE: This code creates linked chains of prototypes for passing across
// multiple levels of subgraphs. As part of this, it intentionally avoids
// creating new objects. Have care when making changes.
input.widget ??= { name: subgraphInput.name }
input.widget.name = subgraphInput.name
if (inputWidget) Object.setPrototypeOf(input.widget, inputWidget)
input._widget = promotedWidget
}
/**
* Ensures the subgraph slot is in the params before adding the input as normal.
* @param name The name of the input slot.
* @param type The type of the input slot.
* @param inputProperties Properties that are directly assigned to the created input. Default: a new, empty object.
* @returns The new input slot.
* @remarks Assertion is required to instantiate empty generic POJO.
*/
override addInput<TInput extends Partial<ISubgraphInput>>(
name: string,
type: ISlotType,
inputProperties: TInput = {} as TInput
): INodeInputSlot & TInput {
// Bypasses type narrowing on this.inputs
return super.addInput(name, type, inputProperties)
}
override getInputLink(slot: number): LLink | null {
// Output side: the link from inside the subgraph
const innerLink = this.subgraph.outputNode.slots[slot].getLinks().at(0)
if (!innerLink) {
console.warn(
`SubgraphNode.getInputLink: no inner link found for slot ${slot}`
)
return null
}
const newLink = LLink.create(innerLink)
newLink.origin_id = `${this.id}:${innerLink.origin_id}`
newLink.origin_slot = innerLink.origin_slot
return newLink
}
/**
* Finds the internal links connected to the given input slot inside the subgraph, and resolves the nodes / slots.
* @param slot The slot index
* @returns The resolved connections, or undefined if no input node is found.
* @remarks This is used to resolve the input links when dragging a link from a subgraph input slot.
*/
resolveSubgraphInputLinks(slot: number): ResolvedConnection[] {
const inputSlot = this.subgraph.inputNode.slots[slot]
const innerLinks = inputSlot.getLinks()
if (innerLinks.length === 0) {
console.warn(
`[SubgraphNode.resolveSubgraphInputLinks] No inner links found for input slot [${slot}] ${inputSlot.name}`,
this
)
return []
}
return innerLinks.map((link) => link.resolve(this.subgraph))
}
/**
* Finds the internal link connected to the given output slot inside the subgraph, and resolves the nodes / slots.
* @param slot The slot index
* @returns The output node if found, otherwise undefined.
*/
resolveSubgraphOutputLink(slot: number): ResolvedConnection | undefined {
const outputSlot = this.subgraph.outputNode.slots[slot]
const innerLink = outputSlot.getLinks().at(0)
if (innerLink) {
return innerLink.resolve(this.subgraph)
}
console.warn(
`[SubgraphNode.resolveSubgraphOutputLink] No inner link found for output slot [${slot}] ${outputSlot.name}`,
this
)
}
/** @internal Used to flatten the subgraph before execution. */
override getInnerNodes(
/** The set of computed node DTOs for this execution. */
executableNodes: Map<ExecutionId, ExecutableLGraphNode>,
/** The path of subgraph node IDs. */
subgraphNodePath: readonly NodeId[] = [],
/** Internal recursion param. The list of nodes to add to. */
nodes: ExecutableLGraphNode[] = [],
/** Internal recursion param. The set of visited nodes. */
visited = new Set<SubgraphNode>()
): ExecutableLGraphNode[] {
if (visited.has(this)) {
const nodeInfo = `${this.id}${this.title ? ` (${this.title})` : ''}`
const subgraphInfo = `'${this.subgraph.name || 'Unnamed Subgraph'}'`
const depth = subgraphNodePath.length
throw new RecursionError(
`Circular reference detected at depth ${depth} in node ${nodeInfo} of subgraph ${subgraphInfo}. ` +
`This creates an infinite loop in the subgraph hierarchy.`
)
}
visited.add(this)
const subgraphInstanceIdPath = [...subgraphNodePath, this.id]
// Store the subgraph node DTO
const parentSubgraphNode = this.rootGraph
.resolveSubgraphIdPath(subgraphNodePath)
.at(-1)
const subgraphNodeDto = new ExecutableNodeDTO(
this,
subgraphNodePath,
executableNodes,
parentSubgraphNode
)
executableNodes.set(subgraphNodeDto.id, subgraphNodeDto)
for (const node of this.subgraph.nodes) {
if ('getInnerNodes' in node && node.getInnerNodes) {
node.getInnerNodes(
executableNodes,
subgraphInstanceIdPath,
nodes,
new Set(visited)
)
} else {
// Create minimal DTOs rather than cloning the node
const aVeryRealNode = new ExecutableNodeDTO(
node,
subgraphInstanceIdPath,
executableNodes,
this
)
executableNodes.set(aVeryRealNode.id, aVeryRealNode)
nodes.push(aVeryRealNode)
}
}
return nodes
}
override removeWidgetByName(name: string): void {
const widget = this.widgets.find((w) => w.name === name)
if (widget) {
this.subgraph.events.dispatch('widget-demoted', {
widget,
subgraphNode: this
})
}
super.removeWidgetByName(name)
}
override ensureWidgetRemoved(widget: IBaseWidget): void {
if (this.widgets.includes(widget)) {
this.subgraph.events.dispatch('widget-demoted', {
widget,
subgraphNode: this
})
}
super.ensureWidgetRemoved(widget)
}
override onRemoved(): void {
// Clean up all subgraph event listeners
this._eventAbortController.abort()
// Clean up all promoted widgets
for (const widget of this.widgets) {
if ('isProxyWidget' in widget && widget.isProxyWidget) continue
this.subgraph.events.dispatch('widget-demoted', {
widget,
subgraphNode: this
})
}
for (const input of this.inputs) {
if (
input._listenerController &&
typeof input._listenerController.abort === 'function'
) {
input._listenerController.abort()
}
}
}
override drawTitleBox(
ctx: CanvasRenderingContext2D,
{
scale,
low_quality = false,
title_height = LiteGraph.NODE_TITLE_HEIGHT,
box_size = 10
}: DrawTitleBoxOptions
): void {
if (this.onDrawTitleBox) {
this.onDrawTitleBox(ctx, title_height, this.renderingSize, scale)
return
}
ctx.save()
ctx.fillStyle = '#3b82f6'
ctx.beginPath()
ctx.roundRect(6, -24.5, 22, 20, 5)
ctx.fill()
if (!low_quality) {
ctx.translate(25, 23)
ctx.scale(-1.5, 1.5)
ctx.drawImage(workflowSvg, 0, -title_height, box_size, box_size)
}
ctx.restore()
}
/**
* Synchronizes widget values from this SubgraphNode instance to the
* corresponding widgets in the subgraph definition before serialization.
* This ensures nested subgraph widget values are preserved when saving.
*/
override serialize(): ISerialisedNode {
// Sync widget values to subgraph definition before serialization
for (let i = 0; i < this.widgets.length; i++) {
const widget = this.widgets[i]
const input = this.inputs.find((inp) => inp.name === widget.name)
if (input) {
const subgraphInput = this.subgraph.inputNode.slots.find(
(slot) => slot.name === input.name
)
if (subgraphInput) {
// Find all widgets connected to this subgraph input
const connectedWidgets = subgraphInput.getConnectedWidgets()
// Update the value of all connected widgets
for (const connectedWidget of connectedWidgets) {
connectedWidget.value = widget.value
}
}
}
}
// Call parent serialize method
return super.serialize()
}
override clone() {
const clone = super.clone()
// force reasign so domWidgets reset ownership
this.properties.proxyWidgets = this.properties.proxyWidgets
//TODO: Consider deep cloning subgraphs here.
//It's the safest place to prevent creation of linked subgraphs
//But the frequency of clone().serialize() calls is likely to result in
//pollution of rootGraph.subgraphs
return clone
}
}
@@ -0,0 +1,176 @@
import { pull } from 'es-toolkit/compat'
import type { LGraphNode } from '@/lib/litegraph/src/LGraphNode'
import { LLink } from '@/lib/litegraph/src/LLink'
import type { RerouteId } from '@/lib/litegraph/src/Reroute'
import type {
INodeInputSlot,
INodeOutputSlot,
Point,
ReadOnlyRect
} from '@/lib/litegraph/src/interfaces'
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import { NodeSlotType } from '@/lib/litegraph/src/types/globalEnums'
import type { SubgraphInput } from './SubgraphInput'
import type { SubgraphOutputNode } from './SubgraphOutputNode'
import { SubgraphSlot } from './SubgraphSlotBase'
import { isNodeSlot, isSubgraphInput } from './subgraphUtils'
/**
* An output "slot" from a subgraph to a parent graph.
*
* IMPORTANT: A subgraph "output" is both an output AND an input. It creates an extra link connection point between
* a parent graph and a subgraph, so is conceptually similar to a reroute.
*
* This can be a little confusing, but is easier to visualise when imagining editing a subgraph.
* You have "Subgraph Outputs", because they go from inside the subgraph and out, but links to them come from "node outputs".
*
* Functionally, however, when editing a subgraph, that "subgraph output" is the "target" or "input side" of a link.
*/
export class SubgraphOutput extends SubgraphSlot {
declare parent: SubgraphOutputNode
override connect(
slot: INodeOutputSlot,
node: LGraphNode,
afterRerouteId?: RerouteId
): LLink | undefined {
const { subgraph } = this.parent
// Validate type compatibility
if (!LiteGraph.isValidConnection(slot.type, this.type)) return
// Allow nodes to block connection
const outputIndex = node.outputs.indexOf(slot)
if (outputIndex === -1)
throw new Error('Slot is not an output of the given node')
if (
node.onConnectOutput?.(outputIndex, this.type, this, this.parent, -1) ===
false
)
return
// Link should not be present, but just in case, disconnect it
const existingLink = this.getLinks().at(0)
if (existingLink != null) {
subgraph.beforeChange()
existingLink.disconnect(subgraph, 'input')
const resolved = existingLink.resolve(subgraph)
const links = resolved.output?.links
if (links) pull(links, existingLink.id)
}
const link = new LLink(
++subgraph.state.lastLinkId,
slot.type,
node.id,
outputIndex,
this.parent.id,
this.parent.slots.indexOf(this),
afterRerouteId
)
// Add to graph links list
subgraph._links.set(link.id, link)
// Set link ID in each slot
this.linkIds[0] = link.id
slot.links ??= []
slot.links.push(link.id)
// Reroutes
const reroutes = LLink.getReroutes(subgraph, link)
for (const reroute of reroutes) {
reroute.linkIds.add(link.id)
if (reroute.floating) delete reroute.floating
reroute._dragging = undefined
}
// If this is the terminus of a floating link, remove it
const lastReroute = reroutes.at(-1)
if (lastReroute) {
for (const linkId of lastReroute.floatingLinkIds) {
const link = subgraph.floatingLinks.get(linkId)
if (link?.parentId === lastReroute.id) {
subgraph.removeFloatingLink(link)
}
}
}
subgraph._version++
node.onConnectionsChange?.(
NodeSlotType.OUTPUT,
outputIndex,
true,
link,
slot
)
subgraph.afterChange()
return link
}
get labelPos(): Point {
const [x, y, , height] = this.boundingRect
return [x + height, y + height * 0.5]
}
override arrange(rect: ReadOnlyRect): void {
const [left, top, width, height] = rect
const { boundingRect: b, pos } = this
b[0] = left
b[1] = top
b[2] = width
b[3] = height
pos[0] = left + height * 0.5
pos[1] = top + height * 0.5
}
/**
* Checks if this slot is a valid target for a connection from the given slot.
* For SubgraphOutput (which acts as an input inside the subgraph),
* the fromSlot should be an output slot.
*/
override isValidTarget(
fromSlot: INodeInputSlot | INodeOutputSlot | SubgraphInput | SubgraphOutput
): boolean {
if (isNodeSlot(fromSlot)) {
return (
'links' in fromSlot &&
LiteGraph.isValidConnection(fromSlot.type, this.type)
)
}
if (isSubgraphInput(fromSlot)) {
return LiteGraph.isValidConnection(fromSlot.type, this.type)
}
return false
}
override disconnect() {
const { subgraph } = this.parent
//should never have more than one connection
for (const linkId of this.linkIds) {
const link = subgraph.links[linkId]
if (!link) continue
subgraph.removeLink(linkId)
const { output, outputNode } = link.resolve(subgraph)
if (output)
output.links = output.links?.filter((id) => id !== linkId) ?? null
outputNode?.onConnectionsChange?.(
NodeSlotType.OUTPUT,
link.origin_slot,
false,
link,
this
)
}
this.linkIds.length = 0
}
}
@@ -0,0 +1,160 @@
import type { CanvasPointer } from '@/lib/litegraph/src/CanvasPointer'
import type { LGraphNode, NodeId } from '@/lib/litegraph/src/LGraphNode'
import type { LLink } from '@/lib/litegraph/src/LLink'
import type { RerouteId } from '@/lib/litegraph/src/Reroute'
import type { LinkConnector } from '@/lib/litegraph/src/canvas/LinkConnector'
import { SUBGRAPH_OUTPUT_ID } from '@/lib/litegraph/src/constants'
import type {
DefaultConnectionColors,
INodeInputSlot,
INodeOutputSlot,
ISlotType,
Positionable
} from '@/lib/litegraph/src/interfaces'
import type { NodeLike } from '@/lib/litegraph/src/types/NodeLike'
import type { CanvasPointerEvent } from '@/lib/litegraph/src/types/events'
import type { SubgraphIO } from '@/lib/litegraph/src/types/serialisation'
import { findFreeSlotOfType } from '@/lib/litegraph/src/utils/collections'
import { EmptySubgraphOutput } from './EmptySubgraphOutput'
import { SubgraphIONodeBase } from './SubgraphIONodeBase'
import type { SubgraphInput } from './SubgraphInput'
import type { SubgraphOutput } from './SubgraphOutput'
export class SubgraphOutputNode
extends SubgraphIONodeBase<SubgraphOutput>
implements Positionable
{
readonly id: NodeId = SUBGRAPH_OUTPUT_ID
readonly emptySlot: EmptySubgraphOutput = new EmptySubgraphOutput(this)
get slots() {
return this.subgraph.outputs
}
override get allSlots(): SubgraphOutput[] {
return [...this.slots, this.emptySlot]
}
get slotAnchorX() {
const [x] = this.boundingRect
return x + SubgraphIONodeBase.roundedRadius
}
override onPointerDown(
e: CanvasPointerEvent,
pointer: CanvasPointer,
linkConnector: LinkConnector
): void {
// Left-click handling for dragging connections
if (e.button === 0) {
for (const slot of this.allSlots) {
// Check if click is within the full slot area (including label)
if (slot.boundingRect.containsXy(e.canvasX, e.canvasY)) {
pointer.onDragStart = () => {
linkConnector.dragNewFromSubgraphOutput(this.subgraph, this, slot)
}
pointer.onDragEnd = (eUp) => {
linkConnector.dropLinks(this.subgraph, eUp)
}
pointer.onDoubleClick = () => {
this.handleSlotDoubleClick(slot, e)
}
pointer.finally = () => {
linkConnector.reset(true)
}
}
}
// Check for right-click
} else if (e.button === 2) {
const slot = this.getSlotInPosition(e.canvasX, e.canvasY)
if (slot) this.showSlotContextMenu(slot, e)
}
}
/** @inheritdoc */
override renameSlot(slot: SubgraphOutput, name: string): void {
this.subgraph.renameOutput(slot, name)
}
/** @inheritdoc */
override removeSlot(slot: SubgraphOutput): void {
this.subgraph.removeOutput(slot)
}
canConnectTo(
outputNode: NodeLike,
fromSlot: SubgraphOutput,
output: INodeOutputSlot | SubgraphIO
): boolean {
return outputNode.canConnectTo(this, fromSlot, output)
}
connectByTypeOutput(
slot: number,
target_node: LGraphNode,
target_slotType: ISlotType,
optsIn?: { afterRerouteId?: RerouteId }
): LLink | undefined {
const outputSlot = target_node.findOutputByType(target_slotType)
if (!outputSlot) return
return this.slots[slot].connect(
outputSlot.slot,
target_node,
optsIn?.afterRerouteId
)
}
findInputByType(type: ISlotType): SubgraphOutput | undefined {
return findFreeSlotOfType(
this.slots,
type,
(slot) => slot.linkIds.length > 0
)?.slot
}
override drawProtected(
ctx: CanvasRenderingContext2D,
colorContext: DefaultConnectionColors,
fromSlot?:
| INodeInputSlot
| INodeOutputSlot
| SubgraphInput
| SubgraphOutput,
editorAlpha?: number
): void {
const { roundedRadius } = SubgraphIONodeBase
const transform = ctx.getTransform()
const [x, y, , height] = this.boundingRect
ctx.translate(x, y)
// Draw bottom rounded part
ctx.strokeStyle = this.sideStrokeStyle
ctx.lineWidth = this.sideLineWidth
ctx.beginPath()
ctx.arc(roundedRadius, roundedRadius, roundedRadius, Math.PI, Math.PI * 1.5)
// Straight line to bottom
ctx.moveTo(0, roundedRadius)
ctx.lineTo(0, height - roundedRadius)
// Bottom rounded part
ctx.arc(
roundedRadius,
height - roundedRadius,
roundedRadius,
Math.PI,
Math.PI * 0.5,
true
)
ctx.stroke()
// Restore context
ctx.setTransform(transform)
this.drawSlots(ctx, colorContext, fromSlot, editorAlpha)
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,996 @@
{
"sources": [
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-img-reference/core__nodes.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/nodes.py",
"sha256": "dd4b10eebd746da29178e0f8f75781f98edbf1f0620eb42afe2d03156a6c7c33",
"git_blob_sha1": "56b74ebe31303dd420542d8096abf7e1c1226bfb",
"acquisition_time": "2026-10-30T21:08:28.247217+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "../flux2-img-reference/core__folder_paths.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"acquisition_time": "2026-10-30T21:08:28.248691+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_custom_sampler.py",
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_custom_sampler.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_custom_sampler.py",
"sha256": "8e8c3763a618fa9058f2333dcc09be3b60889362875b8c6377aee23f9ea1abd2",
"git_blob_sha1": "f19adf4b9eb52de4105188de1c457e5d796ca4aa",
"acquisition_time": "2026-10-30T21:08:28.250324+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_flux.py",
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_flux.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_flux.py",
"sha256": "a10f6890f81589e43f5384fc9d5e4e68e3d53b900abce84cb07740376e0135c6",
"git_blob_sha1": "12c8ed3e6492162ade6c32822c6fde4e5fd69aea",
"acquisition_time": "2026-10-30T21:08:28.251736+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_primitive.py",
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_primitive.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_primitive.py",
"sha256": "e3916389cbf848f73fd79f67feca97f3e666a2c541409bba2aef4500b6f7393b",
"git_blob_sha1": "937321800249090e3949b4cadcab17864f858d01",
"acquisition_time": "2026-10-30T21:08:28.252762+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/samplers.py",
"local_file": "../flux2-img-reference/core__comfy__samplers.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/samplers.py",
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"git_blob_sha1": "1989ef107adca2e5c560caa623ce746afe27d312",
"acquisition_time": "2026-10-30T21:08:28.254065+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sample.py",
"local_file": "../flux2-img-reference/core__comfy__sample.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/sample.py",
"sha256": "794be52ca4ad9be470aedfc79a595492f8116c2666101cf48c108a09cdc6dac6",
"git_blob_sha1": "2f8f3a51c5fc30e804e643c75a1b267fb0a94697",
"acquisition_time": "2026-10-30T21:08:28.255055+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sd.py",
"local_file": "../flux2-img-reference/core__comfy__sd.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/sd.py",
"sha256": "e20431cac19074ff6ab931d4076aa867b2be1419c6a3be42b0700002f8184727",
"git_blob_sha1": "5a7221620290bec7841cbbad990ae7f5d2adf83e",
"acquisition_time": "2026-10-30T21:08:28.256755+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../flux2-img-reference/core__LICENSE",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T21:08:28.258556+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_io.py",
"local_file": "../flux2-img-reference/core__comfy_api__latest___io.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_api/latest/_io.py",
"sha256": "41ebad9670bf980b7f85527a4839e3a15b18094583746515ea2d516d3946a1e5",
"git_blob_sha1": "764fa8b2b4dabddf313bf0821bb2d9e436d3b8b4",
"acquisition_time": "2026-10-30T21:08:55.269845+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_io_public.py",
"local_file": "../flux2-img-reference/core__comfy_api__latest___io_public.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_api/latest/_io_public.py",
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
"git_blob_sha1": "43c7680f3283cec64bf89023ca7ec90314a3499d",
"acquisition_time": "2026-10-30T21:08:55.272201+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/cli_args.py",
"local_file": "../flux2-img-reference/core__comfy__cli_args.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/cli_args.py",
"sha256": "b08dd1d029b3b7d64efee2c3125e7046ed5f07840200fffef4d564c600615e34",
"git_blob_sha1": "dae9a895de8a8449910133e481a657c0645479f1",
"acquisition_time": "2026-10-30T21:08:55.274830+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "latent_preview.py",
"local_file": "../flux2-img-reference/core__latent_preview.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/latent_preview.py",
"sha256": "c59708b07494615d2f7640d528df17f9281f4d77affe638b2e0efb9a49fa3cee",
"git_blob_sha1": "d52e3f7a1fd03a343161ba4d62580a357b486ade",
"acquisition_time": "2026-10-30T21:08:55.277141+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_edit_model.py",
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_edit_model.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_edit_model.py",
"sha256": "e8d03a4ca5f7b8025f565d0fa7b4f0119693f2f35837db2a4114361537f78da3",
"git_blob_sha1": "36da66f34e1d19e54ed2ffc8338a232bf8879945",
"acquisition_time": "2026-10-30T21:20:30.726665+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "node_helpers.py",
"local_file": "../flux2-img-reference/core__node_helpers.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/node_helpers.py",
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
"git_blob_sha1": "4ff960ef8afeadd935b6e48a9a683b7ef6970b2f",
"acquisition_time": "2026-10-30T21:20:31.119372+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/utils.py",
"local_file": "../flux2-img-reference/core__comfy__utils.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/utils.py",
"sha256": "dfd937c200548753a053befe53357c32deafb2384c9895bdde96b01a1d9ee4d6",
"git_blob_sha1": "ffa98c9b1b8149917238ef0431c8e77211de669c",
"acquisition_time": "2026-10-30T21:20:31.545290+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "lora",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-img-reference/lora__nodes.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
"git_blob_sha1": "2b63f9fbb7ddbf9c89e63c22c82a5ad80e3e74b6",
"acquisition_time": "2026-10-30T21:19:26.379673+00:00",
"license_file": "../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "lora"
},
{
"id": "lora",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "../flux2-img-reference/lora__folder_paths.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/folder_paths.py",
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
"git_blob_sha1": "92e8df3cf01047951395f0f85580fbbe01056ffa",
"acquisition_time": "2026-10-30T21:19:27.029434+00:00",
"license_file": "../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "lora"
},
{
"id": "lora",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sd.py",
"local_file": "../flux2-img-reference/lora__comfy__sd.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy/sd.py",
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
"git_blob_sha1": "ab2718892d91797c33f777bd176fc6ae2fea985b",
"acquisition_time": "2026-10-30T21:19:27.695882+00:00",
"license_file": "../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "lora"
},
{
"id": "lora",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../flux2-img-reference/lora__LICENSE",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T21:19:28.338555+00:00",
"license_file": "../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "lora"
},
{
"id": "rgthree",
"file": "__init__.py",
"local_file": "../flux2-img-reference/rgthree____init__.py",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "06174f22e7246b2b0771961cc0681846f452b853ccb927ca507e074f340abc61",
"member_crc32": 2275993398,
"acquisition_time": "2026-10-30T21:21:05.868412+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "py/image_comparer.py",
"local_file": "../flux2-img-reference/rgthree__py__image_comparer.py",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "43ccce9b6f9413d5196ce4a7a3ef544969ae1ce2b52c44345f6cc8fb28c596fc",
"member_crc32": 526403025,
"acquisition_time": "2026-10-30T21:21:06.597693+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "py/constants.py",
"local_file": "../flux2-img-reference/rgthree__py__constants.py",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "50dee946013b1d88d01fe9d63c2a7ab4d4c59be218cf80171f3542b43f0d8558",
"member_crc32": 3439315536,
"acquisition_time": "2026-10-30T21:21:07.233116+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "py/utils.py",
"local_file": "../flux2-img-reference/rgthree__py__utils.py",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "57038116cf0c6ebc417e998a5c36c4b7e74e73d61d495c20e5fe18a6ad8afbc7",
"member_crc32": 2062994225,
"acquisition_time": "2026-10-30T21:21:07.864382+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/image_comparer.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__image_comparer.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"member_crc32": 914019580,
"acquisition_time": "2026-10-30T21:21:08.514976+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/base_node.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__base_node.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "c3ff5ba72f284f8e894dd464b2936f01369838291fb817cc4e304df576a1eba6",
"member_crc32": 1635828396,
"acquisition_time": "2026-10-30T21:21:09.152446+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/utils.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "0bd26067a033689d5b1dfbe6faec2855bb2a8947d1031a5060e48ed1415111a7",
"member_crc32": 1209114011,
"acquisition_time": "2026-10-30T21:21:09.796301+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/utils_widgets.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils_widgets.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "211ec018039e3bd5bcc78cafd4c64db33bcb1f02df60c93d45ff76ac96718b18",
"member_crc32": 231795646,
"acquisition_time": "2026-10-30T21:21:11.081929+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/utils_canvas.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils_canvas.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "1da57fc68e7e57b28d0396e237b5ac98fc21f0933d27f3dc1f6aa11e5fb09229",
"member_crc32": 2214402011,
"acquisition_time": "2026-10-30T21:21:11.708899+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "web/comfyui/constants.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__constants.js",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "01bddadcbeb27f4f3519987fb1e3f8fbed5b8c5e0bff1180e0f6cf3348c89ad9",
"member_crc32": 4186641302,
"acquisition_time": "2026-10-30T21:21:12.352964+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "LICENSE",
"local_file": "../flux2-img-reference/rgthree__LICENSE",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "b34faf7c3e2975fe08d0169958e2b39f076d4d4289cbe2560dd7dd5b1a613ed1",
"member_crc32": 2654743090,
"acquisition_time": "2026-10-30T21:21:13.020684+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "rgthree",
"file": "pyproject.toml",
"local_file": "../flux2-img-reference/rgthree__pyproject.toml",
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
"tag": "1.0.2604070017",
"tree": "发布包中央目录;Git tree未知",
"repo": "rgthree-comfy",
"git_commit_binding": "unknown",
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
"sha256": "8287e30a551ac6574f6d34a0889910091e6ae3eb74e9189f25ee17cd672a53a8",
"member_crc32": 1781548861,
"acquisition_time": "2026-10-30T21:21:13.637486+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "rgthree"
},
{
"id": "layer",
"file": "__init__.py",
"local_file": "../resize-compare-reference/layer____init__.py",
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/89014d833d2ad0998d724090eff1456692692a1d/__init__.py",
"commit": "89014d833d2ad0998d724090eff1456692692a1d",
"sha256": "952d1d20b52a8d9d544c12adad99a7ab633bd7dc9db4a352972eb127e10eb4a0",
"git_blob_sha1": "fd50801f4dfafb2049c6755b14d5474f19cefa7a",
"license_file": "../resize-compare-reference/layer__LICENSE",
"identity_root": "../resize-compare-reference",
"identity_key": "layer",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"tree_index_ref": "89014d833d2ad0998d724090eff1456692692a1d",
"tree": "338d8bf0ff7f1c01703b52b024fc03ffabaf49cb",
"repo": "chflame163/ComfyUI_LayerStyle",
"tag": "无源版本,仅显式89014d参考假设"
},
{
"id": "layer",
"file": "py/image_scale_restore_v2.py",
"local_file": "../resize-compare-reference/layer__py__image_scale_restore_v2.py",
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/89014d833d2ad0998d724090eff1456692692a1d/py/image_scale_restore_v2.py",
"commit": "89014d833d2ad0998d724090eff1456692692a1d",
"sha256": "2a5f949ca391f0d7811b7528f9c60a74400ed4d696783a7953d3bcd57787ac43",
"git_blob_sha1": "3007676cbee5c8d3db21b5000ce05588aadd5f13",
"license_file": "../resize-compare-reference/layer__LICENSE",
"identity_root": "../resize-compare-reference",
"identity_key": "layer",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"tree_index_ref": "89014d833d2ad0998d724090eff1456692692a1d",
"tree": "338d8bf0ff7f1c01703b52b024fc03ffabaf49cb",
"repo": "chflame163/ComfyUI_LayerStyle",
"tag": "无源版本,仅显式89014d参考假设"
},
{
"id": "layer",
"file": "py/image_scale_by_aspect_ratio_v2.py",
"local_file": "../resize-compare-reference/layer__py__image_scale_by_aspect_ratio_v2.py",
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/89014d833d2ad0998d724090eff1456692692a1d/py/image_scale_by_aspect_ratio_v2.py",
"commit": "89014d833d2ad0998d724090eff1456692692a1d",
"sha256": "4e908519f8acd3260d454a39a40f0cbfcb5eb4e5bfbbb9c44147a4caa3034aa5",
"git_blob_sha1": "c6e573c19cfa5a1e862cff779cace72bf298a3d5",
"license_file": "../resize-compare-reference/layer__LICENSE",
"identity_root": "../resize-compare-reference",
"identity_key": "layer",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"tree_index_ref": "89014d833d2ad0998d724090eff1456692692a1d",
"tree": "338d8bf0ff7f1c01703b52b024fc03ffabaf49cb",
"repo": "chflame163/ComfyUI_LayerStyle",
"tag": "无源版本,仅显式89014d参考假设"
},
{
"id": "layer",
"file": "py/imagefunc.py",
"local_file": "../resize-compare-reference/layer__py__imagefunc.py",
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/89014d833d2ad0998d724090eff1456692692a1d/py/imagefunc.py",
"commit": "89014d833d2ad0998d724090eff1456692692a1d",
"sha256": "7722b4fcdb50398987bee2032fd0afe7fbe7880f142982f2bbe8dbdc774940f0",
"git_blob_sha1": "f9ec0adfb653837a96802584b5ef36dfce4034ce",
"license_file": "../resize-compare-reference/layer__LICENSE",
"identity_root": "../resize-compare-reference",
"identity_key": "layer",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"tree_index_ref": "89014d833d2ad0998d724090eff1456692692a1d",
"tree": "338d8bf0ff7f1c01703b52b024fc03ffabaf49cb",
"repo": "chflame163/ComfyUI_LayerStyle",
"tag": "无源版本,仅显式89014d参考假设"
},
{
"id": "layer",
"file": "LICENSE",
"local_file": "../resize-compare-reference/layer__LICENSE",
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/89014d833d2ad0998d724090eff1456692692a1d/LICENSE",
"commit": "89014d833d2ad0998d724090eff1456692692a1d",
"sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0",
"git_blob_sha1": "e2568121d079845a006a2935286b89d1721e9559",
"license_file": "../resize-compare-reference/layer__LICENSE",
"identity_root": "../resize-compare-reference",
"identity_key": "layer",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"tree_index_ref": "89014d833d2ad0998d724090eff1456692692a1d",
"tree": "338d8bf0ff7f1c01703b52b024fc03ffabaf49cb",
"repo": "chflame163/ComfyUI_LayerStyle",
"tag": "无源版本,仅显式89014d参考假设"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "../flux2-real-reference/frontend__package.json",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/package.json",
"sha256": "5124264c12991b7613b2a3ffb598bdbd04ec669c1c30accb4ac16552e9011735",
"git_blob_sha1": "98a05e96ddc377ee4eff504b8e742faa81eff582",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "../flux2-real-reference/frontend__pnpm-lock.yaml",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/pnpm-lock.yaml",
"sha256": "06ec7aebc1b407a477b41ee41065250bd67d0af2e7ddb04ad07e71e85edaf61e",
"git_blob_sha1": "1539fc2dc93e49cbb242bff938740a9c8b36125d",
"acquisition_time": "2026-10-30T22:44:46.476323+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "../flux2-real-reference/frontend__src__scripts__widgets.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/scripts/widgets.ts",
"sha256": "a538a4d4dd033b4b336abc6ac68b19eb31dee600294f9eba8e57e0802322fafd",
"git_blob_sha1": "071ebff3ee4a41d4ef719f60603b9e0bca7353d7",
"acquisition_time": "2026-10-30T22:44:46.478876+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "../flux2-real-reference/frontend__src__scripts__app.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/scripts/app.ts",
"sha256": "770e060d982f4af221aef0c4204fe631ed2aa4b7cda3f05f06fef954c79b4c81",
"git_blob_sha1": "b38b7ac5344a178dc49fa4766f98b6814f6aef85",
"acquisition_time": "2026-10-30T22:44:46.480558+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/uploadImage.ts",
"local_file": "../flux2-real-reference/frontend__src__extensions__core__uploadImage.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/extensions/core/uploadImage.ts",
"sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04",
"git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095",
"acquisition_time": "2026-10-30T22:44:46.482577+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../flux2-real-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033",
"git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43",
"acquisition_time": "2026-10-30T22:44:46.487512+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/LICENSE",
"local_file": "../flux2-real-reference/frontend__src__lib__litegraph__LICENSE",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
"acquisition_time": "2026-10-30T22:44:46.489837+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "../flux2-real-reference/frontend__LICENSE",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T22:44:46.491087+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "negative",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-reference/primitive__nodes.py",
"commit": "5ac13725331c1dfdf7aab977d4588b0a06a3debd",
"tree": "ce2cf021f70c6e74bb8e962da56c9461297e4892",
"tag": "v0.9.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/5ac13725331c1dfdf7aab977d4588b0a06a3debd/nodes.py",
"sha256": "cec4f56d3ac6c9a8b107b68a787a993e1b7333c0c6e4168efe9424c25e63592c",
"git_blob_sha1": "5a9d42d4a515a098a200b325481d4a9c2828dd00",
"acquisition_time": "2026-10-30T21:08:32.661676+00:00",
"license_file": "../flux2-reference/primitive__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-reference",
"identity_key": "primitive"
},
{
"id": "negative",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../flux2-reference/primitive__LICENSE",
"commit": "5ac13725331c1dfdf7aab977d4588b0a06a3debd",
"tree": "ce2cf021f70c6e74bb8e962da56c9461297e4892",
"tag": "v0.9.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/5ac13725331c1dfdf7aab977d4588b0a06a3debd/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T21:08:32.663359+00:00",
"license_file": "../flux2-reference/primitive__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-reference",
"identity_key": "primitive"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_images.py",
"local_file": "../flux2-real-reference/core__comfy_extras__nodes_images.py",
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
"tag": "v0.8.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_images.py",
"sha256": "695f34b53f21ff714629bdcc3811a231de96458644be297fc1c506f2001c2bd3",
"git_blob_sha1": "ce21caade8cf9e1783507bafe5b3626566400c1d",
"acquisition_time": "2026-10-30T21:08:28.247217+00:00",
"license_file": "../flux2-img-reference/core__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-img-reference",
"identity_key": "core"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "f6a819d9a4d8d31c6ff4440957221075a25c65a1320e6026a1140bc2e0cb92a0",
"git_blob_sha1": "cd8b0a7e416f294e81eeace3cc22127d2d1ddcef",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/Subgraph.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"git_blob_sha1": "e1f2f0b255a703e9735761fd83d75ee3eb21334e",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphInput.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphInput.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/SubgraphInput.ts",
"sha256": "9665035f394326752c6046b08f77b91e891f5dd2db4380c72abd611528b0b08f",
"git_blob_sha1": "0f143b7f66d3cb40bf28d7123e393505543e3227",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphOutput.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphOutput.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/SubgraphOutput.ts",
"sha256": "55de0bcca7f8cc818aeac98f98f1ef97f6173988571cd975b72c92569bae10aa",
"git_blob_sha1": "460e49ff58ee92456d26773197628f77db6f04a8",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphInputNode.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphInputNode.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/SubgraphInputNode.ts",
"sha256": "6fb0c76caf541531a2994646321fa0da88bec4a2b4f6f7fac170d989bdacc325",
"git_blob_sha1": "02febba10bfc139bd32edb740c791b52c275de84",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphOutputNode.ts",
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphOutputNode.ts",
"commit": "d873c8048fe765ba08f758bbd9891788facceed5",
"tree": "62e9ed6b9d4daf1afc6ce16c909cecfa0ab14526",
"tag": "v1.40.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d873c8048fe765ba08f758bbd9891788facceed5/src/lib/litegraph/src/subgraph/SubgraphOutputNode.ts",
"sha256": "e68aed97fec7abacdbe75531bbacdb6a1c433290a185eae6fc2cc4c40dbef735",
"git_blob_sha1": "51fca97ef4ae7b08ec4f995d8a923ca38e9942fe",
"acquisition_time": "2026-10-30T22:44:46.471149+00:00",
"license_file": "../flux2-real-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅服装迁移本图:core0.8.2/负向0.9.1/LoRA0.21.1/frontend1.40.0/rgthree准确发布;Layer缺身份仅89014d假设;安装未知",
"identity_root": "../flux2-real-reference",
"identity_key": "frontend"
}
],
"upstream_executed": false
}
+109
View File
@@ -0,0 +1,109 @@
// Local GET-only: 46 positions, three MarkdownNotes, 56 frozen summaries.
import fs from 'node:fs';
import assert from 'node:assert/strict';
const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright');
const out='.local-evidence/flux2-clothing-document/browser';fs.mkdirSync(out,{recursive:true});
const checks=[],requests=[],errors=[],blockedFonts=[],assertionGroups={},interceptions=[];let group='aggregate';
function check(condition,label){assert.ok(condition,label);checks.push(label);assertionGroups[group]=(assertionGroups[group]||0)+1;console.log('PASS '+label);}
const browser=await chromium.launch({headless:true,executablePath:process.env.BROWSER_EXECUTABLE});
try {
const page=await browser.newPage({viewport:{width:1440,height:1000}});
await page.route('**/*',route=>{
const u=new URL(route.request().url());
if(u.hostname==='fonts.googleapis.com'){blockedFonts.push(String(u));return route.fulfill({contentType:'text/css',body:''});}
if(route.request().method()!=='GET'||u.hostname!=='127.0.0.1'||u.pathname==='/api/view'||(/\.(mp4|png|wav|mp3|webm)$/i.test(u.pathname)&&u.pathname!=='/favicon.png')){errors.push('Forbidden request '+u);return route.abort();}
return route.continue();
});
page.on('request',r=>{if(r.url().includes('/api/'))requests.push({method:r.method(),url:r.url()});});
page.on('pageerror',e=>errors.push(e.message));
requests.push({method:'GET',url:'http://127.0.0.1:8247/api/workflows'});
const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json();
const names=['flux2_klein_服装迁移','flux2_klein_图生图_老照片修复','10_flux2_klein_文生图-角色三视图','8_flux2_klein_双图编辑','7_flux2_klein_图生图-动漫转真人','6_flux2-klein+Qwen3.5_转线稿洗图','5_flux2_klein_图生图_扩图','4_flux2_klein_图生图_局部重绘','3_flux2_klein_图生图一致性增强(大雄lora)','3_flux2_klein_图生图一致性增强(小志lora)','2_flux2_klein_图生图','1_flux2_klein_文生图','minimax_music_文生音乐','ace_step_1.5+Qwen3.5_自动歌词音乐生成','ace_step1_5_xl_turbo_8Step极速音乐生成','index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话','Qwen3-TTS_语音设计+语音克隆','Qwen3-TTS_多角色对话','Llama-cpp+Qwen3.5-提示词','moge3_深度图_几何图_线稿图','Seedvr2_视频放大FOR循环长视频','VOSR2_视频放大_分批循环长视频','视频模型放大插帧(简单快速版)','图像放大比较','VOSR2_图像超分放大','Seedvr2_3b_int8_视频放大','Seedvr2_3b_int8_图像放大','RTX_video_upscale','RTX_image_upscale','手动按分镜视频截取','sam3_图像视频-提示词遮罩分割','多视频合成分屏展示','图像4种添加水印节点','birefnet_图像移除背景','加载本地latent解码','截取视频每一帧','双图像或视频合并显示','视频转gif动图图片','加载图片合成视频','视频倒放','NLF_视频人物动作骨架获取','openpose-video-姿态检测','sdpose_视频人物姿势骨架提取','gemma4_提示词反推(图像视频音频)','图像合并成四宫格','图像分割-多宫格分割','Qwen_image2.1_图像编辑_背景移除','Qwen_image2.1_图像编辑_提示词增强','Qwen_image2.1_文生图_提示词增强','ControlNet_aux_常用样例','Qwen3-ASR-语音转文字','Qwen3-ASR-Subtitle语音转字幕','Minimax-H3提示词增强','音频转MP3格式','音频人声分离','视频-音频分离','图像嵌入文字描述'];
const details=[];
for(const name of names){const r=records.find(r=>r.name===name);assert.ok(r);const url=`http://127.0.0.1:8247/api/workflows/${r.id}`;requests.push({method:'GET',url});details.push(await(await fetch(url)).json());}
check(details.length===57&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===2201,'57图2201保存位置');
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===65,'57图65源注释');
await page.goto('http://127.0.0.1:5173/connections',{waitUntil:'networkidle'});
const dialog=page.getByRole('dialog',{name:'工作流说明'});
const fixedCard=dialog.locator('.card').filter({has:page.getByText('固定版本参数说明',{exact:true})});
async function begin(name){const row=page.locator('.wf-row').filter({has:page.locator('.wf-name').filter({hasText:name})}).first();const button=row.getByRole('button',{name:'说明',exact:true});await button.focus();await page.keyboard.press('Enter');return button;}
async function loaded(){await dialog.getByText('用途与来源',{exact:true}).waitFor();await dialog.evaluate(el=>Promise.all(el.getAnimations().map(a=>a.finished)));}
for(const width of [1440,390]){
await page.setViewportSize({width,height:width===390?844:1000});
for(const d of details){
group=details.indexOf(d)<1?'new_clothing':'old_fifty_six';const b=d.doc_json.fixed_version,button=await begin(d.name);await loaded();
const overview=dialog.locator('.card').filter({has:page.getByText('用途与来源',{exact:true})});
check((await overview.innerText()).includes(b.user_overview),`${width} ${d.name}默认中文用途`);
check(!(await dialog.getByText('源图与审校记录',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}源审校默认折叠`);
check(!(await dialog.getByText('核对范围与来源依据',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}技术范围默认折叠`);
const visible=await fixedCard.innerText();
check(!visible.includes('执行标量')&&!visible.includes('widgetId')&&!visible.includes(b.source_sha256)&&!visible.includes('UUID'),`${width} ${d.name}默认无执行计数/实现标识`);
check(visible.includes('依据固定版本整理,目标环境与实际效果未核对。'),`${width} ${d.name}默认依据限制可见`);
for(const t of ['说明未定稿','未验证实跑','未检查'])check((await dialog.innerText()).includes(t),`${width} ${d.name} ${t}`);
check(!d.is_enabled&&!d.doc_completed_at&&!d.exec_verified_at,`${width} ${d.name}停用/时间戳空`);
check(await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===b.fields.length,`${width} ${d.name}参数全保留`);
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${d.name}默认无溢出`);
await dialog.locator('.drawer-body').evaluate(el=>el.scrollTop=0);
if(details.indexOf(d)<1)await page.screenshot({path:`${out}/${width}-${d.id}-default.png`});
if(details.indexOf(d)>0){await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}旧图归还焦点`);continue;}
await dialog.getByText('源图与审校记录',{exact:true}).click();
check((await overview.innerText()).includes(d.doc_json.purpose)&&(await overview.innerText()).includes(d.source_repo_path),`${width} ${d.name}原用途/源路径展开保留`);
await dialog.getByText('核对范围与来源依据',{exact:true}).click();
const flowText=await fixedCard.innerText();check(flowText.includes('被连线覆盖 11 项')&&flowText.includes('仅前端控制 4 项'),`${width}准确覆盖与前端位置计数`);
for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`);
if(width===1440){await fixedCard.getByText(b.flow[2],{exact:true}).first().evaluate(el=>el.scrollIntoView({block:'center'}));await page.screenshot({path:`${out}/${width}-${d.id}-branch-flow.png`});}
await dialog.getByText('版本、源图与连线依据',{exact:true}).click();
check((await fixedCard.innerText()).includes(b.source_sha256)&&b.versions.every(v=>(v&&true)),`${width} ${d.name}原件摘要可展开`);
const versionText=await fixedCard.innerText();
for(const v of b.versions)check(versionText.includes(v),`${width} ${d.name}版本 ${b.versions.indexOf(v)}`);
if(details.indexOf(d)<1){
for(const f of b.fields){
const summary=fixedCard.locator(`details[data-fixed-field="${f.pointer}"] > summary`);await summary.focus();await page.keyboard.press('Enter');const box=summary.locator('..');
check(await box.evaluate(el=>el.open),`${width} ${f.node_id}.${f.field}键盘展开`);
let text=await box.innerText();const has=value=>text.replace(/\s+/g,' ').includes(value.replace(/\s+/g,' '));check(has(f.effect)&&has(f.limits)&&has(f.schema_default)&&has(f.execution_note)&&has(f.unit),`${width} ${f.node_id}.${f.field}用途/单位/范围/来源条件`);
check(await box.locator(':scope > pre').textContent()===(typeof f.value==='string'?f.value:JSON.stringify(f.value,null,2)),`${width} ${f.node_id}.${f.field}精确保留现值`);
check(!text.includes(f.pointer),`${width} ${f.node_id}.${f.field}指针默认折叠`);
await box.getByText('来源依据',{exact:true}).click();text=await box.innerText();
check(text.includes(f.pointer)&&text.includes(f.named_pointer)&&text.includes(f.class_type)&&text.includes(f.json_type)&&f.evidence.every(i=>{const e=b.sources[i];return (!e.commit||text.includes(e.commit))&&text.includes(e.sha256)&&text.includes(e.lines.join('~'));}),`${width} ${f.node_id}.${f.field}精确源码/类型/指针`);
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${f.node_id}.${f.field}展开无溢出`);
if(f.node_id==='167:172'&&f.field==='round_to_multiple'){
await page.screenshot({path:`${out}/${width}-${d.id}-scale-multiple.png`});
await box.getByText('来源依据',{exact:true}).evaluate(el=>el.scrollIntoView({block:'start'}));
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}准确来源展开无横溢`);
await page.screenshot({path:`${out}/${width}-${d.id}-source-citations.png`});
}
if(f.node_id==='166'){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-history-source.png`});}
if((['167:135','167:136','167:127','167:164','167:173'].includes(f.node_id)))await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});
await summary.click();
}
for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);if(width===390){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-${n.node_id}-note.png`});}await summary.click();}
await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`);
}
await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}关闭归还焦点`);
}
}
group='shared_regressions';
for(const name of ['旧工作流回退(隔离测试夹具)','空说明回退(隔离测试夹具)']){await begin(name);await loaded();check((await dialog.innerText()).includes('隔离库旧条目回退测试'),'旧/空说明回退 '+name);await page.keyboard.press('Escape');}
// Missing summary and mismatched bindings are tested with local GET fixtures, without writes.
for(const variant of ['missing-overview','mismatched','html-summary']){
const d=structuredClone(details[0]);
if(variant==='missing-overview')delete d.doc_json.fixed_version.user_overview;
if(variant==='mismatched')d.doc_json.fixed_version={matched:false,notice:'固定版本参数说明待核对:源文件、声明版本或说明依据未匹配,未采用旧定义。'};
if(variant==='html-summary')d.doc_json.fixed_version.user_overview='<img src="https://example.invalid/forbidden">仅纯文本';
await page.route(`**/api/workflows/${d.id}`,route=>{interceptions.push({variant,url:route.request().url()});return route.fulfill({json:d});});await begin(d.name);await loaded();
if(variant==='missing-overview')check((await dialog.innerText()).includes('这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。'),'缺摘要自然中文回退');
if(variant==='mismatched')check((await dialog.innerText()).includes(d.doc_json.fixed_version.notice)&&!await dialog.getByText('核对范围与来源依据',{exact:true}).count(),'错绑定提示明确且不展示旧字段');
if(variant==='html-summary')check((await dialog.innerText()).includes(d.doc_json.fixed_version.user_overview)&&await dialog.locator('img').count()===0,'摘要HTML仅纯文本不创建图像或请求');
check(!(await dialog.innerText()).includes('undefined'),'回退不暴露undefined');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${d.id}`);
}
let release,entered,delivered;const hold=new Promise(r=>release=r),intercept=new Promise(r=>entered=r),done=new Promise(r=>delivered=r);
await page.route(`**/api/workflows/${details[0].id}`,async route=>{interceptions.push({variant:"late",url:route.request().url()});entered();await hold;await route.fulfill({json:details[0]});delivered();});
await begin(details[0].name);await intercept;await page.keyboard.press('Escape');await begin(details[1].name);await loaded();release();await done;
check((await dialog.innerText()).includes(details[1].doc_json.fixed_version.user_overview)&&await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===details[1].doc_json.fixed_version.fields.length,'迟到服装迁移响应不覆盖旧图摘要/字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`);
await page.route(`**/api/workflows/${details[0].id}`,route=>{interceptions.push({variant:'failure',url:route.request().url()});return route.fulfill({status:500,json:{detail:'隔离失败夹具'}});});await begin(details[0].name);await dialog.getByRole('alert').waitFor({timeout:20000});check(await dialog.getByRole('button',{name:'重试',exact:true}).isVisible(),'GET失败显示重试');check(await dialog.getByText('用途与来源',{exact:true}).count()===0,'读取失败隐藏旧摘要');await page.unroute(`**/api/workflows/${details[0].id}`);await dialog.getByRole('button',{name:'重试',exact:true}).click();await loaded();check((await dialog.innerText()).includes(details[0].doc_json.fixed_version.user_overview),'重试恢复摘要');await page.keyboard.press('Escape');
check(errors.length===0,'无脚本错误或禁止请求 '+JSON.stringify(errors));check(requests.every(r=>r.method==='GET'&&new URL(r.url).hostname==='127.0.0.1'&&!r.url.includes('/api/view')),'全程本地GET无写/生成/目标/历史预览请求');
const polling=requests.filter(r=>['/api/jobs','/api/events'].includes(new URL(r.url).pathname));
const fixed=requests.filter(r=>!polling.includes(r));
const frequencies=rs=>Object.fromEntries([...new Set(rs.map(r=>new URL(r.url).pathname))].sort().map(p=>[p,rs.filter(r=>new URL(r.url).pathname===p).length]));
fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({request_accounting:{fixed_count:fixed.length,fixed_paths:frequencies(fixed),polling_count:polling.length,polling_paths:frequencies(polling),polling_tolerance:1,reason:'定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。'},assertion_count:checks.length,assertionGroups,interceptions,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2));
} finally {await browser.close();}
+95
View File
@@ -0,0 +1,95 @@
"""Foreground local browser check; stop every owned service before returning."""
from __future__ import annotations
import os
import signal
import subprocess
import sys
import time
import urllib.error
import urllib.request
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
OUT = ROOT / ".local-evidence/flux2-clothing-document/browser"
def main():
OUT.mkdir(parents=True, exist_ok=True)
# Refuse to reuse another operator's service or port.
import socket
for port in (8247, 5173):
with socket.socket() as sock:
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind(("127.0.0.1", port))
processes = []
logs = []
try:
commands = [
([sys.executable, str(ROOT / "e2e/workflow-document-server.py")], ROOT),
(
["node", "node_modules/vite/bin/vite.js", "--host", "127.0.0.1"],
ROOT / "calliope-web",
),
]
for i, (command, cwd) in enumerate(commands):
log = (OUT / f"service-{i}.log").open("w")
logs.append(log)
processes.append(
subprocess.Popen(command, cwd=cwd, stdout=log, stderr=log, start_new_session=True)
)
for url in (
"http://127.0.0.1:8247/api/workflows",
"http://127.0.0.1:5173/connections",
):
deadline = time.monotonic() + 30
while True:
if any(p.poll() is not None for p in processes):
raise RuntimeError("Local service exited; inspect service logs")
try:
with urllib.request.urlopen(url, timeout=1) as response:
if response.status == 200:
break
except (urllib.error.URLError, TimeoutError):
pass
if time.monotonic() > deadline:
raise TimeoutError(url)
time.sleep(0.2)
names = ["flux2-clothing"]
for name in names:
subprocess.run(["node", f"e2e/{name}-document.mjs"], cwd=ROOT, check=True)
finally:
for p in processes:
if p.poll() is None:
os.killpg(p.pid, signal.SIGTERM)
try:
p.wait(timeout=10)
except subprocess.TimeoutExpired:
os.killpg(p.pid, signal.SIGKILL)
p.wait(timeout=5)
for log in logs:
log.close()
import json
released = []
for port in (8247, 5173):
with socket.socket() as sock:
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind(("127.0.0.1", port))
released.append(port)
(OUT / "service-stop.json").write_text(
json.dumps(
{
"ports_released": released,
"child_exit_codes": [p.returncode for p in processes],
}
)
+ "\n"
)
print("All owned browser services stopped; ports released.")
if __name__ == "__main__":
main()