claude-flow 3.7.0-alpha.13 → 3.7.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow",
|
|
3
|
-
"version": "3.7.0-alpha.
|
|
3
|
+
"version": "3.7.0-alpha.14",
|
|
4
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
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -3302,7 +3302,13 @@ const statuslineCommand = {
|
|
|
3302
3302
|
},
|
|
3303
3303
|
{
|
|
3304
3304
|
name: 'compact',
|
|
3305
|
-
description: 'Compact single-line output',
|
|
3305
|
+
description: 'Compact single-line output (auto-enabled when terminal width < 100 cols)',
|
|
3306
|
+
type: 'boolean',
|
|
3307
|
+
default: false
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
name: 'full',
|
|
3311
|
+
description: 'Force the full multi-line output even on narrow terminals',
|
|
3306
3312
|
type: 'boolean',
|
|
3307
3313
|
default: false
|
|
3308
3314
|
},
|
|
@@ -3531,8 +3537,16 @@ const statuslineCommand = {
|
|
|
3531
3537
|
output.printJson(statusData);
|
|
3532
3538
|
return { success: true, data: statusData };
|
|
3533
3539
|
}
|
|
3534
|
-
//
|
|
3535
|
-
|
|
3540
|
+
// #1153: auto-collapse to compact on narrow terminals so the full
|
|
3541
|
+
// 6+ line statusline doesn't dominate the screen. Honors:
|
|
3542
|
+
// - explicit --compact → compact
|
|
3543
|
+
// - explicit --full → full (overrides auto-detection)
|
|
3544
|
+
// - else → compact when terminal < 100 cols (full multi-line
|
|
3545
|
+
// output expects ~100 cols of horizontal space)
|
|
3546
|
+
const COMPACT_WIDTH_THRESHOLD = 100;
|
|
3547
|
+
const terminalCols = process.stdout.columns ?? 80;
|
|
3548
|
+
const autoCompact = !ctx.flags.full && terminalCols < COMPACT_WIDTH_THRESHOLD;
|
|
3549
|
+
if (ctx.flags.compact || autoCompact) {
|
|
3536
3550
|
const line = `DDD:${progress.domainsCompleted}/${progress.totalDomains} CVE:${security.cvesFixed}/${security.totalCves} Swarm:${swarm.activeAgents}/${swarm.maxAgents} Ctx:${system.contextPct}% Int:${system.intelligencePct}%`;
|
|
3537
3551
|
output.writeln(line);
|
|
3538
3552
|
return { success: true, data: statusData };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.7.0-alpha.
|
|
3
|
+
"version": "3.7.0-alpha.14",
|
|
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",
|