HEL-892: document fixed grid merge and split parameters
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,14 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-"
|
||||
"音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json"
|
||||
): ("da97c1237204cd4fd0322ff2d7db5bdae35ed3d0a4022ac84ee3fd7f9b0ed74d"),
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-"
|
||||
"音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json"
|
||||
): ("183488ee8eb8e740cc1e69ca3015ff2601be65015f1b9469006c04097e2ab9c6"),
|
||||
(
|
||||
"example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json"
|
||||
): "5bec95e79a08f94659622c940644d6f7cb68ba725db12077e37a6b2ae6560c35",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -190,8 +190,17 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent():
|
||||
p = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "ec3388a:" + p], cwd=REPO))
|
||||
now = json.loads((REPO / p).read_bytes())
|
||||
assert len(DEFINITIONS) == 11
|
||||
for path in DEFINITIONS:
|
||||
# Freeze the historical eleven-document revision; the two grid additions are
|
||||
# independently compared against 27e6d56 in test_grid_fixed_document.
|
||||
additions = [
|
||||
p for p in DEFINITIONS if p.endswith(("图像合并成四宫格.json", "图像分割-多宫格分割.json"))
|
||||
]
|
||||
assert len(additions) == 2
|
||||
for p in additions:
|
||||
now[p].pop("fixed_version_document")
|
||||
historical = [p for p in DEFINITIONS if p not in additions]
|
||||
assert len(historical) == 11
|
||||
for path in historical:
|
||||
block = now[path]["fixed_version_document"]
|
||||
assert block["user_overview"] and "待核对" in block["user_overview"]
|
||||
assert hashlib.sha256(canonical(block)).hexdigest() == DEFINITIONS[path]
|
||||
|
||||
@@ -203,7 +203,7 @@ def test_graph_specific_semantics_and_companion():
|
||||
|
||||
|
||||
def test_other_documents_and_block_swaps():
|
||||
assert len(DEFINITIONS) == 11
|
||||
assert len(DEFINITIONS) == 13
|
||||
for path in DEFINITIONS:
|
||||
if path == PATH:
|
||||
continue
|
||||
|
||||
@@ -0,0 +1,240 @@
|
||||
"""Two editorial source bindings, exact saved values and frozen execution rejection."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
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/grid-document-evidence"
|
||||
NAMES = ["图像合并成四宫格.json", "图像分割-多宫格分割.json"]
|
||||
PATHS = [next(p for p in DEFINITIONS if p.endswith(n)) for n in NAMES]
|
||||
SOURCES = [json.loads((REPO / p).read_bytes()) for p in PATHS]
|
||||
REVIEWS = [review_for(p, hashlib.sha1((REPO / p).read_bytes()).hexdigest()) for p in PATHS]
|
||||
BLOCKS = [r["fixed_version_document"] for r in REVIEWS]
|
||||
POSITIONS = [(i, j) for i, b in enumerate(BLOCKS) for j in range(len(b["fields"]))]
|
||||
|
||||
|
||||
def pointer(obj, path):
|
||||
for p in path.strip("/").split("/"):
|
||||
p = p.replace("~1", "/").replace("~0", "~")
|
||||
obj = obj[int(p)] if isinstance(obj, list) else obj[p]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(i, s=None, r=None, path=None):
|
||||
return build_document(
|
||||
path or PATHS[i],
|
||||
SOURCES[i] if s is None else s,
|
||||
None,
|
||||
None,
|
||||
[],
|
||||
REVIEWS[i] if r is None else r,
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i,j", POSITIONS)
|
||||
def test_source_positions_and_content_addressed_reference(i, j):
|
||||
b = BLOCKS[i]
|
||||
f = b["fields"][j]
|
||||
value = pointer(SOURCES[i], f["pointer"])
|
||||
assert canonical(value) == canonical(f["value"]) and type(value).__name__ == f["json_type"]
|
||||
node = pointer(SOURCES[i], f["pointer"].split("/widgets_values/")[0])
|
||||
assert str(node["id"]) == f["node_id"] and node["type"] == f["class_type"]
|
||||
for name in ["label", "effect", "schema_default", "unit", "limits", "execution_note"]:
|
||||
assert f[name]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert len(e["commit"]) == 40 and e["commit"] in e["url"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i,j", POSITIONS)
|
||||
@pytest.mark.parametrize("kind", ["value", "type", "pointer", "citation", "role", "default"])
|
||||
def test_mismatches_cannot_be_trusted_by_recomputing_caller_digest(i, j, kind):
|
||||
s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i])
|
||||
b = r["fixed_version_document"]
|
||||
f = b["fields"][j]
|
||||
if kind in ["value", "type"]:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
v = {"tampered": True} if kind == "value" else 1 if isinstance(f["value"], bool) else False
|
||||
pointer(s, parent)[int(key)] = v
|
||||
elif kind == "citation":
|
||||
b["sources"][f["evidence"][0]]["sha256"] = "0" * 64
|
||||
else:
|
||||
f[{"default": "schema_default"}.get(kind, kind)] = "forged"
|
||||
b["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
r["caller_digest"] = hashlib.sha256(canonical(b)).hexdigest()
|
||||
d = doc(i, s, r)["fixed_version"]
|
||||
assert d["matched"] is False and "fields" not in d
|
||||
|
||||
|
||||
MUTATIONS = [
|
||||
(i, p)
|
||||
for i in range(2)
|
||||
for p in [
|
||||
"/links/0/1",
|
||||
"/nodes/0/type",
|
||||
"/nodes/0/mode",
|
||||
"/nodes/0/properties/ver",
|
||||
"/nodes/0/properties/cnr_id",
|
||||
"/nodes/0/properties/ue_properties/version",
|
||||
]
|
||||
] + [
|
||||
(0, "/extra/frontendVersion"),
|
||||
(0, "/nodes/8/widgets_values/0"),
|
||||
(1, "/nodes/1/properties/aux_id"),
|
||||
(1, "/nodes/0/outputs/0/type"),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i,path", MUTATIONS)
|
||||
def test_source_versions_providers_edges_notes_and_export_conflict_fail_closed(i, path):
|
||||
s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i])
|
||||
parent, _, key = path.rpartition("/")
|
||||
t = pointer(s, parent)
|
||||
t[int(key) if isinstance(t, list) else key] = "forged"
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
r["caller_digest"] = hashlib.sha256(canonical(r["fixed_version_document"])).hexdigest()
|
||||
assert not doc(i, s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(2))
|
||||
@pytest.mark.parametrize(
|
||||
"key", ["source_sha1", "source_sha256", "source_path", "notice", "user_overview"]
|
||||
)
|
||||
def test_definition_identity_and_editorial_forgery_rejected(i, key):
|
||||
r = copy.deepcopy(REVIEWS[i])
|
||||
r["fixed_version_document"][key] = "forged"
|
||||
r["caller_digest"] = hashlib.sha256(canonical(r["fixed_version_document"])).hexdigest()
|
||||
assert not doc(i, r=r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(2))
|
||||
def test_real_document_keeps_offline_status_and_rejects_cross_binding(i):
|
||||
d = doc(i)
|
||||
assert d["fixed_version"]["matched"] and len(d["fixed_version"]["fields"]) == [26, 9][i]
|
||||
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
r = copy.deepcopy(REVIEWS[i])
|
||||
r["fixed_version_document"] = BLOCKS[1 - i]
|
||||
assert not doc(i, r=r)["fixed_version"]["matched"]
|
||||
assert "fixed_version" not in doc(i, path="untrusted.json")
|
||||
|
||||
|
||||
def test_exact_topology_and_reference_semantics():
|
||||
grid, split = BLOCKS
|
||||
assert SOURCES[0]["links"] == [
|
||||
[11, 12, 0, 16, 0, "IMAGE"],
|
||||
[12, 13, 0, 16, 1, "IMAGE"],
|
||||
[13, 14, 0, 17, 0, "IMAGE"],
|
||||
[14, 15, 0, 17, 1, "IMAGE"],
|
||||
[15, 16, 0, 18, 0, "IMAGE"],
|
||||
[16, 17, 0, 18, 1, "IMAGE"],
|
||||
[18, 21, 0, 19, 0, "IMAGE"],
|
||||
[19, 18, 0, 21, 0, "IMAGE"],
|
||||
]
|
||||
assert SOURCES[1]["links"] == [[1, 1, 0, 2, 0, "IMAGE"], [2, 2, 0, 3, 0, "IMAGE"]]
|
||||
assert [SOURCES[i]["extra"].get("frontendVersion") for i in range(2)] == ["1.41.20", None]
|
||||
assert [grid["counts"]["source_nodes"], split["counts"]["source_nodes"]] == [10, 3]
|
||||
assert pointer(SOURCES[0], grid["comments"][0]["pointer"]) == grid["comments"][0]["text"]
|
||||
assert SOURCES[1]["nodes"][0]["outputs"][0]["type"] == "IMAGE"
|
||||
assert [z["node_id"] for z in split["zero_saved_nodes"]] == ["3"]
|
||||
assert all(
|
||||
t in "".join(split["flow"])
|
||||
for t in [
|
||||
"图像[0]",
|
||||
"阈值30",
|
||||
"余边",
|
||||
"tile.save",
|
||||
"RETURN_TYPES=()",
|
||||
"许可unknown",
|
||||
"转换仍关闭",
|
||||
]
|
||||
)
|
||||
assert all(t in "".join(grid["flow"]) for t in ["UE7.7", "不产prompt", "中心裁剪", "模型超分"])
|
||||
assert all(b["counts"]["final_prompt_constructed"] is False for b in BLOCKS)
|
||||
assert len(grid["comments"]) == 1 and not split["comments"]
|
||||
|
||||
|
||||
def test_only_two_reviews_change_and_all_old_blocks_preserved():
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "27e6d56:" + resource], cwd=REPO))
|
||||
now = json.loads((REPO / resource).read_bytes())
|
||||
assert len(DEFINITIONS) == 13
|
||||
assert (
|
||||
sum(
|
||||
len(r["fixed_version_document"]["fields"])
|
||||
for r in now.values()
|
||||
if "fixed_version_document" in r
|
||||
)
|
||||
== 351
|
||||
)
|
||||
for path in PATHS:
|
||||
assert "fixed_version_document" not in old[path]
|
||||
now[path].pop("fixed_version_document")
|
||||
assert now == old
|
||||
assert len([r for r in old.values() if "fixed_version_document" in r]) == 11
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(2))
|
||||
def test_exact_raw_identity_and_saved_field_layout(i):
|
||||
raw = (REPO / PATHS[i]).read_bytes()
|
||||
b = BLOCKS[i]
|
||||
assert b["source_sha1"] == hashlib.sha1(raw).hexdigest()
|
||||
assert b["source_sha256"] == hashlib.sha256(raw).hexdigest()
|
||||
assert b["canonical_sha256"] == hashlib.sha256(canonical(SOURCES[i])).hexdigest()
|
||||
layout = {}
|
||||
for f in b["fields"]:
|
||||
layout.setdefault(f["node_id"], []).append(f["field"])
|
||||
if i == 0:
|
||||
assert layout == {
|
||||
"12": ["image", "upload"],
|
||||
"13": ["image", "upload"],
|
||||
"14": ["image", "upload"],
|
||||
"15": ["image", "upload"],
|
||||
"16": ["direction", "match_image_size", "spacing_width", "spacing_color"],
|
||||
"17": ["direction", "match_image_size", "spacing_width", "spacing_color"],
|
||||
"18": ["direction", "match_image_size", "spacing_width", "spacing_color"],
|
||||
"21": [
|
||||
"resize_type",
|
||||
"resize_type.width",
|
||||
"resize_type.height",
|
||||
"resize_type.crop",
|
||||
"scale_method",
|
||||
],
|
||||
"19": ["filename_prefix"],
|
||||
}
|
||||
assert {e["commit"] for e in b["sources"]} == {
|
||||
"63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
}
|
||||
else:
|
||||
assert layout == {
|
||||
"1": ["image", "upload"],
|
||||
"2": [
|
||||
"保存目录",
|
||||
"水平张数",
|
||||
"垂直张数",
|
||||
"移除画布边缘",
|
||||
"移除描边",
|
||||
"文件名前缀",
|
||||
"保存格式",
|
||||
],
|
||||
}
|
||||
assert all("参考假设" in f["execution_note"] for f in b["fields"])
|
||||
assert {e["commit"] for e in b["sources"]} == {
|
||||
"26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
}
|
||||
@@ -234,6 +234,13 @@ def test_old_nine_blocks_and_other_editorial_content_preserved():
|
||||
# This revision authorizes only ten optional overview additions and one new block.
|
||||
background = next(p for p in now if p.endswith("Qwen_image2.1_图像编辑_背景移除.json"))
|
||||
now[background].pop("fixed_version_document")
|
||||
# Later grid additions are protected against their own real 27e6d56 baseline.
|
||||
additions = [
|
||||
p for p in now if p.endswith(("图像合并成四宫格.json", "图像分割-多宫格分割.json"))
|
||||
]
|
||||
assert len(additions) == 2
|
||||
for p in additions:
|
||||
now[p].pop("fixed_version_document")
|
||||
for entry in now.values():
|
||||
if "fixed_version_document" in entry:
|
||||
assert entry["fixed_version_document"].pop("user_overview")
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
@@ -0,0 +1,800 @@
|
||||
{
|
||||
"companion_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"GuHaiAutoImageSplit",
|
||||
"LoadImage",
|
||||
"PreviewImage"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:GuHaiAutoImageSplit"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"fixed_version": {
|
||||
"canonical_sha256": "137b4d4b16649606e8a6ae4c71ed2173822463774f4d0412f137dc6f73118de0",
|
||||
"comments": [],
|
||||
"counts": {
|
||||
"final_prompt_constructed": false,
|
||||
"final_scalars": 0,
|
||||
"frontend_only": 1,
|
||||
"linked_saved_fields": 0,
|
||||
"physical_edges": 2,
|
||||
"saved_fields": 9,
|
||||
"source_nodes": 3,
|
||||
"source_notes": 0
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "参考代码os.path.join(输出根,当前output)建立子目录;不是已确认目标机路径。绝对目录按join语义可替代输出根,代码未做平台授权确认,不触发访问。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "保存目录",
|
||||
"json_type": "str",
|
||||
"label": "保存目录",
|
||||
"limits": "schema未声明长度或路径范围",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"role": "scalar",
|
||||
"schema_default": "output",
|
||||
"scope": "root",
|
||||
"type": "STRING",
|
||||
"unit": "目录字符串",
|
||||
"value": "output"
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前3列而默认4;按处理后宽度整除列数,右侧余边不入分块。不能推断真实宽度或每块尺寸。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "水平张数",
|
||||
"json_type": "int",
|
||||
"label": "水平张数",
|
||||
"limits": "schema min=1,未声明max或step",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/1",
|
||||
"role": "scalar",
|
||||
"schema_default": "4",
|
||||
"scope": "root",
|
||||
"type": "INT",
|
||||
"unit": "列",
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前3行而默认2;按处理后高度整除行数,下侧余边不入分块。按y外循环、x内循环逐行从左到右返回。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "垂直张数",
|
||||
"json_type": "int",
|
||||
"label": "垂直张数",
|
||||
"limits": "schema min=1,未声明max或step",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/2",
|
||||
"role": "scalar",
|
||||
"schema_default": "2",
|
||||
"scope": "root",
|
||||
"type": "INT",
|
||||
"unit": "行",
|
||||
"value": 3
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前true先将首图转RGB,用四角颜色中值、阈值30寻找边界再裁边;false用原图。不承诺智能主体分割、保留Alpha或裁切质量。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "移除画布边缘",
|
||||
"json_type": "bool",
|
||||
"label": "移除画布边缘",
|
||||
"limits": "true/false",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/3",
|
||||
"role": "scalar",
|
||||
"schema_default": "true",
|
||||
"scope": "root",
|
||||
"type": "BOOLEAN",
|
||||
"unit": "无(开关)",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前8而默认0;正值取min(移除描边,w//2-1,h//2-1),仅限幅后大于0才四边裁切。小块可能不裁,不保证每块恰少16像素。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "移除描边",
|
||||
"json_type": "int",
|
||||
"label": "移除描边",
|
||||
"limits": "schema min=0,未声明max或step;执行另有限幅",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/4",
|
||||
"role": "scalar",
|
||||
"schema_default": "0",
|
||||
"scope": "root",
|
||||
"type": "INT",
|
||||
"unit": "像素/每侧",
|
||||
"value": 8
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前孤海图像分割_;扫描同前缀/扩展名至少两位数字的既有编号,取最大值+1,至少两位补零继续保存。不是每次从01开始,不保证并发无冲突。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "文件名前缀",
|
||||
"json_type": "str",
|
||||
"label": "文件名前缀",
|
||||
"limits": "schema未声明长度范围;空白字符串回退默认",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/5",
|
||||
"role": "scalar",
|
||||
"schema_default": "孤海图像分割_",
|
||||
"scope": "root",
|
||||
"type": "STRING",
|
||||
"unit": "前缀字符串",
|
||||
"value": "孤海图像分割_"
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"definition_node_id": "2",
|
||||
"effect": "当前PNG;JPG映射JPEG与jpg扩展名,质量95,必要时RGBA/LA转RGB。内部逐块tile.save,随后torch.cat形成图像batch;不是只返回预览,不表示实际文件已经生成。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "保存格式",
|
||||
"json_type": "str",
|
||||
"label": "保存格式",
|
||||
"limits": "PNG/JPG",
|
||||
"node_id": "2",
|
||||
"pointer": "/nodes/1/widgets_values/6",
|
||||
"role": "scalar",
|
||||
"schema_default": "PNG",
|
||||
"scope": "root",
|
||||
"type": "COMBO",
|
||||
"unit": "格式",
|
||||
"value": "PNG"
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"definition_node_id": "1",
|
||||
"effect": "源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "image",
|
||||
"json_type": "str",
|
||||
"label": "输入图片",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"node_id": "1",
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"role": "scalar",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"scope": "root",
|
||||
"type": "COMBO",
|
||||
"unit": "文件名",
|
||||
"value": "Image (4) (1).png"
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"definition_node_id": "1",
|
||||
"effect": "源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。",
|
||||
"field": "upload",
|
||||
"json_type": "str",
|
||||
"label": "上传按钮保存占位",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"node_id": "1",
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"role": "frontend",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"scope": "root",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"unit": "无(按钮状态)",
|
||||
"value": "image"
|
||||
}
|
||||
],
|
||||
"flow": [
|
||||
"素材与连线:LoadImage1保存Image (4) (1).png,仅源文件名,未读取/核对;MASK未接。边1为1槽0→2.图像,边2为2槽0→3.images,无模型依赖。",
|
||||
"七项现值依次为output、3、3、true、8、孤海图像分割_、PNG;固定schema默认4列2行、描边0,不能拿默认覆盖源当前3×3和8。",
|
||||
"参考实现只处理图像[0],先转uint8;开关true调用四角中值/阈值30裁边(RGB),不承诺智能主体分割或透明通道。尺寸整除分块,右/下余边被舍弃;y外x内逐行从左到右。",
|
||||
"正描边限幅min(8,w//2-1,h//2-1),只有结果大于0才裁;未知真实宽高,不能推断裁切效果或每块尺寸。schema未声明max不能编范围。",
|
||||
"保存副作用:输出根join当前output子目录,os.makedirs并逐块tile.save;绝对路径的join行为不等于目标路径访问授权。空白前缀回退孤海图像分割_,按同前缀/扩展名至少两位数字最大编号续号;PNG或JPG(JPEG质量95)。最后torch.cat返回图像batch。",
|
||||
"PreviewImage3零保存值,固定core0.21.1继承SaveImage的RETURN_TYPES=(),写temp PNG/随机后缀并返回ui.images;源图却保存IMAGE出口,这是既有真实拒因,转换仍关闭。插件内部保存与临时预览是两种写文件行为,本轮均未执行,不称全程仅预览无写入。",
|
||||
"来源边界:core0.21.1与GuHai完整commit按源声明固定;插件完整tree/注册/JS作用域已留档,只读不执行,许可unknown。没有frontendVersion,1.41.20只作明确前端参考假设;UE7.8/目标安装/钩子顺序未知,不借其它图证明。",
|
||||
"拒绝策略不变:不修原图、不去出口、不补注册或拼部分prompt制造成功;本轮新增转换0,保持停用/依赖未检查/未定稿/未实跑。",
|
||||
"源物理边 0:[1, 1, 0, 2, 0, \"IMAGE\"]",
|
||||
"源物理边 1:[2, 2, 0, 3, 0, \"IMAGE\"]"
|
||||
],
|
||||
"flow_evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17
|
||||
],
|
||||
"matched": true,
|
||||
"notice": "固定版本参考说明,目标环境、素材、实际效果未核对,转换仍关闭。",
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"source_sha1": "bf31676bcd4e3656f0bc4fc33b3cc76ac03ceb0b",
|
||||
"source_sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc",
|
||||
"sources": [
|
||||
{
|
||||
"claim": "按保存顺序恢复控件值",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"lines": [
|
||||
900,
|
||||
925
|
||||
],
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts"
|
||||
},
|
||||
{
|
||||
"claim": "工作流保存跳过serialize=false控件",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"lines": [
|
||||
960,
|
||||
978
|
||||
],
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts"
|
||||
},
|
||||
{
|
||||
"claim": "API序列化跳过serialize=false,按控件名称取值并核对连线",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"id": "ComfyUI_frontend:src/utils/executionUtil.ts",
|
||||
"lines": [
|
||||
95,
|
||||
126
|
||||
],
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/utils/executionUtil.ts"
|
||||
},
|
||||
{
|
||||
"claim": "媒体COMBO增强upload按钮",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"id": "ComfyUI_frontend:src/extensions/core/uploadImage.ts",
|
||||
"lines": [
|
||||
10,
|
||||
40
|
||||
],
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/uploadImage.ts"
|
||||
},
|
||||
{
|
||||
"claim": "文件控件和上传按钮image占位;serialize=false",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"id": "ComfyUI_frontend:src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"lines": [
|
||||
34,
|
||||
115
|
||||
],
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||||
"sha256": "318c8134c2499a4ee33d07bb8aff029b5d02f503b6e217f874e5dc0f5d9b69bc",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts"
|
||||
},
|
||||
{
|
||||
"claim": "0.21.1 LoadImage动态文件列表、解码与文件校验",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"lines": [
|
||||
1681,
|
||||
1756
|
||||
],
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py"
|
||||
},
|
||||
{
|
||||
"claim": "SaveImage零RETURN_TYPES;PreviewImage继承并改temp/随机后缀/压缩",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"lines": [
|
||||
1608,
|
||||
1679
|
||||
],
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py"
|
||||
},
|
||||
{
|
||||
"claim": "PreviewImage/LoadImage内置注册",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"lines": [
|
||||
2009,
|
||||
2030
|
||||
],
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py"
|
||||
},
|
||||
{
|
||||
"claim": "七中文输入schema、首图分块、内部保存、batch返回和注册",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"lines": [
|
||||
54,
|
||||
172
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py"
|
||||
},
|
||||
{
|
||||
"claim": "四角中值背景、阈值30及裁边;不承诺主体分割",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"lines": [
|
||||
8,
|
||||
52
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py"
|
||||
},
|
||||
{
|
||||
"claim": "WEB_DIRECTORY、动态发现模块和注册合并",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "__init__.py",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:__init__.py",
|
||||
"lines": [
|
||||
10,
|
||||
49
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai____init__.py",
|
||||
"sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/__init__.py"
|
||||
},
|
||||
{
|
||||
"claim": "完整固定tree未截断;原件元数据,不证明许可或目标安装",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "git-tree",
|
||||
"id": "GuHai fixed full tree",
|
||||
"lines": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai-tree.json",
|
||||
"sha256": "570d35a60ce093d2a62d4a6d4575af4e51d577948207cb82963a302a721dcff4",
|
||||
"url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/885cac3dd323d26a77b69ae904a9a344f0dee7d0?recursive=1"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/BOOLEAN.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/BOOLEAN.js",
|
||||
"lines": [
|
||||
1,
|
||||
230
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__BOOLEAN.js",
|
||||
"sha256": "184ddb889362c770eff98bba23579b35e24c3a4dd684b97bfc588f42dfbe6d64",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/BOOLEAN.js"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/GoohaiNote.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/GoohaiNote.js",
|
||||
"lines": [
|
||||
1,
|
||||
930
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__GoohaiNote.js",
|
||||
"sha256": "5fb1f66f76e5519990afd400f315e209fdc36ed05beb1a8a56348d4830a47ae9",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/GoohaiNote.js"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/colorWidget.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/colorWidget.js",
|
||||
"lines": [
|
||||
1,
|
||||
126
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__colorWidget.js",
|
||||
"sha256": "7e1e02baa9ab773bdbb9247925fec87a07b5309ce1ef35dfdfdec15c5b2eef26",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/colorWidget.js"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/goohai_universal_slider.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/goohai_universal_slider.js",
|
||||
"lines": [
|
||||
1,
|
||||
615
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__goohai_universal_slider.js",
|
||||
"sha256": "e93df36fcf4ecd0d4eb264518582da4cfb4df25ae915c796bb9cb749731f8f7e",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/goohai_universal_slider.js"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/id_photo_clothing.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/id_photo_clothing.js",
|
||||
"lines": [
|
||||
1,
|
||||
755
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__id_photo_clothing.js",
|
||||
"sha256": "11e6ccd015b17dd5c6ca2010829075372b751b898d21e3f61abe347c4f51d144",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/id_photo_clothing.js"
|
||||
},
|
||||
{
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/nodes pass.js",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/nodes pass.js",
|
||||
"lines": [
|
||||
1,
|
||||
908
|
||||
],
|
||||
"local_file": "../crop-split-reference/guhai__web__js__nodes pass.js",
|
||||
"sha256": "17ab7504fef7aaaa2e3cf72028eaa5d9aa1e6688ba75fe434fc8f40e11d27130",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/nodes%20pass.js"
|
||||
}
|
||||
],
|
||||
"steps": [
|
||||
"准备并核对输入素材;本轮仅保存源引用,没有读取图片或运行处理。",
|
||||
"把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件待核对。",
|
||||
"按下方逐项说明核对源现值、定义默认、单位、范围及连线;没有模型依赖,不下载权重。",
|
||||
"未来授权运行后再核对拼接/裁边/裁切画面和真实保存文件;当前停用、未定稿、未验证实跑。"
|
||||
],
|
||||
"user_overview": "把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件待核对。",
|
||||
"versions": [
|
||||
"源声明core0.21.1=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"源声明goohai/Goohaitools-comfyui=885cac3dd323d26a77b69ae904a9a344f0dee7d0;许可未知、安装未知。",
|
||||
"源未声明frontendVersion;仅参考假设frontend1.41.20=f2254852b2a575b30cc1cde46742a89afbfac252,不证明实际保存/恢复。UE7.8未知。"
|
||||
],
|
||||
"zero_saved_nodes": [
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"effect": "PreviewImage3零保存值,固定core0.21.1继承SaveImage的RETURN_TYPES=(),写temp PNG/随机后缀并返回ui.images;源图却保存IMAGE出口,这是既有真实拒因,转换仍关闭。插件内部保存与临时预览是两种写文件行为,本轮均未执行,不称全程仅预览无写入。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"node_id": "3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "多宫格切分由 LoadImage 接 GuHaiAutoImageSplit,再接 PreviewImage。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
3,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 2,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "3",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 1,
|
||||
"localized_name": "图像",
|
||||
"name": "图像",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "保存目录",
|
||||
"name": "保存目录",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "保存目录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "水平张数",
|
||||
"name": "水平张数",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "水平张数"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "垂直张数",
|
||||
"name": "垂直张数",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "垂直张数"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "移除画布边缘",
|
||||
"name": "移除画布边缘",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "移除画布边缘"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "移除描边",
|
||||
"name": "移除描边",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "移除描边"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "文件名前缀",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "文件名前缀"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "保存格式",
|
||||
"name": "保存格式",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "保存格式"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
"output",
|
||||
3,
|
||||
3,
|
||||
true,
|
||||
8,
|
||||
"孤海图像分割_",
|
||||
"PNG"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"Image (4) (1).png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"source_review": {
|
||||
"complete": false,
|
||||
"evidence": {
|
||||
"link_count": 2,
|
||||
"model_references": [],
|
||||
"named_value_count": 0,
|
||||
"node_count": 3,
|
||||
"note_node_ids": [],
|
||||
"unnamed_widget_node_ids": [
|
||||
"2",
|
||||
"1"
|
||||
]
|
||||
},
|
||||
"instruction": "先检查切分节点原始控件 [output,3,3,true,8,…,PNG];未取得节点定义前不把这些位置数值写成具名参数。",
|
||||
"purpose": "多宫格切分由 LoadImage 接 GuHaiAutoImageSplit,再接 PreviewImage。",
|
||||
"reviewed_named_fields": [],
|
||||
"scope": [
|
||||
"结构及用途局部审校",
|
||||
"源具名参数/注释/连线/素材模型用途人工语义局部审校"
|
||||
],
|
||||
"semantic_review": {
|
||||
"batch": "HEL-892-third",
|
||||
"conclusions": [
|
||||
"连线1为1输出IMAGE→2输入0,2结果经2号连线到3预览",
|
||||
"控件含output、3、3、PNG,但未具名,不能据此声称九宫格参数已确认。先核对Image (4) (1).png是否为待切分图,源无注释及模型引用。"
|
||||
],
|
||||
"evidence_refs": {
|
||||
"nodes": [
|
||||
{
|
||||
"node_id": "3",
|
||||
"pointer": "/source_nodes/0"
|
||||
},
|
||||
{
|
||||
"node_id": "2",
|
||||
"pointer": "/source_nodes/1"
|
||||
},
|
||||
{
|
||||
"node_id": "1",
|
||||
"pointer": "/source_nodes/2"
|
||||
}
|
||||
],
|
||||
"notes": [],
|
||||
"source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)"
|
||||
},
|
||||
"mechanical_inventory": {
|
||||
"link_count": 2,
|
||||
"named_value_count": 0,
|
||||
"note_count": 0,
|
||||
"position_widget_node_count": 2
|
||||
},
|
||||
"named_parameter_finding": "未发现可由源文件确认的具名参数",
|
||||
"operation_check": "连线1为1输出IMAGE→2输入0,2结果经2号连线到3预览;控件含output、3、3、PNG,但未具名,不能据此声称九宫格参数已确认。先核对Image (4) (1).png是否为待切分图,源无注释及模型引用。",
|
||||
"unknowns": [
|
||||
"位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证",
|
||||
"注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证",
|
||||
"静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出",
|
||||
"模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对"
|
||||
]
|
||||
},
|
||||
"source_sha": "bf31676bcd4e3656f0bc4fc33b3cc76ac03ceb0b",
|
||||
"unconfirmed": [
|
||||
"逐参数语义、单位、范围和调整效果未定稿",
|
||||
"UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出",
|
||||
"模型/节点包位置、素材可用性及实际输出未在目标环境核对"
|
||||
]
|
||||
},
|
||||
"source_review_sha": "79ad2145ee725cfc6a478650ed18287a5c8b8f03903893b5a352387046012c5f",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"先检查切分节点原始控件 [output,3,3,true,8,…,PNG];未取得节点定义前不把这些位置数值写成具名参数。",
|
||||
"连线1为1输出IMAGE→2输入0,2结果经2号连线到3预览;控件含output、3、3、PNG,但未具名,不能据此声称九宫格参数已确认。先核对Image (4) (1).png是否为待切分图,源无注释及模型引用。",
|
||||
"准备并核对输入素材;本轮仅保存源引用,没有读取图片或运行处理。",
|
||||
"把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件待核对。",
|
||||
"按下方逐项说明核对源现值、定义默认、单位、范围及连线;没有模型依赖,不下载权重。",
|
||||
"未来授权运行后再核对拼接/裁边/裁切画面和真实保存文件;当前停用、未定稿、未验证实跑。"
|
||||
],
|
||||
"title": "图像分割-多宫格分割"
|
||||
}
|
||||
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,726 @@
|
||||
{
|
||||
"base": "27e6d56dced46e764ac9c79e39d51128fdbf6877",
|
||||
"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_eleven_blocks_unchanged": true,
|
||||
"drawer_css_unchanged": true,
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"assertions": 1536,
|
||||
"non_assertion_records": 0,
|
||||
"requests": 57,
|
||||
"viewports": [
|
||||
1440,
|
||||
390
|
||||
],
|
||||
"local_GET_only": true,
|
||||
"errors": [],
|
||||
"services_stopped": true,
|
||||
"screenshots_visually_inspected": [
|
||||
"1440-13-default.png",
|
||||
"390-12-default.png"
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -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,658 @@
|
||||
"""Editorial definitions from fixed local sources; no upstream import or media access."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PREFIX = "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/"
|
||||
PATHS = [PREFIX + n for n in ["图像合并成四宫格.json", "图像分割-多宫格分割.json"]]
|
||||
CORE17 = "63d1bbdb407c69370d407ce5ced6ca3f917528a8"
|
||||
CORE21 = "26515acd23fa291a8f5ab53c5997258598de0701"
|
||||
FRONT = "f2254852b2a575b30cc1cde46742a89afbfac252"
|
||||
GUHAI = "885cac3dd323d26a77b69ae904a9a344f0dee7d0"
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index):
|
||||
path = PATHS[index]
|
||||
raw = (REPO / path).read_bytes()
|
||||
source = json.loads(raw)
|
||||
refs = []
|
||||
|
||||
def ref(directory, filename, start, end, claim):
|
||||
base = OUT.parent / directory
|
||||
e = next(
|
||||
x
|
||||
for x in json.loads((base / "sources.json").read_bytes())["sources"]
|
||||
if x["local_file"] == filename
|
||||
)
|
||||
data = (base / filename).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
assert 1 <= start <= end <= len(data.decode().splitlines())
|
||||
refs.append(
|
||||
{
|
||||
**{k: e[k] for k in ["id", "commit", "file", "url", "sha256"]},
|
||||
"local_file": "../" + directory + "/" + filename,
|
||||
"lines": [start, end],
|
||||
"claim": claim,
|
||||
}
|
||||
)
|
||||
return len(refs) - 1
|
||||
|
||||
def grid(filename, start, end, claim):
|
||||
return ref("grid-reference", filename, start, end, claim)
|
||||
|
||||
front = [
|
||||
grid(
|
||||
"ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
900,
|
||||
925,
|
||||
"按保存顺序恢复控件值",
|
||||
),
|
||||
grid(
|
||||
"ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
960,
|
||||
978,
|
||||
"工作流保存跳过serialize=false控件",
|
||||
),
|
||||
grid(
|
||||
"ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
95,
|
||||
126,
|
||||
"API序列化跳过serialize=false,按控件名称取值并核对连线",
|
||||
),
|
||||
grid(
|
||||
"ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
10,
|
||||
40,
|
||||
"媒体COMBO增强upload按钮",
|
||||
),
|
||||
grid(
|
||||
(
|
||||
"ComfyUI_frontend__src__renderer__exten"
|
||||
"sions__vueNodes__widgets__composables_"
|
||||
"_useImageUploadWidget.ts"
|
||||
),
|
||||
34,
|
||||
115,
|
||||
"文件控件和上传按钮image占位;serialize=false",
|
||||
),
|
||||
]
|
||||
if index == 0:
|
||||
load = grid(
|
||||
"ComfyUI__nodes.py",
|
||||
1702,
|
||||
1779,
|
||||
"0.17 LoadImage动态文件列表、IMAGE/MASK与文件检查",
|
||||
)
|
||||
stitch = grid(
|
||||
"ComfyUI__comfy_extras__nodes_images.py",
|
||||
253,
|
||||
430,
|
||||
"拼接schema、匹配尺寸、填充/间距/批量和方向",
|
||||
)
|
||||
resize = grid(
|
||||
"ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
406,
|
||||
505,
|
||||
"尺寸动态schema、默认/范围和分支执行",
|
||||
)
|
||||
scale = grid(
|
||||
"ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
250,
|
||||
303,
|
||||
"scale dimensions枚举和0尺寸分支及重采样",
|
||||
)
|
||||
save = grid(
|
||||
"ComfyUI__nodes.py",
|
||||
1629,
|
||||
1685,
|
||||
"SaveImage默认前缀、PNG元数据条件、命名与UI响应",
|
||||
)
|
||||
dynamic = grid(
|
||||
"ComfyUI_frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
71,
|
||||
201,
|
||||
"动态COMBO以resize_type限定名创建/恢复子控件",
|
||||
)
|
||||
max_import = grid(
|
||||
"ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
1,
|
||||
15,
|
||||
"MAX_RESOLUTION从nodes导入",
|
||||
)
|
||||
max_value = grid("ComfyUI__nodes.py", 50, 58, "MAX_RESOLUTION=16384")
|
||||
grid(
|
||||
"ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
660,
|
||||
679,
|
||||
"ResizeImageMaskNode静态extension注册",
|
||||
)
|
||||
grid(
|
||||
"ComfyUI__comfy_extras__nodes_images.py",
|
||||
825,
|
||||
849,
|
||||
"ImageStitch静态extension注册",
|
||||
)
|
||||
grid("ComfyUI__nodes.py", 2030, 2055, "LoadImage/SaveImage内置注册")
|
||||
grid("ComfyUI__nodes.py", 2300, 2430, "扩展加载与内置模块清单;不证明目标安装")
|
||||
note = grid(
|
||||
"ComfyUI_frontend__src__extensions__core__noteNode.ts",
|
||||
1,
|
||||
84,
|
||||
"MarkdownNote前端注释,不当运行参数",
|
||||
)
|
||||
else:
|
||||
load = ref(
|
||||
"serialization-evidence",
|
||||
"corev0.21.1__nodes.py",
|
||||
1681,
|
||||
1756,
|
||||
"0.21.1 LoadImage动态文件列表、解码与文件校验",
|
||||
)
|
||||
save = ref(
|
||||
"serialization-evidence",
|
||||
"corev0.21.1__nodes.py",
|
||||
1608,
|
||||
1679,
|
||||
"SaveImage零RETURN_TYPES;PreviewImage继承并改temp/随机后缀/压缩",
|
||||
)
|
||||
ref(
|
||||
"serialization-evidence",
|
||||
"corev0.21.1__nodes.py",
|
||||
2009,
|
||||
2030,
|
||||
"PreviewImage/LoadImage内置注册",
|
||||
)
|
||||
split = ref(
|
||||
"crop-split-reference",
|
||||
"guhai__nodes__自动分割图像.py",
|
||||
54,
|
||||
172,
|
||||
"七中文输入schema、首图分块、内部保存、batch返回和注册",
|
||||
)
|
||||
crop = ref(
|
||||
"crop-split-reference",
|
||||
"guhai__nodes__自动分割图像.py",
|
||||
8,
|
||||
52,
|
||||
"四角中值背景、阈值30及裁边;不承诺主体分割",
|
||||
)
|
||||
ref(
|
||||
"crop-split-reference",
|
||||
"guhai____init__.py",
|
||||
10,
|
||||
49,
|
||||
"WEB_DIRECTORY、动态发现模块和注册合并",
|
||||
)
|
||||
# Inspect all fixed JS, preserving their scopes without executing any extension.
|
||||
tree = json.loads((OUT.parent / "crop-split-reference/guhai-tree.json").read_bytes())
|
||||
assert tree["sha"] == GUHAI and tree["truncated"] is False
|
||||
metadata = json.loads(
|
||||
(OUT.parent / "crop-split-reference/verified-facts.json").read_bytes()
|
||||
)["guhai_discovery"]
|
||||
raw_tree = (OUT.parent / "crop-split-reference/guhai-tree.json").read_bytes()
|
||||
assert hashlib.sha256(raw_tree).hexdigest() == metadata["sha256"]
|
||||
refs.append(
|
||||
dict(
|
||||
id="GuHai fixed full tree",
|
||||
commit=GUHAI,
|
||||
file="git-tree",
|
||||
url=metadata["url"],
|
||||
sha256=metadata["sha256"],
|
||||
local_file="../crop-split-reference/guhai-tree.json",
|
||||
lines=[1, 1],
|
||||
claim="完整固定tree未截断;原件元数据,不证明许可或目标安装",
|
||||
)
|
||||
)
|
||||
for e in json.loads((OUT.parent / "crop-split-reference/sources.json").read_bytes())[
|
||||
"sources"
|
||||
]:
|
||||
if e["file"].endswith(".js"):
|
||||
ref(
|
||||
"crop-split-reference",
|
||||
e["local_file"],
|
||||
1,
|
||||
len(
|
||||
(OUT.parent / "crop-split-reference" / e["local_file"])
|
||||
.read_text()
|
||||
.splitlines()
|
||||
),
|
||||
"固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序",
|
||||
)
|
||||
|
||||
specs = {}
|
||||
|
||||
def spec(cls, name, label, typ, default, unit, limits, effect, evidence, role="scalar"):
|
||||
specs[cls, name] = dict(
|
||||
field=name,
|
||||
label=label,
|
||||
type=typ,
|
||||
schema_default=default,
|
||||
unit=unit,
|
||||
limits=limits,
|
||||
effect=effect,
|
||||
evidence=evidence,
|
||||
role=role,
|
||||
)
|
||||
|
||||
assumption = (
|
||||
""
|
||||
if index == 0
|
||||
else (
|
||||
"源图未声明frontendVersion;以下仅以" # 固定说明分段
|
||||
"1.41.20固定官方前端作为保存/恢复参考假设," # 固定说明分段
|
||||
"不能据此证明实际来源或恢复结果。" # 固定说明分段
|
||||
)
|
||||
)
|
||||
spec(
|
||||
"LoadImage",
|
||||
"image",
|
||||
"输入图片",
|
||||
"COMBO",
|
||||
"输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"文件名",
|
||||
"目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
assumption
|
||||
+ (
|
||||
"后端image字段按文件名读取并按EXIF校正、转" # 固定说明分段
|
||||
"RGB,另给MASK;本图MASK未接。源保存名仅" # 固定说明分段
|
||||
"引用,不证明素材存在或图像尺寸。" # 固定说明分段
|
||||
),
|
||||
[load] + front,
|
||||
)
|
||||
spec(
|
||||
"LoadImage",
|
||||
"upload",
|
||||
"上传按钮保存占位",
|
||||
"IMAGEUPLOAD",
|
||||
"前端按钮构造值image;后端无此输入默认",
|
||||
"无(按钮状态)",
|
||||
"上传按钮非后端输入;源保存占位仍原样保留",
|
||||
assumption
|
||||
+ (
|
||||
"官方前端把upload按钮设serialize=f" # 固定说明分段
|
||||
"alse,执行序列化跳过它。源第二保存项image" # 固定说明分段
|
||||
"不能当另一个图像输入或已上传证明;该位置与官方跳过" # 固定说明分段
|
||||
"行为的来源差异未核对。" # 固定说明分段
|
||||
),
|
||||
front,
|
||||
"frontend",
|
||||
)
|
||||
if index == 0:
|
||||
spec(
|
||||
"ImageStitch",
|
||||
"direction",
|
||||
"拼接方向",
|
||||
"COMBO",
|
||||
"right",
|
||||
"方向",
|
||||
"right/down/left/up",
|
||||
"第二图拼在第一图右/下/左/上;16/17当前right组成两行,18当前down上下合并。缺第二图时原样返回第一图。",
|
||||
[stitch],
|
||||
)
|
||||
spec(
|
||||
"ImageStitch",
|
||||
"match_image_size",
|
||||
"匹配图像尺寸",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"无(开关)",
|
||||
"true/false",
|
||||
(
|
||||
"当前true:左右拼接以第一图高度、上下拼接以第一图宽度为基准,保持第二图比"
|
||||
"例并用lanczos重采样。false对非拼接轴居中补边。不同批量重复末图,"
|
||||
"通道不足补1;不保证四格内容等尺寸。"
|
||||
),
|
||||
[stitch],
|
||||
)
|
||||
spec(
|
||||
"ImageStitch",
|
||||
"spacing_width",
|
||||
"拼接间距",
|
||||
"INT",
|
||||
"0",
|
||||
"像素",
|
||||
"schema 0~1024;前端步进2;执行奇数正值加1变偶数",
|
||||
"当前0不插间隔;正值在两图之间加色条,最终整图尺寸还会经过21重采样,不能将本间距直接当最终像素。",
|
||||
[stitch],
|
||||
)
|
||||
spec(
|
||||
"ImageStitch",
|
||||
"spacing_color",
|
||||
"间距颜色",
|
||||
"COMBO",
|
||||
"white",
|
||||
"颜色",
|
||||
"white/black/red/green/blue",
|
||||
"当前白色且间距0,不产生间隔条。match=false补边时标量白/黑用于填充,RGB元组颜色分支补边取0;与正间距彩条行为不同。",
|
||||
[stitch],
|
||||
)
|
||||
spec(
|
||||
"ResizeImageMaskNode",
|
||||
"resize_type",
|
||||
"尺寸调整方式",
|
||||
"DYNAMICCOMBO",
|
||||
"schema未显式default;首选项scale dimensions",
|
||||
"方式",
|
||||
(
|
||||
"scale dimensions / scale by multiplier"
|
||||
" / scale longer dimension / scale shor"
|
||||
"ter dimension / scale width / scale he"
|
||||
"ight / scale total pixels / match size"
|
||||
" / scale to multiple"
|
||||
),
|
||||
(
|
||||
"当前按宽高尺寸分支;动态子控件保留resize_type.width、res"
|
||||
"ize_type.height、resize_type.crop限定名,前端"
|
||||
"重建顺序与后端分支字典分别核对,不构造prompt。"
|
||||
),
|
||||
[resize, scale, dynamic] + front[:3],
|
||||
)
|
||||
for name, label in [("width", "目标宽度"), ("height", "目标高度")]:
|
||||
spec(
|
||||
"ResizeImageMaskNode",
|
||||
"resize_type." + name,
|
||||
label,
|
||||
"INT",
|
||||
"512",
|
||||
"像素",
|
||||
"schema 0~16384,前端步进1;不是输出已验证范围",
|
||||
"当前2048与另一个2048指定画布;一边为0按另一边和源比例计算且至少1,两边0直接返回输入。center处理比例不符;尺寸重采样不是模型超分,实际输出未运行。",
|
||||
[resize, scale, dynamic, max_import, max_value],
|
||||
)
|
||||
spec(
|
||||
"ResizeImageMaskNode",
|
||||
"resize_type.crop",
|
||||
"比例不符时裁剪",
|
||||
"COMBO",
|
||||
"center",
|
||||
"方式",
|
||||
"disabled/center",
|
||||
"当前center按中心裁剪保持比例,可能丢边缘;disabled拉伸到指定尺寸。只在对应尺寸/匹配分支使用,结果需真实素材核对。",
|
||||
[resize, scale, dynamic],
|
||||
)
|
||||
spec(
|
||||
"ResizeImageMaskNode",
|
||||
"scale_method",
|
||||
"重采样方法",
|
||||
"COMBO",
|
||||
"area",
|
||||
"算法",
|
||||
"nearest-exact/bilinear/area/bicubic/lanczos",
|
||||
"当前lanczos交给common_upscale尺寸重采样;schema提示用途不保证画质,无模型权重或推理,不能称模型超分。",
|
||||
[resize, scale],
|
||||
)
|
||||
spec(
|
||||
"SaveImage",
|
||||
"filename_prefix",
|
||||
"保存文件名前缀",
|
||||
"STRING",
|
||||
"ComfyUI",
|
||||
"前缀字符串",
|
||||
"schema未声明长度/数值范围;目录可用性未核对",
|
||||
(
|
||||
"当前ComfyUI,经保存路径函数与批次替换/五位计数形成PNG名称。元数据"
|
||||
"仅在未禁用时写prompt与extra_pnginfo;零类型出口,仅ui."
|
||||
"images文件记录。输出目录未访问、文件未生成。"
|
||||
),
|
||||
[save],
|
||||
)
|
||||
else:
|
||||
details = [
|
||||
(
|
||||
"保存目录",
|
||||
"STRING",
|
||||
"output",
|
||||
"目录字符串",
|
||||
"schema未声明长度或路径范围",
|
||||
(
|
||||
"参考代码os.path.join(输出根,当前output)建立子目录;不是"
|
||||
"已确认目标机路径。绝对目录按join语义可替代输出根,代码未做平台授权确认,"
|
||||
"不触发访问。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"水平张数",
|
||||
"INT",
|
||||
"4",
|
||||
"列",
|
||||
"schema min=1,未声明max或step",
|
||||
"当前3列而默认4;按处理后宽度整除列数,右侧余边不入分块。不能推断真实宽度或每块尺寸。",
|
||||
),
|
||||
(
|
||||
"垂直张数",
|
||||
"INT",
|
||||
"2",
|
||||
"行",
|
||||
"schema min=1,未声明max或step",
|
||||
"当前3行而默认2;按处理后高度整除行数,下侧余边不入分块。按y外循环、x内循环逐行从左到右返回。",
|
||||
),
|
||||
(
|
||||
"移除画布边缘",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"无(开关)",
|
||||
"true/false",
|
||||
"当前true先将首图转RGB,用四角颜色中值、阈值30寻找边界再裁边;false用原图。不承诺智能主体分割、保留Alpha或裁切质量。",
|
||||
),
|
||||
(
|
||||
"移除描边",
|
||||
"INT",
|
||||
"0",
|
||||
"像素/每侧",
|
||||
"schema min=0,未声明max或step;执行另有限幅",
|
||||
"当前8而默认0;正值取min(移除描边,w//2-1,h//2-1),仅限幅后大于0才四边裁切。小块可能不裁,不保证每块恰少16像素。",
|
||||
),
|
||||
(
|
||||
"文件名前缀",
|
||||
"STRING",
|
||||
"孤海图像分割_",
|
||||
"前缀字符串",
|
||||
"schema未声明长度范围;空白字符串回退默认",
|
||||
"当前孤海图像分割_;扫描同前缀/扩展名至少两位数字的既有编号,取最大值+1,至少两位补零继续保存。不是每次从01开始,不保证并发无冲突。",
|
||||
),
|
||||
(
|
||||
"保存格式",
|
||||
"COMBO",
|
||||
"PNG",
|
||||
"格式",
|
||||
"PNG/JPG",
|
||||
(
|
||||
"当前PNG;JPG映射JPEG与jpg扩展名,质量95,必要时RGBA/LA"
|
||||
"转RGB。内部逐块tile.save,随后torch.cat形成图像batc"
|
||||
"h;不是只返回预览,不表示实际文件已经生成。"
|
||||
),
|
||||
),
|
||||
]
|
||||
for name, typ, default, unit, limits, effect in details:
|
||||
spec(
|
||||
"GuHaiAutoImageSplit",
|
||||
name,
|
||||
name,
|
||||
typ,
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[split, crop],
|
||||
)
|
||||
|
||||
fields, comments = [], []
|
||||
for i, n in enumerate(source["nodes"]):
|
||||
if n["type"] == "MarkdownNote":
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=str(n["id"]),
|
||||
pointer=f"/nodes/{i}/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
evidence=[note],
|
||||
meaning="源作者说明四图拼接链和2048×2048意图;不是运行记录、输出尺寸证明或效果保证。",
|
||||
)
|
||||
)
|
||||
continue
|
||||
names = {
|
||||
"LoadImage": ["image", "upload"],
|
||||
"ImageStitch": [
|
||||
"direction",
|
||||
"match_image_size",
|
||||
"spacing_width",
|
||||
"spacing_color",
|
||||
],
|
||||
"ResizeImageMaskNode": [
|
||||
"resize_type",
|
||||
"resize_type.width",
|
||||
"resize_type.height",
|
||||
"resize_type.crop",
|
||||
"scale_method",
|
||||
],
|
||||
"SaveImage": ["filename_prefix"],
|
||||
"GuHaiAutoImageSplit": [
|
||||
"保存目录",
|
||||
"水平张数",
|
||||
"垂直张数",
|
||||
"移除画布边缘",
|
||||
"移除描边",
|
||||
"文件名前缀",
|
||||
"保存格式",
|
||||
],
|
||||
"PreviewImage": [],
|
||||
}[n["type"]]
|
||||
assert len(names) == len(n["widgets_values"])
|
||||
for j, (name, value) in enumerate(zip(names, n["widgets_values"], strict=True)):
|
||||
sp = dict(specs[n["type"], name])
|
||||
sp.update(
|
||||
node_id=str(n["id"]),
|
||||
definition_node_id=str(n["id"]),
|
||||
class_type=n["type"],
|
||||
scope="root",
|
||||
pointer=f"/nodes/{i}/widgets_values/{j}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
execution_note=(
|
||||
"前端按钮保存位置,不是后端运行输入。"
|
||||
if name == "upload"
|
||||
else "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
)
|
||||
+ assumption,
|
||||
)
|
||||
fields.append(sp)
|
||||
assert len(fields) == [26, 9][index] and len(comments) == [1, 0][index]
|
||||
if index == 0:
|
||||
overview = (
|
||||
"把四张图片先左右拼成两行,再上下合并为四宫格,按2" # 固定说明分段
|
||||
"048×2048设置重采样后保存PNG。先核对四张" # 固定说明分段
|
||||
"素材、拼接顺序和中心裁剪;实际画面及文件仍待核对。" # 固定说明分段
|
||||
)
|
||||
flow = [
|
||||
"用途与素材:12/13/14/15保存angle_1/2/3/4.png,仅文件引用,未读取或证明存在。四个MASK均未接;无模型加载、无需编造模型依赖。",
|
||||
"上行:边11/12把12槽0与13槽0送16.image1/image2,right、true、0、white;下行边13/14把14/15送17,同样right。",
|
||||
"合并:边15/16把16/17送18.image1/image2,down、true、0、white,上行在上、下行在下;原批量/通道会影响固定拼接处理。",
|
||||
(
|
||||
"尺寸与保存:边19把18送21.input,scale dimensions"
|
||||
"、2048、2048、center、lanczos;边18把21槽0送Sav"
|
||||
"eImage19.images,前缀ComfyUI。中心裁剪可能丢边缘,尺寸"
|
||||
"重采样不是模型超分。"
|
||||
),
|
||||
"源注释24说2048×2048仅作者意图;无实际运行、输出尺寸或画质证据。SaveImage可能写输出PNG和条件元数据,文件未生成/未检查。",
|
||||
(
|
||||
"来源边界:源声明frontend1.41.20、core0.17.0,九实体"
|
||||
"UE7.7空映射仍不证明无改写;官方固定来源不能替代UE身份/钩子顺序/目标"
|
||||
"安装。此前整图拒绝结论冻结,不删除UE、不产prompt、不新增候选或启用。"
|
||||
),
|
||||
]
|
||||
versions = [
|
||||
"源声明frontend1.41.20=" + FRONT,
|
||||
"源声明core0.17.0=" + CORE17,
|
||||
"UE7.7及目标安装/素材/运行效果未知;空映射不是无改写证明。",
|
||||
]
|
||||
zeros = []
|
||||
else:
|
||||
overview = (
|
||||
"把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会"
|
||||
"保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件"
|
||||
"待核对。"
|
||||
)
|
||||
flow = [
|
||||
(
|
||||
"素材与连线:LoadImage1保存Image (4) (1).png,仅源"
|
||||
"文件名,未读取/核对;MASK未接。边1为1槽0→2.图像,边2为2槽0→3"
|
||||
".images,无模型依赖。"
|
||||
),
|
||||
"七项现值依次为output、3、3、true、8、孤海图像分割_、PNG;固定schema默认4列2行、描边0,不能拿默认覆盖源当前3×3和8。",
|
||||
(
|
||||
"参考实现只处理图像[0],先转uint8;开关true调用四角中值/阈值30"
|
||||
"裁边(RGB),不承诺智能主体分割或透明通道。尺寸整除分块,右/下余边被舍弃"
|
||||
";y外x内逐行从左到右。"
|
||||
),
|
||||
"正描边限幅min(8,w//2-1,h//2-1),只有结果大于0才裁;未知真实宽高,不能推断裁切效果或每块尺寸。schema未声明max不能编范围。",
|
||||
(
|
||||
"保存副作用:输出根join当前output子目录,os.makedirs并逐"
|
||||
"块tile.save;绝对路径的join行为不等于目标路径访问授权。空白前缀"
|
||||
"回退孤海图像分割_,按同前缀/扩展名至少两位数字最大编号续号;PNG或JPG"
|
||||
"(JPEG质量95)。最后torch.cat返回图像batch。"
|
||||
),
|
||||
(
|
||||
"PreviewImage3零保存值,固定core0.21.1继承SaveIm"
|
||||
"age的RETURN_TYPES=(),写temp PNG/随机后缀并返回u"
|
||||
"i.images;源图却保存IMAGE出口,这是既有真实拒因,转换仍关闭。插"
|
||||
"件内部保存与临时预览是两种写文件行为,本轮均未执行,不称全程仅预览无写入。"
|
||||
),
|
||||
(
|
||||
"来源边界:core0.21.1与GuHai完整commit按源声明固定;插件"
|
||||
"完整tree/注册/JS作用域已留档,只读不执行,许可unknown。没有f"
|
||||
"rontendVersion,1.41.20只作明确前端参考假设;UE7.8"
|
||||
"/目标安装/钩子顺序未知,不借其它图证明。"
|
||||
),
|
||||
"拒绝策略不变:不修原图、不去出口、不补注册或拼部分prompt制造成功;本轮新增转换0,保持停用/依赖未检查/未定稿/未实跑。",
|
||||
]
|
||||
versions = [
|
||||
"源声明core0.21.1=" + CORE21,
|
||||
"源声明goohai/Goohaitools-comfyui=" + GUHAI + ";许可未知、安装未知。",
|
||||
"源未声明frontendVersion;仅参考假设frontend1.41.20="
|
||||
+ FRONT
|
||||
+ ",不证明实际保存/恢复。UE7.8未知。",
|
||||
]
|
||||
zeros = [dict(node_id="3", class_type="PreviewImage", effect=flow[5], evidence=[save])]
|
||||
flow += [
|
||||
"源物理边 " + str(i) + ":" + json.dumps(edge, ensure_ascii=False)
|
||||
for i, edge in enumerate(source["links"])
|
||||
]
|
||||
return dict(
|
||||
source_path=path,
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(source)).hexdigest(),
|
||||
notice="固定版本参考说明,目标环境、素材、实际效果未核对,转换仍关闭。",
|
||||
user_overview=overview,
|
||||
versions=versions,
|
||||
counts=dict(
|
||||
saved_fields=len(fields),
|
||||
linked_saved_fields=0,
|
||||
frontend_only=sum(f["role"] == "frontend" for f in fields),
|
||||
source_notes=len(comments),
|
||||
source_nodes=len(source["nodes"]),
|
||||
physical_edges=len(source["links"]),
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=refs,
|
||||
comments=comments,
|
||||
zero_saved_nodes=zeros,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(refs))),
|
||||
steps=[
|
||||
"准备并核对输入素材;本轮仅保存源引用,没有读取图片或运行处理。",
|
||||
overview,
|
||||
"按下方逐项说明核对源现值、定义默认、单位、范围及连线;没有模型依赖,不下载权重。",
|
||||
"未来授权运行后再核对拼接/裁边/裁切画面和真实保存文件;当前停用、未定稿、未验证实跑。",
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,913 @@
|
||||
{
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"source_sha1": "209bf15254bb18d736c75c844de8f8381d953fe5",
|
||||
"source_sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb",
|
||||
"canonical_sha256": "66bcea8218d28e82661f64c32e0f54b1109d3cab38cabb61dcd7e2b6712c96b8",
|
||||
"notice": "固定版本参考说明,目标环境、素材、实际效果未核对,转换仍关闭。",
|
||||
"user_overview": "把四张图片先左右拼成两行,再上下合并为四宫格,按2048×2048设置重采样后保存PNG。先核对四张素材、拼接顺序和中心裁剪;实际画面及文件仍待核对。",
|
||||
"versions": [
|
||||
"源声明frontend1.41.20=f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"源声明core0.17.0=63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"UE7.7及目标安装/素材/运行效果未知;空映射不是无改写证明。"
|
||||
],
|
||||
"counts": {
|
||||
"saved_fields": 26,
|
||||
"linked_saved_fields": 0,
|
||||
"frontend_only": 4,
|
||||
"source_notes": 1,
|
||||
"source_nodes": 10,
|
||||
"physical_edges": 8,
|
||||
"final_scalars": 0,
|
||||
"final_prompt_constructed": false
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "image",
|
||||
"label": "输入图片",
|
||||
"type": "COMBO",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"unit": "文件名",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"effect": "后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "12",
|
||||
"definition_node_id": "12",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/0/widgets_values/0",
|
||||
"value": "angle_1.png",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "upload",
|
||||
"label": "上传按钮保存占位",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"unit": "无(按钮状态)",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"effect": "官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "frontend",
|
||||
"node_id": "12",
|
||||
"definition_node_id": "12",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/0/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。"
|
||||
},
|
||||
{
|
||||
"field": "image",
|
||||
"label": "输入图片",
|
||||
"type": "COMBO",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"unit": "文件名",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"effect": "后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "13",
|
||||
"definition_node_id": "13",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"value": "angle_2.png",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "upload",
|
||||
"label": "上传按钮保存占位",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"unit": "无(按钮状态)",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"effect": "官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "frontend",
|
||||
"node_id": "13",
|
||||
"definition_node_id": "13",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。"
|
||||
},
|
||||
{
|
||||
"field": "direction",
|
||||
"label": "拼接方向",
|
||||
"type": "COMBO",
|
||||
"schema_default": "right",
|
||||
"unit": "方向",
|
||||
"limits": "right/down/left/up",
|
||||
"effect": "第二图拼在第一图右/下/左/上;16/17当前right组成两行,18当前down上下合并。缺第二图时原样返回第一图。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "16",
|
||||
"definition_node_id": "16",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"value": "right",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "match_image_size",
|
||||
"label": "匹配图像尺寸",
|
||||
"type": "BOOLEAN",
|
||||
"schema_default": "true",
|
||||
"unit": "无(开关)",
|
||||
"limits": "true/false",
|
||||
"effect": "当前true:左右拼接以第一图高度、上下拼接以第一图宽度为基准,保持第二图比例并用lanczos重采样。false对非拼接轴居中补边。不同批量重复末图,通道不足补1;不保证四格内容等尺寸。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "16",
|
||||
"definition_node_id": "16",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_width",
|
||||
"label": "拼接间距",
|
||||
"type": "INT",
|
||||
"schema_default": "0",
|
||||
"unit": "像素",
|
||||
"limits": "schema 0~1024;前端步进2;执行奇数正值加1变偶数",
|
||||
"effect": "当前0不插间隔;正值在两图之间加色条,最终整图尺寸还会经过21重采样,不能将本间距直接当最终像素。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "16",
|
||||
"definition_node_id": "16",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/2",
|
||||
"value": 0,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_color",
|
||||
"label": "间距颜色",
|
||||
"type": "COMBO",
|
||||
"schema_default": "white",
|
||||
"unit": "颜色",
|
||||
"limits": "white/black/red/green/blue",
|
||||
"effect": "当前白色且间距0,不产生间隔条。match=false补边时标量白/黑用于填充,RGB元组颜色分支补边取0;与正间距彩条行为不同。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "16",
|
||||
"definition_node_id": "16",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/3",
|
||||
"value": "white",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "resize_type",
|
||||
"label": "尺寸调整方式",
|
||||
"type": "DYNAMICCOMBO",
|
||||
"schema_default": "schema未显式default;首选项scale dimensions",
|
||||
"unit": "方式",
|
||||
"limits": "scale dimensions / scale by multiplier / scale longer dimension / scale shorter dimension / scale width / scale height / scale total pixels / match size / scale to multiple",
|
||||
"effect": "当前按宽高尺寸分支;动态子控件保留resize_type.width、resize_type.height、resize_type.crop限定名,前端重建顺序与后端分支字典分别核对,不构造prompt。",
|
||||
"evidence": [
|
||||
7,
|
||||
8,
|
||||
10,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "21",
|
||||
"definition_node_id": "21",
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"value": "scale dimensions",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "resize_type.width",
|
||||
"label": "目标宽度",
|
||||
"type": "INT",
|
||||
"schema_default": "512",
|
||||
"unit": "像素",
|
||||
"limits": "schema 0~16384,前端步进1;不是输出已验证范围",
|
||||
"effect": "当前2048与另一个2048指定画布;一边为0按另一边和源比例计算且至少1,两边0直接返回输入。center处理比例不符;尺寸重采样不是模型超分,实际输出未运行。",
|
||||
"evidence": [
|
||||
7,
|
||||
8,
|
||||
10,
|
||||
11,
|
||||
12
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "21",
|
||||
"definition_node_id": "21",
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/3/widgets_values/1",
|
||||
"value": 2048,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "resize_type.height",
|
||||
"label": "目标高度",
|
||||
"type": "INT",
|
||||
"schema_default": "512",
|
||||
"unit": "像素",
|
||||
"limits": "schema 0~16384,前端步进1;不是输出已验证范围",
|
||||
"effect": "当前2048与另一个2048指定画布;一边为0按另一边和源比例计算且至少1,两边0直接返回输入。center处理比例不符;尺寸重采样不是模型超分,实际输出未运行。",
|
||||
"evidence": [
|
||||
7,
|
||||
8,
|
||||
10,
|
||||
11,
|
||||
12
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "21",
|
||||
"definition_node_id": "21",
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/3/widgets_values/2",
|
||||
"value": 2048,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "resize_type.crop",
|
||||
"label": "比例不符时裁剪",
|
||||
"type": "COMBO",
|
||||
"schema_default": "center",
|
||||
"unit": "方式",
|
||||
"limits": "disabled/center",
|
||||
"effect": "当前center按中心裁剪保持比例,可能丢边缘;disabled拉伸到指定尺寸。只在对应尺寸/匹配分支使用,结果需真实素材核对。",
|
||||
"evidence": [
|
||||
7,
|
||||
8,
|
||||
10
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "21",
|
||||
"definition_node_id": "21",
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/3/widgets_values/3",
|
||||
"value": "center",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "scale_method",
|
||||
"label": "重采样方法",
|
||||
"type": "COMBO",
|
||||
"schema_default": "area",
|
||||
"unit": "算法",
|
||||
"limits": "nearest-exact/bilinear/area/bicubic/lanczos",
|
||||
"effect": "当前lanczos交给common_upscale尺寸重采样;schema提示用途不保证画质,无模型权重或推理,不能称模型超分。",
|
||||
"evidence": [
|
||||
7,
|
||||
8
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "21",
|
||||
"definition_node_id": "21",
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/3/widgets_values/4",
|
||||
"value": "lanczos",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "direction",
|
||||
"label": "拼接方向",
|
||||
"type": "COMBO",
|
||||
"schema_default": "right",
|
||||
"unit": "方向",
|
||||
"limits": "right/down/left/up",
|
||||
"effect": "第二图拼在第一图右/下/左/上;16/17当前right组成两行,18当前down上下合并。缺第二图时原样返回第一图。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "18",
|
||||
"definition_node_id": "18",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"value": "down",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "match_image_size",
|
||||
"label": "匹配图像尺寸",
|
||||
"type": "BOOLEAN",
|
||||
"schema_default": "true",
|
||||
"unit": "无(开关)",
|
||||
"limits": "true/false",
|
||||
"effect": "当前true:左右拼接以第一图高度、上下拼接以第一图宽度为基准,保持第二图比例并用lanczos重采样。false对非拼接轴居中补边。不同批量重复末图,通道不足补1;不保证四格内容等尺寸。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "18",
|
||||
"definition_node_id": "18",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/4/widgets_values/1",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_width",
|
||||
"label": "拼接间距",
|
||||
"type": "INT",
|
||||
"schema_default": "0",
|
||||
"unit": "像素",
|
||||
"limits": "schema 0~1024;前端步进2;执行奇数正值加1变偶数",
|
||||
"effect": "当前0不插间隔;正值在两图之间加色条,最终整图尺寸还会经过21重采样,不能将本间距直接当最终像素。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "18",
|
||||
"definition_node_id": "18",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/4/widgets_values/2",
|
||||
"value": 0,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_color",
|
||||
"label": "间距颜色",
|
||||
"type": "COMBO",
|
||||
"schema_default": "white",
|
||||
"unit": "颜色",
|
||||
"limits": "white/black/red/green/blue",
|
||||
"effect": "当前白色且间距0,不产生间隔条。match=false补边时标量白/黑用于填充,RGB元组颜色分支补边取0;与正间距彩条行为不同。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "18",
|
||||
"definition_node_id": "18",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/4/widgets_values/3",
|
||||
"value": "white",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "direction",
|
||||
"label": "拼接方向",
|
||||
"type": "COMBO",
|
||||
"schema_default": "right",
|
||||
"unit": "方向",
|
||||
"limits": "right/down/left/up",
|
||||
"effect": "第二图拼在第一图右/下/左/上;16/17当前right组成两行,18当前down上下合并。缺第二图时原样返回第一图。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "17",
|
||||
"definition_node_id": "17",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/5/widgets_values/0",
|
||||
"value": "right",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "match_image_size",
|
||||
"label": "匹配图像尺寸",
|
||||
"type": "BOOLEAN",
|
||||
"schema_default": "true",
|
||||
"unit": "无(开关)",
|
||||
"limits": "true/false",
|
||||
"effect": "当前true:左右拼接以第一图高度、上下拼接以第一图宽度为基准,保持第二图比例并用lanczos重采样。false对非拼接轴居中补边。不同批量重复末图,通道不足补1;不保证四格内容等尺寸。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "17",
|
||||
"definition_node_id": "17",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/5/widgets_values/1",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_width",
|
||||
"label": "拼接间距",
|
||||
"type": "INT",
|
||||
"schema_default": "0",
|
||||
"unit": "像素",
|
||||
"limits": "schema 0~1024;前端步进2;执行奇数正值加1变偶数",
|
||||
"effect": "当前0不插间隔;正值在两图之间加色条,最终整图尺寸还会经过21重采样,不能将本间距直接当最终像素。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "17",
|
||||
"definition_node_id": "17",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/5/widgets_values/2",
|
||||
"value": 0,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "spacing_color",
|
||||
"label": "间距颜色",
|
||||
"type": "COMBO",
|
||||
"schema_default": "white",
|
||||
"unit": "颜色",
|
||||
"limits": "white/black/red/green/blue",
|
||||
"effect": "当前白色且间距0,不产生间隔条。match=false补边时标量白/黑用于填充,RGB元组颜色分支补边取0;与正间距彩条行为不同。",
|
||||
"evidence": [
|
||||
6
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "17",
|
||||
"definition_node_id": "17",
|
||||
"class_type": "ImageStitch",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/5/widgets_values/3",
|
||||
"value": "white",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "filename_prefix",
|
||||
"label": "保存文件名前缀",
|
||||
"type": "STRING",
|
||||
"schema_default": "ComfyUI",
|
||||
"unit": "前缀字符串",
|
||||
"limits": "schema未声明长度/数值范围;目录可用性未核对",
|
||||
"effect": "当前ComfyUI,经保存路径函数与批次替换/五位计数形成PNG名称。元数据仅在未禁用时写prompt与extra_pnginfo;零类型出口,仅ui.images文件记录。输出目录未访问、文件未生成。",
|
||||
"evidence": [
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "19",
|
||||
"definition_node_id": "19",
|
||||
"class_type": "SaveImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/6/widgets_values/0",
|
||||
"value": "ComfyUI",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "image",
|
||||
"label": "输入图片",
|
||||
"type": "COMBO",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"unit": "文件名",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"effect": "后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "14",
|
||||
"definition_node_id": "14",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/7/widgets_values/0",
|
||||
"value": "angle_3.png",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "upload",
|
||||
"label": "上传按钮保存占位",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"unit": "无(按钮状态)",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"effect": "官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "frontend",
|
||||
"node_id": "14",
|
||||
"definition_node_id": "14",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/7/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。"
|
||||
},
|
||||
{
|
||||
"field": "image",
|
||||
"label": "输入图片",
|
||||
"type": "COMBO",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"unit": "文件名",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"effect": "后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "15",
|
||||
"definition_node_id": "15",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/9/widgets_values/0",
|
||||
"value": "angle_4.png",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。"
|
||||
},
|
||||
{
|
||||
"field": "upload",
|
||||
"label": "上传按钮保存占位",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"unit": "无(按钮状态)",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"effect": "官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "frontend",
|
||||
"node_id": "15",
|
||||
"definition_node_id": "15",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/9/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
900,
|
||||
925
|
||||
],
|
||||
"claim": "按保存顺序恢复控件值"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
960,
|
||||
978
|
||||
],
|
||||
"claim": "工作流保存跳过serialize=false控件"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/utils/executionUtil.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/utils/executionUtil.ts",
|
||||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
"lines": [
|
||||
95,
|
||||
126
|
||||
],
|
||||
"claim": "API序列化跳过serialize=false,按控件名称取值并核对连线"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/extensions/core/uploadImage.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
"lines": [
|
||||
10,
|
||||
40
|
||||
],
|
||||
"claim": "媒体COMBO增强upload按钮"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"sha256": "318c8134c2499a4ee33d07bb8aff029b5d02f503b6e217f874e5dc0f5d9b69bc",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||||
"lines": [
|
||||
34,
|
||||
115
|
||||
],
|
||||
"claim": "文件控件和上传按钮image占位;serialize=false"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
1702,
|
||||
1779
|
||||
],
|
||||
"claim": "0.17 LoadImage动态文件列表、IMAGE/MASK与文件检查"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_images.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_images.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_images.py",
|
||||
"sha256": "40f22183dcbc9f871030145ca33d52f3dd9d8f64b21ceb071c2fdf6cd49ff501",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_images.py",
|
||||
"lines": [
|
||||
253,
|
||||
430
|
||||
],
|
||||
"claim": "拼接schema、匹配尺寸、填充/间距/批量和方向"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
406,
|
||||
505
|
||||
],
|
||||
"claim": "尺寸动态schema、默认/范围和分支执行"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
250,
|
||||
303
|
||||
],
|
||||
"claim": "scale dimensions枚举和0尺寸分支及重采样"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
1629,
|
||||
1685
|
||||
],
|
||||
"claim": "SaveImage默认前缀、PNG元数据条件、命名与UI响应"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"sha256": "c51c658cc04b1017390c63cd4fd44c16646c28244f11154f8f3926cf9104d51f",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"lines": [
|
||||
71,
|
||||
201
|
||||
],
|
||||
"claim": "动态COMBO以resize_type限定名创建/恢复子控件"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "MAX_RESOLUTION从nodes导入"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
50,
|
||||
58
|
||||
],
|
||||
"claim": "MAX_RESOLUTION=16384"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
660,
|
||||
679
|
||||
],
|
||||
"claim": "ResizeImageMaskNode静态extension注册"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:comfy_extras/nodes_images.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_images.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_images.py",
|
||||
"sha256": "40f22183dcbc9f871030145ca33d52f3dd9d8f64b21ceb071c2fdf6cd49ff501",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_images.py",
|
||||
"lines": [
|
||||
825,
|
||||
849
|
||||
],
|
||||
"claim": "ImageStitch静态extension注册"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
2030,
|
||||
2055
|
||||
],
|
||||
"claim": "LoadImage/SaveImage内置注册"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
2300,
|
||||
2430
|
||||
],
|
||||
"claim": "扩展加载与内置模块清单;不证明目标安装"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/extensions/core/noteNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/noteNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/noteNode.ts",
|
||||
"sha256": "1014f719e3d67d9c5183a5e8631d4c2d6581dfe67083f32eb23774ec3074bef2",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__noteNode.ts",
|
||||
"lines": [
|
||||
1,
|
||||
84
|
||||
],
|
||||
"claim": "MarkdownNote前端注释,不当运行参数"
|
||||
}
|
||||
],
|
||||
"comments": [
|
||||
{
|
||||
"node_id": "24",
|
||||
"pointer": "/nodes/8/widgets_values/0",
|
||||
"text": "# Image Stitch Grid Workflow\n\n4 images → 2×2 grid → saved at 2048×2048.\n\n**How it chains:**\n1. `Image Stitch (right)` — joins top-left + top-right into a row\n2. `Image Stitch (right)` — joins bottom-left + bottom-right into a row\n3. `Image Stitch (down)` — stacks both rows into the final grid\n\n**Key settings:**\n- `direction` — `right` for horizontal, `down` for vertical\n- `match_image_size: ON` — auto-resizes mismatched inputs",
|
||||
"evidence": [
|
||||
17
|
||||
],
|
||||
"meaning": "源作者说明四图拼接链和2048×2048意图;不是运行记录、输出尺寸证明或效果保证。"
|
||||
}
|
||||
],
|
||||
"zero_saved_nodes": [],
|
||||
"flow": [
|
||||
"用途与素材:12/13/14/15保存angle_1/2/3/4.png,仅文件引用,未读取或证明存在。四个MASK均未接;无模型加载、无需编造模型依赖。",
|
||||
"上行:边11/12把12槽0与13槽0送16.image1/image2,right、true、0、white;下行边13/14把14/15送17,同样right。",
|
||||
"合并:边15/16把16/17送18.image1/image2,down、true、0、white,上行在上、下行在下;原批量/通道会影响固定拼接处理。",
|
||||
"尺寸与保存:边19把18送21.input,scale dimensions、2048、2048、center、lanczos;边18把21槽0送SaveImage19.images,前缀ComfyUI。中心裁剪可能丢边缘,尺寸重采样不是模型超分。",
|
||||
"源注释24说2048×2048仅作者意图;无实际运行、输出尺寸或画质证据。SaveImage可能写输出PNG和条件元数据,文件未生成/未检查。",
|
||||
"来源边界:源声明frontend1.41.20、core0.17.0,九实体UE7.7空映射仍不证明无改写;官方固定来源不能替代UE身份/钩子顺序/目标安装。此前整图拒绝结论冻结,不删除UE、不产prompt、不新增候选或启用。",
|
||||
"源物理边 0:[11, 12, 0, 16, 0, \"IMAGE\"]",
|
||||
"源物理边 1:[12, 13, 0, 16, 1, \"IMAGE\"]",
|
||||
"源物理边 2:[13, 14, 0, 17, 0, \"IMAGE\"]",
|
||||
"源物理边 3:[14, 15, 0, 17, 1, \"IMAGE\"]",
|
||||
"源物理边 4:[15, 16, 0, 18, 0, \"IMAGE\"]",
|
||||
"源物理边 5:[16, 17, 0, 18, 1, \"IMAGE\"]",
|
||||
"源物理边 6:[18, 21, 0, 19, 0, \"IMAGE\"]",
|
||||
"源物理边 7:[19, 18, 0, 21, 0, \"IMAGE\"]"
|
||||
],
|
||||
"flow_evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17
|
||||
],
|
||||
"steps": [
|
||||
"准备并核对输入素材;本轮仅保存源引用,没有读取图片或运行处理。",
|
||||
"把四张图片先左右拼成两行,再上下合并为四宫格,按2048×2048设置重采样后保存PNG。先核对四张素材、拼接顺序和中心裁剪;实际画面及文件仍待核对。",
|
||||
"按下方逐项说明核对源现值、定义默认、单位、范围及连线;没有模型依赖,不下载权重。",
|
||||
"未来授权运行后再核对拼接/裁边/裁切画面和真实保存文件;当前停用、未定稿、未验证实跑。"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,515 @@
|
||||
{
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"source_sha1": "bf31676bcd4e3656f0bc4fc33b3cc76ac03ceb0b",
|
||||
"source_sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc",
|
||||
"canonical_sha256": "137b4d4b16649606e8a6ae4c71ed2173822463774f4d0412f137dc6f73118de0",
|
||||
"notice": "固定版本参考说明,目标环境、素材、实际效果未核对,转换仍关闭。",
|
||||
"user_overview": "把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件待核对。",
|
||||
"versions": [
|
||||
"源声明core0.21.1=26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"源声明goohai/Goohaitools-comfyui=885cac3dd323d26a77b69ae904a9a344f0dee7d0;许可未知、安装未知。",
|
||||
"源未声明frontendVersion;仅参考假设frontend1.41.20=f2254852b2a575b30cc1cde46742a89afbfac252,不证明实际保存/恢复。UE7.8未知。"
|
||||
],
|
||||
"counts": {
|
||||
"saved_fields": 9,
|
||||
"linked_saved_fields": 0,
|
||||
"frontend_only": 1,
|
||||
"source_notes": 0,
|
||||
"source_nodes": 3,
|
||||
"physical_edges": 2,
|
||||
"final_scalars": 0,
|
||||
"final_prompt_constructed": false
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "保存目录",
|
||||
"label": "保存目录",
|
||||
"type": "STRING",
|
||||
"schema_default": "output",
|
||||
"unit": "目录字符串",
|
||||
"limits": "schema未声明长度或路径范围",
|
||||
"effect": "参考代码os.path.join(输出根,当前output)建立子目录;不是已确认目标机路径。绝对目录按join语义可替代输出根,代码未做平台授权确认,不触发访问。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"value": "output",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "水平张数",
|
||||
"label": "水平张数",
|
||||
"type": "INT",
|
||||
"schema_default": "4",
|
||||
"unit": "列",
|
||||
"limits": "schema min=1,未声明max或step",
|
||||
"effect": "当前3列而默认4;按处理后宽度整除列数,右侧余边不入分块。不能推断真实宽度或每块尺寸。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/1",
|
||||
"value": 3,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "垂直张数",
|
||||
"label": "垂直张数",
|
||||
"type": "INT",
|
||||
"schema_default": "2",
|
||||
"unit": "行",
|
||||
"limits": "schema min=1,未声明max或step",
|
||||
"effect": "当前3行而默认2;按处理后高度整除行数,下侧余边不入分块。按y外循环、x内循环逐行从左到右返回。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/2",
|
||||
"value": 3,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "移除画布边缘",
|
||||
"label": "移除画布边缘",
|
||||
"type": "BOOLEAN",
|
||||
"schema_default": "true",
|
||||
"unit": "无(开关)",
|
||||
"limits": "true/false",
|
||||
"effect": "当前true先将首图转RGB,用四角颜色中值、阈值30寻找边界再裁边;false用原图。不承诺智能主体分割、保留Alpha或裁切质量。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/3",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "移除描边",
|
||||
"label": "移除描边",
|
||||
"type": "INT",
|
||||
"schema_default": "0",
|
||||
"unit": "像素/每侧",
|
||||
"limits": "schema min=0,未声明max或step;执行另有限幅",
|
||||
"effect": "当前8而默认0;正值取min(移除描边,w//2-1,h//2-1),仅限幅后大于0才四边裁切。小块可能不裁,不保证每块恰少16像素。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/4",
|
||||
"value": 8,
|
||||
"json_type": "int",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "文件名前缀",
|
||||
"label": "文件名前缀",
|
||||
"type": "STRING",
|
||||
"schema_default": "孤海图像分割_",
|
||||
"unit": "前缀字符串",
|
||||
"limits": "schema未声明长度范围;空白字符串回退默认",
|
||||
"effect": "当前孤海图像分割_;扫描同前缀/扩展名至少两位数字的既有编号,取最大值+1,至少两位补零继续保存。不是每次从01开始,不保证并发无冲突。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/5",
|
||||
"value": "孤海图像分割_",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "保存格式",
|
||||
"label": "保存格式",
|
||||
"type": "COMBO",
|
||||
"schema_default": "PNG",
|
||||
"unit": "格式",
|
||||
"limits": "PNG/JPG",
|
||||
"effect": "当前PNG;JPG映射JPEG与jpg扩展名,质量95,必要时RGBA/LA转RGB。内部逐块tile.save,随后torch.cat形成图像batch;不是只返回预览,不表示实际文件已经生成。",
|
||||
"evidence": [
|
||||
8,
|
||||
9
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "2",
|
||||
"definition_node_id": "2",
|
||||
"class_type": "GuHaiAutoImageSplit",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/1/widgets_values/6",
|
||||
"value": "PNG",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "image",
|
||||
"label": "输入图片",
|
||||
"type": "COMBO",
|
||||
"schema_default": "输入目录过滤后的排序文件列表;无固定文件默认",
|
||||
"unit": "文件名",
|
||||
"limits": "目标输入目录动态选项;本轮未核对文件存在或读取图片",
|
||||
"effect": "源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。后端image字段按文件名读取并按EXIF校正、转RGB,另给MASK;本图MASK未接。源保存名仅引用,不证明素材存在或图像尺寸。",
|
||||
"evidence": [
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "scalar",
|
||||
"node_id": "1",
|
||||
"definition_node_id": "1",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"value": "Image (4) (1).png",
|
||||
"json_type": "str",
|
||||
"execution_note": "源保存值;固定参考含义不证明目标运行输入、安装或实际效果。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
},
|
||||
{
|
||||
"field": "upload",
|
||||
"label": "上传按钮保存占位",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"schema_default": "前端按钮构造值image;后端无此输入默认",
|
||||
"unit": "无(按钮状态)",
|
||||
"limits": "上传按钮非后端输入;源保存占位仍原样保留",
|
||||
"effect": "源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。官方前端把upload按钮设serialize=false,执行序列化跳过它。源第二保存项image不能当另一个图像输入或已上传证明;该位置与官方跳过行为的来源差异未核对。",
|
||||
"evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"role": "frontend",
|
||||
"node_id": "1",
|
||||
"definition_node_id": "1",
|
||||
"class_type": "LoadImage",
|
||||
"scope": "root",
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"execution_note": "前端按钮保存位置,不是后端运行输入。源图未声明frontendVersion;以下仅以1.41.20固定官方前端作为保存/恢复参考假设,不能据此证明实际来源或恢复结果。"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
900,
|
||||
925
|
||||
],
|
||||
"claim": "按保存顺序恢复控件值"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
960,
|
||||
978
|
||||
],
|
||||
"claim": "工作流保存跳过serialize=false控件"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/utils/executionUtil.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/utils/executionUtil.ts",
|
||||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
"lines": [
|
||||
95,
|
||||
126
|
||||
],
|
||||
"claim": "API序列化跳过serialize=false,按控件名称取值并核对连线"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/extensions/core/uploadImage.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
"lines": [
|
||||
10,
|
||||
40
|
||||
],
|
||||
"claim": "媒体COMBO增强upload按钮"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI_frontend:src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"sha256": "318c8134c2499a4ee33d07bb8aff029b5d02f503b6e217f874e5dc0f5d9b69bc",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||||
"lines": [
|
||||
34,
|
||||
115
|
||||
],
|
||||
"claim": "文件控件和上传按钮image占位;serialize=false"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
1681,
|
||||
1756
|
||||
],
|
||||
"claim": "0.21.1 LoadImage动态文件列表、解码与文件校验"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
1608,
|
||||
1679
|
||||
],
|
||||
"claim": "SaveImage零RETURN_TYPES;PreviewImage继承并改temp/随机后缀/压缩"
|
||||
},
|
||||
{
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
2009,
|
||||
2030
|
||||
],
|
||||
"claim": "PreviewImage/LoadImage内置注册"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"lines": [
|
||||
54,
|
||||
172
|
||||
],
|
||||
"claim": "七中文输入schema、首图分块、内部保存、batch返回和注册"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"lines": [
|
||||
8,
|
||||
52
|
||||
],
|
||||
"claim": "四角中值背景、阈值30及裁边;不承诺主体分割"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:__init__.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "__init__.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/__init__.py",
|
||||
"sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952",
|
||||
"local_file": "../crop-split-reference/guhai____init__.py",
|
||||
"lines": [
|
||||
10,
|
||||
49
|
||||
],
|
||||
"claim": "WEB_DIRECTORY、动态发现模块和注册合并"
|
||||
},
|
||||
{
|
||||
"id": "GuHai fixed full tree",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "git-tree",
|
||||
"url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/885cac3dd323d26a77b69ae904a9a344f0dee7d0?recursive=1",
|
||||
"sha256": "570d35a60ce093d2a62d4a6d4575af4e51d577948207cb82963a302a721dcff4",
|
||||
"local_file": "../crop-split-reference/guhai-tree.json",
|
||||
"lines": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"claim": "完整固定tree未截断;原件元数据,不证明许可或目标安装"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/BOOLEAN.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/BOOLEAN.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/BOOLEAN.js",
|
||||
"sha256": "184ddb889362c770eff98bba23579b35e24c3a4dd684b97bfc588f42dfbe6d64",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__BOOLEAN.js",
|
||||
"lines": [
|
||||
1,
|
||||
230
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/GoohaiNote.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/GoohaiNote.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/GoohaiNote.js",
|
||||
"sha256": "5fb1f66f76e5519990afd400f315e209fdc36ed05beb1a8a56348d4830a47ae9",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__GoohaiNote.js",
|
||||
"lines": [
|
||||
1,
|
||||
930
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/colorWidget.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/colorWidget.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/colorWidget.js",
|
||||
"sha256": "7e1e02baa9ab773bdbb9247925fec87a07b5309ce1ef35dfdfdec15c5b2eef26",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__colorWidget.js",
|
||||
"lines": [
|
||||
1,
|
||||
126
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/goohai_universal_slider.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/goohai_universal_slider.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/goohai_universal_slider.js",
|
||||
"sha256": "e93df36fcf4ecd0d4eb264518582da4cfb4df25ae915c796bb9cb749731f8f7e",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__goohai_universal_slider.js",
|
||||
"lines": [
|
||||
1,
|
||||
615
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/id_photo_clothing.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/id_photo_clothing.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/id_photo_clothing.js",
|
||||
"sha256": "11e6ccd015b17dd5c6ca2010829075372b751b898d21e3f61abe347c4f51d144",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__id_photo_clothing.js",
|
||||
"lines": [
|
||||
1,
|
||||
755
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/nodes pass.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/nodes pass.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/nodes%20pass.js",
|
||||
"sha256": "17ab7504fef7aaaa2e3cf72028eaa5d9aa1e6688ba75fe434fc8f40e11d27130",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__nodes pass.js",
|
||||
"lines": [
|
||||
1,
|
||||
908
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
}
|
||||
],
|
||||
"comments": [],
|
||||
"zero_saved_nodes": [
|
||||
{
|
||||
"node_id": "3",
|
||||
"class_type": "PreviewImage",
|
||||
"effect": "PreviewImage3零保存值,固定core0.21.1继承SaveImage的RETURN_TYPES=(),写temp PNG/随机后缀并返回ui.images;源图却保存IMAGE出口,这是既有真实拒因,转换仍关闭。插件内部保存与临时预览是两种写文件行为,本轮均未执行,不称全程仅预览无写入。",
|
||||
"evidence": [
|
||||
6
|
||||
]
|
||||
}
|
||||
],
|
||||
"flow": [
|
||||
"素材与连线:LoadImage1保存Image (4) (1).png,仅源文件名,未读取/核对;MASK未接。边1为1槽0→2.图像,边2为2槽0→3.images,无模型依赖。",
|
||||
"七项现值依次为output、3、3、true、8、孤海图像分割_、PNG;固定schema默认4列2行、描边0,不能拿默认覆盖源当前3×3和8。",
|
||||
"参考实现只处理图像[0],先转uint8;开关true调用四角中值/阈值30裁边(RGB),不承诺智能主体分割或透明通道。尺寸整除分块,右/下余边被舍弃;y外x内逐行从左到右。",
|
||||
"正描边限幅min(8,w//2-1,h//2-1),只有结果大于0才裁;未知真实宽高,不能推断裁切效果或每块尺寸。schema未声明max不能编范围。",
|
||||
"保存副作用:输出根join当前output子目录,os.makedirs并逐块tile.save;绝对路径的join行为不等于目标路径访问授权。空白前缀回退孤海图像分割_,按同前缀/扩展名至少两位数字最大编号续号;PNG或JPG(JPEG质量95)。最后torch.cat返回图像batch。",
|
||||
"PreviewImage3零保存值,固定core0.21.1继承SaveImage的RETURN_TYPES=(),写temp PNG/随机后缀并返回ui.images;源图却保存IMAGE出口,这是既有真实拒因,转换仍关闭。插件内部保存与临时预览是两种写文件行为,本轮均未执行,不称全程仅预览无写入。",
|
||||
"来源边界:core0.21.1与GuHai完整commit按源声明固定;插件完整tree/注册/JS作用域已留档,只读不执行,许可unknown。没有frontendVersion,1.41.20只作明确前端参考假设;UE7.8/目标安装/钩子顺序未知,不借其它图证明。",
|
||||
"拒绝策略不变:不修原图、不去出口、不补注册或拼部分prompt制造成功;本轮新增转换0,保持停用/依赖未检查/未定稿/未实跑。",
|
||||
"源物理边 0:[1, 1, 0, 2, 0, \"IMAGE\"]",
|
||||
"源物理边 1:[2, 2, 0, 3, 0, \"IMAGE\"]"
|
||||
],
|
||||
"flow_evidence": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17
|
||||
],
|
||||
"steps": [
|
||||
"准备并核对输入素材;本轮仅保存源引用,没有读取图片或运行处理。",
|
||||
"把一张多宫格图片按当前3列3行分成小图,可先裁画布边缘再移除描边。插件内部会保存分块并交给临时预览;源预览出口与固定定义冲突,转换仍关闭,真实裁切和文件待核对。",
|
||||
"按下方逐项说明核对源现值、定义默认、单位、范围及连线;没有模型依赖,不下载权重。",
|
||||
"未来授权运行后再核对拼接/裁边/裁切画面和真实保存文件;当前停用、未定稿、未验证实跑。"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,506 @@
|
||||
[
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
900,
|
||||
925
|
||||
],
|
||||
"claim": "按保存顺序恢复控件值"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
960,
|
||||
978
|
||||
],
|
||||
"claim": "工作流保存跳过serialize=false控件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/utils/executionUtil.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/utils/executionUtil.ts",
|
||||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
"lines": [
|
||||
95,
|
||||
126
|
||||
],
|
||||
"claim": "API序列化跳过serialize=false,按控件名称取值并核对连线"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/extensions/core/uploadImage.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
"lines": [
|
||||
10,
|
||||
40
|
||||
],
|
||||
"claim": "媒体COMBO增强upload按钮"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"sha256": "318c8134c2499a4ee33d07bb8aff029b5d02f503b6e217f874e5dc0f5d9b69bc",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||||
"lines": [
|
||||
34,
|
||||
115
|
||||
],
|
||||
"claim": "文件控件和上传按钮image占位;serialize=false"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
1702,
|
||||
1779
|
||||
],
|
||||
"claim": "0.17 LoadImage动态文件列表、IMAGE/MASK与文件检查"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_images.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_images.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_images.py",
|
||||
"sha256": "40f22183dcbc9f871030145ca33d52f3dd9d8f64b21ceb071c2fdf6cd49ff501",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_images.py",
|
||||
"lines": [
|
||||
253,
|
||||
430
|
||||
],
|
||||
"claim": "拼接schema、匹配尺寸、填充/间距/批量和方向"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
406,
|
||||
505
|
||||
],
|
||||
"claim": "尺寸动态schema、默认/范围和分支执行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
250,
|
||||
303
|
||||
],
|
||||
"claim": "scale dimensions枚举和0尺寸分支及重采样"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
1629,
|
||||
1685
|
||||
],
|
||||
"claim": "SaveImage默认前缀、PNG元数据条件、命名与UI响应"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"sha256": "c51c658cc04b1017390c63cd4fd44c16646c28244f11154f8f3926cf9104d51f",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"lines": [
|
||||
71,
|
||||
201
|
||||
],
|
||||
"claim": "动态COMBO以resize_type限定名创建/恢复子控件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "MAX_RESOLUTION从nodes导入"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
50,
|
||||
58
|
||||
],
|
||||
"claim": "MAX_RESOLUTION=16384"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_post_processing.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_post_processing.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_post_processing.py",
|
||||
"sha256": "e262de1a82890723ade27ebb8b7616e26320140480f8c874f64eb38355a11249",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_post_processing.py",
|
||||
"lines": [
|
||||
660,
|
||||
679
|
||||
],
|
||||
"claim": "ResizeImageMaskNode静态extension注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:comfy_extras/nodes_images.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "comfy_extras/nodes_images.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/comfy_extras/nodes_images.py",
|
||||
"sha256": "40f22183dcbc9f871030145ca33d52f3dd9d8f64b21ceb071c2fdf6cd49ff501",
|
||||
"local_file": "../grid-reference/ComfyUI__comfy_extras__nodes_images.py",
|
||||
"lines": [
|
||||
825,
|
||||
849
|
||||
],
|
||||
"claim": "ImageStitch静态extension注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
2030,
|
||||
2055
|
||||
],
|
||||
"claim": "LoadImage/SaveImage内置注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "63d1bbdb407c69370d407ce5ced6ca3f917528a8",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/63d1bbdb407c69370d407ce5ced6ca3f917528a8/nodes.py",
|
||||
"sha256": "dae541f8bec1483d923d75d7c74bdd166a03d361e913adb5b766f3da42965166",
|
||||
"local_file": "../grid-reference/ComfyUI__nodes.py",
|
||||
"lines": [
|
||||
2300,
|
||||
2430
|
||||
],
|
||||
"claim": "扩展加载与内置模块清单;不证明目标安装"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"id": "ComfyUI_frontend:src/extensions/core/noteNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/noteNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/noteNode.ts",
|
||||
"sha256": "1014f719e3d67d9c5183a5e8631d4c2d6581dfe67083f32eb23774ec3074bef2",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__noteNode.ts",
|
||||
"lines": [
|
||||
1,
|
||||
84
|
||||
],
|
||||
"claim": "MarkdownNote前端注释,不当运行参数"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
900,
|
||||
925
|
||||
],
|
||||
"claim": "按保存顺序恢复控件值"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI_frontend:src/lib/litegraph/src/LGraphNode.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "7ed927f0a8c0fa3c5e13fa457269c41bf86a693bf26dbbb4c1cf76a86360c367",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"lines": [
|
||||
960,
|
||||
978
|
||||
],
|
||||
"claim": "工作流保存跳过serialize=false控件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI_frontend:src/utils/executionUtil.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/utils/executionUtil.ts",
|
||||
"sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__utils__executionUtil.ts",
|
||||
"lines": [
|
||||
95,
|
||||
126
|
||||
],
|
||||
"claim": "API序列化跳过serialize=false,按控件名称取值并核对连线"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI_frontend:src/extensions/core/uploadImage.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__extensions__core__uploadImage.ts",
|
||||
"lines": [
|
||||
10,
|
||||
40
|
||||
],
|
||||
"claim": "媒体COMBO增强upload按钮"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI_frontend:src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"commit": "f2254852b2a575b30cc1cde46742a89afbfac252",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI_frontend/blob/f2254852b2a575b30cc1cde46742a89afbfac252/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts",
|
||||
"sha256": "318c8134c2499a4ee33d07bb8aff029b5d02f503b6e217f874e5dc0f5d9b69bc",
|
||||
"local_file": "../grid-reference/ComfyUI_frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts",
|
||||
"lines": [
|
||||
34,
|
||||
115
|
||||
],
|
||||
"claim": "文件控件和上传按钮image占位;serialize=false"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
1681,
|
||||
1756
|
||||
],
|
||||
"claim": "0.21.1 LoadImage动态文件列表、解码与文件校验"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
1608,
|
||||
1679
|
||||
],
|
||||
"claim": "SaveImage零RETURN_TYPES;PreviewImage继承并改temp/随机后缀/压缩"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "ComfyUI:nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"file": "nodes.py",
|
||||
"url": "https://github.com/Comfy-Org/ComfyUI/blob/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"local_file": "../serialization-evidence/corev0.21.1__nodes.py",
|
||||
"lines": [
|
||||
2009,
|
||||
2030
|
||||
],
|
||||
"claim": "PreviewImage/LoadImage内置注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"lines": [
|
||||
54,
|
||||
172
|
||||
],
|
||||
"claim": "七中文输入schema、首图分块、内部保存、batch返回和注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:nodes/自动分割图像.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "nodes/自动分割图像.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/nodes/%E8%87%AA%E5%8A%A8%E5%88%86%E5%89%B2%E5%9B%BE%E5%83%8F.py",
|
||||
"sha256": "0889d9fe46fcfd6692bcfbd3b2c54dcdc06c7e0095352d3482b4794d22df8260",
|
||||
"local_file": "../crop-split-reference/guhai__nodes__自动分割图像.py",
|
||||
"lines": [
|
||||
8,
|
||||
52
|
||||
],
|
||||
"claim": "四角中值背景、阈值30及裁边;不承诺主体分割"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:__init__.py",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "__init__.py",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/__init__.py",
|
||||
"sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952",
|
||||
"local_file": "../crop-split-reference/guhai____init__.py",
|
||||
"lines": [
|
||||
10,
|
||||
49
|
||||
],
|
||||
"claim": "WEB_DIRECTORY、动态发现模块和注册合并"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "GuHai fixed full tree",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "git-tree",
|
||||
"url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/885cac3dd323d26a77b69ae904a9a344f0dee7d0?recursive=1",
|
||||
"sha256": "570d35a60ce093d2a62d4a6d4575af4e51d577948207cb82963a302a721dcff4",
|
||||
"local_file": "../crop-split-reference/guhai-tree.json",
|
||||
"lines": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"claim": "完整固定tree未截断;原件元数据,不证明许可或目标安装"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/BOOLEAN.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/BOOLEAN.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/BOOLEAN.js",
|
||||
"sha256": "184ddb889362c770eff98bba23579b35e24c3a4dd684b97bfc588f42dfbe6d64",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__BOOLEAN.js",
|
||||
"lines": [
|
||||
1,
|
||||
230
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/GoohaiNote.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/GoohaiNote.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/GoohaiNote.js",
|
||||
"sha256": "5fb1f66f76e5519990afd400f315e209fdc36ed05beb1a8a56348d4830a47ae9",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__GoohaiNote.js",
|
||||
"lines": [
|
||||
1,
|
||||
930
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/colorWidget.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/colorWidget.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/colorWidget.js",
|
||||
"sha256": "7e1e02baa9ab773bdbb9247925fec87a07b5309ce1ef35dfdfdec15c5b2eef26",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__colorWidget.js",
|
||||
"lines": [
|
||||
1,
|
||||
126
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/goohai_universal_slider.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/goohai_universal_slider.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/goohai_universal_slider.js",
|
||||
"sha256": "e93df36fcf4ecd0d4eb264518582da4cfb4df25ae915c796bb9cb749731f8f7e",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__goohai_universal_slider.js",
|
||||
"lines": [
|
||||
1,
|
||||
615
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/id_photo_clothing.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/id_photo_clothing.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/id_photo_clothing.js",
|
||||
"sha256": "11e6ccd015b17dd5c6ca2010829075372b751b898d21e3f61abe347c4f51d144",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__id_photo_clothing.js",
|
||||
"lines": [
|
||||
1,
|
||||
755
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"id": "goohai/Goohaitools-comfyui@885cac3dd323d26a77b69ae904a9a344f0dee7d0:web/js/nodes pass.js",
|
||||
"commit": "885cac3dd323d26a77b69ae904a9a344f0dee7d0",
|
||||
"file": "web/js/nodes pass.js",
|
||||
"url": "https://github.com/goohai/Goohaitools-comfyui/blob/885cac3dd323d26a77b69ae904a9a344f0dee7d0/web/js/nodes%20pass.js",
|
||||
"sha256": "17ab7504fef7aaaa2e3cf72028eaa5d9aa1e6688ba75fe434fc8f40e11d27130",
|
||||
"local_file": "../crop-split-reference/guhai__web__js__nodes pass.js",
|
||||
"lines": [
|
||||
1,
|
||||
908
|
||||
],
|
||||
"claim": "固定插件JS作用域只读记录;不证明目标前端或UE钩子顺序"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,12 @@
|
||||
unformatted: File would be reformatted
|
||||
--> docs/hel-892/grid-document-evidence/render_report.py:102:56
|
||||
|
|
||||
101 | index.append(dict(document=b["source_path"], **e))
|
||||
- (OUT.parent / "四宫格合并与多宫格分割固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
|
||||
102 + (OUT.parent / "四宫格合并与多宫格分割固定参考中文说明.md").write_text(
|
||||
103 + "\n".join(lines).rstrip() + "\n"
|
||||
104 + )
|
||||
105 | (OUT / "fixed-source-index.json").write_text(
|
||||
|
|
||||
|
||||
1 file would be reformatted, 10 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...
|
||||
1:12:10 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>
|
||||
1:12:10 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...
|
||||
1:12:13 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>
|
||||
1:12:13 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.25 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.DjkNyTqv.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.CoxEItAu.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.Cdnp0OLB.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/B_4xL10u.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.EbjjdXyC.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.Bvj8Kx2d.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.CXppTJk0.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.T3d4_VGD.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/Dz-JxxzI.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.DAucSKRR.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/DVb4N1c3.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.bcWkFClT.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.BtvgWrKC.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.CXiRwKna.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.BxKKt9X1.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/hyELyvvv.js 23.99 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.DOelq34c.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.Dsy6TlRV.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.CT9omi60.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/Dw_gPGjA.js 38.54 kB │ gzip: 13.86 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.CCpd9Vq6.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/BqrYtcCp.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.D-AFLNBM.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.tD8gXq5o.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.73s
|
||||
.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 7.07s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "27e6d56dced46e764ac9c79e39d51128fdbf6877",
|
||||
"first": {
|
||||
"imported": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"upgrade": {
|
||||
"skipped": 153,
|
||||
"updated": 2,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"repeat": {
|
||||
"skipped": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"restored_rows": 2,
|
||||
"untouched_whole_rows": 153,
|
||||
"eligibility_unchanged": true,
|
||||
"redo": {
|
||||
"skipped": 153,
|
||||
"updated": 2,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"user_protection": [
|
||||
{
|
||||
"phase": "user-before",
|
||||
"counts": {
|
||||
"skipped": 153,
|
||||
"conflict": 2,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"whole_rows": 2,
|
||||
"columns": 29
|
||||
},
|
||||
{
|
||||
"phase": "user-after",
|
||||
"counts": {
|
||||
"skipped": 153,
|
||||
"conflict": 2,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"whole_rows": 2,
|
||||
"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": 35,
|
||||
"new_notes": 1,
|
||||
"old_saved": 316,
|
||||
"old_notes": 10,
|
||||
"overviews": 13,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
E501 Line too long (107 > 100)
|
||||
--> docs/hel-892/grid-document-evidence/render_report.py:102:82
|
||||
|
|
||||
100 | ]
|
||||
101 | index.append(dict(document=b["source_path"], **e))
|
||||
102 | (OUT.parent / "四宫格合并与多宫格分割固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n")
|
||||
| ^^^^^^^
|
||||
103 | (OUT / "fixed-source-index.json").write_text(
|
||||
104 | json.dumps(index, ensure_ascii=False, indent=2) + "\n"
|
||||
|
|
||||
|
||||
Found 1 error.
|
||||
@@ -0,0 +1 @@
|
||||
PASS 缺少wheel/sdist包产物,请先在仓库根执行:uv build --project calliope-backend --offline
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "259f349332fbf25b79142dec83d5e11f63b79a7936a37f7474251afe241a1617",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 13
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "f2d3a6292a409006962cb1c8b03efebad750603a6b3e3439c88b32a9195b0923",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 13
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 13
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json": "183488ee8eb8e740cc1e69ca3015ff2601be65015f1b9469006c04097e2ab9c6",
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json": "da97c1237204cd4fd0322ff2d7db5bdae35ed3d0a4022ac84ee3fd7f9b0ed74d"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"number": 25,
|
||||
"state": "open",
|
||||
"head": "agent/agent/a64a969a6a44",
|
||||
"head_sha": "27e6d56dced46e764ac9c79e39d51128fdbf6877",
|
||||
"base": "main",
|
||||
"base_sha": "1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532",
|
||||
"merged": false
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
"""Add two reviewed definitions; preserve every other review object exactly."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "27e6d56dced46e764ac9c79e39d51128fdbf6877"
|
||||
RESOURCE = "calliope-backend/src/calliope/comfyui/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/comfyui/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 " + repr(path) + ": " + repr(digest) + ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print("PASS two definitions; other 154 reviews and old 11 blocks unchanged")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,297 @@
|
||||
"""Actual 27e6d56 database upgrade, two-row protection/rollback, frozen boundaries and packages."""
|
||||
|
||||
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
|
||||
|
||||
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 build --project calliop"
|
||||
"e-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()
|
||||
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) == 11
|
||||
assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items())
|
||||
write(
|
||||
"review-delta.json",
|
||||
dict(
|
||||
base=BASE,
|
||||
changed_paths=PATHS,
|
||||
other_reviews_unchanged=len(previous) - 2,
|
||||
old_blocks_unchanged=11,
|
||||
old_saved=316,
|
||||
old_notes=10,
|
||||
new_saved=35,
|
||||
new_notes=1,
|
||||
total_documents=13,
|
||||
total_saved=351,
|
||||
total_notes=11,
|
||||
),
|
||||
)
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
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/manifest.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" 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 description=? WHERE source_repo_path=?",
|
||||
(name, p),
|
||||
)
|
||||
snapshot = rows()
|
||||
r, _ = run(name)
|
||||
assert r["counts"] == {"conflict": 2, "skipped": 153, "user_excluded": 1}
|
||||
assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS)
|
||||
protected.append(dict(phase=name, counts=r["counts"], whole_rows=2, columns=29))
|
||||
db = original
|
||||
|
||||
protect("user-before")
|
||||
upgrade, exported = run("upgrade")
|
||||
after = rows()
|
||||
assert upgrade["counts"] == {"updated": 2, "skipped": 153, "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")
|
||||
assert without["steps"] == old_doc["steps"][:-3] + fixed["steps"]
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
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"]) == 2 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",
|
||||
dict(
|
||||
base=BASE,
|
||||
first=first["counts"],
|
||||
upgrade=upgrade["counts"],
|
||||
repeat=repeat["counts"],
|
||||
restored_rows=2,
|
||||
untouched_whole_rows=153,
|
||||
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=35,
|
||||
new_notes=1,
|
||||
old_saved=316,
|
||||
old_notes=10,
|
||||
overviews=13,
|
||||
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")
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(REPO / "docs/hel-892/h3-document-evidence/unchanged-boundaries.json").read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ ["calliope-backend/src/calliope/comfyui/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(dict(path=p, sha256=hashlib.sha256(raw).hexdigest()))
|
||||
ui = "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte"
|
||||
assert (REPO / ui).read_text().split("<style>")[1] == subprocess.check_output(
|
||||
["git", "show", f"{BASE}:{ui}"], cwd=REPO
|
||||
).decode().split("<style>")[1]
|
||||
write(
|
||||
"boundaries.json",
|
||||
dict(
|
||||
base=BASE,
|
||||
files=kept,
|
||||
originals=163,
|
||||
old_eleven_blocks_unchanged=True,
|
||||
drawer_css_unchanged=True,
|
||||
conversion_rerun=False,
|
||||
profiles_28_candidates_9_diffs_6="unchanged",
|
||||
),
|
||||
)
|
||||
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/comfyui" / 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(
|
||||
dict(
|
||||
file=name,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
wheel=True,
|
||||
sdist=True,
|
||||
definitions=13,
|
||||
)
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
(
|
||||
"PASS actual 27e6d56 upgrade2/skip153, "
|
||||
"repeat155, rollback2, edits2/29cols, f"
|
||||
"resh155, 1217/3660/294, 13 definitions"
|
||||
", frozen boundaries, wheel/sdist"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1 @@
|
||||
PASS actual 27e6d56 upgrade2/skip153, repeat155, rollback2, edits2/29cols, fresh155, 1217/3660/294, 13 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,109 @@
|
||||
"""Readable complete Chinese definitions and fixed source index from delivered data."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# 四宫格合并与多宫格分割固定参考中文说明",
|
||||
"",
|
||||
"35新保存位置+1新注释;旧11图316保存位置+10注释逐对象不变。13图351位置+11注释展示,155定稿0、实跑0、新增转换0。",
|
||||
"",
|
||||
"复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说明块和显式受信摘要,不改变转换/执行链。",
|
||||
"",
|
||||
]
|
||||
index = []
|
||||
for i in range(2):
|
||||
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["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']}"
|
||||
]
|
||||
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 / "四宫格合并与多宫格分割固定参考中文说明.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,48 @@
|
||||
"""Repeat every deterministic audit and compare reviewed resource/package byte identities."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from build_definition import OUT, REPO, canonical
|
||||
from rebuild import RESOURCE, build_all
|
||||
|
||||
|
||||
def main():
|
||||
a, overview = build_all()
|
||||
b, again = build_all()
|
||||
assert a == b and overview == again
|
||||
assert a == json.loads((REPO / RESOURCE).read_bytes())
|
||||
names = [
|
||||
"audit-summary.json",
|
||||
"review-delta.json",
|
||||
"import-protection.json",
|
||||
"boundaries.json",
|
||||
"package-check.json",
|
||||
]
|
||||
subprocess.run([sys.executable, str(OUT / "recompute.py")], cwd=REPO, check=True)
|
||||
before = {p: hashlib.sha256((OUT / p).read_bytes()).hexdigest() for p in names}
|
||||
subprocess.run([sys.executable, str(OUT / "recompute.py")], cwd=REPO, check=True)
|
||||
assert before == {p: hashlib.sha256((OUT / p).read_bytes()).hexdigest() for p in names}
|
||||
(OUT / "repeatability.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
definitions=13,
|
||||
repeated_build_equal=True,
|
||||
repeated_audits_equal=True,
|
||||
resource_sha256=hashlib.sha256(canonical(a)).hexdigest(),
|
||||
artifacts=before,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS repeated 13 definitions and upgrade/audit/package recomputation: zero difference")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"definitions": 13,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_audits_equal": true,
|
||||
"resource_sha256": "be3e7a7ca90cc199195b7e4f104f1af783f139ad185e70fcfdc8df3d9d615d4b",
|
||||
"artifacts": {
|
||||
"audit-summary.json": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"review-delta.json": "435c4ad05b0ad3512ea424cac6c6a95d765c0f7c53a6b6e44879e1eaf5e02d0d",
|
||||
"import-protection.json": "cfbb4b067a2919d7070fdfc8632bb047512389d2aca90645fdd28faf117f9854",
|
||||
"boundaries.json": "7976512e9eec09eb63a56965fedc70af82232a183c0f36ee740aec34c2d96c42",
|
||||
"package-check.json": "28b250d4a8fb3e5e580f7c8ae707163cb1873a89ea3d489cd73b570710f25ee8"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS actual 27e6d56 upgrade2/skip153, repeat155, rollback2, edits2/29cols, fresh155, 1217/3660/294, 13 definitions, frozen boundaries, wheel/sdist
|
||||
PASS actual 27e6d56 upgrade2/skip153, repeat155, rollback2, edits2/29cols, fresh155, 1217/3660/294, 13 definitions, frozen boundaries, wheel/sdist
|
||||
PASS repeated 13 definitions and upgrade/audit/package recomputation: zero difference
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"base": "27e6d56dced46e764ac9c79e39d51128fdbf6877",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json"
|
||||
],
|
||||
"other_reviews_unchanged": 154,
|
||||
"old_blocks_unchanged": 11,
|
||||
"old_saved": 316,
|
||||
"old_notes": 10,
|
||||
"new_saved": 35,
|
||||
"new_notes": 1,
|
||||
"total_documents": 13,
|
||||
"total_saved": 351,
|
||||
"total_notes": 11
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
........................................................................ [ 26%]
|
||||
........................................................................ [ 52%]
|
||||
........................................................................ [ 78%]
|
||||
........................................................... [100%]
|
||||
275 passed, 1 warning in 0.40s
|
||||
@@ -0,0 +1,29 @@
|
||||
........................................................................ [ 3%]
|
||||
........................................................................ [ 7%]
|
||||
........................................................................ [ 10%]
|
||||
........................................................................ [ 14%]
|
||||
........................................................................ [ 17%]
|
||||
........................................................................ [ 21%]
|
||||
........................................................................ [ 25%]
|
||||
........................................................................ [ 28%]
|
||||
........................................................................ [ 32%]
|
||||
........................................................................ [ 35%]
|
||||
........................................................................ [ 39%]
|
||||
........................................................................ [ 43%]
|
||||
........................................................................ [ 46%]
|
||||
........................................................................ [ 50%]
|
||||
........................................................................ [ 53%]
|
||||
........................................................................ [ 57%]
|
||||
........................................................................ [ 61%]
|
||||
........................................................................ [ 64%]
|
||||
........................................................................ [ 68%]
|
||||
........................................................................ [ 71%]
|
||||
........................................................................ [ 75%]
|
||||
........................................................................ [ 79%]
|
||||
........................................................................ [ 82%]
|
||||
........................................................................ [ 86%]
|
||||
........................................................................ [ 89%]
|
||||
........................................................................ [ 93%]
|
||||
........................................................................ [ 96%]
|
||||
............................................................. [100%]
|
||||
2005 passed, 1 warning in 14.56s
|
||||
@@ -0,0 +1,25 @@
|
||||
# 仓库根。沿用锁定依赖,无新增依赖;所有数据库和服务均本地隔离。
|
||||
uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline
|
||||
npm ci --prefix calliope-web --ignore-scripts --offline
|
||||
python3 docs/hel-892/grid-document-evidence/rebuild.py
|
||||
python3 docs/hel-892/grid-document-evidence/render_report.py
|
||||
# 仅新增两图说明;旧11块逐对象不变。定义摘要由开发者维护,运行时不信任调用方digest。
|
||||
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_qwen_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_asr_fixed_document.py calliope-backend/tests/test_media_fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_case04_saved_reference.py -q --disable-warnings
|
||||
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/grid-document-evidence/*.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/src/calliope/comfyui/fixed_document.py e2e/run-grid-document.py
|
||||
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check docs/hel-892/grid-document-evidence/*.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/src/calliope/comfyui/fixed_document.py e2e/run-grid-document.py
|
||||
uv build --project calliope-backend --offline
|
||||
uv run --project calliope-backend --offline python docs/hel-892/grid-document-evidence/recompute.py
|
||||
uv run --project calliope-backend --offline python docs/hel-892/grid-document-evidence/repeat.py
|
||||
# BASE=真实27e6d56;git archive旧代码首导→2更新/153跳过/1排除→155跳过→回退2行→重导2更新。
|
||||
# 升级前后两条用户编辑行均2冲突/153跳过,29列整行不变;其余153行整行不变。
|
||||
# 新库155导入/1排除;16pending_check/139needs_conversion;1217/3660/294;全停用、未检查、定稿0、实跑0。
|
||||
# 样例review-delta.json、import-protection.json、audit-summary.json、boundaries.json、package-check.json和repeatability.json。
|
||||
# recompute缺dist有中文构建提示;不可把历史目录当本轮结果改写。
|
||||
npm run build --prefix calliope-web
|
||||
node --check e2e/grid-document.mjs
|
||||
LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-grid-document.py
|
||||
# supervisor拒绝复用已占端口;只启本地GET router/Vite,完成或异常finally停止自建服务。
|
||||
# 13图两屏用途/原字段/限制;两新图35位置/1注释、原件指针/类型/精确源码;迟到响应、重试、错绑定、旧空回退、键盘焦点/无横向溢出。
|
||||
# 浏览只允许127.0.0.1 GET,拒绝/api/view及外部源/预览URL;字体CSS本地空响应;不连接目标机。
|
||||
# 无前端产品代码改动,未重复四脚本/svelte-check/ESLint。旧1错2警/ESLint缺配置仅沿用前批记录。
|
||||
# 未重跑转换1456组/全后台;5旧失败仅历史记录。截图只附件,不能提交PNG。
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,95 @@
|
||||
// Real local GETs: two grids / 35 saved positions, thirteen summaries, frozen old data.
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright');
|
||||
const out='.local-evidence/grid-document/browser';fs.mkdirSync(out,{recursive:true});
|
||||
const checks=[],requests=[],errors=[],blockedFonts=[];
|
||||
function check(condition,label){assert.ok(condition,label);checks.push(label);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(u.hostname!=='127.0.0.1'||u.pathname==='/api/view'){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));
|
||||
const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json();
|
||||
const names=['图像合并成四宫格','图像分割-多宫格分割','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===13&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===351,'13图351保存位置');
|
||||
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===11,'13图11源注释');
|
||||
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){
|
||||
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);
|
||||
await page.screenshot({path:`${out}/${width}-${d.id}-default.png`});
|
||||
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();
|
||||
for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`);
|
||||
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)<2){
|
||||
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();check(text.includes(f.effect)&&text.includes(f.limits)&&text.includes(f.schema_default)&&text.includes(f.execution_note)&&text.includes(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.class_type)&&text.includes(f.json_type)&&f.evidence.every(i=>{const e=b.sources[i];return 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(['resize_type.width','resize_type.crop','移除描边','保存目录'].includes(f.field))await page.screenshot({path:`${out}/${width}-${f.field}.png`});
|
||||
await summary.click();
|
||||
}
|
||||
for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);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}关闭归还焦点`);
|
||||
}
|
||||
}
|
||||
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=>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=>{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()===9,'迟到四宫格响应不覆盖分割图摘要/9字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`);
|
||||
await page.route(`**/api/workflows/${details[0].id}`,route=>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无写/生成/目标/历史预览请求');
|
||||
fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({assertion_count:checks.length,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2));
|
||||
} finally {await browser.close();}
|
||||
@@ -0,0 +1,78 @@
|
||||
"""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/grid-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 = ["grid"]
|
||||
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()
|
||||
print("All owned browser services stopped.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user