5 Commits
Author SHA1 Message Date
Michael Wolfe 41b72c45a8 Version bump 2025-09-15 16:35:31 -04:00
ttrebuchon 0fdd9276ac TRIAGE: Comment out proxy code in StableWildcard.js
(Minimal triage to allow the nodepack to be usable again, proxy behavior still needs to be fixed for long term behavior)
2025-09-15 16:33:43 -04:00
snomiao ab02676118 chore(publish): update workflow for node publishing with permissions and conditional execution 2025-03-17 13:53:33 -04:00
Michael Wolfe 3c2412952f Update pyproject.toml
Version bump
2024-08-12 14:57:47 -04:00
snomiao 7c831e17dd chore(licence-update): Update PyProject Toml - License 2024-08-12 12:23:50 -04:00
3 changed files with 32 additions and 23 deletions
+6 -2
View File
@@ -7,15 +7,19 @@ on:
paths: paths:
- "pyproject.toml" - "pyproject.toml"
permissions:
issues: write
jobs: jobs:
publish-node: publish-node:
name: Publish Custom Node to registry name: Publish Custom Node to registry
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'DigitalIO' }}
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Publish Custom Node - name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main uses: Comfy-Org/publish-node-action@v1
with: with:
## Add your own personal access token to your Github Repository secrets and reference it here. ## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+24 -19
View File
@@ -70,30 +70,35 @@ function stableWildcardNodeCreated(node, app) {
false false
); );
// TRIAGE: The below code was commented out due to breaking fundamental behavior
// in ComfyUI in later versions.
// Fixing/finding an alternative to the proxy will be necessary in order to
// re-enable updating the node title.
// The seed widget does not offer a change callback. // The seed widget does not offer a change callback.
// Instead proxy the widget and hook the set function // Instead proxy the widget and hook the set function
node.widgets[1] = new Proxy(node.widgets[1], { // node.widgets[1] = new Proxy(node.widgets[1], {
set(target, p, newValue, receiver) { // set(target, p, newValue, receiver) {
// We are now responsible for all updates // // We are now responsible for all updates
target[p] = newValue; // target[p] = newValue;
// If the property updated was the value (thats the seed we care about) // // If the property updated was the value (thats the seed we care about)
if (p === 'value') { // if (p === 'value') {
// Using the UI slider to change the seed can call this function // // Using the UI slider to change the seed can call this function
// hundreds of times per second. We don't want to send a server request for // // hundreds of times per second. We don't want to send a server request for
// every update, so only update once the value has stoped changing // // every update, so only update once the value has stoped changing
if (lastCall) { // if (lastCall) {
clearTimeout(lastCall); // clearTimeout(lastCall);
} // }
lastCall = setTimeout(updateTitle.bind(null, node), 250); // lastCall = setTimeout(updateTitle.bind(null, node), 250);
} // }
// Return true for no issues // // Return true for no issues
return true; // return true;
} // }
}); // });
} }
// Create the Stable Wildcard extension // Create the Stable Wildcard extension
@@ -114,4 +119,4 @@ const StableWildcardsExtension = {
} }
// Register app // Register app
app.registerExtension(StableWildcardsExtension); app.registerExtension(StableWildcardsExtension);
+2 -2
View File
@@ -1,8 +1,8 @@
[project] [project]
name = "comfyui-stable-wildcards" name = "comfyui-stable-wildcards"
description = "Wildcard implementation that can be reproduced with workflows." description = "Wildcard implementation that can be reproduced with workflows."
version = "1.1.1" version = "1.1.3"
license = "MIT" license = { text = "MIT License" }
[project.urls] [project.urls]
Repository = "https://github.com/DigitalIO/ComfyUI-stable-wildcards" Repository = "https://github.com/DigitalIO/ComfyUI-stable-wildcards"