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;
 8
 9pub use context::{AgentContext, ContextId, ContextLoadResult};
10pub use context_store::ContextStore;
11pub use thread::{
12    LastRestoreCheckpoint, Message, MessageCrease, MessageId, MessageSegment, ThreadError,
13    ThreadEvent, ThreadFeedback, ThreadId, ThreadSummary, TokenUsageRatio, ZedAgentThread,
14};
15pub use thread_store::{SerializedThread, TextThreadStore, ThreadStore};
16
17pub fn init(cx: &mut gpui::App) {
18    thread_store::init(cx);
19}