diff --git a/.skate/skate.log b/.skate/skate.log deleted file mode 100644 index a8a3a7f..0000000 --- a/.skate/skate.log +++ /dev/null @@ -1,11 +0,0 @@ -2026-02-24T08:16:23.967303Z INFO skate::app: skate starting project_dir=. log=./.skate/skate.log -2026-02-24T08:16:32.836825Z INFO skate::app: skate starting project_dir=. log=./.skate/skate.log -2026-02-24T08:20:04.150234Z INFO skate::app: skate exiting cleanly -2026-02-24T08:20:58.589061Z INFO skate::app: skate starting project_dir=. log=./.skate/skate.log -2026-02-24T08:28:09.982253Z INFO skate::app: skate exiting cleanly -2026-02-24T09:31:08.532095Z INFO skate::app: skate starting project_dir=. log=./.skate/skate.log -2026-02-24T09:31:14.261232Z INFO skate::app: skate exiting cleanly -2026-02-24T09:47:04.720495Z INFO skate::app: skate starting project_dir=. log=./.skate/skate.log -2026-02-24T09:47:13.632927Z INFO skate::app: skate exiting cleanly -2026-02-24T19:12:10.722625Z INFO skate::app: skate starting project_dir=. -2026-02-24T19:12:20.275869Z INFO skate::app: skate exiting cleanly diff --git a/src/app/workspace.rs b/src/app/workspace.rs index 583556d..b64617d 100644 --- a/src/app/workspace.rs +++ b/src/app/workspace.rs @@ -90,8 +90,7 @@ impl SkateDir { .open(&log_path) .with_context(|| format!("cannot open log file {}", log_path.display()))?; - let filter = - EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")); + let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info")); tracing_subscriber::fmt() .with_writer(Mutex::new(log_file)) diff --git a/src/core/history.rs b/src/core/history.rs index 0ca5fc9..45b0ffd 100644 --- a/src/core/history.rs +++ b/src/core/history.rs @@ -1,4 +1,3 @@ - use crate::core::types::ConversationMessage; /// The in-memory conversation history for the current session. diff --git a/src/core/orchestrator.rs b/src/core/orchestrator.rs index d639226..b924f51 100644 --- a/src/core/orchestrator.rs +++ b/src/core/orchestrator.rs @@ -1,4 +1,3 @@ - use futures::StreamExt; use tokio::sync::mpsc; use tracing::debug; diff --git a/src/core/types.rs b/src/core/types.rs index 6767f36..7c83cfb 100644 --- a/src/core/types.rs +++ b/src/core/types.rs @@ -1,4 +1,3 @@ - /// A streaming event emitted by the model provider. #[derive(Debug, Clone)] pub enum StreamEvent { diff --git a/src/provider/claude.rs b/src/provider/claude.rs index efe535e..46810dd 100644 --- a/src/provider/claude.rs +++ b/src/provider/claude.rs @@ -1,4 +1,3 @@ - use futures::{SinkExt, Stream, StreamExt}; use reqwest::Client; use serde::Deserialize; diff --git a/src/tui/mod.rs b/src/tui/mod.rs index 16555e9..53332c8 100644 --- a/src/tui/mod.rs +++ b/src/tui/mod.rs @@ -1,4 +1,3 @@ - //! TUI frontend: terminal lifecycle, rendering, and input handling. //! //! All communication with the core orchestrator flows through channels: @@ -14,11 +13,11 @@ use std::io::{self, Stdout}; use std::time::Duration; use crossterm::event::{Event, EventStream, KeyCode, KeyEvent, KeyModifiers}; -use futures::StreamExt; use crossterm::execute; use crossterm::terminal::{ EnterAlternateScreen, LeaveAlternateScreen, disable_raw_mode, enable_raw_mode, }; +use futures::StreamExt; use ratatui::backend::CrosstermBackend; use ratatui::layout::{Constraint, Layout, Rect}; use ratatui::style::{Color, Style};