ragrig-gpui 0.2.0

Reusable GPUI components for Ragrig RAG chat, citations, and reference ingestion
Documentation
//! Common imports for hosts of `ragrig-gpui`.
//!
//! ```rust
//! use ragrig_gpui::prelude::*;
//! ```

pub use crate::{
    AgentBar, AgentBarEvent, AgentComponent, Attachment, AttachmentEvent, AttachmentRows,
    ChatMessage, ChatRole, ChatSettings, ChatState, ChatView, ChatViewEvent, ComponentKind,
    ComponentStatus, Composer, ComposerEvent, EmptyState, MessageId, MessageMeta, MessageState,
    NewMessage, SessionEntry, SessionPicker, SessionPickerEvent, SidePanel, SourceRef,
    chat_settings, chat_settings_page,
};

#[cfg(feature = "ragrig")]
pub use crate::rag::{
    AgentInfo, AttachmentSource, ChatProvider, IngestPhase, IngestProgress, LibraryDocument,
    LibrarySnapshot, MemoryChoice, PdfBackend, PendingAttachment, RagChat, RagChatEvent,
    RagCommand, RagController, RagEvent, RagReply, RagSettings, RagSetup, RequestId,
    SciscraperAttach, SessionInfo, SessionTurn, SyncSummary, rag_settings, rag_settings_page,
};

#[cfg(feature = "grobid")]
pub use crate::references::{
    CitationAttachment, ReferenceAction, ReferenceCopy, ReferenceEntry, ReferenceOptions,
    ReferenceProgress, ReferenceReport, ReferenceRow, ReferenceSelection, ReferenceSelectionBar,
    ReferenceStage, keys_text, paths_text,
};