Import fixes

This commit is contained in:
Jazz Turner-Baggs
2026-07-29 09:47:08 -07:00
parent 68cd44ab86
commit 514e41bf6d
5 changed files with 124 additions and 56 deletions
+6 -3
View File
@@ -5,7 +5,10 @@ use std::path::{Path, PathBuf};
use anyhow::Result;
use arboard::Clipboard;
use crossbeam_channel::Receiver;
use logos_chat::{AccountDirectory, ChatClient, ChatStore, Event, RegistrationService, Transport};
use logos_chat::{
AccountDirectory, ChatClient, ChatStore, Event, LogosAuthVerifier, RegistrationService,
Transport,
};
use serde::{Deserialize, Serialize};
use crate::utils::now;
@@ -47,7 +50,7 @@ where
R: RegistrationService + AccountDirectory + Clone + Send + 'static,
S: ChatStore + Send + 'static,
{
pub client: ChatClient<T, R, S>,
pub client: ChatClient<LogosAuthVerifier, T, R, S>,
events: Receiver<Event>,
pub state: AppState,
/// Ephemeral command output — not persisted, cleared on chat switch.
@@ -65,7 +68,7 @@ where
S: ChatStore + Send,
{
pub fn new(
client: ChatClient<T, R, S>,
client: ChatClient<LogosAuthVerifier, T, R, S>,
events: Receiver<Event>,
user_name: &str,
data_dir: &Path,
+3 -3
View File
@@ -9,8 +9,8 @@ use anyhow::{Context, Result};
use clap::{Parser, ValueEnum};
use crossbeam_channel::Receiver;
use logos_chat::{
AccountDirectory, ChatClient, ChatStore, Event, LogosConfig, P2pConfig, RegistrationService,
Transport,
AccountDirectory, ChatClient, ChatStore, Event, LogosAuthVerifier, LogosConfig, P2pConfig,
RegistrationService, Transport,
};
use app::ChatApp;
@@ -137,7 +137,7 @@ fn db_path(cli: &Cli) -> Result<String> {
}
fn launch_tui<T, R, S>(
client: ChatClient<T, R, S>,
client: ChatClient<LogosAuthVerifier, T, R, S>,
events: Receiver<Event>,
cli: &Cli,
) -> Result<()>