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

- 新增 66 个 @reserved 标注 (已有 22 个)
- 覆盖: agent/butler/classroom/hand/mcp/pipeline/skill/trigger/viking/zclaw 等模块
- MCP 命令增加 @connected 注释说明前端接入路径
- @reserved 总数: 89 (含 identity_init)
This commit is contained in:
iven
2026-04-15 02:05:58 +08:00
parent ee1c9ef3ea
commit 5121a3c599
24 changed files with 69 additions and 3 deletions

View File

@@ -85,6 +85,7 @@ pub async fn skill_list(
///
/// Re-scans the skills directory for new or updated skills.
/// Optionally accepts a custom directory path to scan.
// @reserved: skill system management
// @connected
#[tauri::command]
pub async fn skill_refresh(
@@ -136,6 +137,7 @@ pub struct UpdateSkillRequest {
}
/// Create a new skill in the skills directory
// @reserved: skill system management
// @connected
#[tauri::command]
pub async fn skill_create(
@@ -184,6 +186,7 @@ pub async fn skill_create(
}
/// Update an existing skill
// @reserved: skill system management
// @connected
#[tauri::command]
pub async fn skill_update(
@@ -303,6 +306,7 @@ impl From<zclaw_skills::SkillResult> for SkillResult {
///
/// Executes a skill with the given ID and input.
/// Returns the skill result as JSON.
// @reserved: skill system management
// @connected
#[tauri::command]
pub async fn skill_execute(