From dc2abef2a564397d0ee6434b4aed3941f0469274 Mon Sep 17 00:00:00 2001 From: Reuven Date: Tue, 7 Apr 2026 08:36:22 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20address=20critical=20#1425=20issues=20?= =?UTF-8?q?=E2=80=94=20real=20quantize,=20honest=20stubs,=20input=20valida?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - neural.ts: quantize now performs actual Float32→Int8 conversion with scale/offset params, reports measured file size ratio instead of hardcoded 3.92x - security.ts: CVE command honestly reports no database configured instead of returning fabricated vulnerability data; threat modeling labeled as STRIDE reference template, not analysis output - agent-tools.ts: agent_spawn returns status 'registered' with note that actual execution requires Task tool or claude -p - agent-tools.ts: validates agentType/agentId/domain via new validate-input.ts before processing - memory-tools.ts: rejects path traversal and shell metacharacters in keys and namespaces - validate-input.ts: new input validation utility for MCP tools with optional @claude-flow/security Zod schema integration - package.json: added @claude-flow/security to optionalDependencies Published as v3.5.69 across @claude-flow/cli, claude-flow, ruflo. Co-Authored-By: claude-flow --- package-lock.json | 4 +- package.json | 2 +- ruflo/package.json | 2 +- v3/@claude-flow/cli/package.json | 3 +- v3/@claude-flow/cli/src/commands/neural.ts | 45 +- v3/@claude-flow/cli/src/commands/security.ts | 69 +-- .../cli/src/mcp-tools/agent-tools.ts | 10 +- .../cli/src/mcp-tools/memory-tools.ts | 12 +- .../cli/src/mcp-tools/validate-input.ts | 145 +++++ v3/package-lock.json | 512 +++++++++++++++--- 10 files changed, 682 insertions(+), 122 deletions(-) create mode 100644 v3/@claude-flow/cli/src/mcp-tools/validate-input.ts diff --git a/package-lock.json b/package-lock.json index 44c38e984f..531c663f59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "claude-flow", - "version": "3.5.64", + "version": "3.5.69", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "claude-flow", - "version": "3.5.64", + "version": "3.5.69", "license": "MIT", "dependencies": { "semver": "^7.6.0", diff --git a/package.json b/package.json index 6a7ed224c1..6ee058429b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-flow", - "version": "3.5.65", + "version": "3.5.69", "description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration", "main": "dist/index.js", "type": "module", diff --git a/ruflo/package.json b/ruflo/package.json index 5094f8cf60..db41f16906 100644 --- a/ruflo/package.json +++ b/ruflo/package.json @@ -1,6 +1,6 @@ { "name": "ruflo", - "version": "3.5.65", + "version": "3.5.69", "description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration", "main": "bin/ruflo.js", "type": "module", diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json index 7f6c3492c2..c814041e36 100644 --- a/v3/@claude-flow/cli/package.json +++ b/v3/@claude-flow/cli/package.json @@ -1,6 +1,6 @@ { "name": "@claude-flow/cli", - "version": "3.5.66", + "version": "3.5.69", "type": "module", "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code", "main": "dist/src/index.js", @@ -101,6 +101,7 @@ }, "optionalDependencies": { "@claude-flow/aidefence": "^3.0.2", + "@claude-flow/security": "^3.0.0-alpha.1", "@claude-flow/codex": "^3.0.0-alpha.8", "@claude-flow/embeddings": "^3.0.0-alpha.12", "@claude-flow/guidance": "^3.0.0-alpha.1", diff --git a/v3/@claude-flow/cli/src/commands/neural.ts b/v3/@claude-flow/cli/src/commands/neural.ts index bed121cbc9..4c146e39bc 100644 --- a/v3/@claude-flow/cli/src/commands/neural.ts +++ b/v3/@claude-flow/cli/src/commands/neural.ts @@ -810,22 +810,45 @@ const optimizeCommand: Command = { spinner.setText('Quantizing pattern embeddings to Int8...'); let quantizedCount = 0; - let memoryReduction = 0; + let totalBeforeValues = 0; + let totalAfterValues = 0; for (const pattern of patterns) { if (pattern.embedding && pattern.embedding.length > 0) { - // Float32 (4 bytes) -> Int8 (1 byte) = 4x reduction - const beforeBytes = pattern.embedding.length * 4; - const afterBytes = pattern.embedding.length; // Int8 - memoryReduction += beforeBytes - afterBytes; + totalBeforeValues += pattern.embedding.length; + + // Actually quantize: scale Float32 values to Int8 range [-128, 127] + const emb = pattern.embedding; + let min = Infinity, max = -Infinity; + for (const v of emb) { + if (v < min) min = v; + if (v > max) max = v; + } + const range = max - min || 1; + const scale = 255 / range; + const offset = min; + + // Convert in-place to quantized integer values + for (let i = 0; i < emb.length; i++) { + emb[i] = Math.round((emb[i] - offset) * scale) - 128; + } + + // Store quantization params for dequantization (extra fields survive JSON serialization) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const p = pattern as any; + p.quantized = true; + p.quantScale = scale; + p.quantOffset = offset; + + totalAfterValues += pattern.embedding.length; quantizedCount++; } } - // Save optimized patterns + // Save actually-quantized patterns (integers serialize smaller in JSON) await flushPatterns(); - // Get after size + // Measure real file size after quantization let afterSize = beforeSize; try { const patternFile = path.join(patternDir, 'patterns.json'); @@ -834,7 +857,9 @@ const optimizeCommand: Command = { } } catch { /* ignore */ } - spinner.succeed(`Quantized ${quantizedCount} patterns`); + const actualRatio = beforeSize > 0 && afterSize > 0 ? (beforeSize / afterSize) : 0; + + spinner.succeed(`Quantized ${quantizedCount} pattern embeddings to Int8`); output.writeln(); output.printTable({ @@ -845,9 +870,9 @@ const optimizeCommand: Command = { ], data: [ { metric: 'Pattern Count', before: String(patterns.length), after: String(patterns.length) }, + { metric: 'Quantized', before: '-', after: String(quantizedCount) }, { metric: 'Storage Size', before: `${(beforeSize / 1024).toFixed(1)} KB`, after: `${(afterSize / 1024).toFixed(1)} KB` }, - { metric: 'Embedding Memory', before: `${((memoryReduction * 4) / 1024).toFixed(1)} KB`, after: `${(memoryReduction / 1024).toFixed(1)} KB` }, - { metric: 'Memory Reduction', before: '-', after: `~${(3.92).toFixed(2)}x (Int8)` }, + { metric: 'Reduction Ratio', before: '-', after: actualRatio > 0 ? `${actualRatio.toFixed(2)}x` : 'N/A (no data)' }, { metric: 'Precision', before: 'Float32', after: 'Int8 (±0.5%)' }, ], }); diff --git a/v3/@claude-flow/cli/src/commands/security.ts b/v3/@claude-flow/cli/src/commands/security.ts index 28798255f3..18f1669f80 100644 --- a/v3/@claude-flow/cli/src/commands/security.ts +++ b/v3/@claude-flow/cli/src/commands/security.ts @@ -262,37 +262,21 @@ const cveCommand: Command = { output.writeln(output.bold('CVE Database')); output.writeln(output.dim('─'.repeat(50))); + output.writeln(output.warning('⚠ No CVE database configured.')); + output.writeln(output.dim('This command requires a CVE data source (e.g., NVD API) which is not yet integrated.')); + output.writeln(); + if (checkCve) { - output.printBox([ - `CVE ID: ${checkCve}`, - `Severity: CRITICAL (9.8)`, - `Status: Active`, - ``, - `Description: Remote code execution vulnerability`, - `Affected: lodash < 4.17.21`, - `Fix: Upgrade to lodash >= 4.17.21`, - ``, - `References:`, - ` - https://nvd.nist.gov/vuln/detail/${checkCve}`, - ` - https://github.com/advisories`, - ].join('\n'), 'CVE Details'); + output.writeln(`To look up ${output.bold(checkCve)}, use one of these real sources:`); } else { - output.writeln(output.warning('⚠ No real CVE database configured. Showing example data.')); - output.writeln(output.dim('Run "npm audit" or "claude-flow security scan" for real vulnerability detection.')); - output.writeln(); - output.printTable({ - columns: [ - { key: 'id', header: 'CVE ID (Example)', width: 22 }, - { key: 'severity', header: 'Severity', width: 12 }, - { key: 'package', header: 'Package', width: 20 }, - { key: 'status', header: 'Status', width: 15 }, - ], - data: [ - { id: 'CVE-YYYY-NNNN', severity: output.error('CRITICAL'), package: 'example-pkg@1.0.0', status: output.warning('Example') }, - { id: 'CVE-YYYY-NNNN', severity: output.warning('HIGH'), package: 'example-pkg@2.0.0', status: output.success('Example') }, - { id: 'CVE-YYYY-NNNN', severity: output.info('MEDIUM'), package: 'example-pkg@3.0.0', status: output.success('Example') }, - ], - }); + output.writeln('To check for real vulnerabilities, use:'); + } + + output.writeln(); + output.writeln(` ${output.dim('$')} npm audit ${output.dim('# dependency vulnerabilities')}`); + output.writeln(` ${output.dim('$')} claude-flow security scan ${output.dim('# real code + dependency scan')}`); + if (checkCve) { + output.writeln(` ${output.dim('$')} open https://nvd.nist.gov/vuln/detail/${checkCve} ${output.dim('# NVD lookup')}`); } return { success: true }; @@ -319,23 +303,30 @@ const threatsCommand: Command = { output.writeln(output.bold(`Threat Model: ${model.toUpperCase()}`)); output.writeln(output.dim('─'.repeat(50))); + output.writeln(output.warning('⚠ Automated threat modeling is not yet implemented.')); + output.writeln(output.dim('The table below is a STRIDE reference template, not an analysis of your code.')); + output.writeln(); + output.printTable({ columns: [ - { key: 'category', header: 'Category', width: 20 }, - { key: 'threat', header: 'Threat', width: 30 }, - { key: 'risk', header: 'Risk', width: 10 }, - { key: 'mitigation', header: 'Mitigation', width: 30 }, + { key: 'category', header: `${model.toUpperCase()} Category`, width: 20 }, + { key: 'description', header: 'What to Assess', width: 40 }, + { key: 'example', header: 'Example Mitigation', width: 30 }, ], data: [ - { category: 'Spoofing', threat: 'API key theft', risk: output.error('High'), mitigation: 'Use secure key storage' }, - { category: 'Tampering', threat: 'Data manipulation', risk: output.warning('Medium'), mitigation: 'Input validation' }, - { category: 'Repudiation', threat: 'Action denial', risk: output.info('Low'), mitigation: 'Audit logging' }, - { category: 'Info Disclosure', threat: 'Data leakage', risk: output.error('High'), mitigation: 'Encryption at rest' }, - { category: 'DoS', threat: 'Resource exhaustion', risk: output.warning('Medium'), mitigation: 'Rate limiting' }, - { category: 'Elevation', threat: 'Privilege escalation', risk: output.error('High'), mitigation: 'RBAC implementation' }, + { category: 'Spoofing', description: 'Can an attacker impersonate a user or service?', example: 'Strong authentication, mTLS' }, + { category: 'Tampering', description: 'Can data or code be modified without detection?', example: 'Input validation, integrity checks' }, + { category: 'Repudiation', description: 'Can actions be performed without accountability?', example: 'Audit logging, signed commits' }, + { category: 'Info Disclosure', description: 'Can sensitive data leak to unauthorized parties?', example: 'Encryption at rest and in transit' }, + { category: 'DoS', description: 'Can service availability be degraded?', example: 'Rate limiting, resource quotas' }, + { category: 'Elevation', description: 'Can privileges be escalated beyond granted level?', example: 'RBAC, principle of least privilege' }, ], }); + output.writeln(); + output.writeln(output.dim('For real threat modeling, review your architecture manually using this framework.')); + output.writeln(output.dim('Run "claude-flow security scan" for automated vulnerability detection.')); + return { success: true }; }, }; diff --git a/v3/@claude-flow/cli/src/mcp-tools/agent-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/agent-tools.ts index 5149a3c362..4420b1bdee 100644 --- a/v3/@claude-flow/cli/src/mcp-tools/agent-tools.ts +++ b/v3/@claude-flow/cli/src/mcp-tools/agent-tools.ts @@ -8,6 +8,7 @@ import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs'; import { join } from 'node:path'; import { type MCPTool, getProjectCwd } from './types.js'; +import { validateIdentifier, validateAgentSpawn } from './validate-input.js'; // Storage paths const STORAGE_DIR = '.claude-flow'; @@ -197,6 +198,12 @@ export const agentTools: MCPTool[] = [ required: ['agentType'], }, handler: async (input) => { + // Validate user-provided input (#1425: wire security validators to runtime) + const validation = await validateAgentSpawn(input); + if (!validation.valid) { + return { success: false, error: `Input validation failed: ${validation.errors.join('; ')}` }; + } + const store = loadAgentStore(); const agentId = (input.agentId as string) || `agent-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`; const agentType = input.agentType as string; @@ -240,8 +247,9 @@ export const agentTools: MCPTool[] = [ agentType: agent.agentType, model: agent.model, modelRoutedBy: routingResult.routedBy, - status: 'spawned', + status: 'registered', createdAt: agent.createdAt, + note: 'Agent registered for coordination. Use Claude Code Task tool or claude -p to execute work.', }; // Add Agent Booster info if task can skip LLM diff --git a/v3/@claude-flow/cli/src/mcp-tools/memory-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/memory-tools.ts index 674a556bd9..12716425e7 100644 --- a/v3/@claude-flow/cli/src/mcp-tools/memory-tools.ts +++ b/v3/@claude-flow/cli/src/mcp-tools/memory-tools.ts @@ -58,7 +58,7 @@ const MAX_KEY_LENGTH = 1024; const MAX_VALUE_SIZE = 1024 * 1024; // 1MB const MAX_QUERY_LENGTH = 4096; -function validateMemoryInput(key?: string, value?: string, query?: string): void { +function validateMemoryInput(key?: string, value?: string, query?: string, namespace?: string): void { if (key && key.length > MAX_KEY_LENGTH) { throw new Error(`Key exceeds maximum length of ${MAX_KEY_LENGTH} characters`); } @@ -68,6 +68,14 @@ function validateMemoryInput(key?: string, value?: string, query?: string): void if (query && query.length > MAX_QUERY_LENGTH) { throw new Error(`Query exceeds maximum length of ${MAX_QUERY_LENGTH} characters`); } + // Reject path traversal and shell metacharacters in keys/namespaces (#1425) + const dangerousPattern = /[;&|`$(){}[\]<>!#\\\0]|\.\.[/\\]/; + if (key && dangerousPattern.test(key)) { + throw new Error('Key contains disallowed characters'); + } + if (namespace && dangerousPattern.test(namespace)) { + throw new Error('Namespace contains disallowed characters'); + } } /** @@ -215,7 +223,7 @@ export const memoryTools: MCPTool[] = [ }; } - validateMemoryInput(key, value); + validateMemoryInput(key, value, undefined, namespace); const startTime = performance.now(); diff --git a/v3/@claude-flow/cli/src/mcp-tools/validate-input.ts b/v3/@claude-flow/cli/src/mcp-tools/validate-input.ts new file mode 100644 index 0000000000..6f7bfdd326 --- /dev/null +++ b/v3/@claude-flow/cli/src/mcp-tools/validate-input.ts @@ -0,0 +1,145 @@ +/** + * Input Validation for MCP Tools + * + * Loads @claude-flow/security validators when available + * and provides lightweight fallback validation otherwise. + * + * Addresses #1425: security validators were implemented but never wired to runtime. + */ + +// Patterns for input sanitization (inline — no external dependency required) +const SHELL_META = /[;&|`$(){}[\]<>!#\\]/; +const PATH_TRAVERSAL = /\.\.[/\\]/; +const IDENTIFIER_RE = /^[a-zA-Z0-9_][a-zA-Z0-9_\-.:]{0,127}$/; + +export interface ValidationResult { + valid: boolean; + sanitized: string; + error?: string; +} + +/** + * Validate an identifier (agent ID, agent type, namespace, key, etc.) + * Rejects shell metacharacters and path traversal. + */ +export function validateIdentifier(value: unknown, label: string): ValidationResult { + if (typeof value !== 'string' || value.length === 0) { + return { valid: false, sanitized: '', error: `${label} must be a non-empty string` }; + } + if (value.length > 128) { + return { valid: false, sanitized: '', error: `${label} exceeds 128 characters` }; + } + if (SHELL_META.test(value)) { + return { valid: false, sanitized: '', error: `${label} contains disallowed characters` }; + } + if (PATH_TRAVERSAL.test(value)) { + return { valid: false, sanitized: '', error: `${label} contains path traversal` }; + } + if (!IDENTIFIER_RE.test(value)) { + return { valid: false, sanitized: '', error: `${label} contains invalid characters (allowed: alphanumeric, _, -, ., :)` }; + } + return { valid: true, sanitized: value }; +} + +/** + * Validate a file path (prevents traversal and shell injection). + */ +export function validatePath(value: unknown, label: string): ValidationResult { + if (typeof value !== 'string' || value.length === 0) { + return { valid: false, sanitized: '', error: `${label} must be a non-empty string` }; + } + if (value.length > 4096) { + return { valid: false, sanitized: '', error: `${label} exceeds 4096 characters` }; + } + if (PATH_TRAVERSAL.test(value)) { + return { valid: false, sanitized: '', error: `${label} contains path traversal (..)` }; + } + if (SHELL_META.test(value)) { + return { valid: false, sanitized: '', error: `${label} contains shell metacharacters` }; + } + return { valid: true, sanitized: value }; +} + +/** + * Validate a free-text string (description, value, etc.) + * Allows most characters but rejects shell metacharacters that could cause injection. + */ +export function validateText(value: unknown, label: string, maxLen = 10_000): ValidationResult { + if (typeof value !== 'string') { + return { valid: false, sanitized: '', error: `${label} must be a string` }; + } + if (value.length > maxLen) { + return { valid: false, sanitized: '', error: `${label} exceeds ${maxLen} characters` }; + } + // Strip null bytes + const sanitized = value.replace(/\0/g, ''); + return { valid: true, sanitized }; +} + +/** + * Assert validation or throw with a structured error. + */ +export function assertValid(result: ValidationResult): string { + if (!result.valid) { + throw new Error(`Validation failed: ${result.error}`); + } + return result.sanitized; +} + +// Try to load the full @claude-flow/security module for enhanced validation +// eslint-disable-next-line @typescript-eslint/no-explicit-any +let _securityModule: Record | null = null; +let _securityLoaded = false; + +async function getSecurityModule(): Promise | null> { + if (_securityLoaded) return _securityModule; + _securityLoaded = true; + try { + // Dynamic import — @claude-flow/security is an optional dependency + _securityModule = await (Function('return import("@claude-flow/security")')() as Promise>); + } catch { + // @claude-flow/security is optional — fallback to inline validation above + } + return _securityModule; +} + +/** + * Enhanced validation using @claude-flow/security Zod schemas when available. + * Falls back to inline regex validation otherwise. + */ +export async function validateAgentSpawn(input: Record): Promise<{ valid: boolean; errors: string[] }> { + const errors: string[] = []; + + // Always run inline validation + if (input.agentType) { + const r = validateIdentifier(input.agentType, 'agentType'); + if (!r.valid) errors.push(r.error!); + } + if (input.agentId) { + const r = validateIdentifier(input.agentId, 'agentId'); + if (!r.valid) errors.push(r.error!); + } + if (input.domain) { + const r = validateIdentifier(input.domain, 'domain'); + if (!r.valid) errors.push(r.error!); + } + + // Try enhanced Zod validation if available + const sec = await getSecurityModule(); + if (sec?.SpawnAgentSchema) { + try { + sec.SpawnAgentSchema.parse({ + agentType: input.agentType, + name: input.agentId, + }); + } catch (zodErr: any) { + if (zodErr.issues) { + for (const issue of zodErr.issues) { + errors.push(`${issue.path.join('.')}: ${issue.message}`); + } + } + } + } + + return { valid: errors.length === 0, errors }; +} diff --git a/v3/package-lock.json b/v3/package-lock.json index 4d7a23d6b1..d2f88832f6 100644 --- a/v3/package-lock.json +++ b/v3/package-lock.json @@ -1789,7 +1789,8 @@ } }, "@claude-flow/cli": { - "version": "3.5.53", + "version": "3.5.69", + "hasInstallScript": true, "license": "MIT", "dependencies": { "@claude-flow/mcp": "^3.0.0-alpha.8", @@ -1813,12 +1814,16 @@ "@claude-flow/guidance": "^3.0.0-alpha.1", "@claude-flow/memory": "^3.0.0-alpha.12", "@claude-flow/plugin-gastown-bridge": "^0.1.3", - "@ruvector/attention": "^0.1.4", + "@claude-flow/security": "^3.0.0-alpha.1", + "@ruvector/attention": "^0.1.32", + "@ruvector/attention-darwin-arm64": "0.1.32", + "@ruvector/diskann": "^0.1.0", "@ruvector/learning-wasm": "^0.1.29", - "@ruvector/router": "^0.1.27", + "@ruvector/router": "^0.1.30", "@ruvector/ruvllm-wasm": "^2.0.2", "@ruvector/rvagent-wasm": "^0.1.0", "@ruvector/sona": "^0.1.5", + "agentdb": "^3.0.0-alpha.11", "agentic-flow": "^3.0.0-alpha.1" } }, @@ -1919,6 +1924,48 @@ "node": ">=18.0.0" } }, + "@claude-flow/cli/node_modules/@ruvector/ruvllm": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/@ruvector/ruvllm/-/ruvllm-2.5.4.tgz", + "integrity": "sha512-EUdKvRDBxS/WDqA2Wl0gC1zhlklkWnbob72iJpyu3TcBTRHY8JTM3bqA5c9GyDmD74iRGTGfbfw4lVnS7CT8eg==", + "license": "MIT OR Apache-2.0", + "optional": true, + "dependencies": { + "chalk": "^4.1.2", + "commander": "^12.0.0", + "ora": "^5.4.1" + }, + "bin": { + "ruvllm": "bin/cli.js" + }, + "engines": { + "node": ">= 18" + }, + "optionalDependencies": { + "@ruvector/ruvllm-darwin-arm64": "2.3.0", + "@ruvector/ruvllm-darwin-x64": "2.3.0", + "@ruvector/ruvllm-linux-arm64-gnu": "2.3.0", + "@ruvector/ruvllm-linux-x64-gnu": "2.3.0", + "@ruvector/ruvllm-win32-x64-msvc": "2.3.0" + } + }, + "@claude-flow/cli/node_modules/@ruvector/ruvllm/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "@claude-flow/cli/node_modules/accepts": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", @@ -1934,29 +1981,50 @@ } }, "@claude-flow/cli/node_modules/agentdb": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/agentdb/-/agentdb-1.6.1.tgz", - "integrity": "sha512-OO/hwO+MYtqsgz+6CyrY2BCjcgRWGv5Ob7nFupNEt7m1ZchIArCwvBAcJgFMFNFqWxH6AN2ThiQKBmfXboBkPg==", + "version": "3.0.0-alpha.11", + "resolved": "https://registry.npmjs.org/agentdb/-/agentdb-3.0.0-alpha.11.tgz", + "integrity": "sha512-MMxq0/Pxv6+aUlImK6bLOxNV1f9duajRWAt4aZXUtwMMfCUkiOvpO/DyJp4AIM+EwerVjkSwipGOAfTvyH28Cg==", "hasInstallScript": true, "license": "MIT", "optional": true, "dependencies": { "@modelcontextprotocol/sdk": "^1.20.1", - "@xenova/transformers": "^2.17.2", - "chalk": "^5.3.0", - "commander": "^12.1.0", - "hnswlib-node": "^3.0.0", - "sql.js": "^1.13.0", - "zod": "^3.25.76" + "@opentelemetry/api": "^1.9.0", + "@ruvector/graph-transformer": "^2.0.4", + "ajv": "^8.18.0", + "jsonwebtoken": "^9.0.2", + "sql.js": "^1.13.0" }, "bin": { - "agentdb": "dist/cli/agentdb-cli.js" + "agentdb": "dist/src/cli/agentdb-cli.js" }, "engines": { "node": ">=18.0.0" }, "optionalDependencies": { - "better-sqlite3": "^11.8.1" + "@opentelemetry/resources": "^1.25.0", + "@opentelemetry/sdk-node": "^0.52.0", + "@opentelemetry/semantic-conventions": "^1.25.0", + "@ruvector/attention": "^0.1.2", + "@ruvector/gnn": "^0.1.23", + "@ruvector/graph-node": "^2.0.2", + "@ruvector/router": "^0.1.15", + "@ruvector/ruvllm": "^2.5.1", + "@ruvector/rvf": "^0.1.9", + "@ruvector/rvf-node": "^0.1.7", + "@ruvector/rvf-solver": "^0.1.7", + "@ruvector/rvf-wasm": "^0.1.6", + "@ruvector/sona": "^0.1.4", + "@xenova/transformers": "^2.17.2", + "argon2": "^0.44.0", + "better-sqlite3": "^11.8.1", + "chalk": "^5.3.0", + "commander": "^12.1.0", + "hnswlib-node": "^3.0.0", + "inquirer": "^9.3.8", + "ruvector": "^0.1.30", + "ruvector-attention-wasm": "^0.1.32", + "ruvector-graph-transformer-wasm": "^2.0.4" } }, "@claude-flow/cli/node_modules/agentic-flow": { @@ -1998,6 +2066,44 @@ "node": ">=18.0.0" } }, + "@claude-flow/cli/node_modules/agentic-flow/node_modules/agentdb": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/agentdb/-/agentdb-1.6.1.tgz", + "integrity": "sha512-OO/hwO+MYtqsgz+6CyrY2BCjcgRWGv5Ob7nFupNEt7m1ZchIArCwvBAcJgFMFNFqWxH6AN2ThiQKBmfXboBkPg==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@modelcontextprotocol/sdk": "^1.20.1", + "@xenova/transformers": "^2.17.2", + "chalk": "^5.3.0", + "commander": "^12.1.0", + "hnswlib-node": "^3.0.0", + "sql.js": "^1.13.0", + "zod": "^3.25.76" + }, + "bin": { + "agentdb": "dist/cli/agentdb-cli.js" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "better-sqlite3": "^11.8.1" + } + }, + "@claude-flow/cli/node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "@claude-flow/cli/node_modules/body-parser": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", @@ -2023,6 +2129,44 @@ "url": "https://opencollective.com/express" } }, + "@claude-flow/cli/node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "@claude-flow/cli/node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "license": "MIT", + "optional": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, "@claude-flow/cli/node_modules/content-disposition": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz", @@ -2140,6 +2284,63 @@ "url": "https://opencollective.com/express" } }, + "@claude-flow/cli/node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "@claude-flow/cli/node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "@claude-flow/cli/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "license": "MIT", + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "@claude-flow/cli/node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "@claude-flow/cli/node_modules/media-typer": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", @@ -2190,6 +2391,16 @@ "url": "https://opencollective.com/express" } }, + "@claude-flow/cli/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, "@claude-flow/cli/node_modules/negotiator": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", @@ -2200,6 +2411,77 @@ "node": ">= 0.6" } }, + "@claude-flow/cli/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "@claude-flow/cli/node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "license": "MIT", + "optional": true, + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "@claude-flow/cli/node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "@claude-flow/cli/node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "license": "MIT", + "optional": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, "@claude-flow/cli/node_modules/send": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", @@ -8371,22 +8653,22 @@ ] }, "node_modules/@ruvector/attention": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention/-/attention-0.1.31.tgz", - "integrity": "sha512-xZC1EKuR8dop64LGy0wDyiMmMnxZtTalvIy3hZSCQglM8jxV+zlj1xPDiAQVl/aZZJ59K1UaGq3J1U552EOSxA==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention/-/attention-0.1.32.tgz", + "integrity": "sha512-7ePEASX4+Y8qVU2p2CszL/fgP+E3BRSZm7oukDaTwED5HSrw1jdQk75LijR488s3dYYeHdgoSv67P+WWHbM98A==", "license": "MIT", "optionalDependencies": { - "@ruvector/attention-darwin-arm64": "0.1.31", - "@ruvector/attention-darwin-x64": "0.1.31", - "@ruvector/attention-linux-arm64-gnu": "0.1.31", - "@ruvector/attention-linux-x64-gnu": "0.1.31", - "@ruvector/attention-win32-x64-msvc": "0.1.31" + "@ruvector/attention-darwin-arm64": "0.1.32", + "@ruvector/attention-darwin-x64": "0.1.32", + "@ruvector/attention-linux-arm64-gnu": "0.1.32", + "@ruvector/attention-linux-x64-gnu": "0.1.32", + "@ruvector/attention-win32-x64-msvc": "0.1.32" } }, "node_modules/@ruvector/attention-darwin-arm64": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention-darwin-arm64/-/attention-darwin-arm64-0.1.31.tgz", - "integrity": "sha512-9gOug/T0q5OCR65g1AKxWaJSTqTMa7kSAFH1sH2VeoNzqWr++EEOTE68vtajYSpNvM+r8788ehApCqjVW5mhHA==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention-darwin-arm64/-/attention-darwin-arm64-0.1.32.tgz", + "integrity": "sha512-CQ/oftq9o9t2EEBwCfUfdZsxuzHRXrHhtdZk05GZfvPxiDbsuw3NLgDQRR3cvg+8xU9lAmzer+8WCGdxbgX7vQ==", "cpu": [ "arm64" ], @@ -8397,9 +8679,9 @@ ] }, "node_modules/@ruvector/attention-darwin-x64": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention-darwin-x64/-/attention-darwin-x64-0.1.31.tgz", - "integrity": "sha512-nBxQYRPU3+Z3Q8Qq4BFr/NTgw9QKjoh04vqYzECfJQJyyleIpDPWJpCwU3nhDy+4yMLdBQpQa8HYr2/C9rHCnQ==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention-darwin-x64/-/attention-darwin-x64-0.1.32.tgz", + "integrity": "sha512-S11zMfLn+nZJlozLE4b8zVERdSTzD4DJ4Xb+bAUavTLrptYdIhJ0EzqPvCjF1XcSyAgAAkE9+u0oLEjVmAhT3Q==", "cpu": [ "x64" ], @@ -8410,9 +8692,9 @@ ] }, "node_modules/@ruvector/attention-linux-arm64-gnu": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention-linux-arm64-gnu/-/attention-linux-arm64-gnu-0.1.31.tgz", - "integrity": "sha512-2Via10Rlfg+wzKANHsBZN01JXlONeTclPJxlYSpdsJPQ7UNlEEQ69/6y1R8sz+Ym1AE7whG0h5YWrqEyhhNcKg==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention-linux-arm64-gnu/-/attention-linux-arm64-gnu-0.1.32.tgz", + "integrity": "sha512-eySb6dYHy1WZ3RWuR80PP9r3X6wDWrTZ26bzZ7jEhg3o61bYwoRJ9BphSj0cSUdz1OMwcu163M/ddR1SM8/Ieg==", "cpu": [ "arm64" ], @@ -8423,9 +8705,9 @@ ] }, "node_modules/@ruvector/attention-linux-x64-gnu": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention-linux-x64-gnu/-/attention-linux-x64-gnu-0.1.31.tgz", - "integrity": "sha512-IXUZeS1g6V6+KYUOCy0IlVom19262stsNnoajfpUPct7udtHmD/wr3yJ6XbWxivZ2pNV7Na+z21R0oMiCGk+jA==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention-linux-x64-gnu/-/attention-linux-x64-gnu-0.1.32.tgz", + "integrity": "sha512-Xch9eOJVMPouOB3L05VUHVA8RofzRnXh6tpEpIScSrkG6oqHwWaVf4Ku8SHe5YZ3FIsM+Oj1jrv11jtN56rpDg==", "cpu": [ "x64" ], @@ -8436,9 +8718,9 @@ ] }, "node_modules/@ruvector/attention-win32-x64-msvc": { - "version": "0.1.31", - "resolved": "https://registry.npmjs.org/@ruvector/attention-win32-x64-msvc/-/attention-win32-x64-msvc-0.1.31.tgz", - "integrity": "sha512-eRtFASeJhWCiYC+Lcyg1pwQV+ky6PciVj+o56BchpA+36SLEvYPziIAaJ8KYaMp3zVAFadNiM3DYCmvjxB/n6A==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/@ruvector/attention-win32-x64-msvc/-/attention-win32-x64-msvc-0.1.32.tgz", + "integrity": "sha512-KMeo9ruZySGtyw1NFIE/6wWoGgPa07FhUplCVP75Y3y5JSFXrd6NjgEIfSItQOZ0RVRzTeXuUglkOzMo0kb/6Q==", "cpu": [ "x64" ], @@ -8464,6 +8746,103 @@ "ruvector-core-win32-x64-msvc": "0.1.29" } }, + "node_modules/@ruvector/diskann": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann/-/diskann-0.1.0.tgz", + "integrity": "sha512-PdhDpQPN7Ch+67LbZCFgosoJ+TmNczTL2X1my+Qh9ejFpPAFwfmE1gTco1HHBA7Vo0gdmB8GxttbqbG+I9vxiQ==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "@ruvector/diskann-darwin-arm64": "0.1.0", + "@ruvector/diskann-darwin-x64": "0.1.0", + "@ruvector/diskann-linux-arm64-gnu": "0.1.0", + "@ruvector/diskann-linux-x64-gnu": "0.1.0", + "@ruvector/diskann-win32-x64-msvc": "0.1.0" + } + }, + "node_modules/@ruvector/diskann-darwin-arm64": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann-darwin-arm64/-/diskann-darwin-arm64-0.1.0.tgz", + "integrity": "sha512-QMw34e96mbgXBkCALtIFQcQhx+Ic9uKf3XYKulT9Ibk3+GN9pdVDUldUZa1m9LZnzz/M8yCcl/9E90lr6hgEag==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 18" + } + }, + "node_modules/@ruvector/diskann-darwin-x64": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann-darwin-x64/-/diskann-darwin-x64-0.1.0.tgz", + "integrity": "sha512-BpZHgwyxlqZXluFq937KhQZQRLoHq1mPCgbacZAO4nphhpoOWuT4li2vSv3FueYGpzyfFYu27lCJNg05S7r/hw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 18" + } + }, + "node_modules/@ruvector/diskann-linux-arm64-gnu": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann-linux-arm64-gnu/-/diskann-linux-arm64-gnu-0.1.0.tgz", + "integrity": "sha512-nw2oc/172ZTd1ToQj6bbSkiQavJaU/xfOEW5IQzKMs/Jr3lMvEc9u/AiDBVoMaTe1b2zSjUi4y3n8bDU9Tg1ZQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 18" + } + }, + "node_modules/@ruvector/diskann-linux-x64-gnu": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann-linux-x64-gnu/-/diskann-linux-x64-gnu-0.1.0.tgz", + "integrity": "sha512-lRYcowyOiD4edl84PZQ2bwAlH4qTAAXr7G73rFIcwsf53iUm++qG1CgjGcUF9iI8FeEy4BIUgVheVywNOHLYsw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 18" + } + }, + "node_modules/@ruvector/diskann-win32-x64-msvc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@ruvector/diskann-win32-x64-msvc/-/diskann-win32-x64-msvc-0.1.0.tgz", + "integrity": "sha512-IAk0Tjco/WSRe6z7k6kR9JzmssMv6g7sg8JaknxbH5HexbKWloh07E9cgoOp2gtciyT1mYF66FgJaamUmHzmqA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 18" + } + }, "node_modules/@ruvector/edge-full": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/@ruvector/edge-full/-/edge-full-0.1.0.tgz", @@ -8823,25 +9202,25 @@ "optional": true }, "node_modules/@ruvector/router": { - "version": "0.1.28", - "resolved": "https://registry.npmjs.org/@ruvector/router/-/router-0.1.28.tgz", - "integrity": "sha512-bXqZF3wMypjnCm989fkty2H7LnmDw4sAJ0ClXzDjBwjV2wg7oZPdk8NiioLZh72CEZBsTll3NkLzZRyi6CiyBQ==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router/-/router-0.1.30.tgz", + "integrity": "sha512-gtZAdxp0UYrOJd3Kz+kNtFNfG53aW2xkZ7u3XNT+JdViTEVnpYMEdDfpc2ByQBy+kf600Cp5xVMQR3qVXajWtw==", "license": "MIT", "engines": { "node": ">=18.0.0" }, "optionalDependencies": { - "@ruvector/router-darwin-arm64": "0.1.27", - "@ruvector/router-darwin-x64": "0.1.27", - "@ruvector/router-linux-arm64-gnu": "0.1.27", - "@ruvector/router-linux-x64-gnu": "0.1.27", - "@ruvector/router-win32-x64-msvc": "0.1.27" + "@ruvector/router-darwin-arm64": "0.1.30", + "@ruvector/router-darwin-x64": "0.1.30", + "@ruvector/router-linux-arm64-gnu": "0.1.30", + "@ruvector/router-linux-x64-gnu": "0.1.30", + "@ruvector/router-win32-x64-msvc": "0.1.30" } }, "node_modules/@ruvector/router-darwin-arm64": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/@ruvector/router-darwin-arm64/-/router-darwin-arm64-0.1.27.tgz", - "integrity": "sha512-T2iEdhNb83vxVVToNJQJLRo/EwHe4h1PmUf7WhAMLBEVE4HBaLTvRDTGfa4r2MPXvAplGSinWJpIE5MAfobSsQ==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router-darwin-arm64/-/router-darwin-arm64-0.1.30.tgz", + "integrity": "sha512-TWC8ei18jlODekVwSyzEC55XUnmgU+br1cD/w7I3iEW6FL6Vbl3neZU8b03cHtgEN9xxnrKDRr7jq3T41UY40A==", "cpu": [ "arm64" ], @@ -8851,13 +9230,13 @@ "darwin" ], "engines": { - "node": ">= 18" + "node": ">=18.0.0" } }, "node_modules/@ruvector/router-darwin-x64": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/@ruvector/router-darwin-x64/-/router-darwin-x64-0.1.27.tgz", - "integrity": "sha512-4NrPdv6Isy68m60K8IW7242S1fm9JIYe5a/gBdtKLRFzPtwt69LwW1U8BGz77lchLIL9rGu2sxL2g7tTCrBn0A==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router-darwin-x64/-/router-darwin-x64-0.1.30.tgz", + "integrity": "sha512-nxnPGUx2BYAgSzJ3bC/hiCOVAPnAORvJToKnwRV3V+b/KhuUd09qSEP1ykUjbT4Y8oxnA4DklTvVTMwKRFFE1w==", "cpu": [ "x64" ], @@ -8871,9 +9250,9 @@ } }, "node_modules/@ruvector/router-linux-arm64-gnu": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/@ruvector/router-linux-arm64-gnu/-/router-linux-arm64-gnu-0.1.27.tgz", - "integrity": "sha512-e034ieW9RZ9Mbk1WkJPVSK4emgjQH8PdSFcl3LIEJsVntDZ5FzjujbLWkcCe0L+41Q0AwTV1V9pCaS2qrXyE0g==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router-linux-arm64-gnu/-/router-linux-arm64-gnu-0.1.30.tgz", + "integrity": "sha512-7FD16wlCVgQ+4Zvd3d5noTRrCpbT2SvEzmhVj+L9HVV3u8NHCfHVLSb8gObf9RS9PW1X4pm60b5X39SgxKbDTg==", "cpu": [ "arm64" ], @@ -8887,9 +9266,9 @@ } }, "node_modules/@ruvector/router-linux-x64-gnu": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/@ruvector/router-linux-x64-gnu/-/router-linux-x64-gnu-0.1.27.tgz", - "integrity": "sha512-YxAU8qqTizX3eK4P/w5DJcdH1a+8aSuc/hCyd8FKbacf1u0Ij6YlDD1GplvYmPo/1n1aVDgyIB/CtcoRvB7IvQ==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router-linux-x64-gnu/-/router-linux-x64-gnu-0.1.30.tgz", + "integrity": "sha512-NHognWMJBEfoRt5+22TvYAoA+XPzZpd1DHP3z4fLAoKI85SZOqYy9sxyZo/oyYVsMDPrrBJKi3wdufPzgLFeOQ==", "cpu": [ "x64" ], @@ -8903,9 +9282,9 @@ } }, "node_modules/@ruvector/router-win32-x64-msvc": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/@ruvector/router-win32-x64-msvc/-/router-win32-x64-msvc-0.1.27.tgz", - "integrity": "sha512-dt5xGLvmHsfRbX6+pogHb9xpRBNFpBbWtR9FfptWT9vefMHdd5imYJF4QWyOxQsF9OHl9IATnlx7kvGIijgKfg==", + "version": "0.1.30", + "resolved": "https://registry.npmjs.org/@ruvector/router-win32-x64-msvc/-/router-win32-x64-msvc-0.1.30.tgz", + "integrity": "sha512-E9j57ZMVS9CvHYwlPyBEZfmbMoMySWePUcqlhktglZbA22BD1soYUgIKPf2jUkEJTLfxvwLDqBjtyNThXAojiQ==", "cpu": [ "x64" ], @@ -21369,11 +21748,14 @@ } }, "node_modules/ruvector-attention-wasm": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/ruvector-attention-wasm/-/ruvector-attention-wasm-0.1.0.tgz", - "integrity": "sha512-kYdKs5fH2LkUz2TmBbSjN3m/0ZtmaOihiyPeDYDq8bwHTc3bCVxAw3bPZoY/OQvsDy34uhE/EDnqMxnpU4TWoA==", + "version": "0.1.32", + "resolved": "https://registry.npmjs.org/ruvector-attention-wasm/-/ruvector-attention-wasm-0.1.32.tgz", + "integrity": "sha512-2pt5dhcpHXXhNEVXeeDPzshXlGo3X8vWVuMfLA+fjUuXYFsW2YYrmUSgHOvEuqVxxow2Rgn9sZpxWQSBuT470g==", "license": "MIT OR Apache-2.0", - "optional": true + "optional": true, + "engines": { + "node": ">=16.0.0" + } }, "node_modules/ruvector-core-darwin-arm64": { "version": "0.1.29",