agent.rs

 1pub mod agent_profile;
 2pub mod context;
 3pub mod context_server_tool;
 4pub mod context_store;
 5pub mod history_store;
 6pub mod thread;
 7pub mod thread_store;
 8pub mod tool_use;
 9
10pub use context::{AgentContext, ContextId, ContextLoadResult};
11pub use context_store::ContextStore;
12pub use thread::{
13    LastRestoreCheckpoint, Message, MessageCrease, MessageId, MessageSegment, Thread, ThreadError,
14    ThreadEvent, ThreadFeedback, ThreadId, ThreadSummary, TokenUsageRatio,
15};
16pub use thread_store::{SerializedThread, TextThreadStore, ThreadStore};
17
18pub fn init(cx: &mut gpui::App) {
19    thread_store::init(cx);
20}