class

CrystalAgent::TerminalUI

Inherits CrystalAgent::UICallback < Reference < Object

Terminal UI for displaying research progress with live updates

Constants

ACTION_ICONS = {WorkerAction::Starting => "◐", WorkerAction::Searching => "🔍", WorkerAction::Fetching => "📄", WorkerAction::Thinking => "💭", WorkerAction::Completed => "✓", WorkerAction::Failed => "✗"}
SPINNER_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]

Constructors

Instance methods

on_complete
Source
on_round_complete(round : Int32)
Source
on_round_start(round : Int32, topic : String, worker_count : Int32)
Source
on_start(query : String)

UICallback implementation

Source
shutdown
Source
start_status_listener

Start listening for worker status updates

Source
status_channel
Source
stop_status_listener

Stop the status listener

Source