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:

rUv0f7d2f589ea1
diff --git a/v3/@claude-flow/plugins/src/core/base-plugin.ts b/v3/@claude-flow/plugins/src/core/base-plugin.ts
index 867809c73c..1796e6f572 100644
--- a/v3/@claude-flow/plugins/src/core/base-plugin.ts
+++ b/v3/@claude-flow/plugins/src/core/base-plugin.ts
@@ -386,31 +386,31 @@ class SimplePlugin extends BasePlugin {
}
}
- override registerAgentTypes(): AgentTypeDefinition[] | undefined {
- return this._config.agentTypes;
+ override registerAgentTypes(): AgentTypeDefinition[] {
+ return this._config.agentTypes ?? [];
}
- override registerTaskTypes(): TaskTypeDefinition[] | undefined {
- return this._config.taskTypes;
+ override registerTaskTypes(): TaskTypeDefinition[] {
+ return this._config.taskTypes ?? [];
}
- override registerMCPTools(): MCPToolDefinition[] | undefined {
- return this._config.mcpTools;
+ override registerMCPTools(): MCPToolDefinition[] {
+ return this._config.mcpTools ?? [];
}
- override registerCLICommands(): CLICommandDefinition[] | undefined {
- return this._config.cliCommands;
+ override registerCLICommands(): CLICommandDefinition[] {
+ return this._config.cliCommands ?? [];
}
- override registerHooks(): HookDefinition[] | undefined {
- return this._config.hooks;
+ override registerHooks(): HookDefinition[] {
+ return this._config.hooks ?? [];
}
- override registerWorkers(): WorkerDefinition[] | undefined {
- return this._config.workers;
+ override registerWorkers(): WorkerDefinition[] {
+ return this._config.workers ?? [];
}
- override registerProviders(): LLMProviderDefinition[] | undefined {
- return this._config.providers;
+ override registerProviders(): LLMProviderDefinition[] {
+ return this._config.providers ?? [];
}
}