claude-flow 3.32.0 → 3.32.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/package.json +186 -185
- package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
- package/v3/@claude-flow/cli/dist/src/commands/init.d.ts +5 -0
- package/v3/@claude-flow/cli/dist/src/commands/init.js +30 -1
- package/v3/@claude-flow/cli/package.json +8 -7
- package/.claude/.proven-config-version +0 -1
- package/.claude/helpers/.helpers-version +0 -1
- package/.claude/helpers/helpers.manifest.json +0 -13
- package/.claude/helpers/hidden-hook.vbs +0 -43
- package/.claude/proven-config.json +0 -42
- package/.claude/settings.local.json +0 -78
- package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/v3/@claude-flow/cli/dist/src/ruvector/flash-attention.js +0 -643
- package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.d.ts +0 -206
- package/v3/@claude-flow/cli/dist/src/ruvector/moe-router.js +0 -626
- package/v3/@claude-flow/cli/dist/src/services/event-stream.d.ts +0 -25
- package/v3/@claude-flow/cli/dist/src/services/event-stream.js +0 -27
- package/v3/@claude-flow/cli/dist/src/services/loop-worker-runner.d.ts +0 -16
- package/v3/@claude-flow/cli/dist/src/services/loop-worker-runner.js +0 -34
- package/v3/@claude-flow/cli/dist/src/services/runtime-capabilities.d.ts +0 -22
- package/v3/@claude-flow/cli/dist/src/services/runtime-capabilities.js +0 -45
package/package.json
CHANGED
|
@@ -1,185 +1,186 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "claude-flow",
|
|
3
|
-
"version": "3.32.
|
|
4
|
-
"description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"claude-flow": "
|
|
9
|
-
},
|
|
10
|
-
"homepage": "https://github.com/ruvnet/claude-flow#readme",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/ruvnet/claude-flow/issues",
|
|
13
|
-
"email": "support@ruv.io"
|
|
14
|
-
},
|
|
15
|
-
"funding": {
|
|
16
|
-
"type": "github",
|
|
17
|
-
"url": "https://github.com/sponsors/ruvnet"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"bin/**",
|
|
21
|
-
"v3/@claude-flow/cli/bin/**",
|
|
22
|
-
"v3/@claude-flow/cli/dist/**/*.js",
|
|
23
|
-
"v3/@claude-flow/cli/dist/**/*.d.ts",
|
|
24
|
-
"!v3/@claude-flow/cli/dist/**/*.map",
|
|
25
|
-
"v3/@claude-flow/cli/package.json",
|
|
26
|
-
"v3/@claude-flow/cli/catalog-manifest.json",
|
|
27
|
-
"v3/@claude-flow/shared/dist/**/*.js",
|
|
28
|
-
"v3/@claude-flow/shared/dist/**/*.d.ts",
|
|
29
|
-
"!v3/@claude-flow/shared/dist/**/*.map",
|
|
30
|
-
"v3/@claude-flow/shared/package.json",
|
|
31
|
-
"v3/@claude-flow/guidance/dist/**/*.js",
|
|
32
|
-
"v3/@claude-flow/guidance/dist/**/*.d.ts",
|
|
33
|
-
"!v3/@claude-flow/guidance/dist/**/*.map",
|
|
34
|
-
"v3/@claude-flow/guidance/package.json",
|
|
35
|
-
".claude-plugin/**",
|
|
36
|
-
".claude/**",
|
|
37
|
-
"!.claude/**/*.db",
|
|
38
|
-
"!.claude/**/*.map",
|
|
39
|
-
"!.claude/worktrees/**",
|
|
40
|
-
"!.claude/projects/**",
|
|
41
|
-
"!.claude/scheduled_tasks.lock",
|
|
42
|
-
"!.claude/sessions/**",
|
|
43
|
-
"README.md",
|
|
44
|
-
"LICENSE"
|
|
45
|
-
],
|
|
46
|
-
"scripts": {
|
|
47
|
-
"dev": "tsx watch src/index.ts",
|
|
48
|
-
"build": "tsc",
|
|
49
|
-
"build:ts": "cd v3/@claude-flow/cli && npm run build || true",
|
|
50
|
-
"
|
|
51
|
-
"test
|
|
52
|
-
"test:
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"security:
|
|
56
|
-
"security:
|
|
57
|
-
"
|
|
58
|
-
"v3:
|
|
59
|
-
"v3:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@claude-flow/
|
|
64
|
-
"@claude-flow/
|
|
65
|
-
"@claude-flow/
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"@claude-flow/
|
|
74
|
-
"@
|
|
75
|
-
"@ruvector/
|
|
76
|
-
"@ruvector/
|
|
77
|
-
"@ruvector/router
|
|
78
|
-
"@ruvector/
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"@
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"express": ">=4.
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"@opentelemetry/
|
|
105
|
-
"@opentelemetry/
|
|
106
|
-
"@opentelemetry/sdk-
|
|
107
|
-
"@opentelemetry/
|
|
108
|
-
"@opentelemetry/
|
|
109
|
-
"@opentelemetry/exporter-
|
|
110
|
-
"@opentelemetry/exporter-trace-otlp-
|
|
111
|
-
"@opentelemetry/exporter-trace-otlp-
|
|
112
|
-
"@opentelemetry/otlp-
|
|
113
|
-
"@opentelemetry/otlp-
|
|
114
|
-
"@opentelemetry/otlp-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"@
|
|
127
|
-
"@types/
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"claude
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"ai
|
|
147
|
-
"
|
|
148
|
-
"agent
|
|
149
|
-
"
|
|
150
|
-
"swarm",
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "claude-flow",
|
|
3
|
+
"version": "3.32.1",
|
|
4
|
+
"description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"claude-flow": "bin/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/ruvnet/claude-flow#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/ruvnet/claude-flow/issues",
|
|
13
|
+
"email": "support@ruv.io"
|
|
14
|
+
},
|
|
15
|
+
"funding": {
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/ruvnet"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"bin/**",
|
|
21
|
+
"v3/@claude-flow/cli/bin/**",
|
|
22
|
+
"v3/@claude-flow/cli/dist/**/*.js",
|
|
23
|
+
"v3/@claude-flow/cli/dist/**/*.d.ts",
|
|
24
|
+
"!v3/@claude-flow/cli/dist/**/*.map",
|
|
25
|
+
"v3/@claude-flow/cli/package.json",
|
|
26
|
+
"v3/@claude-flow/cli/catalog-manifest.json",
|
|
27
|
+
"v3/@claude-flow/shared/dist/**/*.js",
|
|
28
|
+
"v3/@claude-flow/shared/dist/**/*.d.ts",
|
|
29
|
+
"!v3/@claude-flow/shared/dist/**/*.map",
|
|
30
|
+
"v3/@claude-flow/shared/package.json",
|
|
31
|
+
"v3/@claude-flow/guidance/dist/**/*.js",
|
|
32
|
+
"v3/@claude-flow/guidance/dist/**/*.d.ts",
|
|
33
|
+
"!v3/@claude-flow/guidance/dist/**/*.map",
|
|
34
|
+
"v3/@claude-flow/guidance/package.json",
|
|
35
|
+
".claude-plugin/**",
|
|
36
|
+
".claude/**",
|
|
37
|
+
"!.claude/**/*.db",
|
|
38
|
+
"!.claude/**/*.map",
|
|
39
|
+
"!.claude/worktrees/**",
|
|
40
|
+
"!.claude/projects/**",
|
|
41
|
+
"!.claude/scheduled_tasks.lock",
|
|
42
|
+
"!.claude/sessions/**",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"dev": "tsx watch src/index.ts",
|
|
48
|
+
"build": "tsc",
|
|
49
|
+
"build:ts": "cd v3/@claude-flow/cli && npm run build || true",
|
|
50
|
+
"prepublishOnly": "node scripts/prepare-root-publish.mjs",
|
|
51
|
+
"test": "vitest",
|
|
52
|
+
"test:ui": "vitest --ui",
|
|
53
|
+
"test:security": "vitest run v3/__tests__/security/",
|
|
54
|
+
"lint": "cd v3/@claude-flow/cli && npm run lint || true",
|
|
55
|
+
"security:audit": "npm audit --audit-level high",
|
|
56
|
+
"security:fix": "npm audit fix",
|
|
57
|
+
"security:test": "npm run test:security",
|
|
58
|
+
"v3:domains": "npm run build:domains",
|
|
59
|
+
"v3:swarm": "npm run start:swarm",
|
|
60
|
+
"v3:security": "npm run security:audit && npm run security:test"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@claude-flow/cli-core": "3.7.0-alpha.5",
|
|
64
|
+
"@claude-flow/mcp": "3.0.0-alpha.9",
|
|
65
|
+
"@claude-flow/neural": "3.0.0-alpha.9",
|
|
66
|
+
"@claude-flow/shared": "3.0.0-alpha.8",
|
|
67
|
+
"@noble/ed25519": "2.3.0",
|
|
68
|
+
"@ruvector/rabitq-wasm": "0.1.0",
|
|
69
|
+
"semver": "7.7.3",
|
|
70
|
+
"zod": "3.25.76"
|
|
71
|
+
},
|
|
72
|
+
"optionalDependencies": {
|
|
73
|
+
"@claude-flow/codex": "^3.0.1",
|
|
74
|
+
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
75
|
+
"@ruvector/attention": "^0.1.3",
|
|
76
|
+
"@ruvector/core": "^0.1.30",
|
|
77
|
+
"@ruvector/router": "^0.1.30",
|
|
78
|
+
"@ruvector/router-linux-x64-gnu": "^0.1.30",
|
|
79
|
+
"@ruvector/sona": "^0.1.5",
|
|
80
|
+
"agentdb": "^3.0.0-alpha.17",
|
|
81
|
+
"agentic-flow": "^2.0.14"
|
|
82
|
+
},
|
|
83
|
+
"overrides": {
|
|
84
|
+
"ruvector": "^0.2.27",
|
|
85
|
+
"better-sqlite3": ">=12.8.0",
|
|
86
|
+
"js-yaml": ">=4.3.0",
|
|
87
|
+
"hono": ">=4.12.25",
|
|
88
|
+
"@ruvector/rvf-wasm": "0.1.5",
|
|
89
|
+
"@hono/node-server": ">=1.19.14",
|
|
90
|
+
"flatted": ">=3.4.0",
|
|
91
|
+
"tar": ">=7.5.11",
|
|
92
|
+
"picomatch": ">=4.0.3",
|
|
93
|
+
"path-to-regexp": ">=8.2.1",
|
|
94
|
+
"undici": ">=8.5.0",
|
|
95
|
+
"minimatch": ">=10.0.0",
|
|
96
|
+
"@isaacs/brace-expansion": ">=5.0.1",
|
|
97
|
+
"cacache": ">=20.0.0",
|
|
98
|
+
"make-fetch-happen": ">=15.0.0",
|
|
99
|
+
"express-rate-limit": ">=8.4.1",
|
|
100
|
+
"express": ">=4.22.2",
|
|
101
|
+
"qs": ">=6.15.2",
|
|
102
|
+
"protobufjs": ">=8.2.0",
|
|
103
|
+
"uuid": ">=14.0.0",
|
|
104
|
+
"@opentelemetry/core": ">=2.8.0",
|
|
105
|
+
"@opentelemetry/resources": ">=2.8.0",
|
|
106
|
+
"@opentelemetry/sdk-trace-base": ">=2.8.0",
|
|
107
|
+
"@opentelemetry/sdk-node": ">=0.220.0",
|
|
108
|
+
"@opentelemetry/auto-instrumentations-node": ">=0.75.0",
|
|
109
|
+
"@opentelemetry/exporter-prometheus": ">=0.220.0",
|
|
110
|
+
"@opentelemetry/exporter-trace-otlp-grpc": ">=0.220.0",
|
|
111
|
+
"@opentelemetry/exporter-trace-otlp-http": ">=0.220.0",
|
|
112
|
+
"@opentelemetry/exporter-trace-otlp-proto": ">=0.220.0",
|
|
113
|
+
"@opentelemetry/otlp-exporter-base": ">=0.220.0",
|
|
114
|
+
"@opentelemetry/otlp-grpc-exporter-base": ">=0.220.0",
|
|
115
|
+
"@opentelemetry/otlp-transformer": ">=0.220.0",
|
|
116
|
+
"axios": ">=1.13.2",
|
|
117
|
+
"fast-uri": ">=3.1.0",
|
|
118
|
+
"vite": ">=8.0.16",
|
|
119
|
+
"ws": ">=8.21.0",
|
|
120
|
+
"@grpc/grpc-js": ">=1.14.4",
|
|
121
|
+
"form-data": ">=4.0.6",
|
|
122
|
+
"http-proxy-middleware": ">=3.0.7",
|
|
123
|
+
"@ruvector/ruvllm": ">=2.6.0"
|
|
124
|
+
},
|
|
125
|
+
"devDependencies": {
|
|
126
|
+
"@openai/codex": "^0.98.0",
|
|
127
|
+
"@types/bcrypt": "^5.0.2",
|
|
128
|
+
"@types/node": "^20.0.0",
|
|
129
|
+
"eslint": "^8.0.0",
|
|
130
|
+
"tsx": "^4.21.0",
|
|
131
|
+
"typescript": "^5.0.0",
|
|
132
|
+
"vitest": "^3.2.6"
|
|
133
|
+
},
|
|
134
|
+
"engines": {
|
|
135
|
+
"node": ">=20.0.0"
|
|
136
|
+
},
|
|
137
|
+
"repository": {
|
|
138
|
+
"type": "git",
|
|
139
|
+
"url": "https://github.com/ruvnet/claude-flow.git"
|
|
140
|
+
},
|
|
141
|
+
"keywords": [
|
|
142
|
+
"ruvflow",
|
|
143
|
+
"claude",
|
|
144
|
+
"claude-code",
|
|
145
|
+
"anthropic",
|
|
146
|
+
"ai",
|
|
147
|
+
"ai-agents",
|
|
148
|
+
"multi-agent",
|
|
149
|
+
"agent-orchestration",
|
|
150
|
+
"swarm-intelligence",
|
|
151
|
+
"swarm",
|
|
152
|
+
"mcp",
|
|
153
|
+
"model-context-protocol",
|
|
154
|
+
"llm",
|
|
155
|
+
"large-language-model",
|
|
156
|
+
"gpt",
|
|
157
|
+
"chatgpt",
|
|
158
|
+
"automation",
|
|
159
|
+
"workflow",
|
|
160
|
+
"orchestration",
|
|
161
|
+
"cli",
|
|
162
|
+
"developer-tools",
|
|
163
|
+
"devtools",
|
|
164
|
+
"coding-assistant",
|
|
165
|
+
"code-generation",
|
|
166
|
+
"enterprise",
|
|
167
|
+
"vector-database",
|
|
168
|
+
"embeddings",
|
|
169
|
+
"machine-learning",
|
|
170
|
+
"neural-network",
|
|
171
|
+
"hive-mind",
|
|
172
|
+
"distributed-systems",
|
|
173
|
+
"consensus",
|
|
174
|
+
"self-learning"
|
|
175
|
+
],
|
|
176
|
+
"author": {
|
|
177
|
+
"name": "RuvNet",
|
|
178
|
+
"email": "ruv@ruv.io",
|
|
179
|
+
"url": "https://ruv.io"
|
|
180
|
+
},
|
|
181
|
+
"license": "MIT",
|
|
182
|
+
"publishConfig": {
|
|
183
|
+
"access": "public",
|
|
184
|
+
"tag": "latest"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
* Comprehensive initialization for Claude Flow with Claude Code integration
|
|
4
4
|
*/
|
|
5
5
|
import type { Command } from '../types.js';
|
|
6
|
+
export declare function runCodexInitializerCli(cwd: string, options: {
|
|
7
|
+
template: string;
|
|
8
|
+
force: boolean;
|
|
9
|
+
dual: boolean;
|
|
10
|
+
}): boolean;
|
|
6
11
|
export declare const initCommand: Command;
|
|
7
12
|
export default initCommand;
|
|
8
13
|
//# sourceMappingURL=init.d.ts.map
|
|
@@ -6,6 +6,7 @@ import { output } from '../output.js';
|
|
|
6
6
|
import { confirm, select, multiSelect, input } from '../prompt.js';
|
|
7
7
|
import * as fs from 'fs';
|
|
8
8
|
import * as path from 'path';
|
|
9
|
+
import { spawnSync } from 'node:child_process';
|
|
9
10
|
import { executeInit, executeUpgrade, executeUpgradeWithMissing, DEFAULT_INIT_OPTIONS, MINIMAL_INIT_OPTIONS, FULL_INIT_OPTIONS, } from '../init/index.js';
|
|
10
11
|
import { ENROLLMENT_SCREEN, recordEnrollmentOutcome, shouldOfferEnrollment, } from '../funnel/enrollment.js';
|
|
11
12
|
import { commandExists } from '../services/harness-hosts.js';
|
|
@@ -82,6 +83,27 @@ async function resolveCodexInitializer(cwd) {
|
|
|
82
83
|
}
|
|
83
84
|
return undefined;
|
|
84
85
|
}
|
|
86
|
+
// Keep Codex out of the CLI dependency graph so cold `npx ruflo --version`
|
|
87
|
+
// remains fast (#2561). An explicit `init --codex` may fetch the small,
|
|
88
|
+
// stable adapter on demand when it is not already installed by an umbrella
|
|
89
|
+
// package, the current project, or the global npm prefix.
|
|
90
|
+
export function runCodexInitializerCli(cwd, options) {
|
|
91
|
+
const npxArgs = [
|
|
92
|
+
'-y',
|
|
93
|
+
'@claude-flow/codex@latest',
|
|
94
|
+
'init',
|
|
95
|
+
'--template',
|
|
96
|
+
options.template,
|
|
97
|
+
...(options.force ? ['--force'] : []),
|
|
98
|
+
...(options.dual ? ['--dual'] : []),
|
|
99
|
+
];
|
|
100
|
+
const result = process.platform === 'win32'
|
|
101
|
+
? spawnSync(process.env.ComSpec || 'cmd.exe', ['/d', '/s', '/c', ['npx', ...npxArgs].join(' ')], { cwd, stdio: 'inherit', windowsHide: true })
|
|
102
|
+
: spawnSync('npx', npxArgs, { cwd, stdio: 'inherit' });
|
|
103
|
+
if (result.error)
|
|
104
|
+
throw result.error;
|
|
105
|
+
return result.status === 0;
|
|
106
|
+
}
|
|
85
107
|
// #2666-adjacent — quietly wire up Codex too when a plain `ruflo init` (no
|
|
86
108
|
// --codex/--dual) runs on a machine that also has the OpenAI Codex CLI on
|
|
87
109
|
// PATH: registers its MCP server and installs skills alongside the Claude
|
|
@@ -194,7 +216,14 @@ async function initCodexAction(ctx, options) {
|
|
|
194
216
|
try {
|
|
195
217
|
const CodexInitializer = await resolveCodexInitializer(ctx.cwd);
|
|
196
218
|
if (!CodexInitializer) {
|
|
197
|
-
|
|
219
|
+
spinner.stop();
|
|
220
|
+
output.printInfo('Fetching the stable Codex adapter for this initialization...');
|
|
221
|
+
const success = runCodexInitializerCli(ctx.cwd, { template, force, dual: dualMode });
|
|
222
|
+
if (!success) {
|
|
223
|
+
output.printError('Codex initialization failed while running @claude-flow/codex@latest.');
|
|
224
|
+
return { success: false, exitCode: 1 };
|
|
225
|
+
}
|
|
226
|
+
return { success: true, data: { adapter: '@claude-flow/codex@latest' } };
|
|
198
227
|
}
|
|
199
228
|
const initializer = new CodexInitializer();
|
|
200
229
|
const result = await initializer.initialize({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.32.
|
|
3
|
+
"version": "3.32.1",
|
|
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",
|
|
7
7
|
"types": "dist/src/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"bin": {
|
|
10
|
-
"cli": "
|
|
11
|
-
"claude-flow": "
|
|
12
|
-
"claude-flow-mcp": "
|
|
10
|
+
"cli": "bin/cli.js",
|
|
11
|
+
"claude-flow": "bin/cli.js",
|
|
12
|
+
"claude-flow-mcp": "bin/mcp-server.js"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/ruvnet/claude-flow#readme",
|
|
15
15
|
"bugs": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/ruvnet/claude-flow.git",
|
|
20
|
+
"url": "git+https://github.com/ruvnet/claude-flow.git",
|
|
21
21
|
"directory": "v3/@claude-flow/cli"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
@@ -90,8 +90,9 @@
|
|
|
90
90
|
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
|
|
91
91
|
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
|
|
92
92
|
"postinstall": "node ./scripts/postinstall.cjs",
|
|
93
|
-
"prepublishOnly": "
|
|
94
|
-
"release": "npm
|
|
93
|
+
"prepublishOnly": "node scripts/prepare-publish.mjs",
|
|
94
|
+
"release": "npm publish --access public --tag latest",
|
|
95
|
+
"release:alpha": "npm version prerelease --preid=alpha && npm run publish:all",
|
|
95
96
|
"publish:all": "./scripts/publish.sh"
|
|
96
97
|
},
|
|
97
98
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.29.0
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest": {
|
|
3
|
-
"version": "3.29.0",
|
|
4
|
-
"files": {
|
|
5
|
-
"auto-memory-hook.mjs": "e3e1033b24704992ddef6b31c7fa9dd7fcd9e1af7935dd77ef73402b916b31e6",
|
|
6
|
-
"hook-handler.cjs": "f51fb035d8a4110fdf763cee2913e285bcdbbaa618cbee980e032f89ffaf89d2",
|
|
7
|
-
"intelligence.cjs": "5a55d979cb7ba5c8c4f27f3b2e6d686fbb1045d180023b803da672a37e05b915",
|
|
8
|
-
"statusline.cjs": "8416172e504b03f9ec2266a47bba048578c3b1e30c5c7c97a0a8261460cd601d"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"signature": "F0YZmNYCOnPOkf/kqbUoXtZ/jfYsX+Mn3QTGvtR6dafHx+oZ4uoobOKu/GYls+z+vHN2beL9c9GK53YKB1txBA==",
|
|
12
|
-
"algorithm": "ed25519"
|
|
13
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
' hidden-hook.vbs — Windowless launcher for Claude Code hooks on Windows.
|
|
2
|
-
'
|
|
3
|
-
' Workaround for anthropics/claude-code#14828 / #70200 — Claude Code's
|
|
4
|
-
' child_process.spawn for hook commands is missing windowsHide/CREATE_NO_WINDOW,
|
|
5
|
-
' so every hook fire flashes a visible cmd.exe window. This shim is invoked via
|
|
6
|
-
' wscript.exe (a GUI-subsystem host with no console), so Claude Code's outer
|
|
7
|
-
' spawn attaches no console. Internally it runs node hidden via
|
|
8
|
-
' WScript.Shell.Run(cmd, 0, True).
|
|
9
|
-
'
|
|
10
|
-
' Usage from settings.local.json:
|
|
11
|
-
' "command": "wscript.exe \"${CLAUDE_PROJECT_DIR}\\.claude\\helpers\\hidden-hook.vbs\" hook-handler.cjs pre-bash"
|
|
12
|
-
'
|
|
13
|
-
' TRADE-OFF: wscript.exe has no stdin. Claude Code sends hook event data as
|
|
14
|
-
' JSON via stdin, so hooks routed through this shim run WITHOUT their event
|
|
15
|
-
' payload. Most ruflo hooks (env-var driven) still work; hooks like `route`
|
|
16
|
-
' that need the user's prompt will have reduced context.
|
|
17
|
-
'
|
|
18
|
-
' Exit code from the wrapped node process is propagated back to Claude Code.
|
|
19
|
-
|
|
20
|
-
Option Explicit
|
|
21
|
-
|
|
22
|
-
If WScript.Arguments.Count < 1 Then
|
|
23
|
-
WScript.Quit 2
|
|
24
|
-
End If
|
|
25
|
-
|
|
26
|
-
Dim shell, cmd, i, arg
|
|
27
|
-
Set shell = CreateObject("WScript.Shell")
|
|
28
|
-
|
|
29
|
-
' Resolve helpers dir from this script's own path (avoids env-var dependency)
|
|
30
|
-
Dim scriptDir
|
|
31
|
-
scriptDir = Left(WScript.ScriptFullName, InStrRev(WScript.ScriptFullName, "\"))
|
|
32
|
-
|
|
33
|
-
' First arg is the hook-handler script name (e.g. "hook-handler.cjs"),
|
|
34
|
-
' remaining args are passed through to node.
|
|
35
|
-
cmd = "node """ & scriptDir & WScript.Arguments(0) & """"
|
|
36
|
-
For i = 1 To WScript.Arguments.Count - 1
|
|
37
|
-
arg = WScript.Arguments(i)
|
|
38
|
-
arg = Replace(arg, """", "\""")
|
|
39
|
-
cmd = cmd & " """ & arg & """"
|
|
40
|
-
Next
|
|
41
|
-
|
|
42
|
-
' 0 = SW_HIDE, True = wait for completion (propagates exit code synchronously)
|
|
43
|
-
WScript.Quit shell.Run(cmd, 0, True)
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"adoptedAt": 1784038275868,
|
|
3
|
-
"championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
|
|
4
|
-
"manifest": {
|
|
5
|
-
"schema": "ruflo.proven-config/v1",
|
|
6
|
-
"policy": {
|
|
7
|
-
"ref": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
|
|
8
|
-
"value": {
|
|
9
|
-
"alpha": 0.3,
|
|
10
|
-
"subjectWeight": 1,
|
|
11
|
-
"mmrLambda": 0.5,
|
|
12
|
-
"bodyWeight": 1.5,
|
|
13
|
-
"typePenaltyFactor": 0.5
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"layer": "framework/node-cli",
|
|
17
|
-
"compatibility": {
|
|
18
|
-
"ruflo": ">=3.24.0"
|
|
19
|
-
},
|
|
20
|
-
"benchmark": {
|
|
21
|
-
"corpus": "ADR-081-labelled-v1",
|
|
22
|
-
"corpusHash": "sha256:2f700b5c363e20a3bd88ce2bc9b87bbbbaa61732c6177894c6ec37890f888982"
|
|
23
|
-
},
|
|
24
|
-
"receipt": {
|
|
25
|
-
"heldOutDelta": 0.07381404928570845,
|
|
26
|
-
"redblue": "PASS",
|
|
27
|
-
"drift": 0,
|
|
28
|
-
"canary": {
|
|
29
|
-
"rollbackRate": 0,
|
|
30
|
-
"latencyP95": 244.612458000076,
|
|
31
|
-
"costPerTask": 0
|
|
32
|
-
},
|
|
33
|
-
"receiptCoverage": 1
|
|
34
|
-
},
|
|
35
|
-
"platform": [
|
|
36
|
-
"linux",
|
|
37
|
-
"macOS",
|
|
38
|
-
"windows"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"previous": ""
|
|
42
|
-
}
|