HEL-892 document Z-Image model upscaling reference

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-31 17:14:58 +08:00
co-authored by multica-agent
parent ed31f7131a
commit 2c62542b2e
88 changed files with 85654 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-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json"
): "634763e98e7e525da2df33eadae336498ca7bd0270ad1e9de89b333c9548089e",
(
"example_ComfyUI_workflows/3-图像生成/Z-Image/"
"10_Z_Image双采样+Fluax2-klein修复-高清直出.json"
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,174 @@
"Exact graph binding, all saved positions, dual scopes and closed eligibility."
import copy
import hashlib
import json
import runpy
import sys
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/zimage-upscale-document-evidence"
PATH = "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.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 x in p.strip("/").split("/"):
obj = obj[int(x)] if isinstance(obj, list) else obj[x]
return obj
def doc(s=SOURCE, r=REVIEW):
return build_document(PATH, s, None, None, [], r)
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
def test_each_saved_position_and_citation(f):
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
assert all(
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
)
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", ["source", "text"])
def test_caller_rehash_cannot_expand_trust(f, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
if variant == "text":
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
else:
p, _, key = f["pointer"].rpartition("/")
pointer(s, p)[int(key)] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["extra", "links", "id", "groups", "version"])
def test_whole_graph_mutations_fail_closed(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source[key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["mode", "properties", "inputs", "outputs"])
@pytest.mark.parametrize("index", [0, 4, 7, 8])
def test_node_identity_and_state_fail_closed(key, index):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source["nodes"][index][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
def test_exact_build_and_qualification():
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
BLOCK
)
assert len(DEFINITIONS) == 71 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == 25 and BLOCK["counts"]["root_saved_fields"] == 4
assert BLOCK["counts"]["source_notes"] == 6 and len(BLOCK["comments"]) == 6
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
sys.path.insert(0, str(OUT))
try:
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
finally:
sys.path.remove(str(OUT))
def test_path_and_source_binding_cannot_be_extended():
from calliope.comfyui.fixed_document import fixed_document_for
assert fixed_document_for(PATH + "forged", SOURCE, REVIEW) is None
review = copy.deepcopy(REVIEW)
review["source_sha"] = "forged"
assert not doc(SOURCE, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("suffix", [b"\n", b" ", b"\t"])
def test_original_byte_identity_rejects_equivalent_json(suffix):
altered = RAW + suffix
assert json.loads(altered) == SOURCE
assert review_for(PATH, hashlib.sha1(altered).hexdigest()) is None
@pytest.mark.parametrize("key", ["user_overview", "source_sha256", "sources", "flow", "counts"])
def test_editorial_or_citation_rehash_cannot_replace_code_owned_pin(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
review["fixed_version_document"][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
def test_upscale_boundary_actual_sampling_and_empty_history():
root = {n["id"]: n for n in SOURCE["nodes"]}
sg = SOURCE["definitions"]["subgraphs"][0]
ns = {n["id"]: n for n in sg["nodes"]}
assert root[162]["widgets_values"] == [] and sg["widgets"] == []
assert len(root[162]["properties"]["proxyWidgets"]) == 9 and len(root[162]["inputs"]) == 5
assert all(i["link"] is None for i in root[162]["inputs"][1:])
assert (
root[166]["widgets_values"] == [[]]
and root[166]["outputs"] == []
and root[143]["outputs"] == []
)
assert root[166]["inputs"][0]["link"] == 217 and root[166]["inputs"][1]["link"] == 218
assert sg["outputs"][0]["linkIds"] == [97, 97]
assert ns[69]["inputs"][3]["link"] == 91
assert ns[69]["widgets_values"] == [
334054213285785,
"randomize",
5,
1,
"dpmpp_2m_sde",
"beta",
0.33,
]
assert ns[81]["widgets_values"] == ["lanczos", 0.5]
assert ns[67]["widgets_values"] == ["masterpiece, 8k"] and ns[71]["widgets_values"] == [""]
assert not any(n["type"] == "Florence2Run" for n in list(root.values()) + list(ns.values()))
assert (
BLOCK["counts"]["boundary_saved_fields"] == 4
and BLOCK["counts"]["linked_saved_fields"] == 0
)
assert SOURCE["extra"]["frontendVersion"] == "1.41.13"
@pytest.mark.parametrize("note", BLOCK["comments"])
def test_full_note_original_and_forgery(note):
assert pointer(SOURCE, note["pointer"]) == note["text"]
r = copy.deepcopy(REVIEW)
r["fixed_version_document"]["comments"][BLOCK["comments"].index(note)]["text"] = "forged"
assert not doc(SOURCE, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("index", [0])
@pytest.mark.parametrize("key", ["nodes", "links", "inputs", "outputs", "widgets", "id"])
def test_nested_scope_forgery_rejected(index, key):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
s["definitions"]["subgraphs"][index][key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
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,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,92 @@
{
"fixed_count": 221,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/73": 4,
"/api/workflows/72": 4,
"/api/workflows/83": 3,
"/api/workflows/82": 3,
"/api/workflows/81": 3,
"/api/workflows/80": 3,
"/api/workflows/79": 3,
"/api/workflows/78": 3,
"/api/workflows/77": 3,
"/api/workflows/76": 3,
"/api/workflows/75": 3,
"/api/workflows/54": 3,
"/api/workflows/55": 3,
"/api/workflows/56": 3,
"/api/workflows/58": 3,
"/api/workflows/57": 3,
"/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": 16,
"polling_paths": {
"/api/jobs": 16
},
"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,9 @@
........................................................................ [ 54%]
............................................................ [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/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
132 passed, 1 warning in 5.77s
@@ -0,0 +1,728 @@
{
"base": "ed31f7131aabc1750f3dd612f3d121835526c35f",
"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_blocks_unchanged": 70,
"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,411 @@
"""Exact-source static nested upscale reference; no upstream execution."""
import ast
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "zimage-upscale-reference"
PATHS = [
(
"example_ComfyUI_workflows/3-图像生成/Z"
+ "-Image/11_Z_Image_Turbo+模型放大_图像4K高"
+ "清放大.json"
)
]
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
LAYOUTS = {
"ImageScaleToMaxDimension": ["upscale_method", "largest_size"],
"ImageScaleBy": ["upscale_method", "scale_by"],
"UpscaleModelLoader": ["model_name"],
"LoadImage": ["image", "upload"],
"KSampler": [
"seed",
"seed_control_candidate",
"steps",
"cfg",
"sampler_name",
"scheduler",
"denoise",
],
"SaveImage": ["filename_prefix"],
"Image Comparer (rgthree)": ["saved_comparison_history"],
"UNETLoader": ["unet_name", "weight_dtype"],
"CLIPLoader": ["clip_name", "type", "device"],
"VAELoader": ["vae_name"],
"CLIPTextEncode": ["text"],
"ModelSamplingAuraFlow": ["shift"],
}
LABELS = {
"upscale_method": "缩放插值",
"largest_size": "最长边目标像素",
"scale_by": "图像缩放系数(非denoise)",
"model_name": "放大模型文件引用",
"image": "原图文件引用",
"upload": "上传标记(前端参考)",
"seed": "种子保存值",
"seed_control_candidate": "种子辅助候选(非独立后端参数)",
"steps": "采样步数保存值",
"cfg": "引导保存值",
"sampler_name": "采样器选择",
"scheduler": "调度器选择",
"denoise": "denoise",
"filename_prefix": "保存文件前缀",
"saved_comparison_history": "完整比较历史列表(仅文本)",
"unet_name": "扩散模型引用",
"weight_dtype": "权重类型",
"clip_name": "文本模型引用",
"type": "编码器类型",
"device": "设备保存选择",
"vae_name": "VAE引用",
"text": "完整条件文本缓存",
"shift": "AuraFlow shift保存值",
}
NOTE_MEANING = {
"138": "作者空MarkdownNote,空串完整保留,不当缺键或缺失注释。",
"134": (
"作者英文介绍Z Image Turbo放大与Floren"
+ "ce2Run自动分析;本图没有Florence2Run节"
+ "点,不能当已接自动分析或质量保证。"
),
"133": (
"完整Upscaling/Automatic Image Analys"
+ "is段落保留字面反斜杠n。放大保真、去噪增加像素和Florence分"
+ "析均是作者描述;实际正向仍masterpiece, 8k,不认证自动"
+ "分析已实现。"
),
"160": (
"作者提示进入子图了解放大,原Markdown链接及字面反"
+ "斜杠n完整保留,只文本,不浏览或执行Note链接。"
),
"165": (
"作者低denoise表格原文含0.2 - 0.35建议,与当前0.3"
+ "3分别保留;低降噪细节增强只是意图,不保证内容/文字/质量。字面反斜"
+ "杠n/空格/表格不规范化。"
),
"162:163": (
"作者说明先预放大再KSampler重采样,三步原文/字面反斜杠n保留"
+ ";实际为最长边目标缩放、模型放大、0.5图像缩放、编码后采样,不保证"
+ "保真或精确4K。"
),
}
def provider(node):
p = node.get("properties", {})
if p.get("cnr_id") == "comfy-core":
return "core" + p["ver"].replace(".", "")
return "rgpkg" if p.get("cnr_id") == "rgthree-comfy" else None
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
editorial = json.loads((OUT / "editorial.json").read_bytes())
scopes = [("", "", g), ("162", "/definitions/subgraphs/0", g["definitions"]["subgraphs"][0])]
nodes = [
(pre + ":" + str(n["id"]) if pre else str(n["id"]), ptr + f"/nodes/{i}", pre or "root", n)
for pre, ptr, sg in scopes
for i, n in enumerate(sg["nodes"])
]
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
for e in manifest:
data = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
sources.append(
dict(
e,
local_file="../zimage-upscale-reference/" + e["local_file"],
lines=[1, len(data.decode().splitlines())],
claim="本图准确来源原文;Git与发布成员分列,源码许可不等于模型素材许可,未执行",
)
)
class_refs = {}
schemas = {}
for nid, _ptr, _scope, node in nodes:
key = provider(node)
cls = node["type"]
refs = []
for i, e in enumerate(manifest):
if e["id"] != key or not e["file"].endswith(".py"):
continue
data = (REF / e["local_file"]).read_bytes()
try:
tree = ast.parse(data)
except SyntaxError:
continue
symbol = {
"CR Text": "CR_Text",
"ImageSharpen": "Sharpen",
"easy seed": "easySeed",
"LayerUtility: ImageReel": "ImageReel",
"LayerUtility: ImageReelComposit": "ImageReelComposit",
"ShowText|pysssss": "ShowText",
"Image Comparer (rgthree)": "RgthreeImageComparer",
"LayerUtility: ImageScaleByAspectRatio V2": "ImageScaleByAspectRatioV2",
"LayerUtility: PurgeVRAM V2": "PurgeVRAM_V2",
}.get(cls, cls)
for c in ast.walk(tree):
if isinstance(c, ast.ClassDef) and c.name == symbol:
sources.append(
dict(
sources[i],
lines=[c.lineno, c.end_lineno],
claim="本图准确声明类实现;保存索引映射/运行恢复仍需区分",
)
)
refs.append(len(sources) - 1)
for d in ast.walk(c):
if not isinstance(d, ast.Dict):
continue
for k, v in zip(d.keys, d.values, strict=True):
if (
isinstance(k, ast.Constant)
and isinstance(k.value, str)
and isinstance(v, ast.Tuple)
):
default = "无显式default;动态枚举或方法条件见准确原文"
for a in v.elts[1:]:
if isinstance(a, ast.Dict):
for dk, dv in zip(a.keys, a.values, strict=True):
if (
isinstance(dk, ast.Constant)
and dk.value == "default"
):
default = ast.unparse(dv)
schemas[nid, k.value] = (default, ast.unparse(v))
for call in ast.walk(c):
if (
isinstance(call, ast.Call)
and isinstance(call.func, ast.Attribute)
and call.func.attr == "Input"
and call.args
and isinstance(call.args[0], ast.Constant)
and isinstance(call.args[0].value, str)
):
name = call.args[0].value
default = next(
(ast.unparse(k.value) for k in call.keywords if k.arg == "default"),
"无显式default;不从方法缺省补值",
)
schemas[nid, name] = (default, ast.unparse(call))
# Registration and complete relevant original texts remain visible even for missing class.
class_refs[nid] = refs + [
i
for i, e in enumerate(manifest)
if e["id"] == key and (e["file"].endswith("__init__.py") or not refs)
]
fields, empty, comments, flow = [], [], [], []
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls == "MarkdownNote":
comments.append(
dict(
node_id=nid,
pointer=ptr + "/widgets_values/0",
text=n["widgets_values"][0],
meaning=NOTE_MEANING[nid],
evidence=[],
)
)
continue
effect = editorial[nid] + " 原始mode=" + str(n["mode"]) + ",活动保存态不等于可靠执行。"
flow.extend(
[
effect,
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
nid
+ " 原输入/输出(缺键/null/[]分列) "
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
]
)
if not n.get("widgets_values"):
empty.append(
dict(
node_id=nid,
class_type=cls,
pointer=ptr,
scope=scope,
state="missing" if "widgets_values" not in n else "empty_list",
effect=effect,
)
)
continue
for j, (name, value) in enumerate(zip(LAYOUTS[cls], n["widgets_values"], strict=True)):
inp = next((k for k, x in enumerate(n["inputs"]) if x["name"] == name), None)
boundary = nid in ["162:66", "162:62", "162:63", "162:76"] and name in [
"unet_name",
"clip_name",
"vae_name",
"model_name",
]
linked = inp is not None and n["inputs"][inp].get("link") is not None
aux = name in ["upload", "seed_control_candidate", "saved_comparison_history"]
default, limits = schemas.get(
(nid, name), ("无准确独立后端widget默认", "完整保存位置/前端辅助,不补运行值")
)
if name == "seed_control_candidate":
default, limits = (
"准确frontend1.41.13辅助缺省randomize,不借旧版fixed",
(
"fixed/increment/decrement/ra"
+ "ndomize;函数缺省与节点调用/恢复顺序分开,不执行"
),
)
unit = {
"largest_size": "最长边目标像素;按本版分支设置,非仅超限截断",
"scale_by": "图像宽高乘数,非denoise",
"steps": "采样步数接口,不保证实际完整执行",
"cfg": "引导系数,无物理单位",
"denoise": "采样降噪系数,与0.5图像缩放分开",
"text": "完整作者文本/空串,非产物保证",
"shift": "AuraFlow采样参数,无物理单位",
"seed": "整数种子保存值,非最终执行seed",
"filename_prefix": "保存文件前缀字符串",
"saved_comparison_history": "完整空历史列表,仅文本",
}.get(name, "保存枚举/模型或文件引用/前端标记,无独立物理单位;目标环境未知")
fields.append(
dict(
node_id=nid,
definition_node_id=str(n["id"]),
scope=scope,
class_type=cls,
field=name,
label=LABELS[name],
pointer=f"{ptr}/widgets_values/{j}",
value=value,
json_type=type(value).__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 aux
else "boundary_saved_cache"
if boundary
else "linked_saved_cache"
if linked
else "saved_reference",
schema_default=default,
limits=limits,
unit=unit,
effect=effect,
evidence=class_refs[nid],
execution_note=(
"仅静态参考,不构造prompt或执行上游/模型/GPU/"
+ "媒体/随机/钩子/恢复/表达式/缓存清理;转换执行资格不"
+ "变。"
),
)
)
for (nid, name), (default, limits) in schemas.items():
flow.append(
f"节点{nid}准确具名schema {name}:default={default};{limits}。"
"仅接口参考,不补缺保存或认证运行恢复。"
)
for pre, ptr, sg in scopes:
flow.extend(
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False) for e in sg["links"]
)
sg = g["definitions"]["subgraphs"][0]
host = next(n for n in g["nodes"] if n["id"] == 162)
boundaries = [
dict(
scope="162",
definition_pointer="/definitions/subgraphs/0",
**{k: sg[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]},
host_pointer=f"/nodes/{g['nodes'].index(host)}",
host_saved=host["widgets_values"],
proxyWidgets=host["properties"]["proxyWidgets"],
host_inputs=host["inputs"],
)
]
flow.extend("原定义/宿主边界 " + json.dumps(b, ensure_ascii=False) for b in boundaries)
flow.extend(json.loads((OUT / "findings.json").read_bytes())["findings"])
for note in comments:
flow.append("注释" + note["node_id"] + " 中文核对:" + note["meaning"])
overview = (
"原图先按最长边目标2048缩放,再经模型放大和0.5图像缩放,随后V"
+ "AE编码、Z-Image Turbo低降噪重采样并解码保存。比较A为"
+ "处理图、B为原图。标题4K和作者8k/Florence自动分析介绍均"
+ "不是实测事实;实际没有Florence2Run,正向仍masterp"
+ "iece, 8k。九代理与五边界输入分开,宿主恢复和模型兼容未知,当"
+ "前仅参考。"
)
assert len(fields) == 25 and len(comments) == 6
assert sum(f["scope"] == "root" for f in fields) == 4
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="仅参考:代理/UE/宿主恢复、目标模型与环境、实际尺寸及效果未核,转换执行资格不变。",
user_overview=overview,
versions=[
f"{e['id']} {e['tag']} commit {e['commit']} tree {e['tree']};许可{e['license_file']}"
for e in {e["id"]: e for e in manifest}.values()
]
+ [
(
"旧70块3028位置+76注释冻结;本批25位置+6注释,总71图3"
+ "053位置+82注释仅参考;local_file以docs/hel-"
+ "892/zimage-upscale-document-eviden"
+ "ce为基准。"
)
],
counts=dict(
saved_fields=25,
root_saved_fields=4,
internal_saved_fields=21,
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
boundary_saved_fields=sum(f["role"] == "boundary_saved_cache" for f in fields),
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
source_nodes=23,
root_nodes=9,
internal_nodes=14,
physical_edges=24,
source_notes=6,
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:核25位置、六完整Note与空串/空历史,原文件"
+ "/模型名和推荐异名分列,不浏览Note或模型链接。"
),
(
"阅读2:按2048最长边目标→模型放大→0.5缩放→VAE编码→69"
+ "采样→65解码核物理路径;0.5非denoise,0.33与作者建议"
+ "分开,不能保证精确4K或保真。"
),
(
"阅读3:九proxyWidgets/五输入/四COMBO边界/空宿主"
+ "与定义widgets分列,重复97声明不复制物理边;保存和比较返回按"
+ "准确版本核,不构造promoted或prompt。"
),
(
"阅读4:A处理/B原图,完整空历史不是产物;保持停用未检"
+ "查/空时间戳,155最终定稿/可靠转换/环境核对/必要实"
+ "跑未完成。"
),
],
)
@@ -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/zimage-upscale-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,34 @@
第90批仅新增 `11_Z_Image_Turbo+模型放大_图像4K高清放大.json` 的实际doc_json/GET/既有Drawer中文参考说明。原PR25/base main、分支agent/agent/a64a969a6a44,真实基线ed31f7131aabc1750f3dd612f3d121835526c35f;不扩下一图、不合并部署。
原字节独立SHA256 `baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da`。根9节点4边,定义14节点20含边界记录,全mode0。根4+内部21=25保存位置,24标量+1完整空比较列表,六完整MarkdownNote含138空串;无具名保存。旧70块3028位置+76注释逐对象冻结,现71图3053位置+82注释仅参考,尚84张目标图没有此类参考块。155定稿0/实跑0/本批新增转换0,全量未完成。
关键说明进入概要、逐项、双指针、步骤、FAQ与实际GET:
- 原图132 IMAGE分别给162宿主、166比较B;162输出给143正式保存、166比较A,因此A处理/B原图。MASK未接。143准确core0.21.1空RETURN_TYPES/仅ui.images,源outputs=[]独立保留;166准确发布1.0.2604070017的[[]]仍为一保存位置,Slide属性和源outputs=[]分开,不补历史或出口。
- 内部164按最长边目标2048缩放,准确本版没有只超限时缩小判断,小图也可能放大;随后79模型放大、81宽高乘0.5、80 VAEEncode、69 KSampler、65解码。0.5是图像缩放,不是denoise;采样起点是处理图片编码latent,没有EmptyLatent。模型名不证明倍率,标题4K不证明实测输出。
- 76保存RealESRGAN_x4plus.pth而元数据推荐safetensors,异名原样保留。66 Turbo/default、62 qwen_3_4b/lumina2/default、63 ae、70 shift int3与各自准确版本独立;VAE编码/解码共享声明引用但目标兼容未知。没有下载/反序列化权重、GPU/OOM/清内存或尺寸试算。
- 五边界输入中image外接,四COMBO宿主无外线;九proxyWidgets与五输入、宿主widgets_values=[]、定义widgets=[]及内部缓存分开,不造promoted/宿主具名值,宿主0.14.1不传播内部。定义输出linkIds=[97,97]重复声明和唯一物理97原样保留,双端点核准、不修图或复制边。
- KSampler完整seed/randomize/5/int1/dpmpp_2m_sde/beta/0.33与准确默认分列。前端准确1.41.13种子辅助函数缺省randomize,不沿用1.23.0 fixed;节点调用/序列化恢复时序未知,保存seed非最终seed,不执行随机或调度。正向masterpiece, 8k、负向空串完整保留。
- 六Note原文/空串/表格/链接/字面反斜杠n/空格完整保留并给中文核对;实际没有Florence2Run,自动分析只为作者介绍,不能当已接链路。165作者0.2 - 0.35建议与当前0.33分开,不保证细节/文字/内容保持;不浏览Note或模型链接。
文件用途:
- `calliope-backend/src/calliope/comfyui/source_reviews.json`:仅目标图新增固定参考块,其余155审校对象不变。
- `calliope-backend/src/calliope/comfyui/fixed_document.py`:新增目标路径/代码拥有定义摘要,原路径/字节/全图/摘要失败关闭机制不变,调用方重算不能扩信任。
- `calliope-backend/tests/test_zimage_upscale_fixed_document.py`:逐25保存位置/引用、六完整Note、源与说明伪造拒绝、四边界缓存/九代理/空历史/采样起点/重复97及比较A-B。
- `docs/hel-892/zimage-upscale-reference/`:准确core0.13.0、宿主0.14.1、frontend1.41.13及锁/内置LiteGraph/Subgraph原文与Git身份,逐图绑定复用准确core0.21.1/0.3.64/0.3.73及rgthree发布。45来源条目,76文件闭包,含SHA/commit/tag/tree/blob/行段/许可/获取时间与缺口。
- `docs/hel-892/zimage-upscale-document-evidence/`:独立盘点、生成、定义/实际doc、旧库保护、包/确定性/浏览/请求对账/失败记录及已实际执行的复现入口。完整中文见 `docs/hel-892/ZImageTurbo模型放大固定参考中文说明.md`。
- `e2e/zimage-upscale-document.mjs`、`e2e/run-zimage-upscale-document.py`:两屏本地GET、旧70摘要及共享回归、finally回收自有服务;Drawer整文件/CSS/依赖未改。
最终验证(不叠加轮次):
- 专项119+库回归13=132通过,保留Starlette/anyio既有弃用警告。入口pytest/Ruff check/format --check三条原命令已实际执行,准确选中test_zimage_upscale_fixed_document.py,没有hd/style/wash旧路径;entry-executed.json列原命令及退出码。13个自写Python范围格式/检查、JS语法、前端build、后端wheel/sdist通过,不称全仓绿。
- 真实ed31f71旧代码隔离库恰1更新/154跳过/排除1,其余154整行不变;幂等155,精确回退1/再升级,前后用户编辑各1冲突、29列保护。155/16待检查/139待转换、1217/3660/294、停用未检查/空定稿实跑时间戳保持。
- 双次定义/中文渲染零差异;wheel/sdist三资源字节一致;163原件(156原图+7配套)、191资源、28profile/九候选hash/六差分、转换执行资格冻结。
- 最终1440/390浏览2338断言:新图642、旧70摘要1680、汇总2、共享14;逐25位置/六Note/完整原文/模型异名/九代理五输入/重复输出声明/采样起点/比较A-B、默认折叠/旧空错绑定回退/迟到重试/焦点/无横溢通过。
- 浏览固定226/轮询16/六详情夹具;后台固定221(226−6+就绪1)/轮询16逐路径一致,字体拦截1、禁止请求0;finally结束后独立核8247/5173拒绝连接。
- 已实际目验两屏默认、0.5缩放、低denoise Note表格、模型异名、空比较历史、内部完整Note和frontend随机辅助等代表截图。截图仅附件,无新pyc入仓。
复现入口validation-commands.txt,先前端build再浏览,准确文本已在仓无需联网。开发失败与修正见development-failures.md/ruff-initial.txt,原历史日志不倒改。附件含全部本批文件差集、完整补丁、逐文件用途/SHA(自身不递归)、原图、准确来源闭包、实际中文/doc、最终head/定义摘要、保护/包/确定性/浏览与截图。
来源仅必要Git文本与已采集准确发布文本/Range证明复用;本次没有获取整个归档或下载模型素材字体运行库。rgthree发布成员SHA/CRC与完整包SHA/Git绑定未知分列。历史SeedVR整包越界及删除事实原样保留,本图无其适用来源。源码许可不代表模型素材许可,目标目录/设备/兼容/耗时/效果未实测。未连接目标、启停TTS/ComfyUI、构造prompt、执行上游/SDK/模型/GPU/媒体/随机/钩子/恢复/表达式/缓存显存、增加依赖付费、写在线库、合并或部署。交总管HEL-893一次功能+界面审核后再扩下一图,155最终定稿/可靠转换/环境核对/必要实跑仍未完成。
@@ -0,0 +1,7 @@
本轮开发失败及修正记录:
- 初次来源闭包沿用旧来源缺省identity_root,寻找flux2-outpaint-reference/lora-commit.txt失败。准确0.21.1原文实际复用自flux2-img-reference;已将manifest与prepare_sources入口的身份根修正为真实commit/tag/tree证据目录,重算来源闭包与定义摘要。
- 给prepare_sources加入身份根修正时缩进错误,Ruff报Expected an indented block;已修正循环/写清单的缩进,显式项目配置格式化/语法与检查通过。源码采集过程此前完成,本次没有重下上游。
- ruff-initial.txt保留初轮长行与缩进错误;随后中文显示宽度仍有两条E501,进一步拆分相邻字符串,编译后文本一致,双次定义/渲染零差异。
- 六Note中子图Note在通用doc里用UUID/163标识,专项定义用162:163;浏览夹具按准确原doc节点ID定位对应Note,未改产品组件、数据或Note原文。
- 后端首轮132项通过,无产品专项失败。保留Starlette/anyio既有弃用警告;最终只报末轮132,不累加重跑、不称全仓绿。原历史失败日志/来源越界及删除记录不倒改。
@@ -0,0 +1,19 @@
{
"132":"LoadImage准确core0.21.1,保存ComfyUI_01643_.png/image为文件引用与前端上传标记,未读取图片。IMAGE213给宿主162.image、218给166比较B;MASK未接,原输出缺键/null/[]分别保留,不补遮罩链。文件可用性、尺寸/素材许可未知。",
"143":"SaveImage准确core0.21.1,保存ComfyUI前缀,输入207来自162处理输出;源outputs=[]与widgets保存值独立。准确本版RETURN_TYPES=(),save_images仅返回ui.images,与源outputs=[]分层对应,不借0.27.1的IMAGE结论;正式output目录保存与比较临时预览分开,目录权限/实际产物未知,不写媒体。",
"166":"Image Comparer准确rgthree发布1.0.2604070017,widgets_values=[[]]是1位置的完整空历史列表,不是缺键、零位置或当前产物。A217来自162处理图、B218来自132原图;Slide仅properties,源outputs=[]。准确继承运行宿主PreviewImage及UI返回与空源出口分层;不补出口、历史项或请求/view/图片。发布成员SHA/CRC与整包SHA/Git绑定未知分列。",
"162":"子图宿主162声明core0.14.1,type为3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c,widgets_values=[]。九proxyWidgets为66.unet_name/62.clip_name/63.vae_name/76.model_name/69.denoise/69.seed/69.control_after_generate/164.largest_size/67.text,只有五输入一输出,不等于九输入。image213外接132,其余四COMBO无外线;内部保存值/代理与空宿主缓存分开,不造promoted或宿主具名值,不把宿主版本传播内部。输出207给143保存、217给166 A;定义输出linkIds=[97,97]但物理97仅一条,不重复计算、删边或模拟恢复。",
"162:164":"ImageScaleToMaxDimension准确core0.21.1,边界image215输入来自根132经宿主162。保存lanczos/2048,2048是本版最长边接口目标,不是4K或最终尺寸;本版按宽高比例round另一边,长边直接设目标,未做仅超限缩小判断,输入较小时也可能放大;准确缩放/取整条件仅静态参考,不试算或保证画质。IMAGE216给79模型放大,代理largest_size不造宿主保存值。",
"162:76":"UpscaleModelLoader准确core0.13.0,保存RealESRGAN_x4plus.pth,properties.models却推荐RealESRGAN_x4plus.safetensors,异名原样保留,不改缓存或访问URL。model_name边界112对应根宿主无外线,只代理线索,内部缓存恢复未知;UPSCALE_MODEL87给79。动态目录/模型描述符/加载条件仅静态,不下载/反序列化权重或认证倍率/兼容。",
"162:79":"ImageUpscaleWithModel准确core0.13.0,widgets_values=[]零保存,模型87来自76,图像216来自164按最长边目标缩放图;IMAGE92到81。准确分块/OOM回退/设备/输出裁剪条件仅静态,不执行GPU/清内存或保证x4倍率、清晰度和速度。",
"162:81":"ImageScaleBy准确core0.13.0,保存lanczos/浮点0.5,接模型放大图92,IMAGE93到80编码。0.5是图像宽高缩放系数,不是denoise;准确round/插值条件只源码参考,不试算尺寸或承诺精确4K/像素保持。",
"162:80":"VAEEncode准确core0.13.0,widgets_values=[],pixels93来自81缩放图,VAE90来自63;LATENT91才是69实际物理采样起点,是处理图片编码而非EmptyLatent。图像裁切/编码/通道等准确条件仅静态,不读取媒体或运行VAE。",
"162:66":"UNETLoader准确core0.3.73,保存Z-Image反斜杠z_image_turbo_bf16.safetensors/default,边界109是宿主无外线COMBO代理。MODEL104给70 AuraFlow;与放大模型76不同,默认dtype/设备、安装/兼容和模型素材许可未知,不加载。",
"162:70":"ModelSamplingAuraFlow准确core0.3.64,保存JSON int3 shift;66 MODEL104入,MODEL74给69。准确模型clone/采样包装及shift接口仅静态条件,不执行patch或推导目标效果。",
"162:62":"CLIPLoader准确core0.3.73,保存qwen_3_4b.safetensors/lumina2/default,边界110对应宿主无外线clip_name;CLIP78给67正向、82给71负向。模型引用、lumina2选择、默认设备与目标兼容分别保留,不加载编码器或借别版选择。",
"162:63":"VAELoader准确core0.3.73保存ae.safetensors,边界111对应宿主无外线vae_name;VAE90给80编码,73给65解码,两支路共享同一声明引用但实际兼容/目录/设备未知,不运行。",
"162:67":"正向CLIPTextEncode准确core0.3.73,完整保存masterpiece, 8k,CLIP78来自62,CONDITIONING75给69。作者8k文本不是实测尺寸/细节保证,也没有Florence2Run节点或自动图像分析输出;代理text不等宿主保存值,不构造新prompt或编码。",
"162:71":"负向CLIPTextEncode准确core0.3.73,完整空串保存,CLIP82来自62,CONDITIONING83给69负向。空串与缺键分开,不补负向提示、ZeroOut或自动分析条件,不执行。",
"162:69":"KSampler准确core0.3.64,保存334054213285785/randomize/5/JSON int1/dpmpp_2m_sde/beta/0.33,随机辅助非独立后端参数。MODEL74来自70、正向75来自67、负向83来自71、LATENT91来自80处理图片编码;LATENT72到65。当前0.33与Note165的0.2-0.35作者建议分开,不保证完整5步、降噪效果或内容保持;保存seed不是最终seed,九代理中的seed/control_after_generate/denoise恢复未知,不执行随机/调度。",
"162:65":"VAEDecode准确core0.3.64,widgets_values=[],69 LATENT72与63 VAE73汇合;IMAGE物理97仅一条到定义outputNode -20。定义输出linkIds=[97,97]重复声明保留但不复制解码;宿主162输出再给保存/比较A,不执行或保证最终尺寸。"
}
@@ -0,0 +1,18 @@
{
"commands": [
{
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_zimage_upscale_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
"exit_code": 0
},
{
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/zimage-upscale-document-evidence/*.py calliope-backend/tests/test_zimage_upscale_fixed_document.py e2e/run-zimage-upscale-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0
},
{
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/zimage-upscale-document-evidence/*.py calliope-backend/tests/test_zimage_upscale_fixed_document.py e2e/run-zimage-upscale-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0
}
],
"selected_test": "test_zimage_upscale_fixed_document.py",
"no_previous_style_or_wash_module": true
}
@@ -0,0 +1,14 @@
{
"findings": [
"原字节独立SHA256 baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da;根9节点4物理边、定义14节点20含边界记录,全mode0。根4+内部21=25位置,24标量+1完整空历史列表,六完整MarkdownNote含根138空串;源无具名保存。",
"五边界输入image/unet_name/clip_name/vae_name/model_name,九proxyWidgets不等于九输入。宿主widgets_values=[]与定义widgets=[]、内部缓存分层;四COMBO无宿主外线,边界缓存4项不是具体外部值覆盖。其他代理denoise/seed/control_after_generate/largest_size/text不造宿主保存值或promoted。宿主core0.14.1不传播内部。",
"定义输出linkIds=[97,97]为重复声明,24条分作用域物理记录中定义97只有一条;双端点核保留原样,不修图、不复制边或输出。根A处理/B原图,空历史列表仍是一位置,Slide属性单列,不当产物或请求媒体。",
"准确core0.21.1 ImageScaleToMaxDimension按宽高分支把长边设largest_size=2048,另一边按比例round;没有只超限时缩小判断,小图也可能放大。common_upscale crop disabled;不是保证4K或固定最终尺寸,不求尺寸。",
"准确core0.13.0 ImageUpscaleWithModel用tile512/overlap32,OOM逐次减半且低于128重抛,finally移CPU,输出clamp0..1。倍率来自模型描述符而不是文件名;没有加载模型、执行GPU、分块、OOM或清内存。ImageScaleBy独立按round(原宽高×0.5)再插值、crop disabled,不是denoise。",
"准确Save143 core0.21.1 RETURN_TYPES=()、save_images仅ui.images,与源outputs=[]分层对应,不套0.27.1 IMAGE返回。Comparer准确发布1.0.2604070017继承运行宿主PreviewImage,compare_images返回ui.a_images/b_images而无自身result,宿主版本未知;源outputs=[]独立保留,不补返回口、历史媒体或产物。",
"准确frontend1.41.13同树锁/内置LiteGraph与Subgraph/SubgraphNode原文独立固定;widgets辅助函数缺省randomize,不能沿用1.23.0 fixed。函数缺省与节点调用/序列化恢复顺序分开;UE、Vue-corrected renderer、proxy/动态宿主恢复未知,不执行钩子/随机。",
"六Note完整原文/空串/表格/链接/字面反斜杠n/空格均保留;134/133所说Florence2Run自动分析不在实际节点链中,实际67正向仅masterpiece, 8k。没有自动图像分析、8k尺寸或文字保持保证;165建议0.2 - 0.35与当前0.33是不同证据。只纯文本,不浏览Note或模型链接。",
"FAQ:标题4K是实测输出吗?不是,模型倍率/输入尺寸/恢复均未核。0.5是去噪吗?是图像宽高乘数,采样denoise当前0.33。初始latent为空吗?来自预处理图VAEEncode,不是EmptyLatent。Florence自动提示在哪?图里无对应节点,Notes作者介绍与实际固定正向分开。空历史是不是没有保存位置?[[]]仍是一项完整空列表。重复97要修吗?保留重复声明和唯一物理边,不修图。",
"本图没有SeedVR适用来源,不采集其完整包;历史SeedVR整包越界与删除事实保留。源码许可不等于模型素材许可,目录/兼容/设备/耗时/效果未实测。旧70块/191资源/profile/候选/差分/转换执行/Drawer整文件/CSS/依赖不变。"
]
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
13 files already formatted
@@ -0,0 +1,267 @@
> calliope-web@1.5.8 build
> vite build
vite v6.4.3 building SSR bundle for production...
transforming...
5:10:04 PM [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>
5:10:05 PM [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...
5:10:07 PM [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>
5:10:07 PM [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.24 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.m7GVD0vp.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.B-Xggibq.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.B5TJR3x8.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/Zzep5nw6.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.BvaLc_Yx.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.N-NuDmol.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.Ddrc909P.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.Bsmf5_P9.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/cKgZwFT8.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.C14obnxv.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/BgiP_Rz1.js 6.87 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.DpLu0XSI.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.BRhXwQNY.js 11.97 kB │ gzip: 4.01 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.CWk5d_bd.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.Dc1V7tUV.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/BmAeYJtl.js 23.99 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.B3iO7MuK.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.DmAiysZe.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.Ducqdp0X.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/Dp6AJscl.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.BAPeTyV0.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/CLRUT_4u.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.DqNSGUe9.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.BnG7cEcp.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.60s
.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.72s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "ed31f7131aabc1750f3dd612f3d121835526c35f",
"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": "ed31f7131aabc1750f3dd612f3d121835526c35f",
"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": 25,
"new_notes": 6,
"old_saved": 3028,
"old_notes": 76,
"overviews": 71,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1,546 @@
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da",
"git_blob_sha1": "56c34f9ccb7498c3f63940b760aacd5523e4b448",
"fields": [
{
"node": 143,
"pointer": "/nodes/4/widgets_values/0",
"value": "ComfyUI",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 166,
"pointer": "/nodes/6/widgets_values/0",
"value": [],
"json_type": "list",
"scope": "root",
"named": null
},
{
"node": 132,
"pointer": "/nodes/8/widgets_values/0",
"value": "ComfyUI_01643_.png",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 132,
"pointer": "/nodes/8/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/0",
"value": 334054213285785,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/1",
"value": "randomize",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/2",
"value": 5,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/3",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/4",
"value": "dpmpp_2m_sde",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/5",
"value": "beta",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 69,
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/6",
"value": 0.33,
"json_type": "float",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 66,
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/0",
"value": "Z-Image\\z_image_turbo_bf16.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 66,
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/1",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 62,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/0",
"value": "qwen_3_4b.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 62,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/1",
"value": "lumina2",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 62,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/2",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 63,
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/0",
"value": "ae.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 70,
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/0",
"value": 3,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 164,
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/0",
"value": "lanczos",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 164,
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/1",
"value": 2048,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 76,
"pointer": "/definitions/subgraphs/0/nodes/8/widgets_values/0",
"value": "RealESRGAN_x4plus.pth",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 81,
"pointer": "/definitions/subgraphs/0/nodes/9/widgets_values/0",
"value": "lanczos",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 81,
"pointer": "/definitions/subgraphs/0/nodes/9/widgets_values/1",
"value": 0.5,
"json_type": "float",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 71,
"pointer": "/definitions/subgraphs/0/nodes/11/widgets_values/0",
"value": "",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 67,
"pointer": "/definitions/subgraphs/0/nodes/12/widgets_values/0",
"value": "masterpiece, 8k",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
}
],
"empty": [
{
"node": 162,
"pointer": "/nodes/7",
"state": "empty_list"
},
{
"node": 65,
"pointer": "/definitions/subgraphs/0/nodes/5",
"state": "empty_list"
},
{
"node": 79,
"pointer": "/definitions/subgraphs/0/nodes/6",
"state": "empty_list"
},
{
"node": 80,
"pointer": "/definitions/subgraphs/0/nodes/10",
"state": "empty_list"
}
],
"notes": [
{
"node": 138,
"pointer": "/nodes/0/widgets_values/0",
"text": "",
"characters": 0
},
{
"node": 134,
"pointer": "/nodes/1/widgets_values/0",
"text": "This is an **Upscaling** workflow for advanced image enhancement in diffusion models using Z Image Turbo, featuring **Automatic Image Analysis** with Florence2Run to generate refined prompts and optimize output quality.",
"characters": 219
},
{
"node": 133,
"pointer": "/nodes/2/widgets_values/0",
"text": "## Upscaling\n\nUpscaling increases image resolution and detail via diffusion, creating a higher-quality version that preserves original content and structure.\nIt adds denoised pixels throughout to enlarge the image, blending with the upscaled base for better clarity.\n\n## Automatic Image Analysis\n\nAutomatic image analysis with Florence-2 via Florence2Run to inspect the input image and create refined prompts for upscaling guidance.\nIt enhances the diffusion model with detailed descriptions of objects, textures, and contexts to improve results.",
"characters": 546
},
{
"node": 160,
"pointer": "/nodes/3/widgets_values/0",
"text": "👈 Enter the [subgraph](https://docs.comfy.org/interface/features/subgraph) \nto understand the upscale",
"characters": 101
},
{
"node": 165,
"pointer": "/nodes/5/widgets_values/0",
"text": "## Upscale\n\nUsing Image Z Turbo on a low denoise value, we can increase detail in an image.\n\nCompared to a basic diffusion process a upscale uses lower denoising values.\n| Parameters | Basic Diffusion | Upscaling |\n|--------|---------|------------\n| Ksampler: denoise | 1.0 | 0.2 - 0.35 ",
"characters": 301
},
{
"node": 163,
"pointer": "/definitions/subgraphs/0/nodes/13/widgets_values/0",
"text": "In order to increase fidelity we will pre-upscale the image before resampling it with the Ksampler.\n\n1. Set the target Resolution in ImageScaleToMaxDimension\n\n2. Select an upscaling model \n",
"characters": 189
}
],
"scopes": [
{
"pointer": "/",
"nodes": 9,
"edges": 4,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
},
{
"pointer": "/definitions/subgraphs/0",
"nodes": 14,
"edges": 20,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
}
],
"extra": {
"workflowRendererVersion": "Vue-corrected",
"frontendVersion": "1.41.13",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 0.7928342338601496,
"offset": [
-10648.870270514037,
-723.791120167245
]
},
"ue_links": [],
"links_added_by_ue": []
},
"hosts": [
{
"id": 162,
"type": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c",
"pos": [
11135.224811099139,
1059.346615720284
],
"size": [
400,
523.3333333333334
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 213
},
{
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_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": "model_name",
"type": "COMBO",
"widget": {
"name": "model_name"
},
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"localized_name": "IMAGE_1",
"name": "IMAGE_1",
"type": "IMAGE",
"links": [
207,
217
]
}
],
"properties": {
"proxyWidgets": [
[
"66",
"unet_name"
],
[
"62",
"clip_name"
],
[
"63",
"vae_name"
],
[
"76",
"model_name"
],
[
"69",
"denoise"
],
[
"69",
"seed"
],
[
"69",
"control_after_generate"
],
[
"164",
"largest_size"
],
[
"67",
"text"
]
],
"cnr_id": "comfy-core",
"ver": "0.14.1",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
}
],
"definition_boundary": [
{
"id": "3b4342ec-d8c2-43e3-83da-3b0fd25f4c0c",
"inputNode": {
"id": -10,
"bounding": [
-96.46403802906536,
375.3333461086228,
128,
148
]
},
"outputNode": {
"id": -20,
"bounding": [
2123.535961970935,
475.3333461086228,
128,
68
]
},
"inputs": [
{
"id": "e9a14390-4f93-4065-8b02-323f999527c0",
"name": "image",
"type": "IMAGE",
"linkIds": [
215
],
"localized_name": "image",
"pos": [
7.535961970934636,
399.3333461086228
]
},
{
"id": "c5655e11-9531-4949-996c-958b5fe92085",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
109
],
"pos": [
7.535961970934636,
419.3333461086228
]
},
{
"id": "82576043-dd69-4604-b572-09fabb6e602d",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
110
],
"pos": [
7.535961970934636,
439.3333461086228
]
},
{
"id": "59e20fb5-cd61-4d4b-a1fd-15a90c7ba6c2",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
111
],
"pos": [
7.535961970934636,
459.3333461086228
]
},
{
"id": "adc35153-dc52-4bac-be7e-9da19471f441",
"name": "model_name",
"type": "COMBO",
"linkIds": [
112
],
"pos": [
7.535961970934636,
479.3333461086228
]
}
],
"outputs": [
{
"id": "f138a0aa-489a-42e1-92f7-e3747688c94d",
"name": "IMAGE_1",
"type": "IMAGE",
"linkIds": [
97,
97
],
"localized_name": "IMAGE_1",
"label": "IMAGE",
"pos": [
2147.535961970935,
499.3333461086228
]
}
],
"widgets": []
}
]
}
@@ -0,0 +1,96 @@
"""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-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.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"),
)
)
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"],
hosts=[n for n in g["nodes"] if n["id"] in [162]],
definition_boundary=[
{
k: s[k]
for k in [
"id",
"inputNode",
"outputNode",
"inputs",
"outputs",
"widgets",
]
}
for s in g["definitions"]["subgraphs"]
],
)
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,23 @@
[
{
"file": "fixed_document.py",
"sha256": "5f42e336e3680987d0bfc89c7f38c2b7d2bc971eddc1518775df3cd0aeefb69e",
"wheel": true,
"sdist": true,
"definitions": 71
},
{
"file": "source_reviews.json",
"sha256": "9c71a1f39c3c5a54b7632b417d496441f7ff478e291f60818d61ba2a73a7ac7b",
"wheel": true,
"sdist": true,
"definitions": 71
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 71
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json": "634763e98e7e525da2df33eadae336498ca7bd0270ad1e9de89b333c9548089e"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,174 @@
"""Reuse exact necessary bytes, then acquire bounded missing pinned source text only."""
import datetime
import hashlib
import json
import subprocess
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "zimage-upscale-reference"
REF.mkdir(exist_ok=True)
SPECS = [
(
"core0130",
"Comfy-Org/ComfyUI",
"v0.13.0",
[
"nodes.py",
"comfy_extras/nodes_upscale_model.py",
"comfy/utils.py",
"comfy/model_management.py",
"folder_paths.py",
"LICENSE",
],
),
("core0141", "Comfy-Org/ComfyUI", "v0.14.1", ["nodes.py", "LICENSE"]),
(
"frontend",
"Comfy-Org/ComfyUI_frontend",
"v1.41.13",
[
"package.json",
"pnpm-lock.yaml",
"pnpm-workspace.yaml",
"src/scripts/widgets.ts",
"src/scripts/app.ts",
"src/lib/litegraph/src/litegraph.ts",
"src/lib/litegraph/src/LGraphNode.ts",
"src/lib/litegraph/src/subgraph/Subgraph.ts",
"src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"LICENSE",
],
),
]
def main():
rows = []
selections = [
("zimage-hd-reference", {"core0364": "core0364", "core0373": "core0373"}),
("flux2-outpaint-reference", {"lora": "core0211"}),
("flux2-img-reference", {"rgthree": "rgpkg"}),
]
for folder, ids in selections:
root = REF.parent / folder
for original in json.loads((root / "sources.json").read_bytes())["sources"]:
if original["id"] not in ids:
continue
e = original.copy()
e["identity_key"] = e.get("identity_key", e["id"])
e["id"] = ids[original["id"]]
if any(x["id"] == e["id"] and x["file"] == e["file"] for x in rows):
continue
for keyname in ["local_file", "identity_root"]:
e[keyname] = "../" + folder + "/" + e.get(keyname, ".")
if not e["license_file"].startswith("未知"):
e["license_file"] = "../" + folder + "/" + e["license_file"]
e.setdefault("tag", e["commit"])
e["applicability"] = (
"本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。"
)
rows.append(e)
for key, repo, tag, files in SPECS:
cache = ROOT / ".local-evidence" / ("zimage-upscale-" + key + "-git")
cache.mkdir(parents=True, exist_ok=True)
subprocess.run(["git", "init", "--bare", str(cache)], check=True, stdout=subprocess.DEVNULL)
if not (cache / "FETCH_HEAD").exists():
subprocess.run(
[
"git",
"-C",
str(cache),
"fetch",
"--filter=blob:none",
"--depth=1",
"https://github.com/" + repo + ".git",
("refs/tags/" + tag) if tag.startswith("v") else tag,
],
check=True,
)
def git(*args):
return subprocess.check_output(["git", "-C", str(cache), *args])
rev = git("rev-parse", "FETCH_HEAD^{commit}").decode().strip()
tree = git("rev-parse", rev + "^{tree}").decode().strip()
(REF / (key + "-commit.txt")).write_bytes(git("cat-file", "commit", rev))
(REF / (key + "-tag.txt")).write_bytes(git("cat-file", "-p", "FETCH_HEAD"))
(REF / (key + "-tag.json")).write_text(
json.dumps(
dict(
ref=tag,
commit=rev,
object=git("rev-parse", "FETCH_HEAD").decode().strip(),
),
indent=2,
)
+ "\n"
)
entries = []
for line in git("ls-tree", "-r", rev).decode().splitlines():
head, path = line.split("\t", 1)
mode, kind, sha = head.split()
entries.append(dict(path=path, mode=mode, type=kind, sha=sha))
(REF / (key + "-tree.json")).write_text(
json.dumps(dict(sha=tree, truncated=False, tree=entries), indent=2) + "\n"
)
missing = []
# Discover exact source text names within accurate tree, bounded to relevant classes/files.
if key in ["easy", "reel"]:
files += [
e["path"]
for e in entries
if e["path"].endswith(".py")
and any(s in e["path"].lower() for s in ["seed", "reel"])
]
if key == "easy":
files += [
e["path"]
for e in entries
if e["path"].endswith(".js") and "seed" in e["path"].lower()
]
for f in dict.fromkeys(files):
ent = next((x for x in entries if x["path"] == f), None)
if ent is None:
missing.append(f)
continue
raw = git("show", rev + ":" + f)
name = key + "__" + f.replace("/", "__")
(REF / name).write_bytes(raw)
rows.append(
dict(
id=key,
repo=repo,
file=f,
local_file=name,
commit=rev,
tree=tree,
tag=tag,
url=f"https://raw.githubusercontent.com/{repo}/{rev}/{f}",
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=ent["sha"],
acquisition_time=datetime.datetime.now(datetime.timezone.utc).isoformat(),
license_file=key + "__LICENSE",
transport="filtered git; selected text only",
applicability="本图准确声明版本静态参考;不执行上游或认证目标环境",
identity_root=".",
identity_key=key,
)
)
(REF / (key + "-absent.json")).write_text(json.dumps(missing, indent=2) + "\n")
for e in rows:
if e["id"] == "core0211":
e["identity_root"] = "../flux2-img-reference"
(REF / "sources.json").write_text(
json.dumps(dict(sources=rows), ensure_ascii=False, indent=2) + "\n"
)
print("PINNED", key, rev, flush=True)
if __name__ == "__main__":
main()
@@ -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 = "ed31f7131aabc1750f3dd612f3d121835526c35f"
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 70 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) == 70
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()) == 3028
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": 70,
"old_saved": 3028,
"old_notes": 76,
"new_saved": 25,
"new_notes": 6,
"total_documents": 71,
"total_saved": 3053,
"total_notes": 82,
},
)
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": 25,
"new_notes": 6,
"old_saved": 3028,
"old_notes": 76,
"overviews": 71,
"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_blocks_unchanged": 70,
"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": 71,
}
)
write("package-check.json", packages)
print(
f"PASS actual {BASE} upgrade1/skip154, repe"
"at155, rollback1, edits1"
"/29cols, fresh155,"
" 1217/3660/294, 71 defin"
"itions, frozen bou"
"ndaries, wheel/sdist"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
PASS exact Git/package text, 25 positions, 6 notes, 24 physical edges
PASS actual ed31f7131aabc1750f3dd612f3d121835526c35f upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 71 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,132 @@
"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 = [
"# ZImageTurbo模型放大固定参考中文说明",
"",
"新增25保存位置/6注释;旧70块3028位置+76源注释不变,71图3053位置+82注释仅参考;155定稿0/实跑0/新增转换0。",
"",
(
("来源local_file以docs/hel-892/zimage-upscale-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 / "ZImageTurbo模型放大固定参考中文说明.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 / "ZImageTurbo模型放大固定参考中文说明.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": 71,
"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": 71,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "46691d38450023db2208451f52b8431b434860a37f5a2f57730818157263d7b8",
"artifacts": {
"fixed-source-index.json": "2497e28c5791a5bcc882837be944e43482d6d81a47c9baaa223f18b5daefcc89",
"ZImageTurbo模型放大固定参考中文说明.md": "dc32ae229b3de488f7d16a8cfc64a5c6b21bc45a09025693072aeef7a9823b27"
}
}
@@ -0,0 +1,15 @@
{
"base": "ed31f7131aabc1750f3dd612f3d121835526c35f",
"changed_paths": [
"example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 70,
"old_saved": 3028,
"old_notes": 76,
"new_saved": 25,
"new_notes": 6,
"total_documents": 71,
"total_saved": 3053,
"total_notes": 82
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,23 @@
E501 Line too long (123 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:73:76
|
71 | NOTE_MEANING = {
72 | "138": "作者空MarkdownNote,空串完整保留,不当缺键或缺失注释。",
73 | "134": "作者英文介绍Z Image Turbo放大与Florence2Run自动分析;本图没有Florence2Run节点,不能当已接自动分析或质量保证。",
| ^^^^^^^^^^^^^^^^^^^^^^
74 | "133": (
75 | "完整Upscaling/Automatic Image Analys"
|
E501 Line too long (107 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:80:64
|
78 | + "分析已实现。"
79 | ),
80 | "160": "作者提示进入子图了解放大,原Markdown链接及字面反斜杠n完整保留,只文本,不浏览或执行Note链接。",
| ^^^^^^
81 | "165": (
82 | "作者低denoise表格原文含0.2 - 0.35建议,与当前0.3"
|
Found 2 errors.
@@ -0,0 +1,96 @@
E501 Line too long (123 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:69:76
|
67 | NOTE_MEANING = {
68 | "138": "作者空MarkdownNote,空串完整保留,不当缺键或缺失注释。",
69 | "134": "作者英文介绍Z Image Turbo放大与Florence2Run自动分析;本图没有Florence2Run节点,不能当已接自动分析或质量保证。",
| ^^^^^^^^^^^^^^^^^^^^^^
70 | "133": "完整Upscaling/Automatic Image Analysis段落保留字面反斜杠n。放大保真、去噪增加像素和Florence分析均是作者描述;实际正向仍mas…
71 | "160": "作者提示进入子图了解放大,原Markdown链接及字面反斜杠n完整保留,只文本,不浏览或执行Note链接。",
|
E501 Line too long (172 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:70:77
|
68 | …
69 | … 有Florence2Run节点,不能当已接自动分析或质量保证。",
70 | … 放大保真、去噪增加像素和Florence分析均是作者描述;实际正向仍masterpiece, 8k,不认证自动分析已实现。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71 | … 留,只文本,不浏览或执行Note链接。",
72 | … 低降噪细节增强只是意图,不保证内容/文字/质量。字面反斜杠n/空格/表格不规范化。",
|
E501 Line too long (107 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:71:64
|
69 | "134": "作者英文介绍Z Image Turbo放大与Florence2Run自动分析;本图没有Florence2Run节点,不能当已接自动分析或质量保证。",
70 | "133": "完整Upscaling/Automatic Image Analysis段落保留字面反斜杠n。放大保真、去噪增加像素和Florence分析均是作者描述;实际正向仍mas…
71 | "160": "作者提示进入子图了解放大,原Markdown链接及字面反斜杠n完整保留,只文本,不浏览或执行Note链接。",
| ^^^^^^
72 | "165": "作者低denoise表格原文含0.2 - 0.35建议,与当前0.33分别保留;低降噪细节增强只是意图,不保证内容/文字/质量。字面反斜杠n/空格…
73 | "162:163": "作者说明先预放大再KSampler重采样,三步原文/字面反斜杠n保留;实际为最长边目标缩放、模型放大、0.5图像缩放、编码后采样,…
|
E501 Line too long (150 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:72:68
|
70 | … 面反斜杠n。放大保真、去噪增加像素和Florence分析均是作者描述;实际正向仍masterpiece, 8k,不认证自动分析已实现。",
71 | … 斜杠n完整保留,只文本,不浏览或执行Note链接。",
72 | …33分别保留;低降噪细节增强只是意图,不保证内容/文字/质量。字面反斜杠n/空格/表格不规范化。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 | …字面反斜杠n保留;实际为最长边目标缩放、模型放大、0.5图像缩放、编码后采样,不保证保真或精确4K。",
74 | …
|
E501 Line too long (155 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:73:64
|
71 | … 杠n完整保留,只文本,不浏览或执行Note链接。",
72 | …分别保留;低降噪细节增强只是意图,不保证内容/文字/质量。字面反斜杠n/空格/表格不规范化。",
73 | … 反斜杠n保留;实际为最长边目标缩放、模型放大、0.5图像缩放、编码后采样,不保证保真或精确4K。",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74 | …
|
E501 Line too long (114 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:282:80
|
280 | for (nid, name), (default, limits) in schemas.items():
281 | flow.append(
282 | f"节点{nid}准确具名schema {name}:default={default};{limits}。仅接口参考,不补缺保存或认证运行恢复。"
| ^^^^^^^^^^^^^
283 | )
284 | for pre, ptr, sg in scopes:
|
E501 Line too long (302 > 100)
--> docs/hel-892/zimage-upscale-document-evidence/build_definition.py:305:71
|
303 | …
304 | …
305 | …o低降噪重采样并解码保存。比较A为处理图、B为原图。标题4K和作者8k/Florence自动分析介绍均不是实测事实;实际没有Florence2Run,正向仍masterpiece, 8k。九代理与五边界输入分开,宿主恢复和模型兼容未知,当前仅参考。"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
306 | …
307 | …
|
invalid-syntax: Expected an indented block after `for` statement
--> docs/hel-892/zimage-upscale-document-evidence/prepare_sources.py:137:9
|
135 | (REF / (key + "-absent.json")).write_text(json.dumps(missing, indent=2) + "\n")
136 | for e in rows:
137 | if e["id"] == "core0211":
| ^^
138 | e["identity_root"] = "../flux2-img-reference"
139 | (REF / "sources.json").write_text(
|
invalid-syntax: Unexpected indentation
--> docs/hel-892/zimage-upscale-document-evidence/prepare_sources.py:142:1
|
140 | json.dumps(dict(sources=rows), ensure_ascii=False, indent=2) + "\n"
141 | )
142 | print("PINNED", key, rev, flush=True)
| ^^^^^^^^
Found 9 errors.
@@ -0,0 +1,246 @@
INFO: Started server process [1203645]
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:37110 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37116 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37118 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37142 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37128 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:37152 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:37162 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37178 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60962 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60972 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60988 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60990 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32770 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32778 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32788 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32798 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32806 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:32814 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32824 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32834 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:32836 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32846 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32858 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32874 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32886 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32900 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32910 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32926 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32938 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32940 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32956 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54708 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54716 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54732 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54734 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54736 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54748 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54762 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54766 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54768 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54780 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54788 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54802 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54814 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54824 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54834 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54850 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54858 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54860 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54874 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54882 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54884 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54898 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54908 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54924 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54938 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54954 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54970 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54976 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38690 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38692 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38696 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38700 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38712 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38728 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38730 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38746 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38752 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38768 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38782 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38784 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38792 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38800 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38808 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38816 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38818 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38822 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38836 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38846 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38860 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38870 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38878 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38882 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38892 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38908 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54682 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54692 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54704 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54716 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54722 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54730 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54732 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54740 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54744 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54760 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54764 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54778 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54784 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54786 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54802 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54810 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54822 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54828 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54844 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37930 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37932 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37942 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37958 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37960 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37974 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37984 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37990 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38000 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38006 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38016 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38028 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38030 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38044 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38048 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38062 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38070 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38076 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38084 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38094 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38104 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38116 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38128 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38140 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38156 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38160 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38164 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38174 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60694 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60700 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60716 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60720 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60732 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60742 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60758 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60766 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60770 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60772 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60778 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60784 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60790 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60792 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60808 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60810 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60820 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60832 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60848 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60858 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60868 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60882 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60896 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60906 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60912 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60924 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60936 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60946 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60956 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51256 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51260 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51266 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51280 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51290 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51306 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [1203645]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 287 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,39 @@
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Comfy-Org/ComfyUI
* tag v0.13.0 -> FETCH_HEAD
PINNED core0130 6648ab68bc934a185c90a2a872c87dc64d093751
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Comfy-Org/ComfyUI
* tag v0.14.1 -> FETCH_HEAD
PINNED core0141 19236edfa4d2f66070d66a6b3aee592c9c2ad574
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Comfy-Org/ComfyUI_frontend
* tag v1.41.13 -> FETCH_HEAD
PINNED frontend 9ae85068eb2e75e7df7f6f750d807bc63af12665
@@ -0,0 +1 @@
PASS exact Git/package text, 25 positions, 6 notes, 24 physical edges
@@ -0,0 +1,301 @@
{
"sources": [
{
"id": "core0373",
"file": "nodes.py",
"sha256": "c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0373",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0364",
"file": "nodes.py",
"sha256": "1ae1d7bcb87e514435a79790a72d84c9f937d2d11c95cc8f2d38e2718c8e6f8a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0364",
"file": "comfy_extras/nodes_model_advanced.py",
"sha256": "b76ffbdc3abbca23f6ddb951b07088749f2b088c71618f03993bac0dd9249005",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0364",
"file": "comfy/model_sampling.py",
"sha256": "85bbf3a4c874507884da382432af254819c0c948d33a54d4e790379f7429296e",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0364",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "nodes.py",
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "folder_paths.py",
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "comfy/sd.py",
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "node_helpers.py",
"sha256": "22317a033cce556331bfedc5f4ab6c2833184fd2bbdf9496c9182a4973a7098a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "comfy_api/latest/_input_impl/__init__.py",
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "comfy_api/latest/_input_impl/video_types.py",
"sha256": "5d6a316b1a8c1da5c00b55026fb488d3381880bcb2ee165d109e0c3256fb2285",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0211",
"file": "comfy_extras/nodes_images.py",
"sha256": "225194932642ae772db88d381757082925e95bd46a7df5edb33cc129d26733a4",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "rgpkg",
"file": "__init__.py",
"sha256": "06174f22e7246b2b0771961cc0681846f452b853ccb927ca507e074f340abc61",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "py/image_comparer.py",
"sha256": "43ccce9b6f9413d5196ce4a7a3ef544969ae1ce2b52c44345f6cc8fb28c596fc",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "py/constants.py",
"sha256": "50dee946013b1d88d01fe9d63c2a7ab4d4c59be218cf80171f3542b43f0d8558",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "py/utils.py",
"sha256": "57038116cf0c6ebc417e998a5c36c4b7e74e73d61d495c20e5fe18a6ad8afbc7",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/base_node.js",
"sha256": "c3ff5ba72f284f8e894dd464b2936f01369838291fb817cc4e304df576a1eba6",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/utils.js",
"sha256": "0bd26067a033689d5b1dfbe6faec2855bb2a8947d1031a5060e48ed1415111a7",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/label.js",
"sha256": "5a0f8d72d0be3c6573477943a18295310f82dd4b1d99a506517bb6956af1790d",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/utils_widgets.js",
"sha256": "211ec018039e3bd5bcc78cafd4c64db33bcb1f02df60c93d45ff76ac96718b18",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/utils_canvas.js",
"sha256": "1da57fc68e7e57b28d0396e237b5ac98fc21f0933d27f3dc1f6aa11e5fb09229",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "web/comfyui/constants.js",
"sha256": "01bddadcbeb27f4f3519987fb1e3f8fbed5b8c5e0bff1180e0f6cf3348c89ad9",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "LICENSE",
"sha256": "b34faf7c3e2975fe08d0169958e2b39f076d4d4289cbe2560dd7dd5b1a613ed1",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "rgpkg",
"file": "pyproject.toml",
"sha256": "8287e30a551ac6574f6d34a0889910091e6ae3eb74e9189f25ee17cd672a53a8",
"proof": "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
},
{
"id": "core0130",
"file": "nodes.py",
"sha256": "84046d46f95d85a5d190a975e40affc6dd0ee7572c7d583d400903dbcd3c0f6c",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0130",
"file": "comfy_extras/nodes_upscale_model.py",
"sha256": "a9312b53eff007d6fdfcc775f192539f6a53ae49ac8ed584229eb60a41f3a1af",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0130",
"file": "comfy/utils.py",
"sha256": "743375cdc7dad34efafd28a675c742c742638783898cf81a44dea975071282d1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0130",
"file": "comfy/model_management.py",
"sha256": "a955d3c6167e1a72c643421c5073bff414975e14d8cf8bd34c15d7293eb8fda2",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0130",
"file": "folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0130",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0141",
"file": "nodes.py",
"sha256": "0932fc588cc72bc1e0257520a739006d151d44ef2971af2fd925455fce93c20f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0141",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "package.json",
"sha256": "92d6cc64ff378a446e8ebf2a79b630008ae8503f04e22148828472100381b24f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "pnpm-lock.yaml",
"sha256": "ebd64eccee6059ef4808888729314a39efdaa137d784821750cba2605c6369f8",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "pnpm-workspace.yaml",
"sha256": "29128af0faaace7779e8dfa46094393cbfb5995458c784a8354f6091715864e6",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/scripts/widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/scripts/app.ts",
"sha256": "2c97d508a0864da6739229559845929c3d3064655777e478bdc480a73d27f22f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/litegraph.ts",
"sha256": "dff415dd49c8c7119cbfbae0b3edd6738cd86266f36a6e57c90bf45ee1520cbd",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/subgraph/Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "a823f3e6dac34fd6b50bb8e7d3561fa8ab39b8919b7c836e31737907b8e6c683",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
}
],
"counts": {
"saved_fields": 25,
"root_saved_fields": 4,
"internal_saved_fields": 21,
"linked_saved_fields": 0,
"boundary_saved_fields": 4,
"frontend_only": 3,
"source_nodes": 23,
"root_nodes": 9,
"internal_nodes": 14,
"physical_edges": 24,
"source_notes": 6,
"history_objects": 1,
"final_scalars": 0,
"final_prompt_constructed": false
},
"physical_edges_checked": 24,
"exact_core_output_checks": [
{
"node": 143,
"accurate_return_types": [],
"source_outputs": []
}
],
"original_type_mismatches": [],
"inventory_matches_definition": true,
"no_upstream_execution": true
}
@@ -0,0 +1,387 @@
{
"files": [
{
"path": "docs/hel-892/flux2-img-reference/lora-commit.txt",
"sha256": "95a11fd98c9a7cbdff524011d6e94b58fa391a0c421960893d5e2a94f70c3ffb",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora-tag.json",
"sha256": "e84e8dd249832be83dca8f0f4485bfd022e04bc4250d5afe1474b2f6470fea64",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora-tag.txt",
"sha256": "95a11fd98c9a7cbdff524011d6e94b58fa391a0c421960893d5e2a94f70c3ffb",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora-tree.json",
"sha256": "803620c4f059b87ed30943bf6952d6483efca9dc319de8760bc8e5fb9e9134d9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora__comfy__sd.py",
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora__folder_paths.py",
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/lora__nodes.py",
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree-members.json",
"sha256": "b7c622b976c8a5e960e17b9bb3e67f53127ae1a093f59e6be33c9ebc4b629ea2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree-range-proof.json",
"sha256": "d4bf41580bb8ce48f60b8d1fa3f8b66a9cb09f68e3990bcf66efd8aac1aa4a56",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree-registry.json",
"sha256": "58f02e66d576ed0076bedf9b0691941464e400dcb723629f377b06d3f790b123",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__LICENSE",
"sha256": "b34faf7c3e2975fe08d0169958e2b39f076d4d4289cbe2560dd7dd5b1a613ed1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree____init__.py",
"sha256": "06174f22e7246b2b0771961cc0681846f452b853ccb927ca507e074f340abc61",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__py__constants.py",
"sha256": "50dee946013b1d88d01fe9d63c2a7ab4d4c59be218cf80171f3542b43f0d8558",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__py__image_comparer.py",
"sha256": "43ccce9b6f9413d5196ce4a7a3ef544969ae1ce2b52c44345f6cc8fb28c596fc",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__py__utils.py",
"sha256": "57038116cf0c6ebc417e998a5c36c4b7e74e73d61d495c20e5fe18a6ad8afbc7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__pyproject.toml",
"sha256": "8287e30a551ac6574f6d34a0889910091e6ae3eb74e9189f25ee17cd672a53a8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__base_node.js",
"sha256": "c3ff5ba72f284f8e894dd464b2936f01369838291fb817cc4e304df576a1eba6",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__constants.js",
"sha256": "01bddadcbeb27f4f3519987fb1e3f8fbed5b8c5e0bff1180e0f6cf3348c89ad9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__label.js",
"sha256": "5a0f8d72d0be3c6573477943a18295310f82dd4b1d99a506517bb6956af1790d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__utils.js",
"sha256": "0bd26067a033689d5b1dfbe6faec2855bb2a8947d1031a5060e48ed1415111a7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__utils_canvas.js",
"sha256": "1da57fc68e7e57b28d0396e237b5ac98fc21f0933d27f3dc1f6aa11e5fb09229",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-img-reference/rgthree__web__comfyui__utils_widgets.js",
"sha256": "211ec018039e3bd5bcc78cafd4c64db33bcb1f02df60c93d45ff76ac96718b18",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl____init__.py",
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl__video_types.py",
"sha256": "5d6a316b1a8c1da5c00b55026fb488d3381880bcb2ee165d109e0c3256fb2285",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__node_helpers.py",
"sha256": "22317a033cce556331bfedc5f4ab6c2833184fd2bbdf9496c9182a4973a7098a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-outpaint-reference/outpaint__comfy_extras__nodes_images.py",
"sha256": "225194932642ae772db88d381757082925e95bd46a7df5edb33cc129d26733a4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load-commit.txt",
"sha256": "af72d1b631be663e7d545227324db94417fdaa6bd9d866f182e9b791c91110c7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load-tag.json",
"sha256": "895e701a28fe311d406aa93d3c497a34bac96fdabde061775890e46cbf22af0e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load-tag.txt",
"sha256": "af72d1b631be663e7d545227324db94417fdaa6bd9d866f182e9b791c91110c7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load-tree.json",
"sha256": "5d2c7470c84b51cb1bde37f03e76b9934dc13af1f6d03f334489a2d5926d9042",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/load__nodes.py",
"sha256": "c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch-commit.txt",
"sha256": "146e874d7b6146184675a20d30aab4e868de7ec8ee8655ab45b603dfb780674c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch-tag.json",
"sha256": "74d0519d302b09c94855eacd5dde125564e06dce45b77648209d84f6fbd7b6a5",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch-tag.txt",
"sha256": "146e874d7b6146184675a20d30aab4e868de7ec8ee8655ab45b603dfb780674c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch-tree.json",
"sha256": "da248d6e2c4979097a7d6e0c008b068accaf4ad9826fa6c2dff4cbe5ecee137e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch__comfy__model_sampling.py",
"sha256": "85bbf3a4c874507884da382432af254819c0c948d33a54d4e790379f7429296e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch__comfy_extras__nodes_model_advanced.py",
"sha256": "b76ffbdc3abbca23f6ddb951b07088749f2b088c71618f03993bac0dd9249005",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-dual-reference/patch__nodes.py",
"sha256": "1ae1d7bcb87e514435a79790a72d84c9f937d2d11c95cc8f2d38e2718c8e6f8a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130-commit.txt",
"sha256": "0a365e592f8873ba2f7c9e3e6b14f2b74c49e1fbfd554e0efe375a1eecbdcde0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130-tag.json",
"sha256": "47e17365532ea98c64c63e10c8e664f3c7633f530b1ff15f5050f8cfc5a6ec8a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130-tag.txt",
"sha256": "0a365e592f8873ba2f7c9e3e6b14f2b74c49e1fbfd554e0efe375a1eecbdcde0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130-tree.json",
"sha256": "025cfa85c55639beef630148c6d8afa39980263880005040381846e98a5a0ee2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__comfy__model_management.py",
"sha256": "a955d3c6167e1a72c643421c5073bff414975e14d8cf8bd34c15d7293eb8fda2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__comfy__utils.py",
"sha256": "743375cdc7dad34efafd28a675c742c742638783898cf81a44dea975071282d1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__comfy_extras__nodes_upscale_model.py",
"sha256": "a9312b53eff007d6fdfcc775f192539f6a53ae49ac8ed584229eb60a41f3a1af",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0130__nodes.py",
"sha256": "84046d46f95d85a5d190a975e40affc6dd0ee7572c7d583d400903dbcd3c0f6c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141-commit.txt",
"sha256": "0a72d0b8d5e6d62bdc2a7e7936cdc5e1c327c3de254c951f75159edf58a7c687",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141-tag.json",
"sha256": "a7cc2dbd78d05fd9e341d750eb9f420cdf675a25c329d66b8f6c5763eb55e9f4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141-tag.txt",
"sha256": "0a72d0b8d5e6d62bdc2a7e7936cdc5e1c327c3de254c951f75159edf58a7c687",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141-tree.json",
"sha256": "11c13f5cdcc3c921065ec576c700dc0d6e7ca63e2232cdad46a604817e1632cf",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/core0141__nodes.py",
"sha256": "0932fc588cc72bc1e0257520a739006d151d44ef2971af2fd925455fce93c20f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend-commit.txt",
"sha256": "c370ab7921055b81f4a146e097096dcea328bd78265f5690322c644065a9a43c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend-tag.json",
"sha256": "49e7127ed0ad4511ef89c19b6a46aaf43de2d2fd20d8a481366da2882bc2312f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend-tag.txt",
"sha256": "c370ab7921055b81f4a146e097096dcea328bd78265f5690322c644065a9a43c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend-tree.json",
"sha256": "9bb386d26944f0fa5add97d378da109049dba240b875c415cfc3159939a7288a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__package.json",
"sha256": "92d6cc64ff378a446e8ebf2a79b630008ae8503f04e22148828472100381b24f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__pnpm-lock.yaml",
"sha256": "ebd64eccee6059ef4808888729314a39efdaa137d784821750cba2605c6369f8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__pnpm-workspace.yaml",
"sha256": "29128af0faaace7779e8dfa46094393cbfb5995458c784a8354f6091715864e6",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__lib__litegraph__src__litegraph.ts",
"sha256": "dff415dd49c8c7119cbfbae0b3edd6738cd86266f36a6e57c90bf45ee1520cbd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"sha256": "a823f3e6dac34fd6b50bb8e7d3561fa8ab39b8919b7c836e31737907b8e6c683",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__scripts__app.ts",
"sha256": "2c97d508a0864da6739229559845929c3d3064655777e478bdc480a73d27f22f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/frontend__src__scripts__widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/zimage-upscale-reference/sources.json",
"sha256": "0984fbd8ce94f2f6728365e8fed758a6b9ecd2836cf84b56ce94e2dc3435b1b8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
}
],
"count": 76,
"upstream_executed": false,
"note": "commit/tag字节和选定blob已重算;tree列表非完整树对象重哈希。本批为选定Git文本与发布成员Range;成员CRC已核,整包SHA/Git绑定未知,没有整包获取;未安装。"
}
@@ -0,0 +1,61 @@
"List source texts and their identity/permission evidence, without self hashing."
import hashlib
import json
from build_definition import OUT, REF, REPO
def main():
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
for e in rows:
paths.add((REF / e["local_file"]).resolve())
if not e["license_file"].startswith("未知"):
paths.add((REF / e["license_file"]).resolve())
if e["id"] == "litegraph":
continue
if "member_crc32" in e:
paths.update(
(REF / e["identity_root"] / (e["identity_key"] + suffix)).resolve()
for suffix in ["-registry.json", "-members.json", "-range-proof.json"]
)
continue
base = REF / e["identity_root"]
paths.update(
(base / (e["identity_key"] + suffix)).resolve()
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
)
paths.update(p.resolve() for p in REF.glob("*registry*.json"))
result = []
for p in sorted(paths):
raw = p.read_bytes()
result.append(
dict(
path=str(p.relative_to(REPO)),
sha256=hashlib.sha256(raw).hexdigest(),
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
)
)
(OUT / "source-closure.json").write_text(
json.dumps(
dict(
files=result,
count=len(result),
upstream_executed=False,
note=(
"commit/tag字节和选定blob已重算;tree列表非完整树对象"
"重哈希。本批为选定Git文本与发布成员Range;成员CRC已核,整包SHA/Git绑定未知,没有整包获取;未安"
"装。"
),
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS source closure", len(result))
if __name__ == "__main__":
main()
@@ -0,0 +1,24 @@
# 第90批,仅Z-Image Turbo模型放大;原PR25/main,基线ed31f7131aabc1750f3dd612f3d121835526c35f。
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
# 既有依赖离线恢复,不增依赖。
uv sync --project calliope-backend --offline --extra dev
npm ci --offline --ignore-scripts --prefix calliope-web
# 仓内已有准确文本,无需联网;可选prepare_sources仅复用必要原文及采集准确Git文本;发布成员与Range证明复用原件,无整包或资产获取。
# PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/prepare_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/rebuild.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_zimage_upscale_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/zimage-upscale-document-evidence/*.py calliope-backend/tests/test_zimage_upscale_fixed_document.py e2e/run-zimage-upscale-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/zimage-upscale-document-evidence/*.py calliope-backend/tests/test_zimage_upscale_fixed_document.py e2e/run-zimage-upscale-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/zimage-upscale-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/zimage-upscale-document-evidence/recompute.py
npm run build --prefix calliope-web
# 前端build完成后再浏览,不与vite并发写生成目录。
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 calliope-backend/.venv/bin/python e2e/run-zimage-upscale-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/collect_browser.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/zimage-upscale-document-evidence/source_closure.py
# 25新增位置/6注释;旧70块逐对象冻结。71图3053位置/82注释仅参考,155定稿0/实跑0/新增转换0。
@@ -0,0 +1,169 @@
"Verify exact text, Git/package provenance and source graph without upstream imports."
import ast
import hashlib
import json
import zlib
from build_definition import OUT, REF, build, canonical
from inventory import inventory
def object_hash(kind, raw):
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
def main():
block, inv = build(), inventory()
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"]
if e["id"] == "litegraph":
root = REF / e["identity_root"]
assert (
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
== "0.15.15"
)
front = next(
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
)
lock = json.loads((REF / front["local_file"]).read_bytes())
assert (
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
== "sha512-" + e["artifact_sha512_base64"]
)
proof = (
"Pinned frontend1.23.0 lock, exact0.15."
"15 member SHA; whole artifact digest r"
"eused, Git unknown"
)
elif "member_crc32" in e:
root = REF / e["identity_root"]
m = json.loads((root / (e["identity_key"] + "-registry.json")).read_bytes())
members = json.loads((root / (e["identity_key"] + "-members.json")).read_bytes())
member = next(x for x in members if x["name"] == e["file"])
assert m["version"] == e["tag"]
assert member["crc"] == e["member_crc32"] == zlib.crc32(raw)
assert e["package_sha256"].startswith("unknown")
proof = "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
else:
root = REF / e["identity_root"]
key = e["identity_key"]
commit = (root / (key + "-commit.txt")).read_bytes()
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert object_hash("commit", commit) == e["commit"]
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
assert not tree["truncated"]
assert (
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
== e["git_blob_sha1"]
== object_hash("blob", raw)
)
tag = json.loads((root / (key + "-tag.json")).read_bytes())
tag_raw = (root / (key + "-tag.txt")).read_bytes()
assert tag["commit"] == e["commit"]
if tag["object"] == e["commit"]:
assert tag_raw == commit
else:
assert object_hash("tag", tag_raw) == tag["object"]
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
proof = (
"Rehashed commit/tag/selected blo"
"b; complete tree listing, not fu"
"ll tree-object rehash"
)
if not e["license_file"].startswith("未知"):
license_row = next(
x
for x in rows
if x["id"] == e["id"]
and (
(REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve()
or x["file"] == "LICENSE"
)
)
assert (
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
== license_row["sha256"]
)
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
from build_definition import PATHS, REPO
graph = json.loads((REPO / PATHS[0]).read_bytes())
assert len(inv["fields"]) == 25 and len(inv["notes"]) == 6
assert [(s["nodes"], s["edges"]) for s in inv["scopes"]] == [(9, 4), (14, 20)]
assert all(m == 0 for s in inv["scopes"] for m in s["modes"])
assert all(s["named_nodes"] == 0 for s in inv["scopes"])
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"]),
)
assert [(n["pointer"], n["text"]) for n in inv["notes"]] == [
(n["pointer"], n["text"]) for n in block["comments"]
]
checked = 0
mismatches = []
for scope in [graph, *graph["definitions"]["subgraphs"]]:
ns = {n["id"]: n for n in scope["nodes"]}
for edge in scope["links"]:
if isinstance(edge, list):
eid, a, ao, z, zi, kind = edge
else:
eid, a, ao, z, zi, kind = [
edge[k]
for k in ["id", "origin_id", "origin_slot", "target_id", "target_slot", "type"]
]
if a in ns:
assert eid in ns[a]["outputs"][ao]["links"]
else:
assert a == -10 and eid in scope["inputs"][ao]["linkIds"]
if z in ns:
assert ns[z]["inputs"][zi]["link"] == eid
else:
assert z == -20 and eid in scope["outputs"][zi]["linkIds"]
checked += 1
assert checked == 24
assert graph["definitions"]["subgraphs"][0]["outputs"][0]["linkIds"] == [97, 97]
assert sum(e.get("id") == 97 for e in graph["definitions"]["subgraphs"][0]["links"]) == 1
assert inv["extra"]["frontendVersion"] == "1.41.13"
e = next(e for e in rows if e["id"] == "core0211" and e["file"] == "nodes.py")
tree = ast.parse((REF / e["local_file"]).read_bytes())
save = next(c for c in tree.body if isinstance(c, ast.ClassDef) and c.name == "SaveImage")
ret = next(
c.value
for c in save.body
if isinstance(c, ast.Assign)
and any(isinstance(t, ast.Name) and t.id == "RETURN_TYPES" for t in c.targets)
)
assert ast.literal_eval(ret) == ()
output_checks = [
dict(
node=143,
accurate_return_types=[],
source_outputs=next(n for n in graph["nodes"] if n["id"] == 143)["outputs"],
)
]
assert output_checks[0]["source_outputs"] == []
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())
result = dict(
sources=checks,
counts=block["counts"],
physical_edges_checked=24,
exact_core_output_checks=output_checks,
original_type_mismatches=mismatches,
inventory_matches_definition=True,
no_upstream_execution=True,
)
(OUT / "source-check.json").write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
print("PASS exact Git/package text, 25 positions, 6 notes, 24 physical edges")
if __name__ == "__main__":
main()
@@ -0,0 +1 @@
[]
@@ -0,0 +1,6 @@
tree 85a7f683add146a8ceff7c75c7a5ddc8df800344
parent 6615db925c9f84843e29db118852e14b643a1a03
author comfyanonymous <comfyanonymous@protonmail.com> 1770747989 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1770747989 -0500
ComfyUI v0.13.0
@@ -0,0 +1,5 @@
{
"ref": "v0.13.0",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"object": "6648ab68bc934a185c90a2a872c87dc64d093751"
}
@@ -0,0 +1,6 @@
tree 85a7f683add146a8ceff7c75c7a5ddc8df800344
parent 6615db925c9f84843e29db118852e14b643a1a03
author comfyanonymous <comfyanonymous@protonmail.com> 1770747989 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1770747989 -0500
ComfyUI v0.13.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,112 @@
import logging
from spandrel import ModelLoader, ImageModelDescriptor
from comfy import model_management
import torch
import comfy.utils
import folder_paths
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
try:
from spandrel_extra_arches import EXTRA_REGISTRY
from spandrel import MAIN_REGISTRY
MAIN_REGISTRY.add(*EXTRA_REGISTRY)
logging.info("Successfully imported spandrel_extra_arches: support for non commercial upscale models.")
except:
pass
class UpscaleModelLoader(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="UpscaleModelLoader",
display_name="Load Upscale Model",
category="loaders",
inputs=[
io.Combo.Input("model_name", options=folder_paths.get_filename_list("upscale_models")),
],
outputs=[
io.UpscaleModel.Output(),
],
)
@classmethod
def execute(cls, model_name) -> io.NodeOutput:
model_path = folder_paths.get_full_path_or_raise("upscale_models", model_name)
sd = comfy.utils.load_torch_file(model_path, safe_load=True)
if "module.layers.0.residual_group.blocks.0.norm1.weight" in sd:
sd = comfy.utils.state_dict_prefix_replace(sd, {"module.":""})
out = ModelLoader().load_from_state_dict(sd).eval()
if not isinstance(out, ImageModelDescriptor):
raise Exception("Upscale model must be a single-image model.")
return io.NodeOutput(out)
load_model = execute # TODO: remove
class ImageUpscaleWithModel(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="ImageUpscaleWithModel",
display_name="Upscale Image (using Model)",
category="image/upscaling",
search_aliases=["upscale", "upscaler", "upsc", "enlarge image", "super resolution", "hires", "superres", "increase resolution"],
inputs=[
io.UpscaleModel.Input("upscale_model"),
io.Image.Input("image"),
],
outputs=[
io.Image.Output(),
],
)
@classmethod
def execute(cls, upscale_model, image) -> io.NodeOutput:
device = model_management.get_torch_device()
memory_required = model_management.module_size(upscale_model.model)
memory_required += (512 * 512 * 3) * image.element_size() * max(upscale_model.scale, 1.0) * 384.0 #The 384.0 is an estimate of how much some of these models take, TODO: make it more accurate
memory_required += image.nelement() * image.element_size()
model_management.free_memory(memory_required, device)
upscale_model.to(device)
in_img = image.movedim(-1,-3).to(device)
tile = 512
overlap = 32
oom = True
try:
while oom:
try:
steps = in_img.shape[0] * comfy.utils.get_tiled_scale_steps(in_img.shape[3], in_img.shape[2], tile_x=tile, tile_y=tile, overlap=overlap)
pbar = comfy.utils.ProgressBar(steps)
s = comfy.utils.tiled_scale(in_img, lambda a: upscale_model(a), tile_x=tile, tile_y=tile, overlap=overlap, upscale_amount=upscale_model.scale, pbar=pbar)
oom = False
except model_management.OOM_EXCEPTION as e:
tile //= 2
if tile < 128:
raise e
finally:
upscale_model.to("cpu")
s = torch.clamp(s.movedim(-3,-1), min=0, max=1.0)
return io.NodeOutput(s)
upscale = execute # TODO: remove
class UpscaleModelExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
UpscaleModelLoader,
ImageUpscaleWithModel,
]
async def comfy_entrypoint() -> UpscaleModelExtension:
return UpscaleModelExtension()
@@ -0,0 +1,496 @@
from __future__ import annotations
import os
import time
import mimetypes
import logging
from typing import Literal, List
from collections.abc import Collection
from comfy.cli_args import args
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
# --base-directory - Resets all default paths configured in folder_paths with a new base path
if args.base_directory:
base_path = os.path.abspath(args.base_directory)
else:
base_path = os.path.dirname(os.path.realpath(__file__))
models_dir = os.path.join(base_path, "models")
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
output_directory = os.path.join(base_path, "output")
temp_directory = os.path.join(base_path, "temp")
input_directory = os.path.join(base_path, "input")
user_directory = os.path.join(base_path, "user")
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
class CacheHelper:
"""
Helper class for managing file list cache data.
"""
def __init__(self):
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
self.active = False
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
if not self.active:
return default
return self.cache.get(key, default)
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
if self.active:
self.cache[key] = value
def clear(self):
self.cache.clear()
def __enter__(self):
self.active = True
return self
def __exit__(self, exc_type, exc_value, traceback):
self.active = False
self.clear()
cache_helper = CacheHelper()
extension_mimetypes_cache = {
"webp" : "image",
"fbx" : "model",
}
def map_legacy(folder_name: str) -> str:
legacy = {"unet": "diffusion_models",
"clip": "text_encoders"}
return legacy.get(folder_name, folder_name)
if not os.path.exists(input_directory):
try:
os.makedirs(input_directory)
except:
logging.error("Failed to create input directory")
def set_output_directory(output_dir: str) -> None:
global output_directory
output_directory = output_dir
def set_temp_directory(temp_dir: str) -> None:
global temp_directory
temp_directory = temp_dir
def set_input_directory(input_dir: str) -> None:
global input_directory
input_directory = input_dir
def get_output_directory() -> str:
global output_directory
return output_directory
def get_temp_directory() -> str:
global temp_directory
return temp_directory
def get_input_directory() -> str:
global input_directory
return input_directory
def get_user_directory() -> str:
return user_directory
def set_user_directory(user_dir: str) -> None:
global user_directory
user_directory = user_dir
# System User Protection - Protects system directories from HTTP endpoint access
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
# They use the '__' prefix convention (similar to Python's private member convention).
SYSTEM_USER_PREFIX = "__"
def get_system_user_directory(name: str = "system") -> str:
"""
Get the path to a System User directory.
System User directories (prefixed with '__') are only accessible via internal API,
not through HTTP endpoints. Use this for storing system-internal data that
should not be exposed to users.
Args:
name: System user name (e.g., "system", "cache"). Must be alphanumeric
with underscores allowed, but cannot start with underscore.
Returns:
Absolute path to the system user directory.
Raises:
ValueError: If name is empty, invalid, or starts with underscore.
Example:
>>> get_system_user_directory("cache")
'/path/to/user/__cache'
"""
if not name or not isinstance(name, str):
raise ValueError("System user name cannot be empty")
if not name.replace("_", "").isalnum():
raise ValueError(f"Invalid system user name: '{name}'")
if name.startswith("_"):
raise ValueError("System user name should not start with underscore")
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
def get_public_user_directory(user_id: str) -> str | None:
"""
Get the path to a Public User directory for HTTP endpoint access.
This function provides structural security by returning None for any
System User (prefixed with '__'). All HTTP endpoints should use this
function instead of directly constructing user paths.
Args:
user_id: User identifier from HTTP request.
Returns:
Absolute path to the user directory, or None if user_id is invalid
or refers to a System User.
Example:
>>> get_public_user_directory("default")
'/path/to/user/default'
>>> get_public_user_directory("__system")
None
"""
if not user_id or not isinstance(user_id, str):
return None
if user_id.startswith(SYSTEM_USER_PREFIX):
return None
return os.path.join(get_user_directory(), user_id)
#NOTE: used in http server so don't put folders that should not be accessed remotely
def get_directory_by_type(type_name: str) -> str | None:
if type_name == "output":
return get_output_directory()
if type_name == "temp":
return get_temp_directory()
if type_name == "input":
return get_input_directory()
return None
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
"""
Example:
files = os.listdir(folder_paths.get_input_directory())
videos = filter_files_content_types(files, ["video"])
Note:
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
"""
global extension_mimetypes_cache
result = []
for file in files:
extension = file.split('.')[-1]
if extension not in extension_mimetypes_cache:
mime_type, _ = mimetypes.guess_type(file, strict=False)
if not mime_type:
continue
content_type = mime_type.split('/')[0]
extension_mimetypes_cache[extension] = content_type
else:
content_type = extension_mimetypes_cache[extension]
if content_type in content_types:
result.append(file)
return result
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
# otherwise use default_path as base_dir
def annotated_filepath(name: str) -> tuple[str, str | None]:
if name.endswith("[output]"):
base_dir = get_output_directory()
name = name[:-9]
elif name.endswith("[input]"):
base_dir = get_input_directory()
name = name[:-8]
elif name.endswith("[temp]"):
base_dir = get_temp_directory()
name = name[:-7]
else:
return name, None
return name, base_dir
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
name, base_dir = annotated_filepath(name)
if base_dir is None:
if default_dir is not None:
base_dir = default_dir
else:
base_dir = get_input_directory() # fallback path
return os.path.join(base_dir, name)
def exists_annotated_filepath(name) -> bool:
name, base_dir = annotated_filepath(name)
if base_dir is None:
base_dir = get_input_directory() # fallback path
filepath = os.path.join(base_dir, name)
return os.path.exists(filepath)
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name in folder_names_and_paths:
paths, _exts = folder_names_and_paths[folder_name]
if full_folder_path in paths:
if is_default and paths[0] != full_folder_path:
# If the path to the folder is not the first in the list, move it to the beginning.
paths.remove(full_folder_path)
paths.insert(0, full_folder_path)
else:
if is_default:
paths.insert(0, full_folder_path)
else:
paths.append(full_folder_path)
else:
folder_names_and_paths[folder_name] = ([full_folder_path], set())
def get_folder_paths(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
return folder_names_and_paths[folder_name][0][:]
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
if not os.path.isdir(directory):
return [], {}
if excluded_dir_names is None:
excluded_dir_names = []
result = []
dirs = {}
# Attempt to add the initial directory to dirs with error handling
try:
dirs[directory] = os.path.getmtime(directory)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
logging.debug("recursive file list on directory {}".format(directory))
dirpath: str
subdirs: list[str]
filenames: list[str]
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
for file_name in filenames:
try:
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
result.append(relative_path)
except:
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
continue
for d in subdirs:
path: str = os.path.join(dirpath, d)
try:
dirs[path] = os.path.getmtime(path)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
continue
logging.debug("found {} files".format(len(result)))
return result, dirs
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
def get_full_path(folder_name: str, filename: str) -> str | None:
"""
Get the full path of a file in a folder, has to be a file
"""
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in folder_names_and_paths:
return None
folders = folder_names_and_paths[folder_name]
filename = os.path.relpath(os.path.join("/", filename), "/")
for x in folders[0]:
full_path = os.path.join(x, filename)
if os.path.isfile(full_path):
return full_path
elif os.path.islink(full_path):
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
return None
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
"""
Get the full path of a file in a folder, has to be a file
"""
full_path = get_full_path(folder_name, filename)
if full_path is None:
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
return full_path
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
folder_name = map_legacy(folder_name)
global folder_names_and_paths
output_list = set()
folders = folder_names_and_paths[folder_name]
output_folders = {}
for x in folders[0]:
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
output_list.update(filter_files_extensions(files, folders[1]))
output_folders = {**output_folders, **folders_all}
return sorted(list(output_list)), output_folders, time.perf_counter()
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
strong_cache = cache_helper.get(folder_name)
if strong_cache is not None:
return strong_cache
global filename_list_cache
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in filename_list_cache:
return None
out = filename_list_cache[folder_name]
for x in out[1]:
time_modified = out[1][x]
folder = x
if os.path.getmtime(folder) != time_modified:
return None
folders = folder_names_and_paths[folder_name]
for x in folders[0]:
if os.path.isdir(x):
if x not in out[1]:
return None
return out
def get_filename_list(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
out = cached_filename_list_(folder_name)
if out is None:
out = get_filename_list_(folder_name)
global filename_list_cache
filename_list_cache[folder_name] = out
cache_helper.set(folder_name, out)
return list(out[0])
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
def map_filename(filename: str) -> tuple[int, str]:
prefix_len = len(os.path.basename(filename_prefix))
prefix = filename[:prefix_len + 1]
try:
digits = int(filename[prefix_len + 1:].split('_')[0])
except:
digits = 0
return digits, prefix
def compute_vars(input: str, image_width: int, image_height: int) -> str:
input = input.replace("%width%", str(image_width))
input = input.replace("%height%", str(image_height))
now = time.localtime()
input = input.replace("%year%", str(now.tm_year))
input = input.replace("%month%", str(now.tm_mon).zfill(2))
input = input.replace("%day%", str(now.tm_mday).zfill(2))
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
input = input.replace("%minute%", str(now.tm_min).zfill(2))
input = input.replace("%second%", str(now.tm_sec).zfill(2))
return input
if "%" in filename_prefix:
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
filename = os.path.basename(os.path.normpath(filename_prefix))
full_output_folder = os.path.join(output_dir, subfolder)
if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
"\n output_dir: " + output_dir + \
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
logging.error(err)
raise Exception(err)
try:
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
except ValueError:
counter = 1
except FileNotFoundError:
os.makedirs(full_output_folder, exist_ok=True)
counter = 1
return full_output_folder, filename, counter, subfolder, filename_prefix
def get_input_subfolders() -> list[str]:
"""Returns a list of all subfolder paths in the input directory, recursively.
Returns:
List of folder paths relative to the input directory, excluding the root directory
"""
input_dir = get_input_directory()
folders = []
try:
if not os.path.exists(input_dir):
return []
for root, dirs, _ in os.walk(input_dir):
rel_path = os.path.relpath(root, input_dir)
if rel_path != ".": # Only include non-root directories
# Normalize path separators to forward slashes
folders.append(rel_path.replace(os.sep, '/'))
return sorted(folders)
except FileNotFoundError:
return []
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
[]
@@ -0,0 +1,6 @@
tree 9cc7065fa099301aea479e011b7bd6b5f3c508de
parent 73c3f869737bbb1035f6b72b2e1068a1a5642764
author comfyanonymous <comfyanonymous@protonmail.com> 1771352886 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1771352886 -0500
ComfyUI v0.14.1
@@ -0,0 +1,5 @@
{
"ref": "v0.14.1",
"commit": "19236edfa4d2f66070d66a6b3aee592c9c2ad574",
"object": "19236edfa4d2f66070d66a6b3aee592c9c2ad574"
}
@@ -0,0 +1,6 @@
tree 9cc7065fa099301aea479e011b7bd6b5f3c508de
parent 73c3f869737bbb1035f6b72b2e1068a1a5642764
author comfyanonymous <comfyanonymous@protonmail.com> 1771352886 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1771352886 -0500
ComfyUI v0.14.1
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
[]
@@ -0,0 +1,36 @@
tree 25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3
parent 23bb5f2afa4f94e111d50544366957c210aaf3c1
author Alexander Brown <drjkl@comfy.org> 1772762813 -0800
committer GitHub <noreply@github.com> 1772762813 -0800
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJpqja9CRC1aQ7uu5UhlAAAtHIQACCMUeqdHP/kB1DDoTPuZ6qN
SLe5DJ5YiSosi1Bs/suMQfpEyJKWNC8BENDY86V1++YYNuavsX8GA+0x5eEXiIwp
TctRHrC2veWnzHgGgTogKi1YrV8co1rKLJe5pY0KvlqIfOKnFPGLxyMOrFxdF/mp
XCL2I5unum5XrBPSxX0ICW+Zc/oFCsaUS6eUvP+Bukcr5qiiOSnoYTQgHbH6uKCX
5u1mBWiO6gjHX46OzDO3AXGwtkaX8jI0XFRTxADILeyOXhQ1ju/kYyB07/miT0SH
6lSbyoy+tCjqsAFXGBc75Y/ABwwcIlGyHxgSEBsLYF7opiIFJlmUzApP4S2Ej1gj
ld3cHKuk03UqulHp6nr8M52NfUFose8znYlBUAQeHUMUh2uNLE5PJydtoDh7cIGy
CCii780itGvrBQSJcD6uGACPO3UYJBypafQ6xCoWavm5GiVYN5y9UvX1JnIuGg0k
i7jdRirNeshmsVlc2pwLgQUU787SmrWwVFkdXyKV+n/ChrYVJoZM4RWDGUexBiBk
hVOUdf0prdMpKqjPoNIqX9c9uJei2RsHB0LmvAqZUFjc2fDiAhARL2FZ79F6EUeD
x4bnkwbj9r5snvOXLYVV1ashnGuhpbqPnMQ/4z8Uw/xQ0wLX8m17mnS85aVLYc8X
22R82SQlccaUPCNRzBkM
=0lVU
-----END PGP SIGNATURE-----
feat: Transparent background for the Image and Video Previews (#9455)
## Summary
Less jarring appearance, especially with different aspect ratios or
Alpha channels.
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9455-feat-Transparent-background-for-the-Image-and-Video-Previews-31b6d73d3650819eaa82def10e66da21)
by [Unito](https://www.unito.io)
---------
Co-authored-by: GitHub Action <action@github.com>
@@ -0,0 +1,5 @@
{
"ref": "v1.41.13",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"object": "9ae85068eb2e75e7df7f6f750d807bc63af12665"
}
@@ -0,0 +1,36 @@
tree 25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3
parent 23bb5f2afa4f94e111d50544366957c210aaf3c1
author Alexander Brown <drjkl@comfy.org> 1772762813 -0800
committer GitHub <noreply@github.com> 1772762813 -0800
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJpqja9CRC1aQ7uu5UhlAAAtHIQACCMUeqdHP/kB1DDoTPuZ6qN
SLe5DJ5YiSosi1Bs/suMQfpEyJKWNC8BENDY86V1++YYNuavsX8GA+0x5eEXiIwp
TctRHrC2veWnzHgGgTogKi1YrV8co1rKLJe5pY0KvlqIfOKnFPGLxyMOrFxdF/mp
XCL2I5unum5XrBPSxX0ICW+Zc/oFCsaUS6eUvP+Bukcr5qiiOSnoYTQgHbH6uKCX
5u1mBWiO6gjHX46OzDO3AXGwtkaX8jI0XFRTxADILeyOXhQ1ju/kYyB07/miT0SH
6lSbyoy+tCjqsAFXGBc75Y/ABwwcIlGyHxgSEBsLYF7opiIFJlmUzApP4S2Ej1gj
ld3cHKuk03UqulHp6nr8M52NfUFose8znYlBUAQeHUMUh2uNLE5PJydtoDh7cIGy
CCii780itGvrBQSJcD6uGACPO3UYJBypafQ6xCoWavm5GiVYN5y9UvX1JnIuGg0k
i7jdRirNeshmsVlc2pwLgQUU787SmrWwVFkdXyKV+n/ChrYVJoZM4RWDGUexBiBk
hVOUdf0prdMpKqjPoNIqX9c9uJei2RsHB0LmvAqZUFjc2fDiAhARL2FZ79F6EUeD
x4bnkwbj9r5snvOXLYVV1ashnGuhpbqPnMQ/4z8Uw/xQ0wLX8m17mnS85aVLYc8X
22R82SQlccaUPCNRzBkM
=0lVU
-----END PGP SIGNATURE-----
feat: Transparent background for the Image and Video Previews (#9455)
## Summary
Less jarring appearance, especially with different aspect ratios or
Alpha channels.
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9455-feat-Transparent-background-for-the-Image-and-Video-Previews-31b6d73d3650819eaa82def10e66da21)
by [Unito](https://www.unito.io)
---------
Co-authored-by: GitHub Action <action@github.com>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
@@ -0,0 +1,203 @@
{
"name": "@comfyorg/comfyui-frontend",
"version": "1.41.13",
"private": true,
"description": "Official front-end implementation of ComfyUI",
"homepage": "https://comfy.org",
"license": "GPL-3.0-only",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"type": "module",
"scripts": {
"build:desktop": "nx build @comfyorg/desktop-ui",
"build-storybook": "storybook build",
"build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js",
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' pnpm typecheck && nx build",
"size:collect": "node scripts/size-collect.js",
"size:report": "node scripts/size-report.js",
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
"dev:cloud": "cross-env DEV_SERVER_COMFYUI_URL='https://testcloud.comfy.org/' nx serve",
"dev:desktop": "nx dev @comfyorg/desktop-ui",
"dev:electron": "cross-env DISTRIBUTION=desktop nx serve --config vite.electron.config.mts",
"dev:no-vue": "cross-env DISABLE_VUE_PLUGINS=true nx serve",
"dev": "nx serve",
"devtools:pycheck": "python3 -m compileall -q tools/devtools",
"format:check": "oxfmt --check",
"format": "oxfmt --write",
"json-schema": "tsx scripts/generate-json-schema.ts",
"knip:no-cache": "knip",
"knip": "knip --cache",
"lint:fix:no-cache": "oxlint src --type-aware --fix && eslint src --fix",
"lint:fix": "oxlint src --type-aware --fix && eslint src --cache --fix",
"lint:no-cache": "pnpm exec stylelint '{apps,packages,src}/**/*.{css,vue}' && oxlint src --type-aware && eslint src",
"lint:unstaged:fix": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache --fix",
"lint:unstaged": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache",
"lint": "pnpm stylelint && oxlint src --type-aware && eslint src --cache",
"lint:desktop": "nx run @comfyorg/desktop-ui:lint",
"locale": "lobe-i18n locale",
"oxlint": "oxlint src --type-aware",
"preinstall": "pnpm dlx only-allow pnpm",
"prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
"preview": "nx preview",
"storybook": "nx storybook",
"storybook:desktop": "nx run @comfyorg/desktop-ui:storybook",
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
"test:browser": "pnpm exec nx e2e",
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 pnpm test:browser",
"test:unit": "nx run test",
"typecheck": "vue-tsc --noEmit",
"typecheck:browser": "vue-tsc --project browser_tests/tsconfig.json",
"typecheck:desktop": "nx run @comfyorg/desktop-ui:typecheck",
"zipdist": "node scripts/zipdist.js",
"clean": "nx reset"
},
"dependencies": {
"@alloc/quick-lru": "catalog:",
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
"@comfyorg/comfyui-electron-types": "catalog:",
"@comfyorg/design-system": "workspace:*",
"@comfyorg/registry-types": "workspace:*",
"@comfyorg/shared-frontend-utils": "workspace:*",
"@comfyorg/tailwind-utils": "workspace:*",
"@formkit/auto-animate": "catalog:",
"@iconify/json": "catalog:",
"@primeuix/forms": "catalog:",
"@primeuix/styled": "catalog:",
"@primeuix/utils": "catalog:",
"@primevue/core": "catalog:",
"@primevue/forms": "catalog:",
"@primevue/icons": "catalog:",
"@primevue/themes": "catalog:",
"@sentry/vue": "catalog:",
"@sparkjsdev/spark": "catalog:",
"@tiptap/core": "catalog:",
"@tiptap/extension-link": "catalog:",
"@tiptap/extension-table": "catalog:",
"@tiptap/extension-table-cell": "catalog:",
"@tiptap/extension-table-header": "catalog:",
"@tiptap/extension-table-row": "catalog:",
"@tiptap/pm": "catalog:",
"@tiptap/starter-kit": "catalog:",
"@vueuse/core": "catalog:",
"@vueuse/integrations": "catalog:",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/xterm": "^5.5.0",
"algoliasearch": "catalog:",
"axios": "catalog:",
"chart.js": "^4.5.0",
"cva": "catalog:",
"dompurify": "^3.2.5",
"dotenv": "catalog:",
"es-toolkit": "^1.39.9",
"extendable-media-recorder": "^9.2.27",
"extendable-media-recorder-wav-encoder": "^7.0.129",
"firebase": "catalog:",
"fuse.js": "^7.0.0",
"glob": "catalog:",
"jsonata": "catalog:",
"jsondiffpatch": "catalog:",
"loglevel": "^1.9.2",
"marked": "^15.0.11",
"pinia": "catalog:",
"posthog-js": "catalog:",
"primeicons": "catalog:",
"primevue": "catalog:",
"reka-ui": "catalog:",
"semver": "^7.7.2",
"three": "^0.170.0",
"tiptap-markdown": "^0.8.10",
"typegpu": "catalog:",
"vue": "catalog:",
"vue-i18n": "catalog:",
"vue-router": "catalog:",
"vuefire": "catalog:",
"wwobjloader2": "catalog:",
"yjs": "catalog:",
"zod": "catalog:",
"zod-validation-error": "catalog:"
},
"devDependencies": {
"@eslint/js": "catalog:",
"@intlify/eslint-plugin-vue-i18n": "catalog:",
"@lobehub/i18n-cli": "catalog:",
"@nx/eslint": "catalog:",
"@nx/playwright": "catalog:",
"@nx/storybook": "catalog:",
"@nx/vite": "catalog:",
"@pinia/testing": "catalog:",
"@playwright/test": "catalog:",
"@sentry/vite-plugin": "catalog:",
"@storybook/addon-docs": "catalog:",
"@storybook/addon-mcp": "catalog:",
"@storybook/vue3": "catalog:",
"@storybook/vue3-vite": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/fs-extra": "catalog:",
"@types/jsdom": "catalog:",
"@types/node": "catalog:",
"@types/semver": "catalog:",
"@types/three": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
"@vue/test-utils": "catalog:",
"@webgpu/types": "catalog:",
"cross-env": "catalog:",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-import-resolver-typescript": "catalog:",
"eslint-plugin-better-tailwindcss": "catalog:",
"eslint-plugin-import-x": "catalog:",
"eslint-plugin-oxlint": "catalog:",
"eslint-plugin-storybook": "catalog:",
"eslint-plugin-unused-imports": "catalog:",
"eslint-plugin-vue": "catalog:",
"fs-extra": "^11.2.0",
"globals": "catalog:",
"happy-dom": "catalog:",
"husky": "catalog:",
"jiti": "catalog:",
"jsdom": "catalog:",
"knip": "catalog:",
"lint-staged": "catalog:",
"markdown-table": "catalog:",
"mixpanel-browser": "catalog:",
"nx": "catalog:",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"oxlint-tsgolint": "catalog:",
"picocolors": "catalog:",
"postcss-html": "catalog:",
"pretty-bytes": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"storybook": "catalog:",
"stylelint": "catalog:",
"tailwindcss": "catalog:",
"tailwindcss-primeui": "catalog:",
"tsx": "catalog:",
"tw-animate-css": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "catalog:",
"unplugin-icons": "catalog:",
"unplugin-typegpu": "catalog:",
"unplugin-vue-components": "catalog:",
"uuid": "^11.1.0",
"vite": "catalog:",
"vite-plugin-dts": "catalog:",
"vite-plugin-html": "catalog:",
"vite-plugin-vue-devtools": "catalog:",
"vitest": "catalog:",
"vue-component-type-helpers": "catalog:",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:",
"zip-dir": "^2.0.0",
"zod-to-json-schema": "catalog:"
},
"pnpm": {
"overrides": {
"vite": "catalog:"
}
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,148 @@
packages:
- apps/**
- packages/**
catalog:
'@alloc/quick-lru': ^5.2.0
'@comfyorg/comfyui-electron-types': 0.6.2
'@eslint/js': ^9.39.1
'@formkit/auto-animate': ^0.9.0
'@iconify-json/lucide': ^1.1.178
'@iconify/json': ^2.2.380
'@iconify/tailwind4': ^1.2.0
'@iconify/utils': ^3.1.0
'@intlify/eslint-plugin-vue-i18n': ^4.1.1
'@lobehub/i18n-cli': ^1.26.1
'@nx/eslint': 22.5.2
'@nx/playwright': 22.5.2
'@nx/storybook': 22.5.2
'@nx/vite': 22.5.2
'@pinia/testing': ^1.0.3
'@playwright/test': ^1.58.1
'@primeuix/forms': 0.0.2
'@primeuix/styled': 0.3.2
'@primeuix/utils': ^0.3.2
'@primevue/core': ^4.2.5
'@primevue/forms': ^4.2.5
'@primevue/icons': 4.2.5
'@primevue/themes': ^4.2.5
'@sentry/vite-plugin': ^4.6.0
'@sentry/vue': ^10.32.1
'@sparkjsdev/spark': ^0.1.10
'@storybook/addon-docs': ^10.2.10
'@storybook/addon-mcp': 0.1.6
'@storybook/vue3': ^10.2.10
'@storybook/vue3-vite': ^10.2.10
'@tailwindcss/vite': ^4.2.0
'@tiptap/core': ^2.27.2
'@tiptap/extension-link': ^2.27.2
'@tiptap/extension-table': ^2.27.2
'@tiptap/extension-table-cell': ^2.27.2
'@tiptap/extension-table-header': ^2.27.2
'@tiptap/extension-table-row': ^2.27.2
'@tiptap/pm': 2.27.2
'@tiptap/starter-kit': ^2.27.2
'@types/fs-extra': ^11.0.4
'@types/jsdom': ^21.1.7
'@types/node': ^24.1.0
'@types/semver': ^7.7.0
'@types/three': ^0.169.0
'@vitejs/plugin-vue': ^6.0.0
'@vitest/coverage-v8': ^4.0.16
'@vitest/ui': ^4.0.16
'@vue/test-utils': ^2.4.6
'@vueuse/core': ^14.2.0
'@vueuse/integrations': ^14.2.0
'@webgpu/types': ^0.1.66
algoliasearch: ^5.21.0
axios: ^1.13.5
cross-env: ^10.1.0
cva: 1.0.0-beta.4
dompurify: ^3.3.1
dotenv: ^16.4.5
eslint: ^9.39.1
eslint-config-prettier: ^10.1.8
eslint-import-resolver-typescript: ^4.4.4
eslint-plugin-better-tailwindcss: ^4.3.1
eslint-plugin-import-x: ^4.16.1
eslint-plugin-oxlint: 1.25.0
eslint-plugin-storybook: ^10.2.10
eslint-plugin-unused-imports: ^4.3.0
eslint-plugin-vue: ^10.6.2
firebase: ^11.6.0
glob: ^13.0.6
globals: ^16.5.0
happy-dom: ^20.0.11
husky: ^9.1.7
jiti: 2.6.1
jsdom: ^27.4.0
jsonata: ^2.1.0
jsondiffpatch: ^0.7.3
knip: ^5.75.1
lint-staged: ^16.2.7
markdown-table: ^3.0.4
mixpanel-browser: ^2.71.0
nx: 22.5.2
oxfmt: ^0.34.0
oxlint: ^1.49.0
oxlint-tsgolint: ^0.14.2
picocolors: ^1.1.1
pinia: ^3.0.4
postcss-html: ^1.8.0
posthog-js: ^1.358.1
pretty-bytes: ^7.1.0
primeicons: ^7.0.0
primevue: ^4.2.5
reka-ui: ^2.5.0
rollup-plugin-visualizer: ^6.0.4
storybook: ^10.2.10
stylelint: ^16.26.1
tailwindcss: ^4.2.0
tailwindcss-primeui: ^0.6.1
tsx: ^4.15.6
tw-animate-css: ^1.3.8
typegpu: ^0.8.2
typescript: ^5.9.3
typescript-eslint: ^8.49.0
unplugin-icons: ^22.5.0
unplugin-typegpu: 0.8.0
unplugin-vue-components: ^30.0.0
vite: 8.0.0-beta.13
vite-plugin-dts: ^4.5.4
vite-plugin-html: ^3.2.2
vite-plugin-vue-devtools: ^8.0.0
vitest: ^4.0.16
vue: ^3.5.13
vue-component-type-helpers: ^3.2.1
vue-eslint-parser: ^10.4.0
vue-i18n: ^9.14.5
vue-router: ^4.4.3
vue-tsc: ^3.2.5
vuefire: ^3.2.1
wwobjloader2: ^6.2.1
yjs: ^13.6.27
zod: ^3.23.8
zod-to-json-schema: ^3.24.1
zod-validation-error: ^3.3.0
cleanupUnusedCatalogs: true
ignoredBuiltDependencies:
- '@firebase/util'
- protobufjs
- unrs-resolver
- vue-demi
onlyBuiltDependencies:
- '@playwright/browser-chromium'
- '@playwright/browser-firefox'
- '@playwright/browser-webkit'
- '@sentry/cli'
- '@tailwindcss/oxide'
- esbuild
- nx
- oxc-resolver
overrides:
'@tiptap/pm': 2.27.2
'@types/eslint': '-'
@@ -0,0 +1,179 @@
import type { ContextMenu } from './ContextMenu'
import type { LGraphNode } from './LGraphNode'
import { LiteGraphGlobal } from './LiteGraphGlobal'
import type {
ConnectingLink,
IContextMenuOptions,
Point,
Size
} from './interfaces'
import { loadPolyfills } from './polyfills'
import type { CanvasEventDetail } from './types/events'
import type { RenderShape, TitleMode } from './types/globalEnums'
// Must remain above LiteGraphGlobal (circular dependency due to abstract factory behaviour in `configure`)
export { Subgraph } from './subgraph/Subgraph'
export const LiteGraph = new LiteGraphGlobal()
// Load legacy polyfills
loadPolyfills()
// Backwards compat
// Type definitions for litegraph.js 0.7.0
// Project: litegraph.js
// Definitions by: NateScarlet <https://github.com/NateScarlet>
/** @deprecated Use {@link Point} instead. */
export type Vector2 = Point
interface IContextMenuItem {
content: string
callback?: ContextMenuEventListener
/** Used as innerHTML for extra child element */
title?: string
disabled?: boolean
has_submenu?: boolean
submenu?: {
options: IContextMenuItem[]
} & IContextMenuOptions
className?: string
}
type ContextMenuEventListener = (
value: IContextMenuItem,
options: IContextMenuOptions,
event: MouseEvent,
parentMenu: ContextMenu<unknown> | undefined,
node: LGraphNode
) => boolean | void
export interface LinkReleaseContextExtended {
links: ConnectingLink[]
}
export interface LiteGraphCanvasEvent extends CustomEvent<CanvasEventDetail> {}
export interface LGraphNodeConstructor<T extends LGraphNode = LGraphNode> {
new (title: string, type?: string): T
title: string
type?: string // TODO: to be, or not to be--that is the question
size?: Size
min_height?: number
slot_start_y?: number
widgets_info?: Record<string, unknown>
collapsable?: boolean
color?: string
bgcolor?: string
shape?: RenderShape
title_mode?: TitleMode
title_color?: string
title_text_color?: string
keepAllLinksOnBypass: boolean
resizeHandleSize?: number
resizeEdgeSize?: number
}
// End backwards compat
export { LinkConnector } from './canvas/LinkConnector'
export { isOverNodeInput, isOverNodeOutput } from './canvas/measureSlots'
export { CanvasPointer } from './CanvasPointer'
export * as Constants from './constants'
export { SUBGRAPH_INPUT_ID } from './constants'
export { ContextMenu } from './ContextMenu'
export { DragAndScale } from './DragAndScale'
export { Rectangle } from './infrastructure/Rectangle'
export { RecursionError } from './infrastructure/RecursionError'
export type {
CanvasColour,
ColorOption,
CreateNodeOptions,
IContextMenuOptions,
IContextMenuValue,
INodeInputSlot,
INodeOutputSlot,
INodeSlot,
ISlotType,
LinkNetwork,
Point,
Positionable,
Size
} from './interfaces'
export {
LGraph,
type GroupNodeConfigEntry,
type GroupNodeWorkflowData,
type LGraphTriggerAction,
type LGraphTriggerParam,
type GraphAddOptions
} from './LGraph'
export type { LGraphTriggerEvent } from './types/graphTriggers'
export { BadgePosition, LGraphBadge } from './LGraphBadge'
export { LGraphCanvas } from './LGraphCanvas'
export { LGraphGroup } from './LGraphGroup'
export { LGraphNode, type NodeId } from './LGraphNode'
export { LLink } from './LLink'
export { createBounds } from './measure'
export { Reroute, type RerouteId } from './Reroute'
export {
type ExecutableLGraphNode,
ExecutableNodeDTO,
type ExecutionId
} from './subgraph/ExecutableNodeDTO'
export { SubgraphNode } from './subgraph/SubgraphNode'
export type { CanvasPointerEvent } from './types/events'
export {
EaseFunction,
LGraphEventMode,
LinkDirection,
LinkMarkerShape,
RenderShape
} from './types/globalEnums'
export type {
ExportedSubgraph,
ExportedSubgraphInstance,
ISerialisedGraph,
ISerialisedNode,
SerialisableGraph
} from './types/serialisation'
export type { IWidget } from './types/widgets'
export { isColorable } from './utils/type'
export { createUuidv4 } from './utils/uuid'
export type { UUID } from './utils/uuid'
export { truncateText } from './utils/textUtils'
export {
evaluateInput,
getWidgetStep,
resolveNodeRootGraphId
} from './utils/widget'
export { distributeSpace, type SpaceRequest } from './utils/spaceDistribution'
export { BaseWidget } from './widgets/BaseWidget'
export { LegacyWidget } from './widgets/LegacyWidget'
export { isComboWidget } from './widgets/widgetMap'
/** @knipIgnoreUnusedButUsedByCustomNodes */
export { isAssetWidget } from './widgets/widgetMap'
// Additional test-specific exports
export { LGraphButton } from './LGraphButton'
export { MovingOutputLink } from './canvas/MovingOutputLink'
export { ToOutputRenderLink } from './canvas/ToOutputRenderLink'
export { ToInputFromIoNodeLink } from './canvas/ToInputFromIoNodeLink'
export type { TWidgetType, TWidgetValue, IWidgetOptions } from './types/widgets'
export {
findUsedSubgraphIds,
getDirectSubgraphIds,
isSubgraphInput,
isSubgraphOutput
} from './subgraph/subgraphUtils'
export { NodeInputSlot } from './node/NodeInputSlot'
export { NodeOutputSlot } from './node/NodeOutputSlot'
export { inputAsSerialisable, outputAsSerialisable } from './node/slotUtils'
export { MovingInputLink } from './canvas/MovingInputLink'
export { ToInputRenderLink } from './canvas/ToInputRenderLink'
export { LiteGraphGlobal } from './LiteGraphGlobal'
@@ -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'
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,320 @@
import { t } from '@/i18n'
import { type LGraphNode, isComboWidget } from '@/lib/litegraph/src/litegraph'
import type {
IBaseWidget,
IComboWidget,
IStringWidget
} from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import { dynamicWidgets } from '@/core/graph/widgets/dynamicWidgets'
import { useBooleanWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget'
import { useBoundingBoxWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxWidget'
import { useCurveWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useCurveWidget'
import { useChartWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useChartWidget'
import { useColorWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useColorWidget'
import { useComboWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useComboWidget'
import { useFloatWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useFloatWidget'
import { useGalleriaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget'
import { useImageCompareWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget'
import { useImageUploadWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget'
import { useIntWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useIntWidget'
import { useMarkdownWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget'
import { usePainterWidget } from '@/renderer/extensions/vueNodes/widgets/composables/usePainterWidget'
import { useStringWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useStringWidget'
import { useTextareaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget'
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { InputSpec } from '@/schemas/nodeDefSchema'
import type { ComfyApp } from './app'
import './domWidget'
import './errorNodeWidgets'
export type ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpecV2
) => IBaseWidget
export type ComfyWidgetConstructor = (
node: LGraphNode,
inputName: string,
inputData: InputSpec,
app: ComfyApp,
widgetName?: string
) => { widget: IBaseWidget; minWidth?: number; minHeight?: number }
/**
* Transforms a V2 widget constructor to a V1 widget constructor.
* @param widgetConstructorV2 The V2 widget constructor to transform.
* @returns The transformed V1 widget constructor.
*/
const transformWidgetConstructorV2ToV1 = (
widgetConstructorV2: ComfyWidgetConstructorV2
): ComfyWidgetConstructor => {
return (node, inputName, inputData) => {
const inputSpec = transformInputSpecV1ToV2(inputData, {
name: inputName
})
const widget = widgetConstructorV2(node, inputSpec)
return {
widget,
minWidth: widget.options.minNodeSize?.[0],
minHeight: widget.options.minNodeSize?.[1]
}
}
}
function controlValueRunBefore() {
return useSettingStore().get('Comfy.WidgetControlMode') === 'before'
}
export function updateControlWidgetLabel(widget: IBaseWidget) {
if (controlValueRunBefore()) {
widget.label = t('g.control_before_generate')
} else {
widget.label = t('g.control_after_generate')
}
}
export const IS_CONTROL_WIDGET = Symbol()
const HAS_EXECUTED = Symbol()
export function addValueControlWidget(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
_values?: unknown,
widgetName?: string,
inputData?: InputSpec
): IComboWidget {
let name = inputData?.[1]?.control_after_generate
if (typeof name !== 'string') {
name = widgetName
}
const widgets = addValueControlWidgets(
node,
targetWidget,
defaultValue ?? 'randomize',
{
addFilterList: false,
controlAfterGenerateName: name
},
inputData
)
return widgets[0]
}
export function addValueControlWidgets(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
options?: Record<string, any>,
inputData?: InputSpec
): [IComboWidget, ...IStringWidget[]] {
if (!defaultValue) defaultValue = 'randomize'
if (!options) options = {}
const getName = (defaultName: string, optionName: string) => {
let name = defaultName
if (options[optionName]) {
name = options[optionName]
} else if (typeof inputData?.[1]?.[defaultName] === 'string') {
name = inputData?.[1]?.[defaultName]
} else if (inputData?.[1]?.control_prefix) {
name = inputData?.[1]?.control_prefix + ' ' + name
}
return name
}
const valueControl = node.addWidget(
'combo',
getName('control_after_generate', 'controlAfterGenerateName'),
defaultValue,
function () {},
{
values: ['fixed', 'increment', 'decrement', 'randomize'],
serialize: false, // Don't include this in prompt.
canvasOnly: true
}
) as IComboWidget
valueControl.tooltip =
'Allows the linked widget to be changed automatically, for example randomizing the noise seed.'
valueControl[IS_CONTROL_WIDGET] = true
updateControlWidgetLabel(valueControl)
Object.defineProperty(valueControl, 'disabled', {
get: () => targetWidget.computedDisabled
})
const widgets: [IComboWidget, ...IStringWidget[]] = [valueControl]
const isCombo = isComboWidget(targetWidget)
let comboFilter: IStringWidget
if (isCombo && valueControl.options.values) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
valueControl.options.values.push('increment-wrap')
}
if (isCombo && options.addFilterList !== false) {
comboFilter = node.addWidget(
'string',
getName('control_filter_list', 'controlFilterListName'),
'',
function () {},
{
serialize: false // Don't include this in prompt.
}
) as IStringWidget
updateControlWidgetLabel(comboFilter)
comboFilter.tooltip =
"Allows for filtering the list of values when changing the value via the control generate mode. Allows for RegEx matches in the format /abc/ to only filter to values containing 'abc'."
Object.defineProperty(comboFilter, 'disabled', {
get: () => targetWidget.computedDisabled
})
widgets.push(comboFilter)
}
const applyWidgetControl = () => {
var v = valueControl.value
if (isCombo && v !== 'fixed') {
let values = targetWidget.options.values ?? []
const filter = comboFilter?.value
if (filter) {
let check
if (filter.startsWith('/') && filter.endsWith('/')) {
try {
const regex = new RegExp(filter.substring(1, filter.length - 1))
check = (item: string) => regex.test(item)
} catch (error) {
console.error(
'Error constructing RegExp filter for node ' + node.id,
filter,
error
)
}
}
if (!check) {
const lower = filter.toLocaleLowerCase()
check = (item: string) => item.toLocaleLowerCase().includes(lower)
}
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
values = values.filter((item: string) => check(item))
if (!values.length && targetWidget.options.values?.length) {
console.warn(
'Filter for node ' + node.id + ' has filtered out all items',
filter
)
}
}
// @ts-expect-error targetWidget.value can be number or string
let current_index = values.indexOf(targetWidget.value)
let current_length = values.length
switch (v) {
case 'increment':
current_index += 1
break
case 'increment-wrap':
current_index += 1
if (current_index >= current_length) {
current_index = 0
}
break
case 'decrement':
current_index -= 1
break
case 'randomize':
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.floor(Math.random() * current_length)
break
default:
break
}
current_index = Math.max(0, current_index)
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.min(current_length - 1, current_index)
if (current_index >= 0) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
let value = values[current_index]
targetWidget.value = value
targetWidget.callback?.(value)
}
} else {
//number
let { min = 0, max = 1, step2 = 1 } = targetWidget.options
// limit to something that javascript can handle
max = Math.min(1125899906842624, max)
min = Math.max(-1125899906842624, min)
let range = (max - min) / step2
//adjust values based on valueControl Behaviour
switch (v) {
case 'fixed':
break
case 'increment':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value += step2
break
case 'decrement':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value -= step2
break
case 'randomize':
targetWidget.value = Math.floor(Math.random() * range) * step2 + min
break
default:
break
}
/*check if values are over or under their respective
* ranges and set them to min or max.*/
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value < min) targetWidget.value = min
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value > max) targetWidget.value = max
targetWidget.callback?.(targetWidget.value)
}
}
valueControl.beforeQueued = ({ isPartialExecution } = {}) => {
if (!isPartialExecution && controlValueRunBefore()) {
// Don't run on first execution
if (valueControl[HAS_EXECUTED]) {
applyWidgetControl()
}
}
valueControl[HAS_EXECUTED] = true
}
valueControl.afterQueued = ({ isPartialExecution } = {}) => {
if (!isPartialExecution && !controlValueRunBefore()) {
applyWidgetControl()
}
}
return widgets
}
export const ComfyWidgets = {
INT: transformWidgetConstructorV2ToV1(useIntWidget()),
FLOAT: transformWidgetConstructorV2ToV1(useFloatWidget()),
BOOLEAN: transformWidgetConstructorV2ToV1(useBooleanWidget()),
STRING: transformWidgetConstructorV2ToV1(useStringWidget()),
MARKDOWN: transformWidgetConstructorV2ToV1(useMarkdownWidget()),
COMBO: transformWidgetConstructorV2ToV1(useComboWidget()),
IMAGEUPLOAD: useImageUploadWidget(),
COLOR: transformWidgetConstructorV2ToV1(useColorWidget()),
IMAGECOMPARE: transformWidgetConstructorV2ToV1(useImageCompareWidget()),
BOUNDING_BOX: transformWidgetConstructorV2ToV1(useBoundingBoxWidget()),
CHART: transformWidgetConstructorV2ToV1(useChartWidget()),
GALLERIA: transformWidgetConstructorV2ToV1(useGalleriaWidget()),
PAINTER: transformWidgetConstructorV2ToV1(usePainterWidget()),
TEXTAREA: transformWidgetConstructorV2ToV1(useTextareaWidget()),
CURVE: transformWidgetConstructorV2ToV1(useCurveWidget()),
...dynamicWidgets
} as const
export function isValidWidgetType(
key: unknown
): key is keyof typeof ComfyWidgets {
return ComfyWidgets[key as keyof typeof ComfyWidgets] !== undefined
}
@@ -0,0 +1,840 @@
{
"sources": [
{
"id": "core0373",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/load__nodes.py",
"commit": "0c18842acbdf546883b08808dd9feea7605d7649",
"tree": "36f5c79e981e2fe759cd062a376884381529cbd2",
"tag": "v0.3.73",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/0c18842acbdf546883b08808dd9feea7605d7649/nodes.py",
"sha256": "c922eb57ed906a6fad7832c2fcb259b4f06533fc6dce7927b3e1d87e078f34cc",
"git_blob_sha1": "f4835c02e590c1484e92f8b3d3533ccef3c95dc7",
"acquisition_time": "2026-10-31T00:40:55.778967+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/load__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "load"
},
{
"id": "core0373",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/load__LICENSE",
"commit": "0c18842acbdf546883b08808dd9feea7605d7649",
"tree": "36f5c79e981e2fe759cd062a376884381529cbd2",
"tag": "v0.3.73",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/0c18842acbdf546883b08808dd9feea7605d7649/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T00:40:56.539954+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/load__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "load"
},
{
"id": "core0364",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/patch__nodes.py",
"commit": "637221995f7424a561bd825de3e61ea117dfe1e3",
"tree": "ec4ae1775c9ee3f57e968b7e890c30d9f244db7d",
"tag": "v0.3.64",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/637221995f7424a561bd825de3e61ea117dfe1e3/nodes.py",
"sha256": "1ae1d7bcb87e514435a79790a72d84c9f937d2d11c95cc8f2d38e2718c8e6f8a",
"git_blob_sha1": "2a2a5f2ad1e3c456bfc810060add828d85dee216",
"acquisition_time": "2026-10-31T00:40:58.212772+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/patch__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "patch"
},
{
"id": "core0364",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_model_advanced.py",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/patch__comfy_extras__nodes_model_advanced.py",
"commit": "637221995f7424a561bd825de3e61ea117dfe1e3",
"tree": "ec4ae1775c9ee3f57e968b7e890c30d9f244db7d",
"tag": "v0.3.64",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/637221995f7424a561bd825de3e61ea117dfe1e3/comfy_extras/nodes_model_advanced.py",
"sha256": "b76ffbdc3abbca23f6ddb951b07088749f2b088c71618f03993bac0dd9249005",
"git_blob_sha1": "ae5d2c563183262456fd6a9668445b6b798108ac",
"acquisition_time": "2026-10-31T00:40:58.916730+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/patch__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "patch"
},
{
"id": "core0364",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/model_sampling.py",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/patch__comfy__model_sampling.py",
"commit": "637221995f7424a561bd825de3e61ea117dfe1e3",
"tree": "ec4ae1775c9ee3f57e968b7e890c30d9f244db7d",
"tag": "v0.3.64",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/637221995f7424a561bd825de3e61ea117dfe1e3/comfy/model_sampling.py",
"sha256": "85bbf3a4c874507884da382432af254819c0c948d33a54d4e790379f7429296e",
"git_blob_sha1": "b240b7f291905c90d40718565a3fdecbf85cabb3",
"acquisition_time": "2026-10-31T00:40:59.638859+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/patch__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "patch"
},
{
"id": "core0364",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../zimage-hd-reference/../zimage-dual-reference/patch__LICENSE",
"commit": "637221995f7424a561bd825de3e61ea117dfe1e3",
"tree": "ec4ae1775c9ee3f57e968b7e890c30d9f244db7d",
"tag": "v0.3.64",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/637221995f7424a561bd825de3e61ea117dfe1e3/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T00:41:00.382874+00:00",
"license_file": "../zimage-hd-reference/../zimage-dual-reference/patch__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_root": "../zimage-hd-reference/../zimage-dual-reference/.",
"identity_key": "patch"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-outpaint-reference/../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-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "../flux2-outpaint-reference/../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-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sd.py",
"local_file": "../flux2-outpaint-reference/../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-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../flux2-outpaint-reference/../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-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "node_helpers.py",
"local_file": "../flux2-outpaint-reference/../flux2-inpaint-reference/inpaint__node_helpers.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/node_helpers.py",
"sha256": "22317a033cce556331bfedc5f4ab6c2833184fd2bbdf9496c9182a4973a7098a",
"git_blob_sha1": "cac4e88dd14276160146262c824fa39a542eaa24",
"acquisition_time": "2026-10-30T22:00:16.514151+00:00",
"license_file": "../flux2-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_input_impl/__init__.py",
"local_file": "../flux2-outpaint-reference/../flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl____init__.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_api/latest/_input_impl/__init__.py",
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c",
"git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1",
"acquisition_time": "2026-10-30T22:00:17.450131+00:00",
"license_file": "../flux2-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_input_impl/video_types.py",
"local_file": "../flux2-outpaint-reference/../flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl__video_types.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_api/latest/_input_impl/video_types.py",
"sha256": "5d6a316b1a8c1da5c00b55026fb488d3381880bcb2ee165d109e0c3256fb2285",
"git_blob_sha1": "942278d88bdbf3434031df50f0dd1ab09830ae27",
"acquisition_time": "2026-10-30T22:00:17.906121+00:00",
"license_file": "../flux2-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "core0211",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_images.py",
"local_file": "../flux2-outpaint-reference/outpaint__comfy_extras__nodes_images.py",
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
"tag": "v0.21.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_extras/nodes_images.py",
"sha256": "225194932642ae772db88d381757082925e95bd46a7df5edb33cc129d26733a4",
"git_blob_sha1": "1ac740d1d1e7427a8c58bc5b91e1d7f332a1f0f3",
"acquisition_time": "2026-10-30T22:14:49.282540+00:00",
"license_file": "../flux2-outpaint-reference/../flux2-img-reference/lora__LICENSE",
"transport": "HTTPS exact commit text verified Git blob; no upstream execution",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "lora",
"identity_root": "../flux2-img-reference"
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"file": "web/comfyui/label.js",
"local_file": "../flux2-img-reference/rgthree__web__comfyui__label.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": "5a0f8d72d0be3c6573477943a18295310f82dd4b1d99a506517bb6956af1790d",
"member_crc32": 17780801,
"acquisition_time": "2026-10-30T21:21:10.435591+00:00",
"license_file": "../flux2-img-reference/rgthree__LICENSE",
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
"applicability": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "rgpkg",
"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": "本图独立准确声明身份;旧采集时间保留、原字节重核。包到Git未知、宿主和别名恢复未知。",
"identity_key": "rgthree",
"identity_root": "../flux2-img-reference/."
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "core0130__nodes.py",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/nodes.py",
"sha256": "84046d46f95d85a5d190a975e40affc6dd0ee7572c7d583d400903dbcd3c0f6c",
"git_blob_sha1": "91de7a9d74ae635d8c9f7e4248b6f08036ac743e",
"acquisition_time": "2026-10-31T09:05:09.272309+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_upscale_model.py",
"local_file": "core0130__comfy_extras__nodes_upscale_model.py",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/comfy_extras/nodes_upscale_model.py",
"sha256": "a9312b53eff007d6fdfcc775f192539f6a53ae49ac8ed584229eb60a41f3a1af",
"git_blob_sha1": "97b9e948d6199af166f7dba08819d329c9c45bfd",
"acquisition_time": "2026-10-31T09:05:10.154242+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/utils.py",
"local_file": "core0130__comfy__utils.py",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/comfy/utils.py",
"sha256": "743375cdc7dad34efafd28a675c742c742638783898cf81a44dea975071282d1",
"git_blob_sha1": "1337e2205a04eb1029b96ec26a97e93fdca2379a",
"acquisition_time": "2026-10-31T09:05:11.162676+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/model_management.py",
"local_file": "core0130__comfy__model_management.py",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/comfy/model_management.py",
"sha256": "a955d3c6167e1a72c643421c5073bff414975e14d8cf8bd34c15d7293eb8fda2",
"git_blob_sha1": "6018c1ab6b5b837bf29fb61760f4122fd1eec221",
"acquisition_time": "2026-10-31T09:05:12.779900+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "core0130__folder_paths.py",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"acquisition_time": "2026-10-31T09:05:13.969132+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0130",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "core0130__LICENSE",
"commit": "6648ab68bc934a185c90a2a872c87dc64d093751",
"tree": "85a7f683add146a8ceff7c75c7a5ddc8df800344",
"tag": "v0.13.0",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/6648ab68bc934a185c90a2a872c87dc64d093751/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T09:05:16.253961+00:00",
"license_file": "core0130__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0130"
},
{
"id": "core0141",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "core0141__nodes.py",
"commit": "19236edfa4d2f66070d66a6b3aee592c9c2ad574",
"tree": "9cc7065fa099301aea479e011b7bd6b5f3c508de",
"tag": "v0.14.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/19236edfa4d2f66070d66a6b3aee592c9c2ad574/nodes.py",
"sha256": "0932fc588cc72bc1e0257520a739006d151d44ef2971af2fd925455fce93c20f",
"git_blob_sha1": "dff56b79ce1a9ecfd83fdbb8372166ef0d4e2fd9",
"acquisition_time": "2026-10-31T09:05:18.858955+00:00",
"license_file": "core0141__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0141"
},
{
"id": "core0141",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "core0141__LICENSE",
"commit": "19236edfa4d2f66070d66a6b3aee592c9c2ad574",
"tree": "9cc7065fa099301aea479e011b7bd6b5f3c508de",
"tag": "v0.14.1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/19236edfa4d2f66070d66a6b3aee592c9c2ad574/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T09:05:19.918406+00:00",
"license_file": "core0141__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "core0141"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "frontend__package.json",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/package.json",
"sha256": "92d6cc64ff378a446e8ebf2a79b630008ae8503f04e22148828472100381b24f",
"git_blob_sha1": "0fbc842125763881d00af4fe53c3b7634e83239f",
"acquisition_time": "2026-10-31T09:05:23.511163+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "frontend__pnpm-lock.yaml",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/pnpm-lock.yaml",
"sha256": "ebd64eccee6059ef4808888729314a39efdaa137d784821750cba2605c6369f8",
"git_blob_sha1": "5f4e45abac69d877a23eb07d18a93dc542d538f9",
"acquisition_time": "2026-10-31T09:05:25.099693+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-workspace.yaml",
"local_file": "frontend__pnpm-workspace.yaml",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/pnpm-workspace.yaml",
"sha256": "29128af0faaace7779e8dfa46094393cbfb5995458c784a8354f6091715864e6",
"git_blob_sha1": "c455964545e241f688c157371e0713bda5af8866",
"acquisition_time": "2026-10-31T09:05:26.624172+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "frontend__src__scripts__widgets.ts",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/scripts/widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"git_blob_sha1": "517e6f0e836f01df6c2ab08f3fe71d096d54aad6",
"acquisition_time": "2026-10-31T09:05:27.746215+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "frontend__src__scripts__app.ts",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/scripts/app.ts",
"sha256": "2c97d508a0864da6739229559845929c3d3064655777e478bdc480a73d27f22f",
"git_blob_sha1": "d2b0679071050491042bd4a7f0cd7d0e9b6aae3d",
"acquisition_time": "2026-10-31T09:05:29.430285+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/litegraph.ts",
"local_file": "frontend__src__lib__litegraph__src__litegraph.ts",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/lib/litegraph/src/litegraph.ts",
"sha256": "dff415dd49c8c7119cbfbae0b3edd6738cd86266f36a6e57c90bf45ee1520cbd",
"git_blob_sha1": "eed401055d512756c9087d0c0e4d2a42191bbc32",
"acquisition_time": "2026-10-31T09:05:31.598184+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
"git_blob_sha1": "99eb1c14d55c53757085c8b0f4a583ff28356e30",
"acquisition_time": "2026-10-31T09:05:33.560528+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"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": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/lib/litegraph/src/subgraph/Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"git_blob_sha1": "e1f2f0b255a703e9735761fd83d75ee3eb21334e",
"acquisition_time": "2026-10-31T09:05:34.351732+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"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": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "a823f3e6dac34fd6b50bb8e7d3561fa8ab39b8919b7c836e31737907b8e6c683",
"git_blob_sha1": "5f2066b02437c2d31ec2131a7cc0fd5cef2adf83",
"acquisition_time": "2026-10-31T09:05:36.098795+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "frontend__LICENSE",
"commit": "9ae85068eb2e75e7df7f6f750d807bc63af12665",
"tree": "25601e9ca54b1355ca8e5c4fef08fd8a1a5f83b3",
"tag": "v1.41.13",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/9ae85068eb2e75e7df7f6f750d807bc63af12665/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T09:05:37.306174+00:00",
"license_file": "frontend__LICENSE",
"transport": "filtered git; selected text only",
"applicability": "本图准确声明版本静态参考;不执行上游或认证目标环境",
"identity_root": ".",
"identity_key": "frontend"
}
]
}
+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/zimage-upscale-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 = ["zimage-upscale"]
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()
+110
View File
@@ -0,0 +1,110 @@
// Local GET-only: 25 saved positions, 6 complete notes, 70 frozen summaries; no upstream execution.
import fs from 'node:fs';
import assert from 'node:assert/strict';
const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright');
const out='.local-evidence/zimage-upscale-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=['11_Z_Image_Turbo+模型放大_图像4K高清放大','10_Z_Image双采样+Fluax2-klein修复-高清直出','9_Z-Image+Flux2-Klein_风格重新编辑','8_Z-image+Controlnet_姿势控制-洗图','7_Z-image+Controlnet_图像扩展','6_Z-image_局部重绘','5_Z-Image+Qwen3.5提示词反推_文生图','4_Z-Image+Qwen3.5-文生图','3_Z-Image_文生图(摇光梦幻).app','2_Z-Image+Base+Turbo+双重采样工作流','1_Z-Image-Tubro_文生图','flux2_klein-图生图_人物动作迁移','flux2_klein_图生图_人物迁移','flux2_klein_图生图_印花提取','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===71&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===3053,'71图3053保存位置');
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===82,'71图82源注释');
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_zimage_upscale':'old_seventy';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(`被连线覆盖 ${b.counts.linked_saved_fields} 项`)&&flowText.includes(`仅前端控制 ${b.counts.frontend_only} 项`),`${width}准确覆盖与前端位置计数`);
for(const line of b.flow)check(flowText.replace(/\s+/g," ").includes(line.replace(/\s+/g," ")),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`);
check(b.counts.linked_saved_fields===0&&b.counts.boundary_saved_fields===4&&b.boundaries.length===1&&b.boundaries[0].proxyWidgets.length===9,`${width}四边界缓存/九代理五输入/单层定义分列`);
if(width===1440){await fixedCard.getByText(b.flow.find(s=>s.includes('定义输出linkIds=[97,97]')),{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==='162:164'&&f.field==='largest_size'){
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(['166'].includes(f.node_id)){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-history-source.png`});}
if((['132.image','143.filename_prefix','162:76.model_name','162:164.largest_size','162:81.scale_by','162:69.denoise','162:69.seed_control_candidate','162:67.text'].includes(f.node_id+'.'+f.field)))await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});
await summary.click();
}
for(const n of b.comments){const rawid=n.node_id.split(':').at(-1),expected=d.doc_json.source_notes.find(x=>String(x.node_id)===rawid||String(x.node_id).endsWith('/'+rawid));assert.ok(expected);const summary=dialog.getByText(`节点 ${expected.node_id}`,{exact:true});await summary.click();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,'迟到ZImage响应不覆盖旧图摘要/字段');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();}