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:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user