@claude-flow/cli 3.1.0-alpha.9 → 3.5.0

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 (106) hide show
  1. package/.claude/agents/core/coder.md +1 -1
  2. package/.claude/agents/core/planner.md +2 -2
  3. package/.claude/agents/core/researcher.md +1 -1
  4. package/.claude/agents/core/reviewer.md +1 -1
  5. package/.claude/agents/core/tester.md +1 -1
  6. package/.claude/agents/data/data-ml-model.md +4 -4
  7. package/.claude/agents/development/dev-backend-api.md +4 -4
  8. package/.claude/agents/documentation/docs-api-openapi.md +4 -4
  9. package/.claude/agents/github/code-review-swarm.md +2 -2
  10. package/.claude/agents/github/issue-tracker.md +2 -2
  11. package/.claude/agents/github/pr-manager.md +2 -2
  12. package/.claude/agents/github/release-manager.md +2 -2
  13. package/.claude/agents/github/workflow-automation.md +2 -2
  14. package/.claude/agents/sparc/architecture.md +3 -3
  15. package/.claude/agents/sparc/pseudocode.md +2 -2
  16. package/.claude/agents/sparc/refinement.md +3 -3
  17. package/.claude/agents/sparc/specification.md +2 -2
  18. package/.claude/agents/swarm/adaptive-coordinator.md +1 -1
  19. package/.claude/agents/swarm/hierarchical-coordinator.md +1 -1
  20. package/.claude/agents/swarm/mesh-coordinator.md +1 -1
  21. package/.claude/agents/templates/base-template-generator.md +3 -3
  22. package/.claude/agents/templates/sparc-coordinator.md +3 -3
  23. package/.claude/helpers/auto-memory-hook.mjs +350 -0
  24. package/.claude/helpers/hook-handler.cjs +232 -0
  25. package/.claude/helpers/intelligence.cjs +916 -0
  26. package/.claude/helpers/session.js +8 -0
  27. package/.claude/helpers/statusline.cjs +96 -28
  28. package/.claude/settings.json +86 -141
  29. package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
  30. package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
  31. package/README.md +910 -475
  32. package/bin/preinstall.cjs +2 -0
  33. package/dist/src/commands/doctor.d.ts.map +1 -1
  34. package/dist/src/commands/doctor.js +45 -2
  35. package/dist/src/commands/doctor.js.map +1 -1
  36. package/dist/src/commands/hooks.d.ts.map +1 -1
  37. package/dist/src/commands/hooks.js +292 -82
  38. package/dist/src/commands/hooks.js.map +1 -1
  39. package/dist/src/commands/init.d.ts.map +1 -1
  40. package/dist/src/commands/init.js +48 -4
  41. package/dist/src/commands/init.js.map +1 -1
  42. package/dist/src/commands/neural.js.map +1 -1
  43. package/dist/src/index.js +2 -2
  44. package/dist/src/index.js.map +1 -1
  45. package/dist/src/init/executor.d.ts +8 -2
  46. package/dist/src/init/executor.d.ts.map +1 -1
  47. package/dist/src/init/executor.js +315 -43
  48. package/dist/src/init/executor.js.map +1 -1
  49. package/dist/src/init/helpers-generator.d.ts +18 -0
  50. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  51. package/dist/src/init/helpers-generator.js +498 -0
  52. package/dist/src/init/helpers-generator.js.map +1 -1
  53. package/dist/src/init/mcp-generator.d.ts +0 -1
  54. package/dist/src/init/mcp-generator.d.ts.map +1 -1
  55. package/dist/src/init/mcp-generator.js +32 -16
  56. package/dist/src/init/mcp-generator.js.map +1 -1
  57. package/dist/src/init/settings-generator.d.ts.map +1 -1
  58. package/dist/src/init/settings-generator.js +138 -95
  59. package/dist/src/init/settings-generator.js.map +1 -1
  60. package/dist/src/init/statusline-generator.d.ts +16 -8
  61. package/dist/src/init/statusline-generator.d.ts.map +1 -1
  62. package/dist/src/init/statusline-generator.js +506 -930
  63. package/dist/src/init/statusline-generator.js.map +1 -1
  64. package/dist/src/init/types.d.ts +8 -0
  65. package/dist/src/init/types.d.ts.map +1 -1
  66. package/dist/src/init/types.js +7 -0
  67. package/dist/src/init/types.js.map +1 -1
  68. package/dist/src/mcp-client.d.ts.map +1 -1
  69. package/dist/src/mcp-client.js +4 -0
  70. package/dist/src/mcp-client.js.map +1 -1
  71. package/dist/src/mcp-tools/agentdb-tools.d.ts +30 -0
  72. package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -0
  73. package/dist/src/mcp-tools/agentdb-tools.js +557 -0
  74. package/dist/src/mcp-tools/agentdb-tools.js.map +1 -0
  75. package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
  76. package/dist/src/mcp-tools/hooks-tools.js +184 -32
  77. package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
  78. package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
  79. package/dist/src/mcp-tools/neural-tools.js +32 -27
  80. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  81. package/dist/src/memory/intelligence.d.ts.map +1 -1
  82. package/dist/src/memory/intelligence.js +34 -6
  83. package/dist/src/memory/intelligence.js.map +1 -1
  84. package/dist/src/memory/memory-bridge.d.ts +407 -0
  85. package/dist/src/memory/memory-bridge.d.ts.map +1 -0
  86. package/dist/src/memory/memory-bridge.js +1493 -0
  87. package/dist/src/memory/memory-bridge.js.map +1 -0
  88. package/dist/src/memory/memory-initializer.d.ts +3 -0
  89. package/dist/src/memory/memory-initializer.d.ts.map +1 -1
  90. package/dist/src/memory/memory-initializer.js +125 -1
  91. package/dist/src/memory/memory-initializer.js.map +1 -1
  92. package/dist/src/ruvector/enhanced-model-router.d.ts.map +1 -1
  93. package/dist/src/ruvector/enhanced-model-router.js +25 -15
  94. package/dist/src/ruvector/enhanced-model-router.js.map +1 -1
  95. package/dist/src/services/agentic-flow-bridge.d.ts +50 -0
  96. package/dist/src/services/agentic-flow-bridge.d.ts.map +1 -0
  97. package/dist/src/services/agentic-flow-bridge.js +95 -0
  98. package/dist/src/services/agentic-flow-bridge.js.map +1 -0
  99. package/dist/src/services/ruvector-training.d.ts +2 -1
  100. package/dist/src/services/ruvector-training.d.ts.map +1 -1
  101. package/dist/src/services/ruvector-training.js +1 -2
  102. package/dist/src/services/ruvector-training.js.map +1 -1
  103. package/dist/src/update/validator.js +1 -1
  104. package/dist/src/update/validator.js.map +1 -1
  105. package/dist/tsconfig.tsbuildinfo +1 -1
  106. package/package.json +8 -4
