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§
- Client
Delivery - The sole ordered delivery stream consumed by the UI.
- Client
Error - Errors returned by the transport or a JSON-RPC operation.
Traits§
- Client
Protocol - 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.