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;
 8pub mod thread_store;
 9mod zed_agent;
10
11pub use agent2::*;
12pub use context::{AgentContext, ContextId, ContextLoadResult};
13pub use context_store::ContextStore;
14pub use thread::{
15    LastRestoreCheckpoint, Message, MessageCrease, Thread, ThreadError, ThreadEvent,
16    ThreadFeedback, ThreadTitle, TokenUsageRatio,
17};
18pub use thread_store::{SerializedThread, TextThreadStore, ThreadStore};
19pub use zed_agent::*;
20
21pub fn init(cx: &mut gpui::App) {
22    thread_store::init(cx);
23}