@claude-flow/cli 3.1.0-alpha.16 → 3.1.0-alpha.18

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.
Files changed (2) hide show
  1. package/.claude/settings.json +13 -202
  2. package/package.json +2 -2
@@ -3,108 +3,14 @@
3
3
  "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
4
4
  },
5
5
  "hooks": {
6
- "PreToolUse": [
7
- {
8
- "matcher": "^(Write|Edit|MultiEdit)$",
9
- "hooks": [
10
- {
11
- "type": "command",
12
- "command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks pre-edit --file \"$TOOL_INPUT_file_path\" 2>/dev/null || true",
13
- "timeout": 5000,
14
- "continueOnError": true
15
- }
16
- ]
17
- },
18
- {
19
- "matcher": "^Bash$",
20
- "hooks": [
21
- {
22
- "type": "command",
23
- "command": "[ -n \"$TOOL_INPUT_command\" ] && npx @claude-flow/cli@latest hooks pre-command --command \"$TOOL_INPUT_command\" 2>/dev/null || true",
24
- "timeout": 5000,
25
- "continueOnError": true
26
- }
27
- ]
28
- },
29
- {
30
- "matcher": "^Task$",
31
- "hooks": [
32
- {
33
- "type": "command",
34
- "command": "[ -n \"$TOOL_INPUT_prompt\" ] && npx @claude-flow/cli@latest hooks pre-task --task-id \"task-$(date +%s)\" --description \"$TOOL_INPUT_prompt\" 2>/dev/null || true",
35
- "timeout": 5000,
36
- "continueOnError": true
37
- }
38
- ]
39
- }
40
- ],
41
- "PostToolUse": [
42
- {
43
- "matcher": "^(Write|Edit|MultiEdit)$",
44
- "hooks": [
45
- {
46
- "type": "command",
47
- "command": "[ -n \"$TOOL_INPUT_file_path\" ] && npx @claude-flow/cli@latest hooks post-edit --file \"$TOOL_INPUT_file_path\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
48
- "timeout": 5000,
49
- "continueOnError": true
50
- }
51
- ]
52
- },
53
- {
54
- "matcher": "^Bash$",
55
- "hooks": [
56
- {
57
- "type": "command",
58
- "command": "[ -n \"$TOOL_INPUT_command\" ] && npx @claude-flow/cli@latest hooks post-command --command \"$TOOL_INPUT_command\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
59
- "timeout": 5000,
60
- "continueOnError": true
61
- }
62
- ]
63
- },
64
- {
65
- "matcher": "^Task$",
66
- "hooks": [
67
- {
68
- "type": "command",
69
- "command": "[ -n \"$TOOL_RESULT_agent_id\" ] && npx @claude-flow/cli@latest hooks post-task --task-id \"$TOOL_RESULT_agent_id\" --success \"${TOOL_SUCCESS:-true}\" 2>/dev/null || true",
70
- "timeout": 5000,
71
- "continueOnError": true
72
- }
73
- ]
74
- }
75
- ],
76
- "UserPromptSubmit": [
77
- {
78
- "hooks": [
79
- {
80
- "type": "command",
81
- "command": "[ -n \"$PROMPT\" ] && npx @claude-flow/cli@latest hooks route --task \"$PROMPT\" || true",
82
- "timeout": 5000,
83
- "continueOnError": true
84
- }
85
- ]
86
- }
87
- ],
88
6
  "SessionStart": [
89
7
  {
90
8
  "hooks": [
91
9
  {
92
10
  "type": "command",
93
- "command": "npx @claude-flow/cli@latest daemon start --quiet 2>/dev/null || true",
94
- "timeout": 5000,
95
- "continueOnError": true
96
- },
97
- {
98
- "type": "command",
99
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs import 2>/dev/null || npx -y @claude-flow/cli@latest .claude/helpers/auto-memory-hook.mjs import 2>/dev/null || true",
11
+ "command": "node .claude/helpers/auto-memory-hook.mjs import",
100
12
  "timeout": 8000,
101
13
  "continueOnError": true
102
- },
103
- {
104
- "type": "command",
105
- "command": "[ -n \"$SESSION_ID\" ] && npx @claude-flow/cli@latest hooks session-restore --session-id \"$SESSION_ID\" 2>/dev/null || true",
106
- "timeout": 10000,
107
- "continueOnError": true
108
14
  }
109
15
  ]
110
16
  }
@@ -114,15 +20,9 @@
114
20
  "hooks": [
115
21
  {
116
22
  "type": "command",
117
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
23
+ "command": "node .claude/helpers/auto-memory-hook.mjs sync",
118
24
  "timeout": 10000,
119
25
  "continueOnError": true
120
- },
121
- {
122
- "type": "command",
123
- "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true --export-patterns true 2>/dev/null || true",
124
- "timeout": 8000,
125
- "continueOnError": true
126
26
  }
127
27
  ]
128
28
  }
@@ -132,27 +32,9 @@
132
32
  "hooks": [
133
33
  {
134
34
  "type": "command",
135
- "command": "node ./node_modules/@claude-flow/cli/.claude/helpers/auto-memory-hook.mjs sync 2>/dev/null || true",
35
+ "command": "node .claude/helpers/auto-memory-hook.mjs sync",
136
36
  "timeout": 10000,
137
37
  "continueOnError": true
138
- },
139
- {
140
- "type": "command",
141
- "command": "npx @claude-flow/cli@latest hooks session-end --persist-memory true 2>/dev/null || true",
142
- "timeout": 8000,
143
- "continueOnError": true
144
- }
145
- ]
146
- }
147
- ],
148
- "Notification": [
149
- {
150
- "hooks": [
151
- {
152
- "type": "command",
153
- "command": "[ -n \"$NOTIFICATION_MESSAGE\" ] && npx @claude-flow/cli@latest memory store --namespace notifications --key \"notify-$(date +%s)\" --value \"$NOTIFICATION_MESSAGE\" 2>/dev/null || true",
154
- "timeout": 3000,
155
- "continueOnError": true
156
38
  }
157
39
  ]
158
40
  }
@@ -160,7 +42,7 @@
160
42
  },
