Release V3.8 source, illustrated manual and Spectrum workflow
This commit is contained in:
+47
-40
@@ -8,6 +8,17 @@ import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
EXPECTED_PUBLIC_NODE_DISPLAY_NAMES = {
|
||||
"H3ContinuumSamplerV38": "H3 Continuum Sampler V3.8",
|
||||
"H3ContinuumReferenceAudios": "H3 Continuum Reference Audios",
|
||||
"H3ContinuumAssembleSeamV35": "H3 Continuum Finalize",
|
||||
"H3EasyLoadImage": "H3 Continuum Load Image",
|
||||
"H3EasyLoadAudio": "H3 Continuum Load Audio",
|
||||
"H3ContinuumLoadVideo": "H3 Continuum Load Video",
|
||||
"H3ContinuumSecondPassV35": "H3 Continuum Second Pass",
|
||||
}
|
||||
|
||||
|
||||
def load_package(root: Path):
|
||||
name = "h3_continuum_join_verify"
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
@@ -23,6 +34,35 @@ def load_package(root: Path):
|
||||
return module
|
||||
|
||||
|
||||
def public_registration_issues(module) -> list[str]:
|
||||
"""Return exact public-surface differences for the installed V3.8 package."""
|
||||
|
||||
expected = EXPECTED_PUBLIC_NODE_DISPLAY_NAMES
|
||||
actual_classes = set(getattr(module, "NODE_CLASS_MAPPINGS", {}))
|
||||
expected_classes = set(expected)
|
||||
issues: list[str] = []
|
||||
if actual_classes != expected_classes:
|
||||
missing = sorted(expected_classes - actual_classes)
|
||||
extra = sorted(actual_classes - expected_classes)
|
||||
if missing:
|
||||
issues.append(f"missing public node IDs: {missing}")
|
||||
if extra:
|
||||
issues.append(f"unexpected public node IDs: {extra}")
|
||||
|
||||
actual_names = dict(getattr(module, "NODE_DISPLAY_NAME_MAPPINGS", {}))
|
||||
for node_id, display_name in expected.items():
|
||||
actual_name = actual_names.get(node_id)
|
||||
if actual_name != display_name:
|
||||
issues.append(
|
||||
f"display name mismatch for {node_id}: "
|
||||
f"expected {display_name!r}, got {actual_name!r}"
|
||||
)
|
||||
unexpected_names = sorted(set(actual_names) - expected_classes)
|
||||
if unexpected_names:
|
||||
issues.append(f"unexpected display-name IDs: {unexpected_names}")
|
||||
return issues
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("--comfy-root", type=Path, required=True)
|
||||
@@ -65,47 +105,14 @@ def main() -> int:
|
||||
print(f"V2 prompt/session core self-test FAILED: {exc}")
|
||||
return 1
|
||||
|
||||
current_required = {
|
||||
"H3ContinuumSamplerV34",
|
||||
"H3ContinuumSamplerV35",
|
||||
"H3ContinuumSamplerV36",
|
||||
"H3ContinuumSamplerV37",
|
||||
"H3ContinuumStillImageGuideV37",
|
||||
"H3ContinuumAssembleSeamV34",
|
||||
"H3ContinuumAssembleSeamV35",
|
||||
"H3ContinuumHiResFixV35",
|
||||
"H3ContinuumLatentResizeV35",
|
||||
"H3ContinuumSecondPassV35",
|
||||
"H3ContinuumConditioningBridgeV35",
|
||||
"H3ContinuumClipOverrides",
|
||||
"H3ContinuumResult",
|
||||
}
|
||||
legacy_required = {
|
||||
"H3ContinuumJoin",
|
||||
"H3ContinuumFinish",
|
||||
"H3ContinuumAssemble",
|
||||
"H3ContinuumSaveState",
|
||||
"H3ContinuumLoadState",
|
||||
"H3ContinuumSamplerV2",
|
||||
"H3ContinuumPromptPlanPreview",
|
||||
"H3ContinuumSaveSession",
|
||||
"H3ContinuumLoadSession",
|
||||
"H3ContinuumSessionInfo",
|
||||
"H3ContinuumSampler",
|
||||
"H3ContinuumAdvanced",
|
||||
"H3ContinuumSamplerProduction",
|
||||
"H3ContinuumSamplerTimelineVideo",
|
||||
"H3ContinuumSamplerV3",
|
||||
"H3ContinuumAdvancedV3",
|
||||
"H3ContinuumAssembleV3",
|
||||
"H3ContinuumAssembleSeamExperimental",
|
||||
}
|
||||
expected = current_required | legacy_required
|
||||
actual = set(module.NODE_CLASS_MAPPINGS)
|
||||
if actual != expected:
|
||||
print(f"Node registration mismatch: expected {sorted(expected)}, got {sorted(actual)}")
|
||||
registration_issues = public_registration_issues(module)
|
||||
if registration_issues:
|
||||
print("H3 Continuum V3.8 public-node verification FAILED:")
|
||||
for issue in registration_issues:
|
||||
print(f" - {issue}")
|
||||
return 1
|
||||
print(f"H3 Continuum Join {PACKAGE_VERSION} runtime verification passed.")
|
||||
actual = set(module.NODE_CLASS_MAPPINGS)
|
||||
print(f"H3 Continuum {PACKAGE_VERSION} runtime verification passed.")
|
||||
print(layout_report)
|
||||
print(f"V{PACKAGE_VERSION} Fixed 3x5s prompt-plan self-test passed.")
|
||||
print("Registered nodes:")
|
||||
|
||||
Reference in New Issue
Block a user