Skip to main content

Crate cookie_agent_tui

Crate cookie_agent_tui 

Source
Expand description

Ratatui frontend for cookie agent’s versioned JSON-RPC protocol.

Re-exports§

pub use client::Client;
pub use ui::run_with_client;
pub use ui::run_with_new_session;

Modules§

client
TUI adapter for the shared protocol client.
config
Strict, independent TUI configuration (tui.toml).
markdown
Incremental Markdown parsing and direct ratatui span rendering.
state
Disposable UI projections reduced from protocol-10 stored events.
terminal_detect
Startup-only terminal background detection for automatic theme selection.
theme
Semantic terminal themes and capability-aware color quantization.
ui
Ratatui layout composition and UI module wiring.

Enums§

ClientDelivery
The sole ordered delivery stream consumed by the UI.
ClientError
Errors returned by the transport or a JSON-RPC operation.

Traits§

ClientProtocol
Client end of the protocol contract over shared session mechanics.

Functions§

validate_websocket_url
Validates that a URL targets the daemon’s exact loopback WebSocket endpoint.