claude-flow 3.5.58 → 3.5.60

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.
@@ -215,7 +215,17 @@ export const systemTools = [
215
215
  },
216
216
  agents: agentCounts,
217
217
  tasks: taskCounts,
218
- // requests: no MCP request tracking infrastructure yet — stays at stored value
218
+ requests: await (async () => {
219
+ try {
220
+ const { getRequestCounts } = await import('./request-tracker.js');
221
+ const live = getRequestCounts();
222
+ if (live.total > 0) {
223
+ return { total: live.total, success: live.success, errors: live.errors };
224
+ }
225
+ }
226
+ catch { /* tracker not available — fall back to stored value */ }
227
+ return store.requests;
228
+ })(),
219
229
  uptime: Date.now() - new Date(store.startTime).getTime(),
220
230
  lastCheck: new Date().toISOString(),
221
231
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.5.58",
3
+ "version": "3.5.60",
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",
@@ -75,6 +75,7 @@
75
75
  "test": "vitest run",
76
76
  "test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
77
77
  "test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
78
+ "postinstall": "node -e \"const{existsSync,cpSync,mkdirSync}=require('fs');const{join}=require('path');try{const d=join(require.resolve('agentdb'),'..','..','dist');const s=join(d,'src','controllers');const t=join(d,'controllers');if(existsSync(s)&&!existsSync(t)){cpSync(s,t,{recursive:true});}}catch{}\"",
78
79
  "prepublishOnly": "cp ../../../README.md ./README.md",
79
80
  "release": "npm version prerelease --preid=alpha && npm run publish:all",
80
81
  "publish:all": "./scripts/publish.sh"
@@ -90,6 +91,7 @@
90
91
  "semver": "^7.6.0"
91
92
  },
92
93
  "optionalDependencies": {
94
+ "agentdb": "^3.0.0-alpha.11",
93
95
  "@claude-flow/aidefence": "^3.0.2",
94
96
  "@claude-flow/codex": "^3.0.0-alpha.8",
95
97
  "@claude-flow/embeddings": "^3.0.0-alpha.12",
@@ -99,7 +101,7 @@
99
101
  "agentic-flow": "^3.0.0-alpha.1",
100
102
  "@ruvector/attention": "^0.1.4",
101
103
  "@ruvector/learning-wasm": "^0.1.29",
102
- "@ruvector/router": "^0.1.27",
104
+ "@ruvector/router": "^0.1.30",
103
105
  "@ruvector/rvagent-wasm": "^0.1.0",
104
106
  "@ruvector/ruvllm-wasm": "^2.0.2",
105
107
  "@ruvector/sona": "^0.1.5"