diff --git a/src/agent/context.rs b/src/agent/context.rs index 08eeda7..0323be0 100644 --- a/src/agent/context.rs +++ b/src/agent/context.rs @@ -4,8 +4,6 @@ // Journal entries are loaded from the memory graph store, not from // a flat file — the parse functions are gone. -use std::sync::{Arc, RwLock}; - use crate::agent::api::types::*; use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; @@ -21,14 +19,6 @@ pub struct ContextSection { pub children: Vec, } -/// Shared, live context state — agent writes, TUI reads for the debug screen. -pub type SharedContextState = Arc>>; - -/// Create a new shared context state. -pub fn shared_context_state() -> SharedContextState { - Arc::new(RwLock::new(Vec::new())) -} - /// A single journal entry with its timestamp and content. #[derive(Debug, Clone)] pub struct JournalEntry {