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): add prepublishOnly guard to prevent missing dist exports (#1314)

Eric Swann5e51914c1938
diff --git a/v3/@claude-flow/memory/package.json b/v3/@claude-flow/memory/package.json
index e35e91805e..b192e11d89 100644
--- a/v3/@claude-flow/memory/package.json
+++ b/v3/@claude-flow/memory/package.json
@@ -12,7 +12,9 @@
"scripts": {
"test": "vitest run",
"bench": "vitest bench",
- "build": "tsc"
+ "build": "tsc",
+ "prebuild": "rm -rf dist",
+ "prepublishOnly": "npm run build && node -e \"const m = await import('./dist/index.js'); const required = ['ControllerRegistry','HnswLite','PersistentSonaCoordinator','RvfBackend','RvfLearningStore','RvfMigrator']; const missing = required.filter(k => !m[k]); if (missing.length) { console.error('Missing exports:', missing); process.exit(1); } console.log('All required exports present');\""
},
"dependencies": {
"agentdb": "^3.0.0-alpha.10",