Skip to main content

Module data

Module data 

Source

Structs§

BudgetHealthContract
Data contract for the Budget Health cockpit panel.
CacheStats
Cache statistics for monitoring performance.
CockpitEmptyPolicy
Empty/error-state display policy for cockpit panels.
CockpitState
Aggregated cockpit state holding all panel contracts.
CockpitTimelineEvent
A single event in the cockpit timeline feed.
ConversationCache
Sharded LRU cache for ConversationView to reduce lock contention.
ConversationView
DiffStrategyContract
Data contract for the Diff Strategy cockpit panel.
ResizeRegimeContract
Data contract for the Resize Regime cockpit panel.
TimelineContract
Data contract for the Timeline cockpit panel.

Enums§

CockpitMode
Cockpit display mode controlling overlay sizing behaviour.
CockpitPanel
Panel taxonomy for the explainability cockpit.
InputMode
RankingMode
How search results are ranked and ordered.
TimelineEventSeverity
Severity levels for cockpit timeline events.

Statics§

CONVERSATION_CACHE
Global conversation cache instance.

Functions§

format_time_short
Format a timestamp as a short human-readable date for filter chips. Shows “Nov 25” for same year, “Nov 25, 2023” for other years.
load_conversation
load_conversation_arc
Load a conversation with caching, returning Arc for efficiency.
load_conversation_for_hit
load_conversation_for_source
Load a conversation for a specific source with caching.
log_conversation_cache_stats
Log conversation cache statistics.
role_style