Compare commits

..

2 commits

Author SHA1 Message Date
81322c7256 cleanup 2026-02-24 11:37:22 -08:00
05176c7742 Wire everything up. 2026-02-24 11:01:01 -08:00
7 changed files with 19 additions and 2 deletions

11
.skate/skate.log Normal file
View file

@ -0,0 +1,11 @@
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,7 +90,8 @@ 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 = 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() tracing_subscriber::fmt()
.with_writer(Mutex::new(log_file)) .with_writer(Mutex::new(log_file))

View file

@ -1,3 +1,4 @@
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,3 +1,4 @@
use futures::StreamExt; use futures::StreamExt;
use tokio::sync::mpsc; use tokio::sync::mpsc;
use tracing::debug; use tracing::debug;

View file

@ -1,3 +1,4 @@
/// 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,3 +1,4 @@
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,3 +1,4 @@
//! 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:
@ -13,11 +14,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};