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

rUv074299f2fcc9
diff --git a/v3/@claude-flow/cli/src/transfer/store/download.ts b/v3/@claude-flow/cli/src/transfer/store/download.ts
index a8b503e929..448f8be908 100644
--- a/v3/@claude-flow/cli/src/transfer/store/download.ts
+++ b/v3/@claude-flow/cli/src/transfer/store/download.ts
@@ -361,53 +361,7 @@ export class PatternDownloader {
}
}
- /**
- * Generate mock content for demo
- */
- private generateMockContent(cid: string): Buffer {
- const mockCFP: CFPFormat = {
- magic: 'CFP1',
- version: '1.0.0',
- createdAt: new Date().toISOString(),
- generatedBy: '[email protected]',
- metadata: {
- id: cid,
- name: 'downloaded-pattern',
- description: 'A downloaded pattern from IPFS',
- author: { id: 'unknown', verified: false },
- license: 'MIT',
- tags: ['downloaded'],
- createdAt: new Date().toISOString(),
- updatedAt: new Date().toISOString(),
- },
- anonymization: {
- level: 'standard',
- appliedTransforms: [],
- piiRedacted: false,
- pathsStripped: false,
- timestampsGeneralized: false,
- checksum: crypto.createHash('sha256').update(cid).digest('hex'),
- },
- patterns: {
- routing: [],
- complexity: [],
- coverage: [],
- trajectory: [],
- custom: [],
- },
- statistics: {
- totalPatterns: 0,
- avgConfidence: 0,
- patternTypes: {},
- timeRange: {
- start: new Date().toISOString(),
- end: new Date().toISOString(),
- },
- },
- };
-
- return Buffer.from(JSON.stringify(mockCFP, null, 2));
- }
+ // NOTE: generateMockContent removed - using real HTTP fetch from IPFS gateways or GCS
/**
* Clear download cache