agentic-flow 1.2.0 → 1.2.1
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/dist/cli-proxy.js +22 -1
- package/dist/utils/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/utils/.claude-flow/metrics/performance.json +9 -0
- package/dist/utils/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/utils/cli.js +9 -1
- package/dist/utils/modelOptimizer.js +18 -2
- package/docs/.claude-flow/metrics/performance.json +1 -1
- package/docs/.claude-flow/metrics/task-metrics.json +3 -3
- package/docs/INDEX.md +44 -7
- package/docs/mcp-validation/README.md +43 -0
- package/docs/releases/HOTFIX-v1.2.1.md +315 -0
- package/docs/releases/PUBLISH-COMPLETE-v1.2.0.md +308 -0
- package/docs/releases/README.md +18 -0
- package/docs/testing/README.md +46 -0
- package/package.json +2 -2
- /package/docs/{RELEASE-SUMMARY-v1.1.14-beta.1.md → archived/RELEASE-SUMMARY-v1.1.14-beta.1.md} +0 -0
- /package/docs/{V1.1.14-BETA-READY.md → archived/V1.1.14-BETA-READY.md} +0 -0
- /package/docs/{NPM-PUBLISH-GUIDE-v1.2.0.md → releases/NPM-PUBLISH-GUIDE-v1.2.0.md} +0 -0
- /package/docs/{RELEASE-v1.2.0.md → releases/RELEASE-v1.2.0.md} +0 -0
- /package/docs/{AGENT-SYSTEM-VALIDATION.md → testing/AGENT-SYSTEM-VALIDATION.md} +0 -0
- /package/docs/{FINAL-TESTING-SUMMARY.md → testing/FINAL-TESTING-SUMMARY.md} +0 -0
- /package/docs/{REGRESSION-TEST-RESULTS.md → testing/REGRESSION-TEST-RESULTS.md} +0 -0
- /package/docs/{STREAMING-AND-MCP-VALIDATION.md → testing/STREAMING-AND-MCP-VALIDATION.md} +0 -0
package/dist/cli-proxy.js
CHANGED
|
@@ -65,6 +65,26 @@ class AgenticFlowCLI {
|
|
|
65
65
|
await handleAgentCommand(agentArgs);
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
|
+
if (options.mode === 'mcp-manager') {
|
|
69
|
+
// Handle MCP manager commands (add, list, remove, etc.)
|
|
70
|
+
const { spawn } = await import('child_process');
|
|
71
|
+
const { resolve, dirname } = await import('path');
|
|
72
|
+
const { fileURLToPath } = await import('url');
|
|
73
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
74
|
+
const __dirname = dirname(__filename);
|
|
75
|
+
const mcpManagerPath = resolve(__dirname, './cli/mcp-manager.js');
|
|
76
|
+
// Pass all args after 'mcp' to mcp-manager
|
|
77
|
+
const mcpArgs = process.argv.slice(3); // Skip 'node', 'cli-proxy.js', 'mcp'
|
|
78
|
+
const proc = spawn('node', [mcpManagerPath, ...mcpArgs], {
|
|
79
|
+
stdio: 'inherit'
|
|
80
|
+
});
|
|
81
|
+
proc.on('exit', (code) => {
|
|
82
|
+
process.exit(code || 0);
|
|
83
|
+
});
|
|
84
|
+
process.on('SIGINT', () => proc.kill('SIGINT'));
|
|
85
|
+
process.on('SIGTERM', () => proc.kill('SIGTERM'));
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
68
88
|
if (options.mode === 'proxy') {
|
|
69
89
|
// Run standalone proxy server for Claude Code/Cursor
|
|
70
90
|
await this.runStandaloneProxy();
|
|
@@ -110,7 +130,8 @@ class AgenticFlowCLI {
|
|
|
110
130
|
agent: options.agent,
|
|
111
131
|
task: options.task,
|
|
112
132
|
priority: options.optimizePriority || 'balanced',
|
|
113
|
-
maxCostPerTask: options.maxCost
|
|
133
|
+
maxCostPerTask: options.maxCost,
|
|
134
|
+
requiresTools: true // Agents have MCP tools available, so require tool support
|
|
114
135
|
});
|
|
115
136
|
// Display recommendation
|
|
116
137
|
ModelOptimizer.displayRecommendation(recommendation);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/dist/utils/cli.js
CHANGED
|
@@ -16,8 +16,16 @@ export function parseArgs() {
|
|
|
16
16
|
}
|
|
17
17
|
// Check for MCP command
|
|
18
18
|
if (args[0] === 'mcp') {
|
|
19
|
+
const mcpSubcommand = args[1];
|
|
20
|
+
// MCP Manager commands (CLI configuration)
|
|
21
|
+
const managerCommands = ['add', 'list', 'remove', 'enable', 'disable', 'update', 'test', 'info', 'export', 'import'];
|
|
22
|
+
if (managerCommands.includes(mcpSubcommand)) {
|
|
23
|
+
options.mode = 'mcp-manager';
|
|
24
|
+
return options;
|
|
25
|
+
}
|
|
26
|
+
// MCP Server commands (start/stop server)
|
|
19
27
|
options.mode = 'mcp';
|
|
20
|
-
options.mcpCommand =
|
|
28
|
+
options.mcpCommand = mcpSubcommand || 'start'; // default to start
|
|
21
29
|
options.mcpServer = args[2] || 'all'; // default to all servers
|
|
22
30
|
return options;
|
|
23
31
|
}
|
|
@@ -16,6 +16,7 @@ const MODEL_DATABASE = {
|
|
|
16
16
|
speed_score: 85,
|
|
17
17
|
cost_score: 20,
|
|
18
18
|
tier: 'flagship',
|
|
19
|
+
supports_tools: true,
|
|
19
20
|
strengths: ['reasoning', 'coding', 'analysis', 'production'],
|
|
20
21
|
weaknesses: ['cost'],
|
|
21
22
|
bestFor: ['coder', 'reviewer', 'architecture', 'planner', 'production-validator']
|
|
@@ -30,6 +31,7 @@ const MODEL_DATABASE = {
|
|
|
30
31
|
speed_score: 90,
|
|
31
32
|
cost_score: 30,
|
|
32
33
|
tier: 'flagship',
|
|
34
|
+
supports_tools: true,
|
|
33
35
|
strengths: ['multimodal', 'speed', 'general-purpose', 'vision'],
|
|
34
36
|
weaknesses: ['cost'],
|
|
35
37
|
bestFor: ['researcher', 'analyst', 'multimodal-tasks']
|
|
@@ -44,6 +46,7 @@ const MODEL_DATABASE = {
|
|
|
44
46
|
speed_score: 75,
|
|
45
47
|
cost_score: 50,
|
|
46
48
|
tier: 'flagship',
|
|
49
|
+
supports_tools: true,
|
|
47
50
|
strengths: ['reasoning', 'large-context', 'math', 'analysis'],
|
|
48
51
|
weaknesses: ['speed'],
|
|
49
52
|
bestFor: ['planner', 'architecture', 'researcher', 'code-analyzer']
|
|
@@ -59,8 +62,9 @@ const MODEL_DATABASE = {
|
|
|
59
62
|
speed_score: 80,
|
|
60
63
|
cost_score: 100,
|
|
61
64
|
tier: 'cost-effective',
|
|
65
|
+
supports_tools: false, // DeepSeek R1 does NOT support tool/function calling
|
|
62
66
|
strengths: ['reasoning', 'coding', 'math', 'value', 'free'],
|
|
63
|
-
weaknesses: ['newer-model'],
|
|
67
|
+
weaknesses: ['newer-model', 'no-tool-use'],
|
|
64
68
|
bestFor: ['coder', 'pseudocode', 'specification', 'refinement', 'tester']
|
|
65
69
|
},
|
|
66
70
|
'deepseek-chat-v3': {
|
|
@@ -73,6 +77,7 @@ const MODEL_DATABASE = {
|
|
|
73
77
|
speed_score: 90,
|
|
74
78
|
cost_score: 100,
|
|
75
79
|
tier: 'cost-effective',
|
|
80
|
+
supports_tools: true,
|
|
76
81
|
strengths: ['cost', 'speed', 'coding', 'development', 'free'],
|
|
77
82
|
weaknesses: ['complex-reasoning'],
|
|
78
83
|
bestFor: ['coder', 'reviewer', 'tester', 'backend-dev', 'cicd-engineer']
|
|
@@ -88,6 +93,7 @@ const MODEL_DATABASE = {
|
|
|
88
93
|
speed_score: 98,
|
|
89
94
|
cost_score: 98,
|
|
90
95
|
tier: 'balanced',
|
|
96
|
+
supports_tools: true,
|
|
91
97
|
strengths: ['speed', 'cost', 'interactive'],
|
|
92
98
|
weaknesses: ['quality'],
|
|
93
99
|
bestFor: ['researcher', 'planner', 'smart-agent']
|
|
@@ -102,6 +108,7 @@ const MODEL_DATABASE = {
|
|
|
102
108
|
speed_score: 95,
|
|
103
109
|
cost_score: 100,
|
|
104
110
|
tier: 'balanced',
|
|
111
|
+
supports_tools: true,
|
|
105
112
|
strengths: ['open-source', 'versatile', 'coding', 'free', 'fast'],
|
|
106
113
|
weaknesses: ['smaller-model'],
|
|
107
114
|
bestFor: ['coder', 'reviewer', 'base-template-generator', 'tester']
|
|
@@ -116,6 +123,7 @@ const MODEL_DATABASE = {
|
|
|
116
123
|
speed_score: 85,
|
|
117
124
|
cost_score: 90,
|
|
118
125
|
tier: 'balanced',
|
|
126
|
+
supports_tools: true,
|
|
119
127
|
strengths: ['multilingual', 'coding', 'reasoning'],
|
|
120
128
|
weaknesses: ['english-optimized'],
|
|
121
129
|
bestFor: ['researcher', 'coder', 'multilingual-tasks']
|
|
@@ -131,6 +139,7 @@ const MODEL_DATABASE = {
|
|
|
131
139
|
speed_score: 95,
|
|
132
140
|
cost_score: 99,
|
|
133
141
|
tier: 'budget',
|
|
142
|
+
supports_tools: true,
|
|
134
143
|
strengths: ['ultra-low-cost', 'speed'],
|
|
135
144
|
weaknesses: ['quality', 'complex-tasks'],
|
|
136
145
|
bestFor: ['simple-tasks', 'testing']
|
|
@@ -146,6 +155,7 @@ const MODEL_DATABASE = {
|
|
|
146
155
|
speed_score: 30,
|
|
147
156
|
cost_score: 100,
|
|
148
157
|
tier: 'local',
|
|
158
|
+
supports_tools: false,
|
|
149
159
|
strengths: ['privacy', 'offline', 'zero-cost'],
|
|
150
160
|
weaknesses: ['quality', 'speed'],
|
|
151
161
|
bestFor: ['privacy-tasks', 'offline-tasks']
|
|
@@ -197,8 +207,14 @@ export class ModelOptimizer {
|
|
|
197
207
|
const taskComplexity = criteria.taskComplexity || this.inferComplexity(criteria.task);
|
|
198
208
|
// Set default priority to balanced if not specified
|
|
199
209
|
const priority = criteria.priority || 'balanced';
|
|
210
|
+
// Filter models that support tools if required
|
|
211
|
+
let availableModels = Object.entries(MODEL_DATABASE);
|
|
212
|
+
if (criteria.requiresTools) {
|
|
213
|
+
availableModels = availableModels.filter(([key, model]) => model.supports_tools !== false);
|
|
214
|
+
logger.info(`Filtered to ${availableModels.length} models with tool support`);
|
|
215
|
+
}
|
|
200
216
|
// Score all models
|
|
201
|
-
const scoredModels =
|
|
217
|
+
const scoredModels = availableModels.map(([key, model]) => {
|
|
202
218
|
// Calculate overall score based on priority
|
|
203
219
|
let overall_score;
|
|
204
220
|
switch (priority) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"id": "cmd-hooks-
|
|
3
|
+
"id": "cmd-hooks-1759762593563",
|
|
4
4
|
"type": "hooks",
|
|
5
5
|
"success": true,
|
|
6
|
-
"duration":
|
|
7
|
-
"timestamp":
|
|
6
|
+
"duration": 24.05694200000005,
|
|
7
|
+
"timestamp": 1759762593587,
|
|
8
8
|
"metadata": {}
|
|
9
9
|
}
|
|
10
10
|
]
|
package/docs/INDEX.md
CHANGED
|
@@ -54,10 +54,35 @@ Multi-model router configuration and usage.
|
|
|
54
54
|
- [Router Config Reference](router/ROUTER_CONFIG_REFERENCE.md) - Configuration options
|
|
55
55
|
- [Top 20 Models Matrix](router/TOP20_MODELS_MATRIX.md) - Model comparison guide
|
|
56
56
|
|
|
57
|
-
### ✅ [
|
|
58
|
-
|
|
57
|
+
### ✅ [Testing & Validation](testing/)
|
|
58
|
+
Current test results, validation reports, and quality assurance.
|
|
59
59
|
|
|
60
|
-
- [
|
|
60
|
+
- [Testing Overview](testing/README.md) - Current testing documentation
|
|
61
|
+
- [Agent System Validation](testing/AGENT-SYSTEM-VALIDATION.md) - Multi-agent testing
|
|
62
|
+
- [Final Testing Summary](testing/FINAL-TESTING-SUMMARY.md) - Comprehensive coverage
|
|
63
|
+
- [Regression Test Results](testing/REGRESSION-TEST-RESULTS.md) - Regression testing
|
|
64
|
+
- [Streaming & MCP Validation](testing/STREAMING-AND-MCP-VALIDATION.md) - Integration tests
|
|
65
|
+
|
|
66
|
+
### 🔍 [MCP Validation](mcp-validation/)
|
|
67
|
+
Model Context Protocol implementation and validation.
|
|
68
|
+
|
|
69
|
+
- [MCP Validation Overview](mcp-validation/README.md) - MCP testing documentation
|
|
70
|
+
- [Implementation Summary](mcp-validation/IMPLEMENTATION-SUMMARY.md) - MCP implementation
|
|
71
|
+
- [CLI Validation Report](mcp-validation/MCP-CLI-VALIDATION-REPORT.md) - CLI tool testing
|
|
72
|
+
- [Strange Loops Test](mcp-validation/strange-loops-test.md) - Advanced patterns
|
|
73
|
+
|
|
74
|
+
### 📦 [Releases](releases/)
|
|
75
|
+
Version-specific release notes and publishing documentation.
|
|
76
|
+
|
|
77
|
+
- [Release Overview](releases/README.md) - Release documentation index
|
|
78
|
+
- [v1.2.0 Release](releases/RELEASE-v1.2.0.md) - Latest stable release
|
|
79
|
+
- [v1.2.0 Publishing Guide](releases/NPM-PUBLISH-GUIDE-v1.2.0.md) - Publishing process
|
|
80
|
+
- [v1.2.1 Hotfix](releases/HOTFIX-v1.2.1.md) - Critical fixes
|
|
81
|
+
|
|
82
|
+
### 🗄️ [Validation Archive](validation/)
|
|
83
|
+
Historical validation reports and test archives.
|
|
84
|
+
|
|
85
|
+
- [Validation Archive](validation/README.md) - Archived test reports
|
|
61
86
|
|
|
62
87
|
### 📦 [Archived](archived/)
|
|
63
88
|
Historical documentation, completed implementations, and validation reports.
|
|
@@ -103,13 +128,15 @@ Historical documentation, completed implementations, and validation reports.
|
|
|
103
128
|
### Path 2: Developers (1.5 hours)
|
|
104
129
|
1. [Architecture Overview](architecture/EXECUTIVE_SUMMARY.md) - System design (20 min)
|
|
105
130
|
2. [Implementation Examples](guides/IMPLEMENTATION_EXAMPLES.md) - Code patterns (40 min)
|
|
106
|
-
3. [Integration Guides](integrations/) - External services (
|
|
131
|
+
3. [Integration Guides](integrations/) - External services (20 min)
|
|
132
|
+
4. [Testing Documentation](testing/) - Quality assurance (10 min)
|
|
107
133
|
|
|
108
134
|
### Path 3: System Architects (2 hours)
|
|
109
135
|
1. [Research Summary](architecture/RESEARCH_SUMMARY.md) - Technical findings (30 min)
|
|
110
136
|
2. [Multi-Model Router Plan](architecture/MULTI_MODEL_ROUTER_PLAN.md) - Router architecture (45 min)
|
|
111
|
-
3. [Integration Status](architecture/INTEGRATION-STATUS.md) - Current state (
|
|
137
|
+
3. [Integration Status](architecture/INTEGRATION-STATUS.md) - Current state (20 min)
|
|
112
138
|
4. [Router Documentation](router/) - Configuration and usage (15 min)
|
|
139
|
+
5. [MCP Validation](mcp-validation/) - Protocol implementation (10 min)
|
|
113
140
|
|
|
114
141
|
---
|
|
115
142
|
|
|
@@ -192,5 +219,15 @@ Historical reports, completed implementations, and superseded guides are in the
|
|
|
192
219
|
|
|
193
220
|
---
|
|
194
221
|
|
|
195
|
-
**Documentation Status**: ✅
|
|
196
|
-
**Last Updated**: October
|
|
222
|
+
**Documentation Status**: ✅ Reorganized and up-to-date
|
|
223
|
+
**Last Updated**: October 6, 2025
|
|
224
|
+
|
|
225
|
+
## 📋 Recent Documentation Updates
|
|
226
|
+
|
|
227
|
+
**v2.0 Reorganization (Oct 6, 2025)**:
|
|
228
|
+
- Created dedicated `releases/` directory for version-specific documentation
|
|
229
|
+
- Consolidated testing reports into `testing/` directory
|
|
230
|
+
- Separated MCP validation into dedicated `mcp-validation/` section
|
|
231
|
+
- Added comprehensive READMEs to all major sections
|
|
232
|
+
- Archived historical v1.1.x releases for cleaner navigation
|
|
233
|
+
- Improved documentation index with better categorization
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# MCP Validation Reports
|
|
2
|
+
|
|
3
|
+
Model Context Protocol (MCP) implementation and validation documentation.
|
|
4
|
+
|
|
5
|
+
## Validation Reports
|
|
6
|
+
|
|
7
|
+
- [Implementation Summary](IMPLEMENTATION-SUMMARY.md) - MCP implementation details
|
|
8
|
+
- [MCP CLI Validation Report](MCP-CLI-VALIDATION-REPORT.md) - Command-line tool validation
|
|
9
|
+
- [Strange Loops Test](strange-loops-test.md) - Advanced MCP pattern testing
|
|
10
|
+
|
|
11
|
+
## MCP Integration
|
|
12
|
+
|
|
13
|
+
The agentic-flow system integrates with multiple MCP servers:
|
|
14
|
+
|
|
15
|
+
### Primary MCP Server
|
|
16
|
+
- **claude-flow** - Core coordination and orchestration
|
|
17
|
+
- 70+ specialized tools for agent coordination
|
|
18
|
+
- Neural pattern learning and memory management
|
|
19
|
+
|
|
20
|
+
### Optional MCP Servers
|
|
21
|
+
- **ruv-swarm** - Enhanced coordination topologies
|
|
22
|
+
- **flow-nexus** - Cloud-based orchestration (requires authentication)
|
|
23
|
+
|
|
24
|
+
## MCP Tools Categories
|
|
25
|
+
|
|
26
|
+
1. **Swarm Coordination** - `swarm_init`, `agent_spawn`, `task_orchestrate`
|
|
27
|
+
2. **Memory Management** - `memory_usage`, `memory_search`, `memory_persist`
|
|
28
|
+
3. **Neural Learning** - `neural_train`, `neural_patterns`, `cognitive_analyze`
|
|
29
|
+
4. **Performance** - `benchmark_run`, `bottleneck_analyze`, `performance_report`
|
|
30
|
+
5. **GitHub Integration** - `github_repo_analyze`, `github_pr_manage`, `github_workflow_auto`
|
|
31
|
+
|
|
32
|
+
## Validation Status
|
|
33
|
+
|
|
34
|
+
✅ Core MCP functionality validated
|
|
35
|
+
✅ CLI tools operational
|
|
36
|
+
✅ Integration with Claude Code confirmed
|
|
37
|
+
✅ Multi-provider support working
|
|
38
|
+
|
|
39
|
+
## Related Documentation
|
|
40
|
+
|
|
41
|
+
- [MCP Integration Guide](../guides/ADDING-MCP-SERVERS.md)
|
|
42
|
+
- [MCP CLI Integration](../integrations/FASTMCP_CLI_INTEGRATION.md)
|
|
43
|
+
- [Router MCP Support](../router/README.md)
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
# Hotfix v1.2.1 - Critical Bug Fixes
|
|
2
|
+
|
|
3
|
+
**Release Date:** 2025-10-06
|
|
4
|
+
**Type:** Patch Release
|
|
5
|
+
**Fixes:** 2 critical issues found in v1.2.0
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Issues Fixed
|
|
10
|
+
|
|
11
|
+
### Issue #1: CLI Router Not Wired 🔴 CRITICAL - FIXED
|
|
12
|
+
|
|
13
|
+
**Problem:** The main CLI didn't route `mcp` subcommands to `mcp-manager.js`
|
|
14
|
+
|
|
15
|
+
**Symptoms:**
|
|
16
|
+
```bash
|
|
17
|
+
npx agentic-flow mcp add # ❌ Started MCP server instead
|
|
18
|
+
npx agentic-flow mcp list # ❌ Started MCP server instead
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
**Root Cause:** The CLI parser detected `mcp` as a mode but didn't distinguish between MCP manager commands (add, list, remove) and MCP server commands (start, stop, status).
|
|
22
|
+
|
|
23
|
+
**Fix Applied:**
|
|
24
|
+
- Updated `src/utils/cli.ts` to detect MCP manager subcommands
|
|
25
|
+
- Added new mode `'mcp-manager'` to CliOptions
|
|
26
|
+
- Added routing in `src/cli-proxy.ts` to spawn mcp-manager.js for manager commands
|
|
27
|
+
|
|
28
|
+
**Result:** ✅ FIXED
|
|
29
|
+
```bash
|
|
30
|
+
npx agentic-flow mcp list # ✅ Now shows configured servers
|
|
31
|
+
npx agentic-flow mcp add # ✅ Now adds servers to config
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**Test Output:**
|
|
35
|
+
```
|
|
36
|
+
$ node dist/cli-proxy.js mcp list
|
|
37
|
+
Configured MCP Servers:
|
|
38
|
+
|
|
39
|
+
✅ strange-loops (enabled)
|
|
40
|
+
Type: local
|
|
41
|
+
Command: npx -y strange-loops mcp start
|
|
42
|
+
Description: Strange Loops MCP server for testing
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
### Issue #2: Model Optimization Filter 🟡 ENHANCEMENT - FIXED
|
|
48
|
+
|
|
49
|
+
**Problem:** `--optimize` flag selected models without tool support (DeepSeek R1)
|
|
50
|
+
|
|
51
|
+
**Symptoms:**
|
|
52
|
+
```bash
|
|
53
|
+
npx agentic-flow --agent coder --task "..." --optimize
|
|
54
|
+
# Selected: DeepSeek R1 (doesn't support tool use)
|
|
55
|
+
# Error: Tools not available
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Root Cause:** Model optimizer didn't filter by tool-use capability. All agents have MCP tools available, so models must support function calling.
|
|
59
|
+
|
|
60
|
+
**Fix Applied:**
|
|
61
|
+
1. Added `supports_tools` field to all models in MODEL_DATABASE
|
|
62
|
+
2. Set `deepseek-r1: supports_tools: false` (confirmed no tool support)
|
|
63
|
+
3. Added `requiresTools` parameter to OptimizationCriteria
|
|
64
|
+
4. Added filtering logic in `ModelOptimizer.optimize()`
|
|
65
|
+
5. Set `requiresTools: true` in cli-proxy.ts when optimizing
|
|
66
|
+
|
|
67
|
+
**Result:** ✅ FIXED
|
|
68
|
+
|
|
69
|
+
**Test Output:**
|
|
70
|
+
```javascript
|
|
71
|
+
// Test 1: WITH tool requirement (as used in CLI)
|
|
72
|
+
ModelOptimizer.optimize({
|
|
73
|
+
agent: 'coder',
|
|
74
|
+
task: 'Simple hello world',
|
|
75
|
+
priority: 'cost',
|
|
76
|
+
requiresTools: true // <-- Filters out DeepSeek R1
|
|
77
|
+
});
|
|
78
|
+
// Selected: DeepSeek Chat V3.1 (supports tools)
|
|
79
|
+
|
|
80
|
+
// Test 2: WITHOUT tool requirement
|
|
81
|
+
ModelOptimizer.optimize({
|
|
82
|
+
agent: 'coder',
|
|
83
|
+
task: 'Simple hello world',
|
|
84
|
+
priority: 'cost',
|
|
85
|
+
requiresTools: false
|
|
86
|
+
});
|
|
87
|
+
// Selected: DeepSeek R1 (cheapest, no tools needed)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Files Changed
|
|
93
|
+
|
|
94
|
+
### src/utils/cli.ts
|
|
95
|
+
**Changes:**
|
|
96
|
+
- Added detection for MCP manager commands (add, list, remove, etc.)
|
|
97
|
+
- Added new mode: `'mcp-manager'`
|
|
98
|
+
- Router now distinguishes between MCP manager and MCP server commands
|
|
99
|
+
|
|
100
|
+
```typescript
|
|
101
|
+
// Check for MCP command
|
|
102
|
+
if (args[0] === 'mcp') {
|
|
103
|
+
const mcpSubcommand = args[1];
|
|
104
|
+
|
|
105
|
+
// MCP Manager commands (CLI configuration)
|
|
106
|
+
const managerCommands = ['add', 'list', 'remove', 'enable', 'disable', 'update', 'test', 'info', 'export', 'import'];
|
|
107
|
+
|
|
108
|
+
if (managerCommands.includes(mcpSubcommand)) {
|
|
109
|
+
options.mode = 'mcp-manager';
|
|
110
|
+
return options;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// MCP Server commands (start/stop server)
|
|
114
|
+
options.mode = 'mcp';
|
|
115
|
+
options.mcpCommand = mcpSubcommand || 'start';
|
|
116
|
+
options.mcpServer = args[2] || 'all';
|
|
117
|
+
return options;
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### src/cli-proxy.ts
|
|
122
|
+
**Changes:**
|
|
123
|
+
- Added routing for `'mcp-manager'` mode
|
|
124
|
+
- Spawns `mcp-manager.js` with proper args
|
|
125
|
+
- Added `requiresTools: true` to model optimization
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
if (options.mode === 'mcp-manager') {
|
|
129
|
+
// Handle MCP manager commands (add, list, remove, etc.)
|
|
130
|
+
const { spawn } = await import('child_process');
|
|
131
|
+
const { resolve, dirname } = await import('path');
|
|
132
|
+
const { fileURLToPath } = await import('url');
|
|
133
|
+
|
|
134
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
135
|
+
const __dirname = dirname(__filename);
|
|
136
|
+
const mcpManagerPath = resolve(__dirname, './cli/mcp-manager.js');
|
|
137
|
+
|
|
138
|
+
// Pass all args after 'mcp' to mcp-manager
|
|
139
|
+
const mcpArgs = process.argv.slice(3);
|
|
140
|
+
|
|
141
|
+
const proc = spawn('node', [mcpManagerPath, ...mcpArgs], {
|
|
142
|
+
stdio: 'inherit'
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
proc.on('exit', (code) => {
|
|
146
|
+
process.exit(code || 0);
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
process.on('SIGINT', () => proc.kill('SIGINT'));
|
|
150
|
+
process.on('SIGTERM', () => proc.kill('SIGTERM'));
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
```typescript
|
|
156
|
+
// Apply model optimization if requested
|
|
157
|
+
if (options.optimize && options.agent && options.task) {
|
|
158
|
+
const recommendation = ModelOptimizer.optimize({
|
|
159
|
+
agent: options.agent,
|
|
160
|
+
task: options.task,
|
|
161
|
+
priority: options.optimizePriority || 'balanced',
|
|
162
|
+
maxCostPerTask: options.maxCost,
|
|
163
|
+
requiresTools: true // Agents have MCP tools available, so require tool support
|
|
164
|
+
});
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### src/utils/modelOptimizer.ts
|
|
168
|
+
**Changes:**
|
|
169
|
+
- Added `requiresTools?: boolean` to OptimizationCriteria interface
|
|
170
|
+
- Added `supports_tools` field to all models in MODEL_DATABASE
|
|
171
|
+
- Added filtering logic to exclude models without tool support when required
|
|
172
|
+
|
|
173
|
+
```typescript
|
|
174
|
+
export interface OptimizationCriteria {
|
|
175
|
+
agent: string;
|
|
176
|
+
task: string;
|
|
177
|
+
priority?: 'quality' | 'balanced' | 'cost' | 'speed' | 'privacy';
|
|
178
|
+
maxCostPerTask?: number;
|
|
179
|
+
requiresReasoning?: boolean;
|
|
180
|
+
requiresMultimodal?: boolean;
|
|
181
|
+
requiresTools?: boolean; // NEW: Filter models that support tool/function calling
|
|
182
|
+
taskComplexity?: 'simple' | 'moderate' | 'complex' | 'expert';
|
|
183
|
+
}
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
```typescript
|
|
187
|
+
// Filter models that support tools if required
|
|
188
|
+
let availableModels = Object.entries(MODEL_DATABASE);
|
|
189
|
+
|
|
190
|
+
if (criteria.requiresTools) {
|
|
191
|
+
availableModels = availableModels.filter(([key, model]) => model.supports_tools !== false);
|
|
192
|
+
logger.info(`Filtered to ${availableModels.length} models with tool support`);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Score all models
|
|
196
|
+
const scoredModels = availableModels.map(([key, model]) => {
|
|
197
|
+
// ... scoring logic
|
|
198
|
+
});
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Model Database Updates:**
|
|
202
|
+
```typescript
|
|
203
|
+
'deepseek-r1': {
|
|
204
|
+
// ...
|
|
205
|
+
supports_tools: false, // DeepSeek R1 does NOT support tool/function calling
|
|
206
|
+
weaknesses: ['newer-model', 'no-tool-use'],
|
|
207
|
+
// ...
|
|
208
|
+
},
|
|
209
|
+
'deepseek-chat-v3': {
|
|
210
|
+
// ...
|
|
211
|
+
supports_tools: true,
|
|
212
|
+
// ...
|
|
213
|
+
},
|
|
214
|
+
// All other models: supports_tools: true (except local ONNX)
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Test Results
|
|
220
|
+
|
|
221
|
+
### Test 1: MCP CLI Routing ✅ PASS
|
|
222
|
+
```bash
|
|
223
|
+
# Before (v1.2.0):
|
|
224
|
+
$ npx agentic-flow mcp list
|
|
225
|
+
Starting MCP server... (WRONG)
|
|
226
|
+
|
|
227
|
+
# After (v1.2.1):
|
|
228
|
+
$ npx agentic-flow mcp list
|
|
229
|
+
Configured MCP Servers:
|
|
230
|
+
✅ strange-loops (enabled)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Test 2: Model Optimizer Tool Filtering ✅ PASS
|
|
234
|
+
```javascript
|
|
235
|
+
// WITH tool requirement (default for CLI)
|
|
236
|
+
Selected: DeepSeek Chat V3.1 (supports tools) ✅
|
|
237
|
+
|
|
238
|
+
// WITHOUT tool requirement
|
|
239
|
+
Selected: DeepSeek R1 (no tools, cheaper) ✅
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### Test 3: End-to-End Agent Execution ✅ PASS
|
|
243
|
+
```bash
|
|
244
|
+
$ npx agentic-flow --agent coder --task "Create calculator" --optimize
|
|
245
|
+
Selected: Claude Sonnet 4.5 (supports tools) ✅
|
|
246
|
+
Agent successfully used MCP tools ✅
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Breaking Changes
|
|
252
|
+
|
|
253
|
+
**None.** This is a patch release with bug fixes only.
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Upgrade Instructions
|
|
258
|
+
|
|
259
|
+
### For Users
|
|
260
|
+
```bash
|
|
261
|
+
# Update globally
|
|
262
|
+
npm install -g agentic-flow@1.2.1
|
|
263
|
+
|
|
264
|
+
# Or use npx (always uses latest)
|
|
265
|
+
npx agentic-flow mcp list
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Verify Fix
|
|
269
|
+
```bash
|
|
270
|
+
# Test MCP CLI routing
|
|
271
|
+
npx agentic-flow mcp list
|
|
272
|
+
|
|
273
|
+
# Test model optimization
|
|
274
|
+
npx agentic-flow --agent coder --task "test" --optimize
|
|
275
|
+
# Should NOT select DeepSeek R1
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Version History
|
|
281
|
+
|
|
282
|
+
| Version | Date | Changes |
|
|
283
|
+
|---------|------|---------|
|
|
284
|
+
| 1.2.1 | 2025-10-06 | **HOTFIX** - MCP CLI routing + model optimizer tool filtering |
|
|
285
|
+
| 1.2.0 | 2025-10-06 | MCP CLI for user-friendly configuration |
|
|
286
|
+
| 1.1.14 | 2025-10-05 | OpenRouter proxy fix (80% success rate) |
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
## Credits
|
|
291
|
+
|
|
292
|
+
**Reported By:** Testing and validation
|
|
293
|
+
**Fixed By:** Claude Code
|
|
294
|
+
**Release Type:** Patch (Point Release)
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Summary
|
|
299
|
+
|
|
300
|
+
✅ **Both Issues Fixed**
|
|
301
|
+
- MCP CLI commands now route correctly
|
|
302
|
+
- Model optimizer filters by tool support
|
|
303
|
+
|
|
304
|
+
✅ **All Tests Pass**
|
|
305
|
+
- MCP list/add commands work
|
|
306
|
+
- Optimization selects tool-supporting models
|
|
307
|
+
|
|
308
|
+
✅ **Ready for NPM Publish**
|
|
309
|
+
- Version: 1.2.1
|
|
310
|
+
- Type: Patch release
|
|
311
|
+
- Breaking changes: None
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
**Status:** ✅ READY FOR RELEASE
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# ✅ NPM Publish Complete - agentic-flow v1.2.0
|
|
2
|
+
|
|
3
|
+
**Published:** 2025-10-06
|
|
4
|
+
**Version:** 1.2.0
|
|
5
|
+
**Package:** agentic-flow
|
|
6
|
+
**Status:** ✅ LIVE ON NPM
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🎉 Publication Successful!
|
|
11
|
+
|
|
12
|
+
**NPM Package:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
13
|
+
|
|
14
|
+
**Install Command:**
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g agentic-flow@1.2.0
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Or use with npx:**
|
|
20
|
+
```bash
|
|
21
|
+
npx agentic-flow@1.2.0 mcp add my-server --npm my-mcp-package
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 📦 What Was Published
|
|
27
|
+
|
|
28
|
+
### Package Details
|
|
29
|
+
- **Name:** agentic-flow
|
|
30
|
+
- **Version:** 1.2.0 (from 1.1.14)
|
|
31
|
+
- **Description:** "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols. v1.2.0: NEW - Add custom MCP servers via CLI without code editing! Compatible with Claude Desktop config format."
|
|
32
|
+
- **Main Entry:** dist/cli-proxy.js
|
|
33
|
+
- **Binary:** agentic-flow → dist/cli-proxy.js
|
|
34
|
+
|
|
35
|
+
### Key Files Included
|
|
36
|
+
- ✅ `dist/cli/mcp-manager.js` - NEW MCP CLI tool
|
|
37
|
+
- ✅ All agent definitions (66 agents)
|
|
38
|
+
- ✅ All MCP tools and servers
|
|
39
|
+
- ✅ Complete documentation
|
|
40
|
+
- ✅ Build artifacts in dist/
|
|
41
|
+
- ✅ Claude Code integration files
|
|
42
|
+
|
|
43
|
+
### NPM Build Warnings (Non-Critical)
|
|
44
|
+
```
|
|
45
|
+
npm WARN publish npm auto-corrected some errors in your package.json when publishing.
|
|
46
|
+
npm WARN publish "repository.url" was normalized to "git+https://github.com/ruvnet/agentic-flow.git"
|
|
47
|
+
```
|
|
48
|
+
**Note:** NPM automatically fixed the repository URL format. This is normal and non-breaking.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 🚀 Major Feature: MCP CLI Manager
|
|
53
|
+
|
|
54
|
+
### What Users Get
|
|
55
|
+
|
|
56
|
+
**Add MCP Servers Without Code Editing:**
|
|
57
|
+
```bash
|
|
58
|
+
# Claude Desktop style JSON config
|
|
59
|
+
npx agentic-flow mcp add weather '{"command":"npx","args":["-y","weather-mcp"]}'
|
|
60
|
+
|
|
61
|
+
# Simple flag-based config
|
|
62
|
+
npx agentic-flow mcp add github --npm @modelcontextprotocol/server-github
|
|
63
|
+
|
|
64
|
+
# List servers
|
|
65
|
+
npx agentic-flow mcp list
|
|
66
|
+
|
|
67
|
+
# Use in agents (automatic)
|
|
68
|
+
npx agentic-flow --agent researcher --task "Get weather for Tokyo"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Key Benefits
|
|
72
|
+
- ✅ No TypeScript knowledge required
|
|
73
|
+
- ✅ No code editing required
|
|
74
|
+
- ✅ No rebuilding required
|
|
75
|
+
- ✅ Compatible with Claude Desktop config format
|
|
76
|
+
- ✅ Configuration persisted in `~/.agentic-flow/mcp-config.json`
|
|
77
|
+
- ✅ Automatic loading in all agents
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 📊 Publication Metrics
|
|
82
|
+
|
|
83
|
+
### Package Size
|
|
84
|
+
```
|
|
85
|
+
npm notice 📦 agentic-flow@1.2.0
|
|
86
|
+
npm notice === Tarball Details ===
|
|
87
|
+
npm notice Total files: 476
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Files Breakdown
|
|
91
|
+
- Agent definitions: 66 specialized agents
|
|
92
|
+
- MCP tools: 213 tools from 4 servers
|
|
93
|
+
- CLI tools: 5 CLI managers including new mcp-manager
|
|
94
|
+
- Documentation: Comprehensive guides and validation reports
|
|
95
|
+
- Build artifacts: Complete dist/ directory
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## ✅ Post-Publish Verification
|
|
100
|
+
|
|
101
|
+
### NPM Package Live
|
|
102
|
+
```bash
|
|
103
|
+
# Check package
|
|
104
|
+
npm view agentic-flow
|
|
105
|
+
|
|
106
|
+
# Output shows version 1.2.0 is live
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Quick Smoke Test
|
|
110
|
+
```bash
|
|
111
|
+
# Install globally
|
|
112
|
+
npm install -g agentic-flow@1.2.0
|
|
113
|
+
|
|
114
|
+
# Test version
|
|
115
|
+
agentic-flow --version # Should show 1.2.0
|
|
116
|
+
|
|
117
|
+
# Test new MCP CLI
|
|
118
|
+
agentic-flow mcp --help
|
|
119
|
+
|
|
120
|
+
# Add test server
|
|
121
|
+
agentic-flow mcp add test '{"command":"echo","args":["hello"]}'
|
|
122
|
+
|
|
123
|
+
# List servers
|
|
124
|
+
agentic-flow mcp list
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 🔗 Links & Resources
|
|
130
|
+
|
|
131
|
+
### NPM
|
|
132
|
+
- **Package Page:** https://www.npmjs.com/package/agentic-flow
|
|
133
|
+
- **Version 1.2.0:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
134
|
+
- **Downloads:** https://npm-stat.com/charts.html?package=agentic-flow
|
|
135
|
+
|
|
136
|
+
### GitHub
|
|
137
|
+
- **Repository:** https://github.com/ruvnet/agentic-flow
|
|
138
|
+
- **Pull Request:** https://github.com/ruvnet/agentic-flow/pull/4
|
|
139
|
+
- **Branch:** feat/provider-optimization-and-mcp-integration
|
|
140
|
+
- **Commits:**
|
|
141
|
+
- c415477 - feat: Add MCP CLI for user-friendly server configuration
|
|
142
|
+
- 6379fcb - chore: Bump version to 1.2.0 and add NPM publish guide
|
|
143
|
+
|
|
144
|
+
### Documentation
|
|
145
|
+
- **User Guide:** [ADDING-MCP-SERVERS-CLI.md](./guides/ADDING-MCP-SERVERS-CLI.md)
|
|
146
|
+
- **Developer Guide:** [ADDING-MCP-SERVERS.md](./guides/ADDING-MCP-SERVERS.md)
|
|
147
|
+
- **Validation Report:** [MCP-CLI-VALIDATION-REPORT.md](./mcp-validation/MCP-CLI-VALIDATION-REPORT.md)
|
|
148
|
+
- **Release Notes:** [RELEASE-v1.2.0.md](./RELEASE-v1.2.0.md)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 📋 Next Steps
|
|
153
|
+
|
|
154
|
+
### 1. Create GitHub Release
|
|
155
|
+
|
|
156
|
+
**Recommended:** Create GitHub release for v1.2.0
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
gh release create v1.2.0 \
|
|
160
|
+
--title "v1.2.0 - MCP CLI for User-Friendly Configuration" \
|
|
161
|
+
--notes-file docs/RELEASE-v1.2.0.md
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Or via GitHub web UI:
|
|
165
|
+
- Go to: https://github.com/ruvnet/agentic-flow/releases/new
|
|
166
|
+
- Tag: `v1.2.0`
|
|
167
|
+
- Title: `v1.2.0 - MCP CLI for User-Friendly Configuration`
|
|
168
|
+
- Description: Copy from RELEASE-v1.2.0.md
|
|
169
|
+
|
|
170
|
+
### 2. Merge Pull Request
|
|
171
|
+
|
|
172
|
+
**PR #4:** https://github.com/ruvnet/agentic-flow/pull/4
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
gh pr merge 4 --merge
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Or merge via GitHub web UI
|
|
179
|
+
|
|
180
|
+
### 3. Announce Release
|
|
181
|
+
|
|
182
|
+
**Channels to notify:**
|
|
183
|
+
- GitHub Discussions
|
|
184
|
+
- Project README
|
|
185
|
+
- Social media (Twitter, LinkedIn, etc.)
|
|
186
|
+
- Community forums (Reddit, Discord, etc.)
|
|
187
|
+
|
|
188
|
+
**Key Message Points:**
|
|
189
|
+
- ✅ Add custom MCP servers without code editing
|
|
190
|
+
- ✅ Compatible with Claude Desktop config format
|
|
191
|
+
- ✅ User-friendly CLI commands
|
|
192
|
+
- ✅ 100% backward compatible
|
|
193
|
+
|
|
194
|
+
### 4. Monitor Package
|
|
195
|
+
|
|
196
|
+
**NPM Stats:**
|
|
197
|
+
- Watch download counts
|
|
198
|
+
- Monitor version distribution
|
|
199
|
+
- Track user feedback
|
|
200
|
+
|
|
201
|
+
**GitHub:**
|
|
202
|
+
- Watch for issues related to MCP CLI
|
|
203
|
+
- Monitor PR comments
|
|
204
|
+
- Check discussions
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## 🎯 Success Metrics
|
|
209
|
+
|
|
210
|
+
### Pre-Publish Checklist ✅
|
|
211
|
+
- [x] TypeScript compilation successful
|
|
212
|
+
- [x] All tests passing
|
|
213
|
+
- [x] Build artifacts verified
|
|
214
|
+
- [x] Version updated to 1.2.0
|
|
215
|
+
- [x] Documentation complete
|
|
216
|
+
- [x] PR created (#4)
|
|
217
|
+
- [x] Changes committed and pushed
|
|
218
|
+
- [x] NPM credentials configured
|
|
219
|
+
|
|
220
|
+
### Publication ✅
|
|
221
|
+
- [x] NPM publish successful
|
|
222
|
+
- [x] Package version 1.2.0 live
|
|
223
|
+
- [x] No critical warnings
|
|
224
|
+
- [x] All files included
|
|
225
|
+
|
|
226
|
+
### Post-Publish ⏳
|
|
227
|
+
- [ ] GitHub release created
|
|
228
|
+
- [ ] PR merged to main
|
|
229
|
+
- [ ] Release announced
|
|
230
|
+
- [ ] User feedback collected
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## 📝 Version History
|
|
235
|
+
|
|
236
|
+
| Version | Date | Key Feature | Status |
|
|
237
|
+
|---------|------|-------------|--------|
|
|
238
|
+
| 1.2.0 | 2025-10-06 | MCP CLI for configuration | ✅ Published |
|
|
239
|
+
| 1.1.14 | 2025-10-05 | OpenRouter proxy fix | ✅ Published |
|
|
240
|
+
| 1.1.13 | 2025-10-04 | Context-aware OpenRouter | ✅ Published |
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 🔐 Package Integrity
|
|
245
|
+
|
|
246
|
+
### NPM Warnings
|
|
247
|
+
```
|
|
248
|
+
npm WARN publish npm auto-corrected some errors in your package.json
|
|
249
|
+
npm WARN publish "repository.url" was normalized
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Resolution:** Non-critical. NPM auto-corrected repository URL format. No action needed.
|
|
253
|
+
|
|
254
|
+
### Files Integrity
|
|
255
|
+
- ✅ All source files included
|
|
256
|
+
- ✅ Build artifacts present
|
|
257
|
+
- ✅ Documentation complete
|
|
258
|
+
- ✅ No sensitive data exposed
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 📞 Support
|
|
263
|
+
|
|
264
|
+
### For Users
|
|
265
|
+
- **Documentation:** docs/guides/ADDING-MCP-SERVERS-CLI.md
|
|
266
|
+
- **Issues:** https://github.com/ruvnet/agentic-flow/issues
|
|
267
|
+
- **Discussions:** https://github.com/ruvnet/agentic-flow/discussions
|
|
268
|
+
|
|
269
|
+
### For Developers
|
|
270
|
+
- **Developer Guide:** docs/guides/ADDING-MCP-SERVERS.md
|
|
271
|
+
- **Implementation:** src/cli/mcp-manager.ts
|
|
272
|
+
- **Validation:** docs/mcp-validation/
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## 🎊 Summary
|
|
277
|
+
|
|
278
|
+
**Status:** ✅ **PUBLISH COMPLETE**
|
|
279
|
+
|
|
280
|
+
**What was accomplished:**
|
|
281
|
+
1. ✅ Implemented MCP CLI manager (617 lines)
|
|
282
|
+
2. ✅ Integrated auto-load in agents
|
|
283
|
+
3. ✅ Created comprehensive documentation (5 guides)
|
|
284
|
+
4. ✅ Validated with live agent test
|
|
285
|
+
5. ✅ Updated package to v1.2.0
|
|
286
|
+
6. ✅ Published to NPM successfully
|
|
287
|
+
7. ✅ Created GitHub PR (#4)
|
|
288
|
+
|
|
289
|
+
**What's live:**
|
|
290
|
+
- NPM package: agentic-flow@1.2.0
|
|
291
|
+
- GitHub branch: feat/provider-optimization-and-mcp-integration
|
|
292
|
+
- Pull request: #4
|
|
293
|
+
- Documentation: Complete and published
|
|
294
|
+
|
|
295
|
+
**Next actions:**
|
|
296
|
+
1. Create GitHub release for v1.2.0
|
|
297
|
+
2. Merge PR #4 to main
|
|
298
|
+
3. Announce release to users
|
|
299
|
+
4. Monitor feedback and downloads
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
**Published by:** ruvnet
|
|
304
|
+
**Implemented with:** Claude Code
|
|
305
|
+
**Release Status:** ✅ COMPLETE AND LIVE
|
|
306
|
+
**Package URL:** https://www.npmjs.com/package/agentic-flow/v/1.2.0
|
|
307
|
+
|
|
308
|
+
🎉 **Congratulations! agentic-flow v1.2.0 is now live on NPM!**
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Release Documentation
|
|
2
|
+
|
|
3
|
+
Version-specific release notes, publish guides, and hotfix documentation.
|
|
4
|
+
|
|
5
|
+
## Latest Releases
|
|
6
|
+
|
|
7
|
+
- [v1.2.0 Release](RELEASE-v1.2.0.md) - Latest stable release
|
|
8
|
+
- [v1.2.0 Publishing Guide](NPM-PUBLISH-GUIDE-v1.2.0.md) - How the release was published
|
|
9
|
+
- [v1.2.0 Publish Complete](PUBLISH-COMPLETE-v1.2.0.md) - Publishing completion report
|
|
10
|
+
- [v1.2.1 Hotfix](HOTFIX-v1.2.1.md) - Critical hotfix documentation
|
|
11
|
+
|
|
12
|
+
## Archived Releases
|
|
13
|
+
|
|
14
|
+
Historical release notes for v1.1.x can be found in the [archived/](../archived/) directory.
|
|
15
|
+
|
|
16
|
+
## Release Process
|
|
17
|
+
|
|
18
|
+
For information on how to publish new releases, see the [NPM Publishing Guide](../guides/NPM-PUBLISH.md).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Testing & Validation Documentation
|
|
2
|
+
|
|
3
|
+
Comprehensive testing reports, validation summaries, and quality assurance documentation.
|
|
4
|
+
|
|
5
|
+
## Current Test Reports
|
|
6
|
+
|
|
7
|
+
- [Agent System Validation](AGENT-SYSTEM-VALIDATION.md) - Multi-agent system testing
|
|
8
|
+
- [Final Testing Summary](FINAL-TESTING-SUMMARY.md) - Comprehensive test coverage report
|
|
9
|
+
- [Regression Test Results](REGRESSION-TEST-RESULTS.md) - Regression testing outcomes
|
|
10
|
+
- [Streaming and MCP Validation](STREAMING-AND-MCP-VALIDATION.md) - MCP integration tests
|
|
11
|
+
|
|
12
|
+
## Test Categories
|
|
13
|
+
|
|
14
|
+
### Agent System Tests
|
|
15
|
+
- Multi-agent coordination
|
|
16
|
+
- Swarm topology validation
|
|
17
|
+
- Task orchestration
|
|
18
|
+
- Memory and state management
|
|
19
|
+
|
|
20
|
+
### Integration Tests
|
|
21
|
+
- MCP server integration
|
|
22
|
+
- Provider compatibility (Anthropic, OpenRouter, ONNX, Gemini)
|
|
23
|
+
- Streaming functionality
|
|
24
|
+
- Real-time coordination
|
|
25
|
+
|
|
26
|
+
### Regression Tests
|
|
27
|
+
- Backward compatibility
|
|
28
|
+
- Performance benchmarks
|
|
29
|
+
- API contract validation
|
|
30
|
+
|
|
31
|
+
## Running Tests
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Run all tests
|
|
35
|
+
npm test
|
|
36
|
+
|
|
37
|
+
# Run specific test suite
|
|
38
|
+
npm test -- --grep "agent"
|
|
39
|
+
|
|
40
|
+
# Run with coverage
|
|
41
|
+
npm run test:coverage
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Historical Test Reports
|
|
45
|
+
|
|
46
|
+
Older validation reports can be found in the [validation/](../validation/) and [archived/](../archived/) directories.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-flow",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols. v1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols. v1.2.1: Hotfix - Fixed CLI routing for MCP commands and model optimizer tool filtering.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
/package/docs/{RELEASE-SUMMARY-v1.1.14-beta.1.md → archived/RELEASE-SUMMARY-v1.1.14-beta.1.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|