🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/analysis.js
rUve6b098679dfb
diff --git a/.claude/checkpoints/1755115870.json b/.claude/checkpoints/1755115870.jsonnew file mode 100644index 0000000000..ec08816bd6--- /dev/null+++ b/.claude/checkpoints/1755115870.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250813-201110", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:11:10Z", "type": "pre-edit", "original_branch": "alpha-89"}diff --git a/.claude/checkpoints/1755115872.json b/.claude/checkpoints/1755115872.jsonnew file mode 100644index 0000000000..887900e762--- /dev/null+++ b/.claude/checkpoints/1755115872.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250813-201112", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:11:12Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755115737.json | 1 + .claude/checkpoints/1755115739.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/analysis.js | 34 +++++------ 7 files changed, 120 insertions(+), 20 deletions(-) "}diff --git a/src/cli/simple-commands/analysis.js b/src/cli/simple-commands/analysis.jsindex 179ea2c2d7..af525c2a9b 100644--- a/src/cli/simple-commands/analysis.js+++ b/src/cli/simple-commands/analysis.js@@ -310,20 +310,7 @@ EXAMPLES:`);}-// Helper functions for real token tracking--async function getRealTokenUsage(agent) {- // Check if Claude Code OpenTelemetry is configured- const isOTelEnabled = process.env.CLAUDE_CODE_ENABLE_TELEMETRY === '1';-- if (!isOTelEnabled) {- // Try to read from local metrics file if OTel is not enabled- return await getLocalTokenMetrics(agent);- }-- // Get metrics from OpenTelemetry- return await getOTelTokenMetrics(agent);-}+// Helper functions for real token tracking are now imported from token-tracker.jsasync function getLocalTokenMetrics(agent) {// Look for Claude Code metrics in standard locations