From b3ef16c7bf7161b47207ad2734e855fb97fb68dc Mon Sep 17 00:00:00 2001 From: rUv Date: Thu, 8 Jan 2026 20:00:52 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-08T20:00:52Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/init/settings-generator.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.ts index 748e0142bd..1461569d6c 100644 --- a/v3/@claude-flow/cli/src/init/settings-generator.ts +++ b/v3/@claude-flow/cli/src/init/settings-generator.ts @@ -117,7 +117,9 @@ function generateStatusLineConfig(options: InitOptions): object { const config = options.statusline; // Build the command that generates the statusline - const statuslineCommand = 'npx @claude-flow/hooks statusline 2>/dev/null || node .claude/helpers/statusline.js 2>/dev/null || echo "▊ V3"'; + // Uses npx @claude-flow/cli@latest (or @alpha) to run the hooks statusline command + // Falls back to local helper script or simple "V3" if CLI not available + const statuslineCommand = 'npx @claude-flow/cli@latest hooks statusline --compact 2>/dev/null || node .claude/helpers/statusline.js 2>/dev/null || echo "▊ Claude Flow V3"'; return { // Type must be "command" for Claude Code validation