diff --git a/desktop/src-tauri/src/classroom_commands/chat.rs b/desktop/src-tauri/src/classroom_commands/chat.rs index 9d441a1..f212ec7 100644 --- a/desktop/src-tauri/src/classroom_commands/chat.rs +++ b/desktop/src-tauri/src/classroom_commands/chat.rs @@ -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>, diff --git a/desktop/src-tauri/src/classroom_commands/generate.rs b/desktop/src-tauri/src/classroom_commands/generate.rs index 38d02dc..1de0f61 100644 --- a/desktop/src-tauri/src/classroom_commands/generate.rs +++ b/desktop/src-tauri/src/classroom_commands/generate.rs @@ -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>, diff --git a/desktop/src-tauri/src/gateway/commands.rs b/desktop/src-tauri/src/gateway/commands.rs index 3478566..594e9eb 100644 --- a/desktop/src-tauri/src/gateway/commands.rs +++ b/desktop/src-tauri/src/gateway/commands.rs @@ -113,8 +113,8 @@ pub fn zclaw_approve_device_pairing( approve_local_device_pairing(&app, &device_id, &public_key_base64, url.as_deref()) } +/// @reserved — no frontend UI yet /// Run ZCLAW doctor to diagnose issues -// @connected #[tauri::command] pub fn zclaw_doctor(app: AppHandle) -> Result { let result = run_zclaw(&app, &["doctor", "--json"])?; diff --git a/desktop/src-tauri/src/health_check.rs b/desktop/src-tauri/src/health_check.rs index 2a60201..635f3b4 100644 --- a/desktop/src-tauri/src/health_check.rs +++ b/desktop/src-tauri/src/health_check.rs @@ -266,8 +266,8 @@ pub fn zclaw_health_check( }) } +/// @reserved — no frontend UI yet /// Quick ping to check if ZCLAW is alive (lightweight check) -// @reserved: 暂无前端集成 #[tauri::command] pub fn zclaw_ping(app: AppHandle) -> Result { let port_check = check_port_accessibility("127.0.0.1", ZCLAW_DEFAULT_PORT, 1000); diff --git a/desktop/src-tauri/src/kernel_commands/agent.rs b/desktop/src-tauri/src/kernel_commands/agent.rs index b038e95..5b0fe4c 100644 --- a/desktop/src-tauri/src/kernel_commands/agent.rs +++ b/desktop/src-tauri/src/kernel_commands/agent.rs @@ -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>, diff --git a/desktop/src-tauri/src/kernel_commands/hand.rs b/desktop/src-tauri/src/kernel_commands/hand.rs index e3dd5ae..f4355be 100644 --- a/desktop/src-tauri/src/kernel_commands/hand.rs +++ b/desktop/src-tauri/src/kernel_commands/hand.rs @@ -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>, diff --git a/desktop/src-tauri/src/kernel_commands/lifecycle.rs b/desktop/src-tauri/src/kernel_commands/lifecycle.rs index 0845396..b7f4ac5 100644 --- a/desktop/src-tauri/src/kernel_commands/lifecycle.rs +++ b/desktop/src-tauri/src/kernel_commands/lifecycle.rs @@ -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>, diff --git a/desktop/src-tauri/src/kernel_commands/orchestration.rs b/desktop/src-tauri/src/kernel_commands/orchestration.rs index b869308..15c723d 100644 --- a/desktop/src-tauri/src/kernel_commands/orchestration.rs +++ b/desktop/src-tauri/src/kernel_commands/orchestration.rs @@ -202,11 +202,11 @@ impl From 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>, diff --git a/desktop/src-tauri/src/llm/mod.rs b/desktop/src-tauri/src/llm/mod.rs index b89e397..3173b59 100644 --- a/desktop/src-tauri/src/llm/mod.rs +++ b/desktop/src-tauri/src/llm/mod.rs @@ -325,7 +325,7 @@ impl LlmClient { // === Tauri Commands === -// @reserved: 暂无前端集成 +/// @reserved — no frontend UI yet #[tauri::command] pub async fn llm_complete( provider: String, diff --git a/desktop/src-tauri/src/memory/context_builder.rs b/desktop/src-tauri/src/memory/context_builder.rs index d15aa51..a34c7e6 100644 --- a/desktop/src-tauri/src/memory/context_builder.rs +++ b/desktop/src-tauri/src/memory/context_builder.rs @@ -482,7 +482,7 @@ pub struct FindResult { // === Tauri Commands === -// @reserved: 暂无前端集成 +/// @reserved — no frontend UI yet #[tauri::command] pub fn estimate_content_tokens(content: String) -> u32 { estimate_tokens(&content) diff --git a/desktop/src-tauri/src/memory_commands.rs b/desktop/src-tauri/src/memory_commands.rs index 42e160d..f4f360c 100644 --- a/desktop/src-tauri/src/memory_commands.rs +++ b/desktop/src-tauri/src/memory_commands.rs @@ -362,9 +362,9 @@ pub async fn memory_db_path( Ok(db_path.to_string_lossy().to_string()) } +/// @reserved — no frontend UI yet /// Configure embedding for PersistentMemoryStore (chat memory search) /// This is called alongside viking_configure_embedding to enable vector search in chat flow -// @reserved: 暂无前端集成 #[tauri::command] pub async fn memory_configure_embedding( provider: String, @@ -398,8 +398,8 @@ pub async fn memory_configure_embedding( Ok(true) } +/// @reserved — no frontend UI yet /// Check if embedding is configured for PersistentMemoryStore -// @reserved: 暂无前端集成 #[tauri::command] pub fn memory_is_embedding_configured() -> bool { is_embedding_configured() diff --git a/desktop/src-tauri/src/pipeline_commands/presentation.rs b/desktop/src-tauri/src/pipeline_commands/presentation.rs index cf58e45..8f0aa60 100644 --- a/desktop/src-tauri/src/pipeline_commands/presentation.rs +++ b/desktop/src-tauri/src/pipeline_commands/presentation.rs @@ -39,12 +39,12 @@ pub struct PipelineTemplateInfo { pub inputs: Vec, } +/// @reserved — no frontend UI yet /// List available pipeline templates from the `_templates/` directory. /// /// Templates are pipeline YAML files that users can browse and instantiate. /// They live in `pipelines/_templates/` and are not directly runnable /// (they serve as blueprints). -// @reserved: 暂无前端集成 #[tauri::command] pub async fn pipeline_templates( state: State<'_, Arc>,