Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvcc9f4a76daf2
diff --git a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs b/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
index 64239de2a8..9ebda33938 100644
--- a/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
+++ b/v3/@claude-flow/cli/.claude/helpers/statusline.cjs
@@ -58,8 +58,15 @@ function getUserInfo() {
let modelName = 'Unknown';
try {
- name = execSync('git config user.name 2>/dev/null || echo "user"', { encoding: 'utf-8' }).trim();
- gitBranch = execSync('git branch --show-current 2>/dev/null || echo ""', { encoding: 'utf-8' }).trim();
+ const gitUserCmd = isWindows
+ ? 'git config user.name 2>NUL || echo user'
+ : 'git config user.name 2>/dev/null || echo "user"';
+ const gitBranchCmd = isWindows
+ ? 'git branch --show-current 2>NUL || echo.'
+ : 'git branch --show-current 2>/dev/null || echo ""';
+ name = execSync(gitUserCmd, { encoding: 'utf-8' }).trim();
+ gitBranch = execSync(gitBranchCmd, { encoding: 'utf-8' }).trim();
+ if (gitBranch === '.') gitBranch = ''; // Windows echo. outputs a dot
} catch (e) {
// Ignore errors
}