@claude-flow/cli 3.5.14 → 3.5.16
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/.claude/helpers/auto-commit.sh +1 -1
- package/.claude/helpers/statusline.cjs +10 -10
- package/.claude/helpers/statusline.js +3 -3
- package/.claude/settings.json +9 -9
- package/dist/src/commands/hooks.js +1 -1
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/init/settings-generator.js +3 -3
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts +1 -1
- package/dist/src/init/statusline-generator.js +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -90,7 +90,7 @@ Automatic checkpoint created by Claude Code
|
|
|
90
90
|
|
|
91
91
|
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
92
92
|
|
|
93
|
-
Co-Authored-By: Claude Opus 4.
|
|
93
|
+
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>" --quiet 2>/dev/null; then
|
|
94
94
|
log "Created commit: $message"
|
|
95
95
|
|
|
96
96
|
# Push if enabled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* RuFlo V3.5 Statusline Generator
|
|
4
4
|
* Displays real-time V3 implementation progress and system status
|
|
5
5
|
*
|
|
6
6
|
* Usage: node statusline.cjs [options]
|
|
@@ -121,8 +121,8 @@ function getUserInfo() {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
// Parse model ID to human-readable name
|
|
124
|
-
if (modelId.includes('opus')) modelName = 'Opus 4.
|
|
125
|
-
else if (modelId.includes('sonnet')) modelName = 'Sonnet 4';
|
|
124
|
+
if (modelId.includes('opus')) modelName = 'Opus 4.6 (1M context)';
|
|
125
|
+
else if (modelId.includes('sonnet')) modelName = 'Sonnet 4.6';
|
|
126
126
|
else if (modelId.includes('haiku')) modelName = 'Haiku 4.5';
|
|
127
127
|
else modelName = modelId.split('-').slice(1, 3).join(' ');
|
|
128
128
|
}
|
|
@@ -404,7 +404,7 @@ function generateStatusline() {
|
|
|
404
404
|
const lines = [];
|
|
405
405
|
|
|
406
406
|
// Header Line
|
|
407
|
-
let header = `${c.bold}${c.brightPurple}▊
|
|
407
|
+
let header = `${c.bold}${c.brightPurple}▊ RuFlo V3.5 ${c.reset}`;
|
|
408
408
|
header += `${swarm.coordinationActive ? c.brightCyan : c.dim}● ${c.brightCyan}${user.name}${c.reset}`;
|
|
409
409
|
if (user.gitBranch) {
|
|
410
410
|
header += ` ${c.dim}│${c.reset} ${c.brightBlue}⎇ ${user.gitBranch}${c.reset}`;
|
|
@@ -486,7 +486,7 @@ function generateSingleLine() {
|
|
|
486
486
|
const securityStatus = security.status === 'CLEAN' ? '✓' :
|
|
487
487
|
security.cvesFixed > 0 ? '~' : '✗';
|
|
488
488
|
|
|
489
|
-
return `${c.brightPurple}
|
|
489
|
+
return `${c.brightPurple}RuFlo${c.reset} ${c.dim}|${c.reset} ` +
|
|
490
490
|
`${c.cyan}D:${progress.domainsCompleted}/${progress.totalDomains}${c.reset} ${c.dim}|${c.reset} ` +
|
|
491
491
|
`${c.yellow}S:${swarmIndicator}${swarm.activeAgents}/${swarm.maxAgents}${c.reset} ${c.dim}|${c.reset} ` +
|
|
492
492
|
`${security.status === 'CLEAN' ? c.green : c.red}CVE:${securityStatus}${security.cvesFixed}/${security.totalCves}${c.reset} ${c.dim}|${c.reset} ` +
|
|
@@ -510,7 +510,7 @@ function generateSafeStatusline() {
|
|
|
510
510
|
const lines = [];
|
|
511
511
|
|
|
512
512
|
// Header Line
|
|
513
|
-
let header = `${c.bold}${c.brightPurple}▊
|
|
513
|
+
let header = `${c.bold}${c.brightPurple}▊ RuFlo V3.5 ${c.reset}`;
|
|
514
514
|
header += `${swarm.coordinationActive ? c.brightCyan : c.dim}● ${c.brightCyan}${user.name}${c.reset}`;
|
|
515
515
|
if (user.gitBranch) {
|
|
516
516
|
header += ` ${c.dim}│${c.reset} ${c.brightBlue}⎇ ${user.gitBranch}${c.reset}`;
|
|
@@ -529,16 +529,16 @@ function generateSafeStatusline() {
|
|
|
529
529
|
`${c.brightYellow}⚡ 1.0x${c.reset} ${c.dim}→${c.reset} ${c.brightYellow}2.49x-7.47x${c.reset}`
|
|
530
530
|
);
|
|
531
531
|
|
|
532
|
-
// Line 2 (COLLISION LINE): Swarm status with
|
|
533
|
-
// The emoji
|
|
532
|
+
// Line 2 (COLLISION LINE): Swarm status with padding after label
|
|
533
|
+
// The emoji+label is ~10 columns. Padding pushes content past collision zone (cols 15-25)
|
|
534
534
|
const swarmIndicator = swarm.coordinationActive ? `${c.brightGreen}◉${c.reset}` : `${c.dim}○${c.reset}`;
|
|
535
535
|
const agentsColor = swarm.activeAgents > 0 ? c.brightGreen : c.red;
|
|
536
536
|
let securityIcon = security.status === 'CLEAN' ? '🟢' : security.status === 'IN_PROGRESS' ? '🟡' : '🔴';
|
|
537
537
|
let securityColor = security.status === 'CLEAN' ? c.brightGreen : security.status === 'IN_PROGRESS' ? c.brightYellow : c.brightRed;
|
|
538
538
|
|
|
539
|
-
//
|
|
539
|
+
// Padding after "🤖 Swarm" (emoji 2 cols + " Swarm" 6 cols = 8, pad 18 to reach col 26)
|
|
540
540
|
lines.push(
|
|
541
|
-
`${c.brightYellow}
|
|
541
|
+
`${c.brightYellow}🤖 Swarm${c.reset} ` + // 18 spaces padding
|
|
542
542
|
`${swarmIndicator} [${agentsColor}${String(swarm.activeAgents).padStart(2)}${c.reset}/${c.brightWhite}${swarm.maxAgents}${c.reset}] ` +
|
|
543
543
|
`${c.brightPurple}👥 ${system.subAgents}${c.reset} ` +
|
|
544
544
|
`${securityIcon} ${securityColor}CVE ${security.cvesFixed}${c.reset}/${c.brightWhite}${security.totalCves}${c.reset} ` +
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* RuFlo V3.5 Statusline Generator
|
|
4
4
|
* Displays real-time V3 implementation progress and system status
|
|
5
5
|
*
|
|
6
6
|
* Usage: node statusline.js [--json] [--compact]
|
|
@@ -47,7 +47,7 @@ const c = {
|
|
|
47
47
|
function getUserInfo() {
|
|
48
48
|
let name = 'user';
|
|
49
49
|
let gitBranch = '';
|
|
50
|
-
let modelName = 'Opus 4.
|
|
50
|
+
let modelName = 'Opus 4.6 (1M context)';
|
|
51
51
|
|
|
52
52
|
try {
|
|
53
53
|
name = execSync('git config user.name 2>/dev/null || echo "user"', { encoding: 'utf-8' }).trim();
|
|
@@ -242,7 +242,7 @@ function generateStatusline() {
|
|
|
242
242
|
const lines = [];
|
|
243
243
|
|
|
244
244
|
// Header Line
|
|
245
|
-
let header = `${c.bold}${c.brightPurple}▊
|
|
245
|
+
let header = `${c.bold}${c.brightPurple}▊ RuFlo V3.5 ${c.reset}`;
|
|
246
246
|
header += `${swarm.coordinationActive ? c.brightCyan : c.dim}● ${c.brightCyan}${user.name}${c.reset}`;
|
|
247
247
|
if (user.gitBranch) {
|
|
248
248
|
header += ` ${c.dim}│${c.reset} ${c.brightBlue}⎇ ${user.gitBranch}${c.reset}`;
|
package/.claude/settings.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"hooks": [
|
|
12
12
|
{
|
|
13
13
|
"type": "command",
|
|
14
|
-
"command": "node
|
|
14
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" pre-bash",
|
|
15
15
|
"timeout": 5000
|
|
16
16
|
}
|
|
17
17
|
]
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hooks": [
|
|
24
24
|
{
|
|
25
25
|
"type": "command",
|
|
26
|
-
"command": "node
|
|
26
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" post-edit",
|
|
27
27
|
"timeout": 10000
|
|
28
28
|
}
|
|
29
29
|
]
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"hooks": [
|
|
35
35
|
{
|
|
36
36
|
"type": "command",
|
|
37
|
-
"command": "node
|
|
37
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" route",
|
|
38
38
|
"timeout": 10000
|
|
39
39
|
}
|
|
40
40
|
]
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"hooks": [
|
|
47
47
|
{
|
|
48
48
|
"type": "command",
|
|
49
|
-
"command": "node
|
|
49
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" session-restore",
|
|
50
50
|
"timeout": 15000,
|
|
51
51
|
"continueOnError": true
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"type": "command",
|
|
55
|
-
"command": "node
|
|
55
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs" import",
|
|
56
56
|
"timeout": 8000,
|
|
57
57
|
"continueOnError": true
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"hooks": [
|
|
65
65
|
{
|
|
66
66
|
"type": "command",
|
|
67
|
-
"command": "node
|
|
67
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" session-end",
|
|
68
68
|
"timeout": 10000,
|
|
69
69
|
"continueOnError": true
|
|
70
70
|
}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"hooks": [
|
|
77
77
|
{
|
|
78
78
|
"type": "command",
|
|
79
|
-
"command": "node
|
|
79
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/hook-handler.cjs" status",
|
|
80
80
|
"timeout": 3000,
|
|
81
81
|
"continueOnError": true
|
|
82
82
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"hooks": [
|
|
89
89
|
{
|
|
90
90
|
"type": "command",
|
|
91
|
-
"command": "node
|
|
91
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/auto-memory-hook.mjs" sync",
|
|
92
92
|
"timeout": 10000,
|
|
93
93
|
"continueOnError": true
|
|
94
94
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
},
|
|
99
99
|
"statusLine": {
|
|
100
100
|
"type": "command",
|
|
101
|
-
"command": "node
|
|
101
|
+
"command": "node "$CLAUDE_PROJECT_DIR/.claude/helpers/statusline.cjs"",
|
|
102
102
|
"refreshMs": 5000,
|
|
103
103
|
"enabled": true
|
|
104
104
|
},
|
|
@@ -2805,7 +2805,7 @@ const statuslineCommand = {
|
|
|
2805
2805
|
function getUserInfo() {
|
|
2806
2806
|
let name = 'user';
|
|
2807
2807
|
let gitBranch = '';
|
|
2808
|
-
const modelName = 'Opus 4.
|
|
2808
|
+
const modelName = 'Opus 4.6 (1M context)';
|
|
2809
2809
|
const isWindows = process.platform === 'win32';
|
|
2810
2810
|
try {
|
|
2811
2811
|
const nameCmd = isWindows
|