@@ -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;AAE3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA0G7D;AAiMD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAGjE"}
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;AAE3D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA+I7D;AA0MD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAGjE"}
@@ -17,15 +17,16 @@ export function generateSettings(options) {
17
17
  }
18
18
  // Add permissions
19
19
  settings.permissions = {
20
- // Auto-allow claude-flow MCP tools
21
- // Note: Use ":*" for prefix matching (not just "*")
22
20
  allow: [
23
- 'Bash(npx claude-flow:*)',
24
- 'Bash(npx @claude-flow/cli:*)',
21
+ 'Bash(npx @claude-flow*)',
22
+ 'Bash(npx claude-flow*)',
23
+ 'Bash(node .claude/*)',
25
24
  'mcp__claude-flow__:*',
26
25
  ],
27
- // Auto-deny dangerous operations
28
- deny: [],
26
+ deny: [
27
+ 'Read(./.env)',
28
+ 'Read(./.env.*)',
29
+ ],
29
30
  };
30
31
  // Add claude-flow attribution for git commits and PRs
31
32
  settings.attribution = {
@@ -35,6 +36,14 @@ export function generateSettings(options) {
35
36
  // Note: Claude Code expects 'model' to be a string, not an object
36
37
  // Model preferences are stored in claudeFlow settings instead
37
38
  // settings.model = 'claude-sonnet-4-5-20250929'; // Uncomment if you want to set a default model
39
+ // Add Agent Teams configuration (experimental feature)
40
+ settings.env = {
41
+ // Enable Claude Code Agent Teams for multi-agent coordination
42
+ CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS: '1',
43
+ // Claude Flow specific environment
44
+ CLAUDE_FLOW_V3_ENABLED: 'true',
45
+ CLAUDE_FLOW_HOOKS_ENABLED: 'true',
46
+ };
38
47
  // Add V3-specific settings
39
48
  settings.claudeFlow = {
40
49
  version: '3.0.0',
@@ -43,6 +52,30 @@ export function generateSettings(options) {
43
52
  default: 'claude-opus-4-6',
44
53
  routing: 'claude-haiku-4-5-20251001',
45
54
  },
55
+ agentTeams: {
56
+ enabled: true,
57
+ teammateMode: 'auto', // 'auto' | 'in-process' | 'tmux'
58
+ taskListEnabled: true,
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
+ },
78
+ },
46
79
  swarm: {
47
80
  topology: options.runtime.topology,
48
81
  maxAgents: options.runtime.maxAgents,
@@ -50,6 +83,9 @@ export function generateSettings(options) {
50
83
  memory: {
51
84
  backend: options.runtime.memoryBackend,
52
85
  enableHNSW: options.runtime.enableHNSW,
86
+ learningBridge: { enabled: options.runtime.enableLearningBridge ?? true },
87
+ memoryGraph: { enabled: options.runtime.enableMemoryGraph ?? true },
88
+ agentScopes: { enabled: options.runtime.enableAgentScopes ?? true },
53
89
  },
54
90
  neural: {
55
91
  enabled: options.runtime.enableNeural,
@@ -107,181 +143,188 @@ export function generateSettings(options) {
107
143
  }
108
144
  /**
109
145
  * Generate statusLine configuration for Claude Code
110
- * This configures the Claude Code status bar to show V3 metrics
146
+ * Uses local helper script for cross-platform compatibility (no npx cold-start)
111
147
  */
112
- function generateStatusLineConfig(options) {
113
- const config = options.statusline;
114
- // Build the command that generates the statusline
115
- // Uses npx @claude-flow/cli@latest (or @alpha) to run the hooks statusline command
116
- // Falls back to local helper script or simple "V3" if CLI not available
117
- // Default: full multi-line statusline with progress bars, metrics, and architecture status
118
- const statuslineCommand = 'npx @claude-flow/cli@latest hooks statusline 2>/dev/null || node .claude/helpers/statusline.cjs 2>/dev/null || echo "▊ Claude Flow V3"';
148
+ function generateStatusLineConfig(_options) {
149
+ // Claude Code pipes JSON session data to the script via stdin.
150
+ // Valid fields: type, command, padding (optional).
151
+ // The script runs after each assistant message (debounced 300ms).
119
152
  return {
120
- // Type must be "command" for Claude Code validation
121
153
  type: 'command',
122
- // Command to execute for statusline content
123
- command: statuslineCommand,
124
- // Refresh interval in milliseconds (5 seconds default)
125
- refreshMs: config.refreshInterval,
126
- // Enable the statusline
127
- enabled: config.enabled,
154
+ command: 'node .claude/helpers/statusline.cjs',
128
155
  };
129
156
  }
130
157
  /**
131
158
  * Generate hooks configuration
159
+ * Uses local hook-handler.cjs for cross-platform compatibility.
160
+ * All hooks delegate to `node .claude/helpers/hook-handler.cjs <command>`
161
+ * which works identically on Windows, macOS, and Linux without
162
+ * shell-specific syntax (no bash 2>/dev/null, no PowerShell 2>$null).
132
163
  */
133
164
  function generateHooksConfig(config) {
134
165
  const hooks = {};
135
- // PreToolUse hooks - cross-platform via npx with defensive guards
166
+ // Node.js scripts handle errors internally via try/catch.
167
+ // No shell-level error suppression needed (2>/dev/null || true breaks Windows).
168
+ // PreToolUse — validate commands before execution
136
169
  if (config.preToolUse) {
137
170
  hooks.PreToolUse = [
138
- // File edit hooks with intelligence routing
139
171
  {
140
- matcher: '^(Write|Edit|MultiEdit)$',
172
+ matcher: 'Bash',
141
173
  hooks: [
142
174
  {
143
175
  type: 'command',
144
- command: '[ -n "$TOOL_INPUT_file_path" ] && npx @claude-flow/cli@latest hooks pre-edit --file "$TOOL_INPUT_file_path" 2>/dev/null || true',
176
+ command: 'node .claude/helpers/hook-handler.cjs pre-bash',
145
177
  timeout: config.timeout,
146
- continueOnError: true,
147
178
  },
148
179
  ],
149
180
  },
150
- // Bash command hooks with safety validation
181
+ ];
182
+ }
183
+ // PostToolUse — record edits for session metrics / learning
184
+ if (config.postToolUse) {
185
+ hooks.PostToolUse = [
151
186
  {
152
- matcher: '^Bash$',
187
+ matcher: 'Write|Edit|MultiEdit',
153
188
  hooks: [
154
189
  {
155
190
  type: 'command',
156
- command: '[ -n "$TOOL_INPUT_command" ] && npx @claude-flow/cli@latest hooks pre-command --command "$TOOL_INPUT_command" 2>/dev/null || true',
157
- timeout: config.timeout,
158
- continueOnError: true,
191
+ command: 'node .claude/helpers/hook-handler.cjs post-edit',
192
+ timeout: 10000,
159
193
  },
160
194
  ],
161
195
  },
162
- // Task/Agent hooks - require task-id for tracking
196
+ ];
197
+ }
198
+ // UserPromptSubmit — intelligent task routing
199
+ if (config.userPromptSubmit) {
200
+ hooks.UserPromptSubmit = [
163
201
  {
164
- matcher: '^Task$',
165
202
  hooks: [
166
203
  {
167
204
  type: 'command',
168
- 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',
169
- timeout: config.timeout,
170
- continueOnError: true,
205
+ command: 'node .claude/helpers/hook-handler.cjs route',
206
+ timeout: 10000,
171
207
  },
172
208
  ],
173
209
  },
174
210
  ];
175
211
  }
176
- // PostToolUse hooks - cross-platform via npx with defensive guards
177
- if (config.postToolUse) {
178
- hooks.PostToolUse = [
179
- // File edit hooks with neural pattern training
212
+ // SessionStart restore session state + import auto memory
213
+ if (config.sessionStart) {
214
+ hooks.SessionStart = [
180
215
  {
181
- matcher: '^(Write|Edit|MultiEdit)$',
182
216
  hooks: [
183
217
  {
184
218
  type: 'command',
185
- 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',
186
- timeout: config.timeout,
187
- continueOnError: true,
219
+ command: 'node .claude/helpers/hook-handler.cjs session-restore',
220
+ timeout: 15000,
188
221
  },
189
- ],
190
- },
191
- // Bash command hooks with metrics tracking
192
- {
193
- matcher: '^Bash$',
194
- hooks: [
195
222
  {
196
223
  type: 'command',
197
- 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',
198
- timeout: config.timeout,
199
- continueOnError: true,
224
+ command: 'node .claude/helpers/auto-memory-hook.mjs import',
225
+ timeout: 8000,
200
226
  },
201
227
  ],
202
228
  },
203
- // Task completion hooks - use task-id
229
+ ];
230
+ }
231
+ // SessionEnd — persist session state
232
+ if (config.sessionStart) {
233
+ hooks.SessionEnd = [
204
234
  {
205
- matcher: '^Task$',
206
235
  hooks: [
207
236
  {
208
237
  type: 'command',
209
- 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',
210
- timeout: config.timeout,
211
- continueOnError: true,
238
+ command: 'node .claude/helpers/hook-handler.cjs session-end',
239
+ timeout: 10000,
212
240
  },
213
241
  ],
214
242
  },
215
243
  ];
216
244
  }
217
- // UserPromptSubmit for intelligent routing
218
- if (config.userPromptSubmit) {
219
- hooks.UserPromptSubmit = [
245
+ // Stop sync auto memory on exit
246
+ if (config.stop) {
247
+ hooks.Stop = [
220
248
  {
221
249
  hooks: [
222
250
  {
223
251
  type: 'command',
224
- command: '[ -n "$PROMPT" ] && npx @claude-flow/cli@latest hooks route --task "$PROMPT" || true',
225
- timeout: config.timeout,
226
- continueOnError: true,
252
+ command: 'node .claude/helpers/auto-memory-hook.mjs sync',
253
+ timeout: 10000,
227
254
  },
228
255
  ],
229
256
  },
230
257
  ];
231
258
  }
232
- // SessionStart for context loading and daemon auto-start
233
- if (config.sessionStart) {
234
- hooks.SessionStart = [
259
+ // PreCompact preserve context before compaction
260
+ if (config.preCompact) {
261
+ hooks.PreCompact = [
235
262
  {
263
+ matcher: 'manual',
236
264
  hooks: [
237
265
  {
238
266
  type: 'command',
239
- command: 'npx @claude-flow/cli@latest daemon start --quiet 2>/dev/null || true',
240
- timeout: 5000,
241
- continueOnError: true,
267
+ command: 'node .claude/helpers/hook-handler.cjs compact-manual',
242
268
  },
243
269
  {
244
270
  type: 'command',
245
- command: '[ -n "$SESSION_ID" ] && npx @claude-flow/cli@latest hooks session-restore --session-id "$SESSION_ID" 2>/dev/null || true',
246
- timeout: 10000,
247
- continueOnError: true,
271
+ command: 'node .claude/helpers/hook-handler.cjs session-end',
272
+ timeout: 5000,
248
273
  },
249
274
  ],
250
275
  },
251
- ];
252
- }
253
- // Stop hooks for task evaluation - always return ok by default
254
- // The hook outputs JSON that Claude Code validates
255
- if (config.stop) {
256
- hooks.Stop = [
257
276
  {
277
+ matcher: 'auto',
258
278
  hooks: [
259
279
  {
260
280
  type: 'command',
261
- command: 'echo \'{"ok": true}\'',
262
- timeout: 1000,
281
+ command: 'node .claude/helpers/hook-handler.cjs compact-auto',
263
282
  },
264
- ],
265
- },
266
- ];
267
- }
268
- // Notification hooks - store notifications in memory for swarm awareness
269
- if (config.notification) {
270
- hooks.Notification = [
271
- {
272
- hooks: [
273
283
  {
274
284
  type: 'command',
275
- command: '[ -n "$NOTIFICATION_MESSAGE" ] && npx @claude-flow/cli@latest memory store --namespace notifications --key "notify-$(date +%s)" --value "$NOTIFICATION_MESSAGE" 2>/dev/null || true',
276
- timeout: 3000,
277
- continueOnError: true,
285
+ command: 'node .claude/helpers/hook-handler.cjs session-end',
286
+ timeout: 6000,
278
287
  },
279
288
  ],
280
289
  },
281
290
  ];
282
291
  }
283
- // Note: PermissionRequest is NOT a valid Claude Code hook type
284
- // Auto-allow behavior is configured via settings.permissions.allow instead
292
+ // SubagentStart status update
293
+ hooks.SubagentStart = [
294
+ {
295
+ hooks: [
296
+ {
297
+ type: 'command',
298
+ command: 'node .claude/helpers/hook-handler.cjs status',
299
+ timeout: 3000,
300
+ },
301
+ ],
302
+ },
303
+ ];
304
+ // TeammateIdle — auto-assign pending tasks to idle teammates
305
+ hooks.TeammateIdle = [
306
+ {
307
+ hooks: [
308
+ {
309
+ type: 'command',
310
+ command: 'node .claude/helpers/hook-handler.cjs post-task',
311
+ timeout: 5000,
312
+ },
313
+ ],
314
+ },
315
+ ];
316
+ // TaskCompleted — train patterns and record completion
317
+ hooks.TaskCompleted = [
318
+ {
319
+ hooks: [
320
+ {
321
+ type: 'command',
322
+ command: 'node .claude/helpers/hook-handler.cjs post-task',
323
+ timeout: 5000,
324
+ },
325
+ ],
326
+ },
327
+ ];
285
328
  return hooks;
286
329
  }
287
330
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;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;YAC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IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,uBAAuB;wBAChC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF;SACF,CAAC;IACJ,CAAC;IAED,yEAAyE;IACzE,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;QACxB,KAAK,CAAC,YAAY,GAAG;YACnB;gBACE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,qLAAqL;wBAC9L,OAAO,EAAE,IAAI;wBACb,eAAe,EAAE,IAAI;qBACtB;iBACF;aACF;SACF,CAAC;IACJ,CAAC;IAED,+DAA+D;IAC/D,2EAA2E;IAE3E,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAAoB;IACvD,MAAM,QAAQ,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAC3C,CAAC"}
1
+ {"version":3,"file":"settings-generator.js","sourceRoot":"","sources":["../../../src/init/settings-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;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,KAAK,EAAE;YACL,yBAAyB;YACzB,wBAAwB;YACxB,sBAAsB;YACtB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CAAC,OAAoB;IACvD,MAAM,QAAQ,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC3C,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AAC3C,CAAC"}
@@ -1,16 +1,24 @@
1
1
  /**
2
- * Statusline Configuration Generator
3
- * Creates statusline configuration for V3 progress display
2
+ * Statusline Configuration Generator (Optimized)
3
+ * Creates fast, reliable statusline for V3 progress display
4
+ *
5
+ * Performance:
6
+ * - Single combined git execSync call (not 8+ separate ones)
7
+ * - process.memoryUsage() instead of ps aux
8
+ * - No recursive test file content reading
9
+ * - Shared settings cache
10
+ * - Strict 2s timeouts on all shell calls
4
11
  */
5
12
  import type { InitOptions } from './types.js';
6
13
  /**
7
- * Generate statusline configuration script
8
- * Matches the advanced format:
9
- * ▊ Claude Flow V3 ● user │ ⎇ v3 │ Opus 4.5
14
+ * Generate optimized statusline script
15
+ * Output format:
16
+ * ▊ Claude Flow V3 ● user │ ⎇ branch │ Opus 4.6
10
17
  * ─────────────────────────────────────────────────────
11
- * 🏗️ DDD Domains [●●●●●] 5/5 ⚡ HNSW 12500x (or 📚 22.9k patterns)
12
- * 🤖 Swarm ◉ [12/15] 👥 0 🟢 CVE 3/3 💾 5177MB 📂 56% 🧠 30%
13
- * 🔧 Architecture DDD100% │ SecurityCLEAN │ Memory ●AgentDBIntegration
18
+ * 🏗️ DDD Domains [●●○○○] 2/5 ⚡ HNSW 150x
19
+ * 🤖 Swarm ◉ [ 5/15] 👥 2 🪝 10/17 🟢 CVE 3/3 💾 4MB 🧠 63%
20
+ * 🔧 Architecture ADRs71% │ DDD13%SecurityCLEAN
21
+ * 📊 AgentDB Vectors ●3104⚡ │ Size 216KB │ Tests ●6 (~24 cases) │ MCP ●1/1
14
22
  */
15
23
  export declare function generateStatuslineScript(options: InitOptions): string;
16
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"statusline-generator.d.ts","sourceRoot":"","sources":["../../../src/init/statusline-generator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,YAAY,CAAC;AAEhE;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA6qCrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA2BnE"}
1
+ {"version":3,"file":"statusline-generator.d.ts","sourceRoot":"","sources":["../../../src/init/statusline-generator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA0vBrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CA8BnE"}