🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix: Add automatic AgentDB import extension patch
rUv838c69560300
diff --git a/package.json b/package.jsonindex 3db84836a4..162ac3371f 100644--- a/package.json+++ b/package.json@@ -50,7 +50,7 @@"format": "prettier --write 'src/**/*.{ts,js,json}'","diagnostics": "node -e \"import('./dist/monitoring/diagnostics.js').then(m => m.DiagnosticManager.quickDiagnostic().then(console.log))\"","health-check": "node -e \"import('./dist/monitoring/health-check.js').then(m => new m.HealthCheckManager().performHealthCheck().then(console.log))\"",- "postinstall": "node scripts/install-arm64.js",+ "postinstall": "node scripts/install-arm64.js && bash scripts/fix-agentdb-imports.sh","prepublishOnly": "npm run update-version","publish:alpha": "npm publish --tag alpha","publish:major": "npm version major && npm publish",diff --git a/patches/agentdb-fix-imports.patch b/patches/agentdb-fix-imports.patchnew file mode 100644index 0000000000..9d98c068ab--- /dev/null+++ b/patches/agentdb-fix-imports.patch@@ -0,0 +1,12 @@+--- a/node_modules/agentdb/dist/controllers/index.js++++ b/node_modules/agentdb/dist/controllers/index.js+@@ -3,6 +3,6 @@+ *+ * Export all memory controllers for agent systems+ */+-export { ReflexionMemory } from './ReflexionMemory';+-export { SkillLibrary } from './SkillLibrary';+-export { EmbeddingService } from './EmbeddingService';++export { ReflexionMemory } from './ReflexionMemory.js';++export { SkillLibrary } from './SkillLibrary.js';++export { EmbeddingService } from './EmbeddingService.js';diff --git a/scripts/fix-agentdb-imports.sh b/scripts/fix-agentdb-imports.shnew file mode 100755index 0000000000..a0e25733ad--- /dev/null+++ b/scripts/fix-agentdb-imports.sh@@ -0,0 +1,18 @@+#!/bin/bash+# Fix AgentDB missing .js extensions in imports+# This is a workaround until [email protected] is fixed upstream++AGENTDB_INDEX="node_modules/agentdb/dist/controllers/index.js"++if [ -f "$AGENTDB_INDEX" ]; then+ echo "🔧 Fixing AgentDB import extensions..."++ # Fix missing .js extensions+ sed -i "s/from '\.\/ReflexionMemory'/from '.\/ReflexionMemory.js'/g" "$AGENTDB_INDEX"+ sed -i "s/from '\.\/SkillLibrary'/from '.\/SkillLibrary.js'/g" "$AGENTDB_INDEX"+ sed -i "s/from '\.\/EmbeddingService'/from '.\/EmbeddingService.js'/g" "$AGENTDB_INDEX"++ echo "✅ AgentDB imports fixed"+else+ echo "⚠️ AgentDB not installed, skipping patch"+fi