187 Commits
Author SHA1 Message Date
PozzettiAndrea 6a1b995616 comfy-env-root.toml: [node_reqs] is now [node_packs]
The section never held nodes -- every entry is a whole pack repo. Read
literally, `[node_reqs]` says "the requirements of my node", which is pip
packages, and that section genuinely exists one file over as [dependencies]
in comfy-env.toml. `[node_packs]` names the unit and sits parallel to the
existing [cuda_packages].

Requires comfy-env >= 0.4.27, which renames the key with no shim: the root
file has a closed schema, so an old comfy-env rejects [node_packs] by name
and a new one rejects [node_reqs] by name. Neither fails silently.
2026-08-24 15:48:51 +02:00
PozzettiAndrea 49bd84c3ac Drop the dead WEB_DIRECTORY: pyproject is the single web declaration
The frontend directory is declared once, in pyproject.toml as
`[tool.comfy] web = "javascript"`. This `WEB_DIRECTORY = "./web"` pointed at
a directory that no longer exists -- it was left behind when the JS moved to
javascript/ -- so it is dead today. It is also a trap.

ComfyUI registers the web folder in TWO independent code paths, and they key
the same dict differently (nodes.py):

    pyproject [tool.comfy] web  ->  EXTENSION_WEB_DIRS[project.name]   (:2280)
    WEB_DIRECTORY               ->  EXTENSION_WEB_DIRS[module_name]    (:2289)

They are separate `if` blocks guarded by os.path.isdir(), not a fallback
chain, and project.name is rarely the directory name. So the moment a `web/`
directory exists again -- a revert, a merge, a stray file -- BOTH paths
register the same folder under two different keys. GET /extensions then lists
every file twice, the browser imports each twice, and app.registerExtension
runs twice with the same name: the collision the javascript test level exists
to catch, and invisible to it, because the duplication is in registration
rather than in source.

Removing the stale declaration makes that unreachable instead of dormant.
2026-08-24 15:31:59 +02:00
PozzettiAndrea 7947ff3f23 Vendor viewer JS, drop comfy-3d-viewers
Vendor the viewer JavaScript into javascript/ and drop the
comfy-3d-viewers dependency. The viewers were previously copied into web/ at
every startup by prestartup_script.py, which made the served frontend depend on
a second package resolving at runtime.

Bundles are vendored as .mjs so ComfyUI's **/*.js auto-import glob skips them:
they are iframe-only and must never enter the shared main browser realm. Only
the widget entry points stay .js.

Also replace comfy_env.copy_files with a local helper. Its two extra features
(frame-derived source dir, silent no-op on a missing source) were unused here,
and the asset seeding now resolves the input directory through
folder_paths.get_input_directory() so it follows ComfyUI Desktop and
--input-directory instead of writing into the code tree.

comfy-test.toml moves to the current schema: [test.workflows] cuda (there is no
"gpu" key -- the accelerator is named by backend, and the old spelling parsed to
an empty list, so CUDA runners silently ran the full unfiltered set), an
explicit [test.platforms] platforms allowlist (per-platform booleans are no
longer supported), and the javascript level.

DisplayName becomes "DepthAnythingV3": the namespace enforced on
registerExtension names is derived from it, and the space in "Depth Anything
V3" made that prefix invalid.

