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

rUv51442779c5fd
diff --git a/v3/@claude-flow/embeddings/src/index.ts b/v3/@claude-flow/embeddings/src/index.ts
index 7166d8654b..cea6caf010 100644
--- a/v3/@claude-flow/embeddings/src/index.ts
+++ b/v3/@claude-flow/embeddings/src/index.ts
@@ -7,6 +7,13 @@
* - Agentic-flow provider (optimized ONNX with SIMD)
* - Mock provider (development/testing)
*
+ * Additional features:
+ * - Persistent SQLite cache
+ * - Document chunking with overlap
+ * - L2/L1/minmax/zscore normalization
+ * - Hyperbolic embeddings (Poincaré ball)
+ * - Neural substrate integration (drift, memory, swarm)
+ *
* @module @claude-flow/embeddings
*/
@@ -30,6 +37,68 @@ export {
export type { AutoEmbeddingConfig } from './embedding-service.js';
+// Chunking utilities
+export {
+ chunkText,
+ estimateTokens,
+ reconstructFromChunks,
+ type ChunkingConfig,
+ type Chunk,
+ type ChunkedDocument,
+} from './chunking.js';
+
+// Normalization utilities
+export {
+ l2Normalize,
+ l2NormalizeInPlace,
+ l1Normalize,
+ minMaxNormalize,
+ zScoreNormalize,
+ normalize,
+ normalizeBatch,
+ l2Norm,
+ isNormalized,
+ centerEmbeddings,
+ type NormalizationOptions,
+} from './normalization.js';
+
+// Hyperbolic embeddings (Poincaré ball)
+export {
+ euclideanToPoincare,
+ poincareToEuclidean,
+ hyperbolicDistance,
+ mobiusAdd,
+ mobiusScalarMul,
+ hyperbolicCentroid,
+ batchEuclideanToPoincare,
+ pairwiseHyperbolicDistances,
+ isInPoincareBall,
+ type HyperbolicConfig,
+} from './hyperbolic.js';
+
+// Persistent cache
+export {
+ PersistentEmbeddingCache,
+ isPersistentCacheAvailable,
+ type PersistentCacheConfig as DiskCacheConfig,
+ type PersistentCacheStats,
+} from './persistent-cache.js';
+
+// Neural substrate integration
+export {
+ NeuralEmbeddingService,
+ createNeuralService,
+ isNeuralAvailable,
+ listEmbeddingModels,
+ downloadEmbeddingModel,
+ type DriftResult,
+ type MemoryEntry,
+ type AgentState,
+ type CoherenceResult,
+ type SubstrateHealth,
+ type NeuralSubstrateConfig,
+} from './neural-integration.js';
+
export type {
EmbeddingProvider,
EmbeddingConfig,
@@ -42,4 +111,6 @@ export type {
IEmbeddingService,
SimilarityMetric,
SimilarityResult,
+ NormalizationType,
+ PersistentCacheConfig,
} from './types.js';