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

fix(memory): type aggregate removal results for strict builds

Rudy Celeklif9070d70cff1
diff --git a/v3/@claude-flow/cli/src/commands/memory.ts b/v3/@claude-flow/cli/src/commands/memory.ts
index 81e32a56eb..f8f954cab5 100644
--- a/v3/@claude-flow/cli/src/commands/memory.ts
+++ b/v3/@claude-flow/cli/src/commands/memory.ts
@@ -957,7 +957,7 @@ const deleteCommand: Command = {
try {
const { deleteEntry } = await import('../memory/memory-initializer.js');
const paths = removalDbTargets(ctx.flags.path as string | undefined);
- const stores = [];
+ const stores: Array<{ dbPath: string } & Awaited<ReturnType<typeof deleteEntry>>> = [];
for (const target of paths) {
const { dbPath } = target;
const entry = await deleteEntry({ key, namespace, ...target });
@@ -1062,7 +1062,7 @@ const purgeCommand: Command = {
return { success: false, exitCode: 1 };
}
- const stores = [];
+ const stores: Array<{ dbPath: string } & Awaited<ReturnType<typeof purgeNamespace>>> = [];
for (const target of paths) {
const purged = await purgeNamespace({ namespace, ...target });
if (!purged.success) throw new Error(`${target.dbPath}: ${purged.error || 'Failed to purge'}`);