From 77b68ecc508fe5e540d4f94dd115b20e73fd125d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 7 Apr 2026 03:05:21 -0400 Subject: [PATCH] Remove dead SharedContextState type and imports Co-Authored-By: Proof of Concept --- src/agent/context.rs | 10 ---------- 1 file changed, 10 deletions(-) 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 {