mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Checkpoint: File edits
Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-12T16:25:18Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5f27c9e2b6
commit
d23bbcdab4
1 file changed
+3
-3
@@ -83,7 +83,7 @@ export interface AIDefence {
|
||||
/**
|
||||
* Detect threats in input text
|
||||
*/
|
||||
detect(input: string): Promise<import('./domain/entities/threat.js').ThreatDetectionResult>;
|
||||
detect(input: string): Promise<ThreatDetectionResult>;
|
||||
|
||||
/**
|
||||
* Quick scan for threats (faster, less detailed)
|
||||
@@ -109,7 +109,7 @@ export interface AIDefence {
|
||||
*/
|
||||
learnFromDetection(
|
||||
input: string,
|
||||
result: import('./domain/entities/threat.js').ThreatDetectionResult,
|
||||
result: ThreatDetectionResult,
|
||||
feedback?: { wasAccurate: boolean; userVerdict?: string }
|
||||
): Promise<void>;
|
||||
|
||||
@@ -284,7 +284,7 @@ export function checkThreats(input: string) {
|
||||
*/
|
||||
export interface AttentionContext {
|
||||
agentId: string;
|
||||
threatAssessment: import('./domain/entities/threat.js').ThreatDetectionResult;
|
||||
threatAssessment: ThreatDetectionResult;
|
||||
weight: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user