ruflo 3.10.5 → 3.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -1
  3. package/src/ruvocal/.claude-flow/daemon-state.json +135 -0
  4. package/src/ruvocal/.claude-flow/data/pending-insights.jsonl +0 -0
  5. package/src/ruvocal/.claude-flow/data/ranked-context.json +5 -0
  6. package/src/ruvocal/.claude-flow/logs/daemon.log +31 -0
  7. package/src/ruvocal/.claude-flow/logs/headless/audit_1777949411822_juxau0_prompt.log +989 -0
  8. package/src/ruvocal/.claude-flow/logs/headless/audit_1777949411822_juxau0_result.log +67 -0
  9. package/src/ruvocal/.claude-flow/logs/headless/audit_1777950042278_jvj5xq_prompt.log +989 -0
  10. package/src/ruvocal/.claude-flow/logs/headless/audit_1777950042278_jvj5xq_result.log +93 -0
  11. package/src/ruvocal/.claude-flow/logs/headless/optimize_1777949531823_yt5yc2_prompt.log +1498 -0
  12. package/src/ruvocal/.claude-flow/logs/headless/optimize_1777949531823_yt5yc2_result.log +93 -0
  13. package/src/ruvocal/.claude-flow/logs/headless/testgaps_1777949771821_elw1j4_prompt.log +1498 -0
  14. package/src/ruvocal/.claude-flow/logs/headless/testgaps_1777949771821_elw1j4_result.log +100 -0
  15. package/src/ruvocal/.claude-flow/metrics/codebase-map.json +11 -0
  16. package/src/ruvocal/.claude-flow/metrics/consolidation.json +6 -0
  17. package/src/ruvocal/.claude-flow/neural/stats.json +6 -0
  18. package/src/ruvocal/.claude-flow/sessions/current.json +13 -0
  19. package/src/ruvocal/.swarm/attestation.db +0 -0
  20. package/src/ruvocal/.swarm/hnsw.index +0 -0
  21. package/src/ruvocal/.swarm/hnsw.metadata.json +1 -0
  22. package/src/ruvocal/.swarm/memory.db +0 -0
  23. package/src/ruvocal/.swarm/schema.sql +305 -0
package/README.md CHANGED
@@ -202,7 +202,7 @@ claude mcp add ruflo -- npx ruflo@latest mcp start
202
202
  | 📡 **Comms Layer** | Zero-trust federation — agents across machines/orgs discover, authenticate, and exchange work securely |
203
203
  | 🐝 **Swarm Coordination** | Hierarchical, mesh, and adaptive topologies with consensus |
204
204
  | 🧠 **Self-Learning** | SONA neural patterns, ReasoningBank, trajectory learning |
205
- | 💾 **Vector Memory** | HNSW-indexed AgentDB with 150x-12,500x faster search |
205
+ | 💾 **Vector Memory** | HNSW-indexed AgentDB measured ~1.9x faster at N=20k, ~3.2x–4.7x at N=5k vs brute force (recall@10 ~0.99); ANN wins above the crossover, ties/loses at small N. See [audit](docs/reviews/intelligence-system-audit-2026-05-29.md) + [`scripts/benchmark-intelligence.mjs`](scripts/benchmark-intelligence.mjs) |
206
206
  | ⚡ **Background Workers** | 12 auto-triggered workers (audit, optimize, testgaps, etc.) |
207
207
  | 🧩 **Plugin Marketplace** | 32 native Claude Code plugins + 21 npm plugins |
208
208
  | 🔌 **Multi-Provider** | Claude, GPT, Gemini, Cohere, Ollama with smart routing |
@@ -228,7 +228,7 @@ claude mcp add ruflo -- npx ruflo@latest mcp start
228
228
  | 🛠️ | **~210 tools, ready to call** | 5 server groups (Core, Intelligence, Agents, Memory, DevTools) plus an 18-tool gallery that runs entirely in your browser — works offline. |
229
229
  | 🔌 | **Bring your own MCP servers** | Click the **MCP (n)** pill in the chat input → *Add Server* and paste any MCP endpoint (HTTP, SSE, or stdio). Your tools join RuFlo's native ones in the same parallel-execution flow. Run a local MCP server on `localhost:3000` and it just works. |
230
230
  | ⚡ | **Tools run in parallel** | One model response can fire 4–6+ tools at the same time. The UI shows them as cards with a *Step 1 — 2 tools completed* badge so you can see exactly what ran. |
231
- | 💾 | **Memory that sticks** | Say *"remember my favorite color is indigo"* and ask weeks later — RuFlo recalls it. Backed by AgentDB + HNSW vector search (≥150× faster than brute force). |
231
+ | 💾 | **Memory that sticks** | Say *"remember my favorite color is indigo"* and ask weeks later — RuFlo recalls it. Backed by AgentDB + HNSW vector search (measured ~1.9x–4.7x faster than brute force above the crossover, recall@10 ~0.99). |
232
232
  | 📘 | **Built-in capabilities tour** | Click the question-mark icon in the sidebar — a "RuFlo Capabilities" modal opens with the full tool list, model strengths, architecture, and keyboard shortcuts. |
