Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvd23bbcdab42c
diff --git a/v3/@claude-flow/aidefence/src/index.ts b/v3/@claude-flow/aidefence/src/index.ts
index 6b9f68eccd..1a88ee6044 100644
--- a/v3/@claude-flow/aidefence/src/index.ts
+++ b/v3/@claude-flow/aidefence/src/index.ts
@@ -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;
}