fix unused imports

This commit is contained in:
Kent Overstreet 2026-04-06 19:33:18 -04:00
parent 3cb53d7a5d
commit f63c341f94
7 changed files with 10 additions and 16 deletions

View file

@ -29,7 +29,6 @@ use tools::{summarize_args, working_stack};
use crate::mind::log::ConversationLog; use crate::mind::log::ConversationLog;
use crate::agent::context::{ContextSection, SharedContextState}; use crate::agent::context::{ContextSection, SharedContextState};
use crate::mind::StreamTarget;
use crate::subconscious::learn; use crate::subconscious::learn;
// --- Activity tracking (RAII guards) --- // --- Activity tracking (RAII guards) ---

View file

@ -9,13 +9,10 @@ use ratatui::{
text::{Line, Span}, text::{Line, Span},
widgets::{Block, Borders, Paragraph, Wrap}, widgets::{Block, Borders, Paragraph, Wrap},
Frame, Frame,
crossterm::event::{KeyCode, KeyEvent, KeyModifiers, MouseEvent, MouseEventKind, MouseButton}, crossterm::event::{KeyCode, KeyModifiers, MouseEvent, MouseEventKind, MouseButton},
}; };
use super::{ use super::{App, ScreenView, screen_legend};
App, HotkeyAction, ScreenAction, ScreenView,
screen_legend,
};
use crate::mind::StreamTarget; use crate::mind::StreamTarget;
use crate::mind::MindCommand; use crate::mind::MindCommand;

View file

@ -9,7 +9,7 @@ use ratatui::{
text::Line, text::Line,
widgets::{Block, Borders, Paragraph, Wrap}, widgets::{Block, Borders, Paragraph, Wrap},
Frame, Frame,
crossterm::event::{KeyCode, KeyEvent}, crossterm::event::KeyCode,
}; };
use super::{App, ScreenView, screen_legend}; use super::{App, ScreenView, screen_legend};

View file

@ -10,9 +10,7 @@ pub mod unconscious;
pub mod thalamus; pub mod thalamus;
use anyhow::Result; use anyhow::Result;
use ratatui::crossterm::event::{Event, KeyEventKind};
use std::io::Write; use std::io::Write;
use std::time::Duration;
use crate::mind::MindCommand; use crate::mind::MindCommand;
use crate::user::{self as tui}; use crate::user::{self as tui};
@ -20,7 +18,7 @@ use crate::user::{self as tui};
// --- TUI infrastructure (moved from tui/mod.rs) --- // --- TUI infrastructure (moved from tui/mod.rs) ---
use ratatui::crossterm::{ use ratatui::crossterm::{
event::{EnableMouseCapture, DisableMouseCapture, KeyCode, KeyEvent, KeyModifiers}, event::{EnableMouseCapture, DisableMouseCapture},
terminal::{self, EnterAlternateScreen, LeaveAlternateScreen}, terminal::{self, EnterAlternateScreen, LeaveAlternateScreen},
ExecutableCommand, ExecutableCommand,
}; };

View file

@ -6,10 +6,10 @@ use ratatui::{
text::{Line, Span}, text::{Line, Span},
widgets::{Block, Borders, Paragraph, Wrap}, widgets::{Block, Borders, Paragraph, Wrap},
Frame, Frame,
crossterm::event::{KeyCode, KeyEvent}, crossterm::event::KeyCode,
}; };
use super::{App, ScreenAction, ScreenView, screen_legend}; use super::{App, ScreenView, screen_legend};
pub(crate) struct SubconsciousScreen { pub(crate) struct SubconsciousScreen {
selected: usize, selected: usize,

View file

@ -6,10 +6,10 @@ use ratatui::{
text::{Line, Span}, text::{Line, Span},
widgets::{Block, Borders, Paragraph, Wrap}, widgets::{Block, Borders, Paragraph, Wrap},
Frame, Frame,
crossterm::event::{KeyCode, KeyEvent}, crossterm::event::KeyCode,
}; };
use super::{App, HotkeyAction, ScreenAction, ScreenView, screen_legend}; use super::{App, ScreenView, screen_legend};
pub(crate) struct ThalamusScreen { pub(crate) struct ThalamusScreen {
sampling_selected: usize, sampling_selected: usize,

View file

@ -6,10 +6,10 @@ use ratatui::{
text::{Line, Span}, text::{Line, Span},
widgets::{Block, Borders, Gauge, Paragraph, Wrap}, widgets::{Block, Borders, Gauge, Paragraph, Wrap},
Frame, Frame,
crossterm::event::{KeyCode, KeyEvent}, crossterm::event::KeyCode,
}; };
use super::{App, ScreenAction, ScreenView, screen_legend}; use super::{App, ScreenView, screen_legend};
use crate::subconscious::daemon::GraphHealth; use crate::subconscious::daemon::GraphHealth;
#[derive(serde::Deserialize, Default)] #[derive(serde::Deserialize, Default)]