* feat(nodes): let a link drive the prompt text of every PromptManager node The Focused, Split and Pair editors hide their widgets, and ComfyUI only draws a widget's input socket while the widget is visible. `text` (and the Pair's `negative_text`) therefore had no socket, and a STRING link dropped on the editor fell through to the first free STRING input, `prepend_text`, which is how #342's workflow was wired. - Detach those inputs from their hidden widgets on create and after a workflow load, so they are ordinary sockets in Classic and Nodes 2.0. The schema, widget order and saved values are unchanged. - A STRING link dropped on the editor body fills the main prompt, then the negative, before the frontend's own choice. - Each editor says when its text comes from a link; the typed text is kept for disconnect. The Classic nodes now save the typed text under a link instead of null, and "use prompt" no longer overwrites it while linked. - Real-host tests: mouse drags in both renderers, a workflow saved before this change, and executions proving the linked text is saved, counted, recorded in history and linked to the run's image. Closes #343 * test(coverage): floor for the linked-text module * test(nodes): PromptSearchList text takes a dragged link like a core widget * fix(nodes): linked text review round for #343 - A legacy frontend Primitive linked to an editor's text or the Pair's negative now runs with its value: the graphToPrompt wrapper and the queue hook fill it in (through virtual reroutes), in new and pre-#343 workflows. - Moving a linked text and releasing it on the editor keeps it on `text`: a link being moved counts as free, as the frontend counts it. - A link dropped on a prompt box (or its link note) fills that box's input, so the Pair's Negative prompt box takes `negative_text` (Classic through getInputOnPos, Nodes 2.0 through the box's slot key). - Only exact STRING links are steered; wildcards keep the frontend choice. - A linked Classic text box gives its row back and gets it back on disconnect; the PromptManagerText note uses the theme colour. - The metadata parsers map positional widget values through the widget table when an editor's widget-bound inputs do not line up with it. - Real-host cases for the legacy Primitive (new and saved workflows, a real Run), the moved link, the Negative box, paste/clone/undo and Split. * fix(nodes): resolve a legacy Primitive's text like the host, once per run (#343) - Inputs still bound to their widget (Classic PromptManager/PromptManagerText) are left as the host resolved them; the injection no longer overwrites them. - For the editors' detached text inputs, the Primitive's value goes through its "Run widget replace on values" replacement and the hidden widget's own serializer, so {a|b} wildcards and %date% tokens resolve as on main. - Each queued output is filled once (graphToPrompt wrapper, or the queue hook for an output that did not come through it): a wildcard is drawn once. - Editors inside subgraphs are found under their <subgraph>:<inner> id. - Real-host runPrompt installs its request route before the run starts. - Shared parser case pins the widget-table fallback for a core KSampler. * fix(nodes): pin the Classic wildcard behaviour and match queued ids by type (#343) - Classic PromptManager/PromptManagerText expose _pmTextSerializerReady, settled once their own text serializer is installed; the real-host specs wait on it and assert the Classic text is queued as written, as on main. - The Primitive fill only touches an output entry whose class_type matches the graph node at that id. - TESTING.md notes the host's harmless "Invalid widget" warning per Run.
1242 lines
21 KiB
JSON
1242 lines
21 KiB
JSON
{
|
|
"id": "882efddb-48a1-4dd5-8575-14922103c4b8",
|
|
"revision": 0,
|
|
"last_node_id": 12,
|
|
"last_link_id": 4,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "PromptManager",
|
|
"pos": [
|
|
400,
|
|
100
|
|
],
|
|
"size": [
|
|
600,
|
|
610
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "prepend_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "append_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "PromptManager typed",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManager",
|
|
"resultTimeout": 3,
|
|
"showTestButton": false,
|
|
"webuiDisplayMode": "popup"
|
|
},
|
|
"widgets_values": [
|
|
"Saved PromptManager text",
|
|
"Saved category",
|
|
"saved-tag",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Saved PromptManager text",
|
|
"category": "Saved category",
|
|
"tags": "saved-tag",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_search_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "PromptManagerText",
|
|
"pos": [
|
|
1600,
|
|
100
|
|
],
|
|
"size": [
|
|
600,
|
|
610
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "prepend_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "append_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "PromptManagerText typed",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerText",
|
|
"resultTimeout": 3,
|
|
"showTestButton": false,
|
|
"webuiDisplayMode": "popup"
|
|
},
|
|
"widgets_values": [
|
|
"Saved PromptManagerText text",
|
|
"Saved category",
|
|
"saved-tag",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Saved PromptManagerText text",
|
|
"category": "Saved category",
|
|
"tags": "saved-tag",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_search_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "PromptManagerFocused",
|
|
"pos": [
|
|
2800,
|
|
100
|
|
],
|
|
"size": [
|
|
550,
|
|
650
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "PromptManagerFocused typed",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerFocused",
|
|
"focusedUI": {
|
|
"libraryOpen": false,
|
|
"libraryFilters": {
|
|
"category": "",
|
|
"tags": ""
|
|
},
|
|
"composition": false,
|
|
"metadata": false,
|
|
"preview": false
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Saved PromptManagerFocused text",
|
|
"Saved category",
|
|
"saved-tag",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Saved PromptManagerFocused text",
|
|
"category": "Saved category",
|
|
"tags": "saved-tag",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_focused_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "PromptManagerSplit",
|
|
"pos": [
|
|
4000,
|
|
100
|
|
],
|
|
"size": [
|
|
900,
|
|
650
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "PromptManagerSplit typed",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerSplit",
|
|
"splitUI": {
|
|
"libraryOpen": true,
|
|
"libraryFilters": {
|
|
"category": "",
|
|
"tags": ""
|
|
},
|
|
"composition": false,
|
|
"metadata": false,
|
|
"preview": false
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Saved PromptManagerSplit text",
|
|
"Saved category",
|
|
"saved-tag",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Saved PromptManagerSplit text",
|
|
"category": "Saved category",
|
|
"tags": "saved-tag",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_focused_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "PromptManagerPair",
|
|
"pos": [
|
|
5200,
|
|
100
|
|
],
|
|
"size": [
|
|
1100,
|
|
700
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "negative_text",
|
|
"name": "negative_text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "negative_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "positive",
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "negative",
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "positive_text",
|
|
"name": "positive_text",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "negative_text",
|
|
"name": "negative_text",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "PromptManagerPair typed",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerPair",
|
|
"pairUI": {
|
|
"libraryOpen": true,
|
|
"libraryFilters": {
|
|
"category": "",
|
|
"tags": ""
|
|
},
|
|
"composition": false,
|
|
"metadata": false,
|
|
"preview": false
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Saved PromptManagerPair text",
|
|
"Saved pair negative",
|
|
"Saved category",
|
|
"saved-tag",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Saved PromptManagerPair text",
|
|
"negative_text": "Saved pair negative",
|
|
"category": "Saved category",
|
|
"tags": "saved-tag",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_focused_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "PromptManagerFocused",
|
|
"pos": [
|
|
400,
|
|
1400
|
|
],
|
|
"size": [
|
|
550,
|
|
650
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 1
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Focused linked",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerFocused",
|
|
"focusedUI": {
|
|
"libraryOpen": false,
|
|
"libraryFilters": {
|
|
"category": "",
|
|
"tags": ""
|
|
},
|
|
"composition": false,
|
|
"metadata": false,
|
|
"preview": false
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Typed under focused link",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Typed under focused link",
|
|
"category": "",
|
|
"tags": "",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_focused_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "PrimitiveString",
|
|
"pos": [
|
|
0,
|
|
1400
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "value"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Linked focused text"
|
|
],
|
|
"widgets_values_named": {
|
|
"value": "Linked focused text"
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "PromptManagerPair",
|
|
"pos": [
|
|
1600,
|
|
1400
|
|
],
|
|
"size": [
|
|
1100,
|
|
700
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 2
|
|
},
|
|
{
|
|
"localized_name": "negative_text",
|
|
"name": "negative_text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "negative_text"
|
|
},
|
|
"link": 3
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "positive",
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "negative",
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "positive_text",
|
|
"name": "positive_text",
|
|
"type": "STRING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "negative_text",
|
|
"name": "negative_text",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Pair linked",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManagerPair",
|
|
"pairUI": {
|
|
"libraryOpen": true,
|
|
"libraryFilters": {
|
|
"category": "",
|
|
"tags": ""
|
|
},
|
|
"composition": false,
|
|
"metadata": false,
|
|
"preview": false
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"Typed pair positive",
|
|
"Typed pair negative",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Typed pair positive",
|
|
"negative_text": "Typed pair negative",
|
|
"category": "",
|
|
"tags": "",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_focused_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "PrimitiveString",
|
|
"pos": [
|
|
1200,
|
|
1400
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "value"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
2
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Linked pair text"
|
|
],
|
|
"widgets_values_named": {
|
|
"value": "Linked pair text"
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "PrimitiveString",
|
|
"pos": [
|
|
1200,
|
|
1600
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "value"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
3
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Linked pair negative_text"
|
|
],
|
|
"widgets_values_named": {
|
|
"value": "Linked pair negative_text"
|
|
}
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "PromptManager",
|
|
"pos": [
|
|
3000,
|
|
1400
|
|
],
|
|
"size": [
|
|
600,
|
|
610
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "clip",
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "text",
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "text"
|
|
},
|
|
"link": 4
|
|
},
|
|
{
|
|
"localized_name": "category",
|
|
"name": "category",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "category"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "tags",
|
|
"name": "tags",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "tags"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "search_text",
|
|
"name": "search_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "search_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "prepend_text",
|
|
"name": "prepend_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "prepend_text"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "append_text",
|
|
"name": "append_text",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "append_text"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "CONDITIONING",
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": null
|
|
},
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "Classic linked",
|
|
"properties": {
|
|
"Node name for S&R": "PromptManager",
|
|
"resultTimeout": 3,
|
|
"showTestButton": false,
|
|
"webuiDisplayMode": "popup"
|
|
},
|
|
"widgets_values": [
|
|
null,
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "Typed under classic link",
|
|
"category": "",
|
|
"tags": "",
|
|
"search_text": "",
|
|
"prepend_text": "",
|
|
"append_text": "",
|
|
"prompt_manager_search_ui": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "PrimitiveString",
|
|
"pos": [
|
|
2600,
|
|
1400
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "value",
|
|
"name": "value",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "value"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "STRING",
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Linked classic text"
|
|
],
|
|
"widgets_values_named": {
|
|
"value": "Linked classic text"
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
7,
|
|
0,
|
|
6,
|
|
3,
|
|
"STRING"
|
|
],
|
|
[
|
|
2,
|
|
9,
|
|
0,
|
|
8,
|
|
3,
|
|
"STRING"
|
|
],
|
|
[
|
|
3,
|
|
10,
|
|
0,
|
|
8,
|
|
4,
|
|
"STRING"
|
|
],
|
|
[
|
|
4,
|
|
12,
|
|
0,
|
|
11,
|
|
1,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9,
|
|
"offset": [
|
|
416,
|
|
110
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|