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/commands/hive-mind/stop.ts

rUvb09044173c16
diff --git a/.claude/checkpoints/1754424506.json b/.claude/checkpoints/1754424506.json
new file mode 100644
index 0000000000..238aeeedd9
--- /dev/null
+++ b/.claude/checkpoints/1754424506.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-200826", "file": "/workspaces/claude-code-flow/src/cli/commands/status.ts", "timestamp": "2025-08-05T20:08:26Z", "type": "pre-edit", "original_branch": "alpha-86"}
diff --git a/.claude/checkpoints/1754424508.json b/.claude/checkpoints/1754424508.json
new file mode 100644
index 0000000000..72cc9d15b4
--- /dev/null
+++ b/.claude/checkpoints/1754424508.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250805-200828", "file": "/workspaces/claude-code-flow/src/cli/commands/status.ts", "timestamp": "2025-08-05T20:08:28Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 904 ++++++++++++++++++++++--------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754424499.json | 1 + .claude/checkpoints/1754424500.json | 1 + src/cli/commands/status.ts | 2 +- 6 files changed, 669 insertions(+), 247 deletions(-) "}
diff --git a/src/cli/commands/hive-mind/stop.ts b/src/cli/commands/hive-mind/stop.ts
index cc2853ffca..32c9e305f0 100644
--- a/src/cli/commands/hive-mind/stop.ts
+++ b/src/cli/commands/hive-mind/stop.ts
@@ -21,7 +21,7 @@ export const stopCommand = new Command('stop')
try {
if (options.all) {
// Stop all active sessions
- const sessions = sessionManager.getActiveSessionsWithProcessInfo();
+ const sessions = await sessionManager.getActiveSessionsWithProcessInfo();
if (sessions.length === 0) {
console.log(chalk.yellow('No active sessions found'));
@@ -54,7 +54,7 @@ export const stopCommand = new Command('stop')
} else if (options.session) {
// Stop specific session
const sessionId = options.session;
- const session = sessionManager.getSession(sessionId);
+ const session = await sessionManager.getSession(sessionId);
if (!session) {
console.log(chalk.red(`Session ${sessionId} not found`));
@@ -87,7 +87,7 @@ export const stopCommand = new Command('stop')
console.log(chalk.green(`✓ Session ${sessionId} stopped successfully`));
} else {
// Interactive selection
- const sessions = sessionManager.getActiveSessionsWithProcessInfo();
+ const sessions = await sessionManager.getActiveSessionsWithProcessInfo();
if (sessions.length === 0) {
console.log(chalk.yellow('No active sessions found'));