Module ui

Module ui 

Source
Expand description

Terminal UI module for agent interactions

Provides a rich terminal UI experience with Syncable’s brand colors:

  • Beautiful response formatting with markdown rendering
  • Real-time streaming response display
  • Visible tool call execution with status indicators
  • Animated progress bar with token counter during generation
  • Thinking/reasoning indicators
  • Elapsed time tracking
  • Interactive tool confirmation prompts
  • Diff rendering for file changes
  • ANSI scroll regions for split layout (output + fixed input)

Re-exports§

pub use autocomplete::*;
pub use colors::*;
pub use confirmation::*;
pub use diff::*;
pub use hadolint_display::*;
pub use helmlint_display::*;
pub use hooks::*;
pub use input::*;
pub use kubelint_display::*;
pub use layout::*;
pub use plan_menu::*;
pub use progress::*;
pub use prometheus_display::*;
pub use response::*;
pub use shell_output::*;
pub use spinner::*;
pub use streaming::*;
pub use tool_display::*;

Modules§

autocomplete
Autocomplete support for slash commands and file references using inquire
colors
Color theme and styling utilities for terminal UI
confirmation
Interactive confirmation UI for shell commands and file operations
diff
Diff rendering for file change confirmation
hadolint_display
Hadolint result display for terminal output
helmlint_display
Helmlint result display for terminal output
hooks
Rig PromptHook implementations for Claude Code style UI
input
Custom input handler with Claude Code-style @ file picker
kubelint_display
Kubelint result display for terminal output
layout
Terminal layout with ANSI scrolling regions
plan_menu
Interactive menu for post-plan actions
progress
Generation progress indicator - Claude Code style
prometheus_display
Prometheus Discovery & Connection Display
response
Beautiful response formatting for AI outputs
shell_output
Streaming shell output display
spinner
Animated spinner for terminal UI
streaming
Streaming response display for real-time AI output
tool_display
Tool call display for visible tool execution feedback