feat(agent-runtime): 接入 handoff 审阅状态

- 支持 handoff queued/shown 状态加载、mark shown 和 reject 持久化

- 为 Tauri/API/Pinia store 接入 handoff 审阅状态流转

- 新增 AgentHandoffDialog 审阅 UI,拒绝操作不执行 SQL
This commit is contained in:
Illuminated2020 committed 2026-05-12 16:52:34 +08:00
1 parent 6518061008
commit 780311a542
17 files changed
+484 -68

No files matched your search

+1 -4
View File
@@ -4,10 +4,7 @@ mod runtime_client;
#[tokio::main]
async fn main() {
if let Err(err) = commands::run(std::env::args().skip(1).collect()).await {
println!(
"{}",
serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string())
);
println!("{}", serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string()));
std::process::exit(1);
}
}