Open Millu opened 1 year ago
This will also be helpful when a node author wants to refactor their own common functions across nodes into a different source file.
We'll probably want to refactor the InvocationContext that is provided to nodes, restricting access to services. If we don't do this, then community nodes have full power of users' systems to wreak havoc.
Propose we create a very limited API accessible to nodes. Something like this:
A node should not be able to take any destructive action via the services. Ideally, nodes can't take any destructive action, but I'm not sure how feasible that would be.
Not sure if this is part of the concept (yet) but the ability to enable/disable nodes (separate from installation) would be very nice. Workflow editor's new node list can get extremely long. Per-workflow node activation might be even better for solving this.
Summary
To add a custom node, users currently have to either:
Neither option is as painless as model management
Intended Outcome
nodes
, similar to models