Commit Graph
16 Commits
Author SHA1 Message Date
ethanfelandClaude Opus 4.8 de6c54cd8a feat: COMFY_BRIDGE_MCP_HOST to bind 0.0.0.0 for Docker/remote access
Adds a host bind env var (mirrors the port var) plus a README section on
running ComfyUI in Docker: bind 0.0.0.0, publish the port, point the agent at
the server IP, and handle images via a shared folder with matching paths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 14:51:25 +02:00
ethanfelandClaude Opus 4.8 f80ed87b94 docs: note run_workflow poll is best-effort
Add a comment clarifying the run_workflow history poll returns as soon as
any output node appears, and that the design's upgrade path is the ComfyUI
websocket `executed` event.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 14:00:50 +02:00
ethanfelandClaude Opus 4.8 71aa6b9f5e refactor: use X | None instead of Optional
Switch store.py and workflows.py to the PEP 604 X | None syntax and drop
the now-unused `from typing import Optional`. Pure refactor; no behavior
change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 14:00:32 +02:00
ethanfelandClaude Opus 4.8 339658dd31 chore: drop deprecated Pillow mode= arg
Image.fromarray(arr) infers RGB from the (H,W,3) array shape; the explicit
mode="RGB" is deprecated in Pillow and slated for removal in 13. Clears the
three Pillow DeprecationWarnings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 13:59:51 +02:00
ethanfelandClaude Opus 4.8 aea5ffdd5c feat: age-based GC for temp images
save_tensor_png now reaps img_*.png files older than COMFY_BRIDGE_TMP_TTL
(env, default 3600s) after each write, so .comfy_bridge_tmp/ no longer
grows forever. Robust to races (ignores FileNotFoundError/OSError) and
never deletes the file just written.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 13:59:19 +02:00
ethanfel cd88f9cd10 feat: FastMCP server build + background lifecycle 2026-06-28 13:47:09 +02:00
ethanfel 03d0f49852 feat: SDK-independent MCP tool functions 2026-06-28 13:42:47 +02:00
ethanfel d4a48e00fd feat: thin async submit_prompt + fetch_result 2026-06-28 13:42:13 +02:00
ethanfel 4b0d53811f feat: workflow load + input injection (pure) 2026-06-28 13:41:43 +02:00
ethanfel 376a11663f feat: Agent Receive node (agent->graph) 2026-06-28 13:38:26 +02:00
ethanfel 262a68d62d feat: Agent Emit node (graph->agent) 2026-06-28 13:37:55 +02:00
ethanfel 561d38aff5 feat: tensor<->PNG image helpers 2026-06-28 13:37:21 +02:00
ethanfel 962960f420 feat: ChannelStore.list_channels 2026-06-28 13:21:26 +02:00
ethanfel 1fd72eac0b feat: ChannelStore outbox (agent->graph) with consume + blocking receive 2026-06-28 13:20:55 +02:00
ethanfel 055eedee24 feat: ChannelStore inbox (graph->agent) with emit/pull 2026-06-28 13:20:19 +02:00
ethanfel 3ffb1d21c3 chore: scaffold comfyui-nodes-agents package 2026-06-28 13:19:46 +02:00