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

rUv6ddfd71c9099
diff --git a/.claude/statusline.sh b/.claude/statusline.sh
index 9827395f2d..0c5f46d6bd 100755
--- a/.claude/statusline.sh
+++ b/.claude/statusline.sh
@@ -181,8 +181,8 @@ if [ -f "$AUTOPILOT_STATE" ]; then
AP_TOKENS=$(jq -r '.lastTokenEstimate // 0' "$AUTOPILOT_STATE" 2>/dev/null || echo "0")
AP_PRUNE=$(jq -r '.pruneCount // 0' "$AUTOPILOT_STATE" 2>/dev/null || echo "0")
- # Convert float to int percentage
- CONTEXT_PCT=$(echo "$AP_PCT * 100" | bc 2>/dev/null | cut -d. -f1 || echo "0")
+ # Convert float (0.216) to int percentage (21)
+ CONTEXT_PCT=$(printf "%.0f" "$(echo "$AP_PCT * 100" | bc -l 2>/dev/null)" 2>/dev/null || echo "0")
if [ -z "$CONTEXT_PCT" ] || [ "$CONTEXT_PCT" = "" ]; then CONTEXT_PCT=0; fi
# Format token count