agentic-flow 1.7.5 → 1.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,11 +160,14 @@ export function getAgentDBPatchStatus() {
160
160
  location: findAgentDBPath()
161
161
  };
162
162
  }
163
- // Auto-apply patch on module load (non-blocking)
163
+ // Auto-apply patch on module load (SYNCHRONOUS - must happen before any AgentDB imports)
164
164
  // This ensures the patch is applied before any imports
165
165
  if (typeof process !== 'undefined' && !process.env.SKIP_AGENTDB_PATCH) {
166
- // Run asynchronously to not block module loading
167
- setImmediate(() => {
166
+ // MUST be synchronous - async won't work because imports happen immediately
167
+ try {
168
168
  applyAgentDBPatch();
169
- });
169
+ }
170
+ catch (error) {
171
+ // Silently fail - patch will be attempted again on explicit call
172
+ }
170
173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-flow",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, ReasoningBank learning memory, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -258,7 +258,7 @@ export function log(message) {
258
258
  wasm.log(ptr0, len0);
259
259
  }
260
260
 
261
- function __wbg_adapter_6(arg0, arg1, arg2) {
261
+ function __wbg_adapter_4(arg0, arg1, arg2) {
262
262
  wasm.__wbindgen_export_5(arg0, arg1, addHeapObject(arg2));
263
263
  }
264
264
 
@@ -540,7 +540,7 @@ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
540
540
 
541
541
  export function __wbindgen_cast_8eb6fd44e7238d11(arg0, arg1) {
542
542
  // Cast intrinsic for `Closure(Closure { dtor_idx: 62, function: Function { arguments: [Externref], shim_idx: 63, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
543
- const ret = makeMutClosure(arg0, arg1, 62, __wbg_adapter_6);
543
+ const ret = makeMutClosure(arg0, arg1, 62, __wbg_adapter_4);
544
544
  return addHeapObject(ret);
545
545
  };
546
546