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

@@ -113,8 +113,8 @@ pub async fn classroom_chat(
Ok(agent_responses)
}
/// @reserved — no frontend UI yet
/// Retrieve chat history for a classroom
// @reserved: no frontend consumer yet
#[tauri::command]
pub async fn classroom_chat_history(
chat_store: State<'_, ChatStore>,

View File

@@ -239,8 +239,8 @@ pub async fn classroom_generate(
})
}
/// @reserved — no frontend UI yet
/// Get current generation progress for a topic
// @reserved: 暂无前端集成
#[tauri::command]
pub async fn classroom_generation_progress(
tasks: State<'_, GenerationTasks>,
@@ -281,8 +281,8 @@ pub async fn classroom_get(
.ok_or_else(|| format!("Classroom '{}' not found", classroom_id))
}
/// @reserved — no frontend UI yet
/// List all generated classrooms (id + title only)
// @reserved: 暂无前端集成
#[tauri::command]
pub async fn classroom_list(
store: State<'_, ClassroomStore>,