Files
f2027a89f8 feat(config)!: trim Configuration inputs and rewrite tooltips (#150)
Remove settings the user should not have to touch, and make every tooltip
plain-language:

- knowledge_base path: removed; the Knowledge Base ships in the package, so the
  path is fixed rather than a prompted input.
- prompt_target: removed (reserved; to be replaced in V3).
- prompt_separator: removed; always ',' this version. Both keep their compiler
  defaults, just no longer exposed as node inputs.
- analyzer_system_prompt (Configuration) and system_prompt (Scene Analyzer):
  removed. A user-authored system prompt is not UX-friendly; the built-in analyzer
  prompt is always used.
- Rewrite all node tooltips in plain language reflecting the current nodes.

Example workflow and node tests updated; docs/nodes.md refreshed.

BREAKING CHANGE: the Configuration node's knowledge_base, prompt_target,
prompt_separator, and analyzer_system_prompt inputs and the Scene Analyzer's
system_prompt input are removed.

Co-authored-by: kunail0804 <kunail0804@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 17:37:28 +02:00

105 lines
3.5 KiB
JSON

{
"last_node_id": 5,
"last_link_id": 6,
"nodes": [
{
"id": 1,
"type": "SceneCompilerConfiguration",
"pos": [40, 40],
"size": [300, 600],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "config", "type": "COMPILER_CONFIG", "links": [1, 2, 3], "slot_index": 0 },
{ "name": "knowledge_base", "type": "KNOWLEDGE_BASE", "links": [4], "slot_index": 1 },
{ "name": "warnings", "type": "STRING", "links": null, "slot_index": 2 },
{ "name": "errors", "type": "STRING", "links": null, "slot_index": 3 }
],
"properties": { "Node name for S&R": "SceneCompilerConfiguration" },
"widgets_values": [
"llama3", 0.0, 3, 300, true, true, true, 8, false, false, true, false, "basic",
"", false, 0.5, "char_ngram", 0
]
},
{
"id": 3,
"type": "SceneCompilerAnalyzer",
"pos": [380, 40],
"size": [340, 200],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{ "name": "config", "type": "COMPILER_CONFIG", "link": 3 }
],
"outputs": [
{ "name": "scene", "type": "SCENE", "links": [5], "slot_index": 0 },
{ "name": "warnings", "type": "STRING", "links": null, "slot_index": 1 },
{ "name": "errors", "type": "STRING", "links": null, "slot_index": 2 },
{ "name": "raw", "type": "STRING", "links": null, "slot_index": 3 }
],
"properties": { "Node name for S&R": "SceneCompilerAnalyzer" },
"widgets_values": [
"A blonde girl wearing a dress smiles in a classroom at sunset."
]
},
{
"id": 4,
"type": "SceneCompilerValidator",
"pos": [760, 40],
"size": [280, 120],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{ "name": "scene", "type": "SCENE", "link": 5 },
{ "name": "config", "type": "COMPILER_CONFIG", "link": 1 }
],
"outputs": [
{ "name": "scene", "type": "SCENE", "links": [6], "slot_index": 0 },
{ "name": "warnings", "type": "STRING", "links": null, "slot_index": 1 },
{ "name": "errors", "type": "STRING", "links": null, "slot_index": 2 },
{ "name": "raw", "type": "STRING", "links": null, "slot_index": 3 }
],
"properties": { "Node name for S&R": "SceneCompilerValidator" },
"widgets_values": []
},
{
"id": 5,
"type": "SceneCompilerResolver",
"pos": [1060, 40],
"size": [300, 160],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{ "name": "scene", "type": "SCENE", "link": 6 },
{ "name": "knowledge_base", "type": "KNOWLEDGE_BASE", "link": 4 },
{ "name": "config", "type": "COMPILER_CONFIG", "link": 2 }
],
"outputs": [
{ "name": "prompt", "type": "STRING", "links": null, "slot_index": 0 },
{ "name": "warnings", "type": "STRING", "links": null, "slot_index": 1 },
{ "name": "errors", "type": "STRING", "links": null, "slot_index": 2 },
{ "name": "json", "type": "STRING", "links": null, "slot_index": 3 }
],
"properties": { "Node name for S&R": "SceneCompilerResolver" },
"widgets_values": []
}
],
"links": [
[1, 1, 0, 4, 1, "COMPILER_CONFIG"],
[2, 1, 0, 5, 2, "COMPILER_CONFIG"],
[3, 1, 0, 3, 0, "COMPILER_CONFIG"],
[4, 1, 1, 5, 1, "KNOWLEDGE_BASE"],
[5, 3, 0, 4, 0, "SCENE"],
[6, 4, 0, 5, 0, "SCENE"]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}