HashVaultSave now writes {hash_key}.json (label, timestamps, payload summary) and {hash_key}.thumb.png (256px preview) alongside the .pt, inside the existing FileLock. New optional label input on Save node, does not factor into the hash. DeterministicHashVault bumps last_accessed_at on cache hit (silent no-op for pre-v1.3.0 entries). folder_paths import is tolerant of being outside ComfyUI so the sidecar helpers are reusable from tooling.
tools/migrate_hash_vault.py backfills sidecars for pre-v1.3.0 entries, using file mtime as created_at and "(legacy)" as label.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
377 B
TOML
14 lines
377 B
TOML
[project]
|
|
name = "comfyui-api-optimizer"
|
|
description = "API cost tracking, deterministic hash caching, and lazy execution bypass for cloud API workflows"
|
|
version = "1.3.0"
|
|
license = { file = "LICENSE" }
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/jeremieLouvaert/ComfyUI-API-Optimizer"
|
|
|
|
[tool.comfy]
|
|
PublisherId = "akurate"
|
|
DisplayName = "ComfyUI API Optimizer"
|
|
Icon = ""
|