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

rUvcce76f61e35b
diff --git a/v3/@claude-flow/cli/src/commands/embeddings.ts b/v3/@claude-flow/cli/src/commands/embeddings.ts
index 851bc115ec..611f929cfb 100644
--- a/v3/@claude-flow/cli/src/commands/embeddings.ts
+++ b/v3/@claude-flow/cli/src/commands/embeddings.ts
@@ -880,11 +880,12 @@ const hyperbolicCommand: Command = {
switch (action) {
case 'convert': {
const vec = Array.isArray(input[0]) ? input[0] as number[] : input as number[];
- const result = hyperbolic.euclideanToPoincare(vec, { curvature });
+ const rawResult = hyperbolic.euclideanToPoincare(vec, { curvature });
+ const result = Array.from(rawResult);
output.writeln(output.success('Euclidean → Poincaré conversion:'));
output.writeln();
output.writeln(`Input (Euclidean): [${vec.slice(0, 6).map(v => v.toFixed(4)).join(', ')}${vec.length > 6 ? ', ...' : ''}]`);
- output.writeln(`Output (Poincaré): [${result.slice(0, 6).map((v: number) => v.toFixed(4)).join(', ')}${result.length > 6 ? ', ...' : ''}]`);
+ output.writeln(`Output (Poincaré): [${result.slice(0, 6).map(v => v.toFixed(4)).join(', ')}${result.length > 6 ? ', ...' : ''}]`);
output.writeln(`Curvature: ${curvature}`);
output.writeln(`Norm: ${Math.sqrt(result.reduce((s, v) => s + v * v, 0)).toFixed(6)} (must be < 1)`);
return { success: true, data: { result } };