claude-flow
Version:
Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration
22 lines • 1.25 kB
TypeScript
/**
* Console filter for the cosmetic "[AgentDB Patch] Controller index not found"
* warning emitted by agentic-flow's runtime patch (it expects agentdb v1.x
* layout but we use v3). This file MUST be imported as the first side-effect
* import in any entry point so the patch is in place before agentic-flow
* (and anything that transitively imports it) loads.
*
* The previous attempt put the suppression as a top-level code block inside
* src/index.ts, but ES module imports are evaluated before the file's own
* top-level code, so transitive imports of agentic-flow were still
* triggering the warning before the suppression took effect. A dedicated
* side-effect module imported FIRST avoids that.
*
* Tight match: requires BOTH "[AgentDB Patch]" AND "Controller index not
* found". Other [AgentDB Patch] messages (real issues) flow through.
* Audit log audit_1776483149979 flagged the previous broad filter as too
* aggressive — this one is tight enough to be safe.
*/
declare const isCosmeticAgentdbPatchNoise: (msg: unknown) => boolean;
declare const origWarn: (message?: any, ...optionalParams: any[]) => void;
declare const origLog: (message?: any, ...optionalParams: any[]) => void;
//# sourceMappingURL=log-filters.d.ts.map