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/commander-fix.ts

rUv504bba7c5cdf
diff --git a/.claude/checkpoints/1758900322.json b/.claude/checkpoints/1758900322.json
new file mode 100644
index 0000000000..42d10ce768
--- /dev/null
+++ b/.claude/checkpoints/1758900322.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250926-152522", "file": "/workspaces/claude-code-flow/package.json", "timestamp": "2025-09-26T15:25:22Z", "type": "pre-edit", "original_branch": "alpha-125"}
diff --git a/.claude/checkpoints/1758900324.json b/.claude/checkpoints/1758900324.json
new file mode 100644
index 0000000000..e6222c9663
--- /dev/null
+++ b/.claude/checkpoints/1758900324.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250926-152524", "file": "/workspaces/claude-code-flow/package.json", "timestamp": "2025-09-26T15:25:24Z", "type": "post-edit", "branch": "alpha-125", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 60 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1758900279.json | 1 + .claude/checkpoints/1758900281.json | 1 + claude-flow-wiki | 0 package.json | 2 +- 7 files changed, 67 insertions(+), 5 deletions(-) "}
diff --git a/src/cli/commander-fix.ts b/src/cli/commander-fix.ts
index 9f22044346..13e6119b12 100644
--- a/src/cli/commander-fix.ts
+++ b/src/cli/commander-fix.ts
@@ -1,10 +1,6 @@
// Temporary workaround for TypeScript compiler bug with Commander overloads
-// @ts-ignore
-import commanderModule from 'commander';
+import { Command as CommandConstructor } from 'commander';
-// Access the Command constructor directly to avoid overload issues
-const CommandConstructor = commanderModule.Command || commanderModule.default?.Command || commanderModule;
-
-// Export a fixed version that avoids the problematic overload
-export const Command = CommandConstructor as any;
+// Export the Command class directly to avoid overload issues
+export const Command = CommandConstructor;
export default Command;
\ No newline at end of file