Source: factory.conversation/ObjConversationTui.py
Rich TUI conversation engine for
interactive terminal testing.
| Method | Signature | Description |
|---|---|---|
| transmit_message | transmit_message(message: str) -> None |
Displays a message in a styled panel. |
| display_context | display_context(opts: dict) -> None |
Renders conversation context as a |
| display_options | display_options(opts: dict) -> tuple[str, str] |
Renders page options as styled Rich |
TUI broker stub.
| Method | Signature | Description |
|---|---|---|
| connect | connect() -> None |
|
| subscribe | subscribe() -> None |
|
| run | run() -> None |
Renders the header bar with bot icon,
conversation code, and contact ID.
Renders the context panel showing page
number, contact, and input field state.
| Method | Signature | Description |
|---|---|---|
| update | update(page_no: str, contact: str, fields: list[tuple[str, str]]) -> None |
Renders the main conversation content
area with header text, options, prompts,
and overlay panels for help/error.
| Method | Signature | Description |
|---|---|---|
| update_from_state | update_from_state(header_text: str, ai_note: str, options: list[tuple[str, str]], prompts: list[tuple[str, str]], page_no: str, code: str) -> None |
|
| set_error | set_error(msg: str) -> None |
|
| set_info | set_info(msg: str) -> None |
|
| set_help | set_help(show: bool) -> None |
Renders the footer bar with keyboard
commands, current page indicator, and an
inline command input line.
| Method | Signature | Description |
|---|---|---|
| update | update(mode: str, prompt_label: str, page_no: str, lang: str = '', hints: dict[str, str] | None = None) -> None |
|
| set_input | set_input(buf: str) -> None |
Axion TUI Conversation Tester.
Interactive fullscreen TUI conversation
Test the conversation journey.
Flush the in-process conversation cache.
Check language coverage for a conversation.