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 edit:

rUv1c6509867169
diff --git a/v3/@claude-flow/plugins/src/registry/plugin-registry.ts b/v3/@claude-flow/plugins/src/registry/plugin-registry.ts
index 872746fc68..fd142fd9a3 100644
--- a/v3/@claude-flow/plugins/src/registry/plugin-registry.ts
+++ b/v3/@claude-flow/plugins/src/registry/plugin-registry.ts
@@ -64,22 +64,24 @@ export interface RegistryStats {
// Default Implementations
// ============================================================================
-class DefaultEventBus extends EventEmitter implements IEventBus {
- emit(event: string, data?: unknown): boolean {
- return super.emit(event, data);
+class DefaultEventBus implements IEventBus {
+ private emitter = new EventEmitter();
+
+ emit(event: string, data?: unknown): void {
+ this.emitter.emit(event, data);
}
on(event: string, handler: (data?: unknown) => void | Promise<void>): () => void {
- super.on(event, handler);
+ this.emitter.on(event, handler);
return () => this.off(event, handler);
}
off(event: string, handler: (data?: unknown) => void | Promise<void>): void {
- super.off(event, handler);
+ this.emitter.off(event, handler);
}
once(event: string, handler: (data?: unknown) => void | Promise<void>): () => void {
- super.once(event, handler);
+ this.emitter.once(event, handler);
return () => this.off(event, handler);
}
}