From 77a5aac69184374aa1ffeceb4e692bc32b794038 Mon Sep 17 00:00:00 2001 From: XinPeng76 Date: Mon, 13 Jul 2026 13:58:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=A8=E5=86=8CComfyUI=E5=AE=98?= =?UTF-8?q?=E6=96=B9=E8=8A=82=E7=82=B9Registry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加pyproject.toml (PublisherId: hsfhssg) - 添加GitHub Action自动发布到Comfy Registry - 添加.comfyignore排除开发文件 --- .comfyignore | 8 ++++++++ .github/workflows/publish_action.yml | 20 ++++++++++++++++++++ pyproject.toml | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 .comfyignore create mode 100644 .github/workflows/publish_action.yml create mode 100644 pyproject.toml diff --git a/.comfyignore b/.comfyignore new file mode 100644 index 0000000..5f6e18f --- /dev/null +++ b/.comfyignore @@ -0,0 +1,8 @@ +# Development and test files +*.ipynb +*.json +!TJS.json +.gitignore +.gitattributes +__pycache__/ +*.pyc diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml new file mode 100644 index 0000000..be0b02f --- /dev/null +++ b/.github/workflows/publish_action.yml @@ -0,0 +1,20 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@main + with: + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3cdfe9c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "comfyui-tjs" +description = "Truncated Jump Sampling (TJS) - Training-free accelerated generation via endpoint decodability for ComfyUI" +version = "1.0.0" +license = { text = "MIT" } +dependencies = [] + +[project.urls] +Repository = "https://github.com/hdfhssg/ComfyUI_TJS" + +[tool.comfy] +PublisherId = "hsfhssg" +DisplayName = "ComfyUI_TJS - Truncated Jump Sampling" +Icon = "https://raw.githubusercontent.com/hdfhssg/ComfyUI_TJS/main/assets/endpoint_decodability.png"