fix unused imports
This commit is contained in:
parent
3cb53d7a5d
commit
f63c341f94
7 changed files with 10 additions and 16 deletions
|
|
@ -29,7 +29,6 @@ use tools::{summarize_args, working_stack};
|
|||
|
||||
use crate::mind::log::ConversationLog;
|
||||
use crate::agent::context::{ContextSection, SharedContextState};
|
||||
use crate::mind::StreamTarget;
|
||||
use crate::subconscious::learn;
|
||||
|
||||
// --- Activity tracking (RAII guards) ---
|
||||
|
|
|
|||
|
|
@ -9,13 +9,10 @@ use ratatui::{
|
|||
text::{Line, Span},
|
||||
widgets::{Block, Borders, Paragraph, Wrap},
|
||||
Frame,
|
||||
crossterm::event::{KeyCode, KeyEvent, KeyModifiers, MouseEvent, MouseEventKind, MouseButton},
|
||||
crossterm::event::{KeyCode, KeyModifiers, MouseEvent, MouseEventKind, MouseButton},
|
||||
};
|
||||
|
||||
use super::{
|
||||
App, HotkeyAction, ScreenAction, ScreenView,
|
||||
screen_legend,
|
||||
};
|
||||
use super::{App, ScreenView, screen_legend};
|
||||
use crate::mind::StreamTarget;
|
||||
use crate::mind::MindCommand;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use ratatui::{
|
|||
text::Line,
|
||||
widgets::{Block, Borders, Paragraph, Wrap},
|
||||
Frame,
|
||||
crossterm::event::{KeyCode, KeyEvent},
|
||||
crossterm::event::KeyCode,
|
||||
};
|
||||
|
||||
use super::{App, ScreenView, screen_legend};
|
||||
|
|
|
|||
|
|
@ -10,9 +10,7 @@ pub mod unconscious;
|
|||
pub mod thalamus;
|
||||
|
||||
use anyhow::Result;
|
||||
use ratatui::crossterm::event::{Event, KeyEventKind};
|
||||
use std::io::Write;
|
||||
use std::time::Duration;
|
||||
|
||||
use crate::mind::MindCommand;
|
||||
use crate::user::{self as tui};
|
||||
|
|
@ -20,7 +18,7 @@ use crate::user::{self as tui};
|
|||
// --- TUI infrastructure (moved from tui/mod.rs) ---
|
||||
|
||||
use ratatui::crossterm::{
|
||||
event::{EnableMouseCapture, DisableMouseCapture, KeyCode, KeyEvent, KeyModifiers},
|
||||
event::{EnableMouseCapture, DisableMouseCapture},
|
||||
terminal::{self, EnterAlternateScreen, LeaveAlternateScreen},
|
||||
ExecutableCommand,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ use ratatui::{
|
|||
text::{Line, Span},
|
||||
widgets::{Block, Borders, Paragraph, Wrap},
|
||||
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 {
|
||||
selected: usize,
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ use ratatui::{
|
|||
text::{Line, Span},
|
||||
widgets::{Block, Borders, Paragraph, Wrap},
|
||||
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 {
|
||||
sampling_selected: usize,
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ use ratatui::{
|
|||
text::{Line, Span},
|
||||
widgets::{Block, Borders, Gauge, Paragraph, Wrap},
|
||||
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;
|
||||
|
||||
#[derive(serde::Deserialize, Default)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue