HEL-892: document unversioned Llama Qwen saved workflow references
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,11 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分"
|
||||
"离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3."
|
||||
"5-提示词.json"
|
||||
): "90fa1f7e91715770fe87a58e33dad8eb5374bb33a4fb213974cc1b8174df0062",
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频"
|
||||
"分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.j"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,180 @@
|
||||
"""Unversioned Llama source stays reference-only, including saved history and conflicts."""
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import runpy
|
||||
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/llama-document-evidence"
|
||||
PATH = next(p for p in DEFINITIONS if p.endswith("/Llama-cpp+Qwen3.5-提示词.json"))
|
||||
RAW = (REPO / PATH).read_bytes()
|
||||
SOURCE = json.loads(RAW)
|
||||
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
|
||||
BLOCK = REVIEW["fixed_version_document"]
|
||||
|
||||
|
||||
def pointer(obj, path):
|
||||
for part in path.strip("/").split("/"):
|
||||
obj = obj[int(part)] if isinstance(obj, list) else obj[part]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(s=SOURCE, r=REVIEW):
|
||||
return build_document(PATH, s, None, None, [], r)
|
||||
|
||||
|
||||
def refuse(s, r):
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
def test_all_33_positions_exact_types_and_separate_port_evidence(f):
|
||||
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
||||
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
||||
assert not f["named_pointer"].startswith("/") and "named_value" not in f
|
||||
assert "假设" in f["effect"] and "未知" in f["execution_note"]
|
||||
if f["input_pointer"].startswith("/"):
|
||||
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
||||
else:
|
||||
assert f["field"] == "control_after_generate"
|
||||
for i in f["evidence"]:
|
||||
e = BLOCK["sources"][i]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["source", "definition"])
|
||||
def test_caller_rehash_cannot_bypass_each_value_and_description(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "source":
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
pointer(s, parent)[int(key)] = "forged"
|
||||
else:
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("ni", range(5))
|
||||
@pytest.mark.parametrize("variant", ["mode", "identity", "named-values", "input-name"])
|
||||
def test_all_nodes_bind_mode_absent_identity_and_ports(ni, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
n = s["nodes"][ni]
|
||||
if variant == "mode":
|
||||
n["mode"] = 4
|
||||
elif variant == "identity":
|
||||
n["properties"]["ver"] = "forged"
|
||||
elif variant == "named-values":
|
||||
n["widgets_values_named"] = {"seed": 0}
|
||||
else:
|
||||
n["inputs"][0]["name"] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("ei", range(4))
|
||||
def test_each_physical_edge_is_bound(ei):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
s["links"][ei][3] = 99999
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"variant",
|
||||
["overview", "citation", "source_sha", "missing", "empty", "frontend", "definition_digest"],
|
||||
)
|
||||
def test_binding_and_missing_definitions_fail_closed(variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "overview":
|
||||
r["fixed_version_document"]["user_overview"] = "forged"
|
||||
elif variant == "citation":
|
||||
r["fixed_version_document"]["sources"][0]["sha256"] = "forged"
|
||||
elif variant == "source_sha":
|
||||
r["source_sha"] = "forged"
|
||||
elif variant == "missing":
|
||||
r.pop("fixed_version_document")
|
||||
elif variant == "empty":
|
||||
r["fixed_version_document"] = {}
|
||||
elif variant == "frontend":
|
||||
s["extra"]["frontendVersion"] = "1.52.7"
|
||||
else:
|
||||
r["fixed_version_document"]["boundaries"] = [{"canonical_sha256": "forged"}]
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("generated", [False, True])
|
||||
def test_absent_identity_conflicting_schema_and_seed_layout_hypothesis(generated):
|
||||
b = runpy.run_path(str(OUT / "build_definition.py"))["build"]() if generated else BLOCK
|
||||
assert not any("frontendVersion" in n for n in SOURCE["nodes"])
|
||||
assert all(not {"cnr_id", "aux_id", "ver"} & n["properties"].keys() for n in SOURCE["nodes"])
|
||||
assert all("widgets_values_named" not in n for n in SOURCE["nodes"])
|
||||
f = next(f for f in b["fields"] if f["field"] == "presence_penalty")
|
||||
assert f["value"] == 1 and "冲突" in f["effect"] and "未知" in f["schema_default"]
|
||||
tail = [f for f in b["fields"] if f["node_id"] == "2"][-4:]
|
||||
assert [f["value"] for f in tail] == [290079675294308, "randomize", False, False]
|
||||
assert [f["field"] for f in tail] == [
|
||||
"seed",
|
||||
"control_after_generate",
|
||||
"force_offload",
|
||||
"save_states",
|
||||
]
|
||||
assert not tail[1]["input_pointer"].startswith("/")
|
||||
assert all("假设" in f["effect"] for f in tail)
|
||||
assert "load_mtp" in "\n".join(b["flow"])
|
||||
assert (
|
||||
"images" in next(f for f in b["fields"] if f["field"] == "max_frames")["limits"]
|
||||
or "video" in next(f for f in b["fields"] if f["field"] == "max_frames")["unit"]
|
||||
)
|
||||
assert all(e["commit"] != "71d2f2f2b5c6da9dee281836b5b72f3af368966f" for e in b["sources"])
|
||||
assert not b["comments"] and not b["boundaries"]
|
||||
assert not b["counts"]["final_prompt_constructed"]
|
||||
|
||||
|
||||
def test_history_full_string_and_all_original_primitives_are_preserved():
|
||||
f = next(f for f in BLOCK["fields"] if f["role"] == "history_text")
|
||||
assert len(f["value"]) == 456 and f["value"] == SOURCE["nodes"][0]["widgets_values"][0]
|
||||
assert "历史" in f["effect"] and "实跑" in f["effect"]
|
||||
assert any(f["value"] == "" and f["json_type"] == "str" for f in BLOCK["fields"])
|
||||
assert (
|
||||
len([f for f in BLOCK["fields"] if f["json_type"] == "bool" and f["value"] is False]) == 2
|
||||
)
|
||||
assert len([f for f in BLOCK["fields"] if f["value"] == -1]) == 2
|
||||
assert doc()["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_independent_inventory_and_38_frozen_objects():
|
||||
inv = json.loads((OUT / "independent-inventory.json").read_bytes())
|
||||
assert [f["pointer"] for f in inv["fields"]] == [f["pointer"] for f in BLOCK["fields"]]
|
||||
assert len(inv["fields"]) == 33 and not inv["notes"]
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(
|
||||
subprocess.check_output(
|
||||
["git", "show", "92b7897ae2c394bb214d6a7fdec0c139b8f09c76:" + resource], cwd=REPO
|
||||
)
|
||||
)
|
||||
cur = json.loads((REPO / resource).read_bytes())
|
||||
cur[PATH].pop("fixed_version_document")
|
||||
assert cur == old
|
||||
blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r]
|
||||
assert len(blocks) == 38 and sum(len(b["fields"]) for b in blocks) == 1348
|
||||
assert (
|
||||
sum(
|
||||
len(
|
||||
build_document(p, json.loads((REPO / p).read_bytes()), None, None, [], r)[
|
||||
"source_notes"
|
||||
]
|
||||
)
|
||||
for p, r in old.items()
|
||||
if "fixed_version_document" in r
|
||||
)
|
||||
== 41
|
||||
)
|
||||
File diff suppressed because it is too large
Load Diff
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,728 @@
|
||||
{
|
||||
"base": "92b7897ae2c394bb214d6a7fdec0c139b8f09c76",
|
||||
"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_thirty_eight_blocks_unchanged": true,
|
||||
"drawer_css_unchanged": true,
|
||||
"drawer_whole_file_unchanged": true,
|
||||
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"file": ".gitignore",
|
||||
"sha256": "684888c0ebb17f374298b65ee2807526c066094c701bcc7ebbe1c1095f494fc1"
|
||||
},
|
||||
{
|
||||
"file": "calliope-1.5.8-py3-none-any.whl",
|
||||
"sha256": "3787e606cdf47181d40023f8645557dbddaa72442fde3b088309040cef7e9b68"
|
||||
},
|
||||
{
|
||||
"file": "calliope-1.5.8.tar.gz",
|
||||
"sha256": "616aa51d34a05b2a89365a8c5ebce6e96e4f858c0069af8256c0a78314b32293"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
uv build --project calliope-backend --offline
|
||||
Exit 0; successfully built calliope-1.5.8.tar.gz and calliope-1.5.8-py3-none-any.whl.
|
||||
Resource bytes verified by recompute.py in package-check.json.
|
||||
@@ -0,0 +1,670 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "llama-reference"
|
||||
PATHS = [
|
||||
str(
|
||||
next((REPO / "example_ComfyUI_workflows").rglob("Llama-cpp+Qwen3.5*.json")).relative_to(
|
||||
REPO
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
refs = []
|
||||
|
||||
def ref(directory, file, a, b, claim):
|
||||
root = OUT.parent / directory
|
||||
e = next(
|
||||
e
|
||||
for e in json.loads((root / "sources.json").read_bytes())["sources"]
|
||||
if e["local_file"] == file
|
||||
)
|
||||
data = (root / file).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
assert 1 <= a <= b <= len(data.decode().splitlines())
|
||||
e = {**e, "local_file": "../" + directory + "/" + file, "lines": [a, b], "claim": claim}
|
||||
if e not in refs:
|
||||
refs.append(e)
|
||||
return refs.index(e)
|
||||
|
||||
def new(file, a, b, claim):
|
||||
return ref("llama-reference", file, a, b, claim)
|
||||
|
||||
layout = new(
|
||||
"llama__nodes.py",
|
||||
449,
|
||||
495,
|
||||
"仅显式参考加载器构造顺序:八字段,源七位置/七口,缺load_mtp;不证明源版本或安装身份",
|
||||
)
|
||||
params = new(
|
||||
"llama__nodes.py",
|
||||
762,
|
||||
790,
|
||||
(
|
||||
"仅显式参考13项schema/原样kwargs返回;pres"
|
||||
+ "ent_penalty与源presence_penalty冲"
|
||||
+ "突,不当同名合法参数"
|
||||
),
|
||||
)
|
||||
instruct = new(
|
||||
"llama__nodes.py",
|
||||
497,
|
||||
544,
|
||||
"仅显式参考九控件构造/可选口/返回协议;不能按十位置对九口硬对位",
|
||||
)
|
||||
priority = new(
|
||||
"llama__nodes.py",
|
||||
575,
|
||||
635,
|
||||
"仅显式参考:状态UID、系统提示变化清理、custom覆盖或星号模板分支;未构造prompt或读写状态",
|
||||
)
|
||||
images = new(
|
||||
"llama__nodes.py",
|
||||
638,
|
||||
718,
|
||||
"仅显式参考三模式实现:images合并全部图片,多图才缩放;video才按max_frames采样",
|
||||
)
|
||||
scale = new(
|
||||
"llama__nodes.py",
|
||||
387,
|
||||
398,
|
||||
("仅显式参考缩放函数:最长边限制且不放大;单张images分支" + "不调用"),
|
||||
)
|
||||
side = new(
|
||||
"llama__nodes.py",
|
||||
739,
|
||||
760,
|
||||
"仅显式参考保存/清理会话、force_offload与Qwen混合缓存清理分支,false不承诺无副作用",
|
||||
)
|
||||
load = new(
|
||||
"llama__nodes.py",
|
||||
259,
|
||||
341,
|
||||
"仅显式参考LLM目录、VRAM估算、handler条件和SDK参数;-1只是不设估算限制,不保证实际显存",
|
||||
)
|
||||
handlers = new(
|
||||
"llama__nodes.py",
|
||||
28,
|
||||
72,
|
||||
"仅显式参考handler列表由SDK导入成功与否决定,Qwen3.5不是安装或视觉兼容证明",
|
||||
)
|
||||
presets = new(
|
||||
"llama__nodes.py",
|
||||
348,
|
||||
364,
|
||||
"仅显式参考模型目录及预设列表;源Detailed存在,schema默认为Normal - Describe;不运行模板",
|
||||
)
|
||||
new("llama____init__.py", 1, 3, "仅参考包导出节点注册字典")
|
||||
new("llama__nodes.py", 1529, 1544, "仅参考三准确class注册链;同名不构成源身份绑定")
|
||||
new(
|
||||
"llama__pyproject.toml",
|
||||
1,
|
||||
37,
|
||||
(
|
||||
"参考pyproject自称1.3.1/PublisherId"
|
||||
+ " lhy666;license指向缺失LICENSE,发布包"
|
||||
+ "与完整commit绑定未知"
|
||||
),
|
||||
)
|
||||
show = new(
|
||||
"showtext__py__show_text.py",
|
||||
1,
|
||||
49,
|
||||
"ShowText仅类名线索的显式参考:list输入、ui/result和历史widgets写回;源标量字符串仍原样保留",
|
||||
)
|
||||
showjs = new(
|
||||
"showtext__web__js__showText.js",
|
||||
10,
|
||||
78,
|
||||
"ShowText显式参考前端只读展示/恢复:标量与嵌套数组兼容分支,组合恢复未知",
|
||||
)
|
||||
new("showtext____init__.py", 1, 25, ("ShowText显式参考动态py目录注册链,不执行init或" + "插件"))
|
||||
new(
|
||||
"showtext__LICENSE",
|
||||
1,
|
||||
len((REF / "showtext__LICENSE").read_text().splitlines()),
|
||||
"显式参考ShowText许可全文",
|
||||
)
|
||||
new("showtext__pyproject.toml", 1, 13, "ShowText参考自称1.2.5,不证明源安装版本")
|
||||
seed = new(
|
||||
"frontend__useIntWidget.ts",
|
||||
34,
|
||||
93,
|
||||
(
|
||||
"仅显式frontend1.52.7假设:seed默认追加辅助"
|
||||
+ "值控件,支持第7位置randomize解释,源无前端版本不证"
|
||||
+ "明恢复"
|
||||
),
|
||||
)
|
||||
control = ref(
|
||||
"moge3-reference",
|
||||
"frontend__src__scripts__widgets.ts",
|
||||
78,
|
||||
155,
|
||||
(
|
||||
"仅显式frontend1.52.7假设:randomize辅"
|
||||
+ "助枚举且serialize=false;不生成种子、不借其规"
|
||||
+ "则断言源恢复时序"
|
||||
),
|
||||
)
|
||||
front = ref(
|
||||
"moge3-reference",
|
||||
"frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
972,
|
||||
1043,
|
||||
"仅显式frontend1.52.7恢复参考;本图无frontendVersion/具名值,UE7.7与源恢复未知",
|
||||
)
|
||||
image = ref(
|
||||
"moge3-reference",
|
||||
"core__nodes.py",
|
||||
1738,
|
||||
1819,
|
||||
(
|
||||
"仅显式core0.36.0 LoadImage参考:与源IM"
|
||||
+ "AGE/MASK和image口形状相符,动态文件列表/读取验"
|
||||
+ "证不证明版本或素材存在"
|
||||
),
|
||||
)
|
||||
upload = ref(
|
||||
"moge3-reference",
|
||||
"frontend__src__extensions__core__uploadImage.ts",
|
||||
1,
|
||||
40,
|
||||
"仅显式frontend1.52.7上传参考;image辅助状态不是第二张图或后端upload参数",
|
||||
)
|
||||
ref(
|
||||
"moge3-reference",
|
||||
"frontend__LICENSE",
|
||||
1,
|
||||
len((OUT.parent / ("moge3-reference/frontend__LICE" + "NSE")).read_text().splitlines()),
|
||||
"显式前端参考许可全文;版本未获源声明",
|
||||
)
|
||||
ref(
|
||||
"moge3-reference",
|
||||
"core__LICENSE",
|
||||
1,
|
||||
len((OUT.parent / "moge3-reference/core__LICENSE").read_text().splitlines()),
|
||||
"显式LoadImage参考许可全文;版本未获源声明",
|
||||
)
|
||||
# Each layout hypothesis is explicit and separate from the source's input-port evidence.
|
||||
labels = {
|
||||
"model": "语言模型文件引用",
|
||||
"mmproj": "视觉投影文件引用",
|
||||
"chat_handler": "对话处理器选择",
|
||||
"n_ctx": "上下文长度上限",
|
||||
"vram_limit": "显存估算限制",
|
||||
"image_min_tokens": "图像token下限传递值",
|
||||
"image_max_tokens": "图像token上限传递值",
|
||||
"max_tokens": "输出token上限传递值",
|
||||
"top_k": "候选数量传递值",
|
||||
"top_p": "累计概率传递值",
|
||||
"min_p": "最低概率传递值",
|
||||
"typical_p": "典型采样传递值",
|
||||
"temperature": "采样温度传递值",
|
||||
"repeat_penalty": "重复惩罚传递值",
|
||||
"frequency_penalty": "频率惩罚传递值",
|
||||
"presence_penalty": "出现惩罚端口(参考拼名冲突)",
|
||||
"mirostat_mode": "Mirostat模式传递值",
|
||||
"mirostat_eta": "Mirostat学习率传递值",
|
||||
"mirostat_tau": "Mirostat目标传递值",
|
||||
"state_uid": "会话状态标识",
|
||||
"preset_prompt": "预设提示选择",
|
||||
"custom_prompt": "源自定义中文请求",
|
||||
"system_prompt": "源系统提示空串",
|
||||
"inference_mode": "图片处理模式",
|
||||
"max_frames": "视频模式采样帧数",
|
||||
"max_size": "条件缩放最长边",
|
||||
"seed": "源保存种子整数",
|
||||
"control_after_generate": "可能的种子辅助控制",
|
||||
"force_offload": "推理后卸载选项",
|
||||
"save_states": "保留会话选项",
|
||||
"image": "输入图片文件引用",
|
||||
"upload": "上传辅助状态",
|
||||
"history_text": "完整历史展示文本",
|
||||
}
|
||||
# Static reference schema values are documented, never executed as INPUT_TYPES.
|
||||
schema = {
|
||||
"model": (
|
||||
"动态LLM模型列表;无固定默认",
|
||||
"文件名",
|
||||
"排除名称含mmproj的文件,动态选项/实际量化与兼容未知",
|
||||
),
|
||||
"mmproj": (
|
||||
"None",
|
||||
"文件名",
|
||||
("None或LLM目录名称含mmproj的动态列表;不证明已安" + "装或匹配"),
|
||||
),
|
||||
"chat_handler": ("None", "枚举", "SDK条件导入决定候选;源Qwen3.5仅引用,不证明可用"),
|
||||
"n_ctx": ("8192", "token(参考上下文限制)", "1024~327680,步长128;实际占用未知"),
|
||||
"vram_limit": (
|
||||
"-1",
|
||||
"GB(参考估算)",
|
||||
"-1~1024,步长1;参考-1不设估算限制,不等于固定显存或GPU层数",
|
||||
),
|
||||
"image_min_tokens": (
|
||||
"0",
|
||||
"token(参考传递参数)",
|
||||
"0~4096,步长32;仅特定handler或_MTMD分支传入,零值下游语义未知",
|
||||
),
|
||||
"image_max_tokens": (
|
||||
"0",
|
||||
"token(参考传递参数)",
|
||||
"0~4096,步长32;不承诺0禁用图像或无限制",
|
||||
),
|
||||
"max_tokens": ("1024", "token(参考传递参数)", "0~4096,步长1"),
|
||||
"top_k": ("30", "参考整数参数", "0~1000,步长1"),
|
||||
"top_p": ("0.9", "参考比例参数", "0.0~1.0,步长0.01"),
|
||||
"min_p": ("0.05", "参考比例参数", "0.0~1.0,步长0.01"),
|
||||
"typical_p": ("1.0", "参考比例参数", ("0.0~1.0,步长0.01;源int 1保持,不改floa" + "t")),
|
||||
"temperature": ("0.8", "参考无量纲参数", "0.0~2.0,步长0.01"),
|
||||
"repeat_penalty": ("1.0", "参考无量纲参数", "0.0~10.0,步长0.01;源int 1保持"),
|
||||
"frequency_penalty": ("0.0", "参考无量纲参数", "0.0~1.0,步长0.01;源int 0保持"),
|
||||
"presence_penalty": (
|
||||
"未知:参考仅有present_penalty,非同名字段",
|
||||
"未知",
|
||||
"不能用present_penalty的默认0.0/范围替代本源presence_penalty;不改拼名",
|
||||
),
|
||||
"mirostat_mode": (
|
||||
"0",
|
||||
"参考整数枚举",
|
||||
"0~2,步长1;插件仅传递,SDK采样组合/禁用条件未取证",
|
||||
),
|
||||
"mirostat_eta": ("0.1", "参考无量纲参数", "0.0~1.0,步长0.01"),
|
||||
"mirostat_tau": ("5.0", "参考无量纲参数", "0.0~10.0,步长0.01;源int 5保持"),
|
||||
"state_uid": (
|
||||
"-1",
|
||||
"标识符",
|
||||
("-1~999999,步长1;参考-1使用unique_id末" + "段,非禁用全部状态"),
|
||||
),
|
||||
"preset_prompt": (
|
||||
"Normal - Describe",
|
||||
"枚举文本",
|
||||
"参考Detailed为列表选项,非默认;原字符串不修改",
|
||||
),
|
||||
"custom_prompt": (
|
||||
"空串",
|
||||
"文本",
|
||||
"参考非空custom且预设名不含*时覆盖预设;星号模板替换分支仅解释,不构造prompt",
|
||||
),
|
||||
"system_prompt": (
|
||||
"空串",
|
||||
"文本",
|
||||
"参考video会添加前缀;系统提示变化会清状态;空串不证明最终无系统行为",
|
||||
),
|
||||
"inference_mode": (
|
||||
"one by one",
|
||||
"枚举",
|
||||
"one by one/images/video;images合并全部图片进入一次调用",
|
||||
),
|
||||
"max_frames": (
|
||||
"24",
|
||||
"帧(参考video分支)",
|
||||
"2~1024,步长1;源images分支不使用,不代表输入24帧",
|
||||
),
|
||||
"max_size": (
|
||||
"256",
|
||||
"像素(参考最长边)",
|
||||
"128~16384,步长64;images仅多图调用缩放,单图直接处理;缩放不放大",
|
||||
),
|
||||
"seed": (
|
||||
"0",
|
||||
"整数标识(参考随机种子)",
|
||||
"0~18446744073709551615,步长1;源290079675294308原样保留,不生成下一种子",
|
||||
),
|
||||
"control_after_generate": (
|
||||
"参考辅助默认randomize;源实际默认未知",
|
||||
"前端辅助枚举",
|
||||
("fixed/increment/decrement/rand" + "omize;假设1.52.7时非prompt字段,无源同名口"),
|
||||
),
|
||||
"force_offload": (
|
||||
"False",
|
||||
"布尔",
|
||||
"参考true调用clean;false仍可清Qwen上下文/混合缓存,不承诺保留所有内存",
|
||||
),
|
||||
"save_states": (
|
||||
"False",
|
||||
"布尔",
|
||||
"参考true保留清理后会话于RAM;false调用clean_state,不等于无状态读写副作用",
|
||||
),
|
||||
"image": (
|
||||
"动态input目录列表,无固定默认",
|
||||
"文件名",
|
||||
"仅保存ComfyUI_00774_.png;内容/尺寸/存在性未知,未读素材",
|
||||
),
|
||||
"upload": (
|
||||
"参考前端辅助;无后端默认",
|
||||
"文本",
|
||||
"保存image;不是第二张图片、遮罩或后端upload参数",
|
||||
),
|
||||
"history_text": (
|
||||
"未知;参考只读展示来自运行消息",
|
||||
"历史文本",
|
||||
"456字符完整历史字符串;不是本次产物、图片内容证明或模型效果",
|
||||
),
|
||||
}
|
||||
effects = {
|
||||
"model": "loader→2.llama_model;文件名不证明实际精度、模型架构或显存占用。",
|
||||
"mmproj": "loader与模型共同引用;参考有图像但无有效mmproj/handler会报错,目标兼容未知。",
|
||||
"chat_handler": "参考Qwen3.5受SDK动态导入控制;不能将近版支持当目标安装事实。",
|
||||
"n_ctx": "参考传入Llama的n_ctx;不是输出长度或实际可用token保证。",
|
||||
"vram_limit": "参考按文件大小估算GPU层数;没有测量目标显存,不执行模型加载。",
|
||||
"image_min_tokens": "参考按handler/_MTMD条件传入;不推断源零值特殊语义。",
|
||||
"image_max_tokens": "参考按handler/_MTMD条件传入;源SDK未知,不能套通用默认。",
|
||||
"state_uid": (
|
||||
"参考从参数复制后移除此键,-1改用节点unique_id;系"
|
||||
+ "统提示变化和save_states分支可能操作RAM状态。"
|
||||
),
|
||||
"presence_penalty": (
|
||||
"源输入口明确拼作presence_penalty;候选却注册"
|
||||
+ "present_penalty,接口冲突且未知,不能自动纠正"
|
||||
+ "或宣称有效。"
|
||||
),
|
||||
"preset_prompt": (
|
||||
"源选择Detailed;参考当前custom非空且不含星号的" + "预设会被custom覆盖,不执行替换。"
|
||||
),
|
||||
"custom_prompt": (
|
||||
"源中文请求全文保留。参考非空custom覆盖非星号预设," + "不能保证目标模型只输出中文。"
|
||||
),
|
||||
"system_prompt": (
|
||||
"保留空字符串,区别于缺键、null和false;参考系统提示" + "变化会清理会话,真实恢复未知。"
|
||||
),
|
||||
"inference_mode": (
|
||||
"源保存images;参考打平输入列表合并所有图片,outpu"
|
||||
+ "t为汇总字符串/output_list为列表;只连槽0至4。"
|
||||
),
|
||||
"max_frames": "参考只有video分支均匀采样使用;源images缓存24不等于处理24帧。",
|
||||
"max_size": (
|
||||
"参考images多于一张才调用scale_image;单张i" + "mages不缩放,不能保证源图最终256像素。"
|
||||
),
|
||||
"seed": "原大整数保持;后续randomize另列,不运行随机化或推算下一次种子。",
|
||||
"control_after_generate": (
|
||||
"第7位置可能是seed辅助控制,参考构造支持;源未声明fro"
|
||||
+ "ntendVersion,实际布局/恢复/UE7.7组合仍未"
|
||||
+ "知。"
|
||||
),
|
||||
"force_offload": (
|
||||
"按参考辅助控件布局假设解释第8位置false;参考关闭卸载仍"
|
||||
+ "可能清混合缓存,不执行卸载。"
|
||||
),
|
||||
"save_states": (
|
||||
"按参考布局假设解释第9位置false;参考关闭保留仍可能清理状态,"
|
||||
+ "不执行状态保存或清理。"
|
||||
),
|
||||
"image": (
|
||||
"3.IMAGE→2.images,MASK未接;不读取Com" + "fyUI_00774_.png,也不凭历史文本推断内容。"
|
||||
),
|
||||
"upload": (
|
||||
"源辅助保存image,与图片文件引用分列;复用参考仅为解释辅助状态," + "前端实际版本未知。"
|
||||
),
|
||||
"history_text": (
|
||||
"ShowText槽text来自2.output;保存的是完整历史展示字符串,不能替代当前输"
|
||||
"入、输出或实跑记录。参考实现有工作流历史写回,但源保存形状与参考list写回不同,不改原值"
|
||||
"。"
|
||||
),
|
||||
}
|
||||
names = {
|
||||
1: [
|
||||
"model",
|
||||
"mmproj",
|
||||
"chat_handler",
|
||||
"n_ctx",
|
||||
"vram_limit",
|
||||
"image_min_tokens",
|
||||
"image_max_tokens",
|
||||
],
|
||||
5: [
|
||||
"max_tokens",
|
||||
"top_k",
|
||||
"top_p",
|
||||
"min_p",
|
||||
"typical_p",
|
||||
"temperature",
|
||||
"repeat_penalty",
|
||||
"frequency_penalty",
|
||||
"presence_penalty",
|
||||
"mirostat_mode",
|
||||
"mirostat_eta",
|
||||
"mirostat_tau",
|
||||
"state_uid",
|
||||
],
|
||||
2: [
|
||||
"preset_prompt",
|
||||
"custom_prompt",
|
||||
"system_prompt",
|
||||
"inference_mode",
|
||||
"max_frames",
|
||||
"max_size",
|
||||
"seed",
|
||||
"control_after_generate",
|
||||
"force_offload",
|
||||
"save_states",
|
||||
],
|
||||
3: ["image", "upload"],
|
||||
4: ["history_text"],
|
||||
}
|
||||
fields = []
|
||||
for ni, n in enumerate(g["nodes"]):
|
||||
assert "widgets_values_named" not in n
|
||||
for k, value in enumerate(n["widgets_values"]):
|
||||
name = names[n["id"]][k]
|
||||
target = "text" if name == "history_text" else name
|
||||
inp = next((i for i, p in enumerate(n["inputs"]) if p["name"] == target), None)
|
||||
ev = (
|
||||
[layout, load, handlers]
|
||||
if n["id"] == 1
|
||||
else [params, priority]
|
||||
if n["id"] == 5
|
||||
else [instruct, priority, images, scale, side, presets, seed, control]
|
||||
if n["id"] == 2
|
||||
else [image, upload]
|
||||
if n["id"] == 3
|
||||
else [show, showjs]
|
||||
)
|
||||
default, unit, limits = schema[name]
|
||||
effect = effects.get(
|
||||
name,
|
||||
(
|
||||
"参考插件仅把该具名参数原样放入kwargs,再传给create_chat_completi"
|
||||
"on;具体SDK概率算法、联合优先级/禁用条件与目标效果未知,不套通用LLM规则。"
|
||||
),
|
||||
)
|
||||
hypothesis = "显式参考布局假设,源无具名保存值;输入口名只作独立线索,不证明位置映射。"
|
||||
fields.append(
|
||||
dict(
|
||||
node_id=str(n["id"]),
|
||||
definition_node_id=str(n["id"]),
|
||||
scope="root",
|
||||
class_type=n["type"],
|
||||
field=name,
|
||||
label=labels[name],
|
||||
pointer=f"/nodes/{ni}/widgets_values/{k}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
named_pointer="源缺widgets_values_named,无具名指针,不制造",
|
||||
input_pointer=f"/nodes/{ni}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无对应输入口,不制造",
|
||||
input_name=n["inputs"][inp]["name"] if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "可能前端辅助控件",
|
||||
role="history_text"
|
||||
if n["id"] == 4
|
||||
else "frontend_control"
|
||||
if name in ["upload", "control_after_generate"]
|
||||
else "reference_layout_hypothesis",
|
||||
schema_default="仅显式参考:" + default,
|
||||
unit=unit,
|
||||
limits=limits + ";源准确默认/范围仍未知。",
|
||||
effect=hypothesis + effect,
|
||||
execution_note="原mode0;"
|
||||
+ hypothesis
|
||||
+ "源身份/版本/前端/恢复/UE组合与目标绑定未知;转换关闭、未实跑。",
|
||||
evidence=ev + [front],
|
||||
)
|
||||
)
|
||||
assert len(fields) == 33 and len(g["nodes"][0]["widgets_values"][0]) == 456
|
||||
overview = (
|
||||
"这张图想把输入图片交给本地Qwen语言视觉模型,整理成中文描述或提示词,再在文本节点显示。"
|
||||
"模型和视觉投影只是文件引用;节点与前端版本未声明,同名参考存在接口差异。当前仅读参考、保持"
|
||||
"停用,历史展示文字不是新生成结果。"
|
||||
)
|
||||
flow = [
|
||||
(
|
||||
"独立原字节盘点:根5节点4物理边、全部mode0,无子图/Note;33顶层保存位置=历史"
|
||||
"展示1+loader7+LoadImage2+parameters13+instruct1"
|
||||
"0。"
|
||||
),
|
||||
(
|
||||
"全图无frontendVersion,五节点无cnr_id/aux_id/ver且无wid"
|
||||
"gets_values_named;UE属性仅保存7.7。源输入口与保存位置分开,不补具名"
|
||||
"值,不由端口顺序推出可靠控件映射。"
|
||||
),
|
||||
(
|
||||
"物理链:1.llama_cpp_model_loader→2.llama_model,5."
|
||||
"llama_cpp_parameters→2.parameters,3.IMAGE→2.i"
|
||||
"mages,2.output槽0→4.ShowText。3.MASK、2.output_l"
|
||||
"ist/state_uid均未接,queue_handler未接;不保证排队/状态复用行为"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"加载器模型Qwen3.5-9b-heretic-v2-q8_0.gguf与Qwen3.5-"
|
||||
"9b-mmproj-BF16.gguf只是引用;参考LLM目录/handler条件不证明已"
|
||||
"装、视觉兼容、实际精度/显存。七位置与参考前七构造相似,但参考还要求load_mtp,源无"
|
||||
"此口/值,不能补False或认定准确版本。"
|
||||
),
|
||||
(
|
||||
"参数保存13位置;源presence_penalty口与参考present_penalty"
|
||||
"拼名冲突。其余参考schema仅为显式假设,kwargs下传不能证明SDK采样算法、Mir"
|
||||
"ostat组合/禁用条件;0、1整数与float默认分别保留。"
|
||||
),
|
||||
(
|
||||
"instruct十位置对九普通控件:参考1.52.7 INT构造会给seed追加rando"
|
||||
"mize辅助控件且不传prompt,故将第7位置单列为可能辅助、第8/9按假设解释fals"
|
||||
"e/false;不是十值硬对九口。源前端、恢复、UE顺序未知,不计算种子。"
|
||||
),
|
||||
(
|
||||
"仅参考分支:custom非空且预设名不含*时覆盖preset;星号预设才模板替换,syst"
|
||||
"em另作系统消息;源空串保留。不构造或执行任何prompt,也不保证模型遵守中文/格式要求"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"仅参考images分支合并全部图片;max_frames24只在video分支使用;max"
|
||||
"_size256只在多图images时缩放最长边且不放大,单图images直接处理,不能保"
|
||||
"证输出图片尺寸或真实帧数。"
|
||||
),
|
||||
(
|
||||
"仅参考状态副作用:state_uid=-1使用unique_id末段;系统提示变化会清状态"
|
||||
",save_states=false也会clean_state;force_offload"
|
||||
"=false仍可能清Qwen上下文/混合缓存。false不是无读写/无副作用承诺;本轮未执"
|
||||
"行任何状态操作。"
|
||||
),
|
||||
(
|
||||
"4.ShowText完整456字符历史中文以原字符串保留,包含Markdown但仅纯文本展"
|
||||
"示;不是当前图片内容、模型效果或实跑证明。参考ShowText后端list写回和前端兼容恢"
|
||||
"复仅作假设,源实际写回/恢复未知。未读源图片或历史媒体。"
|
||||
),
|
||||
(
|
||||
"来源调查有界:三准确class与注册链找到lihaoyun6候选,搜索另有zwukong不"
|
||||
"同加载器schema及kijai同类名称;不穷举所有fork。固定参考完整commit,不"
|
||||
"能把main时点、搜索、pyproject版本或Registry声明当源安装身份。"
|
||||
),
|
||||
(
|
||||
"参考lihaoyun6的pyproject自称1.3.1,license指向LICENSE"
|
||||
"但完整Git树没有该文件,许可文本未知;ShowText另固定MIT许可。LoadImag"
|
||||
"e使用既有core0.36.0、前端辅助使用1.52.7,仅为与端口/辅助结构相符的显式参"
|
||||
"考假设,不继承MoGe或其它图版本信任。"
|
||||
),
|
||||
(
|
||||
"常见问题:缺模型/图片由总管核对文件位置与准确插件;模型加载报错先核load_mtp接口、"
|
||||
"SDK handler与mmproj兼容,不改原值;参数报错先核presence/pres"
|
||||
"ent拼名冲突,不自动修正;历史文字不更新不表示此次成功,图片尺寸与状态行为需准确环境验证"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"旧38块1348位置+41注释逐对象冻结;现39图1381位置+41注释仅参考。155完整"
|
||||
"定稿0/实跑0/新增转换0,16/139、1217/3660/294、全停用未检查/空时间"
|
||||
"戳保持。"
|
||||
),
|
||||
]
|
||||
flow += ["原物理边 " + json.dumps(e, ensure_ascii=False) for e in g["links"]]
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
|
||||
notice=(
|
||||
"仅显式固定参考假设;源无身份/版本/具名值,load_mtp"
|
||||
+ "缺口与presence/present冲突保留,转换关闭、未"
|
||||
+ "实跑。"
|
||||
),
|
||||
user_overview=overview,
|
||||
versions=[
|
||||
"源未声明frontendVersion或节点cnr_id/aux_id/ver;不制造具名保存值/源准确默认。",
|
||||
(
|
||||
"llama显式参考→f2209cccb72664764027"
|
||||
+ "1bd1cea071a570fc62f5;pyproject"
|
||||
+ "自称1.3.1非发布包绑定,LICENSE缺失。"
|
||||
),
|
||||
"ShowText显式类名参考→"
|
||||
+ json.loads((REF / "identities.json").read_bytes())[1]["commit"]
|
||||
+ ";不继承已有Custom Scripts身份信任。",
|
||||
(
|
||||
"LoadImage显式core0.36.0→ee71d5c4"
|
||||
+ "993f29086b27fde1629a945ae48425"
|
||||
+ "bf;源版本未知。"
|
||||
),
|
||||
(
|
||||
"辅助/恢复显式frontend1.52.7→1a7a6b82"
|
||||
+ "514874545dc5e8203d0bd2188c2d9b"
|
||||
+ "18;源前端/UE7.7组合未知。"
|
||||
),
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=33,
|
||||
root_saved_fields=33,
|
||||
internal_saved_fields=0,
|
||||
linked_saved_fields=1,
|
||||
frontend_only=1,
|
||||
source_nodes=5,
|
||||
root_nodes=5,
|
||||
internal_nodes=0,
|
||||
physical_edges=4,
|
||||
internal_edge_records=0,
|
||||
source_notes=0,
|
||||
history_objects=0,
|
||||
history_strings=1,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=refs,
|
||||
comments=[],
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(refs))),
|
||||
zero_saved_nodes=[],
|
||||
boundaries=[],
|
||||
steps=[
|
||||
overview,
|
||||
"操作1:只读核对图片、模型/投影文件引用、33个保存位置与456字符历史文本,不读取素材或生成描述。",
|
||||
(
|
||||
"操作2:由总管核准源节点身份/准确版本、前端恢复、load_"
|
||||
+ "mtp及presence/present接口差异与SDK/模"
|
||||
+ "型兼容;未知前保持停用。"
|
||||
),
|
||||
"操作3:全量审核完成前仅阅读,不构造prompt、不推理、不计算种子、不保存或清理状态。",
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,40 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
FILES = [
|
||||
("calliope-backend/src/calliope/co" + "mfyui/fixed_document.py"),
|
||||
"calliope-backend/tests/test_llama_fixed_document.py",
|
||||
"e2e/run-llama-document.py",
|
||||
] + [str(p.relative_to(ROOT)) for p in sorted(OUT.glob("*.py"))]
|
||||
|
||||
|
||||
def main():
|
||||
for command in [["check"], ["format", "--check"]]:
|
||||
subprocess.run(
|
||||
[
|
||||
"uv",
|
||||
"run",
|
||||
"--project",
|
||||
"calliope-backend",
|
||||
"--offline",
|
||||
"ruff",
|
||||
*command,
|
||||
"--config",
|
||||
"calliope-backend/pyproject.toml",
|
||||
*FILES,
|
||||
],
|
||||
cwd=ROOT,
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(["node", "--check", "e2e/llama-document.mjs"], cwd=ROOT, check=True)
|
||||
(OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n")
|
||||
print("PASS", len(FILES), (("authored Python files and one " + "JS") + " syntax check"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,19 @@
|
||||
第58批仅Llama-cpp+Qwen3.5提示词单图中文参考说明。基线92b7897ae2c394bb214d6a7fdec0c139b8f09c76,原PR25/main、分支agent/agent/a64a969a6a44。新增33保存位置/0注释;旧38块1348位置+41注释逐对象不变,现39图1381+41仅参考。155完整定稿0/必要实跑0/新增转换0,全量未完成。
|
||||
|
||||
source_reviews.json只增加本图fixed_version_document;fixed_document.py只增加代码持有摘要。既有build_document、真实GET和整文件未改的Drawer展示中文用途、步骤、模型与素材、输入输出、常见问题、具体连线、每位置原JSON值/类型/物理指针、源输入口独立线索与参考默认/范围/条件。没有具名保存值就明确缺失,不制造具名指针。原字节/规范全图/受信定义摘要失败关闭,调用方重算摘要不能扩大信任。新增专项覆盖每位置篡改、所有节点身份/mode/端口、四物理边、摘要与历史文本,不放宽转换资格。
|
||||
|
||||
独立原字节确认5节点/4边/全mode0,无子图/Note;33位置为历史展示1+loader7+LoadImage2+parameters13+instruct10。全图无frontendVersion,节点无cnr_id/aux_id/ver与widgets_values_named,UE属性保存7.7。保存位置与端口分开;所有映射都标显式参考假设。2.output槽0→ShowText,MASK、output_list/state_uid、queue_handler未接。456字符历史中文完整保留,标明历史,不当本次图片内容/产物/效果,未读取源图片或历史媒体。
|
||||
|
||||
有界调查按三准确class和注册链选lihaoyun6/ComfyUI-llama-cpp_vlm完整commit f2209cccb726647640271bd1cea071a570fc62f5作为显式参考;同名fork存在,来源身份/准确版本/发布包与目标绑定均未知。参考加载器新增load_mtp,源七值/七口缺此项;参考present_penalty与源presence_penalty冲突,保留源值,不修拼名或补默认。pyproject自称1.3.1,license引用LICENSE但完整Git树缺该文件,许可文本未知,不声称已核准许可。
|
||||
|
||||
ShowText另固定609f3afaa74b2f88ef9ce8d939626065e3247469和MIT全文,仅class线索参考,不继承旧Custom Scripts身份信任。LoadImage仅以已有core0.36.0 ee71d5c4993f29086b27fde1629a945ae48425bf作端口形状相符参考;前端仅显式1.52.7 1a7a6b82514874545dc5e8203d0bd2188c2d9b18假设。追加准确useIntWidget文本,构造会为seed附randomize辅助控件,widgets.ts证明不传prompt;十值对九口因此分列,非可靠源恢复证明。未借其它前端版本或补源版本。25行号引用/15被引文本,完整commit/tree/blob/SHA、获取时间及可得许可离线验证通过,实际doc local_file基准为docs/hel-892/llama-document-evidence。
|
||||
|
||||
参考分支说明已进入实际doc:非星号预设被非空custom覆盖;system另处理;images模式不使用max_frames,且只有多图才最长边缩放,单图不保证256;保存大整数seed和randomize分开。force_offload=false仍可能清Qwen缓存,save_states=false仍调用clean_state,-1状态标识/系统提示变化也有状态分支;false不当无副作用承诺。不执行这些操作,不套SDK通用采样算法、禁用条件或零值语义。
|
||||
|
||||
本次147后台通过=134专项+13库,1404浏览通过=476新图+912旧38概要+2汇总+14共享。1440/390逐33位置、完整456字符历史字符串、来源、默认折叠、旧/空/错绑定回退、迟到响应、失败重试、焦点和无横溢通过;4代表截图目验,7截图随附件不入仓。13自写Python Ruff/format与JS语法通过;离线wheel/sdist三资源字节与双次重建/渲染确定性通过。未机械复跑未改大套件,不称全仓绿;开发失败及5个基线既有失败沿用边界见development-notes.md。
|
||||
|
||||
真实92b7897旧代码隔离库仅1更新/154跳过,其余154整行不变;幂等155跳过、精确回退1、再升级1;升级前后用户修改各1冲突,29列整行保护。新库155导入/1排除、16/139、1217/3660/294、全停用未检查/空时间戳保持。163原件、191冻结资源、28profiles、9候选、六差分、执行链与Drawer整文件不变。
|
||||
|
||||
浏览固定130 GET/轮询10;实际后端固定125含就绪1/轮询10。6详情拦截(含失败自动重试2次)和1字体CSS拦截分列,禁止请求0;finally停两服务,独立核8247/5173连接拒绝,无新增pyc。复现入口validation-commands.txt,审查差分review-delta.json、import-protection.json、boundaries.json;完整中文与actual-*.json附证据。
|
||||
|
||||
仍待准确源身份/版本/恢复/接口冲突、SDK与模型视觉兼容、目标环境/素材/耗时/产物验证;另116图尚无本类固定参考说明块。当前不需窗口/材料;未连接目标、停TTS、启ComfyUI、执行上游或模型/GPU/媒体/随机种子/状态操作;无新依赖、模型素材字体运行库下载、付费或在线库写入。交总管HEL-893功能+界面审核;不合并部署,全量完成审核后才发布。
|
||||
@@ -0,0 +1,5 @@
|
||||
本次最终后台计数147=134专项+13库;仅计最终完整pytest-final.txt。初次146通过/1失败因旧参考块不都含comments键,改为检查实际build_document.source_notes并核准41;首轮结果pytest.txt保留,不重复累加。
|
||||
|
||||
开发中手写来源行号越界被构建断言拒绝,核对原件长度后修正,未产生错误受信定义;Ruff最初发现长行/紧凑语句,已格式化和拆分常量,最终13自写Python+JS语法通过。双次重建/渲染证明格式化未改变定义数据。原上游文本未格式化或执行。
|
||||
|
||||
未跑未改动全后台、全前端或转换大套件;5个无关基线失败沿用历史记录,本次未复现,不宣称全仓绿。未调用任何插件/LLM/SDK/模型/媒体/随机化/状态清理,不构造prompt。浏览只有一次完整执行,结果1404通过。
|
||||
@@ -0,0 +1,129 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
import datetime
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
REF = Path(__file__).resolve().parents[1] / "llama-reference"
|
||||
SPECS = {
|
||||
"llama": (
|
||||
"lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"llama-reference-git",
|
||||
[
|
||||
"nodes.py",
|
||||
"__init__.py",
|
||||
"pyproject.toml",
|
||||
"README_zh.md",
|
||||
"support/gguf_layers.py",
|
||||
],
|
||||
),
|
||||
"showtext": (
|
||||
"pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"showtext-reference-git",
|
||||
["py/show_text.py", "web/js/showText.js", "__init__.py", "LICENSE", "pyproject.toml"],
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
def main():
|
||||
REF.mkdir(parents=True, exist_ok=True)
|
||||
rows, identities = [], []
|
||||
for key, (repo, cache, files) in SPECS.items():
|
||||
gd = ROOT / ".local-evidence" / cache
|
||||
|
||||
def git(*args):
|
||||
return subprocess.check_output(["git", "-C", str(gd), *args])
|
||||
|
||||
rev = {
|
||||
"llama": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"showtext": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
}[key]
|
||||
tree = []
|
||||
for line in git("ls-tree", "-r", rev).decode().splitlines():
|
||||
head, path = line.split("\t", 1)
|
||||
mode, kind, sha = head.split()
|
||||
tree.append(dict(path=path, mode=mode, type=kind, sha=sha))
|
||||
(REF / (key + "-tree.json")).write_text(
|
||||
json.dumps(dict(sha=rev, truncated=False, tree=tree), indent=2) + "\n"
|
||||
)
|
||||
(REF / (key + "-commit.txt")).write_bytes(git("cat-file", "commit", rev))
|
||||
identities.append(
|
||||
dict(
|
||||
id=key,
|
||||
repo=repo,
|
||||
commit=rev,
|
||||
tree=git("rev-parse", rev + "^{tree}").decode().strip(),
|
||||
tag=None,
|
||||
selection="显式调查参考;非源声明版本、非发布包/目标绑定",
|
||||
license_status="pyproject引用LICENSE但Git树缺此文件,许可文本未知"
|
||||
if key == "llama"
|
||||
else "LICENSE全文已固定",
|
||||
)
|
||||
)
|
||||
for file in files:
|
||||
raw = git("show", rev + ":" + file)
|
||||
name = key + "__" + file.replace("/", "__")
|
||||
blob = next(e["sha"] for e in tree if e["path"] == file)
|
||||
assert hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() == blob
|
||||
(REF / name).write_bytes(raw)
|
||||
rows.append(
|
||||
dict(
|
||||
id=key,
|
||||
repo=repo,
|
||||
file=file,
|
||||
local_file=name,
|
||||
commit=rev,
|
||||
tag=None,
|
||||
url=f"https://raw.githubusercontent.com/{repo}/{rev}/{file}",
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
fetched_at=datetime.datetime.now(datetime.timezone.utc).isoformat(),
|
||||
license_file="未提供,pyproject引用但原树缺失"
|
||||
if key == "llama"
|
||||
else "showtext__LICENSE",
|
||||
transport=("git show full commit; no check" + "out; text only"),
|
||||
applicability="显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
)
|
||||
)
|
||||
old = REF.parent / "moge3-reference"
|
||||
ident = next(
|
||||
i for i in json.loads((old / "identities.json").read_bytes()) if i["id"] == "frontend"
|
||||
)
|
||||
file = "src/renderer/extensions/vueNod" + "es/widgets/composables/useIntW" + "idget.ts"
|
||||
url = f"https://raw.githubusercontent.com/{ident['repo']}/{ident['commit']}/{file}"
|
||||
raw = urllib.request.urlopen(url, timeout=30).read()
|
||||
tree = json.loads((old / "frontend-tree.json").read_bytes())
|
||||
blob = next(e["sha"] for e in tree["tree"] if e["path"] == file)
|
||||
assert hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() == blob
|
||||
(REF / "frontend__useIntWidget.ts").write_bytes(raw)
|
||||
rows.append(
|
||||
dict(
|
||||
id="frontend",
|
||||
repo=ident["repo"],
|
||||
file=file,
|
||||
local_file="frontend__useIntWidget.ts",
|
||||
commit=ident["commit"],
|
||||
tag=ident["tag"],
|
||||
url=url,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
fetched_at=datetime.datetime.now(datetime.timezone.utc).isoformat(),
|
||||
license_file="../moge3-reference/frontend__LICENSE",
|
||||
transport=("raw pinned full commit, git tr" + "ee blob verified"),
|
||||
applicability="仅显式1.52.7参考假设;本图未声明前端版本",
|
||||
)
|
||||
)
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps(dict(sources=rows), ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(REF / "identities.json").write_text(
|
||||
json.dumps(identities, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,398 @@
|
||||
[
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"purpose": "仅新增本图代码持有摘要,保持失败关闭",
|
||||
"sha256": "8be81f9f44cf4268b4badf4d100adfbd60bc06617f3e2595b8dccf0a362305e8",
|
||||
"bytes": 11249
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"purpose": "仅本图新增33位置参考块;旧38块逐对象冻结",
|
||||
"sha256": "13f1cfe2b7babf1df43da2ad95a971d28a988903b63ef0fcf89a41627cdecabc",
|
||||
"bytes": 4896378
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_llama_fixed_document.py",
|
||||
"purpose": "134专项:原值/类型/身份/端口/边/受信篡改/未知来源",
|
||||
"sha256": "5df6709bb65ed557c1715f419391ca2d9cd9b70430cb1417429c3ba444ae5474",
|
||||
"bytes": 7446
|
||||
},
|
||||
{
|
||||
"path": "e2e/llama-document.mjs",
|
||||
"purpose": "隔离本地GET两屏/旧38概要/回退/焦点验证",
|
||||
"sha256": "b36559f74d033be666a74b53625c68af87bca8984b5094e9a208eaea069c89c1",
|
||||
"bytes": 14787
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-llama-document.py",
|
||||
"purpose": "前台收集浏览结果,finally停止自有服务",
|
||||
"sha256": "f48f653e1cbde304f76d88e449690503bbe2b53f620539534c4c7dfbf9817f68",
|
||||
"bytes": 3173
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/LlamaQwen提示词固定参考中文说明.md",
|
||||
"purpose": "完整中文或实际交付/开发记录",
|
||||
"sha256": "f2b92dbcebd8c192ffdb3c1d3738a43306e01c28b0cd0d95ca94bf3d0e36dae0",
|
||||
"bytes": 117562
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/actual-Llama-cpp+Qwen3.5-提示词.json",
|
||||
"purpose": "真实库导出doc_json",
|
||||
"sha256": "2106b0056cc4142e24cf52fc0d09c6a8b06f1521230c20a4614b995e53d74382",
|
||||
"bytes": 96757
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/audit-summary.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:audit-summary.json",
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"bytes": 797
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/boundaries.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:boundaries.json",
|
||||
"sha256": "246549ebd28af9d95464ccfcd15ecad85171e0acf5cb02af7d79d6bb89e5219a",
|
||||
"bytes": 38634
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/browser-results.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:browser-results.json",
|
||||
"sha256": "cd8d9ddd63082551ddd2b1bcba9dbb5739438f05b117effa0383c245f29eab0c",
|
||||
"bytes": 92827
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/browser-run.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:browser-run.txt",
|
||||
"sha256": "21f072c43976e7f643a5391fdbbb839e0bc30da71add681b4c91fba5b2c973e6",
|
||||
"bytes": 74884
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/build-artifacts.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:build-artifacts.json",
|
||||
"sha256": "157e7c13d9c7bb5b68f61c1d5955be5c5de0c8affea03e23d2662bdac158eb9f",
|
||||
"bytes": 383
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/build.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:build.txt",
|
||||
"sha256": "0f29912d56aa88f94e2a12d579f0859cc649d699868bdfa10ab64faa0b49ee28",
|
||||
"bytes": 195
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/build_definition.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:build_definition.py",
|
||||
"sha256": "4b2130ed9fd64f042a59f8bdc6011917af13fa54ce99a1475a1c3a7550760022",
|
||||
"bytes": 28734
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/check_code.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:check_code.py",
|
||||
"sha256": "3b41001cfe997988e35e9a30eb4c2105fc3f80e59dee8a0ab6aa23793ea32980",
|
||||
"bytes": 1208
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/definition-0.json",
|
||||
"purpose": "受信参考块完整数据",
|
||||
"sha256": "348d1ca709ea83d4ddfb42713788833d23c0fb2ee24c7d89df1236f9cba5da1f",
|
||||
"bytes": 76234
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/delivery-summary.md",
|
||||
"purpose": "完整中文或实际交付/开发记录",
|
||||
"sha256": "4d27a034a1c620db8df2c772942057bb35a625aa9dced120ba1bd49fff212ae9",
|
||||
"bytes": 4987
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/development-notes.md",
|
||||
"purpose": "完整中文或实际交付/开发记录",
|
||||
"sha256": "42d75e12b78f39042a81a5f1d4d79fb5057a42fac09b014704f0b16b6f4ff68a",
|
||||
"bytes": 861
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/fetch_sources.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:fetch_sources.py",
|
||||
"sha256": "3ac3d193b198db63f2e69774b5291ef05216fb8544ca4fb9bae6f18730a54a67",
|
||||
"bytes": 5060
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/fixed-source-index.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:fixed-source-index.json",
|
||||
"sha256": "9caf5c19ccd611962dbe4bf39fe4ec37a3ec7db9fa23f9d60a63005120dba163",
|
||||
"bytes": 27775
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/frozen-resource-check.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:frozen-resource-check.json",
|
||||
"sha256": "d8894b70d37de5cdb3edea77ffaf6399b2580acc6018da4fd8bf2aadec6b0898",
|
||||
"bytes": 40348
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/import-protection.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:import-protection.json",
|
||||
"sha256": "fe7da87d30f60635fde49758568214e45220b258b4af37050bd37baa9e6483ed",
|
||||
"bytes": 1270
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/independent-inventory.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:independent-inventory.json",
|
||||
"sha256": "422bd06ec749cf0f462edfe5066ca82b65c9ab8f1ce219e7072323df89fffa50",
|
||||
"bytes": 7074
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/independent-port-check.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:independent-port-check.json",
|
||||
"sha256": "ec8b7feb71d2a05433d220a0eae1c654b5df79d549da4f5e2810ab39a8232c07",
|
||||
"bytes": 52
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/inventory.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:inventory.py",
|
||||
"sha256": "bb33337f5437f420e4ff96e7dcc3df93c19c7786f1b633617f5d9693cbfb1732",
|
||||
"bytes": 2261
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/investigation.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:investigation.json",
|
||||
"sha256": "abd8809a1da0909879138aa5a8d751fa85b974912e7af45cbd371f9422ac4c96",
|
||||
"bytes": 1286
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/lint-final.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:lint-final.txt",
|
||||
"sha256": "23982f15dec763f3a81ad0bf744a497f87aa72b94fef171c5ced4cb46562a1f8",
|
||||
"bytes": 100
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/package-check.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:package-check.json",
|
||||
"sha256": "bba4ff71c1a64625a8fa1ac85db6458cfe4adb032c87f8760b9bd65b146b9eae",
|
||||
"bytes": 550
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/pins.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:pins.json",
|
||||
"sha256": "08c34d061717d9fd0b81c796729203dcef0d8bbfec8c46a54b8843bbc2b375ab",
|
||||
"bytes": 241
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/pr-provider-start.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:pr-provider-start.json",
|
||||
"sha256": "eaeecdea39fc6a772d2b13984cd41300d445626a55cfa767af9910b46b0cef41",
|
||||
"bytes": 214
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/pr-start.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:pr-start.json",
|
||||
"sha256": "3a4f43873a1c44156cc95ee9ecb591d8cc79d0e399f8ea58012384e8fb098abf",
|
||||
"bytes": 189
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/pytest-final.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:pytest-final.txt",
|
||||
"sha256": "3e127fcf0986320ee4af6137f0233a9c19fef1a57bbaa42ff0b24c571e2f4f34",
|
||||
"bytes": 880
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/pytest.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:pytest.txt",
|
||||
"sha256": "50eb7f2213ee83c72e6058aa47979572009b466eae3fe1200e0188b60b0ffbe2",
|
||||
"bytes": 2517
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/python-check-files.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:python-check-files.json",
|
||||
"sha256": "d336d484972c4a7056f0eeac497b8c684267eb9c2ce0c4b5b300ed67219ba620",
|
||||
"bytes": 723
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/rebuild.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:rebuild.py",
|
||||
"sha256": "7cf08a52a7583b722fd347aeef51596c8851b973dc360743af55ca8896696f45",
|
||||
"bytes": 2539
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/recompute.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:recompute.py",
|
||||
"sha256": "23426dad2d3d17f6ca117051822747ba25ac6c0c2bac85f429e74efbca9b16c0",
|
||||
"bytes": 12933
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/recompute.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:recompute.txt",
|
||||
"sha256": "9163a813136a3f8ef6809df42cfa73ae3eb93b37f17f7916f04aa9d318939bb3",
|
||||
"bytes": 277
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/render_report.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:render_report.py",
|
||||
"sha256": "3467f58bd573bf144b6d711a6e4ed9233fc8be65bae95210a92725de31cb8ac0",
|
||||
"bytes": 4683
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/repeat.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:repeat.py",
|
||||
"sha256": "d39c45fd16e12d50ed1817e2fceb2e28c8ef6e261e89e1edd149b129268d321a",
|
||||
"bytes": 1348
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/repeatability.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:repeatability.json",
|
||||
"sha256": "c6d63c38d8da374e01bb62c7aa0ff8158fbabfe099943cd6838e1fcf2b503f39",
|
||||
"bytes": 419
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/request_counts.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:request_counts.py",
|
||||
"sha256": "4ec087f8907912353191132b1e70c74fb1a27a2653294f0a3cf53129f1549262",
|
||||
"bytes": 1389
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/review-delta.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:review-delta.json",
|
||||
"sha256": "ae47db487780abb83a876bdf8751515a9f76d311733ad8daf033d7da06f5c0ef",
|
||||
"bytes": 464
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/server-request-accounting.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:server-request-accounting.json",
|
||||
"sha256": "29de9d53663403a86b220c3ececfdb21679bf8f4b31108202270917e72f1a72b",
|
||||
"bytes": 1530
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/service-0.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:service-0.txt",
|
||||
"sha256": "df060a2757e9dc1fdd61f8f06f02dc4f82690d4d41afed0eec9c07a00599dc2a",
|
||||
"bytes": 9591
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/service-1.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:service-1.txt",
|
||||
"sha256": "53aed4437e1e17c5d452880db7cb34fd2037a7361804980e122205a5e42dee8c",
|
||||
"bytes": 364
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/service-stop.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:service-stop.json",
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
|
||||
"bytes": 65
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/source-check.json",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:source-check.json",
|
||||
"sha256": "e8e1b20b377648e97a7f53783af1d07faf2f8fe96e54acbe0998da7ca1fcdf7e",
|
||||
"bytes": 692
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/validation-commands.txt",
|
||||
"purpose": "验证原始结果、请求日志或差分/审计证据:validation-commands.txt",
|
||||
"sha256": "a317b3e399715dced88a6fbb9ea826b6453e09ed0c9f6fa1d834a1f45aa30914",
|
||||
"bytes": 2684
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-document-evidence/verify_sources.py",
|
||||
"purpose": "可复现盘点、来源验证、构建、确定性、包、旧库保护或请求审计:verify_sources.py",
|
||||
"sha256": "beec680e61986c9c84a4d4e28f8e0466d450208e1ea434df458c6f178828c684",
|
||||
"bytes": 3528
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/frontend__useIntWidget.ts",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
|
||||
"bytes": 2887
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/identities.json",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "157227d1c5a4c89ccbb107f19e925fcc86e3f417a46d77f1e2d83e239333c6fe",
|
||||
"bytes": 735
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama-commit.txt",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "c4f6ff512e04d0d15f95bcef67a08d0316637556cce848188a2080a7b60a5fdc",
|
||||
"bytes": 231
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama-tree.json",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "d13fa63c52e0212a778ffcd2b901a84ec61981f572db385b7019b9cad5d6017b",
|
||||
"bytes": 2024
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama__README_zh.md",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "66e9ad9706a7a60c8ae2225e789e76cf624d97733447a2b3fb00f8a80b16c5d6",
|
||||
"bytes": 900
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama____init__.py",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "b18de9dc0005d53c6f3d873b501fc60dee4a6810b74a3722dd0f9420633a04e8",
|
||||
"bytes": 131
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama__nodes.py",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"bytes": 65765
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama__pyproject.toml",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "ab649948c0d8e0edafc1c87522f393af9d8ff0bd835818f47585b791d68326de",
|
||||
"bytes": 1473
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/llama__support__gguf_layers.py",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "d8796b0c30f602004a231f83113169cba459b8aabf82fee5a072afd06f71d78d",
|
||||
"bytes": 3587
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext-commit.txt",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "617bf9e4d400411d0a8b9ffd2edd6abaf68c83ba1ae4e5c6fd2cbbe5d3bbde90",
|
||||
"bytes": 1087
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext-tree.json",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "eb5986a62ab05f621c794158fbab369c8c75b2f06b418310a8102a24f7d8eaba",
|
||||
"bytes": 10636
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext__LICENSE",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"bytes": 1069
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext____init__.py",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
|
||||
"bytes": 1004
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext__py__show_text.py",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
|
||||
"bytes": 1453
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext__pyproject.toml",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
|
||||
"bytes": 358
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/showtext__web__js__showText.js",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
|
||||
"bytes": 2555
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/llama-reference/sources.json",
|
||||
"purpose": "固定上游原字节或Git身份/树/许可可得状态,不执行",
|
||||
"sha256": "e5bc7546afb7c381f367d2923fd2799c347848ca2a523c60f66601d11840de1a",
|
||||
"bytes": 9095
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,521 @@
|
||||
[
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
449,
|
||||
495
|
||||
],
|
||||
"claim": "仅显式参考加载器构造顺序:八字段,源七位置/七口,缺load_mtp;不证明源版本或安装身份"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
762,
|
||||
790
|
||||
],
|
||||
"claim": "仅显式参考13项schema/原样kwargs返回;present_penalty与源presence_penalty冲突,不当同名合法参数"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
497,
|
||||
544
|
||||
],
|
||||
"claim": "仅显式参考九控件构造/可选口/返回协议;不能按十位置对九口硬对位"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
575,
|
||||
635
|
||||
],
|
||||
"claim": "仅显式参考:状态UID、系统提示变化清理、custom覆盖或星号模板分支;未构造prompt或读写状态"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
638,
|
||||
718
|
||||
],
|
||||
"claim": "仅显式参考三模式实现:images合并全部图片,多图才缩放;video才按max_frames采样"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
387,
|
||||
398
|
||||
],
|
||||
"claim": "仅显式参考缩放函数:最长边限制且不放大;单张images分支不调用"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
739,
|
||||
760
|
||||
],
|
||||
"claim": "仅显式参考保存/清理会话、force_offload与Qwen混合缓存清理分支,false不承诺无副作用"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
259,
|
||||
341
|
||||
],
|
||||
"claim": "仅显式参考LLM目录、VRAM估算、handler条件和SDK参数;-1只是不设估算限制,不保证实际显存"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
28,
|
||||
72
|
||||
],
|
||||
"claim": "仅显式参考handler列表由SDK导入成功与否决定,Qwen3.5不是安装或视觉兼容证明"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
348,
|
||||
364
|
||||
],
|
||||
"claim": "仅显式参考模型目录及预设列表;源Detailed存在,schema默认为Normal - Describe;不运行模板"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../llama-reference/llama____init__.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/__init__.py",
|
||||
"sha256": "b18de9dc0005d53c6f3d873b501fc60dee4a6810b74a3722dd0f9420633a04e8",
|
||||
"git_blob_sha1": "2e96bd6ab3db650f769ae7886e0c13515752bd16",
|
||||
"fetched_at": "2026-10-30T19:19:42.271753+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
3
|
||||
],
|
||||
"claim": "仅参考包导出节点注册字典"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../llama-reference/llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1529,
|
||||
1544
|
||||
],
|
||||
"claim": "仅参考三准确class注册链;同名不构成源身份绑定"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../llama-reference/llama__pyproject.toml",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/pyproject.toml",
|
||||
"sha256": "ab649948c0d8e0edafc1c87522f393af9d8ff0bd835818f47585b791d68326de",
|
||||
"git_blob_sha1": "f36ef1ac4934274ee8d659d408af2f277820b537",
|
||||
"fetched_at": "2026-10-30T19:19:42.273951+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
37
|
||||
],
|
||||
"claim": "参考pyproject自称1.3.1/PublisherId lhy666;license指向缺失LICENSE,发布包与完整commit绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "py/show_text.py",
|
||||
"local_file": "../llama-reference/showtext__py__show_text.py",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/py/show_text.py",
|
||||
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
|
||||
"git_blob_sha1": "5a013a5bc7a82e29f38f35ff85dab827ba42a254",
|
||||
"fetched_at": "2026-10-30T19:19:45.058549+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
49
|
||||
],
|
||||
"claim": "ShowText仅类名线索的显式参考:list输入、ui/result和历史widgets写回;源标量字符串仍原样保留"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "web/js/showText.js",
|
||||
"local_file": "../llama-reference/showtext__web__js__showText.js",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/web/js/showText.js",
|
||||
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
|
||||
"git_blob_sha1": "464fd404632397e26c2af1d2297970da6c726920",
|
||||
"fetched_at": "2026-10-30T19:19:45.769667+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
10,
|
||||
78
|
||||
],
|
||||
"claim": "ShowText显式参考前端只读展示/恢复:标量与嵌套数组兼容分支,组合恢复未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../llama-reference/showtext____init__.py",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/__init__.py",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
|
||||
"git_blob_sha1": "ae43dd2090ce782074bf72f2b7f49ad28dff1a5c",
|
||||
"fetched_at": "2026-10-30T19:19:46.464543+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
25
|
||||
],
|
||||
"claim": "ShowText显式参考动态py目录注册链,不执行init或插件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../llama-reference/showtext__LICENSE",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/LICENSE",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"git_blob_sha1": "acf31806a2507192169eca2137ea9ceb7685f51c",
|
||||
"fetched_at": "2026-10-30T19:19:47.163015+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "显式参考ShowText许可全文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../llama-reference/showtext__pyproject.toml",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/pyproject.toml",
|
||||
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
|
||||
"git_blob_sha1": "b34f8cfc4a4af33575586c2c11313bdd34d1dfee",
|
||||
"fetched_at": "2026-10-30T19:19:47.861837+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知",
|
||||
"lines": [
|
||||
1,
|
||||
13
|
||||
],
|
||||
"claim": "ShowText参考自称1.2.5,不证明源安装版本"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||||
"local_file": "../llama-reference/frontend__useIntWidget.ts",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||||
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
|
||||
"git_blob_sha1": "f307aa0e14b5440f505e3f488cc6c415f45f7879",
|
||||
"fetched_at": "2026-10-30T19:20:15.769858+00:00",
|
||||
"license_file": "../moge3-reference/frontend__LICENSE",
|
||||
"transport": "raw pinned full commit, git tree blob verified",
|
||||
"applicability": "仅显式1.52.7参考假设;本图未声明前端版本",
|
||||
"lines": [
|
||||
34,
|
||||
93
|
||||
],
|
||||
"claim": "仅显式frontend1.52.7假设:seed默认追加辅助值控件,支持第7位置randomize解释,源无前端版本不证明恢复"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"local_file": "../moge3-reference/frontend__src__scripts__widgets.ts",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/src/scripts/widgets.ts",
|
||||
"sha256": "07e91bf2d16056938f7ce50a1ac90c8f5be9faa27d6bec3d2060e529da139257",
|
||||
"git_blob_sha1": "0100f21b03e3aa0cb551ca48f4886ca1d66c3bc2",
|
||||
"fetched_at": "2026-10-30T19:05:04.506870+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
78,
|
||||
155
|
||||
],
|
||||
"claim": "仅显式frontend1.52.7假设:randomize辅助枚举且serialize=false;不生成种子、不借其规则断言源恢复时序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"local_file": "../moge3-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50",
|
||||
"git_blob_sha1": "38723cce556962cb80456239df383d49469134d9",
|
||||
"fetched_at": "2026-10-30T19:05:04.497705+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
972,
|
||||
1043
|
||||
],
|
||||
"claim": "仅显式frontend1.52.7恢复参考;本图无frontendVersion/具名值,UE7.7与源恢复未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "core",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../moge3-reference/core__nodes.py",
|
||||
"commit": "ee71d5c4993f29086b27fde1629a945ae48425bf",
|
||||
"tag": "v0.36.0",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ee71d5c4993f29086b27fde1629a945ae48425bf/nodes.py",
|
||||
"sha256": "34a483b59eed6bc407e74cd860cba7cae542f494fdff29bb15138369f78387a7",
|
||||
"git_blob_sha1": "1728899fef8c04ea580b2d3189e2225b3c28d85e",
|
||||
"fetched_at": "2026-10-30T19:05:03.012203+00:00",
|
||||
"license_file": "core__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
1738,
|
||||
1819
|
||||
],
|
||||
"claim": "仅显式core0.36.0 LoadImage参考:与源IMAGE/MASK和image口形状相符,动态文件列表/读取验证不证明版本或素材存在"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "frontend",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"local_file": "../moge3-reference/frontend__src__extensions__core__uploadImage.ts",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
|
||||
"git_blob_sha1": "58e43bb218171534c4713bdced29171ecb96d903",
|
||||
"fetched_at": "2026-10-30T19:05:04.508444+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
1,
|
||||
40
|
||||
],
|
||||
"claim": "仅显式frontend1.52.7上传参考;image辅助状态不是第二张图或后端upload参数"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../moge3-reference/frontend__LICENSE",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"fetched_at": "2026-10-30T19:05:04.490203+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "显式前端参考许可全文;版本未获源声明"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"id": "core",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../moge3-reference/core__LICENSE",
|
||||
"commit": "ee71d5c4993f29086b27fde1629a945ae48425bf",
|
||||
"tag": "v0.36.0",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ee71d5c4993f29086b27fde1629a945ae48425bf/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"fetched_at": "2026-10-30T19:05:03.007854+00:00",
|
||||
"license_file": "core__LICENSE",
|
||||
"transport": "git show exact tag; no checkout",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "显式LoadImage参考许可全文;版本未获源声明"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "92b7897ae2c394bb214d6a7fdec0c139b8f09c76",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
|
||||
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/client.py",
|
||||
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/companions.py",
|
||||
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
|
||||
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
|
||||
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
|
||||
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
|
||||
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
|
||||
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
|
||||
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
|
||||
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/lint.py",
|
||||
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
|
||||
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/parser.py",
|
||||
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
|
||||
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
|
||||
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
|
||||
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
|
||||
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
|
||||
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/registry.py",
|
||||
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/roles.py",
|
||||
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
|
||||
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
|
||||
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
|
||||
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
|
||||
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
|
||||
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/validate.py",
|
||||
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/01.api.json",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/02.api.json",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/03.api.json",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/04.api.json",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/05.api.json",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/06.api.json",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/07.api.json",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/manifest.json",
|
||||
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
|
||||
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
|
||||
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
|
||||
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
|
||||
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
|
||||
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
|
||||
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
|
||||
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
|
||||
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
|
||||
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
|
||||
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
|
||||
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
|
||||
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
|
||||
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
|
||||
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
|
||||
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
|
||||
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
|
||||
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
|
||||
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
|
||||
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
|
||||
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
|
||||
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
|
||||
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
|
||||
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
|
||||
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
|
||||
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
|
||||
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
|
||||
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
|
||||
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
|
||||
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
|
||||
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
|
||||
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
||||
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
|
||||
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
|
||||
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
|
||||
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
|
||||
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
||||
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
|
||||
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
|
||||
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
|
||||
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
|
||||
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
|
||||
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
|
||||
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
|
||||
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
|
||||
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
|
||||
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
|
||||
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
|
||||
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
|
||||
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
|
||||
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
|
||||
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
|
||||
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||||
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
|
||||
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
|
||||
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
|
||||
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
|
||||
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
|
||||
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
|
||||
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
|
||||
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
|
||||
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
|
||||
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
|
||||
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
|
||||
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
|
||||
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
|
||||
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
|
||||
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
|
||||
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
|
||||
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
|
||||
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||||
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
|
||||
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||||
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
|
||||
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
|
||||
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
|
||||
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
|
||||
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
|
||||
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
|
||||
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
|
||||
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
|
||||
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
|
||||
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
|
||||
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
|
||||
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
|
||||
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
|
||||
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
|
||||
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
|
||||
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
|
||||
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
|
||||
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
|
||||
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
|
||||
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
|
||||
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
|
||||
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
|
||||
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
|
||||
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
|
||||
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
|
||||
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
|
||||
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
|
||||
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
|
||||
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
|
||||
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
|
||||
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
|
||||
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
|
||||
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
|
||||
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
|
||||
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
|
||||
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
|
||||
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
|
||||
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
|
||||
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
|
||||
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
|
||||
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
|
||||
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
|
||||
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
|
||||
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
|
||||
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
|
||||
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
|
||||
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
|
||||
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
|
||||
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
|
||||
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
|
||||
}
|
||||
],
|
||||
"original_files": 156,
|
||||
"all_unchanged": true
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "92b7897ae2c394bb214d6a7fdec0c139b8f09c76",
|
||||
"first": {
|
||||
"imported": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"upgrade": {
|
||||
"skipped": 154,
|
||||
"updated": 1,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"repeat": {
|
||||
"skipped": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"restored_rows": 1,
|
||||
"untouched_whole_rows": 154,
|
||||
"eligibility_unchanged": true,
|
||||
"redo": {
|
||||
"skipped": 154,
|
||||
"updated": 1,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"user_protection": [
|
||||
{
|
||||
"phase": "user-before",
|
||||
"counts": {
|
||||
"skipped": 154,
|
||||
"conflict": 1,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"whole_rows": 1,
|
||||
"columns": 29
|
||||
},
|
||||
{
|
||||
"phase": "user-after",
|
||||
"counts": {
|
||||
"skipped": 154,
|
||||
"conflict": 1,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"whole_rows": 1,
|
||||
"columns": 29
|
||||
}
|
||||
],
|
||||
"fresh": {
|
||||
"imported": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"fresh_repeat": {
|
||||
"skipped": 155,
|
||||
"user_excluded": 1
|
||||
},
|
||||
"states": {
|
||||
"pending_check": 16,
|
||||
"needs_conversion": 139
|
||||
},
|
||||
"source_named_fields": 1217,
|
||||
"positional_widgets": 3660,
|
||||
"companion_values": 294,
|
||||
"new_saved": 33,
|
||||
"new_notes": 0,
|
||||
"old_saved": 1348,
|
||||
"old_notes": 41,
|
||||
"overviews": 39,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90",
|
||||
"fields": [
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 4,
|
||||
"pointer": "/nodes/0/widgets_values/0",
|
||||
"json_type": "str",
|
||||
"value": "这张图片描绘了一位年轻女性在户外阳光下的裸体肖像。\n\n**构图与姿态:**\n她坐在一个深色的木质平台或甲板上,身体微微向右侧倾斜。她的姿态放松,双腿弯曲并向外展开,一只脚踩在木板上,另一只脚则部分收起。她的上半身略微前倾,头部低垂,目光向下凝视,神情显得沉静而略带忧郁。\n\n**人物特征:**\n这位女性拥有亚洲人的面部特征,皮肤白皙。她留着一头深色的中长发,发丝略显凌乱,几缕发丝垂落在脸颊和肩头。她的锁骨线条清晰,身形匀称。腹部平坦,可以看到肚脐。整体呈现出一种自然、未经修饰的美感。\n\n**光影与色彩:**\n光线是这张照片的重要元素,看起来像是午后温暖的阳光,从她的右前方照射过来,在她的左肩、腹部和腿侧投下柔和的阴影,突出了身体的曲线和立体感。背景是模糊的绿色植物,形成了美丽的散景(bokeh)效果,将观众的视线牢牢锁定在前景的人物身上。整体色调温暖、自然,以肤色和木头的棕色为主,点缀着背景的绿色。\n\n**氛围:**\n整张图片传达出一种宁静、私密且充满自然气息的氛围,捕捉了一个安静而充满表现力的瞬间。"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"json_type": "str",
|
||||
"value": "Qwen3.5-9b-heretic-v2-q8_0.gguf"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/1",
|
||||
"json_type": "str",
|
||||
"value": "Qwen3.5-9b-mmproj-BF16.gguf"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/2",
|
||||
"json_type": "str",
|
||||
"value": "Qwen3.5"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/3",
|
||||
"json_type": "int",
|
||||
"value": 8192
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/4",
|
||||
"json_type": "int",
|
||||
"value": -1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/5",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 1,
|
||||
"pointer": "/nodes/1/widgets_values/6",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 3,
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"json_type": "str",
|
||||
"value": "ComfyUI_00774_.png"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 3,
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"json_type": "str",
|
||||
"value": "image"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"json_type": "int",
|
||||
"value": 1024
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/1",
|
||||
"json_type": "int",
|
||||
"value": 30
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/2",
|
||||
"json_type": "float",
|
||||
"value": 0.9
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/3",
|
||||
"json_type": "float",
|
||||
"value": 0.05
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/4",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/5",
|
||||
"json_type": "float",
|
||||
"value": 0.8
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/6",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/7",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/8",
|
||||
"json_type": "int",
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/9",
|
||||
"json_type": "int",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/10",
|
||||
"json_type": "float",
|
||||
"value": 0.1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/11",
|
||||
"json_type": "int",
|
||||
"value": 5
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 5,
|
||||
"pointer": "/nodes/3/widgets_values/12",
|
||||
"json_type": "int",
|
||||
"value": -1
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"json_type": "str",
|
||||
"value": "Prompt Style - Detailed"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/1",
|
||||
"json_type": "str",
|
||||
"value": "描述这张图片,仅输出最后的中文提示词"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/2",
|
||||
"json_type": "str",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/3",
|
||||
"json_type": "str",
|
||||
"value": "images"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/4",
|
||||
"json_type": "int",
|
||||
"value": 24
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/5",
|
||||
"json_type": "int",
|
||||
"value": 256
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/6",
|
||||
"json_type": "int",
|
||||
"value": 290079675294308
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/7",
|
||||
"json_type": "str",
|
||||
"value": "randomize"
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/8",
|
||||
"json_type": "bool",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"scope": "root",
|
||||
"node": 2,
|
||||
"pointer": "/nodes/4/widgets_values/9",
|
||||
"json_type": "bool",
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"notes": [],
|
||||
"empty": [],
|
||||
"scopes": [
|
||||
{
|
||||
"scope": "root",
|
||||
"nodes": 5,
|
||||
"edges": 4,
|
||||
"canonical_sha256": "b6a718ddd67c99240969258993db84374c1c4dbc1ff6a8de75e10620098dac26",
|
||||
"modes": [
|
||||
{
|
||||
"node": 4,
|
||||
"mode": 0
|
||||
},
|
||||
{
|
||||
"node": 1,
|
||||
"mode": 0
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"mode": 0
|
||||
},
|
||||
{
|
||||
"node": 5,
|
||||
"mode": 0
|
||||
},
|
||||
{
|
||||
"node": 2,
|
||||
"mode": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"ports": [8247, 5173], "connection_refused": true}
|
||||
@@ -0,0 +1,68 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def inventory():
|
||||
p = next((ROOT / "example_ComfyUI_workflows").rglob("Llama-cpp+Qwen3.5*.json"))
|
||||
raw = p.read_bytes()
|
||||
g = json.loads(raw)
|
||||
fields = []
|
||||
notes = []
|
||||
empty = []
|
||||
scopes = [("root", "", g)]
|
||||
for scope, base, graph in scopes:
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
ptr = f"{base}/nodes/{i}/widgets_values"
|
||||
if "widgets_values" not in n:
|
||||
empty.append({"scope": scope, "node": n["id"], "state": "missing"})
|
||||
continue
|
||||
w = n["widgets_values"]
|
||||
if not w:
|
||||
empty.append(
|
||||
{"scope": scope, "node": n["id"], "state": type(w).__name__, "value": w}
|
||||
)
|
||||
for k in w if isinstance(w, dict) else range(len(w)):
|
||||
v = w[k]
|
||||
e = {
|
||||
"scope": scope,
|
||||
"node": n["id"],
|
||||
"pointer": ptr + "/" + str(k),
|
||||
"json_type": type(v).__name__,
|
||||
"value": v,
|
||||
}
|
||||
(notes if n["type"] == "MarkdownNote" else fields).append(e)
|
||||
return {
|
||||
"path": str(p.relative_to(ROOT)),
|
||||
"sha256": hashlib.sha256(raw).hexdigest(),
|
||||
"fields": fields,
|
||||
"notes": notes,
|
||||
"empty": empty,
|
||||
"scopes": [
|
||||
{
|
||||
"scope": s,
|
||||
"nodes": len(gr["nodes"]),
|
||||
"edges": len(gr["links"]),
|
||||
"canonical_sha256": hashlib.sha256(
|
||||
json.dumps(
|
||||
gr, ensure_ascii=False, sort_keys=True, separators=(",", ":")
|
||||
).encode()
|
||||
).hexdigest(),
|
||||
"modes": [{"node": n["id"], "mode": n["mode"]} for n in gr["nodes"]],
|
||||
}
|
||||
for s, _, gr in scopes
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print(len(x["fields"]), len(x["notes"]), x["scopes"])
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"checked_at": "2026-10-30T19:25:07.292154+00:00",
|
||||
"exact_classes": [
|
||||
"llama_cpp_model_loader",
|
||||
"llama_cpp_parameters",
|
||||
"llama_cpp_instruct_adv"
|
||||
],
|
||||
"queries": [
|
||||
"github \"llama_cpp_model_loader\" \"llama_cpp_instruct_adv\"",
|
||||
"github \"llama_cpp_parameters\" Qwen3.5"
|
||||
],
|
||||
"selected_repo": "https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"registration": [
|
||||
"__init__.py exports NODE_CLASS_MAPPINGS",
|
||||
"nodes.py registrations for exact classes"
|
||||
],
|
||||
"bounded_other_search_results": [
|
||||
{
|
||||
"url": "https://github.com/zwukong/ComfyUI-llama-cpp_vllm/blob/main/nodes.py",
|
||||
"status": "search-only, different mmproj_model/model_type/think_mode schema; not applicable evidence"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/kijai/ComfyUI-llama-cpp/blob/main/nodes.py",
|
||||
"status": "search-only, overlapping class names; not source identity proof"
|
||||
}
|
||||
],
|
||||
"source_binding": "unknown; no source cnr_id/aux_id/ver or frontendVersion",
|
||||
"registry": "pyproject PublisherId/version only; registry release/commit/target binding unverified; not used as identity",
|
||||
"upstream_executed": false,
|
||||
"license": "llama tree lacks declared LICENSE; unknown, no substitute invented"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
13 files already formatted
|
||||
PASS 13 authored Python files and one JS syntax check
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "8be81f9f44cf4268b4badf4d100adfbd60bc06617f3e2595b8dccf0a362305e8",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 39
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "13f1cfe2b7babf1df43da2ad95a971d28a988903b63ef0fcf89a41627cdecabc",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 39
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 39
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json": "90fa1f7e91715770fe87a58e33dad8eb5374bb33a4fb213974cc1b8174df0062"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"state": "open",
|
||||
"merged": false,
|
||||
"base": "main",
|
||||
"head": "agent/agent/a64a969a6a44",
|
||||
"sha": "92b7897ae2c394bb214d6a7fdec0c139b8f09c76"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"auto_complete": {
|
||||
"issue_disabled": false,
|
||||
"pull_request_ids": [],
|
||||
"state": "none",
|
||||
"target_status": "done",
|
||||
"workspace_enabled": true
|
||||
},
|
||||
"pull_requests": []
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
........................................................................ [ 48%]
|
||||
........................................................................ [ 97%]
|
||||
... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fb2425427ab7/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
147 passed, 1 warning in 4.47s
|
||||
@@ -0,0 +1,39 @@
|
||||
........................................................................ [ 48%]
|
||||
.............................................................F.......... [ 97%]
|
||||
... [100%]
|
||||
=================================== FAILURES ===================================
|
||||
_______________ test_independent_inventory_and_38_frozen_objects _______________
|
||||
|
||||
def test_independent_inventory_and_38_frozen_objects():
|
||||
inv=json.loads((OUT/'independent-inventory.json').read_bytes())
|
||||
assert [f['pointer'] for f in inv['fields']]==[f['pointer'] for f in BLOCK['fields']]
|
||||
assert len(inv['fields'])==33 and not inv['notes']
|
||||
resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
|
||||
old=json.loads(subprocess.check_output(['git','show','92b7897ae2c394bb214d6a7fdec0c139b8f09c76:'+resource],cwd=REPO))
|
||||
cur=json.loads((REPO/resource).read_bytes())
|
||||
cur[PATH].pop('fixed_version_document')
|
||||
assert cur==old
|
||||
blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
|
||||
assert len(blocks)==38 and sum(len(b['fields']) for b in blocks)==1348
|
||||
> assert sum(len(b['comments']) for b in blocks)==41
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
calliope-backend/tests/test_llama_fixed_document.py:140:
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
.0 = <list_iterator object at 0x7f56a45b3910>
|
||||
|
||||
> assert sum(len(b['comments']) for b in blocks)==41
|
||||
^^^^^^^^^^^^^
|
||||
E KeyError: 'comments'
|
||||
|
||||
calliope-backend/tests/test_llama_fixed_document.py:140: KeyError
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fb2425427ab7/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
=========================== short test summary info ============================
|
||||
FAILED calliope-backend/tests/test_llama_fixed_document.py::test_independent_inventory_and_38_frozen_objects
|
||||
1 failed, 146 passed, 1 warning in 4.55s
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_llama_fixed_document.py",
|
||||
"e2e/run-llama-document.py",
|
||||
"docs/hel-892/llama-document-evidence/build_definition.py",
|
||||
"docs/hel-892/llama-document-evidence/check_code.py",
|
||||
"docs/hel-892/llama-document-evidence/fetch_sources.py",
|
||||
"docs/hel-892/llama-document-evidence/inventory.py",
|
||||
"docs/hel-892/llama-document-evidence/rebuild.py",
|
||||
"docs/hel-892/llama-document-evidence/recompute.py",
|
||||
"docs/hel-892/llama-document-evidence/render_report.py",
|
||||
"docs/hel-892/llama-document-evidence/repeat.py",
|
||||
"docs/hel-892/llama-document-evidence/request_counts.py",
|
||||
"docs/hel-892/llama-document-evidence/verify_sources.py"
|
||||
]
|
||||
@@ -0,0 +1,70 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "92b7897ae2c394bb214d6a7fdec0c139b8f09c76"
|
||||
RESOURCE = ("calliope-backend/src/calliope/" + "co") + "mfyui/source_reviews.json"
|
||||
|
||||
|
||||
def build_all():
|
||||
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
|
||||
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
|
||||
for i, path in enumerate(PATHS):
|
||||
block = build(i)
|
||||
assert reviews[path]["source_sha"] == block["source_sha1"]
|
||||
assert "fixed_version_document" not in previous[path]
|
||||
reviews[path]["fixed_version_document"] = block
|
||||
return reviews, previous
|
||||
|
||||
|
||||
def main():
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
reviews, _previous = build_all()
|
||||
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
|
||||
pins = {}
|
||||
for i, path in enumerate(PATHS):
|
||||
block = reviews[path]["fixed_version_document"]
|
||||
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
|
||||
(OUT / f"definition-{i}.json").write_text(
|
||||
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
|
||||
module = REPO / (("calliope-backend/src/calliope/" + "co") + "mfyui/fixed_document.py")
|
||||
text = module.read_text()
|
||||
for path, digest in pins.items():
|
||||
old_block = current[path].get("fixed_version_document")
|
||||
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
|
||||
if old_digest and old_digest in text:
|
||||
text = text.replace(old_digest, digest)
|
||||
elif digest in text:
|
||||
pass
|
||||
else:
|
||||
text = text.replace(
|
||||
"DEFINITIONS = {",
|
||||
"DEFINITIONS = {\n (\n"
|
||||
+ "".join(
|
||||
" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41)
|
||||
)
|
||||
+ " ): "
|
||||
+ repr(digest)
|
||||
+ ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print(
|
||||
(
|
||||
("PASS one definition; other 155" + " r")
|
||||
+ ("eviews and old 38 blocks uncha" + "ng")
|
||||
+ "ed"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,343 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
import sqlite3
|
||||
import subprocess
|
||||
import sys
|
||||
import tarfile
|
||||
import tempfile
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, canonical
|
||||
from rebuild import BASE, RESOURCE, build_all
|
||||
|
||||
BASE = os.environ.get("LLAMA_IMPORT_BASE", BASE)
|
||||
|
||||
sys.path.insert(0, str(REPO / "calliope-backend"))
|
||||
|
||||
|
||||
def write(name, value):
|
||||
(OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
|
||||
|
||||
|
||||
def require_packages():
|
||||
dist = REPO / "calliope-backend/dist"
|
||||
w = sorted(dist.glob("*.whl"))
|
||||
s = sorted(dist.glob("*.tar.gz"))
|
||||
if not w or not s:
|
||||
raise SystemExit(
|
||||
(
|
||||
"缺少wheel/sdist包产物,请先在仓库根执行:uv bui"
|
||||
+ "ld --project calliope-backend --"
|
||||
+ "offline"
|
||||
)
|
||||
)
|
||||
return w[-1], s[-1]
|
||||
|
||||
|
||||
def main():
|
||||
from calliope.comfyui.fixed_document import DEFINITIONS
|
||||
from calliope.comfyui.library import rollback_batch
|
||||
from scripts.audit_library_documents import audit
|
||||
|
||||
wheels, sdists = require_packages()
|
||||
from verify_sources import main as verify_sources
|
||||
|
||||
verify_sources()
|
||||
rebuilt, previous = build_all()
|
||||
assert rebuilt == json.loads((REPO / RESOURCE).read_bytes())
|
||||
old_blocks = {
|
||||
p: r["fixed_version_document"] for p, r in previous.items() if "fixed_version_document" in r
|
||||
}
|
||||
assert len(old_blocks) == 38
|
||||
assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items())
|
||||
assert sum(len(b["fields"]) for b in old_blocks.values()) == 1348
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
write(
|
||||
"review-delta.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"changed_paths": PATHS,
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 38,
|
||||
"old_saved": 1348,
|
||||
"old_notes": 41,
|
||||
"new_saved": 33,
|
||||
"new_notes": 0,
|
||||
"total_documents": 39,
|
||||
"total_saved": 1381,
|
||||
"total_notes": 41,
|
||||
},
|
||||
)
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
work = Path(directory)
|
||||
old = work / "old"
|
||||
old.mkdir()
|
||||
data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO)
|
||||
with tarfile.open(fileobj=io.BytesIO(data)) as a:
|
||||
a.extractall(old, filter="data")
|
||||
db = work / "library.db"
|
||||
|
||||
def run(name, historical=False):
|
||||
out = work / name
|
||||
env = {
|
||||
**os.environ,
|
||||
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
|
||||
}
|
||||
subprocess.run(
|
||||
[
|
||||
sys.executable,
|
||||
"-m",
|
||||
"calliope.comfyui.library_cli",
|
||||
"import",
|
||||
"--root",
|
||||
str(REPO / "example_ComfyUI_workflows"),
|
||||
"--db",
|
||||
str(db),
|
||||
"--source-commit",
|
||||
BASE,
|
||||
"--companions",
|
||||
str(REPO / (("docs/hel-892/supplied-api/mani" + "fe") + "st.json")),
|
||||
"--output-dir",
|
||||
str(out),
|
||||
],
|
||||
cwd=REPO,
|
||||
env=env,
|
||||
check=True,
|
||||
stdout=subprocess.DEVNULL,
|
||||
)
|
||||
return json.loads((out / "import_report.json").read_bytes()), out
|
||||
|
||||
def rows():
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
return {
|
||||
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
|
||||
}
|
||||
|
||||
first, _ = run("historical", True)
|
||||
before = rows()
|
||||
assert first["counts"] == {"imported": 155, "user_excluded": 1}
|
||||
assert all(
|
||||
"fixed_version" in json.loads(before[p]["doc_json"])
|
||||
if BASE.startswith("3c307e0")
|
||||
else "fixed_version" not in json.loads(before[p]["doc_json"])
|
||||
for p in PATHS
|
||||
)
|
||||
assert all(
|
||||
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
|
||||
for p in DEFINITIONS
|
||||
if p not in PATHS
|
||||
)
|
||||
original = db
|
||||
protected = []
|
||||
|
||||
def protect(name):
|
||||
nonlocal db
|
||||
db = work / (name + ".db")
|
||||
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
|
||||
src.backup(dst)
|
||||
for p in PATHS:
|
||||
dst.execute(
|
||||
(("UPDATE workflows SET descripti" + "on") + "=? WHERE source_repo_path=?"),
|
||||
(name, p),
|
||||
)
|
||||
snapshot = rows()
|
||||
r, _ = run(name)
|
||||
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
|
||||
assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS)
|
||||
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
|
||||
db = original
|
||||
|
||||
protect("user-before")
|
||||
upgrade, exported = run("upgrade")
|
||||
after = rows()
|
||||
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
|
||||
for p, row in after.items():
|
||||
if p not in PATHS:
|
||||
assert row == before[p]
|
||||
continue
|
||||
assert len(row) == 29
|
||||
assert all(
|
||||
row[k] == before[p][k]
|
||||
for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
|
||||
)
|
||||
d = json.loads(row["doc_json"])
|
||||
assert d["fixed_version"]["matched"]
|
||||
old_doc = json.loads(before[p]["doc_json"])
|
||||
without = dict(d)
|
||||
fixed = without.pop("fixed_version")
|
||||
replaced_steps = len(old_doc.get("fixed_version", {}).get("steps", [])) or 3
|
||||
assert without["steps"] == old_doc["steps"][:-replaced_steps] + fixed["steps"]
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
old_doc.pop("fixed_version", None)
|
||||
assert without == old_doc
|
||||
write("actual-" + Path(p).stem + ".json", d)
|
||||
repeat, _ = run("repeat")
|
||||
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
r = rollback_batch(c, upgrade["batch_id"])
|
||||
assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"])
|
||||
assert rows() == before
|
||||
redo, _ = run("redo")
|
||||
assert redo["counts"] == upgrade["counts"]
|
||||
protect("user-after")
|
||||
db = work / "fresh.db"
|
||||
fresh, exported = run("fresh")
|
||||
fresh_repeat, _ = run("fresh-repeat")
|
||||
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
|
||||
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
|
||||
companion = 0
|
||||
for row in rows().values():
|
||||
d = json.loads(row["doc_json"])
|
||||
companion += sum(p.get("value_origin") == "supplied_api_companion" for p in d["params"])
|
||||
assert (
|
||||
not row["is_enabled"]
|
||||
and row["doc_completed_at"] is None
|
||||
and row["exec_verified_at"] is None
|
||||
)
|
||||
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
report = audit(REPO, exported)
|
||||
assert (
|
||||
report["named_values_preserved"] == 1217
|
||||
and report["unnamed_widget_nodes"] == 3660
|
||||
and companion == 294
|
||||
)
|
||||
assert report["full_documents_completed"] == report["real_executions"] == 0
|
||||
write("audit-summary.json", {k: v for k, v in report.items() if k != "files"})
|
||||
write(
|
||||
"import-protection.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"first": first["counts"],
|
||||
"upgrade": upgrade["counts"],
|
||||
"repeat": repeat["counts"],
|
||||
"restored_rows": 1,
|
||||
"untouched_whole_rows": 154,
|
||||
"eligibility_unchanged": True,
|
||||
"redo": redo["counts"],
|
||||
"user_protection": protected,
|
||||
"fresh": fresh["counts"],
|
||||
"fresh_repeat": fresh_repeat["counts"],
|
||||
"states": fresh["states"],
|
||||
"source_named_fields": 1217,
|
||||
"positional_widgets": 3660,
|
||||
"companion_values": companion,
|
||||
"new_saved": 33,
|
||||
"new_notes": 0,
|
||||
"old_saved": 1348,
|
||||
"old_notes": 41,
|
||||
"overviews": 39,
|
||||
"all_disabled": True,
|
||||
"doc_done": 0,
|
||||
"executed": 0,
|
||||
},
|
||||
)
|
||||
old_reviews = json.loads(
|
||||
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
|
||||
)
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
for p in PATHS:
|
||||
current[p].pop("fixed_version_document")
|
||||
old_reviews[p].pop("fixed_version_document", None)
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(
|
||||
REPO / (("docs/hel-892/h3-document-evide" + "nc") + "e/unchanged-boundaries.json")
|
||||
).read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ [("calliope-backend/src/calliope/co" + "mfyui/library.py")]
|
||||
)
|
||||
kept = []
|
||||
for p in paths:
|
||||
raw = (REPO / p).read_bytes()
|
||||
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
|
||||
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
|
||||
ui = ("calliope-web/src/lib/component" + "s/") + "WorkflowDocumentDrawer.svelte"
|
||||
drawer_bytes = (REPO / ui).read_bytes()
|
||||
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
|
||||
|
||||
write(
|
||||
"boundaries.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": kept,
|
||||
"originals": 163,
|
||||
"old_thirty_eight_blocks_unchanged": True,
|
||||
"drawer_css_unchanged": True,
|
||||
"drawer_whole_file_unchanged": True,
|
||||
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
|
||||
"conversion_rerun": False,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged",
|
||||
},
|
||||
)
|
||||
tracked = (
|
||||
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
|
||||
.decode()
|
||||
.rstrip("\0")
|
||||
.split("\0")
|
||||
)
|
||||
frozen = [
|
||||
p
|
||||
for p in tracked
|
||||
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
|
||||
or p.startswith((("calliope-backend/src/calliope/" + "co") + "mfyui/"))
|
||||
and p
|
||||
not in [RESOURCE, (("calliope-backend/src/calliope/" + "co") + "mfyui/fixed_document.py")]
|
||||
]
|
||||
for p in frozen:
|
||||
assert (REPO / p).read_bytes() == subprocess.check_output(
|
||||
["git", "show", f"{BASE}:{p}"], cwd=REPO
|
||||
)
|
||||
write(
|
||||
"frozen-resource-check.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": [
|
||||
{"path": p, "sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest()}
|
||||
for p in frozen
|
||||
],
|
||||
"original_files": sum(p.startswith("example_ComfyUI_workflows/") for p in frozen),
|
||||
"all_unchanged": True,
|
||||
},
|
||||
)
|
||||
packages = []
|
||||
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
|
||||
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
|
||||
raw = (REPO / (("calliope-backend/src/calliope/" + "co") + "mfyui") / name).read_bytes()
|
||||
assert w.read("calliope/comfyui/" + name) == raw
|
||||
member = next(n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name))
|
||||
assert s.extractfile(member).read() == raw
|
||||
packages.append(
|
||||
{
|
||||
"file": name,
|
||||
"sha256": hashlib.sha256(raw).hexdigest(),
|
||||
"wheel": True,
|
||||
"sdist": True,
|
||||
"definitions": 39,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
f"PASS actual {BASE} upgrade1/skip154, repe"
|
||||
"at155, rollback1, edits1/29cols, fresh155,"
|
||||
" 1217/3660/294, 39 definitions, frozen bou"
|
||||
"ndaries, wheel/sdist"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS bytes/Git provenance, all 33 positions and four physical edges; no source identity invented
|
||||
PASS actual 92b7897ae2c394bb214d6a7fdec0c139b8f09c76 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 39 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,131 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# LlamaQwen提示词固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增33保存位置/0注释;旧38块1348位置+41注释逐对象不"
|
||||
+ "变,39图1381+41仅参考;155定稿0/实跑0/新增转换0"
|
||||
+ "。"
|
||||
),
|
||||
"",
|
||||
(
|
||||
"来源local_file以docs/hel-892/llama-document"
|
||||
+ ("-evidence为基准;源SHA/全图摘要/定义摘要绑定;不加" + "载上游代码、媒体或链接。")
|
||||
),
|
||||
"",
|
||||
]
|
||||
index = []
|
||||
for i in range(1):
|
||||
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
|
||||
lines += [
|
||||
"## " + Path(b["source_path"]).stem,
|
||||
"",
|
||||
b["user_overview"],
|
||||
"",
|
||||
b["notice"],
|
||||
"",
|
||||
"源路径:`" + b["source_path"] + "`",
|
||||
"",
|
||||
"SHA1:" + b["source_sha1"],
|
||||
"",
|
||||
"原字节SHA256:" + b["source_sha256"],
|
||||
"",
|
||||
"规范全图SHA256:" + b["canonical_sha256"],
|
||||
"",
|
||||
*[v + "\n" for v in b["versions"]],
|
||||
"### 具体连线与处理条件",
|
||||
"",
|
||||
*[v + "\n" for v in b["flow"]],
|
||||
"### 使用与核对",
|
||||
"",
|
||||
*[v + "\n" for v in b["steps"]],
|
||||
"### 逐保存位置说明",
|
||||
"",
|
||||
]
|
||||
for j, f in enumerate(b["fields"], 1):
|
||||
lines += [
|
||||
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
|
||||
"",
|
||||
f["effect"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
|
||||
"",
|
||||
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
|
||||
"",
|
||||
"具名保存位置:`" + f["named_pointer"] + "`;作用域:" + f["scope"],
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
(
|
||||
f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
|
||||
)
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += [""]
|
||||
lines += ["### 零保存节点与源注释", ""]
|
||||
for z in b["zero_saved_nodes"]:
|
||||
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
|
||||
for n in b["comments"]:
|
||||
lines += [
|
||||
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
|
||||
"",
|
||||
n["meaning"],
|
||||
"",
|
||||
"```text",
|
||||
n["text"],
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += ["### 固定原件索引", ""]
|
||||
for k, e in enumerate(b["sources"]):
|
||||
data = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
lines += [
|
||||
(
|
||||
f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index.append(dict(document=b["source_path"], **e))
|
||||
(OUT.parent / "LlamaQwen提示词固定参考中文说明.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 @@
|
||||
"""Compare deterministic definitions and rendered artifacts."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REPO, canonical
|
||||
from rebuild import RESOURCE, build_all
|
||||
from render_report import main as render
|
||||
|
||||
|
||||
def main():
|
||||
a, old = build_all()
|
||||
b, previous = build_all()
|
||||
assert a == b and old == previous
|
||||
assert a == json.loads((REPO / RESOURCE).read_bytes())
|
||||
render()
|
||||
paths = [
|
||||
OUT / "fixed-source-index.json",
|
||||
OUT.parent / "LlamaQwen提示词固定参考中文说明.md",
|
||||
]
|
||||
before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
render()
|
||||
assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
(OUT / "repeatability.json").write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"definitions": 39,
|
||||
"repeated_build_equal": True,
|
||||
"repeated_render_equal": True,
|
||||
"resource_sha256": hashlib.sha256(canonical(a)).hexdigest(),
|
||||
"artifacts": before,
|
||||
},
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(
|
||||
(
|
||||
("PASS deterministic definitions" + " a")
|
||||
+ ("nd rendered artifacts: zero di" + "ff")
|
||||
+ "erence"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"definitions": 39,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "5d25a8879e441e5c73243a50905080b45d8eba04a7d972d28fe215d0cd9bcadc",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "9caf5c19ccd611962dbe4bf39fe4ec37a3ec7db9fa23f9d60a63005120dba163",
|
||||
"LlamaQwen提示词固定参考中文说明.md": "f2b92dbcebd8c192ffdb3c1d3738a43306e01c28b0cd0d95ca94bf3d0e36dae0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
"Count actual local server GETs separately from browser intercepted requests."
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
text = (OUT / "service-0.txt").read_text()
|
||||
gets = re.findall(r'"GET ([^ ]+) HTTP/', text)
|
||||
polling = [p for p in gets if p in ["/api/jobs", "/api/events"]]
|
||||
result = dict(
|
||||
total=len(gets),
|
||||
fixed_count=len(gets) - len(polling),
|
||||
polling_count=len(polling),
|
||||
paths=dict(collections.Counter(gets)),
|
||||
readiness_included=1,
|
||||
reason=(
|
||||
("就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,")
|
||||
+ "服务日志只含真正到后端者,不机械等同。"
|
||||
"轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
),
|
||||
)
|
||||
browser = json.loads((OUT / "browser-results.json").read_bytes())
|
||||
assert browser["errors"] == []
|
||||
assert all(r["method"] == "GET" for r in browser["requests"])
|
||||
assert all(not p.startswith("/api/view") for p in gets)
|
||||
assert abs(result["polling_count"] - browser["request_accounting"]["polling_count"]) <= 1
|
||||
(OUT / "server-request-accounting.json").write_text(
|
||||
json.dumps(result, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print(json.dumps(result, ensure_ascii=False))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "92b7897ae2c394bb214d6a7fdec0c139b8f09c76",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 38,
|
||||
"old_saved": 1348,
|
||||
"old_notes": 41,
|
||||
"new_saved": 33,
|
||||
"new_notes": 0,
|
||||
"total_documents": 39,
|
||||
"total_saved": 1381,
|
||||
"total_notes": 41
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"total": 135,
|
||||
"fixed_count": 125,
|
||||
"polling_count": 10,
|
||||
"paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/18": 4,
|
||||
"/api/workflows/20": 4,
|
||||
"/api/workflows/30": 3,
|
||||
"/api/workflows/32": 3,
|
||||
"/api/workflows/34": 3,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/api/workflows/10": 3,
|
||||
"/api/workflows/23": 3,
|
||||
"/api/workflows/8": 3,
|
||||
"/api/workflows/22": 3,
|
||||
"/api/workflows/5": 3,
|
||||
"/api/workflows/6": 3,
|
||||
"/api/workflows/7": 3,
|
||||
"/api/workflows/19": 3,
|
||||
"/api/workflows/13": 3,
|
||||
"/api/workflows/12": 3,
|
||||
"/api/workflows/64": 3,
|
||||
"/api/workflows/62": 3,
|
||||
"/api/workflows/70": 3,
|
||||
"/api/workflows/1": 3,
|
||||
"/api/workflows/36": 3,
|
||||
"/api/workflows/35": 3,
|
||||
"/api/workflows/2": 3,
|
||||
"/api/workflows/25": 3,
|
||||
"/api/workflows/24": 3,
|
||||
"/api/workflows/21": 3,
|
||||
"/api/workflows/14": 3,
|
||||
"/api/jobs": 10,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"readiness_included": 1,
|
||||
"reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
INFO: Started server process [822326]
|
||||
INFO: Waiting for application startup.
|
||||
INFO: Application startup complete.
|
||||
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
|
||||
{'counts': {'imported': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
|
||||
INFO: 127.0.0.1:34038 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33638 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33660 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33650 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33662 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33666 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33676 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33692 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33702 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33716 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33728 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33732 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33740 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33756 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33762 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33776 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33788 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33800 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43668 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43680 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43684 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43692 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43708 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43710 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43726 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43740 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43746 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43748 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43762 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43772 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43778 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43790 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43802 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43814 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43820 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43824 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43830 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43840 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43848 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43858 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43860 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43866 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43876 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43878 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43884 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43886 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43900 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33136 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33142 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33144 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33146 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33152 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33168 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33180 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33182 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33198 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33212 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33216 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33224 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33226 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33238 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33252 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33254 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33260 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33266 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33274 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34982 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34994 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35000 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35016 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35026 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35030 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35046 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35052 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35062 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35070 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35078 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35082 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35088 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35102 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35114 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35130 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35142 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35156 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35170 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35174 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:35180 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35184 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35186 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:35194 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35196 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35204 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35210 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35224 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55480 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55496 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [822326]
|
||||
@@ -0,0 +1,11 @@
|
||||
▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
|
||||
|
||||
tsconfig.json:2:12:
|
||||
2 │ "extends": "./.svelte-kit/tsconfig.json",
|
||||
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
3:23:08 AM [vite] (client) Forced re-optimization of dependencies
|
||||
|
||||
VITE v6.4.3 ready in 405 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"all_pass": true,
|
||||
"cited_texts": 15,
|
||||
"citations": 25,
|
||||
"counts": {
|
||||
"saved_fields": 33,
|
||||
"root_saved_fields": 33,
|
||||
"internal_saved_fields": 0,
|
||||
"linked_saved_fields": 1,
|
||||
"frontend_only": 1,
|
||||
"source_nodes": 5,
|
||||
"root_nodes": 5,
|
||||
"internal_nodes": 0,
|
||||
"physical_edges": 4,
|
||||
"internal_edge_records": 0,
|
||||
"source_notes": 0,
|
||||
"history_objects": 0,
|
||||
"history_strings": 1,
|
||||
"final_scalars": 0,
|
||||
"final_prompt_constructed": false
|
||||
},
|
||||
"local_file_base": "docs/hel-892/llama-document-evidence",
|
||||
"upstream_executed": false,
|
||||
"source_identity": "undeclared",
|
||||
"all_reference_versions_are_hypotheses": true,
|
||||
"missing_llama_license": true
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
# 仓库根;已锁定既有依赖,基线92b7897ae2c394bb214d6a7fdec0c139b8f09c76。
|
||||
uv sync --project calliope-backend --offline --extra dev
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/rebuild.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_llama_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/check_code.py
|
||||
uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/llama-document-evidence/recompute.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/repeat.py
|
||||
npm ci --offline --ignore-scripts --prefix calliope-web
|
||||
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-llama-document.py
|
||||
# 仅隔离本地库、真实GET路由;finally停8247/5173,浏览器依赖路径按环境调整。
|
||||
# 浏览日志在.local-evidence/llama-document/browser;截图仅附卡,不入仓。
|
||||
# 差分:review-delta.json;旧代码升级/回退与29列用户保护:import-protection.json。
|
||||
# 冻结边界:boundaries.json、frozen-resource-check.json。
|
||||
# 来源:reference/sources.json以llama-reference为基准;实际doc local_file以llama-document-evidence为基准。
|
||||
# 可选联网重取固定文本,绝不执行上游;预先建立无checkout缓存并fetch完整SHA:
|
||||
git clone --depth 1 --filter=blob:none --no-checkout https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm.git .local-evidence/llama-reference-git
|
||||
git -C .local-evidence/llama-reference-git fetch --depth 1 origin f2209cccb726647640271bd1cea071a570fc62f5
|
||||
git clone --depth 1 --filter=blob:none --no-checkout https://github.com/pythongosssss/ComfyUI-Custom-Scripts.git .local-evidence/showtext-reference-git
|
||||
git -C .local-evidence/showtext-reference-git fetch --depth 1 origin 609f3afaa74b2f88ef9ce8d939626065e3247469
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/llama-document-evidence/fetch_sources.py
|
||||
# 可选重取会更新获取时间;不得未经复核重建受信定义。现有固定字节可完全离线验证。
|
||||
@@ -0,0 +1,93 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, REPO, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def main():
|
||||
b = build()
|
||||
seen = set()
|
||||
for e in b["sources"]:
|
||||
p = (OUT / e["local_file"]).resolve()
|
||||
raw = p.read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
seen.add(str(p))
|
||||
if "git_blob_sha1" in e:
|
||||
assert (
|
||||
hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
== e["git_blob_sha1"]
|
||||
)
|
||||
parent = OUT.parent / "moge3-reference" if e["id"] == "frontend" else p.parent
|
||||
t = json.loads((parent / (e["id"] + "-tree.json")).read_bytes())
|
||||
assert t["sha"] == e["commit"] and not t["truncated"]
|
||||
assert next(x["sha"] for x in t["tree"] if x["path"] == e["file"]) == e["git_blob_sha1"]
|
||||
ids = json.loads((REF / "identities.json").read_bytes())
|
||||
ids += [
|
||||
i
|
||||
for i in json.loads((OUT.parent / ("moge3-reference/identities.jso" + "n")).read_bytes())
|
||||
if i["id"] in ["frontend", "core"]
|
||||
]
|
||||
for i in ids:
|
||||
root = REF if i["id"] in ["llama", "showtext"] else OUT.parent / "moge3-reference"
|
||||
raw = (root / (i["id"] + "-commit.txt")).read_bytes()
|
||||
assert (
|
||||
hashlib.sha1(b"commit " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
== i["commit"]
|
||||
)
|
||||
assert raw.decode().splitlines()[0] == "tree " + i["tree"]
|
||||
if i.get("tag"):
|
||||
assert i["commit"] in (root / (i["id"] + "-tag.txt")).read_text()
|
||||
assert "LICENSE" not in [
|
||||
e["path"] for e in json.loads((REF / "llama-tree.json").read_bytes())["tree"]
|
||||
]
|
||||
inv = inventory()
|
||||
assert len(inv["fields"]) == 33 and not inv["notes"]
|
||||
for a, f in zip(inv["fields"], b["fields"], strict=True):
|
||||
assert (a["pointer"], a["scope"], a["json_type"], canonical(a["value"])) == (
|
||||
f["pointer"],
|
||||
f["scope"],
|
||||
f["json_type"],
|
||||
canonical(f["value"]),
|
||||
)
|
||||
g = json.loads((REPO / b["source_path"]).read_bytes())
|
||||
assert "frontendVersion" not in g.get("extra", {}) and not g.get("definitions")
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
for n in g["nodes"]:
|
||||
assert n["mode"] == 0 and "widgets_values_named" not in n
|
||||
assert not {"cnr_id", "aux_id", "ver"} & n["properties"].keys()
|
||||
for eid, src, slot, dst, inp, _ in g["links"]:
|
||||
assert eid in ns[src]["outputs"][slot]["links"]
|
||||
assert ns[dst]["inputs"][inp]["link"] == eid
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
all_pass=True,
|
||||
cited_texts=len(seen),
|
||||
citations=len(b["sources"]),
|
||||
counts=b["counts"],
|
||||
local_file_base=str(OUT.relative_to(REPO)),
|
||||
upstream_executed=False,
|
||||
source_identity="undeclared",
|
||||
all_reference_versions_are_hypotheses=True,
|
||||
missing_llama_license=True,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(
|
||||
(
|
||||
"PASS bytes/Git provenance, all 33 positions a"
|
||||
"nd four physical edges; no source identity in"
|
||||
"vented"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,93 @@
|
||||
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
|
||||
import type { INumericWidget } from '@/lib/litegraph/src/types/widgets'
|
||||
import { useSettingStore } from '@/platform/settings/settingStore'
|
||||
import type { InputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
import { isIntInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
import type { ComfyWidgetConstructorV2 } from '@/scripts/widgets'
|
||||
import { addValueControlWidget } from '@/scripts/widgets'
|
||||
import { transformInputSpecV2ToV1 } from '@/schemas/nodeDef/migration'
|
||||
|
||||
function onValueChange(this: INumericWidget, v: number) {
|
||||
// For integers, always round to the nearest step
|
||||
// step === 0 is invalid, assign 1 if options.step is 0
|
||||
const step = this.options.step2 || 1
|
||||
|
||||
if (step === 1) {
|
||||
// Simple case: round to nearest integer
|
||||
this.value = Math.round(v)
|
||||
} else {
|
||||
// Round to nearest multiple of step
|
||||
// First, determine if min value creates an offset
|
||||
const min = this.options.min ?? 0
|
||||
const offset = min % step
|
||||
|
||||
// Round to nearest step, accounting for offset
|
||||
this.value = Math.round((v - offset) / step) * step + offset
|
||||
}
|
||||
}
|
||||
|
||||
export const _for_testing = {
|
||||
onValueChange
|
||||
}
|
||||
|
||||
export const useIntWidget = () => {
|
||||
const widgetConstructor: ComfyWidgetConstructorV2 = (
|
||||
node: LGraphNode,
|
||||
inputSpec: InputSpec
|
||||
) => {
|
||||
if (!isIntInputSpec(inputSpec)) {
|
||||
throw new Error(`Invalid input data: ${inputSpec}`)
|
||||
}
|
||||
|
||||
const settingStore = useSettingStore()
|
||||
const sliderEnabled = !settingStore.get('Comfy.DisableSliders')
|
||||
const display_type = inputSpec.display
|
||||
const widgetType =
|
||||
sliderEnabled && display_type == 'slider'
|
||||
? 'slider'
|
||||
: display_type == 'knob'
|
||||
? 'knob'
|
||||
: 'number'
|
||||
|
||||
const step = inputSpec.step ?? 1
|
||||
/** Assertion {@link inputSpec.default} */
|
||||
const defaultValue = (inputSpec.default as number | undefined) ?? 0
|
||||
const widget = node.addWidget(
|
||||
widgetType,
|
||||
inputSpec.name,
|
||||
defaultValue,
|
||||
onValueChange,
|
||||
{
|
||||
min: inputSpec.min ?? 0,
|
||||
max: inputSpec.max ?? 2048,
|
||||
/** @deprecated Use step2 instead. The 10x value is a legacy implementation. */
|
||||
step: step * 10,
|
||||
step2: step,
|
||||
precision: 0
|
||||
}
|
||||
)
|
||||
|
||||
const controlAfterGenerate =
|
||||
inputSpec.control_after_generate ??
|
||||
['seed', 'noise_seed'].includes(inputSpec.name)
|
||||
|
||||
if (controlAfterGenerate) {
|
||||
const defaultType =
|
||||
typeof inputSpec.control_after_generate === 'string'
|
||||
? inputSpec.control_after_generate
|
||||
: 'randomize'
|
||||
const controlWidget = addValueControlWidget(
|
||||
node,
|
||||
widget,
|
||||
defaultType,
|
||||
undefined,
|
||||
undefined,
|
||||
transformInputSpecV2ToV1(inputSpec)
|
||||
)
|
||||
widget.linkedWidgets = [controlWidget]
|
||||
}
|
||||
|
||||
return widget
|
||||
}
|
||||
return widgetConstructor
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tree": "020bd16116a4ec7f4a0ab45d951473f6419498ef",
|
||||
"tag": null,
|
||||
"selection": "显式调查参考;非源声明版本、非发布包/目标绑定",
|
||||
"license_status": "pyproject引用LICENSE但Git树缺此文件,许可文本未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tree": "b842a07ded2df7234cf4bb59aed825ca182a0f6a",
|
||||
"tag": null,
|
||||
"selection": "显式调查参考;非源声明版本、非发布包/目标绑定",
|
||||
"license_status": "LICENSE全文已固定"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 020bd16116a4ec7f4a0ab45d951473f6419498ef
|
||||
parent 2deda09629f14e322a20cf1ab76ae8b3a00626d7
|
||||
author lihaoyun6 <lihaoyun11@gmail.com> 1786972664 +0800
|
||||
committer lihaoyun6 <lihaoyun11@gmail.com> 1786972664 +0800
|
||||
|
||||
remove unused file
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"sha": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"truncated": false,
|
||||
"tree": [
|
||||
{
|
||||
"path": ".gitattributes",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "dfe0770424b2a19faf507a501ebfc23be8f54e7b"
|
||||
},
|
||||
{
|
||||
"path": ".gitignore",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "b6ac84e7dd3b454faa8d2235dfa4f81cd94120fd"
|
||||
},
|
||||
{
|
||||
"path": "README.md",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "5366d134aa31a0d5eb4099fb6f5b4fab13a1abb3"
|
||||
},
|
||||
{
|
||||
"path": "README_zh.md",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "02cfb46028748ef1da3fb8e959c67d44ce9ce2c0"
|
||||
},
|
||||
{
|
||||
"path": "__init__.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "2e96bd6ab3db650f769ae7886e0c13515752bd16"
|
||||
},
|
||||
{
|
||||
"path": "img/preview.jpg",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "9cc4e4dad09528f7a5b1c43817f733776240a3c5"
|
||||
},
|
||||
{
|
||||
"path": "nodes.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc"
|
||||
},
|
||||
{
|
||||
"path": "pyproject.toml",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "f36ef1ac4934274ee8d659d408af2f277820b537"
|
||||
},
|
||||
{
|
||||
"path": "requirements.txt",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d2699c07ab739b05fea6df076e217a26a38d7b54"
|
||||
},
|
||||
{
|
||||
"path": "requirements_cu131.txt",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "21ec7ade65fc4870dc8efb4247540cf5c86e0840"
|
||||
},
|
||||
{
|
||||
"path": "support/cqdm.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "2fd22b9c1ddf973ef946e6a623152debcef4985a"
|
||||
},
|
||||
{
|
||||
"path": "support/gguf_layers.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "be4e520b323a4f19509b864ef45438b64e9ac4ba"
|
||||
},
|
||||
{
|
||||
"path": "support/prompt_enhancer_preset.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "915b0f2373359093ec8ac6b744305ec5d807db7e"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
# ComfyUI-llama-cpp
|
||||
在 ComfyUI 中基于 llama.cpp 框架原生运行 LLM & VLM 模型。
|
||||
**[[📃English](./README.md)]**
|
||||
|
||||
## 预览
|
||||

|
||||
|
||||
## 安装步骤
|
||||
|
||||
#### 安装节点:
|
||||
```bash
|
||||
cd ComfyUI/custom_nodes
|
||||
git clone https://github.com/lihaoyun6/ComfyUI-llama-cpp.git
|
||||
python -m pip install -r ComfyUI-llama-cpp/requirements.txt
|
||||
#CUDA 13用户请执行:
|
||||
#python -m pip install -r ComfyUI-llama-cpp/requirements_cu131.txt
|
||||
```
|
||||
|
||||
### 模型路径:
|
||||
- 请将下载的 `.gguf` 模型放置在 `ComfyUI/models/LLM` 目录中.
|
||||
|
||||
> 在使用VLM模型进行图像推理之前, 请确保已经下载并选择了主模型对应的`mmproj`权重文件.
|
||||
|
||||
## 致谢
|
||||
- [llama-cpp-python](https://github.com/JamePeng/llama-cpp-python) @JamePeng
|
||||
- [ComfyUI-llama-cpp](https://github.com/kijai/ComfyUI-llama-cpp) @kijai
|
||||
- [ComfyUI](https://github.com/comfyanonymous/ComfyUI) @comfyanonymous
|
||||
@@ -0,0 +1,3 @@
|
||||
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,37 @@
|
||||
[project]
|
||||
name = "llama-cpp_vllm"
|
||||
description = "Run LLM/VLM models natively in ComfyUI based on llama.cpp"
|
||||
version = "1.3.1"
|
||||
license = {file = "LICENSE"}
|
||||
classifiers = [
|
||||
# # For OS-independent nodes (works on all operating systems)
|
||||
# "Operating System :: OS Independent",
|
||||
#
|
||||
# # OR for OS-specific nodes, specify the supported systems:
|
||||
"Operating System :: Microsoft :: Windows", # Windows specific
|
||||
"Operating System :: POSIX :: Linux", # Linux specific
|
||||
"Operating System :: MacOS", # macOS specific
|
||||
#
|
||||
# # GPU Accelerator support. Pick the ones that are supported by your extension.
|
||||
"Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support
|
||||
# "Environment :: GPU :: AMD ROCm", # AMD ROCm support
|
||||
# "Environment :: GPU :: Intel Arc", # Intel Arc support
|
||||
# "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support
|
||||
"Environment :: GPU :: Apple Metal", # Apple Metal support
|
||||
]
|
||||
|
||||
dependencies = ["diskcache", "scipy", "numpy", "pillow", "gguf"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm"
|
||||
# Used by Comfy Registry https://registry.comfy.org
|
||||
Documentation = "https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm/wiki"
|
||||
"Bug Tracker" = "https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm/issues"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "lhy666"
|
||||
DisplayName = "ComfyUI-llama-cpp_vlm"
|
||||
Icon = ""
|
||||
includes = []
|
||||
# "requires-comfyui" = ">=1.0.0" # ComfyUI version compatibility
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
import struct
|
||||
|
||||
def read_u32(f):
|
||||
return struct.unpack("<I", f.read(4))[0]
|
||||
|
||||
|
||||
def read_u64(f):
|
||||
return struct.unpack("<Q", f.read(8))[0]
|
||||
|
||||
|
||||
def read_string(f):
|
||||
ln = read_u64(f)
|
||||
return f.read(ln).decode("utf-8")
|
||||
|
||||
|
||||
def read_value(f):
|
||||
vtype = read_u32(f)
|
||||
|
||||
# GGUF value types
|
||||
if vtype == 0: # uint8
|
||||
return struct.unpack("<B", f.read(1))[0]
|
||||
if vtype == 1: # int8
|
||||
return struct.unpack("<b", f.read(1))[0]
|
||||
if vtype == 2: # uint16
|
||||
return struct.unpack("<H", f.read(2))[0]
|
||||
if vtype == 3: # int16
|
||||
return struct.unpack("<h", f.read(2))[0]
|
||||
if vtype == 4: # uint32
|
||||
return struct.unpack("<I", f.read(4))[0]
|
||||
if vtype == 5: # int32
|
||||
return struct.unpack("<i", f.read(4))[0]
|
||||
if vtype == 6: # float32
|
||||
return struct.unpack("<f", f.read(4))[0]
|
||||
if vtype == 7: # bool
|
||||
return struct.unpack("<?", f.read(1))[0]
|
||||
if vtype == 8: # string
|
||||
return read_string(f)
|
||||
if vtype == 9: # array
|
||||
atype = read_u32(f)
|
||||
count = read_u64(f)
|
||||
return [read_value_of_type(f, atype) for _ in range(count)]
|
||||
if vtype == 10: # uint64
|
||||
return struct.unpack("<Q", f.read(8))[0]
|
||||
if vtype == 11: # int64
|
||||
return struct.unpack("<q", f.read(8))[0]
|
||||
if vtype == 12: # float64
|
||||
return struct.unpack("<d", f.read(8))[0]
|
||||
|
||||
raise ValueError(f"Unknown value type {vtype}")
|
||||
|
||||
|
||||
def read_value_of_type(f, atype):
|
||||
# same mapping as above but without extra type code
|
||||
if atype == 0:
|
||||
return struct.unpack("<B", f.read(1))[0]
|
||||
if atype == 1:
|
||||
return struct.unpack("<b", f.read(1))[0]
|
||||
if atype == 2:
|
||||
return struct.unpack("<H", f.read(2))[0]
|
||||
if atype == 3:
|
||||
return struct.unpack("<h", f.read(2))[0]
|
||||
if atype == 4:
|
||||
return struct.unpack("<I", f.read(4))[0]
|
||||
if atype == 5:
|
||||
return struct.unpack("<i", f.read(4))[0]
|
||||
if atype == 6:
|
||||
return struct.unpack("<f", f.read(4))[0]
|
||||
if atype == 7:
|
||||
return struct.unpack("<?", f.read(1))[0]
|
||||
if atype == 8:
|
||||
return read_string(f)
|
||||
if atype == 10:
|
||||
return struct.unpack("<Q", f.read(8))[0]
|
||||
if atype == 11:
|
||||
return struct.unpack("<q", f.read(8))[0]
|
||||
if atype == 12:
|
||||
return struct.unpack("<d", f.read(8))[0]
|
||||
|
||||
raise ValueError(f"Unknown array item type {atype}")
|
||||
|
||||
def get_layer_count(path):
|
||||
with open(path, "rb") as f:
|
||||
if f.read(4) != b"GGUF":
|
||||
raise ValueError("This is not a GGUF file!")
|
||||
|
||||
version = read_u32(f)
|
||||
tensor_count = read_u64(f)
|
||||
kv_count = read_u64(f)
|
||||
meta = {}
|
||||
|
||||
for _ in range(kv_count):
|
||||
key = read_string(f)
|
||||
value = read_value(f)
|
||||
meta[key] = value
|
||||
|
||||
for k, v in meta.items():
|
||||
if k.lower().endswith(".block_count"):
|
||||
return v
|
||||
|
||||
print(f"Failed to read metadata: {e}")
|
||||
print(f"Try reading the entire GGUF...")
|
||||
|
||||
from gguf import GGUFReader
|
||||
reader = GGUFReader(path)
|
||||
|
||||
try:
|
||||
layer_count = reader.get_field("llama.block_count")
|
||||
if layer_count is None:
|
||||
for field in reader.fields.values():
|
||||
if field.name.endswith(".block_count"):
|
||||
layer_count = field.parts[field.data[0]]
|
||||
break
|
||||
|
||||
if layer_count:
|
||||
return int(layer_count[0] if isinstance(layer_count, list) else layer_count)
|
||||
except Exception as e:
|
||||
print(f"Failed to get block_count: {e}")
|
||||
|
||||
return None
|
||||
@@ -0,0 +1,23 @@
|
||||
tree b842a07ded2df7234cf4bb59aed825ca182a0f6a
|
||||
parent 6f5ed1fb597bda57b6b8fb059cf70ad14ed9521a
|
||||
author pythongosssss <125205205+pythongosssss@users.noreply.github.com> 1770895889 -0800
|
||||
committer GitHub <noreply@github.com> 1770895889 -0800
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJpjboRCRC1aQ7uu5UhlAAAzYcQAHT2hb5ovcp9h8NezVQoyTpZ
|
||||
N2xNUF/tuXrbHj6USgGsV2xe+k0k8gmOIO67Y4KpDZgnmdPQevaXngQRUkJtpHiw
|
||||
QIU1KdlQjaThgaH00wLdZqLWyV8JuQGpsFGimofuZW/UnAnES/7+hdzFVMSZfsY0
|
||||
Hl6FEXNc4nL1nFK3HwmEiDIUB4idIWFXeoTRtQrYHImVSRjnnWNcX/fJulOaBel2
|
||||
JIPLymhE6kzJ/y12RCO+aEm58H//3kgobHqTLKJ1Pho8FqGMifaRT5RGxO7PAsmV
|
||||
1XRMSbtKFMTvwC4ieCRInNg1OozHFPHhA5Bcu/IW42KjnK6xh0YBXLVEIXhY4Ie3
|
||||
CcO8yPcp1QC6TSvLp7FHbrPzv3WB9OzGRJGNSIPu3561SzctkRgjZDTD43ZR7lLt
|
||||
l5tQITFRfOxtAq/aPo5SrdTaN9bObTQmHomDXSYXWnywPidxsLkUl1OEs89FUH9P
|
||||
ZV0wNiwZ1dGSjO3GrWDyaNDLLRCobKnkDW57QLuHSg+srSacGV8P/SK2ENrXTgC/
|
||||
e1vOM1JhXTH8AZKdHrsD8gPxbndxtnebAiSxNrCaucPMf5eARLVcoORJKETU2fRX
|
||||
OtyzwZnJyFuNh+KOMKhhz2rz9xTzJq8s5+BGFGJZ1PBxCRM3C7NCa7RzFD6esnC8
|
||||
+qLGa5lpGJaxOUUtwlZW
|
||||
=TIyC
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
Update workflowImage.js
|
||||
@@ -0,0 +1,414 @@
|
||||
{
|
||||
"sha": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"truncated": false,
|
||||
"tree": [
|
||||
{
|
||||
"path": ".github/workflows/publish.yml",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "c9c70bf7f47b9e294ac2436b8fe2a2b8878bc106"
|
||||
},
|
||||
{
|
||||
"path": ".gitignore",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "8d303a4effdf5bf2a332042b2cb31a77589ab333"
|
||||
},
|
||||
{
|
||||
"path": "LICENSE",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "acf31806a2507192169eca2137ea9ceb7685f51c"
|
||||
},
|
||||
{
|
||||
"path": "README.md",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "690bfe1c46018bdd63385abf77a58d226388623f"
|
||||
},
|
||||
{
|
||||
"path": "__init__.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "ae43dd2090ce782074bf72f2b7f49ad28dff1a5c"
|
||||
},
|
||||
{
|
||||
"path": "py/autocomplete.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "8ac6a0524823d13849b6cbe02efedc7bffea8f38"
|
||||
},
|
||||
{
|
||||
"path": "py/better_combos.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d31043b0afdb8943409f3d97adbdde2db9dc38ee"
|
||||
},
|
||||
{
|
||||
"path": "py/constrain_image.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "1c768893c5ed5c1cb1247bca77414dc8762d3fde"
|
||||
},
|
||||
{
|
||||
"path": "py/constrain_image_for_video.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "91c0c502b8d8f6202d96a26b045e393b4552fc8e"
|
||||
},
|
||||
{
|
||||
"path": "py/math_expression.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "4a41655b6876a077338040b0099c4d4e8c9dbcd2"
|
||||
},
|
||||
{
|
||||
"path": "py/model_info.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "b360bafb35fdfc25dd94902076fab6baa39ee23c"
|
||||
},
|
||||
{
|
||||
"path": "py/play_sound.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "65f599d2680553a20031d81d1fdf161d73edefef"
|
||||
},
|
||||
{
|
||||
"path": "py/repeater.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "1d83c67e2132b9db708ef087ad788d22c58c80c2"
|
||||
},
|
||||
{
|
||||
"path": "py/reroute_primitive.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "c22a7d1ef00eddfbde6185e702b6c3462521ccda"
|
||||
},
|
||||
{
|
||||
"path": "py/show_text.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "5a013a5bc7a82e29f38f35ff85dab827ba42a254"
|
||||
},
|
||||
{
|
||||
"path": "py/string_function.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "f502ba31f52720f019c9f1d155d17a9cb9e335f9"
|
||||
},
|
||||
{
|
||||
"path": "py/system_notification.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d5a52c14773ff86bbb3b29c6405a05238d8b46eb"
|
||||
},
|
||||
{
|
||||
"path": "py/text_files.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "42de6d71a375b7e5169f868f789c254b4f6c2cd9"
|
||||
},
|
||||
{
|
||||
"path": "py/workflows.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "233e8c84ce490a1fd2a51e603b9836d869dc0262"
|
||||
},
|
||||
{
|
||||
"path": "pyproject.toml",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "b34f8cfc4a4af33575586c2c11313bdd34d1dfee"
|
||||
},
|
||||
{
|
||||
"path": "pysssss.default.json",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "6ca06420135d024f925a0d70d5dd0328c69b271e"
|
||||
},
|
||||
{
|
||||
"path": "pysssss.example.json",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "251e3c720067fc06b4458db51cb8c12182c05dee"
|
||||
},
|
||||
{
|
||||
"path": "pysssss.py",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "b1024f5a220779239bdadc56aaf7b9431cfa77cc"
|
||||
},
|
||||
{
|
||||
"path": "user/text_file_dirs.json",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "15adc2255e0109be7b860d591f54187520c673aa"
|
||||
},
|
||||
{
|
||||
"path": "web/js/assets/canvas2svg.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "03dc3923759ccbe8cf70eaab387b792cc0ba32ca"
|
||||
},
|
||||
{
|
||||
"path": "web/js/assets/favicon-active.ico",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "64045ab56e87879adb039b1fdb0bbbe0462143e7"
|
||||
},
|
||||
{
|
||||
"path": "web/js/assets/favicon.ico",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "08df2481551bb6903735fa69d658b5abfb0a5ae1"
|
||||
},
|
||||
{
|
||||
"path": "web/js/assets/no-image.png",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d0b58b2c9d3ad82a2a949933648f8691ff36ba84"
|
||||
},
|
||||
{
|
||||
"path": "web/js/assets/notify.mp3",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "5e3fdabbb12142dfa75702a0b0e0ca5e5425a7dd"
|
||||
},
|
||||
{
|
||||
"path": "web/js/autocompleter.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "20d6920ec0e8138eb1e51e8dc65eaceb0707a248"
|
||||
},
|
||||
{
|
||||
"path": "web/js/betterCombos.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "cbf0a0740471035dc1d1d4f14101c4888dd91c2a"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/autocomplete.css",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "1f371d6203a94202c48c851a3321c7e423de477b"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/autocomplete.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "ac5fb1d006bad80c67870655ccfc82a120ddc4a7"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/binding.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "7533e7e5e93beee798123a8ed84d36a50d2a4702"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/lightbox.css",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "c4307fd0a201f6ae396e0cb9e2b5e00dba8fc285"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/lightbox.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "5c9079067f6fd26ab8e392e55add76d52a885858"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/modelInfoDialog.css",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "a5b9f627fc348ca17db78e5b28bc43a86e46560a"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/modelInfoDialog.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "032767da17bfc12f60ac8c6f926d8366a3b436e6"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/spinner.css",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "cfb7a0d961de791e721f5351476a0d014285736e"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/spinner.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "407599017aab85cddf6edab18afe91c3013c3cf0"
|
||||
},
|
||||
{
|
||||
"path": "web/js/common/utils.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "cd7539d449a2ac85672fb36da4be725f352b86f8"
|
||||
},
|
||||
{
|
||||
"path": "web/js/contextMenuHook.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "0fd35b41a4a4f6b7110c417d76235e07b22e7ce4"
|
||||
},
|
||||
{
|
||||
"path": "web/js/customColors.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "2b0fefca7aa86b48d4e81126a6549e4b5fe16505"
|
||||
},
|
||||
{
|
||||
"path": "web/js/faviconStatus.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "3dcd196bcbc83082144faef0d247ef5eac3d668c"
|
||||
},
|
||||
{
|
||||
"path": "web/js/graphArrange.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "8f25e241a2b91a01ca95a376385bdbe572994752"
|
||||
},
|
||||
{
|
||||
"path": "web/js/imageFeed.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "4afdc066b023a43dccaf91884c8910b1fc470961"
|
||||
},
|
||||
{
|
||||
"path": "web/js/kSamplerAdvDenoise.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "7b92d4f1d6596a6d9679d3ef4c7dffe9ea297327"
|
||||
},
|
||||
{
|
||||
"path": "web/js/linkRenderMode.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "010de6ee1085e3fbb4e5b3d3a381e38e261b53c7"
|
||||
},
|
||||
{
|
||||
"path": "web/js/mathExpression.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d0dde50ec2fa00a556b56baa17ec2be340035ef3"
|
||||
},
|
||||
{
|
||||
"path": "web/js/middleClickAddDefaultNode.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "43f944f2835f56357b7701c2ef987261ceff9a8b"
|
||||
},
|
||||
{
|
||||
"path": "web/js/modelInfo.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "b5db20a113fdb8f75b820306985fbf743e5f6bcc"
|
||||
},
|
||||
{
|
||||
"path": "web/js/nodeFinder.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "d3727724b4ad09454aa77736115d81d6426be9ef"
|
||||
},
|
||||
{
|
||||
"path": "web/js/playSound.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "de71058989079786807ad4b66ca6853c4b0b0ac7"
|
||||
},
|
||||
{
|
||||
"path": "web/js/presetText.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "472f11bef9caa382703f6144c32d48c647b2443d"
|
||||
},
|
||||
{
|
||||
"path": "web/js/quickNodes.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "a52581b32ed9cc6af01f016774518d17693b2132"
|
||||
},
|
||||
{
|
||||
"path": "web/js/repeater.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "23432c4d4fa89f899312a7fa4bd83a04c635a6b5"
|
||||
},
|
||||
{
|
||||
"path": "web/js/reroutePrimitive.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "7b934d717073b3b4dc210a48356580c615802375"
|
||||
},
|
||||
{
|
||||
"path": "web/js/showImageOnMenu.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "4fed9de92e333270f1c2066e7667e34fd40e539b"
|
||||
},
|
||||
{
|
||||
"path": "web/js/showText.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "464fd404632397e26c2af1d2297970da6c726920"
|
||||
},
|
||||
{
|
||||
"path": "web/js/snapToGrid.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "07d5aa8c7bec97e2e14a8470fc8df2e82c14c39d"
|
||||
},
|
||||
{
|
||||
"path": "web/js/snapToGridGuide.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "54b2b739689d4f145398c794a38d1bb089ffceec"
|
||||
},
|
||||
{
|
||||
"path": "web/js/stringFunction.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "cc150dff04a2e94b9bc768f6331964c13a96ddbe"
|
||||
},
|
||||
{
|
||||
"path": "web/js/swapResolution.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "40f6dcc851780077c79e7e142fd0f97104e85a09"
|
||||
},
|
||||
{
|
||||
"path": "web/js/systemNotification.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "803b8c90629f6722efd090e0bf5839e395c4402b"
|
||||
},
|
||||
{
|
||||
"path": "web/js/useNumberInputPrompt.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "a92aa51095bc474b3cf80697aa238ad8814b4c3d"
|
||||
},
|
||||
{
|
||||
"path": "web/js/widgetDefaults.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "859749d16fda455bcdfb4a6fba89a7340c839183"
|
||||
},
|
||||
{
|
||||
"path": "web/js/workflowImage.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "ff19c6a040b302d94883ecba3ab6ede195069ecd"
|
||||
},
|
||||
{
|
||||
"path": "web/js/workflows.js",
|
||||
"mode": "100644",
|
||||
"type": "blob",
|
||||
"sha": "0225260ae7cc6b420c272ab3f54e389910a93815"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 pythongosssss
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,25 @@
|
||||
import importlib.util
|
||||
import glob
|
||||
import os
|
||||
import sys
|
||||
from .pysssss import init, get_ext_dir
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
if init():
|
||||
py = get_ext_dir("py")
|
||||
files = glob.glob(os.path.join(py, "*.py"), recursive=False)
|
||||
for file in files:
|
||||
name = os.path.splitext(file)[0]
|
||||
spec = importlib.util.spec_from_file_location(name, file)
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
sys.modules[name] = module
|
||||
spec.loader.exec_module(module)
|
||||
if hasattr(module, "NODE_CLASS_MAPPINGS") and getattr(module, "NODE_CLASS_MAPPINGS") is not None:
|
||||
NODE_CLASS_MAPPINGS.update(module.NODE_CLASS_MAPPINGS)
|
||||
if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS") and getattr(module, "NODE_DISPLAY_NAME_MAPPINGS") is not None:
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS)
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
@@ -0,0 +1,49 @@
|
||||
class ShowText:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"text": ("STRING", {"forceInput": True}),
|
||||
},
|
||||
"hidden": {
|
||||
"unique_id": "UNIQUE_ID",
|
||||
"extra_pnginfo": "EXTRA_PNGINFO",
|
||||
},
|
||||
}
|
||||
|
||||
INPUT_IS_LIST = True
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "notify"
|
||||
OUTPUT_NODE = True
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
|
||||
CATEGORY = "utils"
|
||||
|
||||
def notify(self, text, unique_id=None, extra_pnginfo=None):
|
||||
if unique_id is not None and extra_pnginfo is not None:
|
||||
if not isinstance(extra_pnginfo, list):
|
||||
print("Error: extra_pnginfo is not a list")
|
||||
elif (
|
||||
not isinstance(extra_pnginfo[0], dict)
|
||||
or "workflow" not in extra_pnginfo[0]
|
||||
):
|
||||
print("Error: extra_pnginfo[0] is not a dict or missing 'workflow' key")
|
||||
else:
|
||||
workflow = extra_pnginfo[0]["workflow"]
|
||||
node = next(
|
||||
(x for x in workflow["nodes"] if str(x["id"]) == str(unique_id[0])),
|
||||
None,
|
||||
)
|
||||
if node:
|
||||
node["widgets_values"] = [text]
|
||||
|
||||
return {"ui": {"text": text}, "result": (text,)}
|
||||
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"ShowText|pysssss": ShowText,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"ShowText|pysssss": "Show Text 🐍",
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
[project]
|
||||
name = "comfyui-custom-scripts"
|
||||
description = "Enhancements & experiments for ComfyUI, mostly focusing on UI features"
|
||||
version = "1.2.5"
|
||||
license = { file = "LICENSE" }
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/pythongosssss/ComfyUI-Custom-Scripts"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "pythongosssss"
|
||||
DisplayName = "ComfyUI-Custom-Scripts"
|
||||
Icon = ""
|
||||
@@ -0,0 +1,78 @@
|
||||
import { app } from "../../../scripts/app.js";
|
||||
import { ComfyWidgets } from "../../../scripts/widgets.js";
|
||||
|
||||
// Displays input text on a node
|
||||
|
||||
// TODO: This should need to be so complicated. Refactor at some point.
|
||||
|
||||
app.registerExtension({
|
||||
name: "pysssss.ShowText",
|
||||
async beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name === "ShowText|pysssss") {
|
||||
function populate(text) {
|
||||
if (this.widgets) {
|
||||
// On older frontend versions there is a hidden converted-widget
|
||||
const isConvertedWidget = +!!this.inputs?.[0].widget;
|
||||
for (let i = isConvertedWidget; i < this.widgets.length; i++) {
|
||||
this.widgets[i].onRemove?.();
|
||||
}
|
||||
this.widgets.length = isConvertedWidget;
|
||||
}
|
||||
|
||||
const v = [...text];
|
||||
if (!v[0]) {
|
||||
v.shift();
|
||||
}
|
||||
for (let list of v) {
|
||||
// Force list to be an array, not sure why sometimes it is/isn't
|
||||
if (!(list instanceof Array)) list = [list];
|
||||
for (const l of list) {
|
||||
const w = ComfyWidgets["STRING"](this, "text_" + this.widgets?.length ?? 0, ["STRING", { multiline: true }], app).widget;
|
||||
w.inputEl.readOnly = true;
|
||||
w.inputEl.style.opacity = 0.6;
|
||||
w.value = l;
|
||||
}
|
||||
}
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
const sz = this.computeSize();
|
||||
if (sz[0] < this.size[0]) {
|
||||
sz[0] = this.size[0];
|
||||
}
|
||||
if (sz[1] < this.size[1]) {
|
||||
sz[1] = this.size[1];
|
||||
}
|
||||
this.onResize?.(sz);
|
||||
app.graph.setDirtyCanvas(true, false);
|
||||
});
|
||||
}
|
||||
|
||||
// When the node is executed we will be sent the input text, display this in the widget
|
||||
const onExecuted = nodeType.prototype.onExecuted;
|
||||
nodeType.prototype.onExecuted = function (message) {
|
||||
onExecuted?.apply(this, arguments);
|
||||
populate.call(this, message.text);
|
||||
};
|
||||
|
||||
const VALUES = Symbol();
|
||||
const configure = nodeType.prototype.configure;
|
||||
nodeType.prototype.configure = function () {
|
||||
// Store unmodified widget values as they get removed on configure by new frontend
|
||||
this[VALUES] = arguments[0]?.widgets_values;
|
||||
return configure?.apply(this, arguments);
|
||||
};
|
||||
|
||||
const onConfigure = nodeType.prototype.onConfigure;
|
||||
nodeType.prototype.onConfigure = function () {
|
||||
onConfigure?.apply(this, arguments);
|
||||
const widgets_values = this[VALUES];
|
||||
if (widgets_values?.length) {
|
||||
// In newer frontend there seems to be a delay in creating the initial widget
|
||||
requestAnimationFrame(() => {
|
||||
populate.call(this, widgets_values.slice(+(widgets_values.length > 1 && this.inputs?.[0].widget)));
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,169 @@
|
||||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "nodes.py",
|
||||
"local_file": "llama__nodes.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/nodes.py",
|
||||
"sha256": "ba9d34a29632822e4bf68f0c816bfece47fdf9642257e384fd73a8f531848cd8",
|
||||
"git_blob_sha1": "f3d4f85e2a450efe161f24684ebc2bdf737c10fc",
|
||||
"fetched_at": "2026-10-30T19:19:42.269528+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "__init__.py",
|
||||
"local_file": "llama____init__.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/__init__.py",
|
||||
"sha256": "b18de9dc0005d53c6f3d873b501fc60dee4a6810b74a3722dd0f9420633a04e8",
|
||||
"git_blob_sha1": "2e96bd6ab3db650f769ae7886e0c13515752bd16",
|
||||
"fetched_at": "2026-10-30T19:19:42.271753+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "llama__pyproject.toml",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/pyproject.toml",
|
||||
"sha256": "ab649948c0d8e0edafc1c87522f393af9d8ff0bd835818f47585b791d68326de",
|
||||
"git_blob_sha1": "f36ef1ac4934274ee8d659d408af2f277820b537",
|
||||
"fetched_at": "2026-10-30T19:19:42.273951+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "README_zh.md",
|
||||
"local_file": "llama__README_zh.md",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/README_zh.md",
|
||||
"sha256": "66e9ad9706a7a60c8ae2225e789e76cf624d97733447a2b3fb00f8a80b16c5d6",
|
||||
"git_blob_sha1": "02cfb46028748ef1da3fb8e959c67d44ce9ce2c0",
|
||||
"fetched_at": "2026-10-30T19:19:43.703291+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "llama",
|
||||
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
|
||||
"file": "support/gguf_layers.py",
|
||||
"local_file": "llama__support__gguf_layers.py",
|
||||
"commit": "f2209cccb726647640271bd1cea071a570fc62f5",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/lihaoyun6/ComfyUI-llama-cpp_vlm/f2209cccb726647640271bd1cea071a570fc62f5/support/gguf_layers.py",
|
||||
"sha256": "d8796b0c30f602004a231f83113169cba459b8aabf82fee5a072afd06f71d78d",
|
||||
"git_blob_sha1": "be4e520b323a4f19509b864ef45438b64e9ac4ba",
|
||||
"fetched_at": "2026-10-30T19:19:44.347282+00:00",
|
||||
"license_file": "未提供,pyproject引用但原树缺失",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "py/show_text.py",
|
||||
"local_file": "showtext__py__show_text.py",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/py/show_text.py",
|
||||
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
|
||||
"git_blob_sha1": "5a013a5bc7a82e29f38f35ff85dab827ba42a254",
|
||||
"fetched_at": "2026-10-30T19:19:45.058549+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "web/js/showText.js",
|
||||
"local_file": "showtext__web__js__showText.js",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/web/js/showText.js",
|
||||
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
|
||||
"git_blob_sha1": "464fd404632397e26c2af1d2297970da6c726920",
|
||||
"fetched_at": "2026-10-30T19:19:45.769667+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "__init__.py",
|
||||
"local_file": "showtext____init__.py",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/__init__.py",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
|
||||
"git_blob_sha1": "ae43dd2090ce782074bf72f2b7f49ad28dff1a5c",
|
||||
"fetched_at": "2026-10-30T19:19:46.464543+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "LICENSE",
|
||||
"local_file": "showtext__LICENSE",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/LICENSE",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"git_blob_sha1": "acf31806a2507192169eca2137ea9ceb7685f51c",
|
||||
"fetched_at": "2026-10-30T19:19:47.163015+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "showtext",
|
||||
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "showtext__pyproject.toml",
|
||||
"commit": "609f3afaa74b2f88ef9ce8d939626065e3247469",
|
||||
"tag": null,
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/609f3afaa74b2f88ef9ce8d939626065e3247469/pyproject.toml",
|
||||
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
|
||||
"git_blob_sha1": "b34f8cfc4a4af33575586c2c11313bdd34d1dfee",
|
||||
"fetched_at": "2026-10-30T19:19:47.861837+00:00",
|
||||
"license_file": "showtext__LICENSE",
|
||||
"transport": "git show full commit; no checkout; text only",
|
||||
"applicability": "显式参考假设,源未声明身份版本,发布包与目标绑定未知"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||||
"local_file": "frontend__useIntWidget.ts",
|
||||
"commit": "1a7a6b82514874545dc5e8203d0bd2188c2d9b18",
|
||||
"tag": "v1.52.7",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1a7a6b82514874545dc5e8203d0bd2188c2d9b18/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
|
||||
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
|
||||
"git_blob_sha1": "f307aa0e14b5440f505e3f488cc6c415f45f7879",
|
||||
"fetched_at": "2026-10-30T19:20:15.769858+00:00",
|
||||
"license_file": "../moge3-reference/frontend__LICENSE",
|
||||
"transport": "raw pinned full commit, git tree blob verified",
|
||||
"applicability": "仅显式1.52.7参考假设;本图未声明前端版本"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
// Local GET-only: 33 saved positions including full history, 38 frozen summaries.
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright');
|
||||
const out='.local-evidence/llama-document/browser';fs.mkdirSync(out,{recursive:true});
|
||||
const checks=[],requests=[],errors=[],blockedFonts=[],assertionGroups={},interceptions=[];let group='aggregate';
|
||||
function check(condition,label){assert.ok(condition,label);checks.push(label);assertionGroups[group]=(assertionGroups[group]||0)+1;console.log('PASS '+label);}
|
||||
const browser=await chromium.launch({headless:true,executablePath:process.env.BROWSER_EXECUTABLE});
|
||||
try {
|
||||
const page=await browser.newPage({viewport:{width:1440,height:1000}});
|
||||
await page.route('**/*',route=>{
|
||||
const u=new URL(route.request().url());
|
||||
if(u.hostname==='fonts.googleapis.com'){blockedFonts.push(String(u));return route.fulfill({contentType:'text/css',body:''});}
|
||||
if(route.request().method()!=='GET'||u.hostname!=='127.0.0.1'||u.pathname==='/api/view'||(/\.(mp4|png|wav|mp3|webm)$/i.test(u.pathname)&&u.pathname!=='/favicon.png')){errors.push('Forbidden request '+u);return route.abort();}
|
||||
return route.continue();
|
||||
});
|
||||
page.on('request',r=>{if(r.url().includes('/api/'))requests.push({method:r.method(),url:r.url()});});
|
||||
page.on('pageerror',e=>errors.push(e.message));
|
||||
requests.push({method:'GET',url:'http://127.0.0.1:8247/api/workflows'});
|
||||
const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json();
|
||||
const names=['Llama-cpp+Qwen3.5-提示词','moge3_深度图_几何图_线稿图','Seedvr2_视频放大FOR循环长视频','VOSR2_视频放大_分批循环长视频','视频模型放大插帧(简单快速版)','图像放大比较','VOSR2_图像超分放大','Seedvr2_3b_int8_视频放大','Seedvr2_3b_int8_图像放大','RTX_video_upscale','RTX_image_upscale','手动按分镜视频截取','sam3_图像视频-提示词遮罩分割','多视频合成分屏展示','图像4种添加水印节点','birefnet_图像移除背景','加载本地latent解码','截取视频每一帧','双图像或视频合并显示','视频转gif动图图片','加载图片合成视频','视频倒放','NLF_视频人物动作骨架获取','openpose-video-姿态检测','sdpose_视频人物姿势骨架提取','gemma4_提示词反推(图像视频音频)','图像合并成四宫格','图像分割-多宫格分割','Qwen_image2.1_图像编辑_背景移除','Qwen_image2.1_图像编辑_提示词增强','Qwen_image2.1_文生图_提示词增强','ControlNet_aux_常用样例','Qwen3-ASR-语音转文字','Qwen3-ASR-Subtitle语音转字幕','Minimax-H3提示词增强','音频转MP3格式','音频人声分离','视频-音频分离','图像嵌入文字描述'];
|
||||
const details=[];
|
||||
for(const name of names){const r=records.find(r=>r.name===name);assert.ok(r);const url=`http://127.0.0.1:8247/api/workflows/${r.id}`;requests.push({method:'GET',url});details.push(await(await fetch(url)).json());}
|
||||
check(details.length===39&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===1381,'39图1381保存位置');
|
||||
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===41,'39图41源注释');
|
||||
await page.goto('http://127.0.0.1:5173/connections',{waitUntil:'networkidle'});
|
||||
const dialog=page.getByRole('dialog',{name:'工作流说明'});
|
||||
const fixedCard=dialog.locator('.card').filter({has:page.getByText('固定版本参数说明',{exact:true})});
|
||||
async function begin(name){const row=page.locator('.wf-row').filter({has:page.locator('.wf-name').filter({hasText:name})}).first();const button=row.getByRole('button',{name:'说明',exact:true});await button.focus();await page.keyboard.press('Enter');return button;}
|
||||
async function loaded(){await dialog.getByText('用途与来源',{exact:true}).waitFor();await dialog.evaluate(el=>Promise.all(el.getAnimations().map(a=>a.finished)));}
|
||||
for(const width of [1440,390]){
|
||||
await page.setViewportSize({width,height:width===390?844:1000});
|
||||
for(const d of details){
|
||||
group=details.indexOf(d)<1?'new_llama':'old_thirty_eight';const b=d.doc_json.fixed_version,button=await begin(d.name);await loaded();
|
||||
const overview=dialog.locator('.card').filter({has:page.getByText('用途与来源',{exact:true})});
|
||||
check((await overview.innerText()).includes(b.user_overview),`${width} ${d.name}默认中文用途`);
|
||||
check(!(await dialog.getByText('源图与审校记录',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}源审校默认折叠`);
|
||||
check(!(await dialog.getByText('核对范围与来源依据',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}技术范围默认折叠`);
|
||||
const visible=await fixedCard.innerText();
|
||||
check(!visible.includes('执行标量')&&!visible.includes('widgetId')&&!visible.includes(b.source_sha256)&&!visible.includes('UUID'),`${width} ${d.name}默认无执行计数/实现标识`);
|
||||
check(visible.includes('依据固定版本整理,目标环境与实际效果未核对。'),`${width} ${d.name}默认依据限制可见`);
|
||||
for(const t of ['说明未定稿','未验证实跑','未检查'])check((await dialog.innerText()).includes(t),`${width} ${d.name} ${t}`);
|
||||
check(!d.is_enabled&&!d.doc_completed_at&&!d.exec_verified_at,`${width} ${d.name}停用/时间戳空`);
|
||||
check(await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===b.fields.length,`${width} ${d.name}参数全保留`);
|
||||
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${d.name}默认无溢出`);
|
||||
await dialog.locator('.drawer-body').evaluate(el=>el.scrollTop=0);
|
||||
if(details.indexOf(d)<1)await page.screenshot({path:`${out}/${width}-${d.id}-default.png`});
|
||||
if(details.indexOf(d)>0){await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}旧图归还焦点`);continue;}
|
||||
await dialog.getByText('源图与审校记录',{exact:true}).click();
|
||||
check((await overview.innerText()).includes(d.doc_json.purpose)&&(await overview.innerText()).includes(d.source_repo_path),`${width} ${d.name}原用途/源路径展开保留`);
|
||||
await dialog.getByText('核对范围与来源依据',{exact:true}).click();
|
||||
const flowText=await fixedCard.innerText();check(flowText.includes('被连线覆盖 1 项')&&flowText.includes('仅前端控制 1 项'),`${width}准确覆盖与前端位置计数`);
|
||||
for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`);
|
||||
if(width===1440){await fixedCard.getByText(b.flow[2],{exact:true}).evaluate(el=>el.scrollIntoView({block:'center'}));await page.screenshot({path:`${out}/${width}-${d.id}-branch-flow.png`});}
|
||||
await dialog.getByText('版本、源图与连线依据',{exact:true}).click();
|
||||
check((await fixedCard.innerText()).includes(b.source_sha256)&&b.versions.every(v=>(v&&true)),`${width} ${d.name}原件摘要可展开`);
|
||||
const versionText=await fixedCard.innerText();
|
||||
for(const v of b.versions)check(versionText.includes(v),`${width} ${d.name}版本 ${b.versions.indexOf(v)}`);
|
||||
if(details.indexOf(d)<1){
|
||||
for(const f of b.fields){
|
||||
const summary=fixedCard.locator(`details[data-fixed-field="${f.pointer}"] > summary`);await summary.focus();await page.keyboard.press('Enter');const box=summary.locator('..');
|
||||
check(await box.evaluate(el=>el.open),`${width} ${f.node_id}.${f.field}键盘展开`);
|
||||
let text=await box.innerText();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.named_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(f.node_id==='5'&&f.field==='presence_penalty')await page.screenshot({path:`${out}/${width}-${d.id}-fixed-sources-corrected.png`});
|
||||
if(f.field==='history_text')await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});
|
||||
await summary.click();
|
||||
}
|
||||
for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);if(width===390){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-${n.node_id}-note.png`});}await summary.click();}
|
||||
await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`);
|
||||
}
|
||||
await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}关闭归还焦点`);
|
||||
}
|
||||
}
|
||||
group='shared_regressions';
|
||||
for(const name of ['旧工作流回退(隔离测试夹具)','空说明回退(隔离测试夹具)']){await begin(name);await loaded();check((await dialog.innerText()).includes('隔离库旧条目回退测试'),'旧/空说明回退 '+name);await page.keyboard.press('Escape');}
|
||||
// Missing summary and mismatched bindings are tested with local GET fixtures, without writes.
|
||||
for(const variant of ['missing-overview','mismatched','html-summary']){
|
||||
const d=structuredClone(details[0]);
|
||||
if(variant==='missing-overview')delete d.doc_json.fixed_version.user_overview;
|
||||
if(variant==='mismatched')d.doc_json.fixed_version={matched:false,notice:'固定版本参数说明待核对:源文件、声明版本或说明依据未匹配,未采用旧定义。'};
|
||||
if(variant==='html-summary')d.doc_json.fixed_version.user_overview='<img src="https://example.invalid/forbidden">仅纯文本';
|
||||
await page.route(`**/api/workflows/${d.id}`,route=>{interceptions.push({variant,url:route.request().url()});return route.fulfill({json:d});});await begin(d.name);await loaded();
|
||||
if(variant==='missing-overview')check((await dialog.innerText()).includes('这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。'),'缺摘要自然中文回退');
|
||||
if(variant==='mismatched')check((await dialog.innerText()).includes(d.doc_json.fixed_version.notice)&&!await dialog.getByText('核对范围与来源依据',{exact:true}).count(),'错绑定提示明确且不展示旧字段');
|
||||
if(variant==='html-summary')check((await dialog.innerText()).includes(d.doc_json.fixed_version.user_overview)&&await dialog.locator('img').count()===0,'摘要HTML仅纯文本不创建图像或请求');
|
||||
check(!(await dialog.innerText()).includes('undefined'),'回退不暴露undefined');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${d.id}`);
|
||||
}
|
||||
let release,entered,delivered;const hold=new Promise(r=>release=r),intercept=new Promise(r=>entered=r),done=new Promise(r=>delivered=r);
|
||||
await page.route(`**/api/workflows/${details[0].id}`,async route=>{interceptions.push({variant:"late",url:route.request().url()});entered();await hold;await route.fulfill({json:details[0]});delivered();});
|
||||
await begin(details[0].name);await intercept;await page.keyboard.press('Escape');await begin(details[1].name);await loaded();release();await done;
|
||||
check((await dialog.innerText()).includes(details[1].doc_json.fixed_version.user_overview)&&await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===details[1].doc_json.fixed_version.fields.length,'迟到Llama响应不覆盖旧MoGe摘要/67字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`);
|
||||
await page.route(`**/api/workflows/${details[0].id}`,route=>{interceptions.push({variant:'failure',url:route.request().url()});return route.fulfill({status:500,json:{detail:'隔离失败夹具'}});});await begin(details[0].name);await dialog.getByRole('alert').waitFor({timeout:20000});check(await dialog.getByRole('button',{name:'重试',exact:true}).isVisible(),'GET失败显示重试');check(await dialog.getByText('用途与来源',{exact:true}).count()===0,'读取失败隐藏旧摘要');await page.unroute(`**/api/workflows/${details[0].id}`);await dialog.getByRole('button',{name:'重试',exact:true}).click();await loaded();check((await dialog.innerText()).includes(details[0].doc_json.fixed_version.user_overview),'重试恢复摘要');await page.keyboard.press('Escape');
|
||||
check(errors.length===0,'无脚本错误或禁止请求 '+JSON.stringify(errors));check(requests.every(r=>r.method==='GET'&&new URL(r.url).hostname==='127.0.0.1'&&!r.url.includes('/api/view')),'全程本地GET无写/生成/目标/历史预览请求');
|
||||
const polling=requests.filter(r=>['/api/jobs','/api/events'].includes(new URL(r.url).pathname));
|
||||
const fixed=requests.filter(r=>!polling.includes(r));
|
||||
const frequencies=rs=>Object.fromEntries([...new Set(rs.map(r=>new URL(r.url).pathname))].sort().map(p=>[p,rs.filter(r=>new URL(r.url).pathname===p).length]));
|
||||
fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({request_accounting:{fixed_count:fixed.length,fixed_paths:frequencies(fixed),polling_count:polling.length,polling_paths:frequencies(polling),polling_tolerance:1,reason:'定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。'},assertion_count:checks.length,assertionGroups,interceptions,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2));
|
||||
} finally {await browser.close();}
|
||||
@@ -0,0 +1,95 @@
|
||||
"""Foreground local browser check; stop every owned service before returning."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
OUT = ROOT / ".local-evidence/llama-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 = ["llama"]
|
||||
for name in names:
|
||||
subprocess.run(["node", f"e2e/{name}-document.mjs"], cwd=ROOT, check=True)
|
||||
finally:
|
||||
for p in processes:
|
||||
if p.poll() is None:
|
||||
os.killpg(p.pid, signal.SIGTERM)
|
||||
try:
|
||||
p.wait(timeout=10)
|
||||
except subprocess.TimeoutExpired:
|
||||
os.killpg(p.pid, signal.SIGKILL)
|
||||
p.wait(timeout=5)
|
||||
for log in logs:
|
||||
log.close()
|
||||
import json
|
||||
|
||||
released = []
|
||||
for port in (8247, 5173):
|
||||
with socket.socket() as sock:
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
sock.bind(("127.0.0.1", port))
|
||||
released.append(port)
|
||||
(OUT / "service-stop.json").write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"ports_released": released,
|
||||
"child_exit_codes": [p.returncode for p in processes],
|
||||
}
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("All owned browser services stopped; ports released.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user