diff --git a/docs/assets/readme/packages/memory-hnsw-quickstart.svg b/docs/assets/readme/packages/memory-hnsw-quickstart.svg
new file mode 100644
index 0000000000..eba2e33ef6
--- /dev/null
+++ b/docs/assets/readme/packages/memory-hnsw-quickstart.svg
@@ -0,0 +1,11 @@
+
diff --git a/docs/assets/readme/packages/security-boundary-quickstart.svg b/docs/assets/readme/packages/security-boundary-quickstart.svg
new file mode 100644
index 0000000000..9c1c90efaf
--- /dev/null
+++ b/docs/assets/readme/packages/security-boundary-quickstart.svg
@@ -0,0 +1,10 @@
+
diff --git a/package-lock.json b/package-lock.json
index 2ecf4f54f4..2d0df89e91 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "claude-flow",
- "version": "3.75.2",
+ "version": "3.75.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "claude-flow",
- "version": "3.75.2",
+ "version": "3.75.3",
"bundleDependencies": [
"@claude-flow/codex",
"@claude-flow/mcp",
@@ -27,7 +27,7 @@
"@claude-flow/neural": "3.0.3",
"@claude-flow/plugin-agent-federation": "1.0.7",
"@claude-flow/security": "3.0.7",
- "@claude-flow/shared": "3.0.7",
+ "@claude-flow/shared": "3.0.8",
"@electron/asar": "^4.3.1",
"@iarna/toml": "^2.2.5",
"@noble/ed25519": "2.3.0",
@@ -283,11 +283,26 @@
"link": true
},
"node_modules/@claude-flow/shared": {
- "version": "3.0.7",
- "resolved": "https://registry.npmjs.org/@claude-flow/shared/-/shared-3.0.7.tgz",
- "integrity": "sha512-eX/JdzywhVFxL+BQaMOphPBVL95icFJgf3piNzTyGy2nT8zFqdDQ34qpS+RfFv3Yjpo00NDj/4CzoqRTni7ImA==",
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/@claude-flow/shared/-/shared-3.0.8.tgz",
+ "integrity": "sha512-MeQY5KQpWTaRvF5mmFlV6vaogj6qN6SBNoK77D0/4sfUQrByAVMscpXq2KUZCMre8tdVE+r9+NW1ZQklyREpcw==",
"dependencies": {
- "sql.js": "^1.10.3"
+ "@types/ws": "^8.5.10",
+ "cors": "^2.8.5",
+ "express": "^4.22.3 || ^5.1.0",
+ "helmet": "^7.2.0",
+ "sql.js": "^1.10.3",
+ "ws": "^8.21.0",
+ "zod": "^4.6.7"
+ }
+ },
+ "node_modules/@claude-flow/shared/node_modules/zod": {
+ "version": "4.6.7",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
}
},
"node_modules/@electron/asar": {
@@ -5228,7 +5243,6 @@
"version": "20.19.27",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.27.tgz",
"integrity": "sha512-N2clP5pJhB2YnZJ3PIHFk5RkygRX5WO/5f0WC08tp0wd+sv0rsJk3MqWn3CbNmT2J505a5336jaQj4ph1AdMug==",
- "devOptional": true,
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
@@ -5303,7 +5317,6 @@
"version": "8.18.1",
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz",
"integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==",
- "devOptional": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
@@ -13244,7 +13257,6 @@
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
- "devOptional": true,
"license": "MIT"
},
"node_modules/unicorn-magic": {
diff --git a/package.json b/package.json
index ae0dd64473..46bfe5993d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "3.75.2",
+ "version": "3.75.3",
"workspaces": [
"v3/@claude-flow/codex",
"v3/@claude-flow/mcp",
@@ -75,7 +75,7 @@
"@claude-flow/neural": "3.0.3",
"@claude-flow/plugin-agent-federation": "1.0.7",
"@claude-flow/security": "3.0.7",
- "@claude-flow/shared": "3.0.7",
+ "@claude-flow/shared": "3.0.8",
"@electron/asar": "^4.3.1",
"@iarna/toml": "^2.2.5",
"@noble/ed25519": "2.3.0",
diff --git a/plugins/ruflo-graph-intelligence/.claude-plugin/plugin.json b/plugins/ruflo-graph-intelligence/.claude-plugin/plugin.json
index 201c179d17..7d7fd4f136 100644
--- a/plugins/ruflo-graph-intelligence/.claude-plugin/plugin.json
+++ b/plugins/ruflo-graph-intelligence/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "ruflo-graph-intelligence",
"description": "RuFlo Graph Intelligence Engine — real-time relationship intelligence with complexity-aware execution. Single-entry personalized PageRank, streaming delta updates, witness-signed reasoning artifacts, federation-distributable PR vectors. Declares the zero-dependency @ruvnet/sublinear-core as its solver; ships a sublinear-core skill for PPR, local push and sparse solves.",
- "version": "0.3.0-alpha.1",
+ "version": "0.3.1",
"author": {
"name": "ruvnet",
"url": "https://github.com/ruvnet"
diff --git a/plugins/ruflo-graph-intelligence/CHANGELOG.md b/plugins/ruflo-graph-intelligence/CHANGELOG.md
index ecd7ba5d3c..81f1f67b7b 100644
--- a/plugins/ruflo-graph-intelligence/CHANGELOG.md
+++ b/plugins/ruflo-graph-intelligence/CHANGELOG.md
@@ -2,6 +2,9 @@
Newest first. One `## — ` heading per version, then `feat:`, `fix:`, `breaking:` and `chore:` bullets (ADR-478). Built from git history; this is the whole history.
+## 0.3.1 — 2026-11-10
+- chore: first stable version. The npm manifest gains a canonical repository, homepage and bug-tracker link, and a shorter description. No code changes
+
## 0.3.0-alpha.1 — 2026-11-05
- chore: the declared solver dependency moves from `sublinear-time-solver` ^1.7.0 to `@ruvnet/sublinear-core` ^1.0.0 (zero runtime dependencies). The engine never imported the old package (forward-push and CG run in-process), so results are unchanged: `tsc --noEmit` clean, vitest 104/104. The lockfile drops from 1,015 to 77 packages; `.github/supply-chain/allowed-deps.json` lists the new dependency
- feat: new `sublinear-core` skill: personalized PageRank, local forward/backward push, `solve` and `estimateEntry`, with when to use `agentdb_graph-pathfinder` or the full `sublinear-time-solver` instead
diff --git a/plugins/ruflo-graph-intelligence/package.json b/plugins/ruflo-graph-intelligence/package.json
index 6748720f49..9bd55c190b 100644
--- a/plugins/ruflo-graph-intelligence/package.json
+++ b/plugins/ruflo-graph-intelligence/package.json
@@ -1,7 +1,16 @@
{
"name": "ruflo-graph-intelligence",
"version": "0.1.0-alpha.1",
- "description": "RuFlo Graph Intelligence Engine — real-time relationship intelligence with complexity-aware execution. Single-entry personalized PageRank, streaming delta updates, witness-signed reasoning artifacts over RuFlo's substrate graphs.",
+ "description": "RuFlo Graph Intelligence Engine: single-entry personalized PageRank, streaming delta updates and witness-signed reasoning artifacts over RuFlo substrate graphs.",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "plugins/ruflo-graph-intelligence"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -34,23 +43,19 @@
"vitest": "^4.0.16"
},
"keywords": [
- "ruflo",
+ "graph",
"graph-intelligence",
"pagerank",
- "sublinear",
- "complexity-aware",
"personalized-pagerank",
- "agent-substrate",
+ "sublinear",
+ "graph-algorithms",
"mcp",
+ "claude-code",
+ "ruflo",
"claude-flow"
],
"author": "ruvnet",
"license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/ruvnet/ruflo.git",
- "directory": "plugins/ruflo-graph-intelligence"
- },
"engines": {
"node": ">=20.0.0"
}
diff --git a/ruflo/package.json b/ruflo/package.json
index 8f2bc9c97a..52c195ab91 100644
--- a/ruflo/package.json
+++ b/ruflo/package.json
@@ -1,7 +1,7 @@
{
"name": "ruflo",
"mcpName": "io.github.ruvnet/ruflo",
- "version": "3.75.2",
+ "version": "3.75.3",
"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",
@@ -40,7 +40,7 @@
"package:rvf": "bash src/scripts/package-rvf.sh"
},
"dependencies": {
- "@claude-flow/cli": "3.75.2"
+ "@claude-flow/cli": "3.75.3"
},
"optionalDependencies": {},
"overrides": {
diff --git a/ruflo/server.json b/ruflo/server.json
index 5ef4461c88..79f7832bf5 100644
--- a/ruflo/server.json
+++ b/ruflo/server.json
@@ -9,12 +9,12 @@
"subfolder": "ruflo"
},
"websiteUrl": "https://github.com/ruvnet/ruflo",
- "version": "3.75.2",
+ "version": "3.75.3",
"packages": [
{
"registryType": "npm",
"identifier": "ruflo",
- "version": "3.75.2",
+ "version": "3.75.3",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json
index 2e693f58d4..7582e5079c 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.75.2",
+ "version": "3.75.3",
"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",
@@ -107,7 +107,7 @@
"@claude-flow/neural": "3.0.3",
"@claude-flow/plugin-agent-federation": "1.0.7",
"@claude-flow/security": "3.0.7",
- "@claude-flow/shared": "3.0.7",
+ "@claude-flow/shared": "3.0.8",
"@iarna/toml": "^2.2.5",
"@metaharness/darwin": "~0.13.0",
"@noble/ed25519": "2.3.0",
@@ -130,12 +130,12 @@
"ws": "^8.21.0",
"yaml": "^2.8.0",
"zod": "^3.22.0",
- "@claude-flow/memory": "3.3.0"
+ "@claude-flow/memory": "3.3.1"
},
"optionalDependencies": {
"@agntcy/slim-bindings": "2.1.1",
"@claude-flow/aidefence": "3.2.1",
- "@claude-flow/memory": "3.3.0",
+ "@claude-flow/memory": "3.3.1",
"@metaharness/flywheel": "~0.1.10",
"@metaharness/radio": "~0.1.0",
"@metaharness/turn-credit": "~0.1.0",
diff --git a/v3/@claude-flow/deployment/package.json b/v3/@claude-flow/deployment/package.json
index 468627a0e9..61f100b9bf 100644
--- a/v3/@claude-flow/deployment/package.json
+++ b/v3/@claude-flow/deployment/package.json
@@ -3,6 +3,27 @@
"version": "3.0.0",
"type": "module",
"description": "Deployment module - Release management, CI/CD, versioning",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/deployment"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
+ "keywords": [
+ "release-management",
+ "deployment",
+ "versioning",
+ "semver",
+ "changelog",
+ "conventional-commits",
+ "npm-publish",
+ "ci-cd",
+ "claude-flow",
+ "ruflo"
+ ],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
diff --git a/v3/@claude-flow/embeddings/package.json b/v3/@claude-flow/embeddings/package.json
index 7b03b3241a..5fbdb92e0d 100644
--- a/v3/@claude-flow/embeddings/package.json
+++ b/v3/@claude-flow/embeddings/package.json
@@ -2,6 +2,15 @@
"name": "@claude-flow/embeddings",
"version": "3.0.0-alpha.18",
"description": "V3 Embedding Service - OpenAI, Transformers.js, Agentic-Flow (ONNX), Mock providers with hyperbolic embeddings, normalization, and chunking",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/embeddings"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -24,17 +33,17 @@
},
"keywords": [
"embeddings",
+ "vector-embeddings",
"openai",
"transformers",
- "vector",
- "similarity",
- "claude-flow",
- "v3",
- "hyperbolic",
+ "onnx",
+ "hyperbolic-embeddings",
"poincare",
- "normalization",
"chunking",
- "neural-substrate"
+ "semantic-search",
+ "vector-search",
+ "claude-flow",
+ "ruflo"
],
"author": "Claude Flow Team",
"license": "MIT",
diff --git a/v3/@claude-flow/memory/README.md b/v3/@claude-flow/memory/README.md
index fb642da657..6fb2feb2d5 100644
--- a/v3/@claude-flow/memory/README.md
+++ b/v3/@claude-flow/memory/README.md
@@ -1,5 +1,9 @@
+
+
# @claude-flow/memory
+**Persistent vector memory for AI agents:** store embeddings, search them with HNSW, and keep them across restarts, from one `MemoryService` API.
+
[](https://www.npmjs.com/package/@claude-flow/memory)
[](https://github.com/ruvnet/ruflo/blob/main/data/clone-data.proof.json)
[](https://github.com/ruvnet/ruflo/blob/main/data/clone-data.ledger.json)
@@ -46,6 +50,42 @@ This release closes out [ADR-125 — Memory Consolidation](../../../v3/docs/adr/
npm install @claude-flow/memory
```
+
+## Supported environments
+
+- Node.js, ESM (`import`). The quickstart below was run on Node 22 (Linux x64).
+- Storage: `sql.js` (WebAssembly SQLite, no native build). `better-sqlite3` is an optional dependency.
+- Works standalone. The Ruflo CLI (`@claude-flow/cli`) isn't required.
+
+## Quickstart (verified)
+
+```bash
+npm install @claude-flow/memory
+```
+
+```js
+// quickstart.mjs
+import { HNSWIndex } from '@claude-flow/memory';
+
+const index = new HNSWIndex({ dimensions: 8, M: 16, efConstruction: 200, metric: 'cosine' });
+await index.addPoint('doc-a', new Float32Array([1, 0, 0, 0, 0, 0, 0, 0]));
+await index.addPoint('doc-b', new Float32Array([0.9, 0.1, 0, 0, 0, 0, 0, 0]));
+await index.addPoint('doc-c', new Float32Array([0, 1, 0, 0, 0, 0, 0, 0]));
+
+console.log(await index.search(new Float32Array([1, 0, 0, 0, 0, 0, 0, 0]), 2));
+```
+
+Expected output (`node quickstart.mjs`, @claude-flow/memory 3.3.0):
+
+```text
+[
+ { id: 'doc-a', distance: 0 },
+ { id: 'doc-b', distance: 0.006116271018981934 }
+]
+```
+
+**Next:** turn text into vectors for this index with [`@claude-flow/embeddings`](https://www.npmjs.com/package/@claude-flow/embeddings).
+
## Standalone use (without the Ruflo CLI)
This package works on its own — you don't need `@claude-flow/cli` or the
@@ -74,7 +114,7 @@ await index.addPoint('doc-c', new Float32Array([0, 1, 0, 0, 0, 0, 0, 0]));
// Search — top 2 nearest to "doc-a"-shaped query
const hits = await index.search(new Float32Array([1, 0, 0, 0, 0, 0, 0, 0]), 2);
-console.log(hits); // [{ id: 'doc-a', distance: 0 }, { id: 'doc-b', distance: ~0.005 }]
+console.log(hits); // [{ id: 'doc-a', distance: 0 }, { id: 'doc-b', distance: 0.0061… }]
```
### Recipe 2 — Drive the controller registry against your own AgentDB
diff --git a/v3/@claude-flow/memory/package.json b/v3/@claude-flow/memory/package.json
index d732b0c1dc..b98ec62033 100644
--- a/v3/@claude-flow/memory/package.json
+++ b/v3/@claude-flow/memory/package.json
@@ -1,8 +1,31 @@
{
"name": "@claude-flow/memory",
- "version": "3.3.0",
+ "version": "3.3.1",
"type": "module",
"description": "Memory module - AgentDB unification, HNSW indexing, vector search, hybrid SQLite+AgentDB backend (ADR-009)",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/memory"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
+ "keywords": [
+ "agent-memory",
+ "vector-search",
+ "vector-database",
+ "hnsw",
+ "semantic-search",
+ "embeddings",
+ "agentdb",
+ "sqlite",
+ "ai-agents",
+ "claude-flow",
+ "ruflo",
+ "typescript"
+ ],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
diff --git a/v3/@claude-flow/memory/src/learning-bridge.test.ts b/v3/@claude-flow/memory/src/learning-bridge.test.ts
index c14b770ef7..09d2939e0e 100644
--- a/v3/@claude-flow/memory/src/learning-bridge.test.ts
+++ b/v3/@claude-flow/memory/src/learning-bridge.test.ts
@@ -331,6 +331,24 @@ describe('LearningBridge', () => {
});
});
+ it('should resolve a stored key and update the entry by its internal id', async () => {
+ const entry = createTestEntry({
+ id: 'internal-1',
+ key: 'insight:debugging:12345:0',
+ metadata: { confidence: 0.5 },
+ });
+ backend.storedEntries.push(entry);
+
+ await bridge.onInsightAccessed(entry.key);
+
+ expect(backend.getByKey).toHaveBeenCalledWith('learnings', entry.key);
+ expect(backend.get).not.toHaveBeenCalled();
+ expect(backend.update).toHaveBeenCalledWith('internal-1', {
+ metadata: expect.objectContaining({ confidence: 0.53 }),
+ });
+ expect(entry.metadata?.confidence).toBeCloseTo(0.53);
+ });
+
it('should cap confidence at maxConfidence', async () => {
const entry = createTestEntry({ metadata: { confidence: 0.99 } });
(backend.get as any).mockResolvedValueOnce(entry);
diff --git a/v3/@claude-flow/memory/src/learning-bridge.ts b/v3/@claude-flow/memory/src/learning-bridge.ts
index ec621eca3d..2c0ae28681 100644
--- a/v3/@claude-flow/memory/src/learning-bridge.ts
+++ b/v3/@claude-flow/memory/src/learning-bridge.ts
@@ -218,7 +218,7 @@ export class LearningBridge extends EventEmitter {
async onInsightAccessed(entryId: string): Promise {
if (!this.config.enabled || this.destroyed) return;
- const entry = await this.backend.get(entryId);
+ const entry = await this.getInsightEntry(entryId);
if (!entry) return;
const currentConf = (entry.metadata?.confidence as number) ?? 0.5;
@@ -227,7 +227,7 @@ export class LearningBridge extends EventEmitter {
currentConf + this.config.accessBoostAmount,
);
- await this.backend.update(entryId, {
+ await this.backend.update(entry.id, {
metadata: { ...entry.metadata, confidence: newConf },
});
@@ -251,6 +251,21 @@ export class LearningBridge extends EventEmitter {
this.emit('insight:accessed', { entryId, newConfidence: newConf });
}
+ /**
+ * Resolve an insight the caller addresses by the key it was stored under.
+ * `get()` only knows the backend's internal `entry.id`, and
+ * `createDefaultEntry` mints that id independently of the caller's key, so a
+ * key lookup must go through `getByKey` first; fall back to `get()` for
+ * callers that really pass an id.
+ */
+ private async getInsightEntry(entryId: string): Promise {
+ if (typeof this.backend.getByKey === 'function') {
+ const byKey = await this.backend.getByKey(this.config.insightNamespace, entryId);
+ if (byKey) return byKey;
+ }
+ return this.backend.get(entryId);
+ }
+
/**
* Consolidate active trajectories by completing them in the neural system.
* Only runs when there are enough active trajectories to justify the cost.
diff --git a/v3/@claude-flow/performance/package.json b/v3/@claude-flow/performance/package.json
index 541cf59803..ee30bff783 100644
--- a/v3/@claude-flow/performance/package.json
+++ b/v3/@claude-flow/performance/package.json
@@ -3,6 +3,28 @@
"version": "3.0.2",
"type": "module",
"description": "Performance module - benchmarking, Flash Attention validation, optimization",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/performance"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
+ "keywords": [
+ "benchmark",
+ "benchmarking",
+ "performance",
+ "regression-detection",
+ "memory-profiling",
+ "statistics",
+ "flash-attention",
+ "ai-agents",
+ "claude-flow",
+ "ruflo",
+ "typescript"
+ ],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
diff --git a/v3/@claude-flow/plugin-agent-federation/package.json b/v3/@claude-flow/plugin-agent-federation/package.json
index 22900156c6..2ad0b7042d 100644
--- a/v3/@claude-flow/plugin-agent-federation/package.json
+++ b/v3/@claude-flow/plugin-agent-federation/package.json
@@ -2,7 +2,15 @@
"name": "@claude-flow/plugin-agent-federation",
"version": "1.0.7",
"description": "Cross-installation agent federation with zero-trust security, PII-gated data flow, and compliance-grade audit trails.",
- "homepage": "https://github.com/ruvnet/ruflo",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/plugin-agent-federation"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -49,11 +57,15 @@
"keywords": [
"federation",
"multi-agent",
- "trust",
+ "ai-agents",
+ "zero-trust",
"pii",
"security",
- "audit",
- "compliance"
+ "audit-trail",
+ "compliance",
+ "claude-flow-plugin",
+ "claude-flow",
+ "ruflo"
],
"author": "Claude Flow Team",
"license": "MIT"
diff --git a/v3/@claude-flow/plugin-iot-cognitum/package.json b/v3/@claude-flow/plugin-iot-cognitum/package.json
index 9920aa3070..06c694f496 100644
--- a/v3/@claude-flow/plugin-iot-cognitum/package.json
+++ b/v3/@claude-flow/plugin-iot-cognitum/package.json
@@ -2,7 +2,15 @@
"name": "@claude-flow/plugin-iot-cognitum",
"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",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/plugin-iot-cognitum"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -39,12 +47,15 @@
},
"keywords": [
"iot",
+ "edge-devices",
+ "device-fleet",
"cognitum",
- "seed",
- "device",
- "fleet",
- "agent",
- "swarm"
+ "cognitum-seed",
+ "ai-agents",
+ "swarm",
+ "claude-flow-plugin",
+ "claude-flow",
+ "ruflo"
],
"author": "Claude Flow Team",
"license": "MIT"
diff --git a/v3/@claude-flow/plugins/package.json b/v3/@claude-flow/plugins/package.json
index 05f9383d09..25e99f7450 100644
--- a/v3/@claude-flow/plugins/package.json
+++ b/v3/@claude-flow/plugins/package.json
@@ -2,6 +2,15 @@
"name": "@claude-flow/plugins",
"version": "3.0.3",
"description": "Unified Plugin SDK for Claude Flow V3 - Worker, Hook, and Provider Integration",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/plugins"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
@@ -70,19 +79,18 @@
"vitest": "^4.1.0"
},
"keywords": [
- "claude-flow",
"plugins",
+ "plugin-sdk",
"sdk",
- "workers",
"hooks",
- "agentic-flow",
- "agentdb",
+ "workers",
+ "llm-providers",
"ai-agents",
+ "agentdb",
"ruvector",
- "hnsw",
"vector-search",
- "lora",
- "neural-adaptation"
+ "claude-flow",
+ "ruflo"
],
"author": "Claude Flow Team",
"license": "MIT",
diff --git a/v3/@claude-flow/providers/package.json b/v3/@claude-flow/providers/package.json
index e6568c698b..2bd4ede0ef 100644
--- a/v3/@claude-flow/providers/package.json
+++ b/v3/@claude-flow/providers/package.json
@@ -2,6 +2,15 @@
"name": "@claude-flow/providers",
"version": "3.0.1",
"description": "Multi-LLM Provider System for Claude Flow V3",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/providers"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
@@ -28,17 +37,18 @@
"typecheck": "tsc --noEmit"
},
"keywords": [
- "claude-flow",
"llm",
- "provider",
+ "llm-providers",
+ "multi-provider",
"anthropic",
"openai",
- "google",
- "cohere",
+ "gemini",
"ollama",
- "multi-provider",
+ "failover",
"load-balancing",
- "failover"
+ "claude",
+ "claude-flow",
+ "ruflo"
],
"author": "Claude Flow Team",
"license": "MIT",
diff --git a/v3/@claude-flow/security/README.md b/v3/@claude-flow/security/README.md
index 31a4236c6d..71727356b1 100644
--- a/v3/@claude-flow/security/README.md
+++ b/v3/@claude-flow/security/README.md
@@ -1,5 +1,9 @@
+
+
# @claude-flow/security
+**Security primitives for the system boundary of an agent app:** validate input, hash passwords, generate credentials, and block command injection and path traversal.
+
[](https://www.npmjs.com/package/@claude-flow/security)
[](https://www.npmjs.com/package/@claude-flow/security)
[](https://opensource.org/licenses/MIT)
@@ -24,6 +28,45 @@
npm install @claude-flow/security
```
+
+## Supported environments
+
+- Node.js, ESM (`import`). The quickstart below was run on Node 22 (Linux x64).
+- Pure JavaScript dependencies (`bcryptjs`, `zod`, `@noble/ed25519`). No native build step.
+- Works standalone. The Ruflo CLI (`@claude-flow/cli`) isn't required.
+
+## Quickstart (verified)
+
+```bash
+npm install @claude-flow/security
+```
+
+```js
+// quickstart.mjs
+import { InputValidator, EmailSchema, PasswordHasher, createCredentialGenerator } from '@claude-flow/security';
+
+console.log('email ok:', InputValidator.validate(EmailSchema, 'user@example.com'));
+try { InputValidator.validate(EmailSchema, 'not-an-email'); } catch (e) { console.log('rejected:', e.constructor.name); }
+
+const hasher = new PasswordHasher({ rounds: 12 });
+const hash = await hasher.hash('CorrectHorseBatteryStaple9');
+console.log('hash prefix:', hash.slice(0, 7), 'verify:', await hasher.verify('CorrectHorseBatteryStaple9', hash));
+
+const apiKey = createCredentialGenerator().generateApiKey('ck_live_');
+console.log('api key prefix:', apiKey.key.slice(0, 8), 'length:', apiKey.key.length);
+```
+
+Expected output (`node quickstart.mjs`, @claude-flow/security 3.0.7):
+
+```text
+email ok: user@example.com
+rejected: ZodError
+hash prefix: $2b$12$ verify: true
+api key prefix: ck_live_ length: 48
+```
+
+**Next:** add prompt-injection and jailbreak detection for LLM input with [`@claude-flow/aidefence`](https://www.npmjs.com/package/@claude-flow/aidefence).
+
## Standalone use (without the Ruflo CLI)
This is a plain library — every primitive (`PasswordHasher`,
diff --git a/v3/@claude-flow/security/package.json b/v3/@claude-flow/security/package.json
index 66b7e273b7..3b071615a7 100644
--- a/v3/@claude-flow/security/package.json
+++ b/v3/@claude-flow/security/package.json
@@ -3,6 +3,29 @@
"version": "3.0.7",
"type": "module",
"description": "Security module - CVE fixes, input validation, path security",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/security"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
+ "keywords": [
+ "security",
+ "input-validation",
+ "path-traversal",
+ "command-injection",
+ "password-hashing",
+ "bcrypt",
+ "credential-management",
+ "zod",
+ "ai-agents",
+ "claude-flow",
+ "ruflo",
+ "typescript"
+ ],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
diff --git a/v3/@claude-flow/shared/README.md b/v3/@claude-flow/shared/README.md
index 0b5cae844c..b613ceaa0e 100644
--- a/v3/@claude-flow/shared/README.md
+++ b/v3/@claude-flow/shared/README.md
@@ -1,5 +1,38 @@
# @claude-flow/shared
+
+
+
+**@claude-flow/shared** — Shared types, Zod config schemas and validators, the event bus and resilience helpers that the other `@claude-flow` packages build on.
+
+**Supported environments:** Node.js 20+ · ESM · Linux, macOS, Windows (pure JavaScript)
+
+## Quickstart
+
+```bash
+npm install @claude-flow/shared
+```
+
+```js
+import { validateAgentConfig } from '@claude-flow/shared';
+
+const ok = validateAgentConfig({ id: 'coder-1', name: 'Coder', type: 'coder' });
+console.log(ok.success, ok.data.maxConcurrentTasks, ok.data.priority);
+
+const bad = validateAgentConfig({ id: 'coder-1', name: 'Coder', type: 'coder', priority: 500 });
+console.log(bad.success, bad.errors.map((e) => `${e.path}: ${e.code}`).join(', '));
+```
+
+Expected output:
+
+```text
+true 5 50
+false priority: too_big
+```
+
+Next: [`@claude-flow/hooks`](https://www.npmjs.com/package/@claude-flow/hooks) builds its lifecycle hooks on these types.
+
+
[](https://www.npmjs.com/package/@claude-flow/shared)
[](https://www.npmjs.com/package/@claude-flow/shared)
[](https://opensource.org/licenses/MIT)
@@ -321,3 +354,9 @@ This package is a dependency of all other @claude-flow modules:
## License
MIT
+
+
+---
+
+Built by [rUv](https://ruv.io) · [ruv.io](https://ruv.io) · [Source](https://github.com/ruvnet/ruflo/tree/main/v3/@claude-flow/shared)
+
diff --git a/v3/@claude-flow/shared/__tests__/advisory-ranges.test.ts b/v3/@claude-flow/shared/__tests__/advisory-ranges.test.ts
new file mode 100644
index 0000000000..11061c832d
--- /dev/null
+++ b/v3/@claude-flow/shared/__tests__/advisory-ranges.test.ts
@@ -0,0 +1,70 @@
+/**
+ * Regression guard: the published dependency ranges must not admit versions
+ * with known advisories. Each row is (field, package, versions that must be
+ * rejected, versions that must be admitted).
+ *
+ * Ranges are restricted to `^X.Y.Z` alternatives joined by `||`, so the check
+ * below is exact without pulling semver into the package.
+ */
+
+import { readFileSync } from 'node:fs';
+import { dirname, join } from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { describe, it, expect } from 'vitest';
+
+const here = dirname(fileURLToPath(import.meta.url));
+const manifest = JSON.parse(readFileSync(join(here, '..', 'package.json'), 'utf8')) as Record<
+ string,
+ Record | undefined
+>;
+
+type Version = { major: number; minor: number; patch: number; pre: boolean };
+
+function parse(v: string): Version {
+ const m = /^(\d+)\.(\d+)\.(\d+)(-.+)?$/.exec(v);
+ if (!m) throw new Error(`not a version: ${v}`);
+ return { major: +m[1], minor: +m[2], patch: +m[3], pre: m[4] !== undefined };
+}
+
+function cmp(a: Version, b: Version): number {
+ return a.major - b.major || a.minor - b.minor || a.patch - b.patch;
+}
+
+/** Caret semantics for X >= 1: same major, >= floor, no prereleases. */
+function satisfies(version: string, range: string): boolean {
+ const v = parse(version);
+ return range.split('||').some((part) => {
+ const m = /^\s*\^(\d+\.\d+\.\d+)\s*$/.exec(part);
+ if (!m) throw new Error(`unsupported range form: ${part.trim()}`);
+ const floor = parse(m[1]);
+ return !v.pre && v.major === floor.major && floor.major >= 1 && cmp(v, floor) >= 0;
+ });
+}
+
+const rows: Array<[field: string, name: string, advisory: string, rejected: string[], admitted: string[]]> = [
+ ['dependencies', 'zod', 'GHSA-mrhx-c7xc-m3w5', ['3.22.4', '3.25.76', '4.6.5'], ['4.6.7']],
+ ['dependencies', 'express', 'GHSA-qw6h-vgh9-j6wx', ['4.22.2', '5.0.1'], ['4.22.3', '5.1.0', '5.3.0']],
+ ['dependencies', 'ws', 'GHSA-96hv-2xvq-fx4p', ['8.20.1'], ['8.21.0']],
+];
+
+describe('advisory-free dependency ranges', () => {
+ for (const [field, name, advisory, rejected, admitted] of rows) {
+ const range = manifest[field]?.[name];
+
+ it(`${field}.${name} is declared`, () => {
+ expect(range).toBeTypeOf('string');
+ });
+
+ for (const v of rejected) {
+ it(`${field}.${name} rejects ${v} (${advisory})`, () => {
+ expect(satisfies(v, range!)).toBe(false);
+ });
+ }
+
+ for (const v of admitted) {
+ it(`${field}.${name} admits ${v}`, () => {
+ expect(satisfies(v, range!)).toBe(true);
+ });
+ }
+ }
+});
diff --git a/v3/@claude-flow/shared/__tests__/zod4-config-validator.test.ts b/v3/@claude-flow/shared/__tests__/zod4-config-validator.test.ts
new file mode 100644
index 0000000000..0413c65f3e
--- /dev/null
+++ b/v3/@claude-flow/shared/__tests__/zod4-config-validator.test.ts
@@ -0,0 +1,91 @@
+/**
+ * Config validation under zod 4.
+ *
+ * zod 4 removed `ZodError.errors` (use `.issues`). The validator mapped
+ * `error.errors`, so every invalid config threw a TypeError out of the
+ * validator instead of returning `{ success: false, errors }`.
+ */
+
+import { describe, it, expect } from 'vitest';
+import {
+ validateAgentConfig,
+ validateSwarmConfig,
+ ConfigValidator,
+} from '../src/core/config/validator.js';
+import { AgentConfigSchema } from '../src/core/config/schema.js';
+
+describe('config validator under zod 4', () => {
+ it('returns structured errors for an invalid agent config', () => {
+ const result = validateAgentConfig({ id: '', name: 'x' });
+ expect(result.success).toBe(false);
+ expect(result.errors?.length).toBeGreaterThan(0);
+ const paths = result.errors?.map((e) => e.path) ?? [];
+ expect(paths).toContain('id');
+ expect(paths).toContain('type');
+ for (const e of result.errors ?? []) {
+ expect(typeof e.message).toBe('string');
+ expect(typeof e.code).toBe('string');
+ }
+ });
+
+ it('returns structured errors for an invalid swarm topology', () => {
+ const result = validateSwarmConfig({ topology: 'not-a-topology' });
+ expect(result.success).toBe(false);
+ expect(result.errors?.[0]?.path).toBe('topology');
+ });
+
+ it('still applies defaults on a valid agent config', () => {
+ const result = validateAgentConfig({ id: 'a1', name: 'A', type: 'coder' });
+ expect(result.success).toBe(true);
+ expect(result.data).toMatchObject({
+ capabilities: [],
+ maxConcurrentTasks: 5,
+ priority: 50,
+ });
+ });
+
+ it('treats a ZodError from another zod copy as a validation failure', () => {
+ // A caller-supplied schema built with a different zod (e.g. zod 3) throws
+ // a ZodError that is not an instance of this package's z.ZodError.
+ const foreign = {
+ parse() {
+ throw Object.assign(new Error('foreign'), {
+ name: 'ZodError',
+ issues: [{ path: ['x'], message: 'Expected string', code: 'invalid_type' }],
+ });
+ },
+ };
+ expect(ConfigValidator.isValid(foreign as never, 42)).toBe(false);
+ });
+
+ it('does not mistake an operational error named ZodError for a validation failure', () => {
+ const impostor = {
+ parse() {
+ throw Object.assign(new Error('database failed'), { name: 'ZodError', issues: [] });
+ },
+ };
+ expect(() => ConfigValidator.isValid(impostor as never, {})).toThrow('database failed');
+ });
+
+ it('reports symbol path segments instead of throwing', () => {
+ const sym = Symbol('meta');
+ const foreign = {
+ parse() {
+ throw Object.assign(new Error('foreign'), {
+ name: 'ZodError',
+ issues: [{ path: ['metadata', sym], message: 'bad key', code: 'invalid_key' }],
+ });
+ },
+ };
+ expect(() => ConfigValidator.validateOrThrow(foreign as never, {}, 'agent')).toThrow(
+ /- metadata\.Symbol\(meta\): bad key/,
+ );
+ });
+
+ it('validateAgentOrThrow reports the invalid fields, not a TypeError', () => {
+ expect(AgentConfigSchema.safeParse({}).success).toBe(false);
+ expect(() => ConfigValidator.validateAgentOrThrow({ id: '' })).toThrow(
+ /Invalid agent configuration:\n {2}- id: /,
+ );
+ });
+});
diff --git a/v3/@claude-flow/shared/assets/shared-flow.svg b/v3/@claude-flow/shared/assets/shared-flow.svg
new file mode 100644
index 0000000000..1ebd042bfb
--- /dev/null
+++ b/v3/@claude-flow/shared/assets/shared-flow.svg
@@ -0,0 +1,22 @@
+
diff --git a/v3/@claude-flow/shared/package.json b/v3/@claude-flow/shared/package.json
index ba795d5f9d..b8c53a570e 100644
--- a/v3/@claude-flow/shared/package.json
+++ b/v3/@claude-flow/shared/package.json
@@ -1,8 +1,8 @@
{
"name": "@claude-flow/shared",
- "version": "3.0.7",
+ "version": "3.0.8",
"type": "module",
- "description": "Shared module - common types, events, utilities, core interfaces",
+ "description": "Shared types, event bus, config schemas and validators, MCP transport helpers and resilience utilities used by the Ruflo (claude-flow) V3 packages.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
@@ -30,11 +30,11 @@
"dependencies": {
"@types/ws": "^8.5.10",
"cors": "^2.8.5",
- "express": "^4.22.2 || ^5.0.0",
+ "express": "^4.22.3 || ^5.1.0",
"helmet": "^7.2.0",
"sql.js": "^1.10.3",
"ws": "^8.21.0",
- "zod": "^3.22.4"
+ "zod": "^4.6.7"
},
"devDependencies": {
"@types/cors": "^2.8.17",
@@ -45,5 +45,26 @@
},
"publishConfig": {
"access": "public"
+ },
+ "keywords": [
+ "ruflo",
+ "claude-flow",
+ "shared",
+ "types",
+ "event-bus",
+ "config-validation",
+ "zod",
+ "mcp",
+ "resilience",
+ "typescript"
+ ],
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/shared"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
}
}
diff --git a/v3/@claude-flow/shared/src/core/config/schema.ts b/v3/@claude-flow/shared/src/core/config/schema.ts
index 1c281f945d..06131914f9 100644
--- a/v3/@claude-flow/shared/src/core/config/schema.ts
+++ b/v3/@claude-flow/shared/src/core/config/schema.ts
@@ -25,7 +25,7 @@ export const AgentConfigSchema = z.object({
maxMemoryMb: z.number().int().positive().optional(),
maxCpuPercent: z.number().min(0).max(100).optional(),
}).optional(),
- metadata: z.record(z.unknown()).optional(),
+ metadata: z.record(z.string(), z.unknown()).optional(),
});
/**
@@ -37,7 +37,7 @@ export const TaskConfigSchema = z.object({
priority: z.number().int().min(0).max(100).default(50),
timeout: z.number().int().positive().optional(),
assignedAgent: z.string().optional(),
- input: z.record(z.unknown()).optional(),
+ input: z.record(z.string(), z.unknown()).optional(),
metadata: z.object({
requiredCapabilities: z.array(z.string()).optional(),
retryCount: z.number().int().min(0).optional(),
@@ -75,7 +75,7 @@ export const SwarmConfigSchema = z.object({
batchSize: z.number().int().positive().default(10),
flushIntervalMs: z.number().int().positive().default(100),
}).optional(),
- metadata: z.record(z.unknown()).optional(),
+ metadata: z.record(z.string(), z.unknown()).optional(),
});
/**
@@ -127,7 +127,7 @@ export const MCPServerConfigSchema = z.object({
resources: z.boolean().default(true),
prompts: z.boolean().default(true),
logging: z.boolean().default(true),
- experimental: z.record(z.boolean()).optional(),
+ experimental: z.record(z.string(), z.boolean()).optional(),
}).optional(),
});
diff --git a/v3/@claude-flow/shared/src/core/config/validator.ts b/v3/@claude-flow/shared/src/core/config/validator.ts
index 134b82f57d..60b154b468 100644
--- a/v3/@claude-flow/shared/src/core/config/validator.ts
+++ b/v3/@claude-flow/shared/src/core/config/validator.ts
@@ -42,20 +42,37 @@ export interface ValidationError {
/**
* Convert Zod error to validation errors
*/
-function zodErrorToValidationErrors(error: ZodError): ValidationError[] {
- return error.errors.map((e) => ({
- path: e.path.join('.'),
+function zodErrorToValidationErrors(error: Pick): ValidationError[] {
+ return error.issues.map((e) => ({
+ path: e.path.map(String).join('.'),
message: e.message,
code: e.code,
}));
}
+function isZodErrorLike(error: unknown): error is Pick {
+ if (!(error instanceof Error) || error.name !== 'ZodError') return false;
+ const issues = (error as { issues?: unknown }).issues;
+ return (
+ Array.isArray(issues) &&
+ issues.length > 0 &&
+ issues.every(
+ (i) =>
+ i !== null &&
+ typeof i === 'object' &&
+ Array.isArray((i as { path?: unknown }).path) &&
+ typeof (i as { message?: unknown }).message === 'string' &&
+ typeof (i as { code?: unknown }).code === 'string',
+ )
+ );
+}
+
/**
* Generic validation function
* Uses parse + try/catch to get output types with defaults applied
*/
function validate(
- schema: z.ZodType,
+ schema: z.ZodType,
data: unknown
): ValidationResult {
try {
@@ -65,7 +82,9 @@ function validate(
data: parsed,
};
} catch (error) {
- if (error instanceof z.ZodError) {
+ // Callers may pass a schema built with another zod copy (e.g. zod 3),
+ // whose ZodError is not an instance of this one. Match on shape.
+ if (error instanceof z.ZodError || isZodErrorLike(error)) {
return {
success: false,
errors: zodErrorToValidationErrors(error),
@@ -132,7 +151,7 @@ export class ConfigValidator {
* Validate and throw on error
*/
static validateOrThrow(
- schema: z.ZodType,
+ schema: z.ZodType,
data: unknown,
configName: string
): TOutput {
@@ -201,7 +220,7 @@ export class ConfigValidator {
* Check if data matches schema
*/
static isValid(
- schema: z.ZodType,
+ schema: z.ZodType,
data: unknown
): boolean {
return validate(schema, data).success;
diff --git a/v3/@claude-flow/swarm/package.json b/v3/@claude-flow/swarm/package.json
index da65597a9d..bd3fc528e3 100644
--- a/v3/@claude-flow/swarm/package.json
+++ b/v3/@claude-flow/swarm/package.json
@@ -1,8 +1,17 @@
{
"name": "@claude-flow/swarm",
- "version": "3.0.5",
+ "version": "3.0.6",
"type": "module",
"description": "Standalone swarm coordination - up to 100+ agents, 4 topologies, hive-mind, consensus",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/swarm"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
@@ -24,11 +33,15 @@
"keywords": [
"swarm",
"multi-agent",
- "coordination",
+ "multi-agent-systems",
+ "agent-orchestration",
"consensus",
"hive-mind",
- "distributed",
- "ai-agents"
+ "distributed-systems",
+ "ai-agents",
+ "claude-flow",
+ "ruflo",
+ "typescript"
],
"publishConfig": {
"access": "public"
diff --git a/v3/@claude-flow/testing/package.json b/v3/@claude-flow/testing/package.json
index 2fde20483c..babdcefb30 100644
--- a/v3/@claude-flow/testing/package.json
+++ b/v3/@claude-flow/testing/package.json
@@ -3,6 +3,15 @@
"version": "3.0.0",
"type": "module",
"description": "Testing module - TDD London School framework, test utilities, fixtures, and mock services for V3 Claude-Flow",
+ "homepage": "https://ruv.io",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/ruvnet/ruflo.git",
+ "directory": "v3/@claude-flow/testing"
+ },
+ "bugs": {
+ "url": "https://github.com/ruvnet/ruflo/issues"
+ },
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
@@ -37,13 +46,17 @@
"typecheck": "tsc --noEmit"
},
"keywords": [
- "claude-flow",
"testing",
"vitest",
"tdd",
"london-school",
"mocks",
- "fixtures"
+ "test-fixtures",
+ "test-utilities",
+ "ai-agents",
+ "claude-flow",
+ "ruflo",
+ "typescript"
],
"peerDependencies": {
"@claude-flow/memory": "^3.0.0",
diff --git a/v3/pnpm-lock.yaml b/v3/pnpm-lock.yaml
index b1a48e0b89..2ed188e995 100644
--- a/v3/pnpm-lock.yaml
+++ b/v3/pnpm-lock.yaml
@@ -53,7 +53,7 @@ importers:
dependencies:
agentdb:
specifier: ^3.6.0
- version: 3.6.0(@types/node@20.19.27)(zod@3.25.76)
+ version: 3.6.0(@types/node@20.19.27)(zod@4.6.7)
devDependencies:
'@types/node':
specifier: ^20.10.0
@@ -136,7 +136,7 @@ importers:
specifier: 3.0.7
version: link:../security
'@claude-flow/shared':
- specifier: 3.0.7
+ specifier: 3.0.8
version: link:../shared
'@electron/asar':
specifier: ^4.3.1
@@ -224,7 +224,7 @@ importers:
specifier: 3.2.1
version: link:../aidefence
'@claude-flow/memory':
- specifier: 3.3.0
+ specifier: 3.3.1
version: link:../memory
'@metaharness/flywheel':
specifier: ~0.1.10
@@ -459,7 +459,7 @@ importers:
version: link:../security
agentdb:
specifier: ^3.7.2
- version: 3.7.2(@types/node@20.19.27)(zod@3.25.76)
+ version: 3.7.2(@types/node@20.19.27)(zod@4.6.7)
sql.js:
specifier: ^1.10.3
version: 1.13.0
@@ -492,7 +492,7 @@ importers:
optionalDependencies:
agentdb:
specifier: ^2.0.0 || ^3.0.0-alpha.1
- version: 3.7.2(@types/node@20.19.27)(zod@3.25.76)
+ version: 3.7.2(@types/node@20.19.27)(zod@4.6.7)
'@claude-flow/performance':
dependencies:
@@ -655,8 +655,8 @@ importers:
specifier: ^8.21.0
version: 8.21.1
zod:
- specifier: ^3.22.4
- version: 3.25.76
+ specifier: ^4.6.7
+ version: 4.6.7
devDependencies:
'@types/cors':
specifier: ^2.8.17
@@ -4512,13 +4512,13 @@ packages:
requiresBuild: true
dev: false
- /agentdb@3.6.0(@types/node@20.19.27)(zod@3.25.76):
+ /agentdb@3.6.0(@types/node@20.19.27)(zod@4.6.7):
resolution: {integrity: sha512-G61ik5BiBvohgbyCOsNdoSYLsdd0XMQ/xpA2HPDeM5IWBaXCp9ZUREX9i+U4+8cM6REhTHZZcthmz8PWRYKnBw==}
engines: {node: '>=20.9.0'}
hasBin: true
requiresBuild: true
dependencies:
- '@modelcontextprotocol/sdk': 1.32.1(zod@3.25.76)
+ '@modelcontextprotocol/sdk': 1.32.1(zod@4.6.7)
'@opentelemetry/api': 1.9.1
ajv: 8.20.0
semver: 7.7.3
@@ -4548,7 +4548,7 @@ packages:
commander: 12.1.0
hnswlib-node: 3.0.0
inquirer: 9.3.8(@types/node@20.19.27)
- ruvector: 0.3.13(@ruvector/router@0.1.30)(@ruvector/ruvllm@4.1.0)(zod@3.25.76)
+ ruvector: 0.3.13(@ruvector/router@0.1.30)(@ruvector/ruvllm@4.1.0)(zod@4.6.7)
ruvector-attention-wasm: 0.1.32
ruvector-graph-transformer-wasm: 2.0.4
transitivePeerDependencies:
@@ -4614,6 +4614,58 @@ packages:
- supports-color
- zod
+ /agentdb@3.7.2(@types/node@20.19.27)(zod@4.6.7):
+ resolution: {integrity: sha512-1knpJnlYSfx+wxie44GDEyT6cKTga1APb0m5iCTf+dkmA7Wx1f6SepRj0YohFnwhFiBq9Y5oEFhzMTFb03Pb7A==}
+ engines: {node: '>=20.9.0'}
+ hasBin: true
+ requiresBuild: true
+ dependencies:
+ '@modelcontextprotocol/sdk': 1.32.1(zod@4.6.7)
+ '@opentelemetry/api': 1.9.1
+ ajv: 8.20.0
+ semver: 7.7.3
+ sql.js: 1.14.1
+ optionalDependencies:
+ '@huggingface/transformers': 4.2.0
+ '@opentelemetry/resources': 2.9.0(@opentelemetry/api@1.9.1)
+ '@opentelemetry/sdk-node': 0.220.0(@opentelemetry/api@1.9.1)
+ '@opentelemetry/semantic-conventions': 1.40.0
+ '@ruvector/attention': 2.2.3
+ '@ruvector/gnn': 0.1.25
+ '@ruvector/graph-node': 2.1.2
+ '@ruvector/graph-transformer': 2.0.4
+ '@ruvector/mincut-wasm': 2.3.0
+ '@ruvector/rabitq-wasm': 0.1.2
+ '@ruvector/router': 0.1.30
+ '@ruvector/ruvllm': 4.1.0
+ '@ruvector/rvf': 0.3.4
+ '@ruvector/rvf-node': 0.4.3
+ '@ruvector/rvf-solver': 0.1.8
+ '@ruvector/rvf-wasm': 0.1.9
+ '@ruvector/sona': 0.1.11
+ '@ruvnet/sublinear-core': 1.0.1
+ aidefence: 3.0.2
+ argon2: 0.44.0
+ better-sqlite3: 12.9.0
+ chalk: 5.6.2
+ commander: 12.1.0
+ hnswlib-node: 3.0.0
+ inquirer: 9.3.8(@types/node@20.19.27)
+ ruvector: 0.3.13(@ruvector/router@0.1.30)(@ruvector/ruvllm@4.1.0)(zod@4.6.7)
+ ruvector-attention-wasm: 0.1.32
+ ruvector-graph-transformer-wasm: 2.0.4
+ transitivePeerDependencies:
+ - '@cfworker/json-schema'
+ - '@metaharness/kernel'
+ - '@ruvector/diskann'
+ - '@ruvector/pi-brain'
+ - '@types/node'
+ - agenticow
+ - rvlite
+ - supports-color
+ - zod
+ dev: false
+
/agentic-flow@2.0.14(@types/node@20.19.27):
resolution: {integrity: sha512-8+AQhXI0P0mK26mZ8zsTQkhUhRsPWYP52Diwzr3Nk0dUNXd+pBjzdyQDfFxttGIymBfMqvRr8VRBd+bZLSYWcg==}
engines: {node: '>=18.0.0'}
@@ -8448,6 +8500,62 @@ packages:
- supports-color
- zod
+ /ruvector@0.3.13(@ruvector/router@0.1.30)(@ruvector/ruvllm@4.1.0)(zod@4.6.7):
+ resolution: {integrity: sha512-Vf32SOx8a+N36D4B7zWYMhYuNK9BkvjOs//XAgi5wGrLLqU+N6SOgBvKMVym2//ISF9bqWLpfPodyHkWxoWdzg==}
+ engines: {node: '>=20.0.0'}
+ hasBin: true
+ requiresBuild: true
+ peerDependencies:
+ '@ruvector/diskann': ^0.1.0
+ '@ruvector/pi-brain': ^0.1.0
+ '@ruvector/router': ^0.1.0
+ '@ruvector/ruvllm': ^4.1.0
+ rvlite: ^0.2.0
+ peerDependenciesMeta:
+ '@ruvector/diskann':
+ optional: true
+ '@ruvector/pi-brain':
+ optional: true
+ '@ruvector/router':
+ optional: true
+ '@ruvector/ruvllm':
+ optional: true
+ rvlite:
+ optional: true
+ dependencies:
+ '@modelcontextprotocol/sdk': 1.32.1(zod@4.6.7)
+ '@ruvector/attention': 2.2.3
+ '@ruvector/core': 0.1.30
+ '@ruvector/gnn': 0.1.25
+ '@ruvector/router': 0.1.30
+ '@ruvector/ruvllm': 4.1.0
+ '@ruvector/sona': 0.1.11
+ chalk: 4.1.2
+ commander: 11.1.0
+ ora: 5.4.1
+ optionalDependencies:
+ '@metaharness/darwin': 0.13.0
+ '@metaharness/flywheel': 0.1.13
+ '@metaharness/harness': 0.2.0
+ '@metaharness/redblue': 0.1.6
+ '@metaharness/router': 0.4.0(@ruvector/tiny-dancer@0.1.22)
+ '@metaharness/weight-eft': 0.1.2
+ '@metaharness/workspace-lens': 0.1.2
+ '@metaharness/workspace-probe': 0.1.1
+ '@ruvector/mincut-wasm': 2.3.0
+ '@ruvector/rabitq-wasm': 0.1.2
+ '@ruvector/rvf': 0.3.4
+ '@ruvector/tiny-dancer': 0.1.22
+ metaharness: 0.4.20
+ transitivePeerDependencies:
+ - '@cfworker/json-schema'
+ - '@metaharness/kernel'
+ - agenticow
+ - supports-color
+ - zod
+ dev: false
+ optional: true
+
/rxjs@7.8.2:
resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
dependencies: