Files
talemate/docs/user-guide/node-editor/reference/nodes/agents-editor.md
veguAI 89e01ac138 Node editor node reference glossary (#107) (#111)
* docs: complete node editor node reference glossary (#107) - generated by new nodes.tools glossary subcommand, 47 categorized pages covering all 403 nodes, docstring gap fixes, help-agent docs-index entries

* docs: fix Jinja2 Format discoverability - document dynamic-input template variables, move node to string page, link key inference from dynamic-input notes, strip links from index summaries

* help agent: keep node reference out of the chat prompt - collapse glossary entries to one pointer line (~19k chars saved), agent retrieves node info via search_docs/read_doc tool calls

* help agent: replace in-prompt docs index with find_docs lookup tool - prompt carries a 13-line section overview (~1.5k chars vs ~66k), pages located via keyword-scored find_docs at runtime

* changelog: help agent prompt slimming + find_docs lookup

* docs: sort node reference index and nav alphabetically by page title

* review: move module constants into top-of-file constant blocks (glossary MAX_DEFAULT_LENGTH; docs SECTION_DESCRIPTIONS, _FIND_STOPWORDS, FIND_DOCS_LIMIT)

* review: word-boundary find_docs scoring with plural/-ing folds, find_docs+section_overview unit tests, jinja2 template field description override

* docs: help agent overview no longer claims an in-prompt index of all documentation pages

* docs: full node docstring audit pass - 335 classes audited by 5 agents, ~89 accuracy fixes (nonexistent/misnamed sockets, wrong behavior claims), ~94 expansions, 5 factually-wrong PropertyField descriptions corrected, glossary regenerated
2026-07-20 01:49:33 +03:00

3.2 KiB

Editor Agent Nodes

Clean up user input, narration and character messages through the editor agent's revision passes.

4 nodes.

Node Registry path
Clean Up Character Message agents/editor/CleanUoCharacterMessage
Clean Up Narration agents/editor/CleanUpNarration
Clean Up User Input agents/editor/CleanUpUserInput
Editor Settings agents/editor/Settings

Clean Up Character Message

agents/editor/CleanUoCharacterMessage

Cleans up a character's dialogue text via the editor agent: fixes exposition formatting (per the editor's formatting settings), cleans up stray dialogue from other characters, strips partial sentences and balances quotation marks.

Inputs

Input Type Description
text str The character message text to clean up
character character The character the message belongs to

Outputs

Output Type Description
cleaned_character_message str The cleaned up character message

Properties

Property Type Default Description
force bool False Force clean up

Clean Up Narration

agents/editor/CleanUpNarration

Cleans up narration text via the editor agent, stripping partial sentences and fixing exposition formatting according to the editor's formatting settings (skipped unless the narrator fix-exposition setting is enabled or force is set).

Inputs

Input Type Description
narration str The narration text to clean up

Outputs

Output Type Description
cleaned_narration str The cleaned up narration

Properties

Property Type Default Description
force bool False Force clean up

Clean Up User Input

agents/editor/CleanUpUserInput

Cleans up user input via the editor agent, fixing exposition formatting (quotes for speech, asterisks for narration) according to the editor's formatting settings. Input starting with a command prefix (!, @, /) is never edited, and cleanup is skipped entirely when the editor's fix-user-input setting is disabled - unless force is set.

Inputs

Input Type Description
user_input str The user input text to clean up
as_narration bool Whether to treat the input as narration instead of speech

Outputs

Output Type Description
cleaned_user_input str The cleaned up user input

Properties

Property Type Default Description
force bool False Force clean up

Editor Settings

agents/editor/Settings

Base node to render editor agent settings.

Every setting of the editor agent is exposed as an output socket named after the setting - see the agent's documentation under Agents for what each setting does.