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

Merge pull request #4017 (rudycelekli) into batch

r5f24deb642f2
diff --cc v3/@claude-flow/cli/src/parser.ts
index e24addfd0b,4810f85262..4b9d0239fb
--- a/v3/@claude-flow/cli/src/parser.ts
+++ b/v3/@claude-flow/cli/src/parser.ts
@@@ -227,9 -228,16 +227,17 @@@ export class CommandParser
if (parsingFlags && arg.startsWith('-')) {
const parseResult = this.parseFlag(args, i, aliases, booleanFlags, stringFlags);
+ // Array declarations retain text and accumulate repeated occurrences.
+ for (const key of arrayFlags) {
+ const value = parseResult.flags[key];
+ if (value !== undefined && value !== true && value !== false) {
+ const previous = result.flags[key];
+ parseResult.flags[key] = [...(Array.isArray(previous) ? previous : []), String(value)];
+ }
+ }
// Apply to result flags
- Object.assign(result.flags, parseResult.flags);
+ const { _: ignoredPositionals, ...parsedFlags } = parseResult.flags;
+ Object.assign(result.flags, parsedFlags);
i = parseResult.nextIndex;
continue;
}