mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
Merge pull request #4950 from ruvnet/release/3.75.3
chore(release): 3.75.3
This commit is contained in:
33 files changed
+788
-96
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 220" role="img" aria-labelledby="t d"><title id="t">@claude-flow/memory HNSW quickstart</title><desc id="d">Three 8-dimensional vectors doc-a, doc-b and doc-c are added to an HNSWIndex; a cosine query returns doc-a at distance 0 and doc-b at distance 0.0061, the output of the README quickstart run on Node 22.</desc>
|
||||
<style>text{font-family:Arial,Helvetica,sans-serif}.h{fill:#f2f6ff;font-size:20px;font-weight:700}.s{fill:#b8c7da;font-size:13px}.m{fill:#f2f6ff;font-size:13px}.m text,text.m{font-family:Menlo,Consolas,monospace}.k{fill:#5cf2c3;font-size:11px;letter-spacing:2px}.wire{fill:none;stroke:#5cf2c3;stroke-width:2;stroke-dasharray:8 7;animation:flow 3s linear infinite}.a1,.a2,.a3,.q,.r1,.r2{opacity:0;animation:6s ease-in-out infinite}.a1{animation-name:a1}.a2{animation-name:a2}.a3{animation-name:a3}.q{animation-name:q}.r1{animation-name:r1}.r2{animation-name:r2}@keyframes flow{to{stroke-dashoffset:-60}}@keyframes a1{8%,100%{opacity:1}0%{opacity:0}}@keyframes a2{0%,15%{opacity:0}23%,100%{opacity:1}}@keyframes a3{0%,30%{opacity:0}38%,100%{opacity:1}}@keyframes q{0%,48%{opacity:0}55%,100%{opacity:1}}@keyframes r1{0%,62%{opacity:0}70%,100%{opacity:1}}@keyframes r2{0%,74%{opacity:0}82%,100%{opacity:1}}@media (prefers-reduced-motion:reduce){*{animation:none!important;opacity:1!important}}</style>
|
||||
<rect width="880" height="220" rx="14" fill="#0c1324"/>
|
||||
<text x="28" y="38" class="k">AGENT MEMORY · HNSW</text><text x="28" y="66" class="h">@claude-flow/memory</text><text x="28" y="88" class="s">Vector memory for agents: add, search, persist.</text>
|
||||
<g class="m"><text x="28" y="128" class="a1">addPoint('doc-a', [1,0,0,…])</text><text x="28" y="152" class="a2">addPoint('doc-b', [0.9,0.1,0,…])</text><text x="28" y="176" class="a3">addPoint('doc-c', [0,1,0,…])</text></g>
|
||||
<path class="wire" d="M300 150 H380"/>
|
||||
<rect x="385" y="104" width="150" height="92" rx="10" fill="#162238" stroke="#374354"/><text x="460" y="134" text-anchor="middle" class="s">HNSWIndex</text><text x="460" y="154" text-anchor="middle" class="s">dim 8 · cosine</text><text x="460" y="174" text-anchor="middle" class="s">M 16</text>
|
||||
<g class="q"><circle cx="460" cy="86" r="6" fill="#ffbe73"/><text x="474" y="90" class="m">search(query, 2)</text></g>
|
||||
<path class="wire" d="M540 150 H610"/>
|
||||
<g class="m"><text x="618" y="138" class="r1">doc-a distance 0</text><text x="618" y="166" class="r2">doc-b distance 0.0061</text></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 220" role="img" aria-labelledby="t d"><title id="t">@claude-flow/security boundary quickstart</title><desc id="d">The README recipe run on Node 22: user@example.com passes the email schema, not-an-email is rejected with a ZodError, a bcrypt hash with cost 12 verifies true, and a 48-character ck_live_ API key is generated.</desc>
|
||||
<style>text{font-family:Arial,Helvetica,sans-serif}.h{fill:#f2f6ff;font-size:20px;font-weight:700}.s{fill:#b8c7da;font-size:13px}.m{fill:#f2f6ff;font-size:13px}.m text,text.m{font-family:Menlo,Consolas,monospace}.ok{fill:#5cf2c3}.no{fill:#ffbe73}.k{fill:#5cf2c3;font-size:11px;letter-spacing:2px}.wire{fill:none;stroke:#5cf2c3;stroke-width:2;stroke-dasharray:8 7;animation:flow 3s linear infinite}.s1,.s2,.s3,.s4{opacity:0;animation:7s ease-in-out infinite}.s1{animation-name:s1}.s2{animation-name:s2}.s3{animation-name:s3}.s4{animation-name:s4}@keyframes flow{to{stroke-dashoffset:-60}}@keyframes s1{0%{opacity:0}8%,100%{opacity:1}}@keyframes s2{0%,22%{opacity:0}30%,100%{opacity:1}}@keyframes s3{0%,44%{opacity:0}52%,100%{opacity:1}}@keyframes s4{0%,66%{opacity:0}74%,100%{opacity:1}}@media (prefers-reduced-motion:reduce){*{animation:none!important;opacity:1!important}}</style>
|
||||
<rect width="880" height="220" rx="14" fill="#0c1324"/>
|
||||
<text x="28" y="38" class="k">SECURITY · SYSTEM BOUNDARY</text><text x="28" y="66" class="h">@claude-flow/security</text><text x="28" y="88" class="s">Validate input, hash secrets, mint keys.</text>
|
||||
<path class="wire" d="M28 112 H852"/>
|
||||
<g class="m"><g class="s1"><text x="28" y="140">validate 'user@example.com'</text><text x="470" y="140" class="ok">ok</text></g>
|
||||
<g class="s2"><text x="28" y="162">validate 'not-an-email'</text><text x="470" y="162" class="no">rejected: ZodError</text></g>
|
||||
<g class="s3"><text x="28" y="184">bcrypt hash (rounds 12) → $2b$12$…</text><text x="470" y="184" class="ok">verify: true</text></g>
|
||||
<g class="s4"><text x="28" y="206">generateApiKey('ck_live_')</text><text x="470" y="206" class="ok">ck_live_… (48 chars)</text></g></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Generated
+22
-10
@@ -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": {
|
||||
|
||||
+2
-2
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
Newest first. One `## <version> — <date>` 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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
+2
-2
@@ -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": {
|
||||
|
||||
+2
-2
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/main/docs/assets/readme/packages/memory-hnsw-quickstart.svg" alt="@claude-flow/memory quickstart: three vectors go into an HNSWIndex and a cosine query returns doc-a (distance 0) and doc-b (distance 0.0061)." width="100%"></p>
|
||||
|
||||
# @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
|
||||
```
|
||||
|
||||
<!-- weaver:seo:quickstart -->
|
||||
## 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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -218,7 +218,7 @@ export class LearningBridge extends EventEmitter {
|
||||
async onInsightAccessed(entryId: string): Promise<void> {
|
||||
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<MemoryEntry | null> {
|
||||
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.
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/main/docs/assets/readme/packages/security-boundary-quickstart.svg" alt="@claude-flow/security quickstart: a valid email passes, an invalid one is rejected with a ZodError, a bcrypt hash verifies, and a 48-character API key is generated." width="100%"></p>
|
||||
|
||||
# @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
|
||||
```
|
||||
|
||||
<!-- weaver:seo:quickstart -->
|
||||
## 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`,
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -1,5 +1,38 @@
|
||||
# @claude-flow/shared
|
||||
|
||||
<!-- adr-356:quickstart:start -->
|
||||

|
||||
|
||||
**@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.
|
||||
<!-- adr-356:quickstart:end -->
|
||||
|
||||
[](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
|
||||
|
||||
<!-- adr-356:footer:start -->
|
||||
---
|
||||
|
||||
Built by [rUv](https://ruv.io) · [ruv.io](https://ruv.io) · [Source](https://github.com/ruvnet/ruflo/tree/main/v3/@claude-flow/shared)
|
||||
<!-- adr-356:footer:end -->
|
||||
@@ -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<string, string> | 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);
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -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: /,
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,22 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 170" width="760" height="170" role="img" aria-labelledby="t d">
|
||||
<title id="t">@claude-flow/shared: validated config to typed events</title>
|
||||
<desc id="d">Raw configuration is checked by Zod schemas in ConfigValidator, becomes typed config, and flows through the EventBus and EventStore to the other @claude-flow packages.</desc>
|
||||
<style>
|
||||
.bg{fill:#1e293b}
|
||||
.cap{fill:#e2e8f0;font:600 15px system-ui,-apple-system,Segoe UI,sans-serif}
|
||||
.s rect{fill:#334155;stroke:#64748b;stroke-width:1.5}
|
||||
.s{animation:pulse 6s infinite}
|
||||
.h{fill:#f8fafc;font:600 13px system-ui,-apple-system,Segoe UI,sans-serif;text-anchor:middle}
|
||||
.t{fill:#cbd5e1;font:11px system-ui,-apple-system,Segoe UI,sans-serif;text-anchor:middle}
|
||||
.a{fill:none;stroke:#94a3b8;stroke-width:2}
|
||||
.dot{fill:#38bdf8;animation:move 6s linear infinite}
|
||||
@keyframes pulse{0%,20.0%{opacity:1}28.0%,100%{opacity:.62}}
|
||||
@keyframes move{from{transform:translateX(0)}to{transform:translateX(600px)}}
|
||||
@media (prefers-reduced-motion:reduce){.s,.dot{animation:none}}
|
||||
</style>
|
||||
<rect class="bg" width="760" height="170" rx="14"/>
|
||||
<text class="cap" x="20" y="34">@claude-flow/shared: validated config to typed events</text>
|
||||
<path class="a" d="M147 90h14m-5 -4l5 4l-5 4"/><path class="a" d="M297 90h14m-5 -4l5 4l-5 4"/><path class="a" d="M447 90h14m-5 -4l5 4l-5 4"/><path class="a" d="M597 90h14m-5 -4l5 4l-5 4"/>
|
||||
<g class="s" style="animation-delay:0.0s"><rect x="16" y="58" width="128" height="64" rx="10"/><text class="h" x="80" y="85">Raw config</text><text class="t" x="80" y="104">JSON / object</text></g><g class="s" style="animation-delay:1.2s"><rect x="166" y="58" width="128" height="64" rx="10"/><text class="h" x="230" y="85">Zod schemas</text><text class="t" x="230" y="104">ConfigValidator</text></g><g class="s" style="animation-delay:2.4s"><rect x="316" y="58" width="128" height="64" rx="10"/><text class="h" x="380" y="85">Typed config</text><text class="t" x="380" y="104">defaults applied</text></g><g class="s" style="animation-delay:3.6s"><rect x="466" y="58" width="128" height="64" rx="10"/><text class="h" x="530" y="85">EventBus</text><text class="t" x="530" y="104">EventStore</text></g><g class="s" style="animation-delay:4.8s"><rect x="616" y="58" width="128" height="64" rx="10"/><text class="h" x="680" y="85">Consumers</text><text class="t" x="680" y="104">hooks, plugins, cli</text></g>
|
||||
<circle class="dot" cx="80" cy="140" r="5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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(),
|
||||
});
|
||||
|
||||
|
||||
@@ -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<ZodError, 'issues'>): 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<ZodError, 'issues'> {
|
||||
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<TInput, TOutput>(
|
||||
schema: z.ZodType<TOutput, z.ZodTypeDef, TInput>,
|
||||
schema: z.ZodType<TOutput, TInput>,
|
||||
data: unknown
|
||||
): ValidationResult<TOutput> {
|
||||
try {
|
||||
@@ -65,7 +82,9 @@ function validate<TInput, TOutput>(
|
||||
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<TInput, TOutput>(
|
||||
schema: z.ZodType<TOutput, z.ZodTypeDef, TInput>,
|
||||
schema: z.ZodType<TOutput, TInput>,
|
||||
data: unknown,
|
||||
configName: string
|
||||
): TOutput {
|
||||
@@ -201,7 +220,7 @@ export class ConfigValidator {
|
||||
* Check if data matches schema
|
||||
*/
|
||||
static isValid<TInput, TOutput>(
|
||||
schema: z.ZodType<TOutput, z.ZodTypeDef, TInput>,
|
||||
schema: z.ZodType<TOutput, TInput>,
|
||||
data: unknown
|
||||
): boolean {
|
||||
return validate(schema, data).success;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Generated
+118
-10
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user