@claude-flow/cli 3.1.0-alpha.12 → 3.1.0-alpha.14
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/README.md +73 -3
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +209 -2
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +31 -4
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/init/executor.d.ts +8 -2
- package/dist/src/init/executor.d.ts.map +1 -1
- package/dist/src/init/executor.js +122 -5
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +76 -13
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-generator.d.ts","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"settings-generator.d.ts","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,YAAY,CAAC;AAG3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA2I7D;AAmRD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAGjE"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Settings.json Generator
|
|
3
3
|
* Creates .claude/settings.json with V3-optimized hook configurations
|
|
4
4
|
*/
|
|
5
|
+
import { detectPlatform } from './types.js';
|
|
5
6
|
/**
|
|
6
7
|
* Generate the complete settings.json content
|
|
7
8
|
*/
|
|
@@ -56,6 +57,24 @@ export function generateSettings(options) {
|
|
|
56
57
|
teammateMode: 'auto', // 'auto' | 'in-process' | 'tmux'
|
|
57
58
|
taskListEnabled: true,
|
|
58
59
|
mailboxEnabled: true,
|
|
60
|
+
coordination: {
|
|
61
|
+
autoAssignOnIdle: true, // Auto-assign pending tasks when teammate is idle
|
|
62
|
+
trainPatternsOnComplete: true, // Train neural patterns when tasks complete
|
|
63
|
+
notifyLeadOnComplete: true, // Notify team lead when tasks complete
|
|
64
|
+
sharedMemoryNamespace: 'agent-teams', // Memory namespace for team coordination
|
|
65
|
+
},
|
|
66
|
+
hooks: {
|
|
67
|
+
teammateIdle: {
|
|
68
|
+
enabled: true,
|
|
69
|
+
autoAssign: true,
|
|
70
|
+
checkTaskList: true,
|
|
71
|
+
},
|
|
72
|
+
taskCompleted: {
|
|
73
|
+
enabled: true,
|
|
74
|
+
trainPatterns: true,
|
|
75
|
+
notifyLead: true,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
59
78
|
},
|
|
60
79
|
swarm: {
|
|
61
80
|
topology: options.runtime.topology,
|
|
@@ -143,9 +162,33 @@ function generateStatusLineConfig(options) {
|
|
|
143
162
|
}
|
|
144
163
|
/**
|
|
145
164
|
* Generate hooks configuration
|
|
165
|
+
* Detects platform and generates appropriate commands for Mac, Linux, and Windows
|
|
146
166
|
*/
|
|
147
167
|
function generateHooksConfig(config) {
|
|
148
168
|
const hooks = {};
|
|
169
|
+
const platform = detectPlatform();
|
|
170
|
+
const isWindows = platform.os === 'windows';
|
|
171
|
+
// Platform-specific command helpers
|
|
172
|
+
// Windows: PowerShell syntax with 2>$null and ; exit 0
|
|
173
|
+
// Mac/Linux: Bash syntax with 2>/dev/null || true
|
|
174
|
+
const cmd = {
|
|
175
|
+
// Check if variable is set and run command
|
|
176
|
+
ifVar: (varName, command) => isWindows
|
|
177
|
+
? `if ($env:${varName}) { ${command} 2>$null }; exit 0`
|
|
178
|
+
: `[ -n "$${varName}" ] && ${command} 2>/dev/null || true`,
|
|
179
|
+
// Simple command with error suppression
|
|
180
|
+
simple: (command) => isWindows
|
|
181
|
+
? `${command} 2>$null; exit 0`
|
|
182
|
+
: `${command} 2>/dev/null || true`,
|
|
183
|
+
// Echo JSON (different quote escaping)
|
|
184
|
+
echoJson: (json) => isWindows
|
|
185
|
+
? `Write-Output '${json}'`
|
|
186
|
+
: `echo '${json}'`,
|
|
187
|
+
// Generate timestamp (for unique keys)
|
|
188
|
+
timestamp: () => isWindows
|
|
189
|
+
? '$(Get-Date -UFormat %s)'
|
|
190
|
+
: '$(date +%s)',
|
|
191
|
+
};
|
|
149
192
|
// PreToolUse hooks - cross-platform via npx with defensive guards
|
|
150
193
|
if (config.preToolUse) {
|
|
151
194
|
hooks.PreToolUse = [
|
|
@@ -155,7 +198,9 @@ function generateHooksConfig(config) {
|
|
|
155
198
|
hooks: [
|
|
156
199
|
{
|
|
157
200
|
type: 'command',
|
|
158
|
-
command: '
|
|
201
|
+
command: cmd.ifVar('TOOL_INPUT_file_path', isWindows
|
|
202
|
+
? 'npx @claude-flow/cli@latest hooks pre-edit --file $env:TOOL_INPUT_file_path'
|
|
203
|
+
: 'npx @claude-flow/cli@latest hooks pre-edit --file "$TOOL_INPUT_file_path"'),
|
|
159
204
|
timeout: config.timeout,
|
|
160
205
|
continueOnError: true,
|
|
161
206
|
},
|
|
@@ -167,7 +212,9 @@ function generateHooksConfig(config) {
|
|
|
167
212
|
hooks: [
|
|
168
213
|
{
|
|
169
214
|
type: 'command',
|
|
170
|
-
command: '
|
|
215
|
+
command: cmd.ifVar('TOOL_INPUT_command', isWindows
|
|
216
|
+
? 'npx @claude-flow/cli@latest hooks pre-command --command $env:TOOL_INPUT_command'
|
|
217
|
+
: 'npx @claude-flow/cli@latest hooks pre-command --command "$TOOL_INPUT_command"'),
|
|
171
218
|
timeout: config.timeout,
|
|
172
219
|
continueOnError: true,
|
|
173
220
|
},
|
|
@@ -179,7 +226,9 @@ function generateHooksConfig(config) {
|
|
|
179
226
|
hooks: [
|
|
180
227
|
{
|
|
181
228
|
type: 'command',
|
|
182
|
-
command: '
|
|
229
|
+
command: cmd.ifVar('TOOL_INPUT_prompt', isWindows
|
|
230
|
+
? `npx @claude-flow/cli@latest hooks pre-task --task-id "task-${cmd.timestamp()}" --description $env:TOOL_INPUT_prompt`
|
|
231
|
+
: `npx @claude-flow/cli@latest hooks pre-task --task-id "task-${cmd.timestamp()}" --description "$TOOL_INPUT_prompt"`),
|
|
183
232
|
timeout: config.timeout,
|
|
184
233
|
continueOnError: true,
|
|
185
234
|
},
|
|
@@ -196,7 +245,9 @@ function generateHooksConfig(config) {
|
|
|
196
245
|
hooks: [
|
|
197
246
|
{
|
|
198
247
|
type: 'command',
|
|
199
|
-
command: '
|
|
248
|
+
command: cmd.ifVar('TOOL_INPUT_file_path', isWindows
|
|
249
|
+
? 'npx @claude-flow/cli@latest hooks post-edit --file $env:TOOL_INPUT_file_path --success $($env:TOOL_SUCCESS ?? "true")'
|
|
250
|
+
: 'npx @claude-flow/cli@latest hooks post-edit --file "$TOOL_INPUT_file_path" --success "${TOOL_SUCCESS:-true}"'),
|
|
200
251
|
timeout: config.timeout,
|
|
201
252
|
continueOnError: true,
|
|
202
253
|
},
|
|
@@ -208,7 +259,9 @@ function generateHooksConfig(config) {
|
|
|
208
259
|
hooks: [
|
|
209
260
|
{
|
|
210
261
|
type: 'command',
|
|
211
|
-
command: '
|
|
262
|
+
command: cmd.ifVar('TOOL_INPUT_command', isWindows
|
|
263
|
+
? 'npx @claude-flow/cli@latest hooks post-command --command $env:TOOL_INPUT_command --success $($env:TOOL_SUCCESS ?? "true")'
|
|
264
|
+
: 'npx @claude-flow/cli@latest hooks post-command --command "$TOOL_INPUT_command" --success "${TOOL_SUCCESS:-true}"'),
|
|
212
265
|
timeout: config.timeout,
|
|
213
266
|
continueOnError: true,
|
|
214
267
|
},
|
|
@@ -220,7 +273,9 @@ function generateHooksConfig(config) {
|
|
|
220
273
|
hooks: [
|
|
221
274
|
{
|
|
222
275
|
type: 'command',
|
|
223
|
-
command: '
|
|
276
|
+
command: cmd.ifVar('TOOL_RESULT_agent_id', isWindows
|
|
277
|
+
? 'npx @claude-flow/cli@latest hooks post-task --task-id $env:TOOL_RESULT_agent_id --success $($env:TOOL_SUCCESS ?? "true")'
|
|
278
|
+
: 'npx @claude-flow/cli@latest hooks post-task --task-id "$TOOL_RESULT_agent_id" --success "${TOOL_SUCCESS:-true}"'),
|
|
224
279
|
timeout: config.timeout,
|
|
225
280
|
continueOnError: true,
|
|
226
281
|
},
|
|
@@ -235,7 +290,9 @@ function generateHooksConfig(config) {
|
|
|
235
290
|
hooks: [
|
|
236
291
|
{
|
|
237
292
|
type: 'command',
|
|
238
|
-
command: '
|
|
293
|
+
command: cmd.ifVar('PROMPT', isWindows
|
|
294
|
+
? 'npx @claude-flow/cli@latest hooks route --task $env:PROMPT'
|
|
295
|
+
: 'npx @claude-flow/cli@latest hooks route --task "$PROMPT"'),
|
|
239
296
|
timeout: config.timeout,
|
|
240
297
|
continueOnError: true,
|
|
241
298
|
},
|
|
@@ -250,13 +307,15 @@ function generateHooksConfig(config) {
|
|
|
250
307
|
hooks: [
|
|
251
308
|
{
|
|
252
309
|
type: 'command',
|
|
253
|
-
command: 'npx @claude-flow/cli@latest daemon start --quiet
|
|
310
|
+
command: cmd.simple('npx @claude-flow/cli@latest daemon start --quiet'),
|
|
254
311
|
timeout: 5000,
|
|
255
312
|
continueOnError: true,
|
|
256
313
|
},
|
|
257
314
|
{
|
|
258
315
|
type: 'command',
|
|
259
|
-
command: '
|
|
316
|
+
command: cmd.ifVar('SESSION_ID', isWindows
|
|
317
|
+
? 'npx @claude-flow/cli@latest hooks session-restore --session-id $env:SESSION_ID'
|
|
318
|
+
: 'npx @claude-flow/cli@latest hooks session-restore --session-id "$SESSION_ID"'),
|
|
260
319
|
timeout: 10000,
|
|
261
320
|
continueOnError: true,
|
|
262
321
|
},
|
|
@@ -272,7 +331,7 @@ function generateHooksConfig(config) {
|
|
|
272
331
|
hooks: [
|
|
273
332
|
{
|
|
274
333
|
type: 'command',
|
|
275
|
-
command: '
|
|
334
|
+
command: cmd.echoJson('{"ok": true}'),
|
|
276
335
|
timeout: 1000,
|
|
277
336
|
},
|
|
278
337
|
],
|
|
@@ -286,7 +345,9 @@ function generateHooksConfig(config) {
|
|
|
286
345
|
hooks: [
|
|
287
346
|
{
|
|
288
347
|
type: 'command',
|
|
289
|
-
command: '
|
|
348
|
+
command: cmd.ifVar('NOTIFICATION_MESSAGE', isWindows
|
|
349
|
+
? `npx @claude-flow/cli@latest memory store --namespace notifications --key "notify-${cmd.timestamp()}" --value $env:NOTIFICATION_MESSAGE`
|
|
350
|
+
: `npx @claude-flow/cli@latest memory store --namespace notifications --key "notify-${cmd.timestamp()}" --value "$NOTIFICATION_MESSAGE"`),
|
|
290
351
|
timeout: 3000,
|
|
291
352
|
continueOnError: true,
|
|
292
353
|
},
|
|
@@ -302,7 +363,7 @@ function generateHooksConfig(config) {
|
|
|
302
363
|
hooks: [
|
|
303
364
|
{
|
|
304
365
|
type: 'command',
|
|
305
|
-
command: 'npx @claude-flow/cli@latest hooks teammate-idle --auto-assign true
|
|
366
|
+
command: cmd.simple('npx @claude-flow/cli@latest hooks teammate-idle --auto-assign true'),
|
|
306
367
|
timeout: 5000,
|
|
307
368
|
continueOnError: true,
|
|
308
369
|
},
|
|
@@ -314,7 +375,9 @@ function generateHooksConfig(config) {
|
|
|
314
375
|
hooks: [
|
|
315
376
|
{
|
|
316
377
|
type: 'command',
|
|
317
|
-
command: '
|
|
378
|
+
command: cmd.ifVar('TASK_ID', isWindows
|
|
379
|
+
? 'npx @claude-flow/cli@latest hooks task-completed --task-id $env:TASK_ID --train-patterns true'
|
|
380
|
+
: 'npx @claude-flow/cli@latest hooks task-completed --task-id "$TASK_ID" --train-patterns true'),
|
|
318
381
|
timeout: 5000,
|
|
319
382
|
continueOnError: true,
|
|
320
383
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAoB;IACnD,MAAM,QAAQ,GAA4B,EAAE,CAAC;IAE7C,uBAAuB;IACvB,IAAI,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAChC,QAAQ,CAAC,KAAK,GAAG,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC;IAED,0CAA0C;IAC1C,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QAC/B,QAAQ,CAAC,UAAU,GAAG,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,kBAAkB;IAClB,QAAQ,CAAC,WAAW,GAAG;QACrB,mCAAmC;QACnC,oDAAoD;QACpD,KAAK,EAAE;YACL,yBAAyB;YACzB,8BAA8B;YAC9B,sBAAsB;SACvB;QACD,iCAAiC;QACjC,IAAI,EAAE,EAAE;KACT,CAAC;IAEF,sDAAsD;IACtD,QAAQ,CAAC,WAAW,GAAG;QACrB,MAAM,EAAE,2CAA2C;QACnD,EAAE,EAAE,wEAAwE;KAC7E,CAAC;IAEF,kEAAkE;IAClE,8DAA8D;IAC9D,iGAAiG;IAEjG,uDAAuD;IACvD,QAAQ,CAAC,GAAG,GAAG;QACb,8DAA8D;QAC9D,oCAAoC,EAAE,GAAG;QACzC,mCAAmC;QACnC,sBAAsB,EAAE,MAAM;QAC9B,yBAAyB,EAAE,MAAM;KAClC,CAAC;IAEF,2BAA2B;IAC3B,QAAQ,CAAC,UAAU,GAAG;QACpB,OAAO,EAAE,OAAO;QAChB,OA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