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

rUv3419d1eba2d3
diff --git a/.claude/helpers/context-persistence-hook.mjs b/.claude/helpers/context-persistence-hook.mjs
index e6c655b552..00d30f05fa 100644
--- a/.claude/helpers/context-persistence-hook.mjs
+++ b/.claude/helpers/context-persistence-hook.mjs
@@ -1312,7 +1312,7 @@ async function autoOptimize(backend, backendType) {
} catch { /* non-critical */ }
}
- // Step 4: Generate embeddings for entries missing them (enables semantic search)
+ // Step 4: Generate ONNX embeddings (384-dim) for entries missing them
if (backend.storeEmbedding) {
try {
const rows = backend.db?.prepare?.(
@@ -1320,8 +1320,8 @@ async function autoOptimize(backend, backendType) {
)?.all(NAMESPACE);
if (rows) {
for (const row of rows) {
- const emb = createHashEmbedding(row.content);
- backend.storeEmbedding(row.id, emb);
+ const { embedding } = await createEmbedding(row.content);
+ backend.storeEmbedding(row.id, embedding);
embedded++;
}
}