feat(intelligence): add PainAggregator + SolutionGenerator (Chunk 2)
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
PainAggregator: cross-session pain point merge with confidence scoring, rule-based frustration detection, and category classification. SolutionGenerator: transforms high-confidence pain points into proposals with concrete steps, skill hints, and lifecycle management. 5 Tauri commands registered: butler_list_pain_points, butler_record_pain_point, butler_generate_solution, butler_list_proposals, butler_update_proposal_status.
This commit is contained in:
@@ -202,18 +202,8 @@ export async function extractAndStoreMemories(
|
||||
}
|
||||
|
||||
/**
|
||||
* Inject relevant memories into prompt for enhanced context
|
||||
*/
|
||||
export async function injectVikingPrompt(
|
||||
agentId: string,
|
||||
basePrompt: string,
|
||||
userInput: string,
|
||||
maxTokens?: number
|
||||
): Promise<string> {
|
||||
return invoke<string>('viking_inject_prompt', {
|
||||
agentId,
|
||||
basePrompt,
|
||||
userInput,
|
||||
maxTokens,
|
||||
});
|
||||
* Get butler insights data - pain points and proposals for the but agentId }
|
||||
return invoke<ButlerPainPoint[]>('butler_list_pain_points', { agentId });
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user