Compare commits

..

2 commits

Author SHA1 Message Date
5bf79b3b38 cleanup 2026-02-24 11:43:56 -08:00
71d09e7efb Wire everything up. 2026-02-24 11:41:12 -08:00
7 changed files with 2 additions and 19 deletions

View file

@ -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

View file

@ -90,8 +90,7 @@ impl SkateDir {
.open(&log_path) .open(&log_path)
.with_context(|| format!("cannot open log file {}", log_path.display()))?; .with_context(|| format!("cannot open log file {}", log_path.display()))?;
let filter = let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info"));
EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info"));
tracing_subscriber::fmt() tracing_subscriber::fmt()
.with_writer(Mutex::new(log_file)) .with_writer(Mutex::new(log_file))

View file

@ -1,4 +1,3 @@
use crate::core::types::ConversationMessage; use crate::core::types::ConversationMessage;
/// The in-memory conversation history for the current session. /// The in-memory conversation history for the current session.

View file

@ -1,4 +1,3 @@
use futures::StreamExt; use futures::StreamExt;
use tokio::sync::mpsc; use tokio::sync::mpsc;
use tracing::debug; use tracing::debug;

View file

@ -1,4 +1,3 @@
/// A streaming event emitted by the model provider. /// A streaming event emitted by the model provider.
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub enum StreamEvent { pub enum StreamEvent {

View file

@ -1,4 +1,3 @@
use futures::{SinkExt, Stream, StreamExt}; use futures::{SinkExt, Stream, StreamExt};
use reqwest::Client; use reqwest::Client;
use serde::Deserialize; use serde::Deserialize;

View file

@ -1,4 +1,3 @@
//! TUI frontend: terminal lifecycle, rendering, and input handling. //! TUI frontend: terminal lifecycle, rendering, and input handling.
//! //!
//! All communication with the core orchestrator flows through channels: //! All communication with the core orchestrator flows through channels:
@ -14,11 +13,11 @@ use std::io::{self, Stdout};
use std::time::Duration; use std::time::Duration;
use crossterm::event::{Event, EventStream, KeyCode, KeyEvent, KeyModifiers}; use crossterm::event::{Event, EventStream, KeyCode, KeyEvent, KeyModifiers};
use futures::StreamExt;
use crossterm::execute; use crossterm::execute;
use crossterm::terminal::{ use crossterm::terminal::{
EnterAlternateScreen, LeaveAlternateScreen, disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen, disable_raw_mode, enable_raw_mode,
}; };
use futures::StreamExt;
use ratatui::backend::CrosstermBackend; use ratatui::backend::CrosstermBackend;
use ratatui::layout::{Constraint, Layout, Rect}; use ratatui::layout::{Constraint, Layout, Rect};
use ratatui::style::{Color, Style}; use ratatui::style::{Color, Style};