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>,
|
||||
|
||||
@@ -421,8 +421,8 @@ pub async fn hand_run_list(
|
||||
}))
|
||||
}
|
||||
|
||||
/// @reserved — no frontend UI yet
|
||||
/// Cancel a running hand execution
|
||||
// @reserved: 暂无前端集成
|
||||
#[tauri::command]
|
||||
pub async fn hand_run_cancel(
|
||||
state: State<'_, KernelState>,
|
||||
|
||||
@@ -228,8 +228,8 @@ pub async fn kernel_status(
|
||||
}
|
||||
}
|
||||
|
||||
/// @reserved — no frontend UI yet
|
||||
/// Shutdown the kernel
|
||||
// @reserved: 暂无前端集成
|
||||
#[tauri::command]
|
||||
pub async fn kernel_shutdown(
|
||||
state: State<'_, KernelState>,
|
||||
|
||||
@@ -202,11 +202,11 @@ impl From<zclaw_skills::orchestration::OrchestrationResult> for OrchestrationRes
|
||||
// Tauri Commands
|
||||
// ============================================================================
|
||||
|
||||
/// @reserved — no frontend UI yet
|
||||
/// Execute a skill orchestration
|
||||
///
|
||||
/// Either auto-composes a graph from skill_ids, or uses a pre-defined graph.
|
||||
/// Executes with true parallel execution within each dependency level.
|
||||
// @reserved: no frontend consumer yet
|
||||
#[tauri::command]
|
||||
pub async fn orchestration_execute(
|
||||
state: State<'_, KernelState>,
|
||||
@@ -249,8 +249,8 @@ pub async fn orchestration_execute(
|
||||
Ok(OrchestrationResponse::from(result))
|
||||
}
|
||||
|
||||
/// @reserved — no frontend UI yet
|
||||
/// Validate an orchestration graph without executing it
|
||||
// @reserved: no frontend consumer yet
|
||||
#[tauri::command]
|
||||
pub async fn orchestration_validate(
|
||||
state: State<'_, KernelState>,
|
||||
|
||||
Reference in New Issue
Block a user