@claude-flow/cli 3.10.14 → 3.10.15
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/src/mcp-tools/hooks-tools.d.ts +7 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +22 -0
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts +11 -0
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +20 -0
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/memory/intelligence.d.ts +45 -0
- package/dist/src/memory/intelligence.d.ts.map +1 -1
- package/dist/src/memory/intelligence.js +72 -0
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.d.ts +15 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -1
- package/dist/src/memory/memory-bridge.js +37 -0
- package/dist/src/memory/memory-bridge.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/scripts/benchmark-self-learning.mjs +26 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.15",
|
|
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",
|
|
@@ -125,6 +125,14 @@ async function main() {
|
|
|
125
125
|
}
|
|
126
126
|
const dtE = performance.now() - tE;
|
|
127
127
|
|
|
128
|
+
// -------------------------------------------------------------------------
|
|
129
|
+
// §F — getUnifiedLearningStats (ADR-075)
|
|
130
|
+
// -------------------------------------------------------------------------
|
|
131
|
+
const tF = performance.now();
|
|
132
|
+
const unified = await intel.getUnifiedLearningStats();
|
|
133
|
+
const dtF = performance.now() - tF;
|
|
134
|
+
const unifiedOk = unified.global && unified.sona && unified.memoryBridge && unified.neuralPatterns && unified.consistency;
|
|
135
|
+
|
|
128
136
|
// -------------------------------------------------------------------------
|
|
129
137
|
// Summary
|
|
130
138
|
// -------------------------------------------------------------------------
|
|
@@ -170,6 +178,22 @@ async function main() {
|
|
|
170
178
|
note: 'MCP trajectory tools feed sonaCoordinator (see hooks_intelligence_stats), not globalStats — observable outcomes checked here',
|
|
171
179
|
elapsedMs: Number(dtE.toFixed(2)),
|
|
172
180
|
},
|
|
181
|
+
F_unifiedStats: {
|
|
182
|
+
shape: ['global', 'sona', 'memoryBridge', 'neuralPatterns', 'consistency'],
|
|
183
|
+
observed: {
|
|
184
|
+
'global.patternsLearned': unified.global.patternsLearned,
|
|
185
|
+
'global.trajectoriesRecorded': unified.global.trajectoriesRecorded,
|
|
186
|
+
'global.signalsProcessed': unified.global.signalsProcessed,
|
|
187
|
+
'memoryBridge.totalEntries': unified.memoryBridge.totalEntries,
|
|
188
|
+
'memoryBridge.reachable': unified.memoryBridge.reachable,
|
|
189
|
+
'neuralPatterns.patternCount': unified.neuralPatterns.patternCount,
|
|
190
|
+
'sona.available': unified.sona.available,
|
|
191
|
+
'consistency.notes': unified.consistency.notes.length,
|
|
192
|
+
},
|
|
193
|
+
passed: !!unifiedOk,
|
|
194
|
+
note: 'ADR-075 — one aggregator across the 4 stores. Each sub-view names its source.',
|
|
195
|
+
elapsedMs: Number(dtF.toFixed(2)),
|
|
196
|
+
},
|
|
173
197
|
},
|
|
174
198
|
finalState: {
|
|
175
199
|
signalsProcessed: A_after.signalsProcessed,
|
|
@@ -194,6 +218,8 @@ async function main() {
|
|
|
194
218
|
console.log(`| C task-completed (record-only) | ${N} | trajectories+${summary.sections.C_taskCompleted_recordedOnly.trajectoriesDelta} (expected 0) | ${summary.sections.C_taskCompleted_recordedOnly.passed ? '✅' : '❌'} | ${summary.sections.C_taskCompleted_recordedOnly.elapsedMs} |`);
|
|
195
219
|
console.log(`| D pretrain → neural_patterns | ${items.length} | stored=${summary.sections.D_pretrain_neuralPatterns.stored}, listed=${summary.sections.D_pretrain_neuralPatterns.listTotal} | ${summary.sections.D_pretrain_neuralPatterns.passed ? '✅' : '❌'} | ${summary.sections.D_pretrain_neuralPatterns.elapsedMs} |`);
|
|
196
220
|
console.log(`| E multi-step trajectory | ${summary.sections.E_multiStepTrajectory.cycles} | persisted=${summary.sections.E_multiStepTrajectory.persistedCount}, sonaUpdate=${summary.sections.E_multiStepTrajectory.sonaUpdateCount} | ${summary.sections.E_multiStepTrajectory.passed ? '✅' : '❌'} | ${summary.sections.E_multiStepTrajectory.elapsedMs} |`);
|
|
221
|
+
const f = summary.sections.F_unifiedStats;
|
|
222
|
+
console.log(`| F unified-stats | 4 stores | bridge.reachable=${f.observed['memoryBridge.reachable']}, sona.available=${f.observed['sona.available']}, neural.count=${f.observed['neuralPatterns.patternCount']}, notes=${f.observed['consistency.notes']} | ${f.passed ? '✅' : '❌'} | ${f.elapsedMs} |`);
|
|
197
223
|
console.log('');
|
|
198
224
|
console.log(`Final state: signalsProcessed=${summary.finalState.signalsProcessed}, trajectoriesRecorded=${summary.finalState.trajectoriesRecorded}, patternsLearned=${summary.finalState.patternsLearned}`);
|
|
199
225
|
console.log(`Overall: ${allPassed ? '✅ ALL PASSED' : '❌ FAILED'}`);
|