🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
chore(release): move 18 internal leaf packages from alpha to stable semver
ruv7307d1d86a6e
diff --git a/v3/@claude-flow/browser/package.json b/v3/@claude-flow/browser/package.jsonindex fe250b79ca..583e261681 100644--- a/v3/@claude-flow/browser/package.json+++ b/v3/@claude-flow/browser/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/browser",- "version": "3.0.0-alpha.4",+ "version": "3.0.0","description": "Browser automation for AI agents - integrates agent-browser with claude-flow swarms","type": "module","main": "dist/index.js",@@ -11,6 +11,10 @@"./skill": "./dist/skill/index.js","./agent": "./dist/agent/index.js"},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"build": "tsc","dev": "tsc --watch",diff --git a/v3/@claude-flow/claims/package.json b/v3/@claude-flow/claims/package.jsonindex dc985fc438..6498ffa93a 100644--- a/v3/@claude-flow/claims/package.json+++ b/v3/@claude-flow/claims/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/claims",- "version": "3.0.0-alpha.8",+ "version": "3.0.0","description": "Issue claiming and work coordination module for Claude Flow V3","main": "dist/index.js","types": "dist/index.d.ts",@@ -67,7 +67,7 @@"vitest": "^4.1.0"},"peerDependencies": {- "@claude-flow/shared": "^3.0.0-alpha.1"+ "@claude-flow/shared": "^3.0.0"},"peerDependenciesMeta": {"@claude-flow/shared": {@@ -78,7 +78,6 @@"node": ">=18.0.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/cli-core/package.json b/v3/@claude-flow/cli-core/package.jsonindex f4c20dda13..c528efdd19 100644--- a/v3/@claude-flow/cli-core/package.json+++ b/v3/@claude-flow/cli-core/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/cli-core",- "version": "3.7.0-alpha.6",+ "version": "3.7.0","description": "Lightweight core CLI surface for Claude Flow — memory + hooks commands only. Designed to load fast on cold npx cache (<5s) so plugin skills don't race the 30s MCP-startup timeout. The full @claude-flow/cli metapackage lazy-loads everything else on top of this core.","type": "module","main": "dist/src/index.js",@@ -52,7 +52,6 @@"directory": "v3/@claude-flow/cli-core"},"publishConfig": {- "access": "public",- "tag": "alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/deployment/package.json b/v3/@claude-flow/deployment/package.jsonindex 3874a7c02a..468627a0e9 100644--- a/v3/@claude-flow/deployment/package.json+++ b/v3/@claude-flow/deployment/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/deployment",- "version": "3.0.0-alpha.7",+ "version": "3.0.0","type": "module","description": "Deployment module - Release management, CI/CD, versioning","main": "dist/index.js",@@ -8,20 +8,23 @@"exports": {".": "./dist/index.js"},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"build": "tsc","test": "vitest run","release": "semantic-release"},"dependencies": {- "@claude-flow/shared": "^3.0.0-alpha.1"+ "@claude-flow/shared": "^3.0.0"},"devDependencies": {"semantic-release": "^25.0.2","vitest": "^4.1.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/guidance/package.json b/v3/@claude-flow/guidance/package.jsonindex a5f25e1ede..f83ee04400 100644--- a/v3/@claude-flow/guidance/package.json+++ b/v3/@claude-flow/guidance/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/guidance",- "version": "3.0.0-alpha.4",+ "version": "3.0.0","description": "Guidance Control Plane - Compiles, retrieves, enforces, and evolves guidance rules for Claude Code sessions","type": "module","main": "./dist/index.js",@@ -140,9 +140,9 @@"typecheck": "tsc --noEmit"},"dependencies": {- "@claude-flow/hooks": "^3.0.0-alpha.7",- "@claude-flow/memory": "^3.0.0-alpha.2",- "@claude-flow/shared": "^3.0.0-alpha.1"+ "@claude-flow/hooks": "^3.0.0",+ "@claude-flow/memory": "^3.0.0",+ "@claude-flow/shared": "^3.0.0"},"devDependencies": {"@types/node": "^20.10.0",@@ -192,7 +192,6 @@"directory": "v3/@claude-flow/guidance"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/hooks/package.json b/v3/@claude-flow/hooks/package.jsonindex b4186ffc01..cccf7aa397 100644--- a/v3/@claude-flow/hooks/package.json+++ b/v3/@claude-flow/hooks/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/hooks",- "version": "3.0.0-alpha.7",+ "version": "3.0.0","description": "V3 Hooks System - Event-driven lifecycle hooks with ReasoningBank learning integration","type": "module","main": "./dist/index.js",@@ -60,10 +60,10 @@"typecheck": "tsc --noEmit"},"dependencies": {- "@claude-flow/memory": "^3.0.0-alpha.2",- "@claude-flow/neural": "^3.0.0-alpha.2",- "@claude-flow/security": "^3.0.0-alpha.12",- "@claude-flow/shared": "^3.0.0-alpha.1",+ "@claude-flow/memory": "^3.0.0",+ "@claude-flow/neural": "^3.0.0",+ "@claude-flow/security": "^3.0.0",+ "@claude-flow/shared": "^3.0.0","zod": "^3.23.0"},"optionalDependencies": {@@ -76,7 +76,7 @@"vitest": "^4.1.0"},"peerDependencies": {- "@claude-flow/shared": "^3.0.0-alpha.1"+ "@claude-flow/shared": "^3.0.0"},"engines": {"node": ">=20.0.0"@@ -98,7 +98,6 @@"directory": "v3/@claude-flow/hooks"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/mcp/package.json b/v3/@claude-flow/mcp/package.jsonindex 2371270882..7f9a5590d2 100644--- a/v3/@claude-flow/mcp/package.json+++ b/v3/@claude-flow/mcp/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/mcp",- "version": "3.0.0-alpha.10",+ "version": "3.0.0","type": "module","description": "Standalone MCP (Model Context Protocol) server - stdio/http/websocket transports, connection pooling, tool registry","main": "dist/index.js",@@ -10,6 +10,10 @@".": "./dist/index.js","./*": "./dist/*.js"},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"test": "vitest run","build": "tsc"@@ -39,7 +43,6 @@"tool-registry"],"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/memory/package.json b/v3/@claude-flow/memory/package.jsonindex 459924f5fb..32b9ad8716 100644--- a/v3/@claude-flow/memory/package.json+++ b/v3/@claude-flow/memory/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/memory",- "version": "3.0.0-alpha.27",+ "version": "3.0.0","type": "module","description": "Memory module - AgentDB unification, HNSW indexing, vector search, hybrid SQLite+AgentDB backend (ADR-009)","main": "dist/index.js",@@ -17,7 +17,7 @@"prepublishOnly": "npm run build && node -e \"const m = await import('./dist/index.js'); const required = ['ControllerRegistry','MemoryService','UnifiedMemoryService','PersistentSonaCoordinator','RvfLearningStore','RvfMigrator']; const missing = required.filter(k => !m[k]); if (missing.length) { console.error('Missing exports:', missing); process.exit(1); } const forbidden = ['HnswLite','RvfBackend']; const leaks = forbidden.filter(k => k in m); if (leaks.length) { console.error('Forbidden public exports present (ADR-125):', leaks); process.exit(1); } console.log('All required exports present; ADR-125 surface clean');\""},"dependencies": {- "@claude-flow/security": "^3.0.0-alpha.12",+ "@claude-flow/security": "^3.0.0","agentdb": "^3.0.0-alpha.17","sql.js": "^1.10.3"},@@ -34,8 +34,7 @@"README.md"],"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"},"os": ["darwin",diff --git a/v3/@claude-flow/neural/package.json b/v3/@claude-flow/neural/package.jsonindex 9333db2a4e..62d4c66fa3 100644--- a/v3/@claude-flow/neural/package.json+++ b/v3/@claude-flow/neural/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/neural",- "version": "3.0.0-alpha.10",+ "version": "3.0.0","type": "module","description": "Self-Optimizing Neural Architecture (SONA) for Claude Flow — adaptive learning, trajectory tracking, pattern reuse, 7 RL algorithms (PPO/A2C/DQN/Q-Learning/SARSA/Decision Transformer/Curiosity), Flash Attention, MoE routing, LoRA, EWC++ for continual learning. Reproducible via seedable PRNG; persistence via serialize/deserialize.","main": "dist/index.js",@@ -121,14 +121,13 @@"LICENSE"],"dependencies": {- "@claude-flow/memory": "^3.0.0-alpha.16",+ "@claude-flow/memory": "^3.0.0","@ruvector/sona": "0.1.5"},"optionalDependencies": {"agentdb": "^2.0.0 || ^3.0.0-alpha.1"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/performance/package.json b/v3/@claude-flow/performance/package.jsonindex 64343e45f8..3c9c8e9157 100644--- a/v3/@claude-flow/performance/package.json+++ b/v3/@claude-flow/performance/package.json@@ -1,14 +1,17 @@{"name": "@claude-flow/performance",- "version": "3.0.0-alpha.6",+ "version": "3.0.0","type": "module","description": "Performance module - benchmarking, Flash Attention validation, optimization","main": "dist/index.js","types": "dist/index.d.ts","exports": {- ".": "./dist/index.js",- "./benchmarks/*": "./benchmarks/*.js"+ ".": "./dist/index.js"},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"bench": "vitest bench","bench:attention": "vitest bench benchmarks/attention/",@@ -23,7 +26,6 @@"vitest": "^4.1.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/plugin-agent-federation/package.json b/v3/@claude-flow/plugin-agent-federation/package.jsonindex afdfb8f7bd..39909af7c6 100644--- a/v3/@claude-flow/plugin-agent-federation/package.json+++ b/v3/@claude-flow/plugin-agent-federation/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/plugin-agent-federation",- "version": "1.0.0-alpha.18",+ "version": "1.0.0","description": "Cross-installation agent federation with zero-trust security, PII-gated data flow, and compliance-grade audit trails.","homepage": "https://github.com/ruvnet/ruflo","type": "module",@@ -39,8 +39,8 @@}},"devDependencies": {- "@claude-flow/shared": "3.0.0-alpha.8",- "@claude-flow/security": "file:../security",+ "@claude-flow/shared": "^3.0.0",+ "@claude-flow/security": "^3.0.0","@types/ws": "^8.18.1","agentic-flow": "2.0.12-fix.8","typescript": "^5.4.0",diff --git a/v3/@claude-flow/plugin-iot-cognitum/package.json b/v3/@claude-flow/plugin-iot-cognitum/package.jsonindex 41647aa959..9920aa3070 100644--- a/v3/@claude-flow/plugin-iot-cognitum/package.json+++ b/v3/@claude-flow/plugin-iot-cognitum/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/plugin-iot-cognitum",- "version": "1.0.0-alpha.5",+ "version": "1.0.0","description": "IoT Cognitum Seed device-agent bridge — treat every Seed as a Ruflo agent. Get a Seed at https://cognitum.one.","homepage": "https://cognitum.one","type": "module",@@ -25,7 +25,7 @@"@cognitum-one/sdk": "^0.2.1"},"devDependencies": {- "@claude-flow/shared": "workspace:*",+ "@claude-flow/shared": "^3.0.0","typescript": "^5.4.0","vitest": "^4.1.0"},diff --git a/v3/@claude-flow/plugins/__tests__/attention-sql-injection.test.ts b/v3/@claude-flow/plugins/__tests__/attention-sql-injection.test.tsnew file mode 100644index 0000000000..04c668f2be--- /dev/null+++ b/v3/@claude-flow/plugins/__tests__/attention-sql-injection.test.ts@@ -0,0 +1,59 @@+import { describe, expect, it } from 'vitest';+import {+ MultiHeadAttention,+ SelfAttention,+ LocalAttention,+ FlashAttention,+ MemoryEfficientAttention,+ DilatedAttention,+} from '../src/integrations/ruvector/attention.js';++// toSQL output is executed verbatim by AttentionExecutor when a query executor+// is configured, and TypeScript types do not exist at runtime. Before hardening,+// a string vector element or config value was interpolated into executed SQL.+const input = { query: [[1, 2, 3]], key: [[0.5, -0.25, 1e-9]], value: [[-3, 4, 5]] };++describe('attention toSQL injection hardening', () => {+ it('emits unchanged SQL for legitimate numeric input', () => {+ expect(new MultiHeadAttention({ numHeads: 4, scale: 0.125, causal: true }).toSQL(input)).toBe(+ "SELECT ruvector.multi_head_attention(ARRAY['[1,2,3]'::vector], ARRAY['[0.5,-0.25,1e-9]'::vector], " ++ "ARRAY['[-3,4,5]'::vector], 4, 0.125, true)",+ );+ const f32 = { query: [new Float32Array([0.5])], key: [new Float32Array([1])], value: [new Float32Array([2])] };+ expect(new SelfAttention({ scale: 2 }).toSQL(f32)).toBe(+ "SELECT ruvector.self_attention(ARRAY['[0.5]'::vector], ARRAY['[1]'::vector], ARRAY['[2]'::vector], 2, false)",+ );+ });++ const mechanisms = [MultiHeadAttention, SelfAttention, LocalAttention, FlashAttention, MemoryEfficientAttention, DilatedAttention];++ it.each([+ ['a string element breaking out of the vector literal', ["1]'::vector); DROP TABLE t; --"]],+ ['a NaN element', [Number.NaN]],+ ['an Infinity element', [Number.POSITIVE_INFINITY]],+ ['an object whose toString is SQL', [{ toString: () => '1); DROP TABLE t; --' }]],+ ])('rejects %s in any vector', (_label, badRow) => {+ for (const Mechanism of mechanisms) {+ for (const field of ['query', 'key', 'value'] as const) {+ const bad = { ...input, [field]: [badRow] } as never;+ expect(() => new Mechanism({ scale: 1 }).toSQL(bad)).toThrow(TypeError);+ }+ }+ });++ it('rejects a matrix that is not an array', () => {+ expect(() => new MultiHeadAttention().toSQL({ ...input, query: "ARRAY['x']" } as never)).toThrow(TypeError);+ });++ it.each([+ ['numHeads', { numHeads: '8); DROP TABLE t; --' }, MultiHeadAttention],+ ['scale', { scale: '1) OR 1=1 --' }, SelfAttention],+ ['causal', { causal: 'true); DROP TABLE t; --' }, MultiHeadAttention],+ ['params.windowSize', { params: { windowSize: '1); DROP TABLE t; --' } }, LocalAttention],+ ['params.flashBlockSize', { params: { flashBlockSize: '64) --' } }, FlashAttention],+ ['params.checkpointing', { params: { checkpointing: 'yes' } }, MemoryEfficientAttention],+ ['params.dilationRate', { params: { dilationRate: Number.NaN } }, DilatedAttention],+ ])('rejects a non-numeric/non-boolean %s', (_name, config, Mechanism) => {+ expect(() => new Mechanism(config as never).toSQL(input)).toThrow(TypeError);+ });+});diff --git a/v3/@claude-flow/plugins/package.json b/v3/@claude-flow/plugins/package.jsonindex a3f97a335d..ff3396e1c2 100644--- a/v3/@claude-flow/plugins/package.json+++ b/v3/@claude-flow/plugins/package.json@@ -1,40 +1,36 @@{"name": "@claude-flow/plugins",- "version": "3.0.0-alpha.7",+ "version": "3.0.0","description": "Unified Plugin SDK for Claude Flow V3 - Worker, Hook, and Provider Integration","main": "dist/index.js","types": "dist/index.d.ts","type": "module","exports": {".": {- "types": "./dist/index.d.js",+ "types": "./dist/index.d.ts","import": "./dist/index.js"},"./sdk": {- "types": "./dist/sdk/index.d.js",+ "types": "./dist/sdk/index.d.ts","import": "./dist/sdk/index.js"},"./workers": {- "types": "./dist/workers/index.d.js",+ "types": "./dist/workers/index.d.ts","import": "./dist/workers/index.js"},"./hooks": {- "types": "./dist/hooks/index.d.js",+ "types": "./dist/hooks/index.d.ts","import": "./dist/hooks/index.js"},"./providers": {- "types": "./dist/providers/index.d.js",+ "types": "./dist/providers/index.d.ts","import": "./dist/providers/index.js"- },- "./examples/ruvector": {- "types": "./dist/examples/ruvector-plugins/index.d.js",- "import": "./dist/examples/ruvector-plugins/index.js"- },- "./examples/plugin-creator": {- "types": "./dist/examples/plugin-creator/index.d.js",- "import": "./dist/examples/plugin-creator/index.js"}},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"build": "tsc -p tsconfig.json","test": "vitest run",@@ -46,8 +42,8 @@"events": "^3.3.0"},"peerDependencies": {- "@claude-flow/hooks": "^3.0.0-alpha.2",- "@claude-flow/memory": "^3.0.0-alpha.2",+ "@claude-flow/hooks": "^3.0.0",+ "@claude-flow/memory": "^3.0.0","@ruvector/learning-wasm": "^0.1.0","@ruvector/wasm": "^0.1.0"},@@ -91,7 +87,6 @@"node": ">=20.0.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/plugins/src/integrations/ruvector/attention.ts b/v3/@claude-flow/plugins/src/integrations/ruvector/attention.tsindex e3553ee7b7..89d0cc696d 100644--- a/v3/@claude-flow/plugins/src/integrations/ruvector/attention.ts+++ b/v3/@claude-flow/plugins/src/integrations/ruvector/attention.ts@@ -257,23 +257,44 @@ export abstract class BaseAttentionMechanism implements IAttentionMechanism {return this.config.scale ?? Math.sqrt(this.config.headDim);}+ // toSQL output is executed verbatim by AttentionExecutor when a query+ // executor is configured. TypeScript types are erased at runtime, so any+ // value interpolated below must be proven numeric/boolean here: a string+ // element such as "1]'::vector); DROP TABLE t; --" would otherwise break out+ // of the quoted vector literal.+ protected sqlNumber(value: unknown, name: string): string {+ if (typeof value !== 'number' || !Number.isFinite(value)) {+ throw new TypeError(`attention SQL: ${name} must be a finite number`);+ }+ return String(value);+ }++ protected sqlBool(value: unknown, name: string): string {+ if (typeof value !== 'boolean') {+ throw new TypeError(`attention SQL: ${name} must be a boolean`);+ }+ return value ? 'true' : 'false';+ }+/*** Format vector for SQL.*/protected formatVector(v: number[] | Float32Array): string {+ if (!Array.isArray(v) && !(v instanceof Float32Array)) {+ throw new TypeError('attention SQL: vector must be an array of numbers');+ }const arr = Array.isArray(v) ? v : Array.from(v);- return `'[${arr.join(',')}]'::vector`;+ return `'[${arr.map((x, i) => this.sqlNumber(x, `vector[${i}]`)).join(',')}]'::vector`;}/*** Format matrix for SQL.*/protected formatMatrix(m: number[][] | Float32Array[]): string {- const rows = m.map(row => {- const arr = Array.isArray(row) ? row : Array.from(row);- return `'[${arr.join(',')}]'::vector`;- });- return `ARRAY[${rows.join(',')}]`;+ if (!Array.isArray(m)) {+ throw new TypeError('attention SQL: matrix must be an array of vectors');+ }+ return `ARRAY[${m.map(row => this.formatVector(row)).join(',')}]`;}}@@ -306,7 +327,7 @@ export class MultiHeadAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.multi_head_attention(${q}, ${k}, ${v}, ${this.config.numHeads}, ${this.getScale()}, ${this.config.causal})`;+ return `SELECT ruvector.multi_head_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.config.numHeads, 'numHeads')}, ${this.sqlNumber(this.getScale(), 'scale')}, ${this.sqlBool(this.config.causal, 'causal')})`;}private dotProduct(a: number[], b: number[]): number {@@ -356,7 +377,7 @@ export class SelfAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.self_attention(${q}, ${k}, ${v}, ${this.getScale()}, ${this.config.causal})`;+ return `SELECT ruvector.self_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.getScale(), 'scale')}, ${this.sqlBool(this.config.causal, 'causal')})`;}private dotProduct(a: number[], b: number[]): number {@@ -406,7 +427,7 @@ export class CrossAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.cross_attention(${q}, ${k}, ${v}, ${this.config.numHeads}, ${this.getScale()})`;+ return `SELECT ruvector.cross_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.config.numHeads, 'numHeads')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -470,7 +491,7 @@ export class CausalAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.causal_attention(${q}, ${k}, ${v}, ${this.config.numHeads}, ${this.getScale()})`;+ return `SELECT ruvector.causal_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.config.numHeads, 'numHeads')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -522,7 +543,7 @@ export class BidirectionalAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.bidirectional_attention(${q}, ${k}, ${v}, ${this.config.numHeads}, ${this.getScale()})`;+ return `SELECT ruvector.bidirectional_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.config.numHeads, 'numHeads')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -586,7 +607,7 @@ export class LocalAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const windowSize = this.config.params?.windowSize ?? 256;- return `SELECT ruvector.local_attention(${q}, ${k}, ${v}, ${windowSize}, ${this.getScale()})`;+ return `SELECT ruvector.local_attention(${q}, ${k}, ${v}, ${this.sqlNumber(windowSize, 'windowSize')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -639,7 +660,7 @@ export class GlobalAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const numGlobal = this.config.params?.numGlobalTokens ?? 1;- return `SELECT ruvector.global_attention(${q}, ${k}, ${v}, ${numGlobal}, ${this.getScale()})`;+ return `SELECT ruvector.global_attention(${q}, ${k}, ${v}, ${this.sqlNumber(numGlobal, 'numGlobal')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -730,7 +751,7 @@ export class FlashAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const blockSize = this.config.params?.flashBlockSize ?? 64;- return `SELECT ruvector.flash_attention(${q}, ${k}, ${v}, ${blockSize}, ${this.getScale()}, ${this.config.causal})`;+ return `SELECT ruvector.flash_attention(${q}, ${k}, ${v}, ${this.sqlNumber(blockSize, 'blockSize')}, ${this.sqlNumber(this.getScale(), 'scale')}, ${this.sqlBool(this.config.causal, 'causal')})`;}private dotProduct(a: number[], b: number[]): number {@@ -795,7 +816,7 @@ export class FlashAttentionV2 extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const blockSize = this.config.params?.flashBlockSize ?? 128;- return `SELECT ruvector.flash_attention_v2(${q}, ${k}, ${v}, ${blockSize}, ${this.getScale()}, ${this.config.causal})`;+ return `SELECT ruvector.flash_attention_v2(${q}, ${k}, ${v}, ${this.sqlNumber(blockSize, 'blockSize')}, ${this.sqlNumber(this.getScale(), 'scale')}, ${this.sqlBool(this.config.causal, 'causal')})`;}private dotProduct(a: number[], b: number[]): number {@@ -832,7 +853,7 @@ export class MemoryEfficientAttention extends BaseAttentionMechanism {const q = this.formatMatrix(input.query);const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);- return `SELECT ruvector.memory_efficient_attention(${q}, ${k}, ${v}, ${this.getScale()}, ${this.config.params?.checkpointing ?? false})`;+ return `SELECT ruvector.memory_efficient_attention(${q}, ${k}, ${v}, ${this.sqlNumber(this.getScale(), 'scale')}, ${this.sqlBool(this.config.params?.checkpointing ?? false, 'checkpointing')})`;}private dotProduct(a: number[], b: number[]): number {@@ -906,7 +927,7 @@ export class ChunkAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const chunkSize = this.config.params?.blockSize ?? 512;- return `SELECT ruvector.chunk_attention(${q}, ${k}, ${v}, ${chunkSize}, ${this.getScale()})`;+ return `SELECT ruvector.chunk_attention(${q}, ${k}, ${v}, ${this.sqlNumber(chunkSize, 'chunkSize')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -974,7 +995,7 @@ export class SlidingWindowAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const windowSize = this.config.params?.windowSize ?? 256;- return `SELECT ruvector.sliding_window_attention(${q}, ${k}, ${v}, ${windowSize}, ${this.getScale()})`;+ return `SELECT ruvector.sliding_window_attention(${q}, ${k}, ${v}, ${this.sqlNumber(windowSize, 'windowSize')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {@@ -1033,7 +1054,7 @@ export class DilatedAttention extends BaseAttentionMechanism {const k = this.formatMatrix(input.key);const v = this.formatMatrix(input.value);const dilationRate = this.config.params?.dilationRate ?? 2;- return `SELECT ruvector.dilated_attention(${q}, ${k}, ${v}, ${dilationRate}, ${this.getScale()})`;+ return `SELECT ruvector.dilated_attention(${q}, ${k}, ${v}, ${this.sqlNumber(dilationRate, 'dilationRate')}, ${this.sqlNumber(this.getScale(), 'scale')})`;}private dotProduct(a: number[], b: number[]): number {diff --git a/v3/@claude-flow/providers/package.json b/v3/@claude-flow/providers/package.jsonindex 9ea50a17e7..550658bed9 100644--- a/v3/@claude-flow/providers/package.json+++ b/v3/@claude-flow/providers/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/providers",- "version": "3.0.0-alpha.6",+ "version": "3.0.0","description": "Multi-LLM Provider System for Claude Flow V3","main": "dist/index.js","module": "dist/index.js",@@ -8,7 +8,7 @@"type": "module","exports": {".": {- "types": "./dist/index.d.js",+ "types": "./dist/index.d.ts","import": "./dist/index.js"}},@@ -64,7 +64,6 @@"node": ">=20.0.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/security/package.json b/v3/@claude-flow/security/package.jsonindex 0a04fd6723..268ff8acab 100644--- a/v3/@claude-flow/security/package.json+++ b/v3/@claude-flow/security/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/security",- "version": "3.0.0-alpha.14",+ "version": "3.0.0","type": "module","description": "Security module - CVE fixes, input validation, path security","main": "dist/index.js",@@ -34,7 +34,6 @@"vitest": "^4.1.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/shared/package.json b/v3/@claude-flow/shared/package.jsonindex 2f464af64f..914a6815ca 100644--- a/v3/@claude-flow/shared/package.json+++ b/v3/@claude-flow/shared/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/shared",- "version": "3.0.0-alpha.8",+ "version": "3.0.0","type": "module","description": "Shared module - common types, events, utilities, core interfaces","main": "dist/index.js",@@ -16,6 +16,10 @@"./resilience": "./dist/resilience/index.js","./src/plugin-interface.js": "./dist/plugin-interface.js"},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"test": "vitest run","build": "tsc"@@ -37,7 +41,6 @@"zod": "^3.22.4"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/swarm/package.json b/v3/@claude-flow/swarm/package.jsonindex df27e8bc13..d6c2125325 100644--- a/v3/@claude-flow/swarm/package.json+++ b/v3/@claude-flow/swarm/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/swarm",- "version": "3.0.0-alpha.9",+ "version": "3.0.0","type": "module","description": "Standalone swarm coordination - up to 100+ agents, 4 topologies, hive-mind, consensus","main": "dist/index.js",@@ -31,7 +31,6 @@"ai-agents"],"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}diff --git a/v3/@claude-flow/testing/package.json b/v3/@claude-flow/testing/package.jsonindex 48ed4149ab..2fde20483c 100644--- a/v3/@claude-flow/testing/package.json+++ b/v3/@claude-flow/testing/package.json@@ -1,32 +1,36 @@{"name": "@claude-flow/testing",- "version": "3.0.0-alpha.6",+ "version": "3.0.0","type": "module","description": "Testing module - TDD London School framework, test utilities, fixtures, and mock services for V3 Claude-Flow","main": "dist/index.js","types": "dist/index.d.ts","exports": {".": {- "types": "./dist/index.d.js",+ "types": "./dist/index.d.ts","import": "./dist/index.js"},"./helpers": {- "types": "./dist/helpers/index.d.js",+ "types": "./dist/helpers/index.d.ts","import": "./dist/helpers/index.js"},"./fixtures": {- "types": "./dist/fixtures/index.d.js",+ "types": "./dist/fixtures/index.d.ts","import": "./dist/fixtures/index.js"},"./mocks": {- "types": "./dist/mocks/index.d.js",+ "types": "./dist/mocks/index.d.ts","import": "./dist/mocks/index.js"},"./setup": {- "types": "./dist/setup.d.js",+ "types": "./dist/setup.d.ts","import": "./dist/setup.js"}},+ "files": [+ "dist",+ "README.md"+ ],"scripts": {"build": "tsc","test": "vitest run",@@ -42,20 +46,19 @@"fixtures"],"peerDependencies": {- "@claude-flow/memory": "^3.0.0-alpha.2",- "@claude-flow/shared": "^3.0.0-alpha.1",- "@claude-flow/swarm": "^3.0.0-alpha.1",+ "@claude-flow/memory": "^3.0.0",+ "@claude-flow/shared": "^3.0.0",+ "@claude-flow/swarm": "^3.0.0","vitest": ">=4.0.16"},"devDependencies": {- "@claude-flow/memory": "^3.0.0-alpha.2",- "@claude-flow/shared": "^3.0.0-alpha.1",- "@claude-flow/swarm": "^3.0.0-alpha.1",+ "@claude-flow/memory": "^3.0.0",+ "@claude-flow/shared": "^3.0.0",+ "@claude-flow/swarm": "^3.0.0","typescript": "^5.3.0","vitest": "^4.1.0"},"publishConfig": {- "access": "public",- "tag": "v3alpha"+ "access": "public"}}