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

rUv5d18748fa146
diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts
index 7d4140c1a3..87f5528af8 100644
--- a/v3/@claude-flow/cli/src/commands/hooks.ts
+++ b/v3/@claude-flow/cli/src/commands/hooks.ts
@@ -3412,7 +3412,7 @@ const sessionStartCommand: Command = {
name: 'session-start',
description: '(DEPRECATED: Use "session-restore" instead) Start/restore session',
options: [
- ...sessionRestoreCommand.options || [],
+ ...(sessionRestoreCommand.options || []),
// V2-compatible options that are silently ignored
{
name: 'auto-configure',
@@ -3432,7 +3432,10 @@ const sessionStartCommand: Command = {
],
action: async (ctx: CommandContext): Promise<CommandResult> => {
// Map to session-restore for backward compatibility
- return sessionRestoreCommand.action(ctx);
+ if (sessionRestoreCommand.action) {
+ return sessionRestoreCommand.action(ctx);
+ }
+ return { success: true };
}
};