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: Edit /workspaces/claude-code-flow/src/cli/simple-commands/analysis.js

rUvb5fd3fc54357
diff --git a/.claude/checkpoints/1755117279.json b/.claude/checkpoints/1755117279.json
new file mode 100644
index 0000000000..7a8d4fd289
--- /dev/null
+++ b/.claude/checkpoints/1755117279.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250813-203439", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:34:39Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755117281.json b/.claude/checkpoints/1755117281.json
new file mode 100644
index 0000000000..802abf2531
--- /dev/null
+++ b/.claude/checkpoints/1755117281.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250813-203440", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:34:41Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 8736 ++++++++++++++++++++++++++---- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755117263.json | 1 + .claude/checkpoints/1755117265.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/analysis.js | 2 + 7 files changed, 7628 insertions(+), 1120 deletions(-) "}
diff --git a/src/cli/simple-commands/analysis.js b/src/cli/simple-commands/analysis.js
index 48033410cf..64010eab11 100644
--- a/src/cli/simple-commands/analysis.js
+++ b/src/cli/simple-commands/analysis.js
@@ -400,6 +400,20 @@ TOKEN USAGE OPTIONS:
--cost-analysis Include cost projections and optimization
--enable-telemetry Enable token tracking for this session
+CLAUDE MONITOR OPTIONS:
+ --interval <ms> Update interval in milliseconds (default: 5000)
+
+ Usage: claude-flow analysis claude-monitor [session-id] [--interval 3000]
+
+ Monitors a Claude session for real-time token usage updates.
+ Session ID defaults to 'current' if not specified.
+
+CLAUDE COST OPTIONS:
+ Usage: claude-flow analysis claude-cost
+
+ Retrieves the current Claude session's token usage and cost estimate.
+ Works best when run during or immediately after a Claude session.
+
EXAMPLES:
# First-time setup for token tracking
claude-flow analysis setup-telemetry