@claude-flow/cli 3.5.63 → 3.5.64
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/bin/cli.js +9 -0
- package/bin/mcp-server.js +8 -0
- package/package.json +11 -2
package/bin/cli.js
CHANGED
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
import { randomUUID } from 'crypto';
|
|
12
12
|
|
|
13
|
+
// Suppress noisy [AgentDB Patch] warnings from agentic-flow's runtime patch
|
|
14
|
+
// These are cosmetic — the patch tries to fix agentdb v1.x imports but we use v3
|
|
15
|
+
const _origWarn = console.warn;
|
|
16
|
+
console.warn = (...args) => {
|
|
17
|
+
const msg = String(args[0] ?? '');
|
|
18
|
+
if (msg.includes('[AgentDB Patch]')) return;
|
|
19
|
+
_origWarn.apply(console, args);
|
|
20
|
+
};
|
|
21
|
+
|
|
13
22
|
// Check if we should run in MCP server mode
|
|
14
23
|
// Conditions:
|
|
15
24
|
// 1. stdin is being piped AND no CLI arguments provided (auto-detect)
|
package/bin/mcp-server.js
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { randomUUID } from 'crypto';
|
|
11
|
+
|
|
12
|
+
// Suppress [AgentDB Patch] warnings (cosmetic, from agentic-flow v1.x compat patch)
|
|
13
|
+
const _origWarn = console.warn;
|
|
14
|
+
console.warn = (...args) => {
|
|
15
|
+
if (String(args[0] ?? '').includes('[AgentDB Patch]')) return;
|
|
16
|
+
_origWarn.apply(console, args);
|
|
17
|
+
};
|
|
18
|
+
|
|
11
19
|
import { listMCPTools, callMCPTool, hasTool } from '../dist/src/mcp-client.js';
|
|
12
20
|
|
|
13
21
|
const VERSION = '3.0.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.64",
|
|
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",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"types": "./dist/src/index.d.ts",
|
|
52
52
|
"import": "./dist/src/index.js"
|
|
53
53
|
},
|
|
54
|
+
"./dist/*": "./dist/*",
|
|
54
55
|
"./ruvector": {
|
|
55
56
|
"types": "./dist/src/ruvector/index.d.ts",
|
|
56
57
|
"import": "./dist/src/ruvector/index.js"
|
|
@@ -62,6 +63,14 @@
|
|
|
62
63
|
"./mcp-tools": {
|
|
63
64
|
"types": "./dist/src/mcp-tools/index.d.ts",
|
|
64
65
|
"import": "./dist/src/mcp-tools/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./memory": {
|
|
68
|
+
"types": "./dist/src/memory/memory-initializer.d.ts",
|
|
69
|
+
"import": "./dist/src/memory/memory-initializer.js"
|
|
70
|
+
},
|
|
71
|
+
"./intelligence": {
|
|
72
|
+
"types": "./dist/src/memory/intelligence.d.ts",
|
|
73
|
+
"import": "./dist/src/memory/intelligence.js"
|
|
65
74
|
}
|
|
66
75
|
},
|
|
67
76
|
"files": [
|
|
@@ -75,7 +84,7 @@
|
|
|
75
84
|
"test": "vitest run",
|
|
76
85
|
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
|
|
77
86
|
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
|
|
78
|
-
"postinstall": "node -e \"const{existsSync,cpSync,
|
|
87
|
+
"postinstall": "node -e \"const{existsSync,cpSync,readdirSync}=require('fs');const{join,dirname}=require('path');try{const r=require.resolve('agentdb');const base=r.includes('dist/src')?join(dirname(r),'..','..'):(r.includes('dist')?join(dirname(r),'..'):dirname(r));const s=join(base,'dist','src','controllers');const t=join(base,'dist','controllers');if(existsSync(s)&&!existsSync(t)){cpSync(s,t,{recursive:true});}}catch{}\"",
|
|
79
88
|
"prepublishOnly": "cp ../../../README.md ./README.md",
|
|
80
89
|
"release": "npm version prerelease --preid=alpha && npm run publish:all",
|
|
81
90
|
"publish:all": "./scripts/publish.sh"
|