ruflo 3.56.8 → 3.56.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ruflo",
|
|
3
|
-
"version": "3.56.
|
|
3
|
+
"version": "3.56.9",
|
|
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",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"package:rvf": "bash src/scripts/package-rvf.sh"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@claude-flow/cli": "3.56.
|
|
43
|
+
"@claude-flow/cli": "3.56.9"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {},
|
|
46
46
|
"overrides": {
|
package/src/mcp-bridge/index.js
CHANGED
|
@@ -106,14 +106,18 @@ const TOOL_GROUPS = {
|
|
|
106
106
|
source: "gemini-mcp",
|
|
107
107
|
},
|
|
108
108
|
|
|
109
|
-
// --- OpenAI Codex ---
|
|
109
|
+
// --- OpenAI Codex (MCP server mode removed from current CLI; #3509) ---
|
|
110
110
|
codex: {
|
|
111
|
-
enabled:
|
|
112
|
-
description: "
|
|
111
|
+
enabled: false,
|
|
112
|
+
description: "Unavailable: Codex CLI has no MCP server mode. Use Codex dual-mode workers instead.",
|
|
113
113
|
source: "codex",
|
|
114
114
|
},
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
+
if (process.env.MCP_GROUP_CODEX === "true") {
|
|
118
|
+
console.warn("[codex] Codex CLI has no MCP server mode; MCP_GROUP_CODEX is disabled. Use Codex dual-mode workers (codex exec) instead.");
|
|
119
|
+
}
|
|
120
|
+
|
|
117
121
|
// =============================================================================
|
|
118
122
|
// STDIO MCP CLIENT — Connects to external MCP servers via child process
|
|
119
123
|
// =============================================================================
|
|
@@ -257,7 +261,6 @@ const BACKEND_DEFS = [
|
|
|
257
261
|
{ name: "agentic-flow", command: "npx", args: ["-y", "agentic-flow@alpha", "mcp", "start"], groups: ["agentic-flow"] },
|
|
258
262
|
{ name: "claude", command: "claude", args: ["mcp", "serve"], groups: ["claude-code"] },
|
|
259
263
|
{ name: "gemini-mcp", command: "npx", args: ["-y", "gemini-mcp-server"], groups: ["gemini"] },
|
|
260
|
-
{ name: "codex", command: "npx", args: ["-y", "@openai/codex", "mcp-server"], groups: ["codex"] },
|
|
261
264
|
];
|
|
262
265
|
|
|
263
266
|
const mcpBackends = new Map();
|
|
@@ -602,19 +605,7 @@ Requires: GOOGLE_API_KEY environment variable (already set for Gemini models).
|
|
|
602
605
|
|
|
603
606
|
codex: `# Codex Group
|
|
604
607
|
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
Requires: OPENAI_API_KEY environment variable (already set for OpenAI models).
|
|
608
|
-
|
|
609
|
-
## Capabilities
|
|
610
|
-
- Code generation and execution
|
|
611
|
-
- Code completion
|
|
612
|
-
- Code explanation
|
|
613
|
-
|
|
614
|
-
## When to Use
|
|
615
|
-
- Code generation tasks
|
|
616
|
-
- Quick code completions
|
|
617
|
-
- Code explanation and documentation`,
|
|
608
|
+
Unavailable: current Codex CLI has no MCP server mode (#3509). This group is disabled even if MCP_GROUP_CODEX=true, so it exposes no tools. Use the separate Codex dual-mode worker through codex exec. A future MCP adapter requires its own execution and security design.`,
|
|
618
609
|
};
|
|
619
610
|
|
|
620
611
|
if (topic === "tool" && toolName) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# ADR-034: Optional MCP Backends — Claude Code
|
|
1
|
+
# ADR-034: Optional MCP Backends — Claude Code and Gemini
|
|
2
2
|
|
|
3
3
|
**Status:** Accepted
|
|
4
4
|
**Date:** 2026-03-05
|
|
@@ -16,7 +16,7 @@ These require their own API keys and have different resource profiles, so they s
|
|
|
16
16
|
|
|
17
17
|
## Decision
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Claude Code and Gemini remain optional MCP backends. Codex was originally listed here, but current Codex CLI has no MCP server mode. As of #3509, the bridge leaves that group disabled and warns when `MCP_GROUP_CODEX=true` is requested. Ruflo's separate Codex dual-mode workers use `codex exec`; a future MCP adapter needs a separate execution and security design.
|
|
20
20
|
|
|
21
21
|
### Backend Configuration
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ Add three optional MCP backends that can be enabled via environment variables. U
|
|
|
26
26
|
| ruflo | `ENABLE_RUFLO` | None | `npx ruflo mcp start` | **enabled** |
|
|
27
27
|
| Claude Code | `ENABLE_CLAUDE_CODE` | `ANTHROPIC_API_KEY` | `claude mcp serve` | disabled |
|
|
28
28
|
| Gemini MCP | `ENABLE_GEMINI_MCP` | `GOOGLE_API_KEY` | `npx gemini-mcp-server` | disabled |
|
|
29
|
-
| Codex | `
|
|
29
|
+
| Codex | `MCP_GROUP_CODEX` | N/A | No supported MCP server mode | unavailable; opt-in warns |
|
|
30
30
|
|
|
31
31
|
### Architecture
|
|
32
32
|
|
|
@@ -37,7 +37,6 @@ ruvector__hooks_route → ruvector MCP
|
|
|
37
37
|
ruflo__agent_spawn → ruflo MCP
|
|
38
38
|
claude__Read → Claude Code MCP
|
|
39
39
|
gemini__chat → Gemini MCP
|
|
40
|
-
codex__execute → Codex MCP
|
|
41
40
|
```
|
|
42
41
|
|
|
43
42
|
```
|
|
@@ -52,10 +51,10 @@ codex__execute → Codex MCP
|
|
|
52
51
|
│ └─────────────┘ └──────────────┘ │
|
|
53
52
|
│ │
|
|
54
53
|
│ Optional backends (API key required): │
|
|
55
|
-
│ ┌──────────────┐ ┌───────────┐
|
|
56
|
-
│ │ Claude Code │ │ Gemini │
|
|
57
|
-
│ │ (opt-in) │ │ (opt-in) │
|
|
58
|
-
│ └──────────────┘ └───────────┘
|
|
54
|
+
│ ┌──────────────┐ ┌───────────┐ │
|
|
55
|
+
│ │ Claude Code │ │ Gemini │ │
|
|
56
|
+
│ │ (opt-in) │ │ (opt-in) │ │
|
|
57
|
+
│ └──────────────┘ └───────────┘ │
|
|
59
58
|
└───────────────────────────────────────────────────────┘
|
|
60
59
|
```
|
|
61
60
|
|
|
@@ -69,10 +68,10 @@ ANTHROPIC_API_KEY=sk-ant-...
|
|
|
69
68
|
ENABLE_GEMINI_MCP=true
|
|
70
69
|
GOOGLE_API_KEY=AIzaSy... # already set for Gemini models
|
|
71
70
|
|
|
72
|
-
ENABLE_CODEX=true
|
|
73
|
-
OPENAI_API_KEY=sk-... # already set for OpenAI models
|
|
74
71
|
```
|
|
75
72
|
|
|
73
|
+
`MCP_GROUP_CODEX=true` is not an enablement path: it produces an explicit warning and does not start a Codex child process.
|
|
74
|
+
|
|
76
75
|
### Security Considerations
|
|
77
76
|
|
|
78
77
|
1. **API keys stay server-side** — keys are only in the bridge container's env vars, never exposed to the browser
|
|
@@ -88,14 +87,13 @@ OPENAI_API_KEY=sk-... # already set for OpenAI models
|
|
|
88
87
|
| ruflo | ~50MB | Low | ~5s |
|
|
89
88
|
| Claude Code | ~100MB | Medium | ~5s |
|
|
90
89
|
| Gemini MCP | ~40MB | Low | ~4s |
|
|
91
|
-
| Codex | ~80MB | Medium | ~5s |
|
|
92
90
|
|
|
93
|
-
|
|
91
|
+
Resource estimates for the remaining backends require current deployment measurement.
|
|
94
92
|
|
|
95
93
|
## Consequences
|
|
96
94
|
|
|
97
95
|
### Positive
|
|
98
|
-
- Users can access Claude
|
|
96
|
+
- Users can access Claude and Gemini capabilities directly from HF Chat UI
|
|
99
97
|
- Single `/mcp` endpoint — no client-side config changes
|
|
100
98
|
- Opt-in model keeps default resource usage low
|
|
101
99
|
- API keys shared with the chat proxy (no additional secrets needed for Gemini/OpenAI)
|
|
@@ -106,14 +106,18 @@ const TOOL_GROUPS = {
|
|
|
106
106
|
source: "gemini-mcp",
|
|
107
107
|
},
|
|
108
108
|
|
|
109
|
-
// --- OpenAI Codex ---
|
|
109
|
+
// --- OpenAI Codex (MCP server mode removed from current CLI; #3509) ---
|
|
110
110
|
codex: {
|
|
111
|
-
enabled:
|
|
112
|
-
description: "
|
|
111
|
+
enabled: false,
|
|
112
|
+
description: "Unavailable: Codex CLI has no MCP server mode. Use Codex dual-mode workers instead.",
|
|
113
113
|
source: "codex",
|
|
114
114
|
},
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
+
if (process.env.MCP_GROUP_CODEX === "true") {
|
|
118
|
+
console.warn("[codex] Codex CLI has no MCP server mode; MCP_GROUP_CODEX is disabled. Use Codex dual-mode workers (codex exec) instead.");
|
|
119
|
+
}
|
|
120
|
+
|
|
117
121
|
// =============================================================================
|
|
118
122
|
// STDIO MCP CLIENT — Connects to external MCP servers via child process
|
|
119
123
|
// =============================================================================
|
|
@@ -262,7 +266,6 @@ const BACKEND_DEFS = [
|
|
|
262
266
|
{ name: "agentic-flow", command: "npx", args: ["-y", "agentic-flow@alpha", "mcp", "start"], groups: ["agentic-flow"] },
|
|
263
267
|
{ name: "claude", command: "claude", args: ["mcp", "serve"], groups: ["claude-code"] },
|
|
264
268
|
{ name: "gemini-mcp", command: "npx", args: ["-y", "gemini-mcp-server"], groups: ["gemini"] },
|
|
265
|
-
{ name: "codex", command: "npx", args: ["-y", "@openai/codex", "mcp-server"], groups: ["codex"] },
|
|
266
269
|
];
|
|
267
270
|
|
|
268
271
|
const mcpBackends = new Map();
|
|
@@ -607,19 +610,7 @@ Requires: GOOGLE_API_KEY environment variable (already set for Gemini models).
|
|
|
607
610
|
|
|
608
611
|
codex: `# Codex Group
|
|
609
612
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
Requires: OPENAI_API_KEY environment variable (already set for OpenAI models).
|
|
613
|
-
|
|
614
|
-
## Capabilities
|
|
615
|
-
- Code generation and execution
|
|
616
|
-
- Code completion
|
|
617
|
-
- Code explanation
|
|
618
|
-
|
|
619
|
-
## When to Use
|
|
620
|
-
- Code generation tasks
|
|
621
|
-
- Quick code completions
|
|
622
|
-
- Code explanation and documentation`,
|
|
613
|
+
Unavailable: current Codex CLI has no MCP server mode (#3509). This group is disabled even if MCP_GROUP_CODEX=true, so it exposes no tools. Use the separate Codex dual-mode worker through codex exec. A future MCP adapter requires its own execution and security design.`,
|
|
623
614
|
};
|
|
624
615
|
|
|
625
616
|
if (topic === "tool" && toolName) {
|