Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64ace2c933 | ||
|
|
318201cb4e | ||
|
|
143058b91b | ||
|
|
8f633400c8 | ||
|
|
ab177722be | ||
|
|
db3ab8b112 | ||
|
|
614b690fc5 | ||
|
|
8aca1a39b4 |
@@ -0,0 +1,24 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
# if this is a forked repository. Skipping the workflow.
|
||||
if: github.event.repository.fork == false
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
+1
-1
@@ -68,7 +68,7 @@ class WTFDebugNode:
|
||||
except Exception as e:
|
||||
info["shape"] = str(e)
|
||||
|
||||
info["value"] = str(item) if item != None else None
|
||||
info["value"] = str(item) if item is not None else None
|
||||
out.append(info)
|
||||
|
||||
return { "ui": { "items": out, "length": [len(anything)] } }
|
||||
|
||||
@@ -23,6 +23,13 @@ app.registerExtension({
|
||||
name: "WTFDebugNode",
|
||||
async beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name === "WTFDebugNode") {
|
||||
const origOnConnectionsChange = nodeType.prototype.onConnectionsChange
|
||||
nodeType.prototype.onConnectionsChange = function (type, slotIndex, isConnected, link, ioSlot) {
|
||||
origOnConnectionsChange?.apply(this, arguments)
|
||||
|
||||
if (isConnected && link?.type === "*")
|
||||
link.type = this.graph.getNodeById(link.origin_id)?.outputs?.[link.origin_slot]?.type
|
||||
}
|
||||
|
||||
const origOnExecuted = nodeType.prototype.onExecuted;
|
||||
nodeType.prototype.onExecuted = function (message) {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[project]
|
||||
name = "debugnode-comfyui"
|
||||
description = "This node provides a simple way to view the output of many nodes, without leaving ComfyUI."
|
||||
version = "1.1.0"
|
||||
license = {file = "LICENSE"}
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/webfiltered/DebugNode-ComfyUI"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "filtered"
|
||||
DisplayName = "DebugNode-ComfyUI"
|
||||
Icon = ""
|
||||
Reference in New Issue
Block a user