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

647 B
Raw Blame
import type { TelemetryReading, AnomalyDetection } from '../entities/telemetry.js';

export interface TelemetryRepository {
  store(reading: TelemetryReading): Promise<void>;
  storeBatch(readings: TelemetryReading[]): Promise<number>;
  findByDevice(deviceId: string, limit?: number): Promise<TelemetryReading[]>;
  searchSimilar(vector: number[], k: number, deviceId?: string): Promise<TelemetryReading[]>;
  storeAnomaly(anomaly: AnomalyDetection): Promise<void>;
  findAnomalies(deviceId: string, limit?: number): Promise<AnomalyDetection[]>;
  count(deviceId?: string): Promise<number>;
  deleteByDevice(deviceId: string): Promise<number>;
}