233
233
  | 🏠 | **Self-hostable** | Web UI is shipped as Docker (`ruflo/src/ruvocal/Dockerfile`) with embedded Mongo. Deploy to your own Cloud Run / Fly / Kubernetes / docker-compose. The hosted [flo.ruv.io](https://flo.ruv.io/) demo is one option; running your own is fully supported. |
234
234
  | 🚀 | **Zero install to try** | Open the hosted URL, pick a model, type a question. That's the whole onboarding. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruflo",
3
- "version": "3.10.5",
3
+ "version": "3.10.7",
4
4
  "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",
5
5
  "main": "bin/ruflo.js",
6
6
  "type": "module",
@@ -43,6 +43,7 @@
43
43
  "@claude-flow/cli": "^3.10.3"
44
44
  },
45
45
  "overrides": {
46
+ "better-sqlite3": ">=12.8.0",
46
47
  "@ruvector/rvf-wasm": "0.1.5",
47
48
  "@hono/node-server": ">=1.19.10",
48
49
  "flatted": ">=3.4.0",
@@ -0,0 +1,135 @@
1
+ {
2
+ "running": true,
3
+ "startedAt": "2026-05-05T02:48:11.836Z",
4
+ "workers": {
5
+ "map": {
6
+ "runCount": 1,
7
+ "successCount": 1,
8
+ "failureCount": 0,
9
+ "averageDurationMs": 0,
10
+ "isRunning": false,
11
+ "nextRun": "2026-05-05T03:03:11.838Z",
12
+ "lastRun": "2026-05-05T02:48:11.838Z"
13
+ },
14
+ "audit": {
15
+ "runCount": 2,
16
+ "successCount": 2,
17
+ "failureCount": 0,
18
+ "averageDurationMs": 43209,
19
+ "isRunning": false,
20
+ "nextRun": "2026-05-05T03:00:42.275Z",
21
+ "lastRun": "2026-05-05T03:01:38.242Z"
22
+ },
23
+ "optimize": {
24
+ "runCount": 1,
25
+ "successCount": 1,
26
+ "failureCount": 0,
27
+ "averageDurationMs": 74039,
28
+ "isRunning": false,
29
+ "nextRun": "2026-05-05T03:08:25.861Z",
30
+ "lastRun": "2026-05-05T02:53:25.860Z"
31
+ },
32
+ "consolidate": {
33
+ "runCount": 1,
34
+ "successCount": 1,
35
+ "failureCount": 0,
36
+ "averageDurationMs": 0,
37
+ "isRunning": false,
38
+ "nextRun": "2026-05-05T03:24:11.821Z",
39
+ "lastRun": "2026-05-05T02:54:11.820Z"
40
+ },
41
+ "testgaps": {
42
+ "runCount": 1,
43
+ "successCount": 1,
44
+ "failureCount": 0,
45
+ "averageDurationMs": 141408,
46
+ "isRunning": false,
47
+ "nextRun": "2026-05-05T03:18:33.228Z",
48
+ "lastRun": "2026-05-05T02:58:33.228Z"
49
+ },
50
+ "predict": {
51
+ "runCount": 0,
52
+ "successCount": 0,
53
+ "failureCount": 0,
54
+ "averageDurationMs": 0,
55
+ "isRunning": false
56
+ },
57
+ "document": {
58
+ "runCount": 0,
59
+ "successCount": 0,
60
+ "failureCount": 0,
61
+ "averageDurationMs": 0,
62
+ "isRunning": false
63
+ }
64
+ },
65
+ "config": {
66
+ "autoStart": false,
67
+ "logDir": "/Users/cohen/Projects/ruflo/ruflo/src/ruvocal/.claude-flow/logs",
68
+ "stateFile": "/Users/cohen/Projects/ruflo/ruflo/src/ruvocal/.claude-flow/daemon-state.json",
69
+ "maxConcurrent": 2,
70
+ "workerTimeoutMs": 960000,
71
+ "resourceThresholds": {
72
+ "maxCpuLoad": 9.600000000000001,
73
+ "minFreeMemoryPercent": 5
74
+ },
75
+ "workers": [
76
+ {
77
+ "type": "map",
78
+ "intervalMs": 900000,
79
+ "offsetMs": 0,
80
+ "priority": "normal",
81
+ "description": "Codebase mapping",
82
+ "enabled": true
83
+ },
84
+ {
85
+ "type": "audit",
86
+ "intervalMs": 600000,
87
+ "offsetMs": 120000,
88
+ "priority": "critical",
89
+ "description": "Security analysis",
90
+ "enabled": true
91
+ },
92
+ {
93
+ "type": "optimize",
94
+ "intervalMs": 900000,
95
+ "offsetMs": 240000,
96
+ "priority": "high",
97
+ "description": "Performance optimization",
98
+ "enabled": true
99
+ },
100
+ {
101
+ "type": "consolidate",
102
+ "intervalMs": 1800000,
103
+ "offsetMs": 360000,
104
+ "priority": "low",
105
+ "description": "Memory consolidation",
106
+ "enabled": true
107
+ },
108
+ {
109
+ "type": "testgaps",
110
+ "intervalMs": 1200000,
111
+ "offsetMs": 480000,
112
+ "priority": "normal",
113
+ "description": "Test coverage analysis",
114
+ "enabled": true
115
+ },
116
+ {
117
+ "type": "predict",
118
+ "intervalMs": 600000,
119
+ "offsetMs": 0,
120
+ "priority": "low",
121
+ "description": "Predictive preloading",
122
+ "enabled": false
123
+ },
124
+ {
125
+ "type": "document",
126
+ "intervalMs": 3600000,
127
+ "offsetMs": 0,
128
+ "priority": "low",
129
+ "description": "Auto-documentation",
130
+ "enabled": false
131
+ }
132
+ ]
133
+ },
134
+ "savedAt": "2026-05-05T03:01:38.242Z"
135
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "computedAt": 1777949290620,
4
+ "entries": []
5
+ }
@@ -0,0 +1,31 @@
1
+ [2026-05-05T02:48:11.836Z] [INFO] Scheduled map (interval: 900s, first run in 0s)
2
+ [2026-05-05T02:48:11.837Z] [INFO] Scheduled audit (interval: 600s, first run in 120s)
3
+ [2026-05-05T02:48:11.837Z] [INFO] Scheduled optimize (interval: 900s, first run in 240s)
4
+ [2026-05-05T02:48:11.837Z] [INFO] Scheduled consolidate (interval: 1800s, first run in 360s)
5
+ [2026-05-05T02:48:11.837Z] [INFO] Scheduled testgaps (interval: 1200s, first run in 480s)
6
+ [2026-05-05T02:48:11.837Z] [INFO] Daemon started (PID: 78051, CPUs: 12, workers: 5, maxCpuLoad: 9.600000000000001, minFreeMemoryPercent: 5%)
7
+ [2026-05-05T02:48:11.837Z] [INFO] Claude Code headless mode available - AI workers enabled
8
+ [2026-05-05T02:48:11.838Z] [INFO] Starting worker: map (1/2 concurrent)
9
+ [2026-05-05T02:48:11.838Z] [INFO] Worker map completed in 0ms
10
+ [2026-05-05T02:50:11.821Z] [INFO] Starting worker: audit (1/2 concurrent)
11
+ [2026-05-05T02:50:11.822Z] [INFO] Running audit in headless mode (Claude Code AI)
12
+ [2026-05-05T02:50:14.769Z] [INFO] Daemon already running (PID: 78051), skipping start
13
+ [2026-05-05T02:50:14.769Z] [INFO] Claude Code headless mode available - AI workers enabled
14
+ [2026-05-05T02:50:42.274Z] [INFO] Worker audit completed in 30453ms
15
+ [2026-05-05T02:52:11.821Z] [INFO] Starting worker: optimize (1/2 concurrent)
16
+ [2026-05-05T02:52:11.822Z] [INFO] Running optimize in headless mode (Claude Code AI)
17
+ [2026-05-05T02:52:13.244Z] [INFO] Daemon already running (PID: 78051), skipping start
18
+ [2026-05-05T02:52:13.244Z] [INFO] Claude Code headless mode available - AI workers enabled
19
+ [2026-05-05T02:53:25.860Z] [INFO] Worker optimize completed in 74039ms
20
+ [2026-05-05T02:54:11.820Z] [INFO] Starting worker: consolidate (1/2 concurrent)
21
+ [2026-05-05T02:54:11.820Z] [INFO] Worker consolidate completed in 0ms
22
+ [2026-05-05T02:56:11.820Z] [INFO] Starting worker: testgaps (1/2 concurrent)
23
+ [2026-05-05T02:56:11.821Z] [INFO] Running testgaps in headless mode (Claude Code AI)
24
+ [2026-05-05T02:56:13.270Z] [INFO] Daemon already running (PID: 78051), skipping start
25
+ [2026-05-05T02:56:13.270Z] [INFO] Claude Code headless mode available - AI workers enabled
26
+ [2026-05-05T02:58:33.228Z] [INFO] Worker testgaps completed in 141408ms
27
+ [2026-05-05T03:00:42.277Z] [INFO] Starting worker: audit (1/2 concurrent)
28
+ [2026-05-05T03:00:42.278Z] [INFO] Running audit in headless mode (Claude Code AI)
29
+ [2026-05-05T03:00:44.862Z] [INFO] Daemon already running (PID: 78051), skipping start
30
+ [2026-05-05T03:00:44.862Z] [INFO] Claude Code headless mode available - AI workers enabled
31
+ [2026-05-05T03:01:38.242Z] [INFO] Worker audit completed in 55965ms