fix(tauri): @reserved annotations for 16 unconnected commands

Complete Tauri command audit: 177 total (160 @connected + 16 @reserved + 1 unregistered identity_init)
Corrected zclaw_doctor from @connected to @reserved
This commit is contained in:
iven
2026-04-05 01:06:58 +08:00
parent 82842c4258
commit fb0b8d2af3
12 changed files with 16 additions and 16 deletions

View File

@@ -231,8 +231,8 @@ pub async fn agent_update(
.ok_or_else(|| format!("Agent not found after update: {}", agent_id))
}
/// @reserved — no frontend UI yet
/// Export an agent configuration as JSON
// @reserved: 暂无前端集成
#[tauri::command]
pub async fn agent_export(
state: State<'_, KernelState>,
@@ -254,8 +254,8 @@ pub async fn agent_export(
.map_err(|e| format!("Failed to serialize agent config: {}", e))
}
/// @reserved — no frontend UI yet
/// Import an agent from JSON configuration
// @reserved: 暂无前端集成
#[tauri::command]
pub async fn agent_import(
state: State<'_, KernelState>,