claude-flow 2.7.26 → 2.7.28
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/CHANGELOG.md +306 -0
- package/bin/claude-flow +60 -6
- package/dist/src/cli/simple-cli.js +79 -173
- package/dist/src/cli/simple-cli.js.map +1 -1
- package/dist/src/cli/simple-commands/init/index.js +0 -16
- package/dist/src/cli/simple-commands/init/index.js.map +1 -1
- package/dist/src/cli/simple-commands/memory.js +16 -1
- package/dist/src/cli/simple-commands/memory.js.map +1 -1
- package/dist/src/cli/validation-helper.js.map +1 -1
- package/dist/src/core/MCPIntegrator.js +0 -99
- package/dist/src/core/MCPIntegrator.js.map +1 -1
- package/dist/src/memory/swarm-memory.js +348 -416
- package/dist/src/memory/swarm-memory.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +10 -0
- package/docs/V2.7.26_RELEASE_SUMMARY.md +454 -0
- package/docs/V2.7.27_RELEASE_NOTES.md +208 -0
- package/docs/V2.7.27_TEST_REPORT.md +259 -0
- package/docs/V2.7.28_RELEASE_NOTES.md +205 -0
- package/package.json +1 -1
- package/src/cli/simple-commands/init/index.js +0 -13
- package/src/cli/simple-commands/memory.js +16 -1
- package/src/core/MCPIntegrator.ts +0 -51
|
@@ -117,11 +117,6 @@ async function setupMcpServers(dryRun = false) {
|
|
|
117
117
|
command: 'npx flow-nexus@latest mcp start',
|
|
118
118
|
description: 'Flow Nexus Complete MCP server for advanced AI orchestration',
|
|
119
119
|
},
|
|
120
|
-
{
|
|
121
|
-
name: 'agentic-payments',
|
|
122
|
-
command: 'npx agentic-payments@latest mcp',
|
|
123
|
-
description: 'Agentic Payments MCP server for autonomous agent payment authorization',
|
|
124
|
-
},
|
|
125
120
|
];
|
|
126
121
|
|
|
127
122
|
for (const server of servers) {
|
|
@@ -754,7 +749,6 @@ export async function initCommand(subArgs, flags) {
|
|
|
754
749
|
console.log(' claude mcp add claude-flow npx claude-flow@alpha mcp start');
|
|
755
750
|
console.log(' claude mcp add ruv-swarm npx ruv-swarm mcp start');
|
|
756
751
|
console.log(' claude mcp add flow-nexus npx flow-nexus@latest mcp start');
|
|
757
|
-
console.log(' claude mcp add agentic-payments npx agentic-payments@latest mcp');
|
|
758
752
|
}
|
|
759
753
|
}
|
|
760
754
|
} catch (err) {
|
|
@@ -1461,11 +1455,6 @@ async function enhancedClaudeFlowInit(flags, subArgs = []) {
|
|
|
1461
1455
|
args: ['flow-nexus@latest', 'mcp', 'start'],
|
|
1462
1456
|
type: 'stdio',
|
|
1463
1457
|
},
|
|
1464
|
-
'agentic-payments': {
|
|
1465
|
-
command: 'npx',
|
|
1466
|
-
args: ['agentic-payments@latest', 'mcp'],
|
|
1467
|
-
type: 'stdio',
|
|
1468
|
-
},
|
|
1469
1458
|
},
|
|
1470
1459
|
};
|
|
1471
1460
|
|
|
@@ -1747,7 +1736,6 @@ ${commands.map((cmd) => `- [${cmd}](./${cmd}.md)`).join('\n')}
|
|
|
1747
1736
|
console.log(' claude mcp add claude-flow npx claude-flow@alpha mcp start');
|
|
1748
1737
|
console.log(' claude mcp add ruv-swarm npx ruv-swarm@latest mcp start');
|
|
1749
1738
|
console.log(' claude mcp add flow-nexus npx flow-nexus@latest mcp start');
|
|
1750
|
-
console.log(' claude mcp add agentic-payments npx agentic-payments@latest mcp');
|
|
1751
1739
|
console.log('\n 💡 MCP servers are defined in .mcp.json (project scope)');
|
|
1752
1740
|
}
|
|
1753
1741
|
} else if (!dryRun && !isClaudeCodeInstalled()) {
|
|
@@ -1758,7 +1746,6 @@ ${commands.map((cmd) => `- [${cmd}](./${cmd}.md)`).join('\n')}
|
|
|
1758
1746
|
console.log(' claude mcp add claude-flow@alpha npx claude-flow@alpha mcp start');
|
|
1759
1747
|
console.log(' claude mcp add ruv-swarm npx ruv-swarm@latest mcp start');
|
|
1760
1748
|
console.log(' claude mcp add flow-nexus npx flow-nexus@latest mcp start');
|
|
1761
|
-
console.log(' claude mcp add agentic-payments npx agentic-payments@latest mcp');
|
|
1762
1749
|
console.log('\n 💡 MCP servers are defined in .mcp.json (project scope)');
|
|
1763
1750
|
}
|
|
1764
1751
|
|
|
@@ -894,6 +894,9 @@ function showMemoryHelp() {
|
|
|
894
894
|
console.log('Options:');
|
|
895
895
|
console.log(' --namespace <ns> Specify namespace for operations');
|
|
896
896
|
console.log(' --ns <ns> Short form of --namespace');
|
|
897
|
+
console.log(' --limit <n> Limit number of results (default: 10)');
|
|
898
|
+
console.log(' --sort <field> Sort results by: recent, oldest, key, value');
|
|
899
|
+
console.log(' --format <type> Export format: json, yaml');
|
|
897
900
|
console.log(' --redact 🔒 Enable API key redaction (security feature)');
|
|
898
901
|
console.log(' --secure Alias for --redact');
|
|
899
902
|
console.log();
|
|
@@ -918,7 +921,9 @@ function showMemoryHelp() {
|
|
|
918
921
|
console.log(' # ReasoningBank mode (AI-powered, opt-in)');
|
|
919
922
|
console.log(' memory init --reasoningbank # One-time setup');
|
|
920
923
|
console.log(' memory store api_pattern "Always use env vars" --reasoningbank');
|
|
921
|
-
console.log(' memory query "API configuration" --reasoningbank # Semantic search!');
|
|
924
|
+
console.log(' memory query "API configuration" --reasoningbank --limit 5 # Semantic search!');
|
|
925
|
+
console.log(' memory list --reasoningbank --sort recent --limit 20');
|
|
926
|
+
console.log(' memory export backup.json --format json --reasoningbank');
|
|
922
927
|
console.log(' memory status --reasoningbank # Show AI metrics');
|
|
923
928
|
console.log();
|
|
924
929
|
console.log(' # Auto-detect mode (smart selection)');
|
|
@@ -934,4 +939,14 @@ function showMemoryHelp() {
|
|
|
934
939
|
console.log(' • JSON fallback: Always available, fast, simple key-value storage');
|
|
935
940
|
console.log(' • Initialize ReasoningBank once: "memory init --reasoningbank"');
|
|
936
941
|
console.log(' • Always use --redact when storing API keys or secrets!');
|
|
942
|
+
console.log();
|
|
943
|
+
console.log('🚀 Semantic Search (NEW in v2.7.25):');
|
|
944
|
+
console.log(' NPX Mode: Uses hash-based embeddings (text similarity)');
|
|
945
|
+
console.log(' • Fast, offline, zero dependencies');
|
|
946
|
+
console.log(' • Good for exact/partial text matching');
|
|
947
|
+
console.log(' Local Install: Uses transformer embeddings (semantic AI)');
|
|
948
|
+
console.log(' • Finds conceptually related content');
|
|
949
|
+
console.log(' • 384-dimensional vectors (Xenova/all-MiniLM-L6-v2)');
|
|
950
|
+
console.log(' • Install: npm install -g claude-flow@alpha');
|
|
951
|
+
console.log(' Both modes work perfectly - choose based on your needs!');
|
|
937
952
|
}
|
|
@@ -149,57 +149,6 @@ export class MCPIntegrator {
|
|
|
149
149
|
],
|
|
150
150
|
status: 'disconnected'
|
|
151
151
|
});
|
|
152
|
-
|
|
153
|
-
// Agentic Payments MCP tools (optional)
|
|
154
|
-
this.tools.set('agentic-payments', {
|
|
155
|
-
name: 'agentic-payments',
|
|
156
|
-
server: 'npx agentic-payments@latest mcp',
|
|
157
|
-
functions: [
|
|
158
|
-
{
|
|
159
|
-
name: 'create_active_mandate',
|
|
160
|
-
description: 'Create Active Mandate for autonomous payment authorization',
|
|
161
|
-
parameters: { agent: 'string', holder: 'string', amount: 'number', currency: 'string', period: 'string', kind: 'string' },
|
|
162
|
-
required: ['agent', 'holder', 'amount', 'currency', 'period', 'kind']
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
name: 'sign_mandate',
|
|
166
|
-
description: 'Sign mandate with Ed25519 cryptographic proof',
|
|
167
|
-
parameters: { mandate: 'object', private_key: 'string' },
|
|
168
|
-
required: ['mandate', 'private_key']
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
name: 'verify_mandate',
|
|
172
|
-
description: 'Verify mandate signature and execution guards',
|
|
173
|
-
parameters: { signed_mandate: 'object', check_guards: 'boolean' },
|
|
174
|
-
required: ['signed_mandate']
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
name: 'revoke_mandate',
|
|
178
|
-
description: 'Revoke mandate by ID',
|
|
179
|
-
parameters: { mandate_id: 'string', reason: 'string' },
|
|
180
|
-
required: ['mandate_id']
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
name: 'generate_agent_identity',
|
|
184
|
-
description: 'Generate Ed25519 keypair for agent',
|
|
185
|
-
parameters: { include_private_key: 'boolean' },
|
|
186
|
-
required: []
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
name: 'create_intent_mandate',
|
|
190
|
-
description: 'Create intent-based payment mandate',
|
|
191
|
-
parameters: { merchant_id: 'string', customer_id: 'string', intent: 'string', max_amount: 'number' },
|
|
192
|
-
required: ['merchant_id', 'customer_id', 'intent', 'max_amount']
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: 'create_cart_mandate',
|
|
196
|
-
description: 'Create cart-based payment mandate',
|
|
197
|
-
parameters: { merchant_id: 'string', customer_id: 'string', items: 'array' },
|
|
198
|
-
required: ['merchant_id', 'customer_id', 'items']
|
|
199
|
-
}
|
|
200
|
-
],
|
|
201
|
-
status: 'disconnected'
|
|
202
|
-
});
|
|
203
152
|
}
|
|
204
153
|
|
|
205
154
|
/**
|