9 Commits
Author SHA1 Message Date
jessesepandClaude 61a2c58a3a Back to Python nodes with preview + text input
- SimpleSet/Get use text input (type any name)
- Preview shows on node after execution
- SimpleGet has trigger input for execution order
- SimpleList shows all variables
- SimpleClear clears all

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:30:24 +01:00
jessesepandClaude 1e8bd05938 Hybrid approach: Python stubs + JS virtual override
- Python defines nodes with ANY type so they appear in menus/drag connections
- JS overrides with isVirtualNode for actual graph-redirect behavior
- SimpleSet accepts any input, passes through
- SimpleGet dropdown shows available setter names

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:25:53 +01:00
jessesepandClaude f85f0bbb10 Rename to SimpleSet, SimpleGet, SimpleList, SimpleClear
All nodes in SimpleVariables category:
- SimpleSet: Set a variable by name
- SimpleGet: Get a variable (dropdown shows available names)
- SimpleList: Show all variable names (click Refresh)
- SimpleClear: Clear all variable connections

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:19:37 +01:00
jessesep 79ca91b113 Simplify: rename to SimpleSet/SimpleGet, clean code 2025-12-05 02:17:48 +01:00
jessesep e4f449910e Add debug logging and fix node type paths 2025-12-05 02:15:01 +01:00
jessesepandClaude fef6ef6c2c Fix: capture node reference for dropdown callback
The 'this' context was wrong inside the values callback.
Now uses 'node' reference like KJNodes does.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:12:50 +01:00
jessesepandClaude d2a4ffdd3b Rewrite as pure JavaScript frontend nodes - no trigger needed
- Nodes are now isVirtualNode = true (no Python execution)
- GetVariable uses getInputLink() to redirect to SetVariable's input
- Data flows directly through the graph, no execution order issues
- Get Variable has dropdown showing available variable names
- Node titles update to show variable name (Set: foo, Get: foo)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 02:08:10 +01:00
jessesepandClaude 700ac580cc Fix JS loading - add WEB_DIRECTORY and absolute imports
- Added WEB_DIRECTORY = "./web" to __init__.py (required for ComfyUI to find JS)
- Added __all__ export
- Changed JS imports to absolute paths (/scripts/app.js)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 01:47:35 +01:00
jessesepandClaude ff25769955 Add JavaScript for on-node text display
- Added web/simplevariables.js to handle displaying preview text
- Registers extension that hooks into node execution
- Creates a read-only text widget on the node when executed
- Automatically resizes node to fit content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 01:43:10 +01:00