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

rUv268c8f793d55
diff --git a/v3/@claude-flow/codex/src/initializer.ts b/v3/@claude-flow/codex/src/initializer.ts
index c648ab4a82..a697417b0c 100644
--- a/v3/@claude-flow/codex/src/initializer.ts
+++ b/v3/@claude-flow/codex/src/initializer.ts
@@ -139,22 +139,28 @@ export class CodexInitializer {
filesCreated.push('.agents/README.md');
}
- return {
+ const result: CodexInitResult = {
success: true,
filesCreated,
skillsGenerated,
- warnings: warnings.length > 0 ? warnings : undefined,
};
+ if (warnings.length > 0) {
+ result.warnings = warnings;
+ }
+ return result;
} catch (error) {
const errorMessage = error instanceof Error ? error.message : 'Unknown error occurred';
errors.push(errorMessage);
- return {
+ const result: CodexInitResult = {
success: false,
filesCreated,
skillsGenerated,
- warnings: warnings.length > 0 ? warnings : undefined,
errors,
};
+ if (warnings.length > 0) {
+ result.warnings = warnings;
+ }
+ return result;
}
}