chore(desktop): Tauri 命令 @reserved 全量标注 — 88个无前端调用命令已标注
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
- 新增 66 个 @reserved 标注 (已有 22 个) - 覆盖: agent/butler/classroom/hand/mcp/pipeline/skill/trigger/viking/zclaw 等模块 - MCP 命令增加 @connected 注释说明前端接入路径 - @reserved 总数: 89 (含 identity_init)
This commit is contained in:
@@ -55,6 +55,7 @@ pub struct WorkflowStepInput {
|
||||
}
|
||||
|
||||
/// Create a new pipeline as a YAML file
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_create(
|
||||
@@ -180,6 +181,7 @@ pub async fn pipeline_create(
|
||||
}
|
||||
|
||||
/// Update an existing pipeline
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_update(
|
||||
|
||||
@@ -20,6 +20,7 @@ use super::helpers::{get_pipelines_directory, scan_pipelines_with_paths, scan_pi
|
||||
use crate::kernel_commands::KernelState;
|
||||
|
||||
/// Discover and list all available pipelines
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_list(
|
||||
@@ -70,6 +71,7 @@ pub async fn pipeline_list(
|
||||
}
|
||||
|
||||
/// Get pipeline details
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_get(
|
||||
@@ -85,6 +87,7 @@ pub async fn pipeline_get(
|
||||
}
|
||||
|
||||
/// Run a pipeline
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_run(
|
||||
@@ -197,6 +200,7 @@ pub async fn pipeline_run(
|
||||
}
|
||||
|
||||
/// Get pipeline run progress
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_progress(
|
||||
@@ -234,6 +238,7 @@ pub async fn pipeline_cancel(
|
||||
}
|
||||
|
||||
/// Get pipeline run result
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_result(
|
||||
@@ -261,6 +266,7 @@ pub async fn pipeline_result(
|
||||
}
|
||||
|
||||
/// List all runs
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_runs(
|
||||
@@ -287,6 +293,7 @@ pub async fn pipeline_runs(
|
||||
}
|
||||
|
||||
/// Refresh pipeline discovery
|
||||
// @reserved: pipeline workflow management
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn pipeline_refresh(
|
||||
|
||||
@@ -62,6 +62,7 @@ pub struct PipelineCandidateInfo {
|
||||
}
|
||||
|
||||
/// Route user input to matching pipeline
|
||||
// @reserved: semantic intent routing
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn route_intent(
|
||||
|
||||
@@ -9,6 +9,7 @@ use super::types::PipelineInputInfo;
|
||||
use super::PipelineState;
|
||||
|
||||
/// Analyze presentation data
|
||||
// @reserved: presentation analysis
|
||||
// @connected
|
||||
#[tauri::command]
|
||||
pub async fn analyze_presentation(
|
||||
|
||||
Reference in New Issue
Block a user