Delete the 21 loose js/viewer/*.js modules -- they are already inside
viewer-bundle-vtk.mjs, so shipping them loose leaked the whole viewer into the
shared realm.
2026-08-22 19:44:03 +02:00
PozzettiAndrea 662e583d47 camera updoot 2026-08-01 15:23:29 +02:00
PozzettiAndrea b22676b364 add comfy-kitchen dep 2026-07-31 16:40:02 +02:00
PozzettiAndrea 64fac1a979 add comfy-kitchen 2026-07-27 15:06:31 +02:00
PozzettiAndrea 83b51e547a bump 2026-05-19 17:51:42 +02:00
PozzettiAndrea 8469f08ab3 docs: warn about experimental comfy-env install in README + pyproject 2026-05-16 21:38:25 +02:00
PozzettiAndrea a48aaabdf1 trigger ci (comfy-test v0.3.103) 2026-05-15 11:00:29 +02:00
PozzettiAndrea 429073748d comfy-env 0.3.89 2026-05-15 08:54:19 +02:00
PozzettiAndrea 9d826c55f4 comfy-env 0.3.88 2026-05-15 07:16:45 +02:00
PozzettiAndrea 3eb5a1891d bump 2026-05-14 14:26:12 +02:00
PozzettiAndrea 4cdef59126 bump 2026-05-13 12:57:51 +02:00
PozzettiAndrea 7bb6102cf8 add transformers 2026-05-13 10:19:26 +02:00
PozzettiAndrea 05ffa7b7d8 comfy-env 0.3.87 2026-05-13 09:46:58 +02:00
PozzettiAndrea c7295d6202 bump comfy-env to 0.3.84 2026-05-11 12:07:25 +02:00
PozzettiAndrea 76f8ffaa92 icon 2026-05-11 10:57:31 +02:00
PozzettiAndrea fedfc333a9 bump 2026-05-11 01:58:20 +02:00
PozzettiAndrea fd82c847b2 bump 2026-05-10 23:35:33 +02:00
PozzettiAndrea 79859243ac bump 2026-05-10 23:03:56 +02:00
PozzettiAndrea 8323d01063 aimdo 2026-05-10 22:43:25 +02:00
PozzettiAndrea e78cd0234f add av 2026-05-10 22:36:25 +02:00
PozzettiAndrea bff4d1a62b bump 2026-05-10 22:26:17 +02:00
PozzettiAndrea a20d4019a0 ping 2026-05-10 15:11:37 +02:00
PozzettiAndreaandClaude Opus 4.7 7596b822a7 nodes_3d / nodes_multiview: warn instead of error on "looks normalized" heuristic
Three sites raised ValueError when max_depth landed in [0.95, 1.05],
on the assumption that values that close to 1.0 mean the depth was
normalized (and the geometric pipeline needs raw/metric depth).

The heuristic produces false positives on Apple Silicon CPU: the model
sometimes outputs raw depth with max=1.0302 there, where the same model
on x86 CPU produces values clearly outside the band. Result: macos-cpu
CI fails 1/4 workflows while linux-cpu / windows-cpu / windows-portable-cpu
all pass 4/4.

Demote raise -> logger.warning so the workflow continues. The downstream
pipeline tolerates non-metric depth (the result just isn't physically
scaled); blocking on a heuristic that flakes by platform isn't worth it.
Users still see the warning, can flip allow_around_1=True to silence,
or rewire to normalization_mode='Raw' if they actually wanted metric.

Sites patched:
- nodes_3d.py:197 — DepthAnythingV3_PointCloud
- nodes_3d.py:982 — DepthAnythingV3_Mesh
- nodes_multiview.py:689 — DepthAnythingV3_MultiViewPointCloud

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 11:10:02 +02:00
PozzettiAndrea 1a25712cb7 bump version 2026-05-10 03:25:18 +02:00
PozzettiAndrea 632955fd47 bump version 2026-05-09 18:07:51 +02:00
PozzettiAndrea 64eace9430 bump comfy env 2026-05-09 15:20:54 +02:00
PozzettiAndrea 7eab6f4444 bump comfy env 2026-05-09 13:18:39 +02:00
PozzettiAndrea 02766cba74 bump comfy env 2026-05-09 11:42:38 +02:00
comfy-gpu-ci 585f3effd7 Show download progress in ComfyUI UI
Add _comfy_tqdm() bridge so hf_hub_download/snapshot_download
progress shows in ComfyUI's progress bar instead of only in
the terminal.
2026-05-08 15:36:22 +02:00
PozzettiAndrea 1e9e6f6875 update install instructions 2026-05-08 14:06:45 +02:00
PozzettiAndrea 4d080f2a62 bump version and comfy env 2026-05-08 12:43:13 +02:00
PozzettiAndrea 7c2f1d38de bump version 2026-05-08 05:29:26 +02:00
PozzettiAndrea 37ba39d42e bump comfy env 2026-05-08 05:25:11 +02:00
PozzettiAndrea f9aae4b5aa bump version 2026-05-08 03:18:43 +02:00
PozzettiAndrea 309fea569b bump comfy env 2026-05-08 02:47:36 +02:00
PozzettiAndrea 73753f75a1 bump version 2026-05-07 22:17:04 +02:00
PozzettiAndrea e7586dadb3 bump comfy env 2026-05-07 22:14:50 +02:00
PozzettiAndrea 0ae434b77c add desktop platforms to comfy-test 2026-05-07 22:05:14 +02:00
PozzettiAndrea be560b6ae9 bump comfy-3d-viewers 2026-05-07 19:23:33 +02:00
PozzettiAndrea 0c8e9d68f7 bump comfy env 2026-05-07 17:36:18 +02:00
PozzettiAndrea 0910662da7 bump version 2026-05-07 16:48:35 +02:00
PozzettiAndrea 8ddd9b20a6 bump comfy env 2026-05-07 12:54:41 +02:00
Andrea Pozzetti ad55e11966 Update pyproject.toml 2026-05-07 12:13:17 +02:00
PozzettiAndrea 62b70d445e bump comfy env 2026-05-07 11:19:43 +02:00
PozzettiAndrea 7b6df4dce7 bump comfy env 2026-05-07 10:34:49 +02:00
PozzettiAndrea 5aca48e8dc bump 2026-05-05 22:32:16 +02:00
PozzettiAndrea e1630a460f bump 2026-05-05 21:52:37 +02:00
PozzettiAndrea 541d976678 bump 2026-05-05 21:35:02 +02:00