chore: add @reserved annotations to 5 butler Tauri commands
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
These pain_aggregator functions have no frontend UI yet.
This commit is contained in:
@@ -358,12 +358,14 @@ fn solution_store() -> Arc<SolutionGenerator> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// List all pain points for an agent.
|
/// List all pain points for an agent.
|
||||||
|
// @reserved: no frontend UI yet
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
pub async fn butler_list_pain_points(agent_id: String) -> std::result::Result<Vec<PainPoint>, String> {
|
pub async fn butler_list_pain_points(agent_id: String) -> std::result::Result<Vec<PainPoint>, String> {
|
||||||
Ok(pain_store().list_pain_points(&agent_id).await)
|
Ok(pain_store().list_pain_points(&agent_id).await)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Record a new pain point from conversation analysis.
|
/// Record a new pain point from conversation analysis.
|
||||||
|
// @reserved: no frontend UI yet
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
pub async fn butler_record_pain_point(
|
pub async fn butler_record_pain_point(
|
||||||
agent_id: String,
|
agent_id: String,
|
||||||
@@ -384,6 +386,7 @@ pub async fn butler_record_pain_point(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// List all proposals for an agent.
|
/// List all proposals for an agent.
|
||||||
|
// @reserved: no frontend UI yet
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
pub async fn butler_list_proposals(agent_id: String) -> std::result::Result<Vec<Proposal>, String> {
|
pub async fn butler_list_proposals(agent_id: String) -> std::result::Result<Vec<Proposal>, String> {
|
||||||
let store = pain_store();
|
let store = pain_store();
|
||||||
@@ -398,6 +401,7 @@ pub async fn butler_list_proposals(agent_id: String) -> std::result::Result<Vec<
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Generate a solution for a high-confidence pain point.
|
/// Generate a solution for a high-confidence pain point.
|
||||||
|
// @reserved: no frontend UI yet
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
pub async fn butler_generate_solution(pain_id: String) -> std::result::Result<Proposal, String> {
|
pub async fn butler_generate_solution(pain_id: String) -> std::result::Result<Proposal, String> {
|
||||||
let store = pain_store();
|
let store = pain_store();
|
||||||
@@ -421,6 +425,7 @@ pub async fn butler_generate_solution(pain_id: String) -> std::result::Result<Pr
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Update the status of a proposal.
|
/// Update the status of a proposal.
|
||||||
|
// @reserved: no frontend UI yet
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
pub async fn butler_update_proposal_status(
|
pub async fn butler_update_proposal_status(
|
||||||
proposal_id: String,
|
proposal_id: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user