🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUv77e9384911c3
diff --git a/v3/@claude-flow/embeddings/src/types.ts b/v3/@claude-flow/embeddings/src/types.tsindex f4d39b4faf..b7f6e1803b 100644--- a/v3/@claude-flow/embeddings/src/types.ts+++ b/v3/@claude-flow/embeddings/src/types.ts@@ -21,6 +21,25 @@*/export type EmbeddingProvider = 'openai' | 'transformers' | 'mock' | 'agentic-flow';+/**+ * Normalization type for embeddings+ */+export type NormalizationType = 'l2' | 'l1' | 'minmax' | 'zscore' | 'none';++/**+ * Persistent cache configuration+ */+export interface PersistentCacheConfig {+ /** Enable persistent disk cache (requires better-sqlite3) */+ enabled: boolean;+ /** Path to SQLite database file (default: .cache/embeddings.db) */+ dbPath?: string;+ /** Maximum entries in persistent cache (default: 10000) */+ maxSize?: number;+ /** TTL in milliseconds (default: 7 days) */+ ttlMs?: number;+}+/*** Base configuration for all providers*/@@ -36,6 +55,12 @@ export interface EmbeddingBaseConfig {/** Enable caching */enableCache?: boolean;++ /** Normalization type (default: 'none' - most providers pre-normalize) */+ normalization?: NormalizationType;++ /** Persistent disk cache configuration */+ persistentCache?: PersistentCacheConfig;}/**