From cce76f61e35bdc537a885169fb9f883bd4ceb7d3 Mon Sep 17 00:00:00 2001 From: rUv Date: Mon, 12 Jan 2026 23:01:30 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-12T23:01:30Z - Changes: 1 file(s) đŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/commands/embeddings.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 } };