Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

fix: v2.7.21 - Update to [email protected] with fixed better-sqlite3 import for npx users

rUv904793eaa03d
diff --git a/.claude-flow/metrics/performance.json b/.claude-flow/metrics/performance.json
index e6a4ee7672..f848e8f7bf 100644
--- a/.claude-flow/metrics/performance.json
+++ b/.claude-flow/metrics/performance.json
@@ -1,7 +1,7 @@
{
- "startTime": 1761425043948,
- "sessionId": "session-1761425043948",
- "lastActivity": 1761425043948,
+ "startTime": 1761425939622,
+ "sessionId": "session-1761425939622",
+ "lastActivity": 1761425939622,
"sessionDuration": 0,
"totalTasks": 1,
"successfulTasks": 1,
diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json
index ef3ec53c56..bfcb91372e 100644
--- a/.claude-flow/metrics/system-metrics.json
+++ b/.claude-flow/metrics/system-metrics.json
@@ -5890,5 +5890,365 @@
"cpuLoad": 0.085625,
"platform": "linux",
"uptime": 16920.47
+ },
+ {
+ "timestamp": 1761425046481,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5622218752,
+ "memoryFree": 61805322240,
+ "memoryUsagePercent": 8.338163707715596,
+ "memoryEfficiency": 91.6618362922844,
+ "cpuCount": 16,
+ "cpuLoad": 0.064375,
+ "platform": "linux",
+ "uptime": 16950.5
+ },
+ {
+ "timestamp": 1761425076501,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5436194816,
+ "memoryFree": 61991346176,
+ "memoryUsagePercent": 8.062276535703687,
+ "memoryEfficiency": 91.93772346429631,
+ "cpuCount": 16,
+ "cpuLoad": 0.075,
+ "platform": "linux",
+ "uptime": 16980.52
+ },
+ {
+ "timestamp": 1761425106531,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5369192448,
+ "memoryFree": 62058348544,
+ "memoryUsagePercent": 7.962907098505983,
+ "memoryEfficiency": 92.03709290149402,
+ "cpuCount": 16,
+ "cpuLoad": 0.04875,
+ "platform": "linux",
+ "uptime": 17010.55
+ },
+ {
+ "timestamp": 1761425136562,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5427929088,
+ "memoryFree": 61999611904,
+ "memoryUsagePercent": 8.050017853452495,
+ "memoryEfficiency": 91.94998214654751,
+ "cpuCount": 16,
+ "cpuLoad": 0.043125,
+ "platform": "linux",
+ "uptime": 17040.58
+ },
+ {
+ "timestamp": 1761425166592,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5385850880,
+ "memoryFree": 62041690112,
+ "memoryUsagePercent": 7.987612777750577,
+ "memoryEfficiency": 92.01238722224943,
+ "cpuCount": 16,
+ "cpuLoad": 0.06,
+ "platform": "linux",
+ "uptime": 17070.61
+ },
+ {
+ "timestamp": 1761425196616,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5395640320,
+ "memoryFree": 62031900672,
+ "memoryUsagePercent": 8.00213123690833,
+ "memoryEfficiency": 91.99786876309167,
+ "cpuCount": 16,
+ "cpuLoad": 0.04,
+ "platform": "linux",
+ "uptime": 17100.64
+ },
+ {
+ "timestamp": 1761425226647,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5306884096,
+ "memoryFree": 62120656896,
+ "memoryUsagePercent": 7.8704992321010785,
+ "memoryEfficiency": 92.12950076789892,
+ "cpuCount": 16,
+ "cpuLoad": 0.024375,
+ "platform": "linux",
+ "uptime": 17130.67
+ },
+ {
+ "timestamp": 1761425256678,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5293457408,
+ "memoryFree": 62134083584,
+ "memoryUsagePercent": 7.850586466779275,
+ "memoryEfficiency": 92.14941353322072,
+ "cpuCount": 16,
+ "cpuLoad": 0.014375,
+ "platform": "linux",
+ "uptime": 17160.7
+ },
+ {
+ "timestamp": 1761425286709,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5310488576,
+ "memoryFree": 62117052416,
+ "memoryUsagePercent": 7.875844940912301,
+ "memoryEfficiency": 92.1241550590877,
+ "cpuCount": 16,
+ "cpuLoad": 0.01875,
+ "platform": "linux",
+ "uptime": 17190.73
+ },
+ {
+ "timestamp": 1761425316740,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5307322368,
+ "memoryFree": 62120218624,
+ "memoryUsagePercent": 7.87114922169517,
+ "memoryEfficiency": 92.12885077830484,
+ "cpuCount": 16,
+ "cpuLoad": 0.015625,
+ "platform": "linux",
+ "uptime": 17220.76
+ },
+ {
+ "timestamp": 1761425346771,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5324361728,
+ "memoryFree": 62103179264,
+ "memoryUsagePercent": 7.896419845166404,
+ "memoryEfficiency": 92.1035801548336,
+ "cpuCount": 16,
+ "cpuLoad": 0.009375,
+ "platform": "linux",
+ "uptime": 17250.79
+ },
+ {
+ "timestamp": 1761425376802,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5316546560,
+ "memoryFree": 62110994432,
+ "memoryUsagePercent": 7.884829376516617,
+ "memoryEfficiency": 92.11517062348338,
+ "cpuCount": 16,
+ "cpuLoad": 0.005625,
+ "platform": "linux",
+ "uptime": 17280.82
+ },
+ {
+ "timestamp": 1761425406833,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5310152704,
+ "memoryFree": 62117388288,
+ "memoryUsagePercent": 7.8753468180458,
+ "memoryEfficiency": 92.1246531819542,
+ "cpuCount": 16,
+ "cpuLoad": 0.003125,
+ "platform": "linux",
+ "uptime": 17310.85
+ },
+ {
+ "timestamp": 1761425436863,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5297532928,
+ "memoryFree": 62130008064,
+ "memoryUsagePercent": 7.856630762537418,
+ "memoryEfficiency": 92.14336923746258,
+ "cpuCount": 16,
+ "cpuLoad": 0.005625,
+ "platform": "linux",
+ "uptime": 17340.88
+ },
+ {
+ "timestamp": 1761425466872,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5334343680,
+ "memoryFree": 62093197312,
+ "memoryUsagePercent": 7.911223813772028,
+ "memoryEfficiency": 92.08877618622797,
+ "cpuCount": 16,
+ "cpuLoad": 0.00375,
+ "platform": "linux",
+ "uptime": 17370.89
+ },
+ {
+ "timestamp": 1761425496875,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5310017536,
+ "memoryFree": 62117523456,
+ "memoryUsagePercent": 7.8751463539653805,
+ "memoryEfficiency": 92.12485364603462,
+ "cpuCount": 16,
+ "cpuLoad": 0.001875,
+ "platform": "linux",
+ "uptime": 17400.9
+ },
+ {
+ "timestamp": 1761425526906,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5312102400,
+ "memoryFree": 62115438592,
+ "memoryUsagePercent": 7.878238360539144,
+ "memoryEfficiency": 92.12176163946086,
+ "cpuCount": 16,
+ "cpuLoad": 0.014375,
+ "platform": "linux",
+ "uptime": 17430.93
+ },
+ {
+ "timestamp": 1761425556936,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5327364096,
+ "memoryFree": 62100176896,
+ "memoryUsagePercent": 7.900872577619388,
+ "memoryEfficiency": 92.0991274223806,
+ "cpuCount": 16,
+ "cpuLoad": 0.00875,
+ "platform": "linux",
+ "uptime": 17460.96
+ },
+ {
+ "timestamp": 1761425586967,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5342654464,
+ "memoryFree": 62084886528,
+ "memoryUsagePercent": 7.923549317383357,
+ "memoryEfficiency": 92.07645068261664,
+ "cpuCount": 16,
+ "cpuLoad": 0.009375,
+ "platform": "linux",
+ "uptime": 17490.99
+ },
+ {
+ "timestamp": 1761425616998,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5326831616,
+ "memoryFree": 62100709376,
+ "memoryUsagePercent": 7.900082870635912,
+ "memoryEfficiency": 92.09991712936409,
+ "cpuCount": 16,
+ "cpuLoad": 0.009375,
+ "platform": "linux",
+ "uptime": 17521.02
+ },
+ {
+ "timestamp": 1761425647028,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5331763200,
+ "memoryFree": 62095777792,
+ "memoryUsagePercent": 7.907396772236722,
+ "memoryEfficiency": 92.09260322776328,
+ "cpuCount": 16,
+ "cpuLoad": 0.009375,
+ "platform": "linux",
+ "uptime": 17551.05
+ },
+ {
+ "timestamp": 1761425677058,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5303091200,
+ "memoryFree": 62124449792,
+ "memoryUsagePercent": 7.864874088511089,
+ "memoryEfficiency": 92.13512591148891,
+ "cpuCount": 16,
+ "cpuLoad": 0.01375,
+ "platform": "linux",
+ "uptime": 17581.08
+ },
+ {
+ "timestamp": 1761425707068,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5343703040,
+ "memoryFree": 62083837952,
+ "memoryUsagePercent": 7.925104432673896,
+ "memoryEfficiency": 92.07489556732611,
+ "cpuCount": 16,
+ "cpuLoad": 0.013125,
+ "platform": "linux",
+ "uptime": 17611.09
+ },
+ {
+ "timestamp": 1761425737098,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5338431488,
+ "memoryFree": 62089109504,
+ "memoryUsagePercent": 7.917286333537482,
+ "memoryEfficiency": 92.08271366646252,
+ "cpuCount": 16,
+ "cpuLoad": 0.011875,
+ "platform": "linux",
+ "uptime": 17641.12
+ },
+ {
+ "timestamp": 1761425767129,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5330894848,
+ "memoryFree": 62096646144,
+ "memoryUsagePercent": 7.906108942386744,
+ "memoryEfficiency": 92.09389105761326,
+ "cpuCount": 16,
+ "cpuLoad": 0.023125,
+ "platform": "linux",
+ "uptime": 17671.15
+ },
+ {
+ "timestamp": 1761425797160,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5420945408,
+ "memoryFree": 62006595584,
+ "memoryUsagePercent": 8.039660542630752,
+ "memoryEfficiency": 91.96033945736924,
+ "cpuCount": 16,
+ "cpuLoad": 0.039375,
+ "platform": "linux",
+ "uptime": 17701.18
+ },
+ {
+ "timestamp": 1761425827190,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5378711552,
+ "memoryFree": 62048829440,
+ "memoryUsagePercent": 7.9770246295028935,
+ "memoryEfficiency": 92.02297537049711,
+ "cpuCount": 16,
+ "cpuLoad": 0.043125,
+ "platform": "linux",
+ "uptime": 17731.21
+ },
+ {
+ "timestamp": 1761425857220,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5336780800,
+ "memoryFree": 62090760192,
+ "memoryUsagePercent": 7.914838241888707,
+ "memoryEfficiency": 92.0851617581113,
+ "cpuCount": 16,
+ "cpuLoad": 0.02625,
+ "platform": "linux",
+ "uptime": 17761.24
+ },
+ {
+ "timestamp": 1761425887251,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5395402752,
+ "memoryFree": 62032138240,
+ "memoryUsagePercent": 8.001778906100316,
+ "memoryEfficiency": 91.99822109389969,
+ "cpuCount": 16,
+ "cpuLoad": 0.040625,
+ "platform": "linux",
+ "uptime": 17791.27
+ },
+ {
+ "timestamp": 1761425917281,
+ "memoryTotal": 67427540992,
+ "memoryUsed": 5599801344,
+ "memoryFree": 61827739648,
+ "memoryUsagePercent": 8.304917043711253,
+ "memoryEfficiency": 91.69508295628874,
+ "cpuCount": 16,
+ "cpuLoad": 0.056875,
+ "platform": "linux",
+ "uptime": 17821.3
}
]
\ No newline at end of file
diff --git a/.claude-flow/metrics/task-metrics.json b/.claude-flow/metrics/task-metrics.json
index c3ec265c3d..a5a0af6a22 100644
--- a/.claude-flow/metrics/task-metrics.json
+++ b/.claude-flow/metrics/task-metrics.json
@@ -1,10 +1,10 @@
[
{
- "id": "cmd-hooks-1761425044045",
+ "id": "cmd-hooks-1761425939722",
"type": "hooks",
"success": true,
- "duration": 8.530691999999988,
- "timestamp": 1761425044054,
+ "duration": 6.988779000000022,
+ "timestamp": 1761425939729,
"metadata": {}
}
]
\ No newline at end of file
diff --git a/bin/claude-flow b/bin/claude-flow
index 48c6ff9298..30cb9cc991 100755
--- a/bin/claude-flow
+++ b/bin/claude-flow
@@ -1,7 +1,7 @@
#!/bin/sh
# Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
-VERSION="2.7.20"
+VERSION="2.7.21"
# Determine the correct path based on how the script is invoked
if [ -L "$0" ]; then
diff --git a/package-lock.json b/package-lock.json
index 060014a065..f4bb0deae1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,19 +1,19 @@
{
"name": "claude-flow",
- "version": "2.7.12",
+ "version": "2.7.21",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "claude-flow",
- "version": "2.7.12",
+ "version": "2.7.21",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@anthropic-ai/claude-code": "^2.0.1",
"@anthropic-ai/sdk": "^0.65.0",
"@modelcontextprotocol/sdk": "^1.0.4",
- "agentic-flow": "*",
+ "agentic-flow": "^1.8.4",
"blessed": "^0.1.81",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
@@ -5379,9 +5379,9 @@
}
},
"node_modules/agentic-flow": {
- "version": "1.8.3",
- "resolved": "https://registry.npmjs.org/agentic-flow/-/agentic-flow-1.8.3.tgz",
- "integrity": "sha512-zd3zX/zz0cquaOaJMASTEyV0PKfN4r7GPKaS/0rklwq4D0mrKr9AvI+ofXIeESEtnBHFQ3CDz33O/Xo3SrHuPQ==",
+ "version": "1.8.4",
+ "resolved": "https://registry.npmjs.org/agentic-flow/-/agentic-flow-1.8.4.tgz",
+ "integrity": "sha512-EO8DbK4ahBmqhbkbOKBlxwBRUFicYiI6B52Re3zFdve2if1Xvuk7IFE7HqwGJ6tQ/NXRRhIrvy7mWfH0NS2GWg==",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -5390,6 +5390,7 @@
"@google/genai": "^1.22.0",
"agentdb": "^1.4.3",
"axios": "^1.12.2",
+ "better-sqlite3": "^11.10.0",
"dotenv": "^16.4.5",
"express": "^5.1.0",
"fastmcp": "^3.19.0",
@@ -5407,6 +5408,17 @@
"node": ">=18.0.0"
}
},
+ "node_modules/agentic-flow/node_modules/better-sqlite3": {
+ "version": "11.10.0",
+ "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-11.10.0.tgz",
+ "integrity": "sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "bindings": "^1.5.0",
+ "prebuild-install": "^7.1.1"
+ }
+ },
"node_modules/ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
diff --git a/package.json b/package.json
index c166092a2c..b2fa9a1c53 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "2.7.20",
+ "version": "2.7.21",
"description": "Enterprise-grade AI agent orchestration with WASM-powered ReasoningBank memory and AgentDB vector database (always uses latest agentic-flow)",
"mcpName": "io.github.ruvnet/claude-flow",
"main": "cli.mjs",
@@ -120,7 +120,7 @@
"@anthropic-ai/claude-code": "^2.0.1",
"@anthropic-ai/sdk": "^0.65.0",
"@modelcontextprotocol/sdk": "^1.0.4",
- "agentic-flow": "*",
+ "agentic-flow": "^1.8.4",
"blessed": "^0.1.81",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",