From 3ffb1d21c3949beaba85cc17ca3f456a59e3e751 Mon Sep 17 00:00:00 2001 From: ethanfel Date: Sun, 28 Jun 2026 13:19:46 +0200 Subject: [PATCH] chore: scaffold comfyui-nodes-agents package --- .gitignore | 4 ++++ pyproject.toml | 10 ++++++++++ requirements.txt | 1 + src/__init__.py | 0 src/bridge/__init__.py | 0 src/nodes/__init__.py | 0 tests/__init__.py | 0 tests/conftest.py | 8 ++++++++ 8 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 pyproject.toml create mode 100644 requirements.txt create mode 100644 src/__init__.py create mode 100644 src/bridge/__init__.py create mode 100644 src/nodes/__init__.py create mode 100644 tests/__init__.py create mode 100644 tests/conftest.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2aa318 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +__pycache__/ +*.pyc +.pytest_cache/ +.comfy_bridge_tmp/ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4f1c98a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,10 @@ +[project] +name = "comfyui-nodes-agents" +version = "0.1.0" +description = "In-graph ComfyUI nodes + MCP bridge for external coding agents (Claude Code / Codex)" +requires-python = ">=3.10" +dependencies = ["mcp>=1.2.0"] + +[tool.pytest.ini_options] +pythonpath = ["."] +testpaths = ["tests"] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a5aa6e2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +mcp>=1.2.0 diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/bridge/__init__.py b/src/bridge/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/nodes/__init__.py b/src/nodes/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..d39d9ed --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,8 @@ +import pytest +from src.bridge.store import ChannelStore + +@pytest.fixture(autouse=True) +def _reset_store(): + ChannelStore.reset() + yield + ChannelStore.reset()