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

rUv526b90c160f8
diff --git a/v3/@claude-flow/cli/src/transfer/ipfs/upload.ts b/v3/@claude-flow/cli/src/transfer/ipfs/upload.ts
index 72245ed442..9788496fbf 100644
--- a/v3/@claude-flow/cli/src/transfer/ipfs/upload.ts
+++ b/v3/@claude-flow/cli/src/transfer/ipfs/upload.ts
@@ -490,13 +490,24 @@ export function hasIPFSCredentials(): boolean {
* Get IPFS service status
*/
export function getIPFSServiceStatus(): {
- service: 'web3storage' | 'pinata' | 'demo';
+ service: 'local' | 'web3storage' | 'pinata' | 'demo';
configured: boolean;
message: string;
+ apiUrl?: string;
} {
+ const localIPFS = process.env.IPFS_API_URL;
const web3Token = getWeb3StorageToken();
const pinataKey = process.env.PINATA_API_KEY;
+ if (localIPFS) {
+ return {
+ service: 'local',
+ configured: true,
+ message: `Local IPFS node configured at ${localIPFS} - FREE uploads enabled`,
+ apiUrl: localIPFS,
+ };
+ }
+
if (web3Token) {
return {
service: 'web3storage',
@@ -516,6 +527,14 @@ export function getIPFSServiceStatus(): {
return {
service: 'demo',
configured: false,
- message: 'No IPFS credentials - using demo mode (deterministic CIDs)',
+ message: 'No IPFS credentials - using demo mode. Options:\n' +
+ ' 1. IPFS_API_URL=http://YOUR_NODE:5001 (FREE - your own node)\n' +
+ ' 2. WEB3_STORAGE_TOKEN (free 5GB at web3.storage)\n' +
+ ' 3. PINATA_API_KEY (free 1GB at pinata.cloud)',
};
}
+
+/**
+ * Export the local IPFS check for external use
+ */
+export { checkLocalIPFSNode };