Compatibility Previous location
Previous TUI app links
Preserved historical section links forwarding to the canonical app documentation.
View Markdown source ↗This module’s documentation is consolidated at app.doc.md. These headings preserve earlier links; the canonical page owns the content.
Overview
Section titled “Overview”See the current section.
Event loop and streaming architecture
Section titled “Event loop and streaming architecture”See the current section.
Public API
Section titled “Public API”See the current section.
type prompt_context
Section titled “type prompt_context”See the current section.
type persist_mode
Section titled “type persist_mode”See the current section.
Error placeholders
Section titled “Error placeholders”See the current section.
add_placeholder_stream_error
Section titled “add_placeholder_stream_error”See the current section.
Snapshot persistence
Section titled “Snapshot persistence”See the current section.
persist_snapshot
Section titled “persist_snapshot”See the current section.
Submitting prompts
Section titled “Submitting prompts”See the current section.
apply_local_submit_effects
Section titled “apply_local_submit_effects”See the current section.
handle_submit
Section titled “handle_submit”See the current section.
High-level entry point
Section titled “High-level entry point”See the current section.
run_chat
Section titled “run_chat”See the current section.
Examples
Section titled “Examples”See the current section.
Minimal CLI using run_chat
Section titled “Minimal CLI using run_chat”See the current section.
Custom persistence policy
Section titled “Custom persistence policy”See the current section.
Known issues and limitations
Section titled “Known issues and limitations”See the current section.
Related modules
Section titled “Related modules”See the current section.
Shell runtime integration
Section titled “Shell runtime integration”See the current section.