claude-flow 3.59.0 → 3.59.2
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.
- package/.claude/proven-config.json +1 -1
- package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
- package/package.json +1 -1
- package/v3/@claude-flow/cli/README.md +176 -62
- package/v3/@claude-flow/cli/catalog-manifest.json +5 -5
- package/v3/@claude-flow/cli/dist/src/commands/task.js +13 -1
- package/v3/@claude-flow/cli/dist/src/commands/tui.js +9 -4
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +13 -0
- package/v3/@claude-flow/cli/package.json +1 -1
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,22 +1,90 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<a href="https://cognitum.one/agentic-engineering"><img src="ruflo/assets/ruflo-neon-flicker.gif" alt="Ruflo animated neon sign" width="100%"></a>
|
|
4
|
+
|
|
5
|
+
**An agent meta-harness for Claude Code and Codex.**
|
|
4
6
|
|
|
5
7
|
<!-- Try Ruflo — the 3 badges first-time visitors actually act on -->
|
|
6
8
|
[](https://www.npmjs.com/package/ruflo)
|
|
7
9
|
[](https://opensource.org/licenses/MIT)
|
|
8
10
|
[](https://github.com/ruvnet/claude-flow)
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="docs/harness-origins.md"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/e69e4b95aa08d65ea0f7715489bbf8e62a83a0d2/docs/assets/readme/badges/first-commit.svg" width="300" height="76" alt="Claude Flow lineage: first commit June 2, 2025 by rUv; inspect the evidence"></a>
|
|
14
|
+
<a href="data/npm-downloads.latest.json"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/275aff65a198af758923669acff36f03d1f41623/docs/assets/readme/badges/downloads.svg" width="300" height="76" alt="Illustrative download counter starts at 98,000,000 and adds varied amounts each second in a 30 second loop. Verified dataset: 97,022,120 download events."></a>
|
|
15
|
+
<br>
|
|
16
|
+
<a href="https://github.com/ruvnet/claude-flow"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/d1e80400bdefe01d3b13e70395f88fffab76bb18/docs/assets/readme/badges/claude.svg" width="300" height="76" alt="Claude Code plugin"></a>
|
|
17
|
+
<a href="https://www.npmjs.com/package/@claude-flow/codex"><img src="https://raw.githubusercontent.com/ruvnet/ruflo/d1e80400bdefe01d3b13e70395f88fffab76bb18/docs/assets/readme/badges/codex.svg" width="300" height="76" alt="Codex plugin"></a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<a id="start-here"></a>
|
|
23
|
+
|
|
24
|
+
## <img src="docs/assets/readme/icons/terminal.svg" width="32" height="32" alt=""> Get started with Ruflo
|
|
25
|
+
|
|
26
|
+
<img src="docs/assets/readme/icons/plugins.svg" width="28" height="28" alt=""> **Start in Claude Code** with core tools, the visual console and runtime mods. Requires Claude Code **2.1.287 or later**. Run inside Claude Code:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
/plugin marketplace add ruvnet/ruflo
|
|
30
|
+
/plugin install ruflo-core@ruflo
|
|
31
|
+
/plugin install ruflo-console@ruflo
|
|
32
|
+
/plugin install ruflo-mods@ruflo
|
|
33
|
+
/reload-plugins
|
|
34
|
+
/ruflo
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Core** provides foundation tools. **Console** opens the agent cockpit. **Mods** add routing and policy enforcement inside Claude Code. Mods run with your account's permissions; review their code before installing.
|
|
38
|
+
|
|
39
|
+
<img src="docs/assets/readme/icons/terminal.svg" width="28" height="28" alt=""> **Using Codex or another MCP enabled tool?** Use NPX for Ruflo project setup and connect your client to the Ruflo MCP server. Run the setup wizard in your project terminal:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx ruflo@latest init wizard
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
For clients that support local stdio MCP servers, configure **command** `npx` and **arguments** `["-y", "ruflo@latest", "mcp", "start"]`. The equivalent server command is:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npx -y ruflo@latest mcp start
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
MCP exposes Ruflo tools to your client. The console and mods above are Claude Code integrations; hook support depends on the client.
|
|
52
|
+
|
|
53
|
+
<img src="docs/assets/readme/icons/terminal.svg" width="28" height="28" alt=""> **Prefer a plain terminal? Optional.** The console also runs on its own, with no Claude Code: `npx ruflo tui` (add `--plain` to print one frame for scripts). It shows Overview, Cost, Swarm, Events and Missions, plus an optional AI page. [Terminal UI guide](docs/USERGUIDE.md#terminal-ui-optional)
|
|
54
|
+
|
|
55
|
+
<p align="center"><img src="docs/assets/ruflo-tui-compact.svg" width="640" alt="Looping recording of the optional ruflo terminal UI with its pictures: Overview in the Classic BBS look, the Orbital look with its moving globe, and the Swarm graph, in a sample project"></p>
|
|
56
|
+
|
|
57
|
+
[Compare install paths](#quick-start) · [Open the console](#console-walkthrough) · [User guide](docs/USERGUIDE.md)
|
|
58
|
+
|
|
59
|
+
<div align="center">
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Optional: ruOS Desktop
|
|
63
|
+
|
|
64
|
+
<a href="https://ruos.cognitum.one"><img src="ruflo/assets/ruos-animated.svg" alt="ruOS — A desktop that runs itself" width="100%"></a>
|
|
65
|
+
|
|
66
|
+
**Connect ruOS to ChatGPT or Claude via MCP:**
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
https://ruos.cognitum.one/mcp
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<!-- RuVector promo -->
|
|
75
|
+
<a href="https://github.com/ruvnet/ruvector"><img src="docs/assets/readme/ruvector-promo-depth.svg" width="100%" alt="RuVector: Give your agents memory. Local vector search, persistent context, graph relationships and feedback learning. Explore RuVector."></a>
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npx ruvector
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
16
83
|
|
|
17
84
|
# Ruflo
|
|
18
85
|
|
|
19
|
-
|
|
86
|
+
[English](README.md) · [简体中文](README.zh-CN.md)
|
|
87
|
+
|
|
20
88
|
|
|
21
89
|
[](docs/ruflo-explained.md)
|
|
22
90
|
|
|
@@ -29,16 +97,29 @@ A 14-chapter guide: from the basic idea to a first useful task, then memory, age
|
|
|
29
97
|
|
|
30
98
|
One `npx ruflo init` gives Claude Code a nervous system: agents self-organize into swarms, learn from every task, remember across sessions, and — with federation — securely talk to agents on other machines without leaking data. You keep writing code. Ruflo handles the coordination.
|
|
31
99
|
|
|
32
|
-
|
|
33
|
-
Self-Learning / Self-Optimizing Agent Architecture
|
|
100
|
+
<p align="center"><img src="docs/assets/readme/learning-cinematic-compact.svg" width="100%" alt="Ruflo trajectory learning: branching memory paths, outcome feedback, contrastive AI and local learning. No LLM required for local vector retrieval and contrastive updates; agent execution may still use an LLM."></p>
|
|
34
101
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
102
|
+
<sub>Conceptual learning loop. Local vector retrieval and contrastive updates can run without an LLM; embeddings and configured learning modules are still required. See the <a href="v3/@claude-flow/cli/src/services/ruvector-training.ts">RuVector training integration</a> and <a href="v3/@claude-flow/neural/src/modes/balanced.ts">trajectory contrastive learning</a>.</sub>
|
|
103
|
+
|
|
104
|
+
<details>
|
|
105
|
+
<summary>Architecture in text</summary>
|
|
106
|
+
|
|
107
|
+
User → Ruflo (CLI/MCP) → Router → Swarm → Agents → Memory → LLM providers. Memory feeds useful experience back into routing. This is a conceptual flow, not a live execution trace.
|
|
108
|
+
|
|
109
|
+
</details>
|
|
39
110
|
|
|
40
111
|
> **New to Ruflo?** You don't need to learn 314 MCP tools or 26 CLI commands. After `init`, just use Claude Code normally — the hooks system automatically routes tasks, learns from successful patterns, and coordinates agents in the background.
|
|
41
112
|
|
|
113
|
+
### An origin you can inspect
|
|
114
|
+
|
|
115
|
+
[](docs/harness-origins.md)
|
|
116
|
+
|
|
117
|
+
**Built by [Reuven Cohen (rUv)](https://github.com/ruvnet), originally as Claude Flow.** The [first commit, June 2, 2025](https://github.com/ruvnet/ruflo/commit/7c1f9402d70e7af56c01a879073cbac92564dc4e), describes a code orchestration layer for recursive agent cycles: Claude writes, edits, tests and improves. The [June 10 source snapshot](https://github.com/ruvnet/ruflo/tree/dba545f012ea92a2375a26332bbf3797495e93c9) adds orchestration, task scheduling, memory and terminal modules.
|
|
118
|
+
|
|
119
|
+
A harness is the workbench around the model: it organizes tasks, carries context between steps and helps check results. **This establishes Ruflo's lineage, not a universal first across every Claude Code tool.** [See the illustrated explainer, exact commits and earlier ecosystem context](docs/harness-origins.md).
|
|
120
|
+
|
|
121
|
+
**Grok Build:** `npx ruflo init --grok` writes the project host surface (`.grok/`, the team bus, and the operator guide) and nothing outside the project; add `--dry-run` to preview. Setup, the `spawn_subagent` contract, the optional status row, and what to re-check when Grok updates: [the Grok operator guide](v3/@claude-flow/cli/templates/grok/docs/README.md).
|
|
122
|
+
|
|
42
123
|
<details>
|
|
43
124
|
<summary><strong>📖 Background — where the name comes from</strong></summary>
|
|
44
125
|
|
|
@@ -48,10 +129,52 @@ User --> Ruflo (CLI/MCP) --> Router --> Swarm --> Agents --> Memory --> LLM Prov
|
|
|
48
129
|
|
|
49
130
|
---
|
|
50
131
|
|
|
51
|
-
|
|
132
|
+
<p align="center"><img src="docs/assets/readme/console.svg" alt="Mission control: inspect agent work" width="100%"></p>
|
|
133
|
+
|
|
134
|
+
<p align="center"><a href="https://raw.githubusercontent.com/ruvnet/ruflo/main/docs/assets/ruflo-console-theme-compact.svg"><img src="docs/assets/ruflo-console-theme-compact.svg" width="100%" alt="Ruflo Orbital theme: animated boot checks, block logo, menu icons, rotating globe, swarm routing, six color palettes and responsive Theme Studio"></a></p>
|
|
135
|
+
|
|
136
|
+
[Open animated demo](https://raw.githubusercontent.com/ruvnet/ruflo/main/docs/assets/ruflo-console-theme-compact.svg) · [Theme Studio guide](plugins/ruflo-console/README.md) · [Workflow demo](docs/assets/ruflo-console-workflows.svg)
|
|
137
|
+
|
|
138
|
+
<img src="docs/assets/readme/console-icon-workflows.svg" width="28" height="28" alt=""> **Your agent cockpit.** Track workflows, agents, models, tokens and cost beside Claude Code. The 38 second animation shows **Orbital and Theme Studio** through actual renderer frames, including boot checks, six palettes, customization, saved themes, JSON import and resizing. This compact 3.84 MB SVG retains all 456 frames. Native host and AI provider execution are not demonstrated.
|
|
139
|
+
|
|
140
|
+
<img src="docs/assets/readme/console-icon-inspect.svg" width="28" height="28" alt=""> **Inspect any run.** Open agent logs and results, search, triage failures, replay and compare. Start with `npx ruflo init`, restart Claude Code, then `/ruflo`. [Full console tour](docs/assets/ruflo-console-walkthrough-wide.gif).
|
|
141
|
+
|
|
142
|
+
<img src="docs/assets/readme/console-icon-control.svg" width="28" height="28" alt=""> **Let Claude drive. You set the limits.** Enable **Settings → Claude control** to navigate and run console actions. Choose `read`, `write`, `manage` or `full`, with `ask` or `auto` approval. The current default is **read + ask**; raising the level is your choice. Actions above your permission level are refused, and network, spending and destructive actions require confirmation even in `auto`. Review the live action log or press **Take back control** to stop Claude control. [Details](v3/docs/adr/ADR-444-claude-controls-the-console.md).
|
|
143
|
+
|
|
144
|
+
<a id="console-walkthrough"></a>
|
|
145
|
+
|
|
146
|
+
### One task: create a mission with Claude
|
|
147
|
+
|
|
148
|
+
<img src="docs/assets/readme/console-icon-workflows.svg" width="28" height="28" alt=""> **Watch the recorded console session below.** Claude creates a mission, opens the Learning and Security pages, and reports its actions in Overview.
|
|
149
|
+
|
|
150
|
+
1. **Set the boundary.** Install the console using the commands below, open `/ruflo`, then choose **Settings → Claude control → write + ask**.
|
|
151
|
+
2. **Give a concrete request.** Try: “Create a mission to add a dark mode toggle. Show me the mission and its status.”
|
|
152
|
+
3. **Approve creation.** Claude opens Missions and sets the goal. Confirm the pending create action in the console.
|
|
153
|
+
4. **Verify the result.** Check that Missions contains the goal and Overview records the action. Creating a mission does not mean the feature has been implemented.
|
|
154
|
+
5. **Keep control.** **Take back control** pauses Claude's console tools. A later call should be refused until you restore control.
|
|
155
|
+
|
|
156
|
+
**What the recording demonstrates:** a real Claude Haiku session with `write + auto`, mission creation, page navigation, a refused swarm stop, and control being taken back. The steps above use `ask` so you approve creation yourself. The linked workflow animation uses sample data, while the theme demo replays renderer frames. Neither is evidence of completed swarm work or memory recall.
|
|
157
|
+
|
|
158
|
+
[Implementation and recorded test findings](v3/docs/adr/ADR-444-claude-controls-the-console.md) · [Reproduction script](plugins/ruflo-console/scripts/e2e-control.sh)
|
|
159
|
+
|
|
160
|
+
<p align="center"><img src="docs/assets/ruflo-console-claude-control.gif" alt="Claude Code with the ruflo console beside it: Claude sets a mission goal, creates the mission and opens the Learning, Security and Overview pages through the console tools; the Claude control dashboard logs each action; swarm-stop is refused because it needs the full level; the person clicks Take back control and the next request is refused"></p>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
**Install the mods from the ruflo marketplace** (Claude Code 2.1.287 or later; mods run with your account's permissions and are not sandboxed, so read the code first):
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
/plugin marketplace add ruvnet/ruflo
|
|
167
|
+
/plugin install ruflo-console@ruflo
|
|
168
|
+
/plugin install ruflo-mods@ruflo
|
|
169
|
+
/reload-plugins
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
`ruflo-console` is the cockpit above, `ruflo-mods` routes prompts and enforces policy in-process, `ruflo-swarm` shows the swarm in a pane, and `ruflo-ruos` adds the ruOS status segment. Open `/plugin` to confirm they appear in the active mods line. Inside the console, `/ruflo market` is the Plugin Catalog: every ruflo plugin, mod and skill with what it ships, and buttons to install, enable, disable and update (each asks first).
|
|
52
173
|
|
|
53
174
|
## Quick Start
|
|
54
175
|
|
|
176
|
+
<p align="center"><img src="docs/assets/readme/quick-start.svg" alt="Start building with Ruflo" width="100%"></p>
|
|
177
|
+
|
|
55
178
|
There are **two different install paths** with very different surface areas. Pick based on what you need (#1744):
|
|
56
179
|
|
|
57
180
|
| | **Claude Code Plugin** | **CLI install (`npx ruflo init`)** |
|
|
@@ -119,6 +242,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
|
|
|
119
242
|
| [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright |
|
|
120
243
|
| [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers |
|
|
121
244
|
| [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically |
|
|
245
|
+
| [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.10/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
|
|
122
246
|
|
|
123
247
|
#### Security & Compliance
|
|
124
248
|
|
|
@@ -162,7 +286,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
|
|
|
162
286
|
|
|
163
287
|
</details>
|
|
164
288
|
|
|
165
|
-
### CLI Install
|
|
289
|
+
### <img src="docs/assets/readme/icons/terminal.svg" width="28" height="28" alt=""> CLI Install
|
|
166
290
|
|
|
167
291
|
**macOS / Linux / WSL / Git-Bash:**
|
|
168
292
|
|
|
@@ -186,68 +310,50 @@ npm install -g ruflo@latest
|
|
|
186
310
|
|
|
187
311
|
> 💡 **Windows users:** the `curl ... | bash` form needs a POSIX shell (Git-Bash, WSL, MSYS). The `npx ruflo@latest init wizard` line works natively in PowerShell and cmd. If you hit an `'bash' is not recognized` error, use the `npx` line instead — both end up running the same init flow.
|
|
188
312
|
|
|
189
|
-
### MCP Server
|
|
313
|
+
### <img src="docs/assets/readme/icons/network.svg" width="28" height="28" alt=""> MCP Server
|
|
190
314
|
|
|
191
315
|
```bash
|
|
192
316
|
# Add Ruflo as an MCP server in Claude Code
|
|
193
317
|
claude mcp add claude-flow -- npx ruflo@latest mcp start
|
|
194
318
|
```
|
|
195
319
|
|
|
196
|
-
|
|
320
|
+
---
|
|
197
321
|
|
|
198
|
-
|
|
322
|
+
## What You Get
|
|
199
323
|
|
|
200
|
-
|
|
201
|
-
|---|---|
|
|
202
|
-
| `RUFLO_MCP_HTTP_TOKEN=<token>` | Require `Authorization: Bearer <token>` on every request. Failure is a bare `401`. The token is compared in constant time and is never logged. Prefer this over `--auth-token`, which is visible in `ps`. |
|
|
203
|
-
| `--auth-token-file <path>` | Read the token from a file (one line). Takes precedence over the env var. |
|
|
204
|
-
| `--auth-token <token>` | Same, on the command line (visible in argv; highest precedence). |
|
|
205
|
-
| `RUFLO_MCP_ALLOW_UNAUTHENTICATED_HTTP=1` | Allow an unauthenticated bind to a non-loopback `--host`. Only for a trusted network boundary or an authenticating reverse proxy. |
|
|
324
|
+
<p align="center"><img src="docs/assets/readme/capabilities.svg" alt="Your agent toolkit" width="100%"></p>
|
|
206
325
|
|
|
207
|
-
|
|
326
|
+
<table>
|
|
327
|
+
<tr><td width="50%"><a href="plugins/ruflo-swarm/README.md"><img src="docs/assets/readme/card-swarm.svg" width="100%" alt="Agent teams"></a></td><td width="50%"><a href="plugins/ruflo-rag-memory/README.md"><img src="docs/assets/readme/card-memory.svg" width="100%" alt="Persistent memory"></a></td></tr>
|
|
328
|
+
<tr><td width="50%"><a href="plugins/ruflo-intelligence/README.md"><img src="docs/assets/readme/card-learning.svg" width="100%" alt="Learning loops"></a></td><td width="50%"><a href="plugins/ruflo-security-audit/README.md"><img src="docs/assets/readme/card-security.svg" width="100%" alt="Security controls"></a></td></tr>
|
|
329
|
+
<tr><td width="50%"><a href="https://ruvnet.github.io/ruflo"><img src="docs/assets/readme/card-plugins.svg" width="100%" alt="Plugin marketplace"></a></td><td width="50%"><a href="plugins/ruflo-ruvllm/README.md"><img src="docs/assets/readme/card-routing.svg" width="100%" alt="Models and routing"></a></td></tr>
|
|
330
|
+
</table>
|
|
208
331
|
|
|
209
|
-
|
|
|
210
|
-
|
|
211
|
-
|
|
|
212
|
-
|
|
|
332
|
+
| Capability | Description |
|
|
333
|
+
|------------|-------------|
|
|
334
|
+
| <img src="docs/assets/readme/icons/agents.svg" width="28" height="28" alt=""> **100+ Agents** | Specialized agents for coding, testing, security, docs, architecture |
|
|
335
|
+
| <img src="docs/assets/readme/icons/network.svg" width="28" height="28" alt=""> **Comms Layer** | Zero-trust federation — agents across machines/orgs discover, authenticate, and exchange work securely |
|
|
336
|
+
| <img src="docs/assets/readme/icons/swarm.svg" width="28" height="28" alt=""> **Swarm Coordination** | Hierarchical, mesh, and adaptive topologies with consensus |
|
|
337
|
+
| <img src="docs/assets/readme/icons/learning.svg" width="28" height="28" alt=""> **Self-Learning** | SONA neural patterns, ReasoningBank, trajectory learning |
|
|
338
|
+
| <img src="docs/assets/readme/icons/memory.svg" width="28" height="28" alt=""> **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) |
|
|
339
|
+
| <img src="docs/assets/readme/icons/workers.svg" width="28" height="28" alt=""> **Background Workers** | 12 auto-triggered workers (audit, optimize, testgaps, etc.) |
|
|
340
|
+
| <img src="docs/assets/readme/icons/plugins.svg" width="28" height="28" alt=""> **Plugin Marketplace** | 33 native Claude Code plugins + 21 npm plugins |
|
|
341
|
+
| <img src="docs/assets/readme/icons/routing.svg" width="28" height="28" alt=""> **Multi-Provider** | Claude, GPT, Gemini, Cohere, Ollama with smart routing |
|
|
342
|
+
| <img src="docs/assets/readme/icons/security.svg" width="28" height="28" alt=""> **Security** | AIDefence, input validation, CVE remediation, path traversal prevention |
|
|
343
|
+
| <img src="docs/assets/readme/icons/federation.svg" width="28" height="28" alt=""> **Agent Federation** | Cross-installation agent collaboration with zero-trust security |
|
|
344
|
+
| <img src="docs/assets/readme/icons/audit.svg" width="28" height="28" alt=""> **[MetaHarness](docs/metaharness-user-guide.md)** | Audit your AI agent setup before you ship. Grade readiness (1-100), scan tool configs for security issues, snapshot the whole project to catch regressions over time, and find templates that match your repo. `ruflo eject` turns a ruflo project into a standalone agent toolkit with its own name. [Full guide](docs/metaharness-user-guide.md). |
|
|
213
345
|
|
|
214
|
-
|
|
346
|
+
### <img src="docs/assets/readme/icons/learning.svg" width="28" height="28" alt=""> Learning from experience
|
|
215
347
|
|
|
216
|
-
|
|
348
|
+
<p align="center"><img src="docs/assets/readme/learning-flow.svg" width="100%" alt="Recall, execute, evaluate, store, adapt and reuse: an illustrative agent learning cycle."></p>
|
|
217
349
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
## What You Get
|
|
221
|
-
|
|
222
|
-
| Capability | Description |
|
|
223
|
-
|------------|-------------|
|
|
224
|
-
| 🤖 **100+ Agents** | Specialized agents for coding, testing, security, docs, architecture |
|
|
225
|
-
| 📡 **Comms Layer** | Zero-trust federation — agents across machines/orgs discover, authenticate, and exchange work securely |
|
|
226
|
-
| 🐝 **Swarm Coordination** | Hierarchical, mesh, and adaptive topologies with consensus |
|
|
227
|
-
| 🧠 **Self-Learning** | SONA neural patterns, ReasoningBank, trajectory learning |
|
|
228
|
-
| 💾 **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) |
|
|
229
|
-
| ⚡ **Background Workers** | 12 auto-triggered workers (audit, optimize, testgaps, etc.) |
|
|
230
|
-
| 🧩 **Plugin Marketplace** | 33 native Claude Code plugins + 21 npm plugins |
|
|
231
|
-
| 🔌 **Multi-Provider** | Claude, GPT, Gemini, Cohere, Ollama with smart routing |
|
|
232
|
-
| 🛡️ **Security** | AIDefence, input validation, CVE remediation, path traversal prevention |
|
|
233
|
-
| 🌐 **Agent Federation** | Cross-installation agent collaboration with zero-trust security |
|
|
234
|
-
| 🔬 **[MetaHarness](docs/metaharness-user-guide.md)** | Audit your AI agent setup before you ship. Grade readiness (1-100), scan tool configs for security issues, snapshot the whole project to catch regressions over time, and find templates that match your repo. `ruflo eject` turns a ruflo project into a standalone agent toolkit with its own name. [Full guide](docs/metaharness-user-guide.md). |
|
|
350
|
+
Useful trajectories and task feedback can inform future work. Results depend on the configured memory, learning components and quality of feedback. [Learning plugin](plugins/ruflo-intelligence/README.md).
|
|
235
351
|
|
|
236
352
|
### Agent Federation — Slack for Agents
|
|
237
353
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
keys stripped from you in transit
|
|
242
|
-
|
|
|
243
|
-
v
|
|
244
|
-
Their Agent <-- [ Block attacks ] <-- [ Check identity ] <------+
|
|
245
|
-
Stops prompt Rejects forgeries
|
|
246
|
-
injection
|
|
247
|
-
|
|
248
|
-
Audit trail on both sides.
|
|
249
|
-
Trust builds over time. Bad behavior = instant downgrade.
|
|
250
|
-
```
|
|
354
|
+
<p align="center"><img src="docs/assets/readme/federation.svg" alt="Connected intelligence across machines" width="100%"></p>
|
|
355
|
+
|
|
356
|
+
<p align="center"><img src="docs/assets/readme/federation-flow.svg" width="100%" alt="Outbound agent, data filtering, signing and encryption, identity verification, input checks and receiving agent."></p>
|
|
251
357
|
|
|
252
358
|
Slack gave teams channels. Federation gives agents the same thing — **shared workspaces across trust boundaries**, where agents on different machines, orgs, or cloud regions can discover each other, prove who they are, and collaborate on tasks.
|
|
253
359
|
|
|
@@ -349,6 +455,8 @@ User --> Claude Code / CLI
|
|
|
349
455
|
|
|
350
456
|
## Documentation
|
|
351
457
|
|
|
458
|
+
<p align="center"><img src="docs/assets/readme/documentation.svg" alt="Guides, architecture and verification" width="100%"></p>
|
|
459
|
+
|
|
352
460
|
Four docs for four audiences:
|
|
353
461
|
|
|
354
462
|
| Doc | When to read it |
|
|
@@ -379,6 +487,8 @@ User Guide section index:
|
|
|
379
487
|
|
|
380
488
|
## Support
|
|
381
489
|
|
|
490
|
+
<p align="center"><img src="docs/assets/readme/support.svg" alt="Build with the Ruflo community" width="100%"></p>
|
|
491
|
+
|
|
382
492
|
| Resource | Link |
|
|
383
493
|
|----------|------|
|
|
384
494
|
| Documentation | [User Guide](docs/USERGUIDE.md) |
|
|
@@ -387,6 +497,10 @@ User Guide section index:
|
|
|
387
497
|
| Community | [Agentics Foundation Discord](https://discord.com/invite/dfxmpwkG2D) |
|
|
388
498
|
| Powered by | [Cognitum.one](https://cognitum.one) |
|
|
389
499
|
|
|
500
|
+
<p align="center"><img src="docs/assets/readme/signal-divider.svg" alt="Ruflo" width="100%"></p>
|
|
501
|
+
|
|
390
502
|
## License
|
|
391
503
|
|
|
392
504
|
MIT - [RuvNet](https://github.com/ruvnet)
|
|
505
|
+
|
|
506
|
+
<a href="https://cognitum.one"><img src="docs/assets/readme/cognitum-banner-v2.svg" width="100%" alt="Cognitum One: Ambient Intelligence at the edge of the Physical World. Explore cognitum.one."></a>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generation":
|
|
4
|
-
"generatedAt": "2026-
|
|
5
|
-
"gitSha": "
|
|
3
|
+
"generation": 7,
|
|
4
|
+
"generatedAt": "2026-10-21T01:00:21.045Z",
|
|
5
|
+
"gitSha": "2276232b",
|
|
6
6
|
"catalog": {
|
|
7
|
-
"agents":
|
|
8
|
-
"tools":
|
|
7
|
+
"agents": 176,
|
|
8
|
+
"tools": 432,
|
|
9
9
|
"skills": 34
|
|
10
10
|
},
|
|
11
11
|
"benchmark": null
|
|
@@ -363,7 +363,7 @@ const statusCommand = {
|
|
|
363
363
|
`Progress: ${result.progress}%`,
|
|
364
364
|
'',
|
|
365
365
|
`Description: ${result.description}`
|
|
366
|
-
].join('\n'), `Task: ${result.
|
|
366
|
+
].join('\n'), `Task: ${result.taskId}`);
|
|
367
367
|
// Assignment info
|
|
368
368
|
output.writeln();
|
|
369
369
|
output.writeln(output.bold('Assignment'));
|
|
@@ -487,6 +487,18 @@ const cancelCommand = {
|
|
|
487
487
|
taskId,
|
|
488
488
|
reason: reason || 'Cancelled by user via CLI'
|
|
489
489
|
});
|
|
490
|
+
// task_cancel answers an unknown or already-finished task with
|
|
491
|
+
// success: false instead of throwing; report it instead of printing
|
|
492
|
+
// "Task ... cancelled" and exiting 0.
|
|
493
|
+
if (result.success === false) {
|
|
494
|
+
if (ctx.flags.format === 'json') {
|
|
495
|
+
output.printJson(result);
|
|
496
|
+
}
|
|
497
|
+
else {
|
|
498
|
+
output.printError(`Failed to cancel task ${taskId}: ${result.error || 'unknown error'}`);
|
|
499
|
+
}
|
|
500
|
+
return { success: false, exitCode: 1, data: result };
|
|
501
|
+
}
|
|
490
502
|
output.writeln();
|
|
491
503
|
output.printSuccess(`Task ${taskId} cancelled`);
|
|
492
504
|
output.printInfo(`Previous status: ${result.previousStatus}`);
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* No bundle is a message and exit 1, never a crash; ruflo stays operational without it. Without a terminal (a pipe, CI) the live view cannot run:
|
|
9
9
|
* a one-line hint and exit 2, unless --plain asks for one frame as plain text and exit 0 (ADR-489 decision E).
|
|
10
10
|
*
|
|
11
|
-
* npx ruflo tui # interactive, in a terminal
|
|
11
|
+
* npx ruflo tui # interactive, in a terminal (mouse on: click a page in the bar, scroll with the wheel)
|
|
12
|
+
* npx ruflo tui --no-mouse # keyboard only, if SGR mouse reporting fights your terminal's text selection
|
|
12
13
|
* npx ruflo tui --view swarm # start on the Swarm page (keys 1-6 or o c s e m a switch pages)
|
|
13
14
|
* npx ruflo tui --plain | head # one plain frame, exit 0 (scripts, CI)
|
|
14
15
|
* npx ruflo tui | cat # not a terminal and no --plain: a hint on stderr, exit 2
|
|
@@ -45,7 +46,10 @@ export function lookFlags(flags) {
|
|
|
45
46
|
...(flags?.anim === false ? { anim: false } : {}),
|
|
46
47
|
...(flags?.pictures === false ? { pictures: false } : {}),
|
|
47
48
|
...(flags?.boot === true ? { boot: true } : {}),
|
|
48
|
-
|
|
49
|
+
// Mouse defaults ON at the CLI layer (the runTui library itself still defaults off, unchanged for other
|
|
50
|
+
// callers/tests): only --no-mouse turns it off. The CLI must say so explicitly either way rather than
|
|
51
|
+
// omit the key, since (unlike anim/pictures) the CLI's default disagrees with the library's own default.
|
|
52
|
+
...{ mouse: flags?.mouse !== false },
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
55
|
/** The AI page's settings from the flags (and one environment variable for the endpoint list). Absent flags leave the defaults; a bad number is ignored, never passed on. */
|
|
@@ -69,12 +73,13 @@ export const tuiCommand = {
|
|
|
69
73
|
{ name: 'fps', description: 'Frames per second for moving pictures, 0-30 (default 8; 0 draws every picture still)', type: 'number' },
|
|
70
74
|
{ name: 'anim', description: 'Animate the pictures. --no-anim draws them still', type: 'boolean', default: true },
|
|
71
75
|
{ name: 'pictures', description: 'Draw the pictures of the console (title art, swarm graph, gauges). --no-pictures shows their words only', type: 'boolean', default: true },
|
|
72
|
-
{ name: 'mouse', description: 'Read mouse reports: click a page in the bar, scroll with the wheel (every action also has a key)', type: 'boolean', default:
|
|
76
|
+
{ name: 'mouse', description: 'Read mouse reports: click a page in the bar, scroll with the wheel (every action also has a key). On by default; --no-mouse turns it off if SGR reporting fights your terminal\'s text selection', type: 'boolean', default: true },
|
|
73
77
|
{ name: 'boot', description: 'Play the look\'s start-up screen first (as the console\'s boot setting)', type: 'boolean', default: false },
|
|
74
78
|
{ name: 'plain', description: 'Print one frame as plain text and exit 0 (scripts and CI). Without it, a non-terminal gets a hint and exit 2', type: 'boolean', default: false },
|
|
75
79
|
],
|
|
76
80
|
examples: [
|
|
77
|
-
{ command: 'npx ruflo tui', description: 'Open the console in this terminal' },
|
|
81
|
+
{ command: 'npx ruflo tui', description: 'Open the console in this terminal (mouse on: click a page in the bar, scroll with the wheel)' },
|
|
82
|
+
{ command: 'npx ruflo tui --no-mouse', description: 'Keyboard only, if SGR mouse reporting fights your terminal\'s text selection' },
|
|
78
83
|
{ command: 'npx ruflo tui --view swarm', description: 'Start on the Swarm page (keys 1-6 switch pages, tab cycles, q quits)' },
|
|
79
84
|
{ command: 'npx ruflo tui --view ai --model openai/gpt-4o-mini --max-spend-usd 0.1', description: 'The AI page on a cheap OpenRouter model, stopping at $0.10 reported (key in $OPENROUTER_API_KEY, never shown)' },
|
|
80
85
|
{ command: 'npx ruflo tui --plain | head -40', description: 'One plain frame, exit 0: for scripts and CI (no terminal needed)' },
|
|
@@ -499,6 +499,18 @@ export const taskTools = [
|
|
|
499
499
|
const taskId = input.taskId;
|
|
500
500
|
const task = store.tasks[taskId];
|
|
501
501
|
if (task) {
|
|
502
|
+
const previousStatus = task.status;
|
|
503
|
+
// A finished task keeps its outcome: cancelling it used to overwrite a
|
|
504
|
+
// completed task's result and completedAt with a cancel reason.
|
|
505
|
+
if (previousStatus === 'completed' || previousStatus === 'failed' || previousStatus === 'cancelled') {
|
|
506
|
+
return {
|
|
507
|
+
success: false,
|
|
508
|
+
taskId,
|
|
509
|
+
status: previousStatus,
|
|
510
|
+
previousStatus,
|
|
511
|
+
error: `Task is already ${previousStatus}`,
|
|
512
|
+
};
|
|
513
|
+
}
|
|
502
514
|
task.status = 'cancelled';
|
|
503
515
|
task.completedAt = new Date().toISOString();
|
|
504
516
|
task.result = { cancelReason: input.reason || 'Cancelled by user' };
|
|
@@ -508,6 +520,7 @@ export const taskTools = [
|
|
|
508
520
|
success: true,
|
|
509
521
|
taskId: task.taskId,
|
|
510
522
|
status: task.status,
|
|
523
|
+
previousStatus,
|
|
511
524
|
cancelledAt: task.completedAt,
|
|
512
525
|
};
|
|
513
526
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.59.
|
|
3
|
+
"version": "3.59.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|