161
43
  "statusLine": {
162
44
  "type": "command",
163
- "command": "npx @claude-flow/cli@latest hooks statusline 2>/dev/null || node .claude/helpers/statusline.cjs 2>/dev/null || echo \"▊ Claude Flow V3\"",
45
+ "command": "node .claude/helpers/statusline.cjs",
164
46
  "refreshMs": 5000,
165
47
  "enabled": true
166
48
  },
@@ -176,8 +58,14 @@
176
58
  "version": "3.0.0",
177
59
  "enabled": true,
178
60
  "modelPreferences": {
179
- "default": "claude-opus-4-5-20251101",
180
- "routing": "claude-3-5-haiku-20241022"
61
+ "default": "claude-opus-4-6",
62
+ "routing": "claude-haiku-4-5-20251001"
63
+ },
64
+ "agentTeams": {
65
+ "enabled": true,
66
+ "teammateMode": "auto",
67
+ "taskListEnabled": true,
68
+ "mailboxEnabled": true
181
69
  },
182
70
  "swarm": {
183
71
  "topology": "hierarchical-mesh",
@@ -189,83 +77,6 @@
189
77
  },
190
78
  "neural": {
191
79
  "enabled": true
192
- },
193
- "daemon": {
194
- "autoStart": true,
195
- "workers": [
196
- "map",
197
- "audit",
198
- "optimize",
199
- "consolidate",
200
- "testgaps",
201
- "ultralearn",
202
- "deepdive",
203
- "document",
204
- "refactor",
205
- "benchmark"
206
- ],
207
- "schedules": {
208
- "audit": {
209
- "interval": "1h",
210
- "priority": "critical"
211
- },
212
- "optimize": {
213
- "interval": "30m",
214
- "priority": "high"
215
- },
216
- "consolidate": {
217
- "interval": "2h",
218
- "priority": "low"
219
- },
220
- "document": {
221
- "interval": "1h",
222
- "priority": "normal",
223
- "triggers": [
224
- "adr-update",
225
- "api-change"
226
- ]
227
- },
228
- "deepdive": {
229
- "interval": "4h",
230
- "priority": "normal",
231
- "triggers": [
232
- "complex-change"
233
- ]
234
- },
235
- "ultralearn": {
236
- "interval": "1h",
237
- "priority": "normal"
238
- }
239
- }
240
- },
241
- "learning": {
242
- "enabled": true,
243
- "autoTrain": true,
244
- "patterns": [
245
- "coordination",
246
- "optimization",
247
- "prediction"
248
- ],
249
- "retention": {
250
- "shortTerm": "24h",
251
- "longTerm": "30d"
252
- }
253
- },
254
- "adr": {
255
- "autoGenerate": true,
256
- "directory": "/docs/adr",
257
- "template": "madr"
258
- },
259
- "ddd": {
260
- "trackDomains": true,
261
- "validateBoundedContexts": true,
262
- "directory": "/docs/ddd"
263
- },
264
- "security": {
265
- "autoScan": true,
266
- "scanOnEdit": true,
267
- "cveCheck": true,
268
- "threatModel": true
269
80
  }
270
81
  }
271
- }
82
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.1.0-alpha.16",
3
+ "version": "3.1.0-alpha.18",
4
4
  "type": "module",
5
5
  "description": "Claude Flow 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",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "optionalDependencies": {
95
95
  "@claude-flow/codex": "^3.0.0-alpha.8",
96
- "@claude-flow/memory": "^3.0.0-alpha.7",
96
+ "@claude-flow/memory": "^3.0.0-alpha.8",
97
97
  "@claude-flow/embeddings": "^3.0.0-alpha.12",
98
98
  "@claude-flow/plugin-gastown-bridge": "^0.1.2",
99
99
  "@ruvector/attention": "^0.1.4",