chore: sync current workspace changes
Desktop CI Build / Build macOS ARM64 DMG (push) Has been cancelled
Desktop CI Build / Build Windows x64 (push) Has been cancelled

This commit is contained in:
boos
2026-07-14 03:21:10 +08:00
parent 1512fa23ce
commit 557914fea8
745 changed files with 124917 additions and 11222 deletions
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -37,9 +37,9 @@ pub struct AppState {
pub agent_cancel_tokens:
Arc<Mutex<std::collections::HashMap<String, open_agent_sdk::CancellationToken>>>,
pub agent_permission_senders:
Arc<Mutex<std::collections::HashMap<String, tokio::sync::oneshot::Sender<String>>>>,
Arc<Mutex<std::collections::HashMap<String, commands::agent::PendingAgentPermission>>>,
pub agent_ask_senders:
Arc<Mutex<std::collections::HashMap<String, tokio::sync::oneshot::Sender<String>>>>,
Arc<Mutex<std::collections::HashMap<String, commands::agent::PendingAgentAsk>>>,
pub agent_always_allowed:
Arc<Mutex<std::collections::HashMap<String, std::collections::HashSet<String>>>>,
}
@@ -669,6 +669,7 @@ pub fn run() {
{
let sea_db = app.state::<AppState>().sea_db.clone();
let _ = rt.block_on(boosapi_core::repo::agent_session::reset_running_sessions(&sea_db));
let _ = rt.block_on(boosapi_core::repo::agent_run::interrupt_active_runs(&sea_db));
match rt.block_on(boosapi_core::repo::message::mark_stale_partial_assistant_messages_failed(&sea_db)) {
Ok(count) if count > 0 => {
tracing::info!(