agent.rs

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