feat: single app-server bootstrap in TUI (#16582)

Before this, the TUI was starting 2 app-server. One to check the login
status and one to actually start the session

This PR make only one app-server startup and defer the login check in
async, outside of the frame rendering path

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
jif-oai
2026-04-08 13:49:06 +01:00
committed by GitHub
parent d47b755aa2
commit 2bbab7d8f9
7 changed files with 86 additions and 106 deletions

View File

@@ -20,7 +20,7 @@ pub const MAX_WIDTH: u32 = 2048;
/// Maximum height used when resizing images before uploading.
pub const MAX_HEIGHT: u32 = 768;
pub(crate) mod error;
pub mod error;
pub use crate::error::ImageProcessingError;