13 Commits
Author SHA1 Message Date
PozzettiAndrea 1bf4ad49b7 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 3cc4d96d65 updoot 2026-04-16 01:14:58 +02:00
PozzettiAndrea 4ff3fbe409 remove unused server routes that caused CUDA crash on CPU runners
The server.py endpoints (/sam3d/save_glb, /sam3d/export_posed_fbx) were
never called by the frontend. Importing PromptServer at module level
triggered model_management → torch.cuda.current_device() → access
violation on CPU-only machines during instantiation tests.
2026-02-15 16:36:20 +01:00
PozzettiAndrea f02fecc13b leaner init 2026-02-11 22:19:43 +01:00
Andrea Pozzetti c4b7dd8a33 updated comfy env 2026-02-11 22:15:43 +01:00
Andrea Pozzetti 29f8f959c3 new structure 2026-02-11 21:58:43 +01:00
Andrea Pozzetti 3d1bd4f6e5 some refactoring and cleanup 2026-02-11 21:54:43 +01:00
Andrea Pozzetti 6205795722 fixed small bugs 2025-12-09 23:39:11 +01:00
Andrea Pozzetti 36cf8db318 added rigging 2025-11-23 05:58:38 +01:00
Andrea Pozzetti 29178ba468 added licenses 2025-11-23 05:57:38 +01:00
Andrea Pozzetti 10ac864dad tests 2025-11-23 05:46:38 +01:00
Andrea Pozzetti 84a000b355 first draft 2025-11-23 05:43:38 +01:00
Andrea Pozzetti 09135b8072 First draft 2025-11-23 05:42:38 